/* @WRK Panel — css/panel.css (v1.5.0: index.html içindeki üç <style> bloğu aynı sırayla). */
/* ==============================================================
   ES İşletim Merkezi — Tasarım değişkenleri ve bileşenler (v0.4)
   Yerleşim: sol menü yok; üstte selamlama + arama + bildirim + profil +
   "Yeni" düğmesi, altında ince bölüm menüsü; tam genişlikte kart ızgarası.
   Varsayılan koyu antrasit tema; isteğe bağlı açık tema (üstteki güneş).
   ============================================================== */
/* v1.1 — "Espresso ve pirinç": koyu kahve zemin, pirinç vurgu, Fraunces başlıklar.
   Altı işin ortak dili kahve ve defter: sıcak koyu zemin, sakin satırlar, tek vurgu rengi. */
:root {
  --bg: #17130f;
  --panel: #1f1a15;
  --surface: #26201a;
  --surface-2: #30281f;
  --line: #342c24;
  --line-strong: #4a3f33;
  --text: #f3ebdf;
  --text-2: #cbbfae;
  --muted: #9d8f7d;

  --brass: #d8b26a;
  --brass-soft: rgba(216,178,106,.14);
  --blue: #8db6e6;
  --green: #93c9a3;
  --amber: #eba35a;
  --red: #ee716b;
  --purple: #b9a2e8;

  --blue-soft: rgba(141,182,230,.13);
  --green-soft: rgba(147,201,163,.13);
  --amber-soft: rgba(235,163,90,.14);
  --red-soft: rgba(238,113,107,.14);
  --purple-soft: rgba(185,162,232,.14);

  --shadow: none;
  --header-bg: rgba(23,19,15,.9);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --fs-xs: .78rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.25rem;
  --fs-2xl: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --radius: 14px;
  --gutter: 28px;
  --maxw: 1240px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f2ed; --panel: #ffffff; --surface: #fbf9f6; --surface-2: #efe9e1;
  --line: #e4ddd2; --line-strong: #cfc4b4;
  --text: #221b14; --text-2: #4e4438; --muted: #77695a;
  --brass: #8f6a22; --brass-soft: rgba(143,106,34,.10);
  --blue: #2c63b5; --green: #2d7d4b; --amber: #a55d12; --red: #c23a33; --purple: #6a4fc0;
  --blue-soft: rgba(44,99,181,.09); --green-soft: rgba(45,125,75,.10); --amber-soft: rgba(165,93,18,.10);
  --red-soft: rgba(194,58,51,.09); --purple-soft: rgba(106,79,192,.09);
  --shadow: none;
  --header-bg: rgba(245,242,237,.92);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* ---------- Üst bölüm ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--header-bg); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.hrow { display: flex; align-items: center; gap: 18px; padding-block: 14px 8px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--text); }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; background: linear-gradient(140deg, #2a3442, #161b22); color: #fff; border: 1px solid #39424f; }
.brand b { font-family: var(--font-display); font-size: 1rem; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }

.search { position: relative; flex: 1; max-width: 560px; margin-left: auto; }
.search input { width: 100%; height: 42px; padding: 0 56px 0 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search > svg.i { position: absolute; left: 13px; top: 12px; color: var(--muted); }
.search kbd { position: absolute; right: 10px; top: 11px; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; }
.pop { position: absolute; top: calc(100% + 8px); z-index: 50; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.35); padding: 6px; min-width: 280px; max-width: calc(100vw - 32px); }
.search .pop { left: 0; right: 0; max-height: 62vh; overflow-y: auto; }
.pop h4 { margin: 0; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px 4px; }
.pop .row { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--text); font-size: var(--fs-sm); }
.pop .row:hover, .pop .row:focus-visible { background: var(--surface-2); }
.pop .row .meta { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; padding-left: 8px; }
.pop .row small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.pop .row .dotc { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pop .empty { padding: 12px 10px; color: var(--muted); font-size: var(--fs-sm); }
.pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
mark { background: var(--blue-soft); color: var(--text); border-radius: 2px; }

.actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface); border-color: var(--line); color: var(--text); }
.icon-btn .badge { position: absolute; top: 5px; right: 5px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--red); color: #fff; font-size: .62rem; font-weight: 600; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--bg); }
.profile { display: flex; align-items: center; gap: 10px; background: none; border: 1px solid transparent; border-radius: 10px; padding: 4px 8px 4px 4px; cursor: pointer; color: var(--text); }
.profile:hover { background: var(--surface); border-color: var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; background: linear-gradient(140deg, #ecdccd, #cdb29a); color: #3a2a1d; flex: none; }
.profile .nm { font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; }
.split { display: inline-flex; border-radius: 10px; overflow: hidden; margin-left: 4px; }
.split button { height: 40px; border: 0; background: var(--text); color: var(--bg); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); }
.split .main-b { padding: 0 14px 0 12px; }
.split .more-b { padding: 0 9px; border-left: 1px solid rgba(127,127,127,.35); }
.split button:hover { filter: brightness(.93); }
.anchor { position: relative; }
.anchor > .pop { right: 0; }

.subnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 8px 12px 10px; color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; border-bottom: 2px solid transparent; display: inline-flex; gap: 7px; align-items: center; }
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--blue); }
.subnav a svg.i { width: 16px; height: 16px; }

.content { padding-block: 24px 56px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ---------- Ortak ---------- */
.hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.hello h1 { font-size: var(--fs-2xl); }
.hello .sub { color: var(--text-2); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.hello .sub .sep { width: 24px; height: 1px; background: var(--line-strong); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; box-shadow: var(--shadow); }
.ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 28px; flex-wrap: wrap; }
.ph h2 { font-size: var(--fs-lg); }
.ph .more { margin-left: auto; font-size: var(--fs-sm); background: none; border: 0; color: var(--blue); cursor: pointer; padding: 4px; display: inline-flex; gap: 4px; align-items: center; }
.ph .more:hover { text-decoration: underline; }
.ph .sub { width: 100%; color: var(--muted); font-size: var(--fs-sm); margin-top: -6px; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); white-space: nowrap; border: 1px solid transparent; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.purple { background: var(--purple-soft); color: var(--purple); }
.tag.verify { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); }

.btn { height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); font-weight: 500; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--text); color: var(--bg); border-color: transparent; }
.btn.primary:hover { filter: brightness(.93); }
.chip { height: 32px; padding: 0 12px; border-radius: 8px; background: transparent; border: 1px solid var(--line); color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.chip .c { color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
select.chip { padding-right: 28px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px; background-size: 5px 5px; background-repeat: no-repeat; background-color: transparent; }
select.chip option { background: var(--panel); color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; align-items: center; }

/* ---------- Canlı pilot ---------- */
.live-badge { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px; border-radius: 4px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; font-weight: 500; color: var(--green); border: 1px solid rgba(63,196,137,.5); background: var(--green-soft); white-space: nowrap; }
.live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63,196,137,.25); }
.panel.live { border-color: rgba(63,196,137,.35); }
.panel.live.off { border-color: var(--line); border-style: dashed; box-shadow: none; }
.lstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.lstat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lstat .l { font-size: var(--fs-sm); color: var(--text-2); }
.lstat .l .c { color: var(--muted); font-size: var(--fs-xs); margin-left: 4px; }
.lstat .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lstat .tag b { font-weight: 600; margin-left: 2px; }
.lstat .big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.lhealth { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: var(--fs-sm); color: var(--text-2); }
.lhealth svg.i { color: var(--green); margin-top: 1px; }
.err-note { color: var(--amber); font-size: var(--fs-sm); }

/* ---------- Proje kartları ---------- */

/* Görsel alan — gerçek logo/fotoğraf gelince <img> ile değişir */
.wm { --h: 212; position: relative; height: 104px; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 15% 0%, hsl(var(--h) 55% 30% / .95), transparent 55%), radial-gradient(90% 90% at 100% 100%, hsl(var(--h) 45% 18%), transparent 60%), linear-gradient(160deg, hsl(var(--h) 22% 14%), hsl(var(--h) 20% 8%)); }
.wm::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; }
.wm.p-grid::before { background-image: linear-gradient(hsl(var(--h) 40% 70% / .10) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--h) 40% 70% / .10) 1px, transparent 1px); background-size: 16px 16px; }
.wm.p-beans::before { background-image: radial-gradient(hsl(var(--h) 60% 65% / .24) 2px, transparent 2.6px); background-size: 14px 14px; }
.wm.p-bars::before { background: repeating-linear-gradient(90deg, hsl(var(--h) 40% 70% / .12) 0 3px, transparent 3px 18px); -webkit-mask: linear-gradient(transparent 25%, #000); mask: linear-gradient(transparent 25%, #000); }
.wm.p-waves::before { background: repeating-radial-gradient(circle at 80% 130%, hsl(var(--h) 50% 70% / .13) 0 1px, transparent 1px 12px); }
.wm img { max-height: 60px; max-width: 70%; }
.wm .w { display: flex; flex-direction: column; align-items: center; line-height: 1; color: #f6f7f9; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.wm .w b { font-family: var(--font-display); font-weight: 700; }
.wm .w small { font-size: .56rem; letter-spacing: .32em; margin-top: 6px; color: hsl(var(--h) 40% 86%); }
.wm.block .w b { font-size: 2.2rem; letter-spacing: .02em; }
.wm.vibe .w b { font-size: 2.3rem; letter-spacing: .14em; font-weight: 600; }
.wm.lower .w { flex-direction: row; align-items: baseline; }
.wm.lower .w b { font-size: 1.25rem; letter-spacing: -.02em; }
.wm.lower .w small { font-size: .85rem; letter-spacing: 0; margin: 0; color: hsl(var(--h) 60% 66%); font-weight: 600; }
.wm.gray { background: repeating-linear-gradient(-45deg, #1b1f25 0 12px, #171a1f 12px 24px); }
.wm.gray .w { color: #9aa2ad; }
.wm-tag { position: absolute; top: 8px; right: 8px; font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); background: rgba(0,0,0,.38); padding: 2px 6px; border-radius: 4px; }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpi { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-width: 0; text-align: left; cursor: pointer; box-shadow: var(--shadow); color: var(--text); }
.kpi:hover { border-color: var(--line-strong); }
.kpi .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.kpi .ic svg.i { width: 22px; height: 22px; stroke-width: 2; }
.kpi .tx { min-width: 0; flex: 1; }
.kpi .l { font-size: var(--fs-sm); color: var(--text-2); display: block; line-height: 1.3; }
.kpi .v { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: var(--fs-xs); color: var(--muted); margin-left: 6px; font-family: var(--font-body); font-weight: 400; }
.kpi .spark { width: 76px; height: 30px; flex: none; }
.kpi .spark path { fill: none; stroke-width: 1.8; }
.kpi .spark circle { stroke: none; }
.kpi.blue .ic { background: var(--blue-soft); color: var(--blue); } .kpi.blue .spark path { stroke: var(--blue); } .kpi.blue .spark circle { fill: var(--blue); }
.kpi.green .ic { background: var(--green-soft); color: var(--green); } .kpi.green .spark path { stroke: var(--green); } .kpi.green .spark circle { fill: var(--green); }
.kpi.red .ic { background: var(--red-soft); color: var(--red); } .kpi.red .spark path { stroke: var(--red); } .kpi.red .spark circle { fill: var(--red); }
.kpi.amber .ic { background: var(--amber-soft); color: var(--amber); } .kpi.amber .spark path { stroke: var(--amber); } .kpi.amber .spark circle { fill: var(--amber); }
.kpi.purple .ic { background: var(--purple-soft); color: var(--purple); } .kpi.purple .spark path { stroke: var(--purple); } .kpi.purple .spark circle { fill: var(--purple); }

/* ---------- Izgaralar ---------- */
.g3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.g3e { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* ---------- Görevler ---------- */
.tlist { list-style: none; margin: 0; padding: 0; }
.trow { display: grid; grid-template-columns: 20px 10px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; }
.trow input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--green); cursor: pointer; }
.pr { width: 10px; height: 10px; border-radius: 50%; }
.pr.yuksek { background: var(--red); } .pr.orta { background: var(--amber); } .pr.dusuk { background: var(--green); }
.trow .tt { min-width: 0; }
.trow .tt b { font-weight: 500; font-size: var(--fs-sm); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .tt small { color: var(--muted); font-size: var(--fs-xs); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow.done .tt b { text-decoration: line-through; color: var(--muted); }
.trow.mine .tt b::after { content: "yeni"; margin-left: 6px; font-size: .62rem; color: var(--blue); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; vertical-align: 1px; }
.owner { font-size: var(--fs-xs); color: var(--text-2); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.due { font-size: var(--fs-sm); white-space: nowrap; text-align: right; color: var(--text-2); min-width: 56px; font-variant-numeric: tabular-nums; }
.due.late { color: var(--red); } .due.today { color: var(--amber); }
.empty-note { color: var(--muted); font-size: var(--fs-sm); padding: 10px 2px; }

/* ---------- Hafta takvimi ---------- */
.week-nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.week-nav .icon-btn { width: 32px; height: 32px; border-color: var(--line); }
.week-scroll { overflow-x: auto; }
.week { --rows: 9; --rowh: 38px; display: grid; grid-template-columns: 46px repeat(7, minmax(56px, 1fr)); min-width: 460px; }
.week .dh { text-align: center; font-size: var(--fs-xs); color: var(--muted); padding: 4px 0 6px; border-radius: 8px; line-height: 1.25; }
.week .dh b { display: block; font-size: var(--fs-md); color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.week .dh.today { background: var(--blue-soft); }
.week .dh.today b { color: var(--blue); }
.week .adl { font-size: .62rem; color: var(--muted); padding-top: 4px; border-bottom: 1px solid var(--line); }
.week .adc { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3px 2px; display: flex; flex-direction: column; gap: 3px; min-height: 26px; }
.week .adc .ev { position: static; }
.week .hours { position: relative; height: calc(var(--rows) * var(--rowh)); }
.week .hours span { position: absolute; right: 8px; font-size: .68rem; color: var(--muted); transform: translateY(-7px); font-variant-numeric: tabular-nums; }
.week .col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% var(--rowh); height: calc(var(--rows) * var(--rowh)); }
.week .col.today { background-color: color-mix(in srgb, var(--blue) 6%, transparent); }
.week .now { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 2; }
.week .now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 6px; padding: 3px 6px; font-size: .7rem; line-height: 1.25; overflow: hidden; border: 0; border-left: 3px solid; cursor: pointer; text-align: left; color: var(--text); background: var(--surface-2); z-index: 1; }
.ev b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev small { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font-size: .64rem; }
.ev.teslim { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 20%, var(--panel)); }
.ev.toplanti { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 18%, var(--panel)); }
.ev.kampanya { border-color: var(--green); background: color-mix(in srgb, var(--green) 18%, var(--panel)); }
.ev.onemli { border-color: var(--red); background: color-mix(in srgb, var(--red) 17%, var(--panel)); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: var(--text-2); margin-top: 10px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; }

.agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ag { display: grid; grid-template-columns: 50px 4px minmax(0, 1fr); gap: 12px; align-items: center; }
.ag .date { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; text-align: center; padding: 5px 0; line-height: 1.1; }
.ag .date b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ag .date span { font-size: var(--fs-xs); color: var(--muted); }
.ag .bar { height: 32px; border-radius: 2px; }
.bar.teslim { background: var(--blue); } .bar.toplanti { background: var(--amber); } .bar.kampanya { background: var(--green); } .bar.onemli { background: var(--red); }
.ag .info b { font-weight: 500; display: block; font-size: var(--fs-sm); }
.ag .info small { color: var(--muted); font-size: var(--fs-xs); }

/* ---------- Proje durumu ---------- */
.pstat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pstat li button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(60px, 1fr) 40px; gap: 12px; align-items: center; cursor: pointer; background: none; border: 0; padding: 5px 4px; border-radius: 8px; text-align: left; color: var(--text); }
.pstat li button:hover { background: var(--surface); }
.pstat .mini { width: 40px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .6rem; color: #fff; letter-spacing: .03em; }
.pstat .nm b { font-weight: 500; font-size: var(--fs-sm); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstat .nm small { color: var(--muted); font-size: var(--fs-xs); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 4px; }
.pstat .pc { font-size: var(--fs-sm); text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- Kompakt listeler ---------- */
.clist { list-style: none; margin: 0; padding: 0; }
.citem { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.citem:first-child { border-top: 0; }
.ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.ico svg.i { width: 17px; height: 17px; }
.ico.rep { background: #3a5fd0; } .ico.sheet { background: #1f8f5a; } .ico.doc { background: #3a6fe0; } .ico.folder { background: #c98a1c; } .ico.pdf { background: #c94a3a; } .ico.dec { background: var(--surface-2); color: var(--text-2); } .ico.bot { background: #5a47b8; }
.citem .tx { min-width: 0; }
.citem .tx b { font-weight: 500; font-size: var(--fs-sm); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citem .tx small { display: block; color: var(--muted); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citem .tx p { color: var(--text-2); font-size: var(--fs-xs); margin-top: 2px; }
.citem .sm { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fake-link { color: var(--blue); font-size: var(--fs-xs); background: none; border: 0; padding: 0; cursor: pointer; }
.fake-link:hover { text-decoration: underline; }
.grp { font-size: var(--fs-md); margin: 16px 0 4px; display: flex; gap: 8px; align-items: baseline; }
.grp:first-of-type { margin-top: 0; }
.grp .c { color: var(--muted); font-size: var(--fs-xs); font-family: var(--font-body); }

/* ---------- Proje detay ---------- */
.crumb { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumb button { background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumb button:hover { color: var(--text); }
.hero { --h: 212; display: grid; grid-template-columns: 280px minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.hero .wm { height: 100%; min-height: 160px; }
.hero .wm .w b { font-size: 2.8rem; }
.hero .wm.lower .w b { font-size: 1.75rem; }
.hero .wm.lower .w small { font-size: 1.1rem; }
.hero .info { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; background: radial-gradient(80% 140% at 100% 0%, hsl(var(--h) 45% 30% / .28), transparent 60%); }
.hero h1 { font-size: var(--fs-2xl); }
.hero .full { color: var(--text-2); }
.hero .tags, .hero .hacts { display: flex; gap: 6px; flex-wrap: wrap; }
.hero .hacts { gap: 8px; margin-top: 2px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; color: var(--text-2); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--blue); }
.tabs .c { font-size: var(--fs-xs); color: var(--muted); }
.tabpanel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.metric { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; box-shadow: var(--shadow); }
.metric .tl { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.metric .lbl { color: var(--text-2); font-size: var(--fs-sm); }
.metric .val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.metric .val.none { color: var(--muted); font-size: 1.05rem; font-family: var(--font-body); font-weight: 400; }
.metric .unit { color: var(--muted); font-size: var(--fs-xs); }
.metric .src { margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.chart svg:not(.i) { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .bar { fill: var(--blue); } .chart .bar.last { fill: var(--purple); } .chart .val { fill: var(--text-2); }
.src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.src-list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); flex-wrap: wrap; }
.src-list .k { font-family: var(--font-mono); font-size: .7rem; color: var(--text-2); background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.verify-box { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 18px 20px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.verify-box h3 { font-size: var(--fs-lg); }
.verify-box ul { margin: 0; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.settings-row:first-of-type { border-top: 0; }
.settings-row small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.switch { width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; cursor: not-allowed; opacity: .75; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); }
.switch.on { background: var(--green-soft); border-color: rgba(63,196,137,.5); }
.switch.on::after { left: 20px; background: var(--green); }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 70; background: rgba(5,7,10,.6); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { width: min(560px, 100%); max-height: 100%; overflow-y: auto; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.modal header { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.modal header h2 { font-size: var(--fs-lg); }
.modal header .icon-btn { margin-left: auto; width: 34px; height: 34px; }
.modal form { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); color: var(--text-2); }
.field input, .field select, .field textarea { height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); width: 100%; }
.field textarea { height: 76px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field .err { color: var(--red); font-size: var(--fs-xs); min-height: 1em; }
.modal .foot { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.modal .foot .note { margin-right: auto; color: var(--muted); font-size: var(--fs-xs); }

.toast { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: var(--fs-sm); box-shadow: 0 10px 24px rgba(0,0,0,.35); max-width: calc(100vw - 32px); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g3 > .wk { grid-column: 1 / -1; grid-row: 1; }
  .g3e { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile .nm { display: none; }
}
@media (max-width: 960px) {
  :root { --gutter: 16px; }
  .hrow { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .actions { margin-left: auto; }
  .g2, .g3, .g3e { grid-template-columns: minmax(0, 1fr); }
  .g3 > .wk { grid-column: auto; grid-row: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .wm { min-height: 110px; }
  .search kbd { display: none; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px; gap: 10px; }
  .kpi .ic { width: 38px; height: 38px; }
  .kpi .spark { display: none; }
  .kpi .v { font-size: 1.5rem; }
  .wm.block .w b, .wm.vibe .w b { font-size: 1.7rem; }
  .wm.lower .w b { font-size: .95rem; }
  .brand small, .brand b { display: none; }
  .split .main-b span { display: none; }
  .split .main-b { padding: 0 11px; }
  .icon-btn { width: 38px; height: 38px; }
  .trow { grid-template-columns: 20px 10px minmax(0, 1fr) auto; }
  .trow .owner { display: none; }
  .modal form { grid-template-columns: 1fr; }
  .pstat li button { grid-template-columns: 36px minmax(0, 1fr) 54px 36px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* v0.7 — Notion canlı panelleri */
.citem .tx ul.aks { margin: 6px 0 0; padding-left: 18px; font-size: var(--fs-xs); color: var(--muted); }
.citem .tx ul.aks li { margin: 2px 0; }
.lstat .l .fake-link { font: inherit; color: inherit; }

/* ===== v1.0: kapsam şeridi, tablolar, onay penceresi ===== */
.scope-strip { font-size: var(--fs-xs); color: var(--text-2); padding-block: 7px; background: var(--green-soft, rgba(22,147,91,.1)); border-bottom: 1px solid var(--line); }
.scope-strip .wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.scope-strip b { color: var(--green); }
.scope-strip > .wrap > b:first-child { letter-spacing: .08em; font-family: var(--font-mono); }
.panel.off { border-style: dashed; }
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.tbl th { text-align: left; font-weight: 500; color: var(--text-2); font-size: var(--fs-xs); background: var(--surface); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 3px; }
.tbl td .tag { white-space: nowrap; }
.confirm { padding: 16px 18px 18px; }
.confirm dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0 0 14px; font-size: var(--fs-sm); }
.confirm dt { color: var(--muted); }
.confirm dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.confirm dd small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .66rem; }
.confirm .foot { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.confirm .foot .note { margin-right: auto; color: var(--muted); font-size: var(--fs-xs); }
.confirm > .src-list { margin: 10px 0 14px; }
.kv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.kv li span { display: inline-block; min-width: 110px; color: var(--muted); }
.citem select.chip { height: 30px; }
.citem .src { font-family: var(--font-mono); font-size: .66rem; }
.btn[disabled], .chip[disabled], .pop .row[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .confirm dl { grid-template-columns: 1fr; gap: 2px; } .confirm dt { margin-top: 8px; } .kv li span { min-width: 0; display: block; } }

/* ===== v1.1 tasarım katmanı ===== */
h1, h2, h3 { font-weight: 500; letter-spacing: -.005em; font-variation-settings: "opsz" 72; }
a, .fake-link, .ph .more { color: var(--brass); }
:focus-visible { outline-color: var(--brass); }
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
mark { background: var(--brass-soft); }
.pop h4 { text-transform: none; letter-spacing: 0; font-size: var(--fs-xs); }

/* üst bölüm: tek satır */
.hrow { padding-block: 12px; gap: 14px; }
.brand .mark { background: var(--brass); color: #2a1f12; border: 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; border-radius: 50%; }
.brand b { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; }
.brand small { text-transform: none; letter-spacing: 0; font-size: .72rem; }
.search { max-width: 420px; }
.search input { border-radius: 999px; background: var(--surface); }
.split { border-radius: 999px; }
.split button { background: var(--brass); color: #2a1f12; }
.subnav { overflow: visible; gap: 4px; padding-bottom: 10px; flex-wrap: wrap; }
.subnav a, .subnav .navmore { padding: 7px 14px; border-radius: 999px; border: 1px solid transparent; color: var(--text-2); font-size: var(--fs-sm); display: inline-flex; gap: 7px; align-items: center; background: none; cursor: pointer; white-space: nowrap; }
.subnav a:hover, .subnav .navmore:hover { color: var(--text); background: var(--surface); }
.subnav a[aria-current="page"], .subnav .navmore.cur { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.subnav .navmore svg.i:last-child { width: 14px; height: 14px; }
.nav-more .pop { left: 0; right: auto; min-width: 220px; }
.nav-more .pop .row { display: flex; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: var(--fs-sm); }
.nav-more .pop .row:hover { background: var(--surface-2); }
.nav-more .pop .row[aria-current="page"] { background: var(--brass-soft); color: var(--brass); }

.scope-strip { background: none; border-bottom: 1px solid var(--line); color: var(--muted); }
.scope-strip .wrap { gap: 10px; flex-wrap: nowrap; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 3px var(--green-soft); }

.content { padding-block: 36px 72px; gap: 28px; }
.panel { border-radius: var(--radius); padding: 20px 22px; }
.panel.live { border-color: var(--line); }
.ph h2 { font-size: 1.3rem; }
.tag { border-radius: 999px; }
.live-badge { font-family: var(--font-body); letter-spacing: 0; font-size: .7rem; border-radius: 999px; color: var(--green); border-color: transparent; }
.btn { border-radius: 999px; padding: 0 16px; height: 38px; }
.btn.primary { background: var(--brass); color: #2a1f12; }
.hello h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }

/* ana sayfa */
.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.home-head h1 { font-size: var(--fs-2xl); font-weight: 400; line-height: 1.05; font-variation-settings: "opsz" 144; }
.home-head .date { color: var(--muted); margin-top: 8px; }
.hacts { display: flex; gap: 8px; flex-wrap: wrap; }

.dotc { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dotc.red { background: var(--red); } .dotc.amber { background: var(--amber); } .dotc.blue { background: var(--blue); }


.sys { list-style: none; margin: 0; padding: 0; }
.sys li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.sys li:first-child { border-top: 0; }
.ico-s { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.ico-s svg.i { width: 16px; height: 16px; }
.ico-s.green { background: var(--green-soft); color: var(--green); }
.ico-s.amber { background: var(--amber-soft); color: var(--amber); }
.ico-s.red { background: var(--red-soft); color: var(--red); }


.link-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* proje sayfası başlığı: daha alçak, sakin */
.hero .wm { height: 96px; }
.wm-tag { text-transform: none; letter-spacing: 0; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .content { padding-block: 24px 56px; gap: 22px; }
  .scope-strip .wrap { align-items: flex-start; }
  .scope-strip .pulse-dot { margin-top: 5px; }
}

/* ===== v1.2 proje sütunları + logo yeri ===== */
.wm.has-logo { background: #fff; }
.wm.has-logo img { max-height: 64px; max-width: 75%; object-fit: contain; }

/* ===== v1.3 sade ve şık: arduvaz zemin, yumuşak mavi vurgu, tek yazı ailesi ===== */
:root {
  --bg: #161b22; --panel: #1d232c; --surface: #222934; --surface-2: #2a3240;
  --line: #2b3340; --line-strong: #3a4352;
  --text: #eef1f5; --text-2: #bcc4cf; --muted: #8b95a4;
  --brass: #8fb6ff; --brass-soft: rgba(143,182,255,.14);
  --blue: #8fb6ff; --green: #7fd1a8; --amber: #f2b766; --red: #f4807a;
  --blue-soft: rgba(143,182,255,.13); --green-soft: rgba(127,209,168,.13); --amber-soft: rgba(242,183,102,.14); --red-soft: rgba(244,128,122,.14);
  --header-bg: rgba(22,27,34,.92);
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  --maxw: 1200px;
}
:root[data-theme="light"] {
  --bg: #f4f6f9; --panel: #ffffff; --surface: #ffffff; --surface-2: #eef1f5;
  --line: #e3e7ed; --line-strong: #cfd5de;
  --text: #19202a; --text-2: #46505e; --muted: #6b7584;
  --brass: #2f63c9; --brass-soft: rgba(47,99,201,.09);
  --header-bg: rgba(244,246,249,.92);
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; font-variation-settings: normal; }
.brand .mark { background: var(--brass); color: #0f1a2e; font-family: var(--font-body); font-weight: 700; font-size: .85rem; border-radius: 10px; }
.brand b { font-weight: 700; font-size: 1rem; }
.split button, .btn.primary { background: var(--brass); color: #0f1a2e; }
.profile .nm { display: none; }
.home-head h1 { font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -.03em; }
.ph h2 { font-size: 1.1rem; }
.kvlist { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; margin: 0 0 18px; font-size: var(--fs-sm); }
.kvlist dt { color: var(--muted); } .kvlist dd { margin: 0; }
.danger-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.danger-row p { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; max-width: 60ch; }
.nav-more .pop { left: auto; right: 0; }

/* ===== v1.6 finans grafikleri (renkler dataviz doğrulayıcısından geçti) ===== */
:root { --viz-1: #3987e5; --viz-2: #d95926; --viz-3: #199e70; --viz-4: #c98500; --viz-other: #6b7584; --viz-neg: #e66767; }
:root[data-theme="light"] { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-3: #1baf7a; --viz-4: #eda100; --viz-other: #9aa3af; --viz-neg: #e34948; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi .l { font-size: var(--fs-xs); color: var(--muted); }
.kpi b { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.kpi small { font-size: var(--fs-xs); color: var(--text-2); }
.kpi.warn { border-color: rgba(242,183,102,.45); } .kpi.bad { border-color: rgba(244,128,122,.5); } .kpi.good { border-color: rgba(127,209,168,.45); }
.fin2 { align-items: start; }
h3.ch { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); margin: 0 0 8px; letter-spacing: 0; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart line.grid { stroke: var(--line); stroke-width: 1; }
svg.chart line.base { stroke: var(--line-strong); stroke-width: 1; }
svg.chart text { font-family: var(--font-body); fill: var(--muted); }
svg.chart text.ax { font-size: 11px; } svg.chart text.cx { font-size: 12px; fill: var(--text-2); } svg.chart text.cn { font-size: 10px; fill: var(--amber); } svg.chart text.tv { font-size: 11px; fill: var(--text-2); }
svg.chart rect:hover { opacity: .85; }
.lg { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-2); margin-bottom: 6px; }
.lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hbars li { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.hbars .hl { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars .track { height: 10px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.hbars .track i { display: block; height: 100%; background: var(--viz-1); border-radius: 4px; }
.hbars .hv { color: var(--text-2); font-size: var(--fs-xs); white-space: nowrap; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.onay-btns { display: inline-flex; gap: 6px; }
.onay-btns .chip { height: 30px; padding: 0 12px; }
.onay-btns .chip.ok { background: var(--green-soft); color: var(--green); border-color: transparent; }

/* v2.1 — gerçek logolar: açık zemin (koyu logolar koyu temada görünsün) */

/* v2.2 — aylık takvim */
.k-cal { --k: #5b8def; } .k-task { --k: #2fb380; } .k-pay { --k: #e0a030; }
.kdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--muted)); flex: none; }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-title { margin: 0 6px; font-size: 1.35rem; min-width: 9.5ch; text-align: center; }
.icon-only { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; }
.flipx { display: inline-grid; transform: scaleX(-1); }
.cal-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-filters .chip { display: inline-flex; align-items: center; gap: 7px; }
.cal-filters .chip[aria-pressed="false"] { opacity: .45; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.cal-wd { background: var(--surface, var(--panel)); color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 8px 0; }
.cal-day { all: unset; box-sizing: border-box; background: var(--panel); min-height: 104px; padding: 6px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; }
.cal-day:hover { background: var(--surface, var(--panel)); }
.cal-day:focus-visible { outline: 2px solid var(--brass, #8fb6ff); outline-offset: -2px; }
.cal-day.we { background: color-mix(in srgb, var(--panel) 92%, var(--text) 3%); }
.cal-day.out { opacity: .42; }
.cal-day .dn { font-size: .82rem; font-weight: 600; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.cal-day.today .dn { background: var(--brass, #8fb6ff); color: #10151d; }
.cal-day.sel { box-shadow: inset 0 0 0 2px var(--brass, #8fb6ff); }
.cal-day .chips { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-chip { display: block; font-size: .72rem; line-height: 1.3; padding: 2px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); background: color-mix(in srgb, var(--k) 22%, transparent); border-left: 3px solid var(--k); }
.cal-chip i { font-style: normal; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cal-chip.late { --k: #e66767; }
.cal-more { font-size: .7rem; color: var(--muted); padding-left: 4px; }
.cal-day .dots { display: none; gap: 3px; justify-content: center; }
.cal-side { position: sticky; top: 140px; margin: 0; }
.cal-side .ph h2 { font-size: 1.1rem; }
.cal-it .kdot { margin: 7px 4px 0 2px; }
.cal-it { align-items: flex-start; }
@media (max-width: 1000px) { .cal-wrap { grid-template-columns: 1fr; } .cal-side { position: static; } }
@media (max-width: 640px) {
  .cal-day { min-height: 54px; padding: 4px 2px; align-items: center; }
  .cal-day .chips { display: none; }
  .cal-day .dots { display: flex; }
  .cal-day .dots .kdot { width: 6px; height: 6px; }
  .cal-title { font-size: 1.1rem; }
  .cal-wd { font-size: .64rem; letter-spacing: 0; }
}

/* v2.3 — rapor okuyucu */
.cnt { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--surface-2, rgba(255,255,255,.08)); font-size: .72rem; font-weight: 600; text-align: center; }
.rwrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 12px; }
.rcol { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-height: 76vh; overflow-y: auto; }
.rlist { list-style: none; margin: 0; padding: 0; }
.rlist li + li { border-top: 1px solid var(--line); }
.ritem { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 14px; cursor: pointer; }
.ritem:hover { background: var(--surface, rgba(255,255,255,.03)); }
.ritem.on { background: var(--brass-soft, rgba(143,182,255,.14)); box-shadow: inset 3px 0 0 var(--brass, #8fb6ff); }
.ritem:focus-visible { outline: 2px solid var(--brass, #8fb6ff); outline-offset: -2px; }
.rdot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: transparent; }
.ritem.unread .rdot { background: var(--brass, #8fb6ff); }
.rmain { display: flex; flex-direction: column; min-width: 0; }
.rmain b { font-size: .92rem; }
.ritem:not(.unread) .rmain b { font-weight: 500; color: var(--text-2); }
.rmain small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rside { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rside small { color: var(--muted); font-variant-numeric: tabular-nums; }
.tag.sm { font-size: .66rem; padding: 1px 7px; }
.rdetail { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--panel); }
.rhead { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rhead h3 { margin: 2px 0 8px; font-size: 1.25rem; line-height: 1.3; }
.rmeta { margin: 0; color: var(--muted); font-size: .8rem; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { font-size: .74rem; padding: 2px 9px; border-radius: 999px; background: hsl(var(--h) 40% 50% / .16); color: hsl(var(--h) 70% 78%); border: 1px solid hsl(var(--h) 40% 55% / .35); }
:root[data-theme="light"] .pchip { color: hsl(var(--h) 55% 32%); }
.ract-top { display: flex; align-items: center; gap: 12px; }
.rsec { margin-top: 18px; }
.rsec h4 { margin: 0 0 10px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rsum { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.55; }
.rsum li::marker { color: var(--brass, #8fb6ff); }
.racts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ract { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, transparent); }
.ract.urgent { border-color: color-mix(in srgb, var(--red, #f4807a) 55%, var(--line)); }
.ract .rk { color: var(--brass, #8fb6ff); padding-top: 1px; }
.ract .rk svg { width: 18px; height: 18px; }
.ract .rt { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.ract .rt small { color: var(--muted); font-size: .72rem; }
.rdue { font-size: .74rem; white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: var(--surface-2, rgba(255,255,255,.07)); color: var(--text-2); align-self: center; }
.rdue.red { background: color-mix(in srgb, var(--red, #f4807a) 20%, transparent); color: var(--red, #f4807a); }
@media (max-width: 900px) { .rwrap { grid-template-columns: 1fr; } .rcol { max-height: 360px; } }
@media (max-width: 640px) { .rdetail { padding: 16px; } .ract { grid-template-columns: 20px minmax(0, 1fr); } }
.rinfo { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--brass-soft, rgba(143,182,255,.12)); color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.rinfo svg { flex: none; color: var(--brass, #8fb6ff); margin-top: 2px; }
.rinfo b { color: var(--text); }
.rhint { margin: -4px 0 10px; color: var(--muted); font-size: .8rem; }
.rright { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rright .chip { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rright .chip svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .rright { grid-column: 2; justify-content: flex-start; } }
/* v2.3.1 — öneri kartı: tarih ve düğme metnin altında, metin hep tam genişlik */
.ract { grid-template-columns: 22px minmax(0, 1fr); }
.ract .rright { grid-column: 2; justify-content: flex-start; margin-top: 4px; }
.rdue { max-width: 100%; white-space: normal; }




.rkpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }
.rk-s { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.rk-s b { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; } .rk-s span { font-size: var(--fs-xs); color: var(--muted); }
.rk-s.red b { color: var(--red); } .rk-s.amber b { color: var(--amber); }
.rsum-c { list-style: none; padding-left: 0; } .rsum-c li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; }
.rmap, .rweek { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.rweek { margin: 4px 0 14px; }
.rmap-c { flex: none; max-width: 150px; padding: 10px 14px; border-radius: 999px; background: var(--brass-soft); color: var(--brass); font-weight: 600; font-size: var(--fs-sm); text-align: center; }
.rmap-b, .rweek-b { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; border-left: 2px solid var(--line-strong); padding-left: 14px; }
.rmap-n, .rweek-n { border: 1px solid var(--line); border-left: 4px solid hsl(var(--h) 45% 58%); border-radius: 10px; padding: 8px 10px; background: var(--surface); min-width: 0; }
.rmap-n b, .rweek-n b { display: block; font-size: var(--fs-sm); } .rmap-n ul { margin: 6px 0 0; padding-left: 16px; font-size: var(--fs-xs); color: var(--text-2); }
.rmap-n li { margin: 2px 0; } .rmap-n li small { color: var(--muted); }
.rweek-n small { display: block; color: var(--muted); font-size: var(--fs-xs); margin: 2px 0 6px; }
.rbar { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; } .rbar i { display: block; height: 100%; background: hsl(var(--h) 45% 58%); }
.t-red, li.t-red::marker { color: var(--red); } li.t-amber::marker { color: var(--amber); }
@media (max-width: 640px) { .rkpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rmap, .rweek { flex-direction: column; align-items: stretch; } .rmap-c { max-width: none; } .rmap-b, .rweek-b { border-left: 0; padding-left: 0; } }
.cref { display: inline; border-bottom: 1px dotted var(--line-strong); } .cref small { margin-left: 4px; font-family: var(--font-mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 3px; vertical-align: 1px; }
.citem .tx small.rref, .rref, .cref small { display: inline !important; } .rref { display: block !important; color: var(--muted); font-size: var(--fs-xs); margin-top: 3px; }
.cref.unk { font-family: var(--font-mono); font-size: .8em; color: var(--muted); border-bottom: 0; }
.how .ok-l { color: var(--green); font-weight: 600; } .how .no-l { color: var(--red); font-weight: 600; } .how .in-l { color: var(--muted); }
/* v2.8 — bekleyenlerde ne yapılacağı */
.tx .how { margin: 4px 0 0; font-size: .86rem; color: var(--text-2); }

/* v2.7 — İşin Rotası onayları */
.ir-box .irl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ir-box .irl > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.ir-box .irl .tx b { display: block; }
.ir-box .irl .tx small { color: var(--muted); }
.ir-box .irl .tx p { margin: 4px 0 0; color: var(--text-2); font-size: .9rem; }
.ir-box .irl .tx .lnk { margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.ir-box .ir-rep { border: 1px solid var(--line-strong); border-left: 3px solid var(--brass); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; background: var(--surface); }
.ir-box .ir-rep-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ir-box .ir-rep-h h3 { margin: 0 !important; color: var(--text); font-size: 1rem; }
.ir-box .ir-rep-h small { color: var(--muted); }
.ir-box .ir-rep-h .fake-link { margin-left: auto; }
.ir-box .ir-rep > p { margin: 8px 0 0; color: var(--text-2); font-size: .9rem; }
.ir-box .ir-rep h4 { margin: 10px 0 4px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.ir-box .ir-jobs { margin: 0; padding-left: 20px; font-size: .9rem; } .ir-box .ir-jobs li { margin: 3px 0; }
.ir-box .irb { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ir-box h3 { font-size: .9rem; margin: 14px 0 8px; color: var(--muted); font-weight: 600; }
.ir-box h3:first-of-type { margin-top: 4px; }
.ir-box .irdone { color: var(--muted); font-size: .9rem; margin: 0; padding-left: 18px; } .ir-box .irdone li { margin: 4px 0; } .ir-box .irdone .chip { height: 26px; padding: 0 10px; font-size: .78rem; margin-left: 6px; } .undo-h { font-size: .9rem; margin: 16px 0 6px; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
#ir-note, #ir-link { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface, transparent); color: var(--text); font: inherit; }
#ir-note { min-height: 60px; }
@media (max-width: 640px) { .ir-box .irl > li { grid-template-columns: 1fr; } .ir-box .irb { justify-content: flex-start; } }

/* v2.6 — karar sorusu: "Bu ne demek?" */
.dmore { margin-top: 6px; font-size: .84rem; }
.dmore > summary { cursor: pointer; color: var(--brass); width: max-content; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.dmore > summary::-webkit-details-marker { display: none; }
.dmore > summary::before { content: "▸"; font-size: .8em; transition: transform .15s; }
.dmore[open] > summary::before { transform: rotate(90deg); }
.dmore dl { margin: 8px 0 2px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; color: var(--text-2); }
.dmore dt { color: var(--muted); }
.dmore dd { margin: 0; overflow-wrap: anywhere; }
.dmore dd ul { margin: 0; padding-left: 18px; }
@media (max-width: 640px) { .dmore dl { grid-template-columns: 1fr; gap: 2px; } .dmore dt { margin-top: 8px; } }

/* v2.5 — Bugün 3 iş */
.three { border-left: 2px solid var(--brass); padding: 4px 0 4px 24px; }
.three .ph { margin-bottom: 4px; }
.three .ph h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.three .prog { color: var(--muted); font-size: var(--fs-sm); }
.three .hint { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 6px; }
.three ol { list-style: none; margin: 6px 0 0; padding: 0; max-width: 980px; counter-reset: th; }
.three li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.three li:first-child { border-top: 0; }
.three li::before { counter-increment: th; content: counter(th); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; background: var(--brass-soft); color: var(--brass); }
.three li.done::before { content: "✓"; background: var(--green-soft); color: var(--green); }
.three li.done .tx b { text-decoration: line-through; color: var(--muted); }
.three .tx b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.three .tx small { color: var(--muted); font-size: var(--fs-xs); }
.three .tx small .why { color: var(--text-2); }
.three .tx small .why.red { color: var(--red); }
.three .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.three .foot3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.pick { list-style: none; margin: 0; padding: 0 18px 18px; }
.pick li { border-top: 1px solid var(--line); }
.pick li:first-child { border-top: 0; }
.pick button { width: 100%; text-align: left; background: none; border: 0; padding: 11px 4px; cursor: pointer; color: var(--text); display: block; border-radius: 8px; }
.pick button:hover, .pick button:focus-visible { background: var(--surface-2); }
.pick b { display: block; font-weight: 500; font-size: var(--fs-sm); }
.pick small { color: var(--muted); font-size: var(--fs-xs); }
.pick-f { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 18px 6px; }
@media (max-width: 640px) {
  .three { padding-left: 14px; }
  .three li { grid-template-columns: 28px minmax(0, 1fr); }
  .three .acts { grid-column: 2; justify-content: flex-start; }
}

/* v2.4 — Bugün kutusu */
/* v2.5 — hızlı görev düğmeleri */
.chip.qk { display: inline-flex; align-items: center; gap: 5px; }
.chip.qk svg { width: 14px; height: 14px; }
.citem .sm.tsm { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; max-width: 320px; white-space: normal; }

/* v2.6 — karar kutusu */
.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ditem { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--amber, #f2b766); border-radius: 10px; background: var(--surface, transparent); }
.ditem .dq { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ditem .dq b { font-weight: 600; line-height: 1.4; }
.ditem .dq small { color: var(--muted); font-size: .76rem; }
.dbtn { display: flex; gap: 6px; flex: none; }
.chip.ghost { background: transparent; }
.dnote { display: block; margin: 12px 0 4px; font-size: .8rem; color: var(--muted); }
#dec-note { width: 100%; min-height: 60px; box-sizing: border-box; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface, transparent); color: var(--text); font: inherit; }
@media (max-width: 640px) { .ditem { flex-direction: column; align-items: stretch; } .dbtn { justify-content: flex-start; } }
.citem.undone .tx b { text-decoration: line-through; opacity: .6; }
.pstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; margin: 18px 0 22px; }
.ps-b { display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; color: var(--text); }
.ps-b .lg { height: 58px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.ps-b .lg img { max-height: 30px; max-width: 78%; }
.ps-b .lg .ph { font-weight: 700; color: #1c1c21; }
.ps-b .nm { font-weight: 600; padding: 9px 11px 0; }
.ps-b .st { font-size: var(--fs-xs); display: flex; align-items: center; gap: 6px; padding: 3px 11px 10px; }
.ps-b .st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ps-b .st.red { color: var(--red); } .ps-b .st.amber { color: var(--amber); } .ps-b .st.green { color: var(--green); } .ps-b .st.gray { color: var(--muted); }
.ps-b:hover { border-color: var(--line-strong); }
.ps-b[aria-selected="true"] { border-color: var(--accent, #e0b04a); box-shadow: 0 0 0 2px var(--accent, #e0b04a); }
.psel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.psel-head h2 { margin: 0; font-size: 1.35rem; }
.psel-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.pbox-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.pbox { text-align: left; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--text); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pbox .t { font-size: var(--fs-sm); color: var(--text-2); }
.pbox b { font-size: 1.25rem; font-weight: 600; }
.pbox small { color: var(--muted); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbox.red b { color: var(--red); } .pbox.amber b { color: var(--amber); }
.pbox[aria-pressed="true"] { border-color: var(--accent, #e0b04a); background: color-mix(in srgb, var(--accent, #e0b04a) 10%, var(--panel)); }
.pbox-body > .panel, .pbox-body > .g2 { margin-bottom: 14px; }
@media (max-width: 700px) { .pbox-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .psel-links { margin-left: 0; } }
:root:not([data-theme="light"]) .ps-b .lg .ph { color: #1c1c21; }

.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sys-c { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
.sys-c:hover { border-color: var(--line-strong); }
.sys-c svg.i { color: var(--brass); }
.sys-c small { color: var(--muted); font-size: var(--fs-xs); }
.pchip { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; padding: 2px 10px 2px 3px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--text-2); vertical-align: middle; }
.pchip .lg { width: 40px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; overflow: hidden; }
.pchip .lg img { max-width: 34px; max-height: 14px; }
.pchip.all { padding: 2px 10px; }
.citem .tx b small.kod { display: inline; font-size: .66rem; color: var(--muted); font-family: var(--font-mono); margin-left: 4px; }
.inv-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.inv-c { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.inv-c b { font-size: 1.35rem; font-weight: 600; }
.inv-c small { color: var(--muted); font-size: var(--fs-xs); }
.inv-c small.w { color: var(--amber); }
.chart text.sv { fill: #fff; font-size: 10px; font-weight: 600; paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 2px; pointer-events: none; }
.chart text.tv { fill: var(--text); font-size: 11px; font-weight: 600; }
.flow .fl-g { margin-top: 10px; }
.flow .fl-g h3 { font-size: var(--fs-sm); color: var(--text-2); margin: 10px 0 6px; font-family: var(--font-body); font-weight: 600; }
.flow .fl-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 0; border-top: 1px dashed var(--line); }
.flow .fl-a { display: inline-flex; flex-direction: column; gap: 1px; padding: 7px 11px 7px 26px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); position: relative; min-width: 0; }
.flow .fl-a .lamp { position: absolute; left: 9px; top: 12px; width: 9px; height: 9px; }
.flow .fl-a b { font-size: var(--fs-sm); font-weight: 600; }
.flow .fl-a small { font-size: var(--fs-xs); color: var(--muted); }
.flow .fl-a small.s { color: var(--text-2); }
.flow .fl-a.ref { border-style: dashed; background: transparent; }
.flow .fl-a.miss { border-color: var(--amber); border-style: dashed; }
.flow .fl-o { font-size: var(--fs-xs); color: var(--muted); padding: 4px 8px; border-radius: 6px; background: var(--surface-2); }
.flow .fl-me { font-size: var(--fs-sm); padding: 7px 11px; border-radius: 10px; background: var(--brass-soft); color: var(--brass); font-weight: 600; }
.flow .fl-ar { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 640px) { .flow .fl-r { flex-direction: column; align-items: flex-start; } .flow .fl-ar { transform: rotate(90deg); margin-left: 14px; } }
.relay .rl-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.relay .rl-sc { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.relay .rl-sc h3 { font-size: var(--fs-sm); margin: 0 0 4px; font-family: var(--font-body); font-weight: 600; color: var(--text-2); }
.relay svg.rl { width: 100%; height: auto; display: block; }
.relay .rl-n { fill: var(--text); font-size: 11px; } .relay .rl-n.b { font-weight: 700; font-size: 12px; }
.relay .rl-s { fill: var(--muted); font-size: 10px; } .relay .rl-x { fill: #E24B4A; font-size: 10px; font-weight: 600; }
.flow-tg { margin: -6px 0 2px; }
.efat-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 10px; }
.efat-k > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface); }
.efat-k b { display: block; font-size: 1.15rem; }
.efat-k small { color: var(--muted); font-size: var(--fs-xs); }
.efat-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .efat-2 { grid-template-columns: 1fr; } .efat-k { grid-template-columns: 1fr 1fr; } }
.citem .tx, .three .tx, .tdet, .panel p, .panel small, .panel li { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.trow.flash { animation: pselFlash 1.6s ease-out; border-radius: 10px; }
.whotag { display: inline-block; margin: 4px 0 2px; padding: 2px 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.whotag.w { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.whotag.nw { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.trow .tx > .whotag { display: table; }
.pjump { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pjump select { font: inherit; font-size: var(--fs-sm); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); max-width: 220px; }
.pfab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font: inherit; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.18); cursor: pointer; }
.psel-head.flash { animation: pselFlash 1.4s ease-out; border-radius: 10px; }
#reload-btn.spin svg.i { animation: rlSpin 1s linear infinite; }
#reload-btn[disabled] { cursor: progress; opacity: .8; }
@keyframes rlSpin { to { transform: rotate(360deg); } }
@keyframes pselFlash { 0% { box-shadow: 0 0 0 3px var(--brass); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .psel-head.flash { animation: none; } }
.tlink { cursor: pointer; } .tlink:hover { text-decoration: underline; }
.tdet { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, var(--surface)); }
.tdet dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: var(--fs-sm); }
.tdet dt { color: var(--muted); } .tdet dd { margin: 0; white-space: pre-wrap; }
.tdet h4 { margin: 10px 0 4px; font-size: var(--fs-sm); }
.tnotes { margin: 0; padding-left: 16px; font-size: var(--fs-sm); } .tnotes li { margin: 3px 0; }
@media (max-width: 640px) { .tdet dl { grid-template-columns: 1fr; } .tdet dt { margin-top: 4px; } }
.gg-leg { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--fs-xs); color: var(--muted); margin: 2px 0 4px; }
.gg-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.efat-k .pos b { color: var(--ok, #2e9e6a); } .efat-k .neg b { color: var(--bad, #d0543c); }
.efat-l { list-style: none; margin: 0; padding: 0; }
.efat-l li { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.efat-l li span { color: var(--muted); min-width: 40px; }
.efat-l li em { font-style: normal; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.efat-l li b { white-space: nowrap; }

.dec-inbox.flash { box-shadow: 0 0 0 2px var(--brass); transition: box-shadow .3s; }
.ps-b .lg .ph { font-size: 1.4rem; }

.ps-b .pg { display: flex; align-items: center; gap: 7px; padding: 0 11px 11px; margin-top: -4px; }
.ps-b .pg .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ps-b .pg .bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.ps-b .pg .n { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.pw-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.pw { border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pw .l { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.pw b { font-size: 1.05rem; font-weight: 600; }
.pw .a { font-size: var(--fs-sm); color: var(--text-2); }
.pw .na { display: block; font-size: var(--fs-xs); color: var(--amber); }
.pw small { font-size: var(--fs-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw.red { border-color: var(--red); } .pw.red b { color: var(--red); }
.pw.amber { border-color: var(--amber); } .pw.amber b { color: var(--amber); }
.pw.ok b { color: var(--green); }
section.expect { margin: 18px 0; }

.clist { container-type: inline-size; }
.citem.trow .tx b, .citem.trow .tx small { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
@container (max-width: 700px) {
  .citem.trow { grid-template-columns: 34px minmax(0, 1fr); row-gap: 8px; align-items: start; }
  .citem.trow .sm.tsm { grid-column: 2; justify-content: flex-start; max-width: none; }
}
.citem.fixrow { opacity: .7; }


/* @WRK Panel — logo (25.10.2026) */
.brand .blogo { height: 34px; width: auto; display: block; flex: none; }
.brand .blogo-light { display: none; }
:root[data-theme="light"] .brand .blogo-dark { display: none; }
:root[data-theme="light"] .brand .blogo-light { display: block; }
@media (max-width: 640px) { .brand .blogo { height: 28px; } }


/* ================= v2.0 — sade düzen (ES onayı 25.10.2026) =================
   Koyu üst bar + altın vurgu; açık zemin; ana sayfa: 3 rakam, bugün 3 iş, projeler sütun. */
:root[data-theme="light"] {
  --bg: #f4f3ef; --panel: #ffffff; --surface: #ffffff; --surface-2: #f3f1ea;
  --line: #e6e3da; --line-strong: #d6d2c6;
  --text: #23232a; --text-2: #4d4b45; --muted: #8a877d;
  --brass: #b8902f; --brass-soft: rgba(212,175,85,.16);
  --header-bg: #1c1c21;
}
:root:not([data-theme="light"]) {
  --bg: #121215; --panel: #1b1b20; --surface: #1f1f25; --surface-2: #26262d;
  --line: #2e2e36; --line-strong: #3d3d46; --text: #f1eee6; --text-2: #c9c5ba; --muted: #8f8b80;
  --brass: #d4af55; --brass-soft: rgba(212,175,85,.14); --header-bg: #16161a;
}
h1, h2, h3 { font-family: var(--font-body); letter-spacing: -.01em; }
.header { background: var(--header-bg); backdrop-filter: none; border-bottom: 0;
  --text: #f3efe6; --text-2: #bdb9ae; --muted: #8d8a80; --line: #2f2f37; --line-strong: #44444d; --surface: #26262c; --surface-2: #2c2c33; --panel: #1f1f24; color: var(--text); }
.header .hrow { padding-block: 10px; gap: 22px; }
.header .brand .blogo-dark { display: block !important; } .header .brand .blogo-light { display: none !important; }
.header .brand span { display: none; }
.header .subnav { flex: 1; gap: 2px; flex-wrap: nowrap; align-items: center; overflow: visible; }
.header .subnav a[aria-current="page"] { border: 0; box-shadow: none; }
.header .actions .profile .nm { display: none; }
.v2-sec .more { background: none; border: 0; color: var(--brass); font-size: var(--fs-sm); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.header .subnav a, .header .navmore { color: #a9a69c; border-bottom: 0; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.header .subnav a svg.i, .header .navmore svg.i { display: none; }
.header .subnav a:hover, .header .navmore:hover { color: #fff; }
.header .subnav a[aria-current="page"], .header .navmore.cur { color: #d4af55; font-weight: 600; background: transparent; }
.header .navmore .i:last-child { display: inline-block !important; width: 14px; height: 14px; }
.header .search { max-width: 240px; }
.header .search input { height: 36px; }
.header .search kbd { display: none; }
.header .split .main-b { background: #d4af55; color: #1c1c21; }
.header .split .more-b { background: #c39f45; color: #1c1c21; }
.content { max-width: 1080px; }
.v2-head h1 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 600; }
.home5 .v2-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.home5 .v2-head .kasa-btn { flex:none; margin-top:6px; }
.v2-head .date { color: var(--muted); margin-top: 2px; }
.v2-sec { font-size: 1rem; font-weight: 600; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.v2-sec .more { font-weight: 400; }
.three { border-left: 0; padding: 0; margin-bottom: 30px; }
.three .ph h2 { font-size: 1rem; font-weight: 600; }
.three ol { max-width: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; }
.three li { padding: 14px 18px; grid-template-columns: 28px minmax(0, 1fr) auto; }
.three li::before { background: #1c1c21; color: #d4af55; font-family: var(--font-body); font-weight: 700; font-size: .85rem; width: 26px; height: 26px; }
.three .tx b { font-weight: 500; }
.v2-note { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .header .subnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #1c1c21; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #2f2f37; }
  .header .subnav a, .header .navmore { font-size: .8rem; padding: 6px; }
  .header .nav-more .pop { top: auto; bottom: 100%; right: 0; left: auto; }
  .header .search { display: none; }
  body { padding-bottom: 64px; }
}

/* v2.1 — sol menü (tüm bölümler görünür), varsayılan koyu tema */
.side { display: none; }
@media (min-width: 761px) {
  .side { display: block; position: fixed; top: 0; bottom: 0; left: 0; width: 210px; background: #16161a; border-right: 1px solid #26262c; padding: 76px 10px 20px; overflow-y: auto; z-index: 30; }
  .side .s-g { display: flex; flex-direction: column; gap: 2px; }
  .side .s-h { color: #6f6c64; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin: 18px 12px 6px; }
  .side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #b5b1a6; font-size: .92rem; }
  .side a:hover { background: #222228; color: #fff; }
  .side a[aria-current="page"] { background: #26262d; color: #d4af55; font-weight: 600; box-shadow: inset 3px 0 0 #d4af55; }
  .side a svg.i { width: 17px; height: 17px; }
  .header { z-index: 40; }
  .header .subnav { display: none !important; }
  .header .hrow { padding-left: 0; }
  body { padding-left: 210px; }
  .header .brand { width: 170px; margin-left: calc(-210px + 24px); }
}
:root:not([data-theme="light"]) .three li::before { background: #d4af55; color: #1c1c21; }

.kpis.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpi.kbtn { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.kpi.kbtn:hover { border-color: var(--line-strong); }
.kpi.kbtn.on { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.fin-detail { margin: 4px 0 20px; }
.fin-tbl td small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.fin-tbl .r { text-align: right; } .fin-tbl .muted { color: var(--muted); }
@media (max-width: 900px) { .kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel); }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; color: var(--text-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brass); color: #1c1c21; font-weight: 600; }
.rep-idx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.rep-idx a { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); }
.rep-idx a:hover { border-color: var(--brass); }
.rep-idx b { display: block; font-weight: 600; } .rep-idx small { color: var(--muted); }
.lbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--surface-2); margin-top: 4px; }
.lleg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: var(--fs-sm); color: var(--text-2); }
.lleg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.perf .r { text-align: right; } .perf .red { color: var(--red); font-weight: 600; }
.pbar { display: inline-block; width: 120px; height: 6px; border-radius: 3px; background: var(--surface-2); vertical-align: middle; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--brass); }
#r-nakit, #r-vibe, #r-lansman, #r-is { scroll-margin-top: 80px; }
@media (max-width: 760px) { .rep-idx { grid-template-columns: 1fr 1fr; } }

.ing .dots { display: flex; gap: 6px; margin: 4px 0 14px; }
.ing .dd { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .72rem; background: var(--surface-2); color: var(--muted); }
.ing .dd.on { background: var(--brass); color: #1c1c21; font-weight: 600; }
.ing .dd.tdy { outline: 1.5px solid var(--brass); outline-offset: 2px; }
.ing-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.ing-form label { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-sm); color: var(--muted); }
.ing-form label.grow { flex: 1; min-width: 180px; }
.ing-form input { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 100%; }
.ing-form #ing-dk { width: 100px; }
.wl { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-bottom: 14px; }
.wli { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--text); }
.wli:hover { border-color: var(--brass); }
.wli b { font-size: 1rem; } .wli span { font-size: var(--fs-sm); color: var(--text-2); } .wli small { color: var(--muted); font-size: var(--fs-xs); }

/* ---------- v2.x İçerik Akışı (ES onayı 04.11.2026) — yalnız okur ---------- */
.ia { display:flex; flex-direction:column; gap:14px; }
.ia-head { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; }
.ia-week { color:var(--text-2); font-variant-numeric:tabular-nums; margin-top:4px; }
.ia-week b { color:var(--text); font-weight:600; }
.ia-nav { display:flex; gap:6px; flex-wrap:wrap; }
.ia-legend { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:var(--fs-xs); color:var(--muted); }
.ia-legend span { display:inline-flex; align-items:center; gap:6px; }
.ia-legend i { width:14px; height:10px; border-radius:3px; background:var(--c); box-shadow:inset 0 0 0 1.5px var(--r,transparent); }
.ia-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); }
.ia-grid { border-collapse:collapse; width:100%; min-width:900px; table-layout:fixed; }
.ia-grid th, .ia-grid td { border-bottom:1px solid var(--line); border-left:1px solid var(--line); vertical-align:top; padding:6px; }
.ia-grid thead th { background:var(--surface-2); font-size:var(--fs-xs); font-weight:600; text-align:left; padding:8px 6px; }
.ia-grid thead th span { display:block; color:var(--muted); font-weight:400; font-variant-numeric:tabular-nums; }
.ia-grid tr > *:first-child { border-left:0; width:150px; position:sticky; left:0; background:var(--panel); z-index:1; }
.ia-grid thead tr > *:first-child { background:var(--surface-2); }
.ia-grid tbody tr:last-child > * { border-bottom:0; }
.ia-grid .ia-today { background:var(--brass-soft); }
.ia-proj { font-weight:600; font-size:var(--fs-sm); text-align:left; }
.ia-proj small { display:block; font-weight:400; color:var(--muted); font-size:.72rem; margin-top:2px; }
.ia-cell { display:flex; flex-direction:column; gap:4px; min-height:34px; }
.ia-bar { display:flex; align-items:center; gap:5px; width:100%; min-width:0; border:0; border-radius:6px; padding:5px 7px; text-align:left; cursor:pointer;
  background:var(--c); color:#fff; font-size:.75rem; box-shadow:inset 0 0 0 1.5px var(--r,transparent); }
.ia-bar .t { font-variant-numeric:tabular-nums; font-weight:600; flex:none; }
.ia-bar .s { flex:none; background:rgba(255,255,255,.28); border-radius:3px; padding:0 4px; font-size:.62rem; font-weight:700; }
.ia-bar .k { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-width:0; }
.ia-bar.draft { opacity:.55; background:repeating-linear-gradient(135deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 70%, #000) 6px 12px); }
.ia-bar.done .t::before { content:"✓ "; }
.ia-bar[aria-expanded="true"] { outline:2px solid var(--text); outline-offset:1px; }
.ia-empty { color:var(--muted); font-size:var(--fs-xs); font-style:italic; padding:6px 2px; }
.ia-err { color:var(--red); font-size:var(--fs-xs); padding:6px 2px; }
.ia-detail { border:1px solid var(--line); border-radius:var(--radius); padding:12px 14px; background:var(--surface); display:grid; grid-template-columns:auto 1fr; gap:4px 14px; font-size:var(--fs-sm); margin:0; }
.ia-detail dt { color:var(--muted); }
.ia-detail dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.ia-src { font-size:.72rem; color:var(--muted); }
/* ---------- v99 Ana sayfa: 5 kutu (ES 04.11.2026) ---------- */
.h5-g { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0; }
@media (max-width: 760px) { .h5-g { grid-template-columns:1fr; } }
.h5 { border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); padding:14px 16px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.h5-h { display:flex; align-items:center; gap:8px; }
.h5-h h2 { font-size:var(--fs-md, 1.05rem); margin:0; flex:1; }
.h5-ic { font-size:1.2rem; }
.h5-n { background:var(--surface-2); border-radius:999px; padding:1px 9px; font-size:var(--fs-xs); font-weight:700; font-variant-numeric:tabular-nums; }
.h5-l { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.h5-l li { display:grid; grid-template-columns:62px 1fr auto; column-gap:8px; row-gap:1px; padding:7px 0; border-bottom:1px solid var(--line); align-items:baseline; font-size:var(--fs-sm); }
.h5-l li:last-child { border-bottom:0; }
.h5-l li .w { color:var(--muted); font-variant-numeric:tabular-nums; font-size:var(--fs-xs); grid-row:1 / span 2; }
.h5-l li b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.h5-l li .a { font-weight:700; font-variant-numeric:tabular-nums; }
.h5-l li small { grid-column:2 / 4; color:var(--text-2); font-size:var(--fs-xs); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.h5-l li small a { color:inherit; }
.h5-l li.red .w, .h5-l li.red small { color:var(--red); }
.h5-l li.amber .w { color:var(--amber); }
.h5-l li .h5-rem { grid-column:3; grid-row:1; justify-self:end; }
/* v1.10 — kişi bazlı bekleyenler: iş başlıkları 2 satıra kadar sarılır */
.h5-l.wg li small { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.h5-l.wg li .wn { font-weight:400; color:var(--muted); }
.h5-l li.red b { color:var(--red); }
/* ---------- v1.11 Pazartesi masası (ES 24.11.2026) ---------- */
.masa-card { display:flex; align-items:center; gap:14px; margin:18px 0 0; padding:14px 16px; border:1px solid color-mix(in srgb, var(--brass) 45%, var(--line)); border-radius:var(--radius); background:color-mix(in srgb, var(--brass) 8%, var(--panel)); }
.masa-card .tx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.masa-card small { color:var(--text-2); font-size:var(--fs-xs); }
.masa-steps { list-style:none; margin:18px 0 14px; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.masa-steps button { display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--panel); color:var(--text); border-radius:999px; padding:6px 12px 6px 6px; font:inherit; font-size:var(--fs-sm); cursor:pointer; }
.masa-steps .no { width:22px; height:22px; border-radius:50%; display:inline-grid; place-items:center; background:var(--surface-2); font-size:var(--fs-xs); font-weight:700; }
.masa-steps .c { font-variant-numeric:tabular-nums; color:var(--muted); font-size:var(--fs-xs); }
.masa-steps li.cur button { border-color:var(--brass); box-shadow:0 0 0 1px var(--brass) inset; font-weight:600; }
.masa-steps li.cur .no { background:var(--brass); color:#1a1408; }
.masa-steps li.done .no { background:color-mix(in srgb, var(--green, #3a9d5d) 25%, var(--surface-2)); }
.masa-step > h2 { margin:6px 0 4px; }
.masa-step > .hint { color:var(--text-2); margin:0 0 12px; }
.masa-step .h5 { max-width:720px; }
.masa-nav { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; margin:18px 0 8px; }
.masa-nav .btn.primary { margin-left:auto; }
/* ---------- v1.13 komuta masası (ES 24.11.2026) ---------- */
.pulse { display:flex; gap:4px; align-items:center; margin-right:4px; }
.pulse .pv { display:inline-flex; align-items:center; gap:5px; height:32px; padding:0 9px; border-radius:999px; border:1px solid #33333b; background:#1f1f24; color:#e9e5db; font:inherit; font-size:.8rem; cursor:pointer; }
.pulse .pv:hover { border-color:#55555e; }
.pulse .pv i { width:8px; height:8px; border-radius:50%; background:#5fbf7f; }
.pulse .pv.amber i { background:#e0a43a; } .pulse .pv.red i { background:#e25a55; }
.pulse .pv b { font-variant-numeric:tabular-nums; font-weight:700; }
.pulse .pv span { color:#a9a69c; }
@media (max-width: 1180px) { .pulse .pv span { display:none; } }
@media (max-width: 760px) { .pulse { margin-right:0; } .pulse .pv { height:30px; padding:0 7px; } }
.three .ph { display:flex; align-items:center; gap:10px; }
.three .ph .ph-r { margin-left:auto; }
.focus-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:10px 0 4px; padding:10px 12px; border:1px solid color-mix(in srgb, var(--brass) 45%, var(--line)); border-radius:12px; background:color-mix(in srgb, var(--brass) 7%, var(--panel)); }
.focus-bar .fl { font-weight:600; }
.focus-bar .ft { font-family:var(--font-mono, monospace); font-size:1.25rem; font-weight:600; font-variant-numeric:tabular-nums; margin-right:auto; letter-spacing:.02em; }
body.focus { padding-left:0 !important; }
body.focus .side, body.focus .header .search, body.focus .header .subnav, body.focus .pulse, body.focus .header .anchor { display:none !important; }
body.focus .header .brand { margin-left:0 !important; }
body.focus .h5-g, body.focus .masa-card { display:none; }
body.focus .content { max-width:980px; }
.header .search #search-results { min-width:460px; max-width:min(560px, 92vw); overflow-x:hidden; }
.header .search #search-results .row { display:flex; justify-content:space-between; gap:12px; }
.header .search #search-results .row > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.header .search #search-results .row .meta { flex:none; white-space:nowrap; }
.heat { display:inline-flex; gap:2px; margin-top:4px; }
.heat i { width:9px; height:9px; border-radius:2px; background:var(--surface-2); }
.heat i.l1 { background:color-mix(in srgb, var(--brass) 35%, var(--surface-2)); }
.heat i.l2 { background:color-mix(in srgb, var(--brass) 65%, var(--surface-2)); }
.heat i.l3 { background:var(--brass); }
.heat.cold i { background:color-mix(in srgb, var(--red, #e25a55) 22%, var(--surface-2)); }
.ps-b:has(.heat.cold) { box-shadow:0 0 0 1px color-mix(in srgb, var(--red, #e25a55) 45%, transparent) inset; }
/* ---------- v1.20 sessiz arızalar ---------- */
.watch-strip { display:flex; align-items:flex-start; gap:10px; margin:14px 0 0; padding:10px 14px; border:1px solid var(--line); border-radius:12px; background:var(--panel); font-size:var(--fs-sm); }
.watch-strip.bad { border-color:color-mix(in srgb, var(--red, #e25a55) 55%, var(--line)); background:color-mix(in srgb, var(--red, #e25a55) 7%, var(--panel)); }
.watch-strip .ws-t { flex:1; min-width:0; } .watch-strip small { color:var(--muted); } .watch-strip .fake-link { flex:none; }
/* ---------- v1.18 rapor okuyucu: önceki raporda da olanlar ---------- */
.rold { margin-top:10px; border-top:1px dashed var(--line); padding-top:8px; }
.rold > summary { cursor:pointer; color:var(--muted); font-size:var(--fs-sm); }
.rold .racts { opacity:.75; margin-top:6px; }
.tag.sm { font-size:.7rem; padding:1px 7px; }
.kpi-cmp { display:block; font-size:var(--fs-xs); margin-top:2px; color:var(--muted); }
.kpi-cmp.up { color:var(--green, #3a9d5d); } .kpi-cmp.down { color:var(--amber, #e0a43a); }
.tr-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:10px 22px; }
.tr-list li { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:2px 8px; align-items:center; font-size:var(--fs-sm); }
.tr-n { color:var(--text-2); grid-column:1 / 3; }
.spark { width:160px; height:36px; } .spark polyline { fill:none; stroke:var(--brass); stroke-width:2; } .spark circle { fill:var(--brass); } .spark circle.now { fill:var(--text); }
.tr-v b { font-size:1.1rem; font-variant-numeric:tabular-nums; } .tr-v small { font-size:var(--fs-xs); color:var(--muted); } .tr-v small.pos { color:var(--green, #3a9d5d); } .tr-v small.neg { color:var(--amber, #e0a43a); }
/* ---------- v1.17 Raporlar alt sekmeleri ---------- */
.rep-nav { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 4px; width:max-content; max-width:100%; }
@media (max-width: 760px) { .rep-nav { width:100%; } .rep-nav button { flex:1 1 45%; } }
/* ---------- v1.16 agent karnesi, görev akışı, proje yükü ---------- */
.sc-tbl { width:100%; border-collapse:collapse; font-size:var(--fs-sm); }
.sc-tbl th { text-align:left; color:var(--muted); font-weight:600; font-size:var(--fs-xs); padding:6px 8px; border-bottom:1px solid var(--line); white-space:nowrap; }
.sc-tbl td { padding:8px; border-bottom:1px solid var(--line); vertical-align:middle; white-space:nowrap; }
.sc-tbl .r { text-align:right; font-variant-numeric:tabular-nums; }
.sc-tbl td b { font-weight:600; } .sc-sub { display:block; color:var(--muted); font-size:var(--fs-xs); }
.sc-bar { display:inline-block; width:70px; height:8px; border-radius:4px; background:var(--surface-2); overflow:hidden; vertical-align:middle; }
.sc-bar i { display:block; height:100%; background:var(--muted); } .sc-bar i.ok { background:var(--green, #3a9d5d); } .sc-bar i.bad { background:var(--amber, #e0a43a); }
.sc-n { font-variant-numeric:tabular-nums; color:var(--text-2); font-size:var(--fs-xs); }
.fl-leg { display:flex; flex-wrap:wrap; gap:6px 14px; color:var(--muted); font-size:var(--fs-xs); margin:0 0 8px; }
.fl-leg i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:5px; vertical-align:-1px; }
.fl-chart svg { width:100%; height:auto; display:block; max-width:520px; }
.fl-chart .fl-ax { stroke:var(--line-strong); }
.fl-o, .fl-leg i.fl-o { fill:var(--brass); background:var(--brass); }
.fl-c, .fl-leg i.fl-c { fill:var(--green, #3a9d5d); background:var(--green, #3a9d5d); }
.fl-chart text { font-family:var(--font-body); font-size:11px; fill:var(--muted); }
.fl-chart .fl-v { fill:var(--text-2); font-weight:600; } .fl-chart .fl-l.cur { fill:var(--text); font-weight:600; }
.fl-chart .fl-n.pos { fill:var(--green, #3a9d5d); font-weight:700; } .fl-chart .fl-n.neg { fill:var(--amber, #e0a43a); font-weight:700; }
.pl-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.pl-list li { display:grid; grid-template-columns:minmax(90px,130px) minmax(0,1fr); gap:4px 10px; align-items:center; font-size:var(--fs-sm); }
.pl-n { color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pl-bar { display:flex; height:12px; border-radius:4px; overflow:hidden; background:var(--surface-2); }
.pl-bar i { display:block; height:100%; }
.pl-v { grid-column:2; color:var(--muted); font-size:var(--fs-xs); }
.pl-late, .fl-leg i.pl-late { background:var(--red, #e25a55); } .pl-dated, .fl-leg i.pl-dated { background:var(--brass); } .pl-und, .fl-leg i.pl-und { background:color-mix(in srgb, var(--muted) 55%, var(--surface-2)); }
.pl-wait, .fl-leg i.pl-wait { background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--muted) 40%, var(--surface-2)) 0 3px, transparent 3px 6px); }  /* v1.23 bekliyor (tarihsiz) */
.t-red { color:var(--red, #e25a55); }
.od-act { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:10px 0 4px; }
.of-reps li.last { border-left:3px solid var(--brass); padding-left:8px; }
.t-mut { color:var(--muted); }
@media (max-width: 760px) { .masa-card { flex-direction:column; align-items:stretch; } .masa-steps .lb { display:none; } .masa-steps li.cur .lb { display:inline; } }
.h5-e, .h5-f { color:var(--muted); font-size:var(--fs-sm); margin:0; }
.h5-f b { color:var(--text); }
.h5 .more { align-self:flex-start; margin-top:auto; background:none; border:0; padding:4px 0 0; font-size:var(--fs-sm); color:var(--brass); display:inline-flex; align-items:center; gap:4px; cursor:pointer; }
.h5 .more svg { width:14px; height:14px; }

/* ---------- v95 Ödeme Takvimi (ES 04.11.2026) — yalnız okur ---------- */
.od-grid th.od-tot, .od-grid td.od-tot { background:var(--surface-2); font-size:var(--fs-xs); font-weight:600; font-variant-numeric:tabular-nums; }
.od-bar .k { flex:1 1 auto; }
.od-bar .a { flex:none; font-variant-numeric:tabular-nums; font-weight:600; }
.od-bar.paid { opacity:.6; }
.od-bar.paid .k::before { content:"✓ "; }
.od-sum { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:var(--fs-sm); color:var(--text-2); }
.od-sum b { color:var(--text); font-variant-numeric:tabular-nums; }
.od-sum .red b { color:var(--red); }
.od-nodate { display:flex; flex-wrap:wrap; gap:6px; }
.od-nodate button { border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:999px; padding:4px 10px; font-size:var(--fs-xs); cursor:pointer; }

.ia-bar.late { box-shadow:0 0 0 2px var(--red), inset 0 0 0 1.5px var(--r,transparent); }
.ia-bar.late .t::before { content:"! "; }
.ia-late { border:1px solid var(--red); background:var(--red-soft); border-radius:var(--radius); padding:12px 14px; }
.ia-late h2 { font-size:var(--fs-md); margin-bottom:8px; color:var(--red); }
.ia-late ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.ia-late button { background:none; border:0; padding:4px 0; text-align:left; color:var(--text); cursor:pointer; font-size:var(--fs-sm); width:100%; }
.ia-late button:hover { text-decoration:underline; }
.ia-late small { color:var(--muted); }
.ia-ok { color:var(--green); font-size:var(--fs-sm); }
.ia-act { grid-column:1 / -1; display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:6px; }
/* v1.3 — ES 23.11.2026: Bugün ekranında bölümler arası boşluk sıkılaştı (yalnız ana sayfa sarmalayıcısı .home5) */
.home5 { display:flex; flex-direction:column; gap:22px; min-width:0; }
.home5 > .three, .home5 > .h5-g { margin:0; }
.home5 > .v2-note { margin:0 !important; }
/* v1.3 — ES 23.11.2026: Projeler kutusunda "Sonraki" metni 2 satıra kadar; tamamı üzerine gelince görünür */
.h5.proj .h5-l li small { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.4; }
/* v1.3 — ES 23.11.2026: eski "Sonraki adım" uyarısı */
.tag.stale { height:18px; padding:0 7px; font-size:.68rem; margin-right:4px; vertical-align:1px; cursor:help; }
/* ---- (ikinci blok: @WRK Ekibi, Ofis, toplu işlemler) ---- */
/* ===== v3.0 — @WRK Ekibi: ajanlar karakter figürleriyle (ES, 27.10.2026) ===== */
.team { display: flex; flex-direction: column; gap: 20px; }
.team-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.team-logo { display: grid; place-items: center; height: 44px; min-width: 44px; padding: 0 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.team-logo img { height: 26px; width: auto; max-width: 120px; display: block; }
.team-logo .blogo-light { display: none; }
:root[data-theme="light"] .team-logo .blogo-dark { display: none; }
:root[data-theme="light"] .team-logo .blogo-light { display: block; }
.team-logo b { font-family: var(--font-display); font-size: 1rem; color: var(--brass); }
.team-head h2 { font-size: 1.45rem; }
.team-head p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 2px; }
.team-legend { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: var(--muted); }
.team-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.lamp.ok { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.lamp.bad { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.lamp.run { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.lamp.idle { background: var(--muted); }
.team-sec { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.team-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mate { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.mate.lead { grid-template-columns: 88px minmax(0, 1fr); padding: 18px; background: var(--panel); border-color: var(--line-strong); }
.mate.off { opacity: .6; border-style: dashed; }
.mate .fig { position: relative; width: 64px; }
.mate.lead .fig { width: 88px; }
.mate .fig svg { width: 100%; height: auto; display: block; }
.mate .fig .lamp { position: absolute; right: 2px; bottom: 4px; border: 2px solid var(--surface); width: 14px; height: 14px; }
.mate.lead .fig .lamp { border-color: var(--panel); }
.mate-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mate-tx b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.mate.lead .mate-tx b { font-size: 1.25rem; }
.mate-role { align-self: flex-start; font-size: .7rem; padding: 1px 9px; border-radius: 999px; background: var(--brass-soft); color: var(--brass); white-space: nowrap; }
.mate-tx small { color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.mate-tx .st { color: var(--text-2); font-size: var(--fs-xs); }
.mate-note { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-2); overflow-wrap: anywhere; }
.mate.lead .mate-note { background: var(--surface-2); }
.mate details { margin-top: 4px; font-size: var(--fs-xs); color: var(--text-2); }
.mate summary { cursor: pointer; color: var(--brass); list-style: none; }
.mate summary::-webkit-details-marker { display: none; }
.mate details p { margin-top: 4px; line-height: 1.45; }
.team-once { display: flex; flex-wrap: wrap; gap: 8px; }
.team-once .tag { height: auto; padding: 4px 10px; white-space: normal; }
@media (max-width: 720px) { .team-lead { grid-template-columns: minmax(0, 1fr); } .team-legend { margin-left: 0; } }
@media (prefers-reduced-motion: no-preference) { .mate .fig svg { transition: transform .2s ease; } .mate:hover .fig svg { transform: translateY(-2px); } }
/* ===== v1.4 — ES 23.11.2026: @WRK Ofis (izometrik, düz renk; tema değişkenleriyle açık ve koyu temada çalışır) ===== */
.office .of-wrap { position: relative; min-width: 0; }
.of-svg { display: block; width: 100%; height: auto; margin: 8px auto 0; overflow: visible; }
.of-svg .of-base { fill: var(--surface); }
/* v1.4.3 — v1.4 bölgeleri: duvarsız izometrik zemin, karolar, bölge başlığı */
.of-svg .of-floor { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.of-svg .of-z { font-size: 13px; font-weight: 700; fill: var(--brass); letter-spacing: .04em; }
.of-svg .of-top { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.of-svg .of-left { fill: var(--line-strong); }
.of-svg .of-right { fill: var(--line); }
.of-svg .of-frame { fill: var(--muted); }
.of-svg text { font-family: var(--font-body); }
.of-svg .of-n { font-size: 13px; font-weight: 600; fill: var(--text); }
.of-svg .of-m { font-size: 12px; fill: var(--muted); }
.of-svg .of-plate { fill: var(--panel); fill-opacity: .85; stroke: var(--line); stroke-width: 1; }  /* v1.4.1 — etiket plakası */
.of-svg .of-pill { fill: var(--brass-soft); stroke: var(--brass); stroke-width: 1; }
.of-svg .of-pill.red { fill: var(--red-soft); stroke: var(--red); }
.of-svg .of-pill-t { font-size: 12px; font-weight: 700; fill: var(--brass); }
.of-svg .of-pill-t.red { fill: var(--red); }
.of-svg .of-desk { cursor: pointer; outline: none; }
.of-svg .of-ring { fill: transparent; stroke: none; }
.of-svg .of-desk:hover .of-ring { stroke: var(--line-strong); stroke-width: 1.5; }
.of-svg .of-desk:focus-visible .of-ring, .of-svg .of-desk.on .of-ring { stroke: var(--brass); stroke-width: 2.5; }
.of-svg .of-desk.on .of-ring { fill: var(--brass-soft); }
.of-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-xs); color: var(--muted); }
.of-leg span { display: inline-flex; align-items: center; gap: 6px; }
.of-leg i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.of-lp { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--brass); background: var(--brass-soft); color: var(--brass); font-size: .72rem; text-align: center; }
.of-lp.red { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.of-list { list-style: none; margin: 0; padding: 0; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.of-li { width: 100%; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 4px; background: none; border: 0; border-top: 1px solid var(--line); color: var(--text); text-align: left; cursor: pointer; min-height: 44px; }
.of-li.on { background: var(--brass-soft); }
.of-li-t { min-width: 0; display: flex; flex-direction: column; }
.of-li-t b { font-weight: 600; font-size: var(--fs-sm); }
.of-li-t small { color: var(--muted); font-size: var(--fs-xs); }
.of-li-b { font-size: var(--fs-xs); color: var(--brass); font-weight: 700; white-space: nowrap; }
.of-li-b em { font-style: normal; color: var(--red); }
@media (max-width: 560px) {
  .of-svg { display: none; }
  .of-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-top: 8px; }
}
.of-det { margin-top: 14px; border: 1px solid var(--line-strong); border-left: 3px solid var(--brass); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.of-det-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.of-det-h h3 { font-size: 1.05rem; margin: 0; }
.of-det-h .chip { margin-left: auto; }
.of-det dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: var(--fs-sm); }
.of-det dt { color: var(--muted); }
.of-det dd { margin: 0; overflow-wrap: anywhere; }
.of-det h4 { margin: 12px 0 6px; font-size: var(--fs-sm); }
.of-reps { margin: 0; padding-left: 18px; font-size: var(--fs-sm); color: var(--text-2); }
.of-reps li { margin: 4px 0; overflow-wrap: anywhere; }
.of-go { margin: 12px 0 0; }
@media (max-width: 560px) { .of-det dl { grid-template-columns: 1fr; gap: 2px; } .of-det dt { margin-top: 6px; } }
.usage .of-u-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.usage .of-u-tags b { margin-left: 2px; }
.of-u-sum { margin: 10px 0 6px; font-size: var(--fs-sm); color: var(--text-2); }
.of-u-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; font-size: var(--fs-sm); }
.of-u-list li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 3px 0; }
.of-u-list li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
/* v1.4 — toplu işlemler */
.rbulk { margin: 8px 0 0; }
.tbulk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; margin: 0 0 6px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: var(--fs-sm); color: var(--text-2); }
.tbulk .c { color: var(--muted); font-size: var(--fs-xs); }
.ico.tpick { background: none; }
.ico.tpick input { width: 20px; height: 20px; margin: 0; accent-color: var(--brass); cursor: pointer; }
.bulk-ids { max-height: 240px; overflow-y: auto; }
/* ---- (üçüncü blok: Kahve Satış ve Stok .kp) ---- */
/* ===== Kahve Satış ve Stok modülü (.kp) — ES 23.11.2026: bağımsız kahve paneli WRK tasarım değişkenleriyle taşındı ===== */
.kp { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kp .kp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.kp .kp-sync, .kp .kp-gs { font-size: var(--fs-xs); color: var(--muted); }
.kp .kp-gs.ok { color: var(--green); } .kp .kp-gs.err { color: var(--red); font-weight: 600; } .kp .kp-gs.busy, .kp .kp-gs.wait { color: var(--amber); }
.kp .kp-btns { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kp .kp-a { display: inline-flex; align-items: center; color: var(--text-2); }
.kp .kp-view { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kp .panel { display: flex; flex-direction: column; gap: 12px; }
.kp .panel > .ph { margin-bottom: 0; }
.kp .kp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.kp .kp-c21 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.kp .kpis { margin-bottom: 0; }
.kp .kpi { cursor: default; }
.kp .kpi.bad b { color: var(--red); }
.kp .kp-tbl { min-width: 0; } .kp .kp-tbl.kp-wide { min-width: 720px; }
.kp .kp-tbl td { vertical-align: middle; }
.kp .r { text-align: right; } .kp td.kp-big { font-weight: 600; }
.kp tr.kp-grp td { background: var(--surface-2); font-weight: 600; }
.kp .kp-meta { font-size: var(--fs-xs); color: var(--muted); }
.kp tr.kp-grp .kp-meta { font-weight: 400; margin-left: 8px; }
.kp .kp-name { font-weight: 500; }
.kp .kp-muted { color: var(--muted); font-size: var(--fs-sm); }
.kp form { display: grid; gap: 12px; }
.kp .kp-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kp .field > span { font-size: var(--fs-sm); color: var(--text-2); }
.kp .kp-month { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: var(--fs-sm); color: var(--text-2); }
.kp .kp-month input { height: 34px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); }
.kp .kp-hint { font-size: var(--fs-xs); color: var(--muted); min-height: 18px; }
.kp .kp-hint.warn { color: var(--amber); font-weight: 600; }
.kp .kp-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kp .chip.kp-armed, .kp .btn.kp-armed { background: var(--red); border-color: var(--red); color: #fff; }
.kp .btn.kp-danger { border-color: var(--red); color: var(--red); background: transparent; }
.kp .kp-empty { padding: 18px 8px; text-align: center; color: var(--muted); }
.kp .kp-chart svg { display: block; width: 100%; height: auto; }
.kp .kp-chart text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.kp .kp-attn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kp .kp-attn-row:last-child { border-bottom: 0; }
.kp .kp-kasa { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.kp .kp-kgroups { display: grid; gap: 16px; }
.kp .kp-kgroup { display: grid; gap: 8px; }
.kp .kp-kgroup h3 { font-size: 1rem; }
.kp .kp-kgroup h3 small { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); margin-left: 6px; }
.kp .kp-kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kp .kp-kbtn { position: relative; display: grid; gap: 2px; text-align: left; padding: 14px 14px 12px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font: inherit; font-weight: 500; min-height: 92px; cursor: pointer; touch-action: manipulation; }
.kp .kp-kbtn:hover { border-color: var(--brass); }
.kp .kp-kbtn:active { transform: scale(.98); }
.kp .kp-ksize { font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.kp .kp-kprice { font-weight: 600; font-variant-numeric: tabular-nums; }
.kp .kp-kstock { font-size: var(--fs-xs); color: var(--muted); }
.kp .kp-kbtn.low .kp-kstock { color: var(--red); font-weight: 600; }
.kp .kp-kbadge { position: absolute; top: 8px; right: 8px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--brass); color: #1c1c21; display: grid; place-items: center; font-weight: 700; }
.kp .kp-kbtn.in { border-color: var(--brass); background: var(--brass-soft); }
.kp .kp-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kp .kp-qty { display: inline-flex; align-items: center; gap: 6px; }
.kp .kp-qty button { width: 34px; height: 34px; border-radius: 8px; border: 0; background: var(--surface-2); color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; }
.kp .kp-qty span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.kp .kp-paysel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.kp .kp-paysel button { padding: 10px 6px; border-radius: 10px; background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font: inherit; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.kp .kp-paysel button[aria-pressed="true"] { border-color: var(--brass); background: var(--brass-soft); color: var(--brass); }
.kp .kp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kp .kp-total b { font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kp .kp-bigbtn { width: 100%; justify-content: center; height: 48px; font-size: 1rem; }
.kp #kp-cart-panel { position: sticky; top: 84px; }
.kp .kp-daysum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.kp .kp-daysum div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; }
.kp .kp-daysum b { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .kp .kp-kasa, .kp .kp-c21 { grid-template-columns: minmax(0, 1fr); }
  .kp #kp-cart-panel { top: auto; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 24px rgba(0,0,0,.18); z-index: 3; }
}
@media (max-width: 640px) { .kp .kp-btns { margin-left: 0; } }
/* ---- v1.5.1 — ES 23.11.2026: Projeler › Sonraki adım düzenle ---- */
.nx-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 12px; font-size: var(--fs-sm); color: var(--text-2); }
.hero .nx-line { margin: 0; }
.nx-line .nx-l { color: var(--muted); }
.nx-line .nx-t { min-width: 0; overflow-wrap: anywhere; }
.chip.nx-edit { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; font-size: var(--fs-xs); }
.chip.nx-edit svg.i { width: 14px; height: 14px; }
.nx-c { align-self: flex-end; color: var(--muted); font-size: var(--fs-xs); }

/* v1.22 — ES 25.11.2026: telefonda üst çubuk taşıyordu (375 px'te “Yeni” düğmesi ekran dışında, sayfa yana kayıyordu).
   Düğme grubu tam satır alır ve gerekirse alt satıra geçer; dar ekranda tema düğmesi (profil menüsünde de var) ve profil oku gizlenir. */
@media (max-width: 760px) {
  .header .actions { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
  .header .pulse { margin-right: auto; }
}
@media (max-width: 480px) {
  .header #theme-btn, .header #reload-btn { display: none; }  /* ikisi de profil menüsünde */
  .header .profile svg.i { display: none; }
  .header .pulse { gap: 3px; }
  .header .pulse .pv { padding: 0 6px; gap: 4px; }
  .header .actions { gap: 5px; }
  .header .actions .icon-btn { width: 34px; height: 34px; }
  .header .profile { padding: 2px; }
  .header .split .main-b { padding: 0 9px; }
  .header .split .more-b { padding: 0 7px; }
  /* açılır menüler (zil, profil, yeni) düğmeye değil satıra hizalanır; sol kenardan taşmaz */
  .header .actions { position: relative; }
  .header .actions .anchor { position: static; }
  .header .actions .pop { left: 0; right: 0; width: auto; min-width: 0; max-width: none; }
}
/* v1.22 — telefonda Projeler: alt menü açıkken “↑ Projeler” düğmesi menünün üstünde durur; kartlar 2 sütun, uzun ad kesilmez */
@media (max-width: 760px) {
  .pfab { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .pstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; }
  .ps-b .lg { height: 46px; }
  .ps-b .lg img { max-height: 26px; }
  .ps-b .nm { overflow-wrap: anywhere; }
}
/* v1.24 — ES 25.11.2026: telefonda İçerik ve Ödeme takvimleri gün gün liste (tablo gizlenir; masaüstünde liste gizli) */
.ia-list { display: none; }
@media (max-width: 600px) {
  .ia-has-list .ia-scroll, .ia-has-list .ia-det-wide { display: none; }
  .ia-list { display: flex; flex-direction: column; gap: 14px; }
  .ia-day h3 { margin: 0 0 6px; font-size: var(--fs-sm); font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .ia-day h3 small { color: var(--muted); font-weight: 400; }
  .ia-day.ia-today { background: var(--brass-soft); border-radius: 12px; padding: 8px; margin: 0 -8px; }
  .ia-day .ia-bar { font-size: .85rem; padding: 9px 10px; margin-bottom: 5px; align-items: flex-start; }
  .ia-day .ia-bar .k { white-space: normal; flex: 1 1 auto; overflow-wrap: anywhere; }
  .ia-day .ia-bar .p { flex: none; max-width: 38%; opacity: .85; font-size: .72rem; text-align: right; }
  .ia-day .ia-bar .a { flex: none; }
  .ia-none { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
  .ia-det-inline { margin: 2px 0 10px; }
  .ia-list .ia-err { font-size: var(--fs-sm); }
}

/* v1.15 — kahve: müşteri seçimi ve KDV satırı */
.kp .kp-cust { display: grid; gap: 8px; margin: 4px 0 10px; }
.kp .kp-cust-l { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.kp .kp-cust-f { display: grid; gap: 10px; }
.kp .kp-r { text-align: right; }
.kp .kp-custsum { margin-top: 16px; }

/* v2.1 — hareket kuralları (ES 26.11.2026, "Hareket kartı" 1–3, 7, 8, 12).
   Süreler 100–500 ms; basit geri bildirim ~100 ms, büyük hareket en çok 400 ms; eğri ease-in-out.
   Hareket azaltma açıksa hepsi kapanır (dosyanın en altı). */
:root { --ease: cubic-bezier(.65, 0, .35, 1); --ease-out: cubic-bezier(.22, 1, .36, 1); --d-fast: 100ms; --d-med: 200ms; --d-slow: 320ms; }

/* 1 — her tıklamaya anında görsel geri bildirim (basınca hafif içe göçme) */
.btn, .icon-btn, .chip, .pop .row { transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), filter var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.btn:not([disabled]):active, .icon-btn:active, .chip:not([disabled]):active { transform: scale(.96); }
.btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
/* işlem sürerken "Onayla ve yaz" düğmesi meşgul görünür */
#c-ok[disabled] { opacity: .75; cursor: progress; }
#c-ok[disabled]::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rlSpin .7s linear infinite; }

/* 2–3 — pencere ve bildirim girişi */
@keyframes mvFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mvRise { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes mvToast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.modal-bg:not(.mv-swap) { animation: mvFade var(--d-med) var(--ease); }
.modal-bg:not(.mv-swap) .modal { animation: mvRise var(--d-slow) var(--ease-out); }
.toast:not([hidden]) { animation: mvToast var(--d-med) var(--ease-out); display: flex; align-items: center; gap: 8px; }
.toast.ok::before, .toast.err::before { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; }
.toast.ok::before { content: "✓"; background: var(--green); }
.toast.err::before { content: "!"; background: var(--red); }

/* 7 — sayfa açılınca bölümler sırayla gelir (yalnız sayfa değişince; veri yenilemesinde oynamaz) */
@keyframes mvIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#content.mv-in > *, #content.mv-in > * > .kpis > *, #content.mv-in > * > .g2 > *, #content.mv-in > * > .g3 > *, #content.mv-in > * > .g3e > * { animation: mvIn 240ms var(--ease-out) backwards; }
#content.mv-in > :nth-child(2) { animation-delay: 50ms; } #content.mv-in > :nth-child(3) { animation-delay: 100ms; }
#content.mv-in > :nth-child(4) { animation-delay: 150ms; } #content.mv-in > :nth-child(n+5) { animation-delay: 200ms; }
#content.mv-in > * > * > :nth-child(2) { animation-delay: 60ms; } #content.mv-in > * > * > :nth-child(3) { animation-delay: 120ms; }
#content.mv-in > * > * > :nth-child(4) { animation-delay: 180ms; } #content.mv-in > * > * > :nth-child(n+5) { animation-delay: 220ms; }

/* 12 — yazma bitince net onay: büyük başarı simgesi + kısa kart */
@keyframes mvPop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { transform: scale(1); } }
.res-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 6px 0 14px; }
.res-head .res-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; animation: mvPop var(--d-slow) var(--ease-out) backwards; }
.res-head .res-ic svg { width: 28px; height: 28px; }
.res-head.ok .res-ic { background: var(--green-soft); color: var(--green); box-shadow: 0 0 0 1px rgba(147,201,163,.35); }
.res-head.bad .res-ic { background: var(--amber-soft); color: var(--amber); box-shadow: 0 0 0 1px rgba(235,163,90,.35); }
.res-head b { font-size: var(--fs-md); font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.res-head + .src-list { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--line); }

/* 8 — telefonda ana eylem büyük ve başparmağa yakın: pencere altındaki düğmeler en az 44 px, ana düğme satırı doldurur */
@media (max-width: 640px) {
  .modal .foot .btn, .confirm .foot .btn { min-height: 44px; }
  .modal .foot .btn.primary, .confirm .foot .btn.primary { flex: 1 1 60%; justify-content: center; }
  .modal .foot .note, .confirm .foot .note { flex-basis: 100%; }
}

/* hareket azaltma açıksa hiçbir giriş/basma hareketi yok */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .btn:active, .icon-btn:active, .chip:active { transform: none !important; }
}
