/* ============================================================================
   MERKEZ UI 3.0 — "Professional SaaS"
   Box / Drive / Linear / Notion disiplininde kurumsal tasarım dili.
   ui.css'in yerini alır; app.js/backend'e dokunmaz.
   Token katmanı: primitive → semantic → component.
   ========================================================================== */

/* ———————————————————————————— 1. TOKENS ———————————————————————————— */
:root {
  color-scheme: light;

  /* primitive */
  --blue-600: #0b5fd3;
  --blue-700: #0a51b4;
  --blue-050: #eef4fd;
  --gray-900: #171a1f;
  --gray-700: #454d59;
  --gray-600: #5b6470;
  --gray-500: #78818f;
  --gray-400: #9aa4b2;
  --gray-300: #d6dbe1;
  --gray-200: #e5e8ec;
  --gray-100: #f1f3f6;
  --gray-050: #f7f8fa;

  /* semantic */
  --accent: var(--blue-600);
  --accent-hover: var(--blue-700);
  --accent-soft: var(--blue-050);
  --ink: var(--gray-900);
  --muted: var(--gray-600);
  --faint: var(--gray-500);
  --line: var(--gray-300);
  --line-soft: var(--gray-200);
  --control-line: var(--gray-400);
  --paper: var(--gray-050);
  --paper-deep: var(--gray-100);
  --white: #ffffff;
  --surface: #ffffff;
  --surface-soft: var(--gray-050);
  --surface-muted: var(--gray-100);
  --night: #171a1f;
  --night-soft: #262b33;
  --red: #c92a2a;
  --red-dark: #a81e1e;
  --red-bright: #e03535;
  --green: #1e7f5c;
  --gold: #b07a1e;
  --gold-soft: #d0a04e;
  --violet: #6558c0;

  /* tipografi — tam sans */
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  /* ölçek */
  --radius-s: 6px;
  --radius-m: 8px;
  --radius-l: 10px;
  --radius-xl: 14px;
  --shadow-1: 0 1px 2px rgb(16 24 40 / 5%);
  --shadow-2: 0 4px 14px rgb(16 24 40 / 8%), 0 1px 3px rgb(16 24 40 / 5%);
  --shadow-3: 0 18px 50px rgb(16 24 40 / 18%);
  --shadow: var(--shadow-2);
  --hairline: 1px solid var(--line-soft);
  --ease: cubic-bezier(.2, .8, .3, 1);
  --dur: .14s;

  --topbar-h: 56px;
  --shell-pad: clamp(14px, 2vw, 26px);
}

html[data-theme="gece"] {
  color-scheme: dark;
  --accent: #4d94f0;
  --accent-hover: #6aa7f5;
  --accent-soft: rgb(77 148 240 / 14%);
  --ink: #e8ebef;
  --muted: #9aa4b2;
  --faint: #78818f;
  --line: #2e3440;
  --line-soft: #262b35;
  --control-line: #4a5260;
  --paper: #14161b;
  --paper-deep: #101317;
  --white: #1c2027;
  --surface: #1c2027;
  --surface-soft: #22262f;
  --surface-muted: #272c37;
  --night: #10131a;
  --night-soft: #22262f;
  --red: #e35d5d;
  --red-dark: #c94a4a;
  --red-bright: #f07373;
  --green: #4cae8d;
  --gold: #d2a05c;
  --gold-soft: #8a6f45;
  --violet: #948bdd;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow-2: 0 4px 16px rgb(0 0 0 / 45%), 0 1px 3px rgb(0 0 0 / 40%);
  --shadow-3: 0 18px 50px rgb(0 0 0 / 60%);
}

/* ———————————————————————————— 2. TABAN ———————————————————————————— */
* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); text-wrap: balance; }
h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.015em; }
h3 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; background: none; border: none; padding: 0; }
button, a, input, textarea, select, [role="button"] {
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }

::selection { background: color-mix(in srgb, var(--accent) 20%, transparent); }
* { scrollbar-width: thin; scrollbar-color: var(--control-line) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--control-line) 55%, transparent);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--control-line); background-clip: content-box; }

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; margin: -1px;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link {
  position: fixed; z-index: 400; top: 10px; left: 10px;
  padding: 9px 15px;
  color: #fff; background: var(--accent);
  border-radius: var(--radius-m); text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

kbd, .kbd {
  font-family: var(--mono);
  font-size: .7em;
  padding: .2em .5em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--muted);
}

/* ———————————————————————————— 3. YÜKLEME + GİRİŞ ———————————————————————————— */
.loading-screen {
  display: grid; min-height: 100vh;
  place-content: center; justify-items: center; gap: 16px;
  color: var(--muted); letter-spacing: .06em; font-size: .85rem;
}
.brand-mark, .wordmark-sign {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-family: var(--sans); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent), inset 0 1px 0 rgb(255 255 255 / 20%);
}
.loading-screen .brand-mark { animation: ui3-pulse 1.7s var(--ease) infinite; }
@keyframes ui3-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.93); opacity: .8; } }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100vh;
}
.auth-editorial {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 6vw, 76px);
  background:
    radial-gradient(880px 560px at 88% -10%, rgb(255 255 255 / 7%), transparent 60%),
    linear-gradient(155deg, #0d1a2e 0%, #10254a 55%, #0b5fd3 130%);
  color: #eef3fb;
}
.auth-editorial .wordmark { color: #fff; }
.auth-editorial .eyebrow { color: #9ec4f5; }
.auth-copy h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.14; margin: 16px 0 18px; }
.auth-copy p { color: rgb(238 243 251 / 72%); max-width: 44ch; font-size: .98rem; }
.edition { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: rgb(238 243 251 / 45%); }
.auth-panel { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); }
.auth-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  padding: clamp(24px, 4vw, 38px);
}
.auth-card .button { width: 100%; justify-content: center; margin-top: 16px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; letter-spacing: .1em; font-size: .95rem;
  color: var(--ink);
}
.wordmark:hover .wordmark-sign { transform: translateY(-1px); }

/* ———————————————————————————— 4. SHELL: ÜST BAR (açık, kurumsal) ———————————————————————————— */
.app-shell { min-height: 100vh; }

.topbar {
  position: sticky; top: 0; z-index: 120;
  display: flex; align-items: center; gap: 14px;
  height: var(--topbar-h);
  padding: 0 var(--shell-pad);
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.wordmark-app { flex: 0 0 auto; }
.wordmark-app .wordmark-sign { width: 32px; height: 32px; border-radius: 9px; font-size: .95rem; }

.main-nav {
  display: flex; align-items: center; gap: 1px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav button {
  padding: 7px 11px;
  border-radius: var(--radius-m);
  color: var(--muted);
  font-size: .85rem; font-weight: 550;
  white-space: nowrap;
}
.main-nav button:hover { color: var(--ink); background: var(--surface-muted); }
.main-nav button.active,
.main-nav button[aria-current="page"],
.main-nav button[aria-current="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.topbar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.top-action {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .83rem; font-weight: 550;
}
.top-action:hover { border-color: var(--control-line); color: var(--ink); box-shadow: var(--shadow-1); }
.top-action.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--accent) 30%, transparent);
}
.top-action.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.top-action kbd { background: var(--surface-muted); border-color: var(--line-soft); }
.notification-badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: .66rem; font-weight: 700;
  box-shadow: 0 0 0 2px var(--white);
}
.user-chip {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent); font-weight: 700; font-size: .76rem;
}
.user-chip:hover { box-shadow: 0 0 0 3px var(--accent-soft); }

/* ———————————————————————————— 5. SHELL: SOL AĞAÇ + İÇERİK ———————————————————————————— */
.area-sidebar {
  position: fixed; top: var(--topbar-h); bottom: 0; left: 0;
  width: 248px;
  display: flex; flex-direction: column;
  padding: 14px 10px;
  border-right: 1px solid var(--line-soft);
  background: var(--surface);
  z-index: 60;
  overflow-y: auto;
}
.sidebar-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 10px;
}
.sidebar-heading span {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--faint);
  text-transform: uppercase;
}
.add-area-button {
  font-size: .74rem; font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}
.add-area-button:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.area-list { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 2px; }
.area-list button, .area-button {
  display: flex; align-items: center; gap: 9px;
  width: 100%;
  padding: 7px 9px;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  color: var(--gray-700);
  font-size: .86rem; font-weight: 550;
  text-align: left;
}
html[data-theme="gece"] .area-list button, html[data-theme="gece"] .area-button { color: var(--muted); }
.area-list button:hover, .area-button:hover { background: var(--surface-muted); }
.area-list button.active, .area-button.active,
.area-list button[aria-current], .area-button[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
}
.area-dot {
  width: 8px; height: 8px; border-radius: 2.5px;
  flex: 0 0 8px;
}
.sidebar-bottom {
  padding: 12px 8px 2px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint); font-size: .74rem;
  display: grid; gap: 8px;
}
#release-label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
  padding: .3em .7em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-soft);
  justify-self: start;
}

.main-content {
  margin-left: 248px;
  padding: 22px var(--shell-pad) 80px;
  max-width: 1280px;
  outline: none;
}

.page-header { margin: 2px 0 18px; }
.page-header h1 { margin: 0 0 6px; }
.page-header .page-context, .page-header > p:not(.eyebrow) {
  color: var(--muted); max-width: 64ch; font-size: .88rem;
}
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.eyebrow {
  margin: 0 0 5px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em;
  color: var(--faint);
  text-transform: uppercase;
}

/* ———————————————————————————— 6. DÜĞMELER ———————————————————————————— */
.button, .button-secondary, .button-ghost, .button-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-m);
  font-size: .85rem; font-weight: 600;
  border: 1px solid transparent;
}
.button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--accent) 28%, transparent);
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 34%, transparent); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button-secondary:hover { border-color: var(--control-line); box-shadow: var(--shadow-1); }
.button-ghost { color: var(--muted); }
.button-ghost:hover { background: var(--surface-muted); color: var(--ink); }
.button-danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, transparent); }
.button-danger:hover { background: color-mix(in srgb, var(--red) 7%, transparent); border-color: var(--red); }
.button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-button {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-m);
  color: var(--muted);
  font-size: 1.05rem;
}
.icon-button:hover { background: var(--surface-muted); color: var(--ink); }

/* ———————————————————————————— 7. FORMLAR ———————————————————————————— */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form-stack { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-span, .field.span-2 { grid-column: 1 / -1; }
.field > label, .field-label, .filter-field > label {
  font-size: .76rem; font-weight: 600; letter-spacing: .02em; color: var(--muted);
}
.field input, .field textarea, .field select,
.filter-field input, .filter-field select, .filter-search input,
textarea, select, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="url"], input[type="search"] {
  width: 100%;
  padding: 8px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: var(--ink);
}
.field input:hover, .field textarea:hover, .field select:hover,
.filter-field input:hover, .filter-search input:hover,
textarea:hover, select:hover, input:hover { border-color: var(--control-line); }
.field input:focus, .field textarea:focus, .field select:focus,
.filter-field input:focus, .filter-search input:focus,
textarea:focus, select:focus, input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}
.field textarea, textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.field-help, .form-hint { font-size: .77rem; color: var(--faint); }
.form-message { font-size: .83rem; padding: 9px 12px; border-radius: var(--radius-m); }
.form-message.error, .form-message[role="alert"] {
  background: color-mix(in srgb, var(--red) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 28%, transparent);
  color: var(--red);
}
.form-message.success {
  background: color-mix(in srgb, var(--green) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 28%, transparent);
  color: var(--green);
}
.filter-field { display: grid; gap: 5px; min-width: 0; }
.filter-clear { align-self: end; }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; accent-color: var(--accent); }
fieldset { border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 12px 14px; margin: 0; }
legend { font-size: .76rem; font-weight: 600; color: var(--muted); padding: 0 7px; }

/* ———————————————————————————— 8. ROZET, ETİKET, SEKME, SEGMENT ———————————————————————————— */
.badge, .tag, .recurrence-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
}
.badge.red { color: #a12020; background: #fdecec; border-color: transparent; }
.badge.green { color: #166046; background: #e3f4ed; border-color: transparent; }
.badge.gold { color: #7c5a10; background: #f7ecd4; border-color: transparent; }
.badge.violet { color: #4e4390; background: #e9e6f7; border-color: transparent; }
html[data-theme="gece"] .badge.red { color: #f0a3a3; background: rgb(201 42 42 / 22%); }
html[data-theme="gece"] .badge.green { color: #7ec7ad; background: rgb(30 127 92 / 26%); }
html[data-theme="gece"] .badge.gold { color: #dcbb84; background: rgb(176 122 30 / 26%); }
html[data-theme="gece"] .badge.violet { color: #b7b2dd; background: rgb(101 88 192 / 28%); }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; overflow-x: auto; }
.tabs button, .tab {
  padding: 9px 13px;
  color: var(--muted);
  font-size: .85rem; font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  border-radius: 0;
}
.tabs button:hover, .tab:hover { color: var(--accent); }
.tabs button.active, .tab.active,
.tabs button[aria-selected="true"], .tab[aria-selected="true"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.view-switcher, .segmented-actions, .scope-switch, .view-switch {
  display: inline-flex; gap: 2px;
  padding: 2px;
  background: var(--surface-muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.view-switch button, .view-switcher button, .segmented-actions button, .scope-switch button {
  padding: 6px 13px;
  border-radius: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.view-switch button:hover, .segmented-actions button:hover { color: var(--ink); }
.view-switch button.active,
.view-switcher button.active, .segmented-actions button.active,
.view-switch[aria-pressed="true"], .segmented-actions button[aria-pressed="true"],
.scope-switch button[aria-pressed="true"], .view-switch button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
html[data-theme="gece"] [data-dashboard-scope].active,
html[data-theme="gece"] [data-dashboard-scope][aria-pressed="true"] { color: var(--ink); }

/* ———————————————————————————— 9. PANEL & KARTLAR ———————————————————————————— */
.panel,
.task-control-panel, .file-control-panel, .note-control-panel, .project-control-panel,
.contact-control-panel, .intake-control-panel, .control-panel,
.notification-preference-card, .guide-section, .workspace-switcher,
.starter-kit-grid > *, .quick-add-group, .intake-quick-capture,
.integration-setup-card, .provider-card, .setup-step,
.backup-health-card, .invite-ready, .workspace-hero, .onboarding-hero,
.approval-hero, .approval-detail-hero, .plan-hero, .notification-rhythm-hero,
.integration-hero, .security-hero, .artist-detail-hero, .release-detail-hero {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.panel { padding: 0; overflow: hidden; }
.panel:hover { border-color: var(--line); }
.panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-header h2, .panel-header h3 { margin: 0; font-size: .98rem; font-weight: 650; }
.panel-header span, .panel-header small { color: var(--faint); font-size: .78rem; }
.panel > *:not(.panel-header):not(.record-stack):not(.list):not(.dashboard-glance-list) { padding-left: 16px; padding-right: 16px; }
.panel > .record-stack, .panel > .list, .panel > .dashboard-glance-list { padding: 4px 8px; }
.panel > .panel-footer, .panel > footer { padding: 10px 16px; border-top: 1px solid var(--line-soft); }
.panel + .panel, .workspace-section > * + * { margin-top: 14px; }
.workspace-section { margin-bottom: 20px; }

.card-kicker {
  display: block; margin-bottom: 4px;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  color: var(--faint); text-transform: uppercase;
}
.card-description { color: var(--muted); font-size: .84rem; }
.card-meta { color: var(--faint); font-size: .77rem; }
.card-actions { display: flex; gap: 7px; margin-top: 10px; }

/* metrikler */
.metric-grid, .portfolio-metrics, .compact-metrics,
.approval-metrics, .onboarding-metrics, .operations-briefing-metrics,
.meeting-workspace-metrics, .notification-digest-metrics, .backup-health-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.metric, .metric-grid > * {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  padding: 12px 14px;
  font-variant-numeric: tabular-nums;
}
.metric strong, .metric b, .metric .metric-value, [class*="-metrics"] strong {
  display: block;
  font-size: 1.4rem; line-height: 1.2; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.metric small, .metric span { color: var(--faint); font-size: .76rem; }
.metric .warning, .warning { color: var(--gold); }
.metric .critical, .critical { color: var(--red); }

/* ———————————————————————————— 10. LİSTELER ———————————————————————————— */
.list { display: grid; }
.record-stack > * + * { border-top: 1px solid var(--line-soft); }
.list-row, .record-line, .record-button, .list-row-button,
.agenda-row, .member-row, .ledger-row, .milestone-row,
.task-list-row, .meeting-action-row, .track-editor-row,
.daily-candidate, .daily-plan-item, .search-result {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px;
  border-radius: var(--radius-m);
  color: var(--ink);
  text-align: left;
  width: 100%;
}
.list-row:hover, .list-row-button:hover, .record-button:hover,
.agenda-row:hover, .task-list-row:hover, .search-result:hover,
.daily-candidate:hover, .daily-plan-item:hover {
  background: var(--surface-soft);
}
.list-row-title, .record-title { font-weight: 600; font-size: .9rem; }
.list-row small, .record-line small, .agenda-row small { color: var(--faint); }
.detail-list { display: grid; gap: 9px; }
.detail-list dt, .detail-meta dt { font-size: .74rem; font-weight: 600; color: var(--faint); }
.detail-list dd, .detail-meta dd { margin: 0; }
.detail-totals {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.status-dot.done { background: var(--green); }
.status-dot.danger { background: var(--red); }
.overdue { color: var(--red); }

.empty-state, .empty-copy {
  display: grid; justify-items: center; gap: 7px;
  padding: 40px 20px;
  text-align: center;
  color: var(--faint);
}
.empty-state strong, .empty-copy strong { font-size: 1rem; font-weight: 650; color: var(--ink); }

/* ———————————————————————————— 11. MODAL & TOAST ———————————————————————————— */
.modal { border: none; padding: 0; background: transparent; width: min(860px, calc(100vw - 28px)); max-height: min(86vh, 880px); }
.modal::backdrop { background: rgb(16 24 40 / 45%); backdrop-filter: blur(4px); }
.modal-frame {
  display: flex; flex-direction: column;
  max-height: inherit;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 16px 20px 13px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-header h2 { margin: 2px 0 0; font-size: 1.15rem; }
.modal-content { padding: 16px 20px 20px; overflow-y: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; }
.toast-region {
  position: fixed; z-index: 300;
  right: 16px; bottom: 16px;
  display: grid; gap: 8px;
  width: min(350px, calc(100vw - 32px));
}
.toast-region > * {
  padding: 11px 14px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  color: var(--ink); font-size: .85rem;
  animation: ui3-toast .24s var(--ease);
}
@keyframes ui3-toast { from { opacity: 0; transform: translateY(8px); } }

/* ———————————————————————————— 12. PANO ———————————————————————————— */
.dashboard-summary {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin: 2px 0 14px;
  font-variant-numeric: tabular-nums;
}
.dashboard-summary strong, .dashboard-summary b { font-size: 1.3rem; font-weight: 700; }
.dashboard-summary span { color: var(--muted); font-size: .84rem; }
.dashboard-focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
@media (max-width: 980px) { .dashboard-focus-grid { grid-template-columns: 1fr; } }
.dashboard-glance-list { display: grid; }
.dashboard-glance-row {
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 9px 11px;
  border-radius: var(--radius-m);
  text-align: left; color: var(--ink);
}
.dashboard-glance-row:hover { background: var(--surface-soft); }
.dashboard-glance-row > span:last-child { display: grid; gap: 1px; min-width: 0; }
.dashboard-glance-row strong {
  display: block; font-size: .88rem; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dashboard-glance-row small { display: block; color: var(--faint); font-size: .76rem; }
.dashboard-glance-icon { color: var(--accent); font-size: .5rem; flex: 0 0 auto; }
.dashboard-radar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.dashboard-radar-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.dashboard-radar-values span { display: grid; gap: .1rem; padding: .6rem; border: 1px solid var(--line); background: var(--surface-muted); border-radius: var(--radius-s); }
.dashboard-radar-values small { color: var(--faint); }
@media (max-width: 800px) { .dashboard-radar-grid { grid-template-columns: 1fr; } }

/* ———————————————————————————— 13. DOSYALAR — BOX KALIBI ———————————————————————————— */
/* gezgin çerçevesi */
.file-explorer-strip {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.file-explorer-nav {
  border-right: 1px solid var(--line-soft);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface-soft);
}
.file-explorer-nav button, .explorer-nav-icon {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-m);
  color: var(--muted);
  font-size: .84rem; font-weight: 550;
}
.file-explorer-nav button:hover { background: var(--surface); color: var(--ink); }
.file-explorer-nav button.active { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-1); }

/* dosya türü ikonu — tek rozet */
.file-icon, .file-type-icon, .file-thumb {
  display: inline-grid; place-items: center;
  border-radius: var(--radius-s);
  font-weight: 800; letter-spacing: .03em;
}
.file-icon, .file-type-icon {
  min-width: 34px; height: 34px; padding: 0 7px;
  background: #fdecec; color: #c03434;
  font-size: .62rem;
}
html[data-theme="gece"] .file-icon, html[data-theme="gece"] .file-type-icon { background: rgb(201 42 42 / 18%); color: #f0a3a3; }
.file-thumb {
  aspect-ratio: 16/10;
  background: var(--surface-muted);
  color: var(--faint); font-size: .72rem;
  overflow: hidden;
}

/* son kullanılanlar şeridi (Box Recents) */
.file-recent { display: block; padding: 10px 12px 2px; }
.file-recent > .result-heading { display: inline-block; margin: 0 0 4px; font-size: .72rem; }
.file-recent > span, .file-recent > small { color: var(--faint); font-size: .78rem; }
.file-recent > .result-heading + span, .file-recent > .result-heading + small { margin-left: 8px; }
.file-recent-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 158px);
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 12px;
}
.file-recent-item {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-align: left;
}
.file-recent-item:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.file-recent-item .file-icon { width: 34px; }
.file-recent-item strong, .file-recent-item b {
  font-size: .82rem; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.file-recent-item small { color: var(--faint); font-size: .74rem; }

/* dosya kartları (grid görünümü) */
.file-grid, .folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 11px;
  padding: 12px;
}
.file-card, .folder-card {
  display: grid; gap: 8px;
  align-content: start;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-align: left;
}
.file-card:hover, .folder-card:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.file-card strong, .file-card b, .file-card .list-row-title,
.folder-card strong, .folder-card b {
  font-size: .86rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.file-card small, .folder-card small { color: var(--faint); font-size: .75rem; }
.file-card .tag-list, .file-card .tag-list .tag:nth-child(n+4),
.folder-card .tag-list .tag:nth-child(n+4) { display: none; }
.file-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.folder-card-actions, .folder-card-open { display: flex; gap: 6px; }

/* dosya satırları (liste görünümü) */
.file-row-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.file-row-main strong, .file-row-main .list-row-title {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-row-context, .file-row-size, .file-detail-meta { color: var(--faint); font-size: .78rem; white-space: nowrap; }
.file-row-action { display: flex; gap: 5px; }
.file-stamp { color: var(--faint); font-size: .75rem; }
.file-view-details, .file-view-large, .file-view-small { padding: 12px; }
.office-preview-toolbar { display: flex; gap: 7px; align-items: center; }
.preview-frame, .preview-media { border-radius: var(--radius-m); overflow: hidden; }
.upload-progress {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.progress { height: 7px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.progress > * { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* klasör konum yolu (breadcrumb) */
.folder-breadcrumbs {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  color: var(--faint); font-size: .84rem;
}
.folder-breadcrumbs a, .folder-breadcrumbs button { color: var(--muted); font-weight: 550; }
.folder-breadcrumbs a:hover, .folder-breadcrumbs button:hover { color: var(--accent); }
.folder-breadcrumbs > * + *::before {
  content: "/";
  margin-right: 6px;
  color: var(--gray-400);
}
.folder-browser { background: var(--surface-soft); }
.folder-browser-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
}

/* dosya filtre çubuğu — tek sıra */
.file-control-panel {
  display: flex; align-items: end; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.file-control-panel .filter-search { flex: 2 1 220px; }
.file-control-panel .filter-field { flex: 1 1 130px; }
.file-control-panel .filter-clear { flex: 0 0 auto; }

/* ———————————————————————————— 14. NOTLAR ———————————————————————————— */
.note-control-panel {
  display: flex; align-items: end; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.note-control-panel .filter-search { flex: 2 1 220px; }
.note-control-panel .filter-field { flex: 1 1 150px; }
.note-control-panel .tabs { margin-bottom: 0; border-bottom: none; }
.note-board { display: grid; gap: 10px; }
.note-card {
  display: grid; gap: 7px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.note-card:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.note-card strong, .note-card b, .note-card h3, .note-card .list-row-title {
  font-size: .92rem; font-weight: 650;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.note-card .card-description, .note-card small, .note-card p {
  color: var(--muted); font-size: .82rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.note-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.note-tags .tag:nth-child(n+4) { display: none; }
.note-card footer, .note-card .card-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 8px; margin-top: 2px;
  border-top: 1px solid var(--line-soft);
}
.note-card footer time, .note-card .card-meta { color: var(--faint); font-size: .76rem; }
.rich-toolbar {
  display: flex; align-items: center; gap: 3px; flex-wrap: wrap;
  padding: 6px 8px;
  background: var(--surface-muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}
.rich-toolbar button {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 7px;
  border-radius: 6px;
  color: var(--muted); font-size: .83rem;
}
.rich-toolbar button:hover { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.rich-toolbar-divider { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.rich-editor, .rich-note-content {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: none;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  min-height: 130px;
  line-height: 1.65;
}
.rich-note-detail { line-height: 1.7; }
.rich-note-detail h1, .rich-note-detail h2, .rich-note-detail h3 { margin: 1.1em 0 .45em; }
.tag-editor { display: flex; gap: 5px; flex-wrap: wrap; }
.tag-editor-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-size: .75rem;
}

/* ———————————————————————————— 15. GÖREVLER ———————————————————————————— */
.task-quick-capture, .quick-task-form {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.task-quick-capture input, .quick-task-form input { flex: 2 1 220px; }
.task-quick-capture select, .quick-task-form select { flex: 1 1 130px; width: auto; }
.task-quick-capture .eyebrow { margin: 0; }
.task-quick-copy { color: var(--faint); font-size: .78rem; }
.task-focus-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  font-size: .8rem; font-weight: 600;
  color: var(--muted);
}
.task-focus-chip strong { font-variant-numeric: tabular-nums; color: var(--ink); }
.task-focus-chip:hover { border-color: var(--control-line); }
.task-focus-chip.active {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
}
.task-focus-chip.active strong { color: var(--accent); }
.task-control-panel {
  display: flex; align-items: end; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.task-control-panel .filter-search { flex: 2 1 220px; }
.task-control-panel .filter-field { flex: 1 1 140px; }
.task-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(205px, 1fr));
  gap: 11px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 10px;
}
.task-column {
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 8px;
  min-height: 110px;
}
.task-column-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 7px 9px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.task-column-header strong, .task-column-header b { font-variant-numeric: tabular-nums; }
.task-card {
  display: grid; gap: 6px;
  padding: 10px 11px;
  margin-bottom: 7px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
}
.task-card:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.task-card strong, .task-card b, .task-card .list-row-title {
  font-size: .87rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-card small { color: var(--faint); font-size: .75rem; }
.task-card-status { display: flex; align-items: center; gap: 7px; }
.task-quick-action, .task-complete-button {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.task-complete-button:hover { color: var(--green); border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, transparent); }
[data-task-drop-status].is-drag-target {
  outline: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: -7px;
  background: var(--accent-soft);
}

/* ———————————————————————————— 16. TAKVİM ———————————————————————————— */
.calendar-agenda { display: grid; }
.agenda-list { margin: 0; padding: 0; list-style: none; }
.agenda-row {
  display: grid;
  grid-template-columns: 74px 52px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
}
.agenda-row:hover { background: var(--surface-soft); box-shadow: none; transform: none; }
.agenda-row:last-child { border-bottom: 0; }
.agenda-row time { color: var(--accent); font-size: .8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.agenda-source { color: var(--faint); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.agenda-row strong, .agenda-row small { display: block; }
.agenda-row strong {
  font-size: .88rem; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.agenda-row small { margin-top: 2px; color: var(--faint); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .agenda-row { grid-template-columns: 1fr; gap: 2px; min-height: 0; } }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span {
  padding: 8px 4px;
  color: var(--faint);
  font-size: .66rem; font-weight: 800; letter-spacing: .06em;
  text-align: center; text-transform: uppercase;
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.calendar-grid .calendar-day {
  min-height: 78px;
  align-items: start; justify-items: start;
  padding: 7px;
  display: grid; gap: 3px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  aspect-ratio: auto;
  font-size: .78rem;
}
.calendar-grid .calendar-day:hover { border-color: var(--line); box-shadow: var(--shadow-1); }
.calendar-grid .calendar-day.outside { background: var(--surface-soft); color: var(--control-line); }
.calendar-day-create { width: 100%; }
.calendar-event {
  display: block; width: 100%;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: .7rem; font-weight: 600;
  text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--accent-soft);
  color: var(--accent);
}
@media (max-width: 760px) { .calendar-grid .calendar-day { min-height: 54px; padding: 4px; } }
.event-timeline, .entity-timeline, .intake-timeline { display: grid; gap: 9px; }
.timeline-today-line { border-color: var(--accent); }
.timeline-intro { color: var(--muted); font-size: .84rem; }
.timeline-project-label { font-size: .76rem; color: var(--faint); }
.daily-calendar-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 7px;
  padding: 10px;
  border-radius: var(--radius-m);
  background: var(--night);
}
.daily-calendar-strip button {
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  color: #e8ebef;
  background: rgb(255 255 255 / 4%);
  text-align: left;
}
.daily-calendar-strip button:hover { background: rgb(255 255 255 / 9%); }

/* ———————————————————————————— 17. EKİP ———————————————————————————— */
.team-rail { display: grid; gap: 7px; }
.team-tabs { display: flex; gap: 4px; }
.team-avatar {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  font-size: .74rem; font-weight: 700;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line-soft);
}
.team-message {
  display: grid; gap: 4px;
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.team-message-header { display: flex; align-items: center; gap: 8px; }
.team-message-header strong { font-size: .87rem; }
.team-message-header time, .team-pin-label { color: var(--faint); font-size: .74rem; }
.team-compose-reply, .team-reply-preview {
  display: flex; gap: 9px;
  padding: 9px 11px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.reaction-button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  font-size: .76rem;
}
.reaction-button:hover { border-color: var(--accent); }
.team-rail-empty { color: var(--faint); text-align: center; padding: 20px; }
.team-area-summary, .team-access-copy { color: var(--muted); font-size: .83rem; }
.member-row { justify-content: space-between; }

/* ———————————————————————————— 18. FİNANS ———————————————————————————— */
.finance-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.finance-signal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.finance-signal {
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.finance-signal:hover { border-color: var(--line); box-shadow: var(--shadow-2); }
.finance-signal strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.finance-accounts-panel, .finance-filter-bar {
  border-radius: var(--radius-l);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.finance-filter-bar { display: flex; gap: 9px; flex-wrap: wrap; padding: 10px 12px; align-items: end; }
.finance-filter-actions { display: flex; gap: 7px; }
.finance-deadlines, .finance-deadline-row { display: grid; gap: 7px; }
.financial-account-card {
  display: grid; gap: 5px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.currency-card {
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  font-variant-numeric: tabular-nums;
}
.royalty-line-editor, .journal-line-editor, .contributor-line-editor, .line-fieldset {
  display: grid; gap: 9px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--surface-soft);
}

/* ———————————————————————————— 19. KATALOG ———————————————————————————— */
.artist-grid, .release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.artist-card, .release-card {
  display: grid; gap: 8px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.artist-card:hover, .release-card:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.release-cover { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); }
.release-track-list .record-line:hover { background: var(--surface-soft); }
.release-meta, .release-finance-summary { color: var(--muted); font-size: .82rem; }
.artist-detail-hero, .release-detail-hero { padding: clamp(16px, 3vw, 28px); display: grid; gap: 7px; }
.artist-detail-fields, .release-detail-fields, .contact-detail-fields { display: grid; gap: 10px; }
.artist-detail-section, .release-detail-section, .contact-detail-section { margin-top: 16px; }
.contact-card {
  display: grid; gap: 5px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.directory-explainer { color: var(--muted); font-size: .84rem; }

/* ———————————————————————————— 20. HUKUK ———————————————————————————— */
.legal-card {
  display: grid; gap: 7px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.legal-card:hover { border-color: var(--line); box-shadow: var(--shadow-2); }
.legal-dates { display: flex; gap: 12px; color: var(--faint); font-size: .78rem; flex-wrap: wrap; }
.legal-detail-grid { display: grid; gap: 10px; }

/* ———————————————————————————— 21. YÖNETİM ———————————————————————————— */
.admin-layout { display: grid; gap: 14px; }
[role="tablist"] { display: flex; gap: 3px; align-items: center; overflow-x: auto; }
[role="tablist"] button {
  padding: 7px 13px;
  border-radius: var(--radius-m);
  color: var(--muted);
  font-size: .84rem; font-weight: 600;
  white-space: nowrap;
}
[role="tablist"] button:hover { color: var(--accent); background: var(--accent-soft); }
[role="tablist"] button.active,
[role="tablist"] button[aria-selected="true"],
[role="tablist"] button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}
.setup-checklist-grid { display: grid; gap: 9px; }
.setup-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-items: start;
  padding: 12px 14px;
}
.setup-step-number {
  grid-row: span 2;
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700; font-size: .76rem;
}
.setup-step.done .setup-step-number { background: #e3f4ed; color: #166046; border-color: transparent; }
html[data-theme="gece"] .setup-step.done .setup-step-number { background: rgb(30 127 92 / 30%); color: #7ec7ad; }
.setup-step strong { display: block; font-size: .92rem; }
.setup-step p { grid-column: 2; margin: 0; color: var(--muted); font-size: .83rem; }
.backup-health-metrics { margin-top: 9px; }
.backup-health-card.is-alert { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 5%, var(--surface)); }
.module-checks { display: grid; gap: 7px; }
.access-presets, .access-profile-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.invite-queue-heading, .invite-area-heading {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--faint);
  margin: 14px 0 7px;
}
.invite-badge { background: #e3f4ed; color: #166046; border-radius: 999px; padding: 2px 9px; font-size: .7rem; font-weight: 650; }
html[data-theme="gece"] .invite-badge { background: rgb(30 127 92 / 26%); color: #7ec7ad; }

/* ———————————————————————————— 22. ÇÖP KUTUSU ———————————————————————————— */
.trash-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trash-summary-copy { color: var(--muted); }
.trash-card {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.trash-card-actions { display: flex; gap: 5px; margin-left: auto; }
.trash-meta { color: var(--faint); font-size: .76rem; }
.trash-notice {
  padding: 10px 13px;
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  color: var(--gold);
  font-size: .83rem;
}
.trash-toolbar { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.trash-pagination { display: flex; gap: 7px; justify-content: center; }

/* ———————————————————————————— 23. KOMUT & ARAMA ———————————————————————————— */
.command-strip, .command-home-block { margin-bottom: 12px; }
.command-intro { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .83rem; }
.command-grid { display: grid; gap: 8px; }
.command-action { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-m); text-align: left; }
.command-action:hover { background: var(--surface-soft); }
.command-destination { font-weight: 600; }
.command-welcome { padding: 12px; }
.command-pin-button { color: var(--muted); }
.command-pin-button:hover { color: var(--gold); }
.smart-capture {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(150deg, #0d1a2e 0%, #10254a 100%);
  color: #e8eefb;
  padding: 15px 17px;
  margin-bottom: 14px;
}
.smart-capture .eyebrow { color: #9ec4f5; }
.smart-capture h3 { color: #fff; margin: 2px 0 3px; }
.smart-capture-header span, .smart-capture-hints { color: rgb(232 238 251 / 62%); font-size: .78rem; }
.smart-capture-form, .intake-quick-form { display: flex; gap: 8px; margin-top: 10px; }
.smart-capture-form input, .intake-quick-form input {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 15%);
  color: #fff;
}
.smart-capture-form input::placeholder { color: rgb(255 255 255 / 42%); }
.smart-capture-form input:focus { border-color: #6aa7f5; box-shadow: 0 0 0 3px rgb(106 167 245 / 20%); }
.smart-capture-fields { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.smart-capture-fields .tag, .smart-capture-fields .badge {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 13%);
  color: rgb(255 255 255 / 82%);
}
.search-form { display: flex; gap: 8px; align-items: end; }
.search-scope-bar { display: flex; gap: 7px; flex-wrap: wrap; margin: 10px 0; }
.search-result-group { margin-top: 12px; }
.search-result-summary, .search-result-copy { color: var(--muted); font-size: .8rem; }
.result-heading {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--faint);
  margin: 12px 0 7px;
  text-transform: uppercase;
}

/* ———————————————————————————— 24. DİĞER MODÜLLER ———————————————————————————— */
.approval-hero, .approval-detail-hero { padding: clamp(15px, 3vw, 26px); }
.approval-scope-tabs { display: flex; gap: 5px; }
.approval-card-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.approval-approvers, .approval-history, .approval-detail-section { display: grid; gap: 9px; }
.approval-detail-meta, .approval-resource { color: var(--muted); font-size: .82rem; }
.meeting-card {
  display: grid; gap: 7px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.meeting-card-stats, .meeting-card-stats span { color: var(--faint); font-size: .78rem; }
.meeting-detail-grid { display: grid; gap: 12px; }
.meeting-participant-groups, .participant-list { display: grid; gap: 7px; }
.meeting-record-list, .meeting-record-section { display: grid; gap: 9px; }
.meeting-workspace-copy { color: var(--muted); }
.intake-card, .intake-detail-summary {
  display: grid; gap: 7px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.intake-summary { display: flex; gap: 12px; flex-wrap: wrap; }
.intake-followups { display: grid; gap: 7px; }
.intake-update-form { display: grid; gap: 9px; }
.intake-dashboard-list { display: grid; gap: 9px; }
.daily-plan { background: var(--surface); border-radius: var(--radius-l); }
.daily-plan-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.daily-plan-summary .warning { background: #f7ecd4; }
html[data-theme="gece"] .daily-plan-summary .warning { background: rgb(176 122 30 / 20%); }
.daily-plan-pool { background: var(--surface-muted); border-radius: var(--radius-m); padding: 8px; }
.daily-plan-item.focus { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.daily-plan-item.done { opacity: .6; }
.daily-calendar-strip, .daily-plan-timeline { display: grid; gap: 7px; }
.daily-time-editor { display: flex; gap: 7px; align-items: center; }
.operations-grid { display: grid; gap: 10px; }
.operations-signal {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.operations-signal-list { background: var(--surface-soft); border-radius: var(--radius-m); }
.operations-signal-meta, .operations-signal-actions { color: var(--muted); font-size: .8rem; }
.operations-briefing-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.project-card {
  display: grid; gap: 7px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.project-card:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.project-health { display: flex; align-items: center; gap: 7px; }
.project-stage { background: var(--surface-muted); border-radius: var(--radius-m); padding: 9px; }
.project-signal-row { display: flex; gap: 7px; flex-wrap: wrap; }
.tower-meter { height: 7px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.tower-axis { display: flex; justify-content: space-between; color: var(--faint); font-size: .72rem; }
.tower-load, .tower-risk-card { padding: 10px 12px; }
.tower-risk-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-m); }
.pinned-brief, .notification-highlight { border-left: 3px solid var(--accent); padding-left: 10px; }
.notification-schedule, .notification-digest-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.notification-digest-stamp { color: var(--faint); font-size: .76rem; }
.notification-preferences { display: grid; gap: 10px; }
.notification-preference-card { padding: 12px 14px; }
.integration-card, .provider-card { display: grid; gap: 7px; padding: 13px 15px; }
.integration-form { display: grid; gap: 10px; }
.starter-panel { padding: 13px 15px; }
.starter-kit-card, .starter-kit-choice {
  display: grid; gap: 7px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  text-align: left;
}
.starter-kit-card:hover, .starter-kit-choice:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.starter-summary, .starter-form-intro { color: var(--muted); font-size: .84rem; }
.starter-empty { color: var(--faint); text-align: center; padding: 18px; }
.quick-add-primary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 9px; }
.quick-add-primary {
  display: grid; gap: 5px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-align: left;
}
.quick-add-primary:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.quick-add-action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 7px; }
.entity-page { display: grid; gap: 13px; }
.more-nav-group { display: grid; gap: 3px; }
.comment { padding: 9px 11px; border-radius: var(--radius-m); background: var(--surface-soft); }

/* ———————————————————————————— 25. MOBİL NAV + DUYARLI ———————————————————————————— */
.mobile-nav {
  position: fixed; z-index: 130;
  left: 10px; right: 10px; bottom: 10px;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 5px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-3);
}
.mobile-nav:has(.pz-mobile-theme) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mobile-nav button {
  display: grid; place-items: center;
  padding: 9px 3px;
  border-radius: 12px;
  color: var(--muted);
  font-size: .72rem; font-weight: 600;
}
.mobile-nav button.active, .mobile-nav button[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .area-sidebar { display: none; }
  .main-content { margin-left: 0; max-width: none; }
}
@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .task-board { grid-template-columns: repeat(5, minmax(185px, 80vw)); }
  .file-explorer-strip { grid-template-columns: 1fr; }
  .file-explorer-nav { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .dashboard-focus-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-editorial { min-height: 36vh; }
  .topbar { gap: 8px; }
  .top-action span { display: none; }
  .top-action { padding: 8px 10px; }
  .top-action.primary span { display: inline; }
  .modal { width: calc(100vw - 18px); }
  .modal-content, .modal-header { padding-left: 15px; padding-right: 15px; }
  .file-control-panel, .note-control-panel, .task-control-panel { align-items: stretch; flex-direction: column; }
  .file-control-panel .filter-search, .file-control-panel .filter-field,
  .note-control-panel .filter-search, .note-control-panel .filter-field,
  .task-control-panel .filter-search, .task-control-panel .filter-field { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 860px) {
  .mobile-nav { display: grid; }
  .main-content { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================================
   UI 3.0.1 — pz-* geçişi (premium.css kaldırıldı), başlık-sayaç düzeltmeleri,
   view-switcher aria, breadcrumb, hızlı yakala
   ========================================================================== */

/* ————— başlık + sayaç yapışmaları (evrensel) ————— */
.result-heading strong + span { margin-left: 10px; font-weight: 500; color: var(--faint); letter-spacing: .03em; }
.result-heading:has(.file-sort-field) {
  display: flex; align-items: end; gap: 6px 16px; flex-wrap: wrap;
  text-transform: none; letter-spacing: 0;
  margin: 4px 0 12px;
}
.result-heading:has(.file-sort-field) > strong { font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.result-heading:has(.file-sort-field) > span { font-size: .78rem; color: var(--faint); }
.file-sort-field {
  margin-left: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.file-sort-field > span { font-size: .78rem; color: var(--faint); }
.file-sort-field select { width: auto; min-width: 150px; }

/* ————— view-switcher segmented (Liste/Küçük/Büyük, Pano/Liste) ————— */
.view-switcher { background: var(--surface-muted); border: 1px solid var(--line-soft); }
.view-switcher button.active,
.view-switcher button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

/* ————— breadcrumb & konum ————— */
.section-kicker {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: var(--faint); text-transform: uppercase;
}
.folder-browser-header > div { display: grid; gap: 2px; }
.folder-browser-header strong { display: block; font-size: .95rem; }
.folder-browser-header small { display: block; color: var(--faint); font-size: .78rem; }

/* ————— hızlı yakala çubuğu ————— */
.task-quick-capture { row-gap: 8px; }
.task-quick-capture .task-quick-copy { flex: 1 1 100%; order: -1; }
.task-quick-capture > label, .task-quick-capture > .filter-field { min-width: 0; }

/* ———————————————————————————— pz-* (faz-1 parçaları, SaaS stili) ———————————————————————————— */
.pz-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .03em;
  white-space: nowrap;
  user-select: none;
}
.pz-clock strong { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.pz-clock .pz-clock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 60%, transparent); }
@media (max-width: 900px) { .pz-clock { display: none; } }

.pz-theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.pz-theme-toggle:hover { border-color: var(--control-line); color: var(--ink); box-shadow: var(--shadow-1); }
.pz-theme-toggle svg { width: 16px; height: 16px; }
.pz-theme-toggle .pz-sun { display: none; }
html[data-theme="gece"] .pz-theme-toggle .pz-sun { display: block; }
html[data-theme="gece"] .pz-theme-toggle .pz-moon { display: none; }

.pz-overlay {
  position: fixed; inset: 0; z-index: 220;
  display: grid; place-items: center;
  background: rgb(16 24 40 / 45%);
  backdrop-filter: blur(4px);
  animation: pz3-fade .15s var(--ease);
}
@keyframes pz3-fade { from { opacity: 0; } }
.pz-sheet {
  width: min(540px, calc(100vw - 30px));
  max-height: min(72vh, 620px);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
  padding: 22px 24px;
  animation: pz3-rise .18s var(--ease);
}
@keyframes pz3-rise { from { opacity: 0; transform: translateY(8px); } }
.pz-sheet h2 { margin: 0 0 3px; font-size: 1.15rem; }
.pz-sheet .pz-sheet-sub { margin: 0 0 14px; color: var(--faint); font-size: .84rem; }
.pz-sheet dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 5px 16px; margin: 0; }
.pz-sheet .pz-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 7px; }
.pz-sheet .pz-row:hover { background: var(--surface-muted); }
.pz-sheet .pz-row dt { color: var(--ink); font-size: .87rem; }
.pz-sheet .pz-row dd { margin: 0; display: flex; gap: 4px; }
.pz-sheet .pz-close {
  position: sticky; top: 0; float: right;
  width: 30px; height: 30px; border-radius: var(--radius-m);
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 1rem; cursor: pointer;
}
.pz-sheet .pz-close:hover { color: var(--red); border-color: var(--red); }

.pz-to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 120;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.pz-to-top.pz-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pz-to-top:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 860px) { .pz-to-top { bottom: 86px; right: 14px; } }

html.pz-theme-anim, html.pz-theme-anim *, html.pz-theme-anim *::before, html.pz-theme-anim *::after {
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease) !important;
}

/* ============================================================================
   UI 3.0.2 — son kullanılanlar başlığı, üst bar yoğunluğu
   ========================================================================== */
.file-recent .result-heading {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: .08em;
}
.file-recent .result-heading > * { flex: 0 0 auto; }

@media (max-width: 1520px) {
  .pz-clock .pz-clock-date { display: none; }
  .main-nav button { padding: 7px 9px; font-size: .83rem; }
  .top-action { padding: 7px 11px; }
}
@media (max-width: 1260px) {
  .main-nav button { padding: 7px 7px; font-size: .8rem; }
}

/* ============================================================================
   UI 3.0.3 — son kullanılanlar başlığı (gerçek markup)
   ========================================================================== */
.file-recent > header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
}
.file-recent > header > span {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em;
  color: var(--faint);
  text-transform: uppercase;
}
.file-recent > header > small { color: var(--faint); font-size: .78rem; }
