/* DynApp application shell. No marketing hero, texture, decorative grid or gradients. */
:root {
  --bg: #f8f9fb; --surface-1: #fff; --surface-2: #f3f4f7; --surface-3: #eaecef;
  --text: #252733; --text-2: #4b4e5d; --muted: #707382; --subtle: #737787;
  --line: #e9eaf0; --line-strong: #c7cad5; --line-hover: #999faf;
  --brand-soft: #f9edef; --brand-text: #981a2c; --radius: 12px; --radius-sm: 8px;
  --header-h: 72px; --sidebar-w: 232px; --container: 1280px; --gutter: 36px;
  --shadow: none; --shadow-raised: 0 12px 32px -12px rgba(30,34,50,.18);
}
:root[data-theme='dark'] {
  --bg: #15171d; --surface-1: #1e212a; --surface-2: #282c37; --surface-3: #333846;
  --text: #f4f5fa; --text-2: #d1d5e0; --muted: #adb4c5; --subtle: #a1aabd;
  --line: #303542; --line-strong: #4b5468; --line-hover: #727e96;
  --brand-soft: #39242d; --brand-text: #ff9caa;
}
.app-shell { background: var(--bg); }
.app-shell > main { margin-left: var(--sidebar-w); min-width: 0; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; width: var(--sidebar-w); display: flex; flex-direction: column; padding: 0 16px 18px; background: var(--surface-1); border-right: 1px solid var(--line); }
.sidebar-brand { height: var(--header-h); display: flex; align-items: center; padding: 0 14px; flex-shrink: 0; }
.sidebar-brand img { height: 33px; width: auto; }
.sidebar-workspace { display: flex; align-items: center; gap: 10px; margin: 18px 4px 24px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.workspace-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); color: var(--text-2); }
.sidebar-workspace strong { display: block; font-size: 12px; font-weight: 650; }
.sidebar-workspace small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.sidebar-nav { display: grid; gap: 6px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 9px; font-size: 13px; color: var(--text-2); font-weight: 550; }
.sidebar-nav a:hover { background: var(--surface-2); color: var(--text); }
.sidebar-nav a[aria-current='page'] { background: var(--brand-soft); color: var(--brand-text); font-weight: 700; }
.sidebar-section-label { font-size: 9px; font-weight: 650; letter-spacing: .08em; color: var(--subtle); padding: 32px 14px 10px; }
.sidebar-tag { font-size: 8px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; margin-left: auto; color: var(--muted); font-weight: 500; }
.sidebar-bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; }
.sidebar-settings { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--muted); font-size: 12px; border-radius: 8px; }
.sidebar-settings:hover { background: var(--surface-2); color: var(--text); }
.sidebar-studio { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 18px 14px 0; font-size: 10px; color: var(--muted); }
.site-header { margin-left: var(--sidebar-w); background: var(--surface-1); border-bottom: 1px solid var(--line); }
.site-header .container { max-width: none; gap: 20px; padding-inline: 32px; }
.mobile-brand { display: none; }
.app-topbar-title { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.header-actions { gap: 14px; }
.dashboard-search-trigger { display: none; }
.search-trigger { min-width: 0; height: 36px; border: 0; background: transparent; color: var(--muted); padding: 0 8px; font-size: 12px; }
.search-trigger kbd { display: none; }
.login-btn { height: 36px; padding-inline: 18px; font-size: 12px; }
.user-trigger { font-size: 12px; }
.user-name { max-width: 130px; }
.btn { box-shadow: none; font-size: 13px; }
.app-footer { margin-left: var(--sidebar-w); padding: 22px 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 10px; color: var(--muted); margin-top: auto; }
.app-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.app-footer > span:last-child { display: flex; align-items: center; gap: 6px; }
.app-footer a:hover { color: var(--text); }
/* A single place to choose, find and open tools. */
.dashboard { width: 100%; max-width: 1280px; padding: 42px var(--gutter) 24px; margin-inline: auto; }
.dashboard-heading h1 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.dashboard-heading p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.dashboard-search { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0 18px; margin-top: 28px; border: 1px solid var(--line-strong); background: var(--surface-1); border-radius: 12px; color: var(--muted); }
.dashboard-search:focus-within { border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--brand-soft); }
.dashboard-search input { flex: 1; min-width: 0; height: 54px; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 14px; }
.dashboard-search input:focus-visible { outline: none; }
.dashboard-search input::placeholder { color: var(--subtle); }
.dashboard-search input::-webkit-search-cancel-button { display: none; }
.dashboard-search kbd { font-size: 11px; }
.dashboard-filters { display: flex; gap: 8px; padding-block: 18px 8px; flex-wrap: wrap; }
.dashboard-filters button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--text-2); white-space: nowrap; }
.dashboard-filters button:hover { border-color: var(--line-strong); }
.dashboard-filters button[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: var(--surface-1); }
.dashboard-results { padding-top: 25px; }
.dashboard-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dashboard-section-head h2 { font-size: 16px; letter-spacing: -.02em; font-weight: 650; }
.dashboard-section-head > span { font-size: 10px; color: var(--muted); }
.dashboard-section-head > a { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-left: auto; color: var(--muted); }
.dashboard-section-head > a:hover { color: var(--brand-text); }
.tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; border: 0; border-radius: 0; overflow: visible; }
.tool-grid > .tool-card { margin: 0; border: 1px solid var(--line); }
.tool-card { border-radius: 12px; background: var(--surface-1); box-shadow: none; }
.tool-card::before { display: none; }
.tool-card:hover, .tool-card:focus-within { background: var(--surface-1); border-color: var(--line-strong); box-shadow: none; transform: none; }
.tool-name-arrow { display: inline; vertical-align: -2px; margin-left: 6px; color: var(--muted); width: 13px; height: 13px; }
.tool-card:not(.is-external) .tool-name-arrow { display: none; }
/* Task-specific thumbnail illustrations, not fake saved user projects. */
.visual-tool-card { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; min-height: 0; overflow: hidden; }
.visual-tool-card .tool-visual { height: 146px; display: flex; align-items: center; justify-content: center; background: #eef1f8; color: #59658b; }
.visual-tool-card[data-category='metin'] .tool-visual { background: #eaf3fb; color: #426b98; }
.visual-tool-card .visual-qr-kod { background: #efeafa; color: #76629a; }
.visual-tool-card .visual-renk-donusturucu { background: #f9eee7; color: #a5724b; }
.visual-tool-card .visual-json-bicimlendirici { background: #eaf2ed; color: #547664; }
.visual-tool-card .visual-sifre-olusturucu { background: #fff2dc; color: #9c793b; }
.visual-tool-card .visual-metin-karsilastirma { background: #eeedf9; color: #77719a; }
.visual-tool-card .tool-card-top { position: absolute; inset: 10px 10px auto auto; display: block; z-index: 2; }
.visual-tool-card .tool-card-top > .icon-tile { display: none; }
.visual-tool-card .fav-button { background: var(--surface-1); color: var(--muted); margin: 0; width: 28px; height: 28px; border-radius: 7px; }
.visual-tool-card .fav-button .icon { width: 14px; height: 14px; }
.visual-tool-card .fav-button[aria-pressed='true'] { color: var(--brand-text); }
.visual-tool-card .tool-card-copy { padding: 16px 16px 18px; }
.visual-tool-card h3 { font-size: 14px; font-weight: 700; letter-spacing: -.015em; }
.visual-tool-card p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.visual-tool-card .tool-card-foot { display: none; }
.preview-paper { display: grid; place-items: center; width: 88px; height: 104px; background: #fff; border-radius: 7px; box-shadow: 0 5px 12px rgba(40,45,65,.06); }
.qr-paper { color: #63547f; width: 96px; height: 100px; }
.text-paper { padding: 10px 15px; align-content: center; gap: 8px; }
.text-paper strong { font-size: 34px; font-weight: 600; line-height: 1; color: #4972a0; }
.text-paper i { height: 3px; width: 56px; background: #d8e5f3; border-radius: 2px; }
.text-paper i:last-child { width: 40px; justify-self: start; }
.preview-colors { display: flex; align-items: center; padding-bottom: 20px; position: relative; }
.preview-colors i { width: 54px; height: 54px; border-radius: 50%; background: #dba08a; border: 3px solid #fff; }
.preview-colors i + i { margin-left: -12px; background: #879e8b; }
.preview-colors i:last-of-type { background: #e7c981; }
.preview-colors small { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: 9px; letter-spacing: .08em; }
.preview-code { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.8; background: #fff; color: #547664; padding: 12px 18px; border-radius: 6px; }
.preview-password { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 8px; background: #fff; color: #9c793b; }
.preview-password b { font-size: 15px; letter-spacing: .08em; font-weight: 500; }
.preview-compare { display: flex; gap: 10px; }
.preview-compare > i { display: grid; gap: 10px; align-content: center; width: 70px; height: 90px; padding: 12px; background: #fff; border-radius: 5px; }
.preview-compare b { height: 5px; background: #dddbea; border-radius: 2px; }
.preview-compare i:first-child b:nth-child(2) { background: #eeb6b6; }
.preview-compare i:last-child b:nth-child(2) { background: #add3bc; }
.preview-tool-icon { padding: 20px; border-radius: 12px; background: #fff; }
:root[data-theme='dark'] .visual-tool-card .tool-visual { filter: brightness(.78); }
.dashboard-empty { border: 1px dashed var(--line-strong); background: var(--surface-1); padding: 48px 24px; }
.dashboard-empty > .icon { margin: 0 auto 16px; color: var(--muted); }
.dashboard-empty h3 { font-size: 17px; }
.dashboard-empty p { font-size: 13px; }
.dashboard-empty .btn { margin-top: 20px; }
/* Shared workspaces stay in the same application shell. */
.page-head { padding-block: 30px 24px; background: transparent; border-bottom: 0; }
.page-head h1 { font-size: 28px; line-height: 1.3; font-weight: 700; }
.page-head .lead { font-size: 13px; line-height: 1.7; margin-top: 10px; }
.breadcrumb { font-size: 11px; margin-bottom: 20px; }
.tool-head { gap: 16px; }
.tool-head .icon-tile { width: 44px; height: 44px; background: var(--surface-1); border: 1px solid var(--line); color: var(--brand-text); }
.tool-head-text { flex-basis: 280px; }
.tool-head-actions .btn { font-size: 11px; }
.tool-meta { font-size: 11px; margin-top: 12px; }
.workspace { padding-block: 8px 36px; }
.panel { box-shadow: none; }
.panel-title { font-size: 13px; letter-spacing: 0; }
.panel-head { min-height: 50px; padding: 10px 14px; }
.panel-body { padding: 20px; }
.section { padding-block: 28px 40px; }
.section-head h2 { font-size: 19px; }
.related { border: 0; }
.account-grid { gap: 20px; }
.account-head h1 { font-size: 26px; }
.avatar-lg { width: 52px; height: 52px; font-size: 22px; }
.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.category-grid > .category-card { box-shadow: none; }
.category-card { padding: 22px; min-height: 180px; }
.category-card h2 { font-size: 17px; }
.category-card p { font-size: 13px; }
.legal-layout { gap: 36px; grid-template-columns: 180px minmax(0,1fr); }
.legal-nav a { font-size: 12px; }
.prose { font-size: 14px; padding-top: 20px; }
.prose h2 { font-size: 20px; }
/* Bio Link uses the same workspace, with a contained personal-page preview. */
.bio-section { max-width: 1200px; margin: auto; padding: 32px var(--gutter); }
.bio-layout { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr); gap: 36px; align-items: start; }
.bio-copy { padding-top: 8px; }
.overline { font-size: 10px; color: var(--muted); letter-spacing: .07em; font-weight: 600; margin-bottom: 12px; }
.bio-copy h1 { font-size: 28px; line-height: 1.3; letter-spacing: -.035em; }
.bio-copy > p:not(.overline):not(.bio-credit) { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.bio-ideas { display: grid; gap: 16px; margin-top: 28px; }
.bio-ideas li { display: flex; gap: 12px; font-size: 11px; color: var(--text-2); }
.bio-ideas span { color: var(--subtle); font-size: 10px; }
.bio-preview-notice { display: flex; align-items: start; gap: 10px; margin-top: 28px; padding: 14px; border-radius: 8px; background: var(--surface-1); border: 1px solid var(--line); }
.bio-preview-notice p { font-size: 11px; line-height: 1.7; color: var(--muted); }
.bio-preview-notice .icon { color: var(--muted); margin-top: 2px; }
.bio-credit { margin-top: 22px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.bio-theme-switch { display: inline-flex; gap: 4px; background: var(--surface-1); border: 1px solid var(--line); padding: 4px; border-radius: 8px; margin-top: 14px; }
.bio-theme-switch button { height: 32px; padding: 0 18px; border-radius: 5px; font-size: 11px; color: var(--muted); }
.bio-theme-switch button[aria-pressed='true'] { background: var(--surface-3); color: var(--text); }
.bio-stage { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.bio-stage-label { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 9px; color: var(--muted); text-align: center; margin-bottom: 20px; }
.profile-preview { --profile-bg: #fff; --profile-text: #272b36; --profile-muted: #737888; --profile-line: #e7e9f0; --profile-soft: #f1f4f9; max-width: 360px; margin: auto; background: var(--profile-bg); color: var(--profile-text); border: 1px solid var(--profile-line); border-radius: 18px; padding: 30px 24px 22px; }
.profile-preview[data-preview-theme='dark'] { --profile-bg: #1c202a; --profile-text: #eff2fa; --profile-muted: #a3adc2; --profile-line: #353e50; --profile-soft: #293243; }
.profile-intro { text-align: center; }
.profile-avatar { width: 66px; height: 66px; margin: 0 auto 14px; border: 1px solid var(--profile-line); border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; background: var(--profile-soft); color: var(--profile-text); }
.profile-intro h2 { font-size: 22px; letter-spacing: -.04em; }
.profile-handle { font-size: 11px; color: var(--profile-muted); margin-top: 6px; }
.profile-intro > p { font-size: 11px; line-height: 1.8; color: var(--profile-muted); margin-top: 12px; }
.profile-main-link { display: flex; justify-content: space-between; align-items: center; background: var(--profile-text); color: var(--profile-bg); padding: 13px 14px; margin-top: 24px; border-radius: 8px; font-size: 11px; text-align: left; }
.profile-projects { margin-top: 24px; }
.profile-projects h3 { font-size: 10px; font-weight: 500; color: var(--profile-muted); margin-bottom: 12px; }
.profile-projects > a { display: grid; grid-template-columns: 34px minmax(0,1fr) 15px; gap: 10px; align-items: center; padding-block: 14px; border-top: 1px solid var(--profile-line); }
.profile-project-mark { width: 34px; height: 34px; background: var(--profile-soft); border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 650; }
.profile-projects strong { display: block; font-size: 11px; }
.profile-projects small { display: block; font-size: 9px; color: var(--profile-muted); margin-top: 4px; }
.profile-contact { margin-top: 8px; border-top: 1px solid var(--profile-line); padding-top: 8px; }
.profile-contact a { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; font-size: 10px; }
.profile-contact span { display: block; font-size: 9px; color: var(--profile-muted); text-align: center; margin-top: 18px; }
@media (min-width: 1600px) { .tool-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 1150px) {
  :root { --sidebar-w: 208px; --gutter: 28px; }
  .sidebar-nav a { font-size: 11px; gap: 9px; padding-inline: 10px; }
  .sidebar-tag { font-size: 7px; }
  .tool-grid { gap: 16px; }
  .visual-tool-card .tool-visual { height: 132px; }
  .visual-tool-card .tool-card-copy { padding: 14px 12px; }
  .bio-layout { gap: 24px; }
  .bio-stage { padding: 18px; }
}
@media (max-width: 1000px) {
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-footer > span:last-child { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; padding-top: 0; }
  .legal-nav a { border: 1px solid var(--line); border-radius: 6px; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-ideas { display: none; }
}
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .app-sidebar { display: none; }
  .mobile-brand { display: flex; }
  .brand-link img { height: 29px; }
  .app-topbar-title { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { padding-top: 12px; background: var(--surface-1); }
  .mobile-nav a { justify-content: space-between; padding: 14px 8px; font-size: 17px; border-radius: 0; }
  .mobile-nav a[aria-current='page'] { color: var(--brand-text); }
  .site-header .container { padding-inline: 24px; }
  .dashboard { max-width: 900px; }
  .tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bio-layout { grid-template-columns: minmax(200px,.8fr) minmax(0,1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .site-header .container { padding-inline: 20px; }
  .header-actions { gap: 8px; }
  .login-btn { height: 34px; padding-inline: 13px; font-size: 11px; }
  .brand-link img { height: 27px; }
  .dashboard { padding-top: 28px; }
  .dashboard-heading h1 { font-size: 25px; }
  .dashboard-heading p { font-size: 12px; }
  .dashboard-search { margin-top: 22px; padding-inline: 12px; gap: 10px; }
  .dashboard-search input { height: 48px; font-size: 12px; }
  .dashboard-search kbd { display: none; }
  .dashboard-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; margin-inline: -20px; padding-inline: 20px; }
  .dashboard-filters button { flex-shrink: 0; height: 34px; font-size: 10px; padding-inline: 10px; }
  .dashboard-filters button .icon { width: 15px; height: 15px; }
  .dashboard-results { padding-top: 19px; }
  .dashboard-section-head { flex-wrap: wrap; gap: 8px; }
  .dashboard-section-head h2 { font-size: 14px; }
  .dashboard-section-head > a { font-size: 10px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .visual-tool-card .tool-visual { height: 116px; }
  .visual-tool-card .tool-card-copy { padding: 13px 11px; }
  .visual-tool-card h3 { font-size: 12px; line-height: 1.45; }
  .visual-tool-card p { font-size: 11px; line-height: 1.65; }
  .preview-paper { transform: scale(.8); }
  .preview-colors { transform: scale(.85); }
  .preview-code { font-size: 9px; padding: 10px; }
  .preview-password { padding: 10px; gap: 6px; }
  .preview-password b { font-size: 11px; }
  .preview-password .icon { width: 18px; }
  .preview-compare { transform: scale(.8); }
  .tool-card:not(.visual-tool-card) { padding: 16px; }
  .tool-card:not(.visual-tool-card) h3 { font-size: 13px; }
  .tool-card:not(.visual-tool-card) p { font-size: 11px; }
  .tool-card-foot { font-size: 10px; }
  .page-head { padding-block: 24px 20px; }
  .page-head h1 { font-size: 25px; }
  .tool-head-text { flex-basis: calc(100% - 60px); }
  .tool-head-actions { width: auto; }
  .tool-head-actions .btn { height: 32px; }
  .account-head { align-items: flex-start; }
  .account-head h1 { font-size: 22px; }
  .panel-body { padding: 16px; }
  .app-footer { padding: 22px 20px; font-size: 9px; }
  .app-footer nav { gap: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .bio-section { padding-block: 26px; }
  .bio-layout { grid-template-columns: 1fr; gap: 24px; }
  .bio-copy h1 { font-size: 25px; }
  .bio-copy .overline { display: none; }
  .bio-copy .bio-credit { margin-top: 16px; }
  .bio-stage { padding: 20px 14px; }
}
@media (max-width: 360px) {
  .dashboard-section-head > span { display: none; }
  .tool-grid { gap: 10px; }
  .visual-tool-card h3 { font-size: 11px; }
  .preview-password b { letter-spacing: 0; }
}
