/* ===========================================================================
   SabriAbi Yönetim · sade panel · /a.css
   Panelin tek stil dosyası. Sıkı CSP ile çalışır:
     default-src 'none'; style-src 'self'; img-src 'self'
     (img-src yalnız panelin kendi logosu /logo-160.webp, /logo-320.webp ve simgesi /favicon.png için)
   JavaScript yok, CDN yok, web fontu yok, satır içi stil yok.
   Durumlar sunucunun yazdığı işaretlerle çizilir:
     aria-current="page" (menü, sekme, filtre), <details open>, :checked.
   Renk rolleri (sabit):
     pirinç  = marka ve ana düğme (her formda tek)
     kırmızı = yalnız "Hepsini durdur" dolu; diğer durdurmalar çerçeveli
     turuncu = bekleyen / dikkat (üçgen)   yeşil = çalışıyor / tamam
   Telefon önce: 390 px, yana kaydırma yok; 960 px üstünde sol menü.
   Onaylı taslağın (panelsade/a.css) birebir kopyası; en altta gerçek panelin ek
   parçaları ve henüz yeniden çizilmemiş sayfaların işaretleri (tablo, eski form).
   ========================================================================= */

:root{
  color-scheme:dark;

  /* yüzeyler */
  --bg:#0b0806;
  --bg-2:#100b08;
  --card:#15100c;
  --card-2:#1d1610;
  --field:#0d0907;
  --line:rgba(214,176,104,.12);
  --line-2:rgba(214,176,104,.24);
  --line-in:rgba(214,176,104,.5);

  /* yazı (hepsi --card üzerinde en az 4.5:1) */
  --ink:#f5ecdb;
  --ink-2:#dacbb1;
  --ink-3:#ae9c81;
  --ph:#8f7e66;

  /* marka */
  --brass:#c8a15a;
  --brass-hi:#efd391;
  --brass-fill:#d2ab62;
  --brass-fill-hi:#e0bc74;
  --on-brass:#24170a;
  --brass-bg:rgba(214,168,92,.10);
  --brass-line:rgba(214,168,92,.42);

  /* durum: her zaman bir kelime ve bir şekille birlikte */
  --ok:#a3d98e;   --ok-bg:rgba(118,170,92,.13);  --ok-line:rgba(140,196,112,.40);
  --warn:#ffb067; --warn-bg:rgba(255,140,50,.11); --warn-line:rgba(255,150,60,.46);
  --err:#ff9f88;  --err-bg:rgba(226,88,60,.13);  --err-line:rgba(240,110,84,.48);
  --test:#f3c264;
  --danger:#b8361f;
  --danger-hi:#cc432a;
  --on-danger:#fff7f2;
  --focus:#ffd88a;

  /* yazı tipleri: yalnız sistem fontları */
  --f-ui:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --f-display:"Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-mono:ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* biçim ve ritim (4 px taban) */
  --r:16px;
  --r-sm:12px;
  --side-w:252px;
  --top-h:60px;
  --t:150ms;
}

/* ---------------------------------------------------------------- temel */
*, *::before, *::after{ box-sizing:border-box; }
html{ background:var(--bg); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  margin:0; min-height:100vh;
  background:radial-gradient(900px 300px at 50% -140px, rgba(214,168,92,.07), transparent 70%), var(--bg);
  color:var(--ink); font:400 16px/1.5 var(--f-ui);
  font-variant-numeric:tabular-nums;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
a{ color:var(--brass-hi); text-underline-offset:3px; text-decoration-thickness:1px; }
a:hover{ color:#fbe4ad; }
h1, h2, h3, p, dl, dd, ul, ol{ margin:0; }
ul, ol{ padding:0; }
img{ display:block; max-width:100%; }
b, strong{ font-weight:650; }
:focus-visible{ outline:2px solid var(--focus); outline-offset:2px; }
.i{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.sr{ position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip{ position:absolute; left:12px; top:8px; z-index:60; padding:10px 14px; border-radius:var(--r-sm); background:var(--brass-hi); color:var(--on-brass); font-weight:700; text-decoration:none; transform:translateY(-220%); }
.skip:focus{ transform:none; }
.muted{ color:var(--ink-3); }
.mono{ font-family:var(--f-mono); font-size:.93em; letter-spacing:.01em; }
.nowrap{ white-space:nowrap; }
.okc{ color:var(--ok); }
.warnc{ color:var(--warn); }

/* ---------------------------------------------------------------- kabuk */
.app{ min-height:100vh; }
.side{ display:none; }
.main{ min-width:0; display:flex; flex-direction:column; min-height:100vh; }

/* telefon üst çubuğu: logo, test rozeti, menü */
.top{
  position:sticky; top:0; z-index:30;
  display:flex; align-items:center; gap:10px; height:var(--top-h); padding:0 10px 0 16px;
  background:rgba(11,8,6,.97); border-bottom:1px solid var(--line);
}
.brand{ display:flex; align-items:center; gap:10px; min-width:0; min-height:44px; color:var(--brass-hi); text-decoration:none; }
.brand img{ width:32px; height:32px; border-radius:9px; box-shadow:0 0 0 1px var(--line-2); }
.brand-t{ font:600 19px/1 var(--f-display); letter-spacing:.01em; white-space:nowrap; }
.brand-t small{ display:block; margin-top:4px; font:700 12.5px/1 var(--f-ui); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
/* dar telefonda (360 / 320 px) logo yazısı rozetin altına giriyordu: yalnız simge kalır */
@media (max-width:389px){
  .top .brand-t{ display:none; }
}
/* 390–420 px: menüde iki ya da üç haneli rozet varken yazı rozetin üstüne binmesin: aralar daralır, rozet ve menü
   küçülmez, yer yine yetmezse logo yazısı kesilir (üst üste binmez) */
.top .chip-test, .top .mnav{ flex:none; }
.top .brand{ flex:0 1 auto; }
.top .brand-t{ min-width:0; overflow:hidden; }
@media (max-width:420px){
  .top{ gap:6px; padding-left:12px; padding-right:8px; }
  .top .brand{ gap:8px; }
  .top .chip-test{ padding:0 8px; }
  .mnav > summary{ gap:6px; padding:0 10px; }
}

.chip-test{
  display:inline-flex; align-items:center; gap:6px; min-height:24px; padding:0 9px;
  border:1px solid rgba(243,194,100,.45); border-radius:999px; background:rgba(243,194,100,.09);
  color:var(--test); font-size:12.5px; font-weight:700; white-space:nowrap;
}
.chip-test::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--test); }

.mnav{ margin-left:auto; }
.mnav > summary{
  list-style:none; display:flex; align-items:center; gap:8px; min-height:44px; padding:0 14px;
  border:1px solid var(--line-2); border-radius:var(--r-sm); color:var(--ink); font-weight:650; cursor:pointer;
  -webkit-user-select:none; user-select:none;
}
.mnav > summary::-webkit-details-marker{ display:none; }
.mnav > summary .n{ min-width:22px; height:22px; padding:0 7px; border-radius:999px; background:var(--brass-fill); color:var(--on-brass); font-size:12.5px; font-weight:800; line-height:22px; text-align:center; }
.mnav[open] > summary{ background:var(--brass-bg); border-color:var(--brass); }
.mnav-p{
  position:absolute; left:0; right:0; top:var(--top-h);
  max-height:calc(100vh - var(--top-h)); overflow-y:auto;
  padding:10px 12px 18px; background:var(--bg-2); border-bottom:1px solid var(--line-2);
  box-shadow:0 30px 60px rgba(0,0,0,.65);
}
.mnav-who{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; padding:14px 14px 0; border-top:1px solid var(--line); color:var(--ink-3); font-size:14.5px; }

/* menü listesi (yan menü ve telefon menüsü aynı) */
.nav{ display:flex; flex-direction:column; gap:2px; list-style:none; }
.nav a{
  display:flex; align-items:center; gap:13px; min-height:52px; padding:0 14px;
  border-radius:var(--r-sm); color:var(--ink-2); font-size:17px; font-weight:550; text-decoration:none;
  transition:background-color var(--t), color var(--t);
}
.nav a:hover{ background:rgba(255,255,255,.04); color:var(--ink); }
.nav a .i{ width:21px; height:21px; color:var(--ink-3); }
.nav a[aria-current="page"]{ background:var(--brass-bg); color:var(--brass-hi); font-weight:650; box-shadow:inset 3px 0 0 var(--brass); }
.nav a[aria-current="page"] .i{ color:var(--brass); }
.nav .n{ margin-left:auto; min-width:26px; height:24px; padding:0 8px; border-radius:999px; background:var(--brass-fill); color:var(--on-brass); font-size:13px; font-weight:800; line-height:24px; text-align:center; }
.nav a.stop, .nav a.stop .i{ color:var(--err); }
.nav a.stop[aria-current="page"]{ background:var(--err-bg); box-shadow:inset 3px 0 0 var(--err); }
.nav li.gap{ margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }

/* sayfa */
.page{ width:100%; max-width:1080px; padding:22px 16px 40px; }
.page.narrow{ max-width:920px; }
.foot{ margin-top:auto; padding:18px 16px 26px; color:var(--ink-3); font-size:13px; border-top:1px solid var(--line); }

/* ---------------------------------------------------------------- masaüstü */
@media (min-width:960px){
  .app{ display:grid; grid-template-columns:var(--side-w) minmax(0, 1fr); }
  .top{ display:none; }
  .side{ display:block; background:var(--bg-2); border-right:1px solid var(--line); }
  .side-in{ position:sticky; top:0; display:flex; flex-direction:column; min-height:100vh; padding:22px 14px 20px; }
  .side .brand{ padding:0 8px 18px; margin-bottom:12px; border-bottom:1px solid var(--line); }
  .side .brand img{ width:40px; height:40px; border-radius:11px; }
  .side .brand-t{ font-size:21px; }
  .side .chip-test{ margin:0 8px 14px; align-self:flex-start; }
  .side .nav a{ min-height:46px; font-size:16px; }
  .side-who{ margin-top:auto; padding:16px 10px 0; border-top:1px solid var(--line); color:var(--ink-3); font-size:14px; line-height:1.4; }
  .side-who b{ display:block; color:var(--ink-2); font-size:15px; }
  .side-who a{ display:inline-block; margin-top:8px; font-weight:600; }
  .page{ padding:40px 48px 56px; }
  .foot{ padding:18px 48px 26px; }
}

/* ---------------------------------------------------------------- sayfa başı */
.ph{ margin-bottom:20px; }
.ph h1{ font:600 30px/1.12 var(--f-display); color:var(--ink); letter-spacing:.005em; }
.ph p{ margin-top:8px; color:var(--ink-3); font-size:15.5px; }
.back{ display:inline-flex; align-items:center; gap:4px; min-height:44px; margin:-8px 0 6px -6px; padding:0 6px; color:var(--ink-2); font-weight:600; text-decoration:none; }
.back .i{ width:18px; height:18px; }
.back:hover{ color:var(--ink); }

.sec{ margin-top:30px; }
.sec-h{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 14px; margin-bottom:12px; }
.sec-h h2{ font-size:19px; font-weight:650; }
.sec-h p, .sec-h span{ color:var(--ink-3); font-size:14.5px; }
.sec-h a{ display:inline-flex; align-items:center; min-height:44px; margin:-12px 0; font-size:15px; font-weight:650; text-decoration:none; }
.lead{ margin-bottom:14px; color:var(--ink-2); font-size:15.5px; }

.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:18px; }
.card + .card{ margin-top:12px; }
.card-h{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; margin-bottom:14px; }
.card-h h2, .card-h h3{ font-size:18px; font-weight:650; }
@media (min-width:960px){
  .card{ padding:22px 24px; }
}

/* ---------------------------------------------------------------- ana sayfa */
.status{
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; min-height:52px; padding:12px 16px;
  border:1px solid var(--line); border-radius:var(--r-sm); background:var(--card); font-size:16px; font-weight:600;
}
.status .dot{ width:10px; height:10px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(163,217,142,.16); flex:none; }
.status.warn{ border-color:var(--warn-line); background:var(--warn-bg); }
.status.warn .dot{ width:13px; height:12px; border-radius:0; background:var(--warn); box-shadow:none; clip-path:polygon(50% 0, 100% 100%, 0 100%); }
.status > span:not(.dot){ flex:1 1 0; min-width:0; }
a.status{ color:var(--ink); text-decoration:none; }
a.status:hover{ border-color:var(--warn); color:var(--ink); }
a.status .go-t{ display:inline-flex; align-items:center; gap:2px; flex:none; color:var(--brass-hi); font-size:15px; font-weight:650; white-space:nowrap; }
a.status .go-t .i{ width:18px; height:18px; }

.stats{ display:grid; gap:10px; margin-top:14px; }
.stats:has(.where[open]){ align-items:start; }  /* açılan döküm yan kartları uzatmasın */
.stat{
  display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"k v" "s v";
  align-items:center; column-gap:14px; row-gap:2px; padding:16px 18px;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r);
}
.stat-k{ grid-area:k; color:var(--ink-2); font-size:15.5px; font-weight:600; }
.stat-s{ grid-area:s; color:var(--ink-3); font-size:13.5px; }
.stat-v{ grid-area:v; color:var(--ink); font-size:26px; font-weight:680; letter-spacing:-.015em; white-space:nowrap; }
.stat-v small{ margin-left:4px; color:var(--ink-3); font-size:15px; font-weight:650; letter-spacing:0; }
.stat.key{ background:linear-gradient(180deg, rgba(214,168,92,.08), rgba(214,168,92,.02)), var(--card); border-color:var(--line-2); }
@media (min-width:640px){
  .stats{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (min-width:1180px){
  .stats{ grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; }
  .stat{ grid-template-columns:minmax(0, 1fr); grid-template-areas:"k" "v" "s"; align-items:start; padding:20px 20px 18px; }
  .stat-v{ margin:10px 0 4px; font-size:31px; }
}
.cover{ display:flex; align-items:flex-start; gap:9px; margin-top:12px; padding:0 4px; color:var(--ink-2); font-size:15px; }
.cover .i{ width:19px; height:19px; margin-top:1px; color:var(--ok); }

.todo{
  display:flex; align-items:center; gap:14px; margin-top:18px; padding:16px 16px 16px 16px;
  border:1px solid var(--brass-line); border-radius:var(--r);
  background:linear-gradient(180deg, rgba(214,168,92,.17), rgba(214,168,92,.07));
  color:var(--ink); text-decoration:none;
}
.todo:hover{ border-color:var(--brass); color:var(--ink); }
.todo-n{ display:grid; place-items:center; width:54px; height:54px; flex:none; border-radius:14px; background:var(--brass-fill); color:var(--on-brass); font-size:25px; font-weight:800; }
.todo-t{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.todo-t b{ font-size:19px; font-weight:700; }
.todo-t span{ color:var(--ink-2); font-size:14.5px; }
.todo > .i{ margin-left:auto; width:24px; height:24px; color:var(--brass-hi); }

.alerts{ display:grid; gap:10px; }
.alert{
  display:grid; grid-template-columns:auto minmax(0, 1fr); gap:6px 12px; padding:16px;
  background:var(--card); border:1px solid var(--line); border-left:4px solid var(--warn); border-radius:var(--r);
}
.alert > .i{ margin-top:1px; color:var(--warn); }
.alert.err{ border-left-color:var(--err); }
.alert.err > .i{ color:var(--err); }
.alert p{ font-size:16px; line-height:1.45; }
.alert p span{ display:block; margin-top:3px; color:var(--ink-3); font-size:14.5px; }
.alert .btn{ grid-column:2; justify-self:start; margin-top:8px; }
@media (min-width:720px){
  .alert{ grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; padding:16px 18px; }
  .alert > .i{ align-self:start; margin-top:2px; }
  .alert .btn{ grid-column:3; margin:0; }
}

/* ---------------------------------------------------------------- düğmeler */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:0 18px; margin:0;
  border:1px solid var(--line-in); border-radius:var(--r-sm); background:transparent;
  color:var(--ink); font:650 16px/1 var(--f-ui); text-decoration:none; white-space:nowrap; cursor:pointer;
  transition:background-color var(--t), border-color var(--t), color var(--t);
}
.btn:hover{ background:rgba(255,255,255,.05); border-color:var(--brass); color:var(--ink); }
.btn .i{ width:18px; height:18px; }
.btn-primary{ background:var(--brass-fill); border-color:var(--brass-fill); color:var(--on-brass); }
.btn-primary:hover{ background:var(--brass-fill-hi); border-color:var(--brass-fill-hi); color:var(--on-brass); }
/* ikinci düğmeler artık hep çerçeveli (.btn); .btn-quiet eski sayfalar için çerçeveli bırakıldı */
.btn-quiet{ border-color:var(--line-2); color:var(--ink-2); }
.btn-quiet:hover{ background:rgba(255,255,255,.06); }
.btn-red{ background:var(--danger); border-color:var(--danger); color:var(--on-danger); }
.btn-red:hover{ background:var(--danger-hi); border-color:var(--danger-hi); color:var(--on-danger); }
.btn-red-o{ border-color:var(--err-line); color:var(--err); }
.btn-red-o:hover{ background:var(--err-bg); border-color:var(--err); color:var(--err); }
.btn-sm{ min-height:42px; padding:0 15px; font-size:15px; border-radius:11px; }
.btn-lg{ min-height:58px; padding:0 26px; font-size:18px; border-radius:14px; }
.btn-block{ width:100%; }
.acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; }
.links{ display:flex; flex-wrap:wrap; gap:8px; }
form{ margin:0; }

/* ---------------------------------------------------------------- formlar */
.form{ display:flex; flex-direction:column; gap:18px; }
.fields{ display:grid; gap:16px; }
.fields.pair{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; align-items:end; }
@media (min-width:600px){ .fields.pair{ max-width:560px; gap:16px; } }
@media (min-width:600px){
  .fields.two{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .fields.three{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
.field{ display:flex; flex-direction:column; gap:7px; min-width:0; }
.field > label, .lbl{ color:var(--ink-2); font-size:15px; font-weight:600; }
.lbl-x{ color:var(--ink-3); font-weight:500; }
.group{ display:flex; flex-direction:column; gap:10px; margin:0; padding:0; border:0; min-width:0; }
.group > legend{ padding:0; margin:0 0 2px; color:var(--ink); font-size:16px; font-weight:650; }
.in{
  width:100%; min-height:50px; padding:11px 14px; margin:0;
  border:1px solid var(--line-in); border-radius:var(--r-sm); background:var(--field);
  color:var(--ink); font:400 16px/1.3 var(--f-ui);
  transition:border-color var(--t), box-shadow var(--t);
}
.in:hover{ border-color:rgba(214,176,104,.72); }
.in:focus{ outline:none; border-color:var(--brass); box-shadow:0 0 0 3px rgba(214,168,92,.24); }
.in::placeholder{ color:var(--ph); }
textarea.in{ min-height:100px; resize:vertical; line-height:1.5; }
.in-mono{ font-family:var(--f-mono); font-size:15px; letter-spacing:.01em; word-break:break-all; }
textarea.in-mono{ min-height:84px; }
.in-mono::placeholder{ font-family:var(--f-ui); letter-spacing:0; }
textarea.tall{ min-height:150px; }
.sel{ position:relative; min-width:0; }
.sel select{ -webkit-appearance:none; appearance:none; padding-right:40px; }
.sel::after{ content:""; position:absolute; right:17px; top:50%; width:8px; height:8px; border-right:2px solid var(--ink-3); border-bottom:2px solid var(--ink-3); transform:translateY(-70%) rotate(45deg); pointer-events:none; }
select.in option{ background:#1a120d; color:var(--ink); }
.in-u{ display:flex; align-items:stretch; min-width:0; }
.in-u .in{ min-width:0; border-top-right-radius:0; border-bottom-right-radius:0; text-align:right; }
.in-u .u{ display:flex; align-items:center; padding:0 12px; border:1px solid var(--line-in); border-left:0; border-radius:0 var(--r-sm) var(--r-sm) 0; background:var(--card-2); color:var(--ink-3); font-size:15px; font-weight:650; white-space:nowrap; }
.hint{ color:var(--ink-3); font-size:14px; line-height:1.45; }
.hint.ok{ display:flex; align-items:center; gap:6px; color:var(--ok); }
.hint.ok .i{ width:16px; height:16px; }
.check{ display:flex; align-items:flex-start; gap:12px; min-height:44px; padding-top:2px; color:var(--ink-2); font-size:15.5px; cursor:pointer; }
.check input{ width:22px; height:22px; margin:0; flex:none; accent-color:var(--brass-fill); }

/* onay kodu + ana düğme: formun son satırı */
.go{ display:flex; flex-direction:column; gap:14px; padding-top:16px; border-top:1px solid var(--line); }
.code .in{ width:230px; max-width:100%; font-family:var(--f-mono); font-size:23px; letter-spacing:.36em; text-align:center; padding-left:calc(14px + .36em); }
@media (max-width:599px){
  .go .acts .btn-primary, .go .acts .btn-red-o{ flex:1 1 100%; }
}
@media (min-width:600px){
  .go{ flex-direction:row; flex-wrap:wrap; align-items:flex-end; gap:14px 18px; }
  .go .code{ flex:0 0 auto; }
}

/* seçmeli düğme grubu (radio): sunucu `checked` yazar */
.seg{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px; padding:4px; border:1px solid var(--line-in); border-radius:14px; background:var(--field); }
.seg input{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.seg label{ display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 12px; border-radius:10px; color:var(--ink-2); font-size:15.5px; font-weight:650; cursor:pointer; text-align:center; }
.seg label:hover{ color:var(--ink); background:rgba(255,255,255,.04); }
.seg input:checked + label{ background:var(--brass-fill); color:var(--on-brass); }
.seg input:focus-visible + label{ outline:2px solid var(--focus); outline-offset:2px; }

/* ---------------------------------------------------------------- açılır bölümler */
.more{ border-top:1px dashed var(--line-2); }
.more > summary, .tech > summary{
  list-style:none; display:flex; align-items:center; gap:10px; min-height:50px;
  color:var(--ink-2); font-size:15.5px; font-weight:650; cursor:pointer;
}
.more > summary::-webkit-details-marker, .tech > summary::-webkit-details-marker{ display:none; }
.more > summary::after, .tech > summary::after, .item > summary::after, .xrow > summary::after{
  content:""; width:8px; height:8px; flex:none; margin:-4px 4px 0 auto;
  border-right:2px solid var(--ink-3); border-bottom:2px solid var(--ink-3); transform:rotate(45deg);
  transition:transform var(--t);
}
.more[open] > summary::after, .tech[open] > summary::after, .item[open] > summary::after, .xrow[open] > summary::after{ margin-top:4px; transform:rotate(-135deg); }
.more > summary:hover, .tech > summary:hover{ color:var(--ink); }
.more-b{ display:flex; flex-direction:column; gap:14px; padding:2px 0 16px; }
.more-b .links{ margin-top:-4px; }

.tech{ margin-top:30px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); }
.tech > summary{ padding:0 18px; min-height:56px; color:var(--ink-3); }
.tech > summary .i{ width:19px; height:19px; }
.tech-b{ display:flex; flex-direction:column; gap:16px; padding:4px 18px 20px; border-top:1px solid var(--line); padding-top:16px; color:var(--ink-2); font-size:15px; }

/* ---------------------------------------------------------------- notlar, rozetler */
.note{
  display:flex; align-items:flex-start; gap:10px; padding:12px 14px;
  border:1px solid rgba(214,168,92,.24); border-radius:var(--r-sm); background:var(--brass-bg);
  color:var(--ink-2); font-size:14.5px; line-height:1.45;
}
.note .i{ width:18px; height:18px; margin-top:1px; color:var(--brass); }
.note b{ color:var(--ink); }
.note.warn{ border-color:var(--warn-line); background:var(--warn-bg); }
.note.warn .i{ color:var(--warn); }

.pill{
  display:inline-flex; align-items:center; gap:6px; min-height:26px; padding:0 10px;
  border:1px solid var(--line-2); border-radius:999px; color:var(--ink-2);
  font-size:13px; font-weight:700; line-height:1; white-space:nowrap;
}
.pill::before{ content:""; width:7px; height:7px; flex:none; border-radius:50%; background:currentColor; }
.pill.ok{ color:var(--ok); border-color:var(--ok-line); background:var(--ok-bg); }
.pill.warn{ color:var(--warn); border-color:var(--warn-line); background:var(--warn-bg); }
.pill.warn::before{ width:8px; border-radius:0; clip-path:polygon(50% 0, 100% 100%, 0 100%); }
.pill.err{ color:var(--err); border-color:var(--err-line); background:var(--err-bg); }
.pill.err::before{ border-radius:2px; }
.pill.plain::before{ display:none; }

/* ---------------------------------------------------------------- filtreler ve sekmeler */
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chips a{
  display:inline-flex; align-items:center; min-height:44px; padding:0 15px;
  border:1px solid var(--line-2); border-radius:999px; color:var(--ink-2);
  font-size:15.5px; font-weight:650; text-decoration:none;
}
.chips a:hover{ border-color:var(--brass); color:var(--ink); }
.chips a[aria-current="page"]{ background:var(--brass-fill); border-color:var(--brass-fill); color:var(--on-brass); }
@media (max-width:599px){
  .chips{ gap:6px; }
  .chips a{ padding:0 10px; font-size:15px; }
}

.tabs{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px; margin-bottom:24px; padding:4px; border:1px solid var(--line); border-radius:15px; background:var(--bg-2); }
.tabs a{
  display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:4px 8px;
  border-radius:11px; color:var(--ink-2); font-size:15px; font-weight:650; line-height:1.2; text-align:center; text-decoration:none;
}
.tabs a .i{ width:18px; height:18px; color:var(--ink-3); }
.tabs a:hover{ color:var(--ink); background:rgba(255,255,255,.04); }
.tabs a[aria-current="page"]{ background:var(--brass-fill); color:var(--on-brass); }
.tabs a[aria-current="page"] .i{ color:var(--on-brass); }
@media (min-width:720px){
  .tabs{ display:flex; }
  .tabs a{ flex:1 1 0; }
}

/* ---------------------------------------------------------------- listeler */
.list{ display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.list > * + *{ border-top:1px solid var(--line); }
.row{
  display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:12px 14px;
  min-height:72px; padding:14px 16px; color:inherit; text-decoration:none;
}
a.row:hover{ background:rgba(255,255,255,.025); color:inherit; }
.row-ic{ display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--card-2); color:var(--ink-2); }
.row-ic.ic-in{ color:var(--ok); }
.row-ic.ic-out{ color:var(--brass-hi); }
.row-ic.ic-bad{ color:var(--err); }
.row-t{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.row-t b{ font-size:16px; font-weight:620; overflow-wrap:anywhere; }
.row-t > span{ color:var(--ink-3); font-size:14px; overflow-wrap:anywhere; }
.row-t > .one{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal; }
.row-t > .pill{ align-self:flex-start; margin-top:6px; }
.row-r{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; }
.row-r .muted{ font-size:13.5px; }
.amt{ font-size:17px; font-weight:680; white-space:nowrap; }
.amt-s{ color:var(--ink-3); font-size:13.5px; white-space:nowrap; }
.day{ padding:22px 4px 10px; color:var(--ink-2); font-size:15px; font-weight:650; }
.day:first-child{ padding-top:4px; }
.list-foot{ display:flex; justify-content:center; margin-top:16px; }

/* açılan satır (işlem ayrıntısı) */
.xrow > summary{ list-style:none; cursor:pointer; padding-right:40px; position:relative; }
.xrow > summary::-webkit-details-marker{ display:none; }
.xrow > summary::after{ position:absolute; right:18px; top:50%; margin:-6px 0 0; }
.xrow[open] > summary::after{ margin-top:-2px; }
.xrow-b{ display:flex; flex-direction:column; gap:14px; padding:2px 16px 16px 72px; }
@media (max-width:599px){
  .xrow-b{ padding-left:16px; }
}

.av{ display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:50%; background:var(--card-2); border:1px solid var(--line-2); color:var(--brass-hi); font-size:15px; font-weight:750; letter-spacing:.02em; }
.av.lg{ width:60px; height:60px; font-size:20px; }

/* anahtar–değer */
.kv{ display:grid; grid-template-columns:max-content minmax(0, 1fr); gap:9px 16px; font-size:15.5px; }
.kv dt{ color:var(--ink-3); }
.kv dd{ margin:0; min-width:0; color:var(--ink); font-weight:560; overflow-wrap:anywhere; }
.kv dd .mono{ font-weight:500; }
@media (max-width:599px){
  .kv.stack{ grid-template-columns:minmax(0, 1fr); gap:2px; }
  .kv.stack dt{ font-size:13.5px; }
  .kv.stack dd + dt{ margin-top:10px; }
}
.addr{ font-family:var(--f-mono); font-size:15px; line-height:1.55; letter-spacing:.02em; word-break:break-all; color:var(--ink-2); }
.addr b{ color:var(--brass-hi); font-weight:700; }
/* IBAN: dörtlü gruplar CSS boşluğuyla; seçilince boşluksuz kopyalanır */
.iban{ font-family:var(--f-mono); font-size:15px; letter-spacing:.02em; }
.iban span{ white-space:nowrap; }
.iban span:not(:first-child){ margin-left:.5em; }

.checks{ display:grid; gap:7px; list-style:none; font-size:15.5px; }
.checks li{ display:flex; align-items:flex-start; gap:9px; }
.checks .i{ width:19px; height:19px; margin-top:1px; color:var(--ok); }
.checks li.warn{ color:var(--ink); }
.checks li.warn .i{ color:var(--warn); }

/* ---------------------------------------------------------------- bekleyenler */
.grp{ margin-top:28px; }
.grp:first-of-type{ margin-top:6px; }
.grp-h{ display:flex; align-items:center; gap:10px; margin:0 0 12px 2px; font-size:18px; font-weight:650; }
.grp-h .i{ width:21px; height:21px; color:var(--brass); }
.grp-h .n{ min-width:26px; height:24px; padding:0 8px; border-radius:999px; border:1px solid var(--line-2); color:var(--ink-2); font-size:13px; font-weight:750; line-height:22px; text-align:center; }
.items{ display:grid; gap:12px; }
.item{ background:var(--card); border:1px solid var(--line); border-radius:var(--r); }
.item[open]{ border-color:var(--line-2); box-shadow:0 14px 36px rgba(0,0,0,.28); }
.item > summary{
  list-style:none; display:grid; grid-template-columns:minmax(0, 1fr) auto auto; align-items:center; gap:3px 12px;
  padding:16px 16px 16px 18px; cursor:pointer;
}
.item > summary::-webkit-details-marker{ display:none; }
.item > summary::after{ grid-column:3; grid-row:1 / span 3; margin:-4px 2px 0 0; }
.item[open] > summary::after{ margin-top:4px; }
.item-k{ grid-column:1 / 3; color:var(--brass-hi); font-size:14.5px; font-weight:650; }
.item-t{ grid-column:1; color:var(--ink); font-size:16.5px; font-weight:620; line-height:1.35; }
.item-m{ grid-column:1; color:var(--ink-3); font-size:14px; }
.item-a{ grid-column:2; grid-row:2 / span 2; justify-self:end; font-size:19px; font-weight:720; white-space:nowrap; }
.item-a small{ display:block; margin-top:2px; color:var(--ink-3); font-size:13px; font-weight:600; text-align:right; }
.late{ color:var(--warn); font-weight:650; }
.item-b{ display:flex; flex-direction:column; gap:16px; padding:16px 18px 18px; border-top:1px solid var(--line); }
.item-b > p{ color:var(--ink-2); font-size:15.5px; }
.quiet-link{ display:flex; align-items:center; gap:8px; min-height:48px; margin-top:8px; padding:0 4px; color:var(--ink-2); font-size:15px; text-decoration:none; }
.quiet-link b{ color:var(--brass-hi); font-weight:650; }
.quiet-link .i{ width:18px; height:18px; color:var(--ink-3); }
.empty{ display:flex; align-items:center; gap:10px; margin-top:28px; padding:16px 18px; border:1px dashed var(--line-2); border-radius:var(--r); color:var(--ink-3); font-size:15px; }
.empty .i{ color:var(--ink-3); }

/* ---------------------------------------------------------------- oyuncu */
.search{ display:flex; gap:10px; }
.search .in{ flex:1 1 auto; }
.search .btn{ flex:none; }
.who{ display:flex; align-items:center; gap:14px; }
.who h1{ font:600 28px/1.15 var(--f-display); }
.who p{ margin-top:4px; color:var(--ink-3); font-size:14.5px; overflow-wrap:anywhere; }
.split{ display:grid; gap:24px; margin-top:22px; }
@media (min-width:1180px){
  .split{ grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); align-items:start; gap:28px; }
}
.hero-k{ color:var(--ink-2); font-size:15.5px; font-weight:600; }
.hero-v{ margin-top:4px; font-size:42px; font-weight:720; letter-spacing:-.02em; line-height:1.1; }
.hero-v small{ margin-left:6px; color:var(--ink-3); font-size:20px; font-weight:650; letter-spacing:0; }
.mini{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.mini div{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.mini span{ color:var(--ink-3); font-size:13.5px; line-height:1.3; }
.mini b{ font-size:18px; font-weight:700; white-space:nowrap; }
.totals{ margin-top:12px; padding:0 4px; color:var(--ink-3); font-size:14.5px; }
.acc{ display:flex; flex-direction:column; }
.acc > .more:first-child{ border-top:0; }
.acc > .more > summary{ min-height:58px; font-size:16.5px; color:var(--ink); }
.acc > .more > summary .i{ width:21px; height:21px; color:var(--brass); }
.acc > .more > summary .i.red{ color:var(--err); }
.noteline{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; }
.noteline span{ color:var(--ink-3); font-size:13.5px; }

/* ---------------------------------------------------------------- ayarlar */
.net{ display:flex; flex-direction:column; gap:12px; padding:18px; }
.net-h{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; }
.net-h b{ display:flex; align-items:center; gap:9px; font-size:17px; }
.net-h b .i{ color:var(--brass); }
.net-h span{ color:var(--ink-2); font-size:15px; }
.net .more{ margin-top:2px; }
.acct{ display:flex; flex-direction:column; gap:14px; }
.acct-h{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; }
.acct-h h3{ display:flex; align-items:center; gap:10px; font-size:18px; }
.acct-h h3 .i{ color:var(--brass); }
.bal{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; padding:13px 15px; border-radius:var(--r-sm); background:var(--bg-2); border:1px solid var(--line); }
.bal > b{ font-size:22px; font-weight:700; white-space:nowrap; }
.example{ display:grid; gap:6px; padding:14px 16px; border-radius:var(--r-sm); background:var(--bg-2); border:1px solid var(--line); font-size:15px; }
.example-h{ color:var(--ink-2); font-size:14.5px; font-weight:650; }
.example div{ display:flex; justify-content:space-between; gap:12px; }
.example .sum{ padding-top:6px; border-top:1px solid var(--line); font-weight:700; font-size:16.5px; }
.fee{ display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:4px 14px; }
.fee + .fee{ padding-top:16px; border-top:1px solid var(--line); }
.fee-t b{ display:block; font-size:16.5px; }
.fee-t span{ color:var(--ink-3); font-size:14px; }
.fee .in-u{ width:132px; }
.fee .fixed{ color:var(--ink-2); font-weight:650; white-space:nowrap; }
.fee .example{ grid-column:1 / -1; margin-top:6px; }
.tl{ display:grid; gap:2px; }
.tl div{ display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.tl div:last-child{ border-bottom:0; }
.tl span{ color:var(--ink-3); }
.tl b{ font-weight:620; text-align:right; }
.sub-h{ margin:6px 0 -4px; color:var(--ink); font-size:16px; font-weight:650; }

/* ---------------------------------------------------------------- acil durdurma */
.bigstop{
  padding:22px 18px; border:1px solid var(--err-line); border-radius:var(--r);
  background:linear-gradient(180deg, rgba(184,54,31,.2), rgba(184,54,31,.07));
}
.bigstop h2{ display:flex; align-items:center; gap:10px; font-size:21px; font-weight:700; }
.bigstop h2 .i{ width:24px; height:24px; color:var(--err); }
.bigstop > p{ margin-top:8px; color:var(--ink-2); font-size:15.5px; }
.bigstop details{ margin-top:18px; }
.bigstop summary{ list-style:none; }
.bigstop summary::-webkit-details-marker{ display:none; }
.bigstop summary .when-open{ display:none; }
.bigstop details[open] summary{ background:transparent; border-color:var(--line-in); color:var(--ink); }
.bigstop details[open] summary .when-open{ display:inline; }
.bigstop details[open] summary .when-closed{ display:none; }
.confirm{ display:flex; flex-direction:column; gap:16px; margin-top:14px; padding:18px; border:1px solid var(--err-line); border-radius:var(--r-sm); background:rgba(0,0,0,.3); }
.confirm p{ color:var(--ink); font-size:16px; }
.confirm p b{ font-size:17px; }
.confirm p span{ display:block; margin-top:4px; color:var(--ink-2); font-size:15px; }
@media (min-width:720px){
  .bigstop{ display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:4px 28px; align-items:start; padding:26px 28px; }
  .bigstop > h2, .bigstop > p{ grid-column:1; }
  .bigstop details{ grid-column:2; grid-row:1 / span 2; margin-top:0; }
  .bigstop details[open]{ grid-column:1 / -1; grid-row:auto; margin-top:16px; }
  .bigstop details[open] summary{ width:auto; }
}

.flows{ display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.flow{ display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:10px 16px; padding:18px; }
.flow + .flow{ border-top:1px solid var(--line); }
.flow-t{ display:flex; flex-direction:column; gap:5px; min-width:0; }
.flow-t b{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:17px; font-weight:650; }
.flow-t > span{ color:var(--ink-3); font-size:14.5px; line-height:1.6; }
.flow-t > span .pill{ margin-right:6px; vertical-align:1px; }
.flow.off{ background:rgba(226,88,60,.07); }
.flow-why{ grid-column:1 / -1; color:var(--ink-2); font-size:14.5px; }
.flow .form{ grid-column:1 / -1; padding:16px; border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--bg-2); gap:14px; }
.flow .form .go{ padding-top:0; border-top:0; }

/* ---------------------------------------------------------------- hesap */
.sess .row{ min-height:66px; }
.out{ display:flex; margin-top:22px; }

/* ---------------------------------------------------------------- giriş */
.login{ display:flex; align-items:center; justify-content:center; min-height:100vh; padding:36px 16px; }
.login-c{ width:100%; max-width:420px; display:flex; flex-direction:column; }
.login-mark{ display:flex; flex-direction:column; align-items:center; gap:12px; margin-bottom:24px; text-align:center; }
.login-mark img{ width:108px; height:auto; filter:drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.login-mark h1{ font:600 31px/1.05 var(--f-display); color:var(--brass-hi); }
.login-card{ padding:24px 22px 24px; border:1px solid var(--line-2); border-radius:20px; background:var(--card); box-shadow:0 24px 60px rgba(0,0,0,.45); }
.login-card .code .in{ width:100%; max-width:none; min-height:60px; font-size:28px; letter-spacing:.5em; padding-left:calc(14px + .5em); }
.login-foot{ display:flex; align-items:flex-start; gap:10px; margin-top:18px; padding:0 6px; color:var(--ink-3); font-size:14.5px; line-height:1.5; text-align:left; }
.login-foot a{ white-space:nowrap; font-weight:650; }
.login-foot .i{ width:17px; height:17px; margin-top:2px; }

/* ---------------------------------------------------------------- hareket azaltma */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ transition:none !important; }
}

/* ---------------------------------------------------------------- küçük yardımcılar */
.mt-s{ margin-top:10px; }
.mt{ margin-top:16px; }
.mt-l{ margin-top:24px; }
.linkbtn{ padding:0; margin:0; border:0; background:none; color:var(--brass-hi); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; cursor:pointer; }
.linkbtn:hover{ color:#fbe4ad; }
.bal-t{ display:flex; flex-direction:column; gap:2px; color:var(--ink-2); font-size:15px; font-weight:600; }
.bal-t small{ color:var(--ink-3); font-size:13.5px; font-weight:500; }
.bal-t small.late{ color:var(--warn); font-weight:650; }
.tech.add > summary{ color:var(--brass-hi); }
.tech.add > summary .i{ color:var(--brass-hi); }

/* ---------------------------------------------------------------- ayar satırları (etiket solda, kutu sağda) */
.setlist{ display:flex; flex-direction:column; }
.set{ display:grid; grid-template-columns:minmax(0, 1fr) 170px; align-items:center; gap:6px 14px; padding:12px 0; border-top:1px solid var(--line); }
.setlist > .set:first-child{ border-top:0; padding-top:2px; }
.set > label{ color:var(--ink); font-size:16px; font-weight:600; line-height:1.35; }
.set > label span{ display:block; margin-top:2px; color:var(--ink-3); font-size:14px; font-weight:400; }
.set .in-u{ width:170px; }
.set .hint{ grid-column:1 / -1; }
@media (max-width:599px){
  .set{ grid-template-columns:minmax(0, 1fr) 150px; }
  .set .in-u{ width:150px; }
}

/* tek satır bilgi (simge, metin, durum) */
.line{ display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:10px 12px; padding:14px 0 2px; border-top:1px dashed var(--line-2); }
.line > .i{ width:21px; height:21px; color:var(--brass); align-self:start; margin-top:2px; }
.line b{ display:block; font-size:16px; font-weight:620; }
.line span.sub{ display:block; margin-top:2px; color:var(--ink-3); font-size:14px; }
.sum-t{ display:flex; flex-direction:column; gap:1px; min-width:0; }
.sum-t small{ color:var(--ink-3); font-size:14px; font-weight:500; }
.saved{ display:flex; align-items:center; gap:8px; color:var(--ok); font-size:15px; font-weight:600; }
.saved .i{ width:18px; height:18px; }

/* radyo seçenekleri (açıklamalı) */
.opts{ display:grid; gap:8px; }
.opt{ display:flex; align-items:flex-start; gap:12px; padding:14px; border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--field); cursor:pointer; }
.opt input{ width:22px; height:22px; margin:1px 0 0; flex:none; accent-color:var(--brass-fill); }
.opt b{ display:block; color:var(--ink); font-size:16px; }
.opt span span{ display:block; margin-top:2px; color:var(--ink-3); font-size:14px; }
.opt:has(input:checked){ border-color:var(--brass); background:var(--brass-bg); }

/* rapor */
.rep-top{ display:grid; gap:10px; }
@media (min-width:720px){ .rep-top{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; } }
.tl .sum{ padding-top:12px; border-top:1px solid var(--line-2); }
.tl .sum span, .tl .sum b{ color:var(--ink); font-weight:700; }
.neg{ color:var(--ink-2); }

@media (max-width:599px){
  .in-u .in{ padding-left:10px; padding-right:10px; }
  .in-u .u{ padding:0 10px; }
}

/* ================================================================ 2. tur (UX incelemesi): yeni parçalar */

/* ana sayfa: "Kasadaki para" kartında "Nerede?" dökümü (JS yok, <details>) */
.stat.with-where{ grid-template-areas:"k v" "d d"; }
.where{ grid-area:d; margin-top:2px; }
.where > summary{
  list-style:none; display:inline-flex; align-items:center; gap:8px; min-height:44px;
  color:var(--brass-hi); font-size:15.5px; font-weight:650; cursor:pointer;
}
.where > summary::-webkit-details-marker{ display:none; }
.where > summary::after{ content:""; width:7px; height:7px; margin-top:-3px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform var(--t); }
.where[open] > summary::after{ margin-top:3px; transform:rotate(-135deg); }
.where-b{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.where-b a{ display:flex; align-items:center; gap:10px; min-height:50px; border-bottom:1px solid var(--line); color:var(--ink-2); font-size:15.5px; text-decoration:none; }
.where-b a:last-child{ border-bottom:0; }
.where-b a span{ flex:1 1 auto; min-width:0; }
.where-b a b{ color:var(--ink); font-weight:650; white-space:nowrap; }
.where-b a .i{ width:16px; height:16px; color:var(--ink-3); }
.where-b a:hover{ color:var(--ink); }
@media (min-width:1180px){
  .stat.with-where{ grid-template-areas:"k" "v" "d"; }
}

/* ana sayfa: dünkü rapor satırı */
.rowlink{
  display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:12px 14px;
  margin-top:30px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--r); background:var(--card);
  color:var(--ink); text-decoration:none;
}
.rowlink:hover{ border-color:var(--line-2); color:var(--ink); }
.rowlink > .i{ width:20px; height:20px; color:var(--ink-3); }

/* kasadaki para sayfası */
.kasa-top .hero-v{ margin-top:0; }
.kasa-top .cover{ margin-top:10px; padding:0; }
.kx > summary .late{ color:var(--warn); font-weight:650; }
.lead0{ color:var(--ink-2); font-size:15.5px; }
.un{ padding:12px 0; border-bottom:1px solid var(--line); }
.un-h{ display:flex; justify-content:space-between; gap:12px; font-size:16px; }
.un-h b + b{ white-space:nowrap; }
.un p{ margin-top:4px; color:var(--ink-3); font-size:14.5px; line-height:1.5; }
.sub-card{ padding:16px; border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--bg-2); gap:14px; }
.sub-card .sub-h{ margin:0; }
.sub-card .go{ padding-top:14px; }
.set > label span.late{ color:var(--warn); font-weight:650; }

/* bekleyenler: oyuncu satırı, kod notu, uyarı kartları */
.who-l{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 12px; padding:2px 4px 2px 14px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--bg-2); }
.item-b > p.who-l{ color:var(--ink-2); font-size:15px; }
.who-l b{ color:var(--ink); }
.who-l a{ display:inline-flex; align-items:center; gap:2px; min-height:44px; padding:0 8px; font-weight:650; text-decoration:none; white-space:nowrap; }
.who-l a .i{ width:16px; height:16px; }
.who-two{ display:flex; flex-wrap:wrap; }
.go-note{ flex:1 1 100%; margin-top:-4px; }
.item.warn-i{ border-left:4px solid var(--warn); }
.item.err-i{ border-left:4px solid var(--err); }
.item.warn-i .item-k{ color:var(--warn); }
.item.err-i .item-k{ color:var(--err); }
.items > .tech{ margin-top:0; }
.elle > summary{ font-size:15.5px; }

/* tek dokunuşla tamamı seçilen değerler (IBAN, tutar, açıklama, adres) */
.copy{ -webkit-user-select:all; user-select:all; }
span.copy{ padding:1px 5px; margin-left:-5px; border-radius:6px; background:rgba(214,168,92,.11); -webkit-box-decoration-break:clone; box-decoration-break:clone; }
p.copy{ padding:10px 12px; border:1px dashed var(--line-2); border-radius:var(--r-sm); background:var(--bg-2); }

/* ayarlar: USDT çekim ücreti sorusu; "Oyuncu öder" seçilince tutar kutusu görünür (JS yok) */
.feeq-amt{ display:none; }
.feeq:has(input[value="player"]:checked) .feeq-amt{ display:flex; }
@media (min-width:600px){ .opts.two{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }

/* kipe göre tek cümle (test modunda küçük not) */
.hint.with-i{ display:flex; align-items:flex-start; gap:8px; }
.hint.with-i .i{ width:17px; height:17px; margin-top:1px; color:var(--brass); }

/* dar telefonda (390 px altı) satır simgeleri kalkar, yazıya yer açılır; tür zaten başlıkta yazıyor */
@media (max-width:389px){
  .row:has(> .row-ic){ grid-template-columns:minmax(0, 1fr) auto; }
  .row > .row-ic{ display:none; }
}

/* telefonda ağ adı ve "Bu adreste …" hep alt alta: üç ağ aynı ritimde */
@media (max-width:599px){
  .net-h{ flex-direction:column; align-items:flex-start; gap:2px; }
}

/* ================================================================ gerçek panel: kabuğun ek parçaları */

/* her sayfanın üstündeki şerit: bekleyen yönlendirme (iptal et), kayıtlı uyarılar, kurulum uyarıları */
.bars{ display:flex; flex-direction:column; gap:8px; margin:-6px 0 20px; }
.bar{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:12px 14px;
  border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--card); color:var(--ink-2); font-size:15px; line-height:1.45;
}
.bar > .i{ width:19px; height:19px; flex:none; align-self:flex-start; margin-top:1px; }
.bar > p{ flex:1 1 240px; min-width:0; overflow-wrap:anywhere; }
.bar > p b{ color:var(--ink); }
.bar > form{ flex:none; }
.bar.warn{ border-color:var(--warn-line); background:var(--warn-bg); }
.bar.warn > .i{ color:var(--warn); }
.bar.err{ border-color:var(--err-line); background:var(--err-bg); }
.bar.err > .i{ color:var(--err); }

/* bildirim kutusu: hata (kırmızı) ya da tamam (yeşil); kısa kod destek için */
.notice{
  display:flex; align-items:flex-start; gap:10px; margin:0 0 18px; padding:13px 15px;
  border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--card); color:var(--ink); font-size:15.5px; line-height:1.45;
}
.notice > .i{ width:19px; height:19px; margin-top:1px; }
.notice > span{ min-width:0; overflow-wrap:anywhere; }
.notice code{ margin-left:4px; color:var(--ink-3); font-size:.82em; }
.notice.bad{ border-color:var(--err-line); background:var(--err-bg); }
.notice.bad > .i{ color:var(--err); }
.notice.ok{ border-color:var(--ok-line); background:var(--ok-bg); }
.notice.ok > .i{ color:var(--ok); }

/* kod penceresi açıkken kod kutusunun yerine */
.code-ok{ min-height:50px; }

/* ================================================================ eski sayfaların işaretleri (yeni sayfalar gelince azalır) */
/* başlıksız h2/h3, kod, tek satır (h3 yalnız "Teknik ayrıntılar" içinde: maketin kendi başlıklarına dokunmaz) */
.page > h2:not([class]), .page > section:not([class]) > h2:not([class]){ margin:30px 0 12px; color:var(--ink); font-size:19px; font-weight:650; }
.tech-b h3:not([class]){ margin:18px 0 8px; color:var(--ink); font-size:16.5px; font-weight:650; }
.page > p:not([class]){ margin:8px 0; color:var(--ink-2); }
code{ font-family:var(--f-mono); font-size:.88em; color:var(--ink-2); overflow-wrap:anywhere; }
code.nw, .nw{ white-space:nowrap; overflow-wrap:normal; }
.card > p:not([class]) + p:not([class]){ margin-top:8px; }

/* tablolar: kutunun içinde yana kayar, sayfa kaymaz; telefonda geniş tablolar satır satır */
.tw{ overflow-x:auto; margin:0 0 16px; background:var(--card); border:1px solid var(--line); border-radius:var(--r); }
table{ width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
th, td{ padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; font-size:15px; }
th{ color:var(--ink-3); font-size:13.5px; font-weight:650; white-space:nowrap; }
tr:last-child td{ border-bottom:0; }
td form{ margin:4px 0; }
@media (max-width:599px){
  th, td{ padding:9px 10px; }
  .tw.stack{ overflow-x:visible; }
  .stack table, .stack tbody, .stack tr, .stack td{ display:block; }
  .stack thead{ display:none; }
  .stack tr{ padding:8px 0; border-bottom:1px solid var(--line); }
  .stack tr:last-child{ border-bottom:0; }
  .stack td{ border:0; padding:4px 14px; }
  .stack td:empty{ display:none; }
  .stack td[data-l]::before{ content:attr(data-l); display:inline-block; min-width:7.5em; margin-right:6px; color:var(--ink-3); font-size:13px; font-weight:650; }
  .stack td[data-l=""]::before{ content:none; }
}

/* eski formlar: satır içi form, etiketli kutu, çıplak girişler */
form.row{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 10px; min-height:0; padding:0; grid-template-columns:none; }
.f{ display:flex; flex-direction:column; gap:6px; min-width:0; margin:0 0 12px; }
.f > span{ color:var(--ink-2); font-size:14.5px; font-weight:600; }
form.row .f{ margin:0; }
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea):not(.in){
  min-width:0; max-width:100%; min-height:46px; padding:10px 12px; margin:0;
  border:1px solid var(--line-in); border-radius:var(--r-sm); background:var(--field); color:var(--ink); font:400 16px/1.3 var(--f-ui);
}
:where(input, select, textarea):not(.in):focus{ outline:none; border-color:var(--brass); box-shadow:0 0 0 3px rgba(214,168,92,.24); }
textarea:not(.in){ width:100%; min-height:96px; resize:vertical; }
.actions{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 10px; }
.btn.primary{ background:var(--brass-fill); border-color:var(--brass-fill); color:var(--on-brass); }
.btn.primary:hover{ background:var(--brass-fill-hi); border-color:var(--brass-fill-hi); color:var(--on-brass); }
.btn.danger{ border-color:var(--err-line); color:var(--err); }
.btn.danger:hover{ background:var(--err-bg); border-color:var(--err); color:var(--err); }
.btn.small{ min-height:42px; padding:0 14px; font-size:15px; border-radius:11px; }

/* eski sayılar ve kartlar */
.grid{ display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); }
.stat > span:not([class]){ color:var(--ink-3); font-size:13.5px; }
.stat > span:not([class]):first-child{ color:var(--ink-2); font-size:15px; font-weight:600; }
.stat > b{ color:var(--ink); font-size:24px; font-weight:680; letter-spacing:-.01em; overflow-wrap:anywhere; }
.pill.bad{ color:var(--err); border-color:var(--err-line); background:var(--err-bg); }
.pill.bad::before{ border-radius:2px; }
.pill.muted{ color:var(--ink-2); }
.pill.muted::before{ display:none; }

/* eski kırmızı / sarı şeritler (kayıtlı uyarılar bunları üretebilir) */
.banner{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:12px 14px; border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--card); }
.banner p{ margin:0; flex:1 1 260px; min-width:0; overflow-wrap:anywhere; }
.banner.red{ flex-direction:column; align-items:stretch; border-color:var(--err-line); background:var(--err-bg); color:var(--ink); font-weight:600; }
.banner.red p { flex: none; } /* in a column, the 260px flex-basis above would make every line 260px tall */
.banner.yellow{ border-color:var(--warn-line); background:var(--warn-bg); color:var(--ink); }

/* kayıt sayfasının karekodu: beyaz zemin (tarayıcılar koyu zeminde okuyamaz) */
.qr{ max-width:240px; margin:14px auto; padding:12px; border-radius:var(--r-sm); background:#fff; }
.qr svg{ display:block; width:100%; height:auto; }
.login-c > .card, .login-c > form.card{ border-radius:20px; }
.login-c > p:not([class]){ margin-top:14px; color:var(--ink-2); font-size:15px; }
.login-c > .notice{ margin-bottom:14px; }

/* menünün altındaki "Çıkış yap": parmakla rahat dokunulsun (40 px üstü) */
.side-who .linkbtn, .mnav-who .linkbtn{ display:inline-flex; align-items:center; min-height:44px; }

/* uzun düğme yazısı dar telefonda sayfayı yana kaydırmasın: gerekirse iki satıra iner */
.btn{ max-width:100%; }
@media (max-width:599px){
  .btn{ white-space:normal; line-height:1.25; padding-top:6px; padding-bottom:6px; text-align:center; }
}

/* grup C */
/* Ayarlar › USDT › Teknik › Sistem kontrolleri: uzun ad ya da değer dar telefonda alt satıra iner, kutudan taşmaz */
.tl.wrap div{ flex-wrap:wrap; }
.tl.wrap span, .tl.wrap b{ min-width:0; overflow-wrap:anywhere; }
/* Ayarlar › Genel limitler › oyunculara özel limitler: her oyuncu bir satır, "Kaldır" altında */
.ovr + .ovr{ border-top:1px solid var(--line); padding-top:6px; }
/* ücret kutusunun altındaki "yalnız site sahibi" notu bütün satırı kaplar */
.fee .fee-h{ grid-column:1 / -1; }
/* okunur ama değiştirilemez kutu (Finans için ücret) */
.in[readonly]{ color:var(--ink-3); cursor:not-allowed; }
.seg input:disabled + label{ cursor:not-allowed; opacity:.7; }
/* grup C sonu */

/* grup D */
/* oyuncu sayfası: ikinci para birimi, durum notları, "Diğer" içindeki açılır bölümler, gün kutusu */
.hero-2{ margin-top:4px; color:var(--ink-2); font-size:15.5px; font-weight:600; }
.pstat{ display:grid; gap:8px; margin-top:18px; }
.sub-acc{ margin-top:2px; }
.sub-acc > .more:first-child{ border-top:1px dashed var(--line-2); }
.sub-acc > .more > summary{ font-size:15.5px; }
.lim-days{ max-width:180px; }
.more-b > .sub-card{ margin-top:4px; }
/* Hesabım › Yöneticiler: açılan satırdaki yönetim formları */
.xrow-b > .sub-card + .sub-card{ margin-top:0; }
/* İşlem kaydı: açılan kaydın ayrıntısı uzun kod ve veriyi satıra sığdırır */
.xrow-b .kv code{ overflow-wrap:anywhere; }
/* Oyuncular: dar telefonda durum rozeti tutarın altına girmesin, iki satıra insin */
@media (max-width:389px){
  .plist .row-t > .pill{ white-space:normal; line-height:1.25; padding-top:4px; padding-bottom:4px; }
}
/* Hesabım › Açık oturumlar: adres satırın başlığı (mock'taki cihaz adı gibi), kod yazısı değil */
.sess .row-t b code{ font-family:var(--f-ui); font-size:inherit; color:inherit; }
/* grup D sonu */

/* grup A: Bekleyenler */
/* kart bağlantıyla açılınca (?ac=…#kart) telefonun yapışkan üst çubuğu kartın başını örtmesin */
.item, .elle, .bek-code{ scroll-margin-top:78px; }
@media (min-width:960px){ .item, .elle, .bek-code{ scroll-margin-top:18px; } }
/* uzun özet (adres, IBAN, e-posta) dar ekranda kartı yana taşırmasın */
.item-t, .item-m{ overflow-wrap:anywhere; }
/* kartın içindeki "Teknik ayrıntılar" sayfa sonundaki gibi 30 px açılmasın */
.item-b .tech{ margin-top:0; }
/* onay kodu girilmeden basılamayan düğme (eski adım kodu bekleyen kararlar) */
.btn:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; }
/* sayfanın üstündeki tek onay kodu kutusu ve geçerlilik satırı */
.bek-code{ margin-bottom:22px; }
/* bekleyen havale yokken "Elle ekleyin" kutusu */
.bek-elle{ margin-top:28px; }
.bek-elle > .tech{ margin-top:0; }
/* grup A sonu */

/* grup B: Ana sayfa, Kasadaki para, İşlemler */
/* kasadaki para borcu karşılamıyorsa: aynı satır, kırmızı uyarı simgesiyle */
.cover.bad .i{ color:var(--err); }
/* bağlantıyla açılan satır ya da bölüm (?ac=…#…) telefonun yapışkan üst çubuğunun altında kalmasın */
.xrow, .tech, .sub-card{ scroll-margin-top:78px; }
@media (min-width:960px){ .xrow, .tech, .sub-card{ scroll-margin-top:18px; } }
/* grup B sonu */

/* düzeltmeler 24.11 */
/* Bekleyenler › banka çekimi: "Reddet" ana düğmenin yanında; JS'siz açılan küçük sebep kutusu (<details class="rej">) */
.rej{ min-width:0; }
.rej > summary{ list-style:none; }
.rej > summary::-webkit-details-marker{ display:none; }
.rej .when-open{ display:none; }
.rej[open]{ flex:1 1 100%; }
.rej[open] > summary .when-open{ display:inline; }
.rej[open] > summary .when-closed{ display:none; }
.rej-b{ display:flex; flex-direction:column; gap:14px; margin-top:12px; padding:16px; border:1px solid var(--err-line); border-radius:var(--r-sm); background:rgba(0,0,0,.18); }
.rej-b .go{ padding-top:0; border-top:0; }
/* "Para bankadan çıkmadı": Diğer seçenekler içinde kendi onay kodu satırı */
.more-b .go{ padding-top:12px; }
/* düzeltmeler 24.11 sonu */
