/* ============================================================================
   MERKEZ UI 2.0 — "Porselen & Gece"
   K3 tasarım sistemi: tamamen yeniden yazılmış arayüz katmanı.
   styles.css'in yerini alır; app.js/backend'e dokunmaz.
   ========================================================================== */

/* ———————————————————————————————— 1. TOKENS ———————————————————————————————— */
:root {
  color-scheme: light;
  /* porselen ışık */
  --ink: #17130e;
  --muted: #6e675c;
  --line: #ddd6c8;
  --line-soft: #eae4d6;
  --control-line: #9b9284;
  --paper: #f5f2ea;
  --paper-deep: #e9e3d4;
  --white: #fffefa;
  --surface: #fffefa;
  --surface-soft: #f7f3e9;
  --surface-muted: #efe9db;
  --night: #17130e;
  --night-soft: #28221a;
  --red: #a8231d;
  --red-dark: #7d1a15;
  --red-bright: #c23327;
  --green: #3b6156;
  --gold: #a5712a;
  --gold-soft: #c59a5b;
  --violet: #5f5a80;

  /* tipografi */
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, "Times New Roman", serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  /* ölçek */
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-xl: 26px;
  --shadow-1: 0 1px 2px rgb(26 18 10 / 5%), 0 6px 18px rgb(26 18 10 / 6%);
  --shadow-2: 0 2px 6px rgb(26 18 10 / 6%), 0 20px 48px rgb(26 18 10 / 11%);
  --shadow-3: 0 34px 80px rgb(26 18 10 / 20%);
  --shadow: var(--shadow-2);
  --hairline: 1px solid var(--line-soft);
  --ease: cubic-bezier(.22, .9, .26, 1);
  --dur: .18s;

  /* shell ölçüleri */
  --topbar-h: 60px;
  --shell-pad: clamp(14px, 2.2vw, 28px);
}

html[data-theme="gece"] {
  color-scheme: dark;
  --ink: #ede8dd;
  --muted: #a89e8f;
  --line: #38322a;
  --line-soft: #2c2721;
  --control-line: #5b544b;
  --paper: #131009;
  --paper-deep: #0d0b08;
  --white: #1f1a14;
  --surface: #1f1a14;
  --surface-soft: #252019;
  --surface-muted: #2a241c;
  --night: #0c0a07;
  --night-soft: #1c1812;
  --red: #d05045;
  --red-dark: #b03a30;
  --red-bright: #e06559;
  --green: #639083;
  --gold: #d2a05c;
  --gold-soft: #8a6f45;
  --violet: #8f8ab0;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 22px rgb(0 0 0 / 35%);
  --shadow-2: 0 2px 6px rgb(0 0 0 / 45%), 0 22px 54px rgb(0 0 0 / 45%);
  --shadow-3: 0 34px 80px rgb(0 0 0 / 62%);
}

/* ———————————————————————————————— 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:
    radial-gradient(1100px 520px at 88% -10%, color-mix(in srgb, var(--red) 7%, transparent), transparent 62%),
    radial-gradient(880px 500px at -12% 112%, color-mix(in srgb, var(--gold) 5%, transparent), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; }
p { margin: 0; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-bright); }
html[data-theme="gece"] a { color: var(--red-bright); }

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),
    outline-color var(--dur) var(--ease);
}
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--red) 34%, transparent);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

::selection { background: color-mix(in srgb, var(--red) 22%, 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: 10px 16px;
  color: #fff; background: var(--red-dark);
  border-radius: 999px; text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

kbd, .kbd {
  font-family: var(--mono);
  font-size: .72em;
  padding: .2em .55em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  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: 20px;
  color: var(--muted); letter-spacing: .1em;
}
.brand-mark, .wordmark-sign {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--red-bright), var(--red-dark));
  color: #f8f2ea;
  font-family: var(--serif); font-size: 1.35rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--red) 38%, transparent), inset 0 1px 0 rgb(255 255 255 / 22%);
}
.loading-screen .brand-mark { animation: ui-pulse 1.7s var(--ease) infinite; }
@keyframes ui-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.93); opacity: .8; } }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 100vh;
}
.auth-editorial {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 6vw, 80px);
  background:
    radial-gradient(900px 620px at 85% -12%, color-mix(in srgb, var(--red) 16%, transparent), transparent 62%),
    linear-gradient(160deg, #1c1410 0%, #241612 48%, #2e1712 100%);
  color: #f3ece1;
}
.auth-editorial .wordmark { color: #f3ece1; }
.auth-copy h1 {
  color: #f8f2ea;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin: 18px 0 20px;
}
.auth-copy p { color: rgb(243 236 225 / 72%); max-width: 44ch; font-size: 1.02rem; }
.auth-editorial .eyebrow { color: #e08678; }
.edition { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: rgb(243 236 225 / 45%); }
.auth-panel {
  display: grid; place-items: center;
  padding: clamp(24px, 5vw, 64px);
}
.auth-card {
  width: min(430px, 100%);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  padding: clamp(24px, 4vw, 40px);
}
.auth-card h1, .auth-card h2 { margin: 4px 0 10px; }
.auth-card .button { width: 100%; justify-content: center; margin-top: 16px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: .15em;
  color: var(--ink);
}
html[data-theme="gece"] .wordmark { color: var(--ink); }
.wordmark:hover .wordmark-sign { transform: translateY(-1px); }

/* ———————————————————————————————— 4. SHELL: ÜST BAR ———————————————————————————————— */
.app-shell { min-height: 100vh; }

.topbar {
  position: sticky; top: 10px; z-index: 120;
  display: flex; align-items: center; gap: 14px;
  height: var(--topbar-h);
  margin: 10px var(--shell-pad) 0;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgb(255 255 255 / 7%);
  box-shadow: 0 14px 40px rgb(18 12 6 / 26%), inset 0 1px 0 rgb(255 255 255 / 5%);
  color: #f2ede4;
}
.wordmark-app { color: #f2ede4; letter-spacing: .14em; font-size: .92rem; flex: 0 0 auto; }
.wordmark-app .wordmark-sign { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }

.main-nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav button {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgb(242 237 228 / 66%);
  font-size: .85rem; font-weight: 550;
  white-space: nowrap;
}
.main-nav button:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.main-nav button.active,
.main-nav button[aria-current="page"],
.main-nav button[aria-current="true"] {
  color: #fff;
  background: rgb(255 255 255 / 12%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}

.topbar-actions {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
}
.top-action {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 4%);
  color: rgb(242 237 228 / 85%);
  font-size: .82rem; font-weight: 550;
}
.top-action:hover { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 20%); transform: translateY(-1px); }
.top-action.primary {
  background: linear-gradient(145deg, var(--red-bright), var(--red-dark));
  border-color: color-mix(in srgb, var(--red) 60%, #fff 10%);
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--red) 40%, transparent), inset 0 1px 0 rgb(255 255 255 / 22%);
}
.top-action.primary:hover { filter: brightness(1.06); }
.top-action kbd { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 14%); color: rgb(255 255 255 / 65%); }
.notification-badge {
  display: inline-grid; place-items: center;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px;
  background: var(--red-bright); color: #fff;
  font-size: .68rem; font-weight: 700;
  box-shadow: 0 0 0 2px var(--night);
}
.user-chip {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  color: #f2ede4; font-weight: 700; font-size: .8rem;
}
.user-chip:hover { box-shadow: 0 0 0 3px rgb(255 255 255 / 10%); }

/* ———————————————————————————————— 5. SHELL: ALAN KENAR ÇUBUĞU + İÇERİK ———————————————————————————————— */
.area-sidebar {
  position: fixed; top: calc(var(--topbar-h) + 22px); bottom: 14px; left: var(--shell-pad);
  width: 232px;
  display: flex; flex-direction: column;
  padding: 16px 12px;
  border-radius: var(--radius-l);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  z-index: 60;
}
.sidebar-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px 10px;
}
.sidebar-heading span {
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--muted);
}
.add-area-button {
  font-size: .72rem; font-weight: 650;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.add-area-button:hover { color: var(--red); border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, transparent); }
.area-list {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 3px;
  padding: 2px;
}
.area-list button, .area-button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: .87rem; font-weight: 550;
  text-align: left;
}
.area-list button:hover, .area-button:hover {
  background: var(--surface);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-1);
  transform: translateX(2px);
}
.area-list button.active, .area-button.active,
.area-list button[aria-current], .area-button[aria-current] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}
.area-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex: 0 0 9px;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent);
}
.sidebar-bottom {
  padding: 12px 8px 4px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: .74rem;
  display: grid; gap: 8px;
}
#release-label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  padding: .35em .8em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-soft);
  justify-self: start;
}

.main-content {
  margin-left: calc(232px + var(--shell-pad) + 14px);
  margin-right: var(--shell-pad);
  padding: 26px 0 90px;
  max-width: 1180px;
  outline: none;
}

/* sayfa başlıkları */
.page-header { margin: 6px 0 22px; }
.page-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}
.page-header .page-context, .page-header > p:not(.eyebrow) {
  color: var(--muted); max-width: 62ch; font-size: .94rem;
}
.header-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 16px;
}
.eyebrow {
  margin: 0 0 6px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .17em;
  color: var(--red);
  text-transform: uppercase;
}
html[data-theme="gece"] .eyebrow { color: var(--red-bright); }

/* ———————————————————————————————— 6. DÜĞMELER ———————————————————————————————— */
.button, .button-secondary, .button-ghost, .button-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .87rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent;
}
.button {
  background: linear-gradient(145deg, var(--red-bright), var(--red-dark));
  border-color: color-mix(in srgb, var(--red-dark) 80%, #fff 8%);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--red) 30%, transparent), inset 0 1px 0 rgb(255 255 255 / 20%);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px color-mix(in srgb, var(--red) 38%, transparent), inset 0 1px 0 rgb(255 255 255 / 22%); filter: brightness(1.04); }
.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); transform: translateY(-1px); }
.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) 40%, transparent);
}
html[data-theme="gece"] .button-danger { color: var(--red-bright); }
.button-danger:hover { background: color-mix(in srgb, var(--red) 8%, transparent); border-color: var(--red); }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.icon-button {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 1.15rem;
}
.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: 14px 16px;
}
.form-stack { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-span, .field.span-2 { grid-column: 1 / -1; }
.field > label, .field-label, .filter-field > label {
  font-size: .76rem; font-weight: 650; letter-spacing: .04em; 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: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  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(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent);
  outline: none;
}
html[data-theme="gece"] .field input:focus, html[data-theme="gece"] .field textarea:focus,
html[data-theme="gece"] textarea:focus, html[data-theme="gece"] select:focus, html[data-theme="gece"] input:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-bright) 14%, transparent);
}
.field textarea, textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field-help, .form-hint { font-size: .78rem; color: var(--muted); }
.form-message { font-size: .85rem; padding: 10px 14px; border-radius: var(--radius-s); }
.form-message.error, .form-message[role="alert"] {
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
  color: var(--red);
}
html[data-theme="gece"] .form-message.error, html[data-theme="gece"] .form-message[role="alert"] { color: var(--red-bright); }
.form-message.success {
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  color: var(--green);
}
.filter-field { display: grid; gap: 6px; min-width: 0; }
.filter-search { position: relative; }
.filter-clear { align-self: end; }
input[type="checkbox"], input[type="radio"] { width: 17px; height: 17px; accent-color: var(--red); }
fieldset { border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 14px 16px; margin: 0; }
legend { font-size: .76rem; font-weight: 650; color: var(--muted); padding: 0 8px; }

/* ———————————————————————————————— 8. ROZET, ETİKET, SEKME, SEGMENT ———————————————————————————————— */
.badge, .tag, .recurrence-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 650; letter-spacing: .04em;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
}
.badge.red { color: var(--red-dark); background: #f3dedb; border-color: transparent; }
.badge.green { color: #315348; background: #dfeae5; border-color: transparent; }
.badge.gold { color: #805316; background: #f1e4cf; border-color: transparent; }
.badge.violet { color: #4e496f; background: #e6e3ef; border-color: transparent; }
html[data-theme="gece"] .badge.red { color: #e5a49e; background: rgb(168 35 29 / 24%); }
html[data-theme="gece"] .badge.green { color: #93bdb0; background: rgb(59 97 86 / 32%); }
html[data-theme="gece"] .badge.gold { color: #dcbb84; background: rgb(165 113 42 / 30%); }
html[data-theme="gece"] .badge.violet { color: #b7b2dd; background: rgb(95 90 128 / 34%); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

.tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 18px;
  overflow-x: auto;
}
.tabs button, .tab {
  padding: 10px 15px;
  border-radius: 10px 10px 0 0;
  color: var(--muted);
  font-size: .86rem; font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.tabs button:hover, .tab:hover { color: var(--red); background: color-mix(in srgb, var(--red) 5%, transparent); }
.tabs button.active, .tab.active,
.tabs button[aria-selected="true"], .tab[aria-selected="true"] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}
html[data-theme="gece"] .tabs button:hover, html[data-theme="gece"] .tab:hover { color: var(--red-bright); }
html[data-theme="gece"] .tabs button.active, html[data-theme="gece"] .tab.active,
html[data-theme="gece"] .tabs button[aria-selected="true"], html[data-theme="gece"] .tab[aria-selected="true"] {
  color: var(--red-bright); box-shadow: inset 0 -2px 0 var(--red-bright);
}

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

/* ———————————————————————————————— 9. PANEL & KART AİLELERİ ———————————————————————————————— */
.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: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-header h2, .panel-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem; letter-spacing: -.01em;
}
.panel-header span, .panel-header small { color: var(--muted); font-size: .8rem; }
.panel > *:not(.panel-header):not(.record-stack):not(.list) { padding-left: 20px; padding-right: 20px; }
.panel > .record-stack, .panel > .list { padding: 6px 10px; }
.panel > .panel-footer, .panel > footer {
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
}
.panel + .panel, .workspace-section > * + * { margin-top: 16px; }
.workspace-section { margin-bottom: 22px; }

.card-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: .66rem; font-weight: 700; letter-spacing: .15em;
  color: var(--red);
  text-transform: uppercase;
}
html[data-theme="gece"] .card-kicker { color: var(--red-bright); }
.card-description { color: var(--muted); font-size: .86rem; }
.card-meta { color: var(--muted); font-size: .78rem; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }

/* 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(150px, 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: 14px 16px;
  font-variant-numeric: tabular-nums lining-nums;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.metric-grid > *:hover, .metric:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.metric strong, .metric b, .metric .metric-value,
[class*="-metrics"] strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem; line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.metric small, .metric span { color: var(--muted); font-size: .78rem; }
.metric .warning, .warning { color: var(--gold); }
.metric .critical, .critical { color: var(--red); }
html[data-theme="gece"] .metric .critical, html[data-theme="gece"] .critical { color: var(--red-bright); }

/* ———————————————————————————————— 10. LİSTE & KAYIT AİLELERİ ———————————————————————————————— */
.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: 12px;
  padding: 12px 14px;
  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);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}
.list-row-title, .record-title { font-weight: 600; letter-spacing: -.005em; }
.list-row small, .record-line small, .agenda-row small { color: var(--muted); }
.detail-list { display: grid; gap: 10px; }
.detail-list dt, .detail-meta dt { font-size: .74rem; font-weight: 650; color: var(--muted); }
.detail-list dd, .detail-meta dd { margin: 0; }
.detail-totals {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex: 0 0 9px;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent);
}
.status-dot.done { background: var(--green); }
.status-dot.danger { background: var(--red); }
html[data-theme="gece"] .status-dot.danger { background: var(--red-bright); }
.overdue { color: var(--red); }
html[data-theme="gece"] .overdue { color: var(--red-bright); }

/* boş durum */
.empty-state, .empty-copy {
  display: grid; justify-items: center; gap: 8px;
  padding: 44px 22px;
  text-align: center;
  color: var(--muted);
}
.empty-state strong, .empty-copy strong {
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em;
}

/* ———————————————————————————————— 11. MODAL & TOAST ———————————————————————————————— */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  width: min(880px, calc(100vw - 28px));
  max-height: min(86vh, 900px);
}
.modal::backdrop {
  background: rgb(14 10 6 / 50%);
  backdrop-filter: blur(8px) saturate(.9);
}
.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: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-header h2 {
  margin: 2px 0 0;
  font-size: 1.5rem; letter-spacing: -.015em;
}
.modal-header .icon-button:hover { transform: rotate(90deg); color: var(--red); }
.modal-content {
  padding: 20px 24px 24px;
  overflow-y: auto;
}
.modal-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  padding-top: 16px; margin-top: 6px;
}
.toast-region {
  position: fixed; z-index: 300;
  right: 18px; bottom: 18px;
  display: grid; gap: 10px;
  width: min(360px, calc(100vw - 36px));
}
.toast-region > * {
  padding: 13px 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  color: var(--ink); font-size: .88rem;
  animation: ui-toast-in .28s var(--ease);
}
@keyframes ui-toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ———————————————————————————————— 12. PANO (DASHBOARD) ———————————————————————————————— */
.dashboard-summary {
  display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap;
  margin: 4px 0 16px;
  font-variant-numeric: tabular-nums;
}
.dashboard-summary strong, .dashboard-summary b {
  font-family: var(--serif);
  font-size: 1.5rem; letter-spacing: -.02em;
}
.dashboard-summary span { color: var(--muted); font-size: .86rem; }
.dashboard-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 980px) { .dashboard-focus-grid { grid-template-columns: 1fr; } }
.dashboard-today .empty-copy { padding: 34px 18px; }
.dashboard-glance-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid var(--line-soft);
}
.dashboard-radar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.dashboard-radar-card { margin: 0; }
.dashboard-radar-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.dashboard-radar-values span { display: grid; gap: .15rem; padding: .7rem; border: 1px solid var(--line); background: var(--surface-muted); border-radius: var(--radius-s); }
.dashboard-radar-values strong { font-size: 1.1rem; }
.dashboard-radar-values small { color: var(--muted); }
@media (max-width: 800px) { .dashboard-radar-grid { grid-template-columns: 1fr; } }

/* ———————————————————————————————— 13. GÖREV PANOSU (KANBAN) ———————————————————————————————— */
.task-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 10px;
}
.task-column {
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 10px;
  min-height: 120px;
}
.task-column-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; color: var(--muted);
}
.task-card {
  display: grid; gap: 6px;
  padding: 12px 13px;
  margin-bottom: 8px;
  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(--line); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.task-card-status { display: flex; align-items: center; gap: 8px; }
.task-quick-action, .task-complete-button {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.task-complete-button:hover { color: var(--green); border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, transparent); }
.task-focus-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgb(255 253 248 / 75%);
  font-size: .8rem; font-weight: 600;
}
.task-focus-chip.active { background: var(--surface); box-shadow: var(--shadow-1); }
.task-quick-capture, .quick-task-form {
  display: flex; gap: 10px; align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  margin-bottom: 14px;
}
.task-quick-copy { color: var(--muted); font-size: .8rem; }

/* ———————————————————————————————— 14. TAKVİM ———————————————————————————————— */
.calendar-agenda { display: grid; gap: 0; }
.calendar-day {
  display: grid; place-items: center;
  aspect-ratio: 1;
  border-radius: 9px;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.calendar-day.outside { color: var(--control-line); background: var(--surface-soft); }
.calendar-day-create { width: 100%; }
.calendar-event {
  display: block; width: 100%;
  padding: 3px 7px;
  border-radius: 7px;
  font-size: .72rem; font-weight: 600;
  text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.calendar-event.source-calendar.event, .calendar-event.source-calendar.meeting,
.calendar-event.source-project.project {
  background: #ede7de;
  color: var(--ink);
}
.calendar-event-icon { border-radius: 6px; }
.event-timeline, .entity-timeline, .intake-timeline { display: grid; gap: 10px; }
.timeline-today-line { border-color: var(--red); }
.timeline-intro { color: var(--muted); font-size: .86rem; }
.timeline-project-bar { border-radius: 8px; }
.timeline-project-label { font-size: .78rem; color: var(--muted); }

/* ———————————————————————————————— 15. DOSYA GEZGİNİ ———————————————————————————————— */
.file-explorer-strip {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0;
  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: 12px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface-soft);
}
.file-explorer-nav button, .explorer-nav-icon {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .85rem; font-weight: 550;
}
.file-explorer-nav button:hover { background: var(--surface); color: var(--ink); }
.file-explorer-nav button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.file-grid, .folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 14px;
}
.file-card, .folder-card {
  display: grid; gap: 8px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.file-card:hover, .folder-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line); }
.file-thumb {
  display: grid; place-items: center;
  aspect-ratio: 16/10;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--muted);
  overflow: hidden;
}
.file-icon, .file-type-icon {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 8px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--red) 10%, transparent);
  color: var(--red);
  font-size: .68rem; font-weight: 800; letter-spacing: .05em;
}
html[data-theme="gece"] .file-icon, html[data-theme="gece"] .file-type-icon { color: var(--red-bright); }
.file-recent { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 170px); gap: 10px; overflow-x: auto; padding: 12px; }
.file-recent-item {
  display: grid; gap: 6px;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.file-recent-item:hover { box-shadow: var(--shadow-1); transform: translateY(-1px); }
.file-row-main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.file-row-context, .file-row-size, .file-detail-meta { color: var(--muted); font-size: .8rem; }
.file-row-action { display: flex; gap: 6px; }
.folder-browser { background: var(--surface-soft); }
.folder-browser-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.folder-breadcrumbs { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; flex-wrap: wrap; }
.folder-card-actions, .folder-card-open { display: flex; gap: 6px; }
.file-stamp { color: var(--muted); font-size: .76rem; }
.file-view-details, .file-view-large, .file-view-small { padding: 14px; }
.office-preview-toolbar { display: flex; gap: 8px; align-items: center; }
.preview-frame, .preview-media { border-radius: var(--radius-m); overflow: hidden; }
.upload-progress {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
}
.progress > * {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--red-bright), var(--red-dark));
  border-radius: 999px;
}

/* ———————————————————————————————— 16. NOTLAR & ZENGİN METİN ———————————————————————————————— */
.note-board { display: grid; gap: 12px; }
.note-card {
  display: grid; gap: 8px;
  padding: 16px 18px;
  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 { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.note-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rich-toolbar {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 8px;
  background: var(--surface-muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s) var(--radius-s) 0 0;
}
.rich-toolbar button {
  display: inline-grid; place-items: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border-radius: 8px;
  color: var(--muted); font-size: .85rem;
}
.rich-toolbar button:hover { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.rich-toolbar-divider { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.rich-editor, .rich-note-content {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: none;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  min-height: 140px;
  line-height: 1.7;
}
.rich-note-detail { line-height: 1.75; }
.rich-note-detail h1, .rich-note-detail h2, .rich-note-detail h3 { margin: 1.2em 0 .5em; }
.tag-editor { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-editor-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-size: .76rem;
}

/* ———————————————————————————————— 17. EKİP & MESAJLAR ———————————————————————————————— */
.team-rail { display: grid; gap: 8px; }
.team-tabs { display: flex; gap: 6px; }
.team-avatar {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--line-soft);
}
.team-message {
  display: grid; gap: 5px;
  padding: 12px 15px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.team-message-header { display: flex; align-items: center; gap: 9px; }
.team-message-header strong { font-size: .9rem; }
.team-message-header time, .team-pin-label { color: var(--muted); font-size: .76rem; }
.team-compose-reply, .team-reply-preview {
  display: flex; gap: 10px;
  padding: 10px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.reaction-button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  font-size: .78rem;
}
.reaction-button:hover { border-color: var(--red); }
.team-resource { display: grid; gap: 6px; }
.team-rail-empty { color: var(--muted); text-align: center; padding: 22px; }
.team-area-summary, .team-access-copy { color: var(--muted); font-size: .84rem; }

/* ———————————————————————————————— 18. FİNANS & MUHASEBE ———————————————————————————————— */
.finance-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.finance-signal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.finance-signal {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.finance-signal:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.finance-signal strong { font-family: var(--serif); font-size: 1.5rem; 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: 10px; flex-wrap: wrap; padding: 12px 14px; align-items: end; }
.finance-filter-actions { display: flex; gap: 8px; }
.finance-deadlines, .finance-deadline-row { display: grid; gap: 8px; }
.financial-account-card {
  display: grid; gap: 6px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.currency-card {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  font-variant-numeric: tabular-nums;
}
.ledger-row { font-variant-numeric: tabular-nums; }
.royalty-line-editor, .journal-line-editor, .contributor-line-editor, .line-fieldset {
  display: grid; gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--surface-soft);
}
.line-remove { align-self: start; }

/* ———————————————————————————————— 19. KATALOG & SANATÇI ———————————————————————————————— */
.artist-grid, .release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.artist-card, .release-card {
  display: grid; gap: 10px;
  padding: 15px;
  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 { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.release-cover {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.release-cover:hover { transform: scale(1.02); box-shadow: var(--shadow-2); }
.release-track-list .record-line:hover { background: var(--surface-soft); }
.release-meta, .release-finance-summary { color: var(--muted); font-size: .84rem; }
.artist-detail-hero, .release-detail-hero {
  padding: clamp(20px, 3.4vw, 34px);
  display: grid; gap: 8px;
}
.artist-detail-fields, .release-detail-fields, .contact-detail-fields { display: grid; gap: 12px; }
.artist-detail-section, .release-detail-section, .contact-detail-section { margin-top: 18px; }
.track-detail-head { display: flex; align-items: center; gap: 12px; }

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

/* ———————————————————————————————— 21. YÖNETİM & SİSTEM ———————————————————————————————— */
.admin-layout { display: grid; gap: 18px; }
.setup-checklist-grid { display: grid; gap: 10px; }
.setup-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
}
.setup-step.done .setup-step-number { background: #eaf2ee; color: #315348; }
html[data-theme="gece"] .setup-step.done .setup-step-number { background: var(--green); color: #0d0b08; }
.setup-step-number {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700; font-size: .82rem;
  flex: 0 0 30px;
}
.backup-health-metrics { margin-top: 10px; }
.backup-health-card.is-alert { border-color: rgb(182 45 37 / 45%); background: #fff5f2; }
html[data-theme="gece"] .backup-health-card.is-alert { background: rgb(168 35 29 / 16%); border-color: rgb(208 80 69 / 40%); }
.module-checks { display: grid; gap: 8px; }
.access-presets, .access-profile-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.invite-queue-heading, .invite-area-heading {
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--muted);
  margin: 16px 0 8px;
}
.member-row { justify-content: space-between; }

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

/* ———————————————————————————————— 23. KOMUT & ARAMA ———————————————————————————————— */
.command-strip, .command-home-block { margin-bottom: 14px; }
.command-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .86rem; }
.command-grid { display: grid; gap: 10px; }
.command-action {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  text-align: left;
}
.command-action:hover { background: var(--surface-soft); }
.command-destination { font-weight: 600; }
.command-welcome { padding: 14px; }
.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, #211712 0%, #2c1812 100%);
  color: #f2e9de;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.smart-capture .eyebrow { color: #e08678; }
.smart-capture h3 { color: #f7f0e7; margin: 2px 0 4px; }
.smart-capture-header span, .smart-capture-hints { color: rgb(242 233 222 / 62%); font-size: .8rem; }
.smart-capture-form, .intake-quick-form { display: flex; gap: 10px; margin-top: 12px; }
.smart-capture-form input, .intake-quick-form input {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 14%);
  color: #f7f0e7;
}
.smart-capture-form input::placeholder { color: rgb(247 240 231 / 45%); }
.smart-capture-form input:focus { border-color: var(--red-bright); box-shadow: 0 0 0 4px rgb(208 80 69 / 18%); }
.smart-capture-fields { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.smart-capture-fields .tag, .smart-capture-fields .badge {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 12%);
  color: rgb(247 240 231 / 80%);
}
.smart-capture-review, .smart-capture-success { margin-top: 12px; }
.search-form { display: flex; gap: 10px; align-items: end; }
.search-scope-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.search-result-group { margin-top: 14px; }
.search-result-summary, .search-result-copy { color: var(--muted); font-size: .82rem; }
.result-heading {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--muted);
  margin: 14px 0 8px;
  text-transform: uppercase;
}

/* ———————————————————————————————— 24. ÇEŞİTLİ MODÜLLER ———————————————————————————————— */
.approval-hero, .approval-detail-hero { padding: clamp(18px, 3vw, 30px); }
.approval-scope-tabs { display: flex; gap: 6px; }
.approval-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.approval-approvers, .approval-history, .approval-detail-section { display: grid; gap: 10px; }
.approval-detail-meta, .approval-resource { color: var(--muted); font-size: .84rem; }
.meeting-card {
  display: grid; gap: 8px;
  padding: 15px 17px;
  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(--muted); font-size: .8rem; }
.meeting-detail-grid { display: grid; gap: 14px; }
.meeting-participant-groups, .participant-list { display: grid; gap: 8px; }
.meeting-record-list, .meeting-record-section { display: grid; gap: 10px; }
.meeting-workspace-copy { color: var(--muted); }
.intake-card, .intake-detail-summary {
  display: grid; gap: 8px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.intake-summary { display: flex; gap: 14px; flex-wrap: wrap; }
.intake-followups { display: grid; gap: 8px; }
.intake-update-form { display: grid; gap: 10px; }
.intake-dashboard-list { display: grid; gap: 10px; }
.daily-plan { background: rgb(255 253 248 / 88%); border-radius: var(--radius-l); }
html[data-theme="gece"] .daily-plan { background: rgb(30 26 20 / 88%); }
.daily-plan-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.daily-plan-summary .warning { background: #fff4e6; }
html[data-theme="gece"] .daily-plan-summary .warning { background: rgb(165 113 42 / 20%); }
.daily-plan-pool { background: var(--surface-muted); border-radius: var(--radius-m); padding: 10px; }
html[data-theme="gece"] .daily-plan-pool { background: var(--surface-muted); }
.daily-plan-item.focus { background: #fffaf5; border-color: color-mix(in srgb, var(--red) 25%, transparent); }
html[data-theme="gece"] .daily-plan-item.focus { background: rgb(168 35 29 / 14%); }
.daily-plan-item.done { opacity: .65; }
.daily-calendar-strip, .daily-plan-timeline { display: grid; gap: 8px; }
.daily-time-editor { display: flex; gap: 8px; align-items: center; }
.operations-grid { display: grid; gap: 12px; }
.operations-signal {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.operations-signal-list { background: rgb(255 253 248 / 70%); border-radius: var(--radius-m); }
html[data-theme="gece"] .operations-signal-list { background: rgb(30 26 20 / 60%); }
.operations-signal-meta, .operations-signal-actions { color: var(--muted); font-size: .82rem; }
.operations-briefing-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.project-card {
  display: grid; gap: 8px;
  padding: 16px 18px;
  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 { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.project-health { display: flex; align-items: center; gap: 8px; }
.project-stage { background: rgb(237 231 221 / 48%); border-radius: var(--radius-m); padding: 10px; }
html[data-theme="gece"] .project-stage { background: rgb(41 35 27 / 55%); }
.project-signal-row { display: flex; gap: 8px; flex-wrap: wrap; }
.project-control-tower, .tower-panel-header { margin-bottom: 12px; }
.tower-meter { height: 8px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.tower-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.tower-load, .tower-risk-card { padding: 12px 14px; }
.tower-risk-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.pinned-brief { border-left: 3px solid var(--red); padding-left: 12px; }
.notification-highlight { border-left: 3px solid var(--red); padding-left: 12px; }
.notification-schedule, .notification-digest-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notification-digest-stamp { color: var(--muted); font-size: .78rem; }
.notification-preferences { display: grid; gap: 12px; }
.notification-preference-card { padding: 14px 16px; }
.integration-card, .provider-card {
  display: grid; gap: 8px;
  padding: 15px 17px;
}
.integration-form { display: grid; gap: 12px; }
.starter-panel { padding: 16px 18px; }
.starter-kit-card, .starter-kit-choice {
  display: grid; gap: 8px;
  padding: 15px 17px;
  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(--red); box-shadow: var(--shadow-1); }
.starter-summary, .starter-form-intro { color: var(--muted); font-size: .86rem; }
.starter-empty { color: var(--muted); text-align: center; padding: 20px; }
.quick-add-primary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.quick-add-primary {
  display: grid; gap: 6px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-align: left;
}
.quick-add-primary:hover { border-color: var(--red); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.quick-add-action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.contact-card {
  display: grid; gap: 6px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}
.directory-explainer { color: var(--muted); font-size: .86rem; }
.entity-page { display: grid; gap: 16px; }
.more-nav-group { display: grid; gap: 4px; }
.comment { padding: 10px 12px; border-radius: var(--radius-m); background: var(--surface-soft); }
.invite-badge { background: #edf3f0; color: #315348; border-radius: 999px; padding: 3px 10px; font-size: .72rem; font-weight: 650; }
html[data-theme="gece"] .invite-badge { background: rgb(59 97 86 / 30%); color: #93bdb0; }

/* ———————————————————————————————— 25. MOBİL NAV + DUYARLI ———————————————————————————————— */
.mobile-nav {
  position: fixed; z-index: 130;
  left: 12px; right: 12px; bottom: 12px;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgb(255 255 255 / 8%);
  box-shadow: 0 18px 44px rgb(15 10 5 / 34%);
}
.mobile-nav:has(.pz-mobile-theme) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mobile-nav button {
  display: grid; place-items: center;
  padding: 10px 4px;
  border-radius: 16px;
  color: rgb(242 237 228 / 62%);
  font-size: .74rem; font-weight: 600;
}
.mobile-nav button.active, .mobile-nav button[aria-current="page"] {
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .area-sidebar { display: none; }
  .main-content { margin-left: var(--shell-pad); max-width: none; }
}
@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .task-board { grid-template-columns: repeat(5, minmax(190px, 82vw)); }
  .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: 38vh; }
  .topbar { gap: 8px; padding-left: 12px; }
  .top-action span { display: none; }
  .top-action { padding: 9px 11px; }
  .top-action.primary span { display: inline; }
  .modal { width: calc(100vw - 20px); }
  .modal-content, .modal-header { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 860px) {
  .mobile-nav { display: grid; }
  .main-content { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================================
   UI 2.0.1 — yerleşim düzeltmeleri (agenda, görev filtreleri, görünüm anahtarı,
   odak fişleri, üst bar yoğunluğu)
   ========================================================================== */

/* agenda satırları: zaman + kaynak + içerik üçlü ızgara */
.agenda-list { margin: 0; padding: 0; list-style: none; }
.agenda-row {
  display: grid;
  grid-template-columns: 78px 55px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px;
  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(--red);
  font-family: var(--serif);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
html[data-theme="gece"] .agenda-row time { color: var(--red-bright); }
.agenda-source {
  color: var(--muted);
  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: .9rem; font-weight: 600; letter-spacing: -.005em; }
.agenda-row small {
  margin-top: 3px;
  color: var(--muted); font-size: .76rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 640px) {
  .agenda-row { grid-template-columns: 1fr; gap: 2px; min-height: 0; }
  .agenda-row time { font-size: .76rem; }
}

/* görev kontrol paneli: hızlı yakala tam genişlik, filtreler ızgara */
.task-control-panel, .contact-control-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, .7fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 15px 16px;
  margin-bottom: 18px;
}
.task-control-panel > .task-quick-capture,
.task-control-panel > .task-quick-copy,
.task-control-panel > .quick-task-form,
.task-control-panel > :not(.filter-field):not(.filter-clear) { grid-column: 1 / -1; }
.task-control-panel > .filter-field { grid-column: auto; }
@media (max-width: 1060px) {
  .task-control-panel, .contact-control-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .task-control-panel, .contact-control-panel { grid-template-columns: 1fr; }
}

/* görünüm anahtarı (Pano/Liste) */
.view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.view-switch button {
  min-width: 58px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: .78rem; font-weight: 700;
}
.view-switch button:hover { color: var(--ink); }
.view-switch button.active {
  color: #f6f2ea;
  background: var(--night);
}
.view-switch button.active:first-child { border-radius: 999px 0 0 999px; }
.view-switch button.active:last-child { border-radius: 0 999px 999px 0; }

/* odak fişleri: iç boşluk */
.task-focus-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.task-focus-chip strong {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}

/* üst bar: 1500px altında yoğunluk */
@media (max-width: 1500px) {
  .main-nav button { padding: 8px 10px; font-size: .82rem; }
  .pz-clock { padding: 7px 10px; font-size: .74rem; gap: 6px; }
  .topbar-actions { gap: 6px; }
  .top-action { padding: 8px 11px; }
}
@media (max-width: 1280px) {
  .pz-clock .pz-clock-date { display: none; }
}

/* ============================================================================
   UI 2.0.2 — dashboard-glance satırları + üst bar saat yoğunluğu
   ========================================================================== */
.dashboard-glance-list { display: grid; }
.dashboard-glance-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
  color: var(--ink);
}
.dashboard-glance-row:hover { background: var(--surface-soft); }
.dashboard-glance-row > span:last-child { display: grid; gap: 2px; min-width: 0; }
.dashboard-glance-row strong { display: block; font-size: .9rem; font-weight: 600; letter-spacing: -.005em; }
.dashboard-glance-row small { display: block; color: var(--muted); font-size: .77rem; }
.dashboard-glance-icon { color: var(--red); font-size: .55rem; flex: 0 0 auto; }
html[data-theme="gece"] .dashboard-glance-icon { color: var(--red-bright); }

@media (max-width: 1500px) {
  .pz-clock .pz-clock-date { display: none; }
}

/* ============================================================================
   UI 2.0.3 — takvim ızgara sistemi (calendar-weekdays, calendar-grid, strip)
   ========================================================================== */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays span {
  padding: 10px 6px;
  color: var(--muted);
  font-size: .68rem; 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: 6px;
}
.calendar-grid .calendar-day {
  min-height: 84px;
  align-items: start;
  justify-items: start;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  aspect-ratio: auto;
}
.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); }
@media (max-width: 760px) {
  .calendar-grid .calendar-day { min-height: 58px; padding: 5px; }
}

.daily-calendar-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-m);
  background: var(--night);
}
.daily-calendar-strip button {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 9px;
  color: #f2ede4;
  background: rgb(255 255 255 / 4%);
  text-align: left;
}
.daily-calendar-strip button:hover { background: rgb(255 255 255 / 9%); }

/* ============================================================================
   UI 2.0.4 — tablist evrensel kuralları, setup-step ızgara, dosya son-kullanılan
   ========================================================================== */

/* tüm tablist'ler (team-tabs, approval-scope-tabs, yönetim sekme çubuğu) */
[role="tablist"] {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
}
[role="tablist"] button {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .85rem; font-weight: 600;
  white-space: nowrap;
}
[role="tablist"] button:hover { color: var(--red); background: color-mix(in srgb, var(--red) 6%, transparent); }
[role="tablist"] button.active,
[role="tablist"] button[aria-selected="true"],
[role="tablist"] button[aria-pressed="true"] {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 28%, transparent);
}
html[data-theme="gece"] [role="tablist"] button:hover { color: var(--red-bright); }
html[data-theme="gece"] [role="tablist"] button.active,
html[data-theme="gece"] [role="tablist"] button[aria-selected="true"],
html[data-theme="gece"] [role="tablist"] button[aria-pressed="true"] { color: var(--red-bright); }

/* setup-step: numara + içerik ızgara */
.setup-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  align-items: start;
}
.setup-step-number {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  min-width: 30px; height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700; font-size: .78rem;
}
.setup-step strong { display: block; font-size: .95rem; }
.setup-step p { grid-column: 2; margin: 0; color: var(--muted); font-size: .84rem; }

/* dosya: son kullanılanlar şeridi */
.file-recent { display: block; padding: 10px 12px 4px; }
.file-recent > .result-heading { display: inline-block; margin: 0 0 4px; }
.file-recent > span, .file-recent > small { float: right; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.file-recent-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 175px);
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 12px;
}
.file-recent-item {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-align: left;
}
.file-recent-item:hover { box-shadow: var(--shadow-1); transform: translateY(-1px); }

/* ============================================================================
   UI 2.0.5 — setup numarası hap biçimi, dosya filtre ızgarası, son-kullanılan başlığı
   ========================================================================== */
.setup-step-number {
  min-width: 0;
  width: auto; height: auto;
  padding: 4px 11px;
  font-size: .72rem;
  border-radius: 999px;
}
.setup-step.done .setup-step-number { background: #eaf2ee; color: #315348; border-color: transparent; }
html[data-theme="gece"] .setup-step.done .setup-step-number { background: rgb(59 97 86 / 35%); color: #93bdb0; }

/* dosya filtre paneli */
.file-control-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
  gap: 12px;
  padding: 14px 16px;
}
.file-control-panel > .filter-search,
.file-control-panel > :first-child { grid-column: 1 / -1; }

/* son kullanılanlar başlık sayacı */
.file-recent > .result-heading { display: inline; }
.file-recent > .result-heading + * { margin-left: 8px; }
