/* ============================================================================
   bnk-v-c.css: the BNK demo design language "v-c" (owner pick 2026-11-20, plan demo-teslim 3.4; mockup design/bnk-tasarim/v-c.html).
   One shared file; pages do not carry their own copy. Reads AGIO tokens only (panel/agio is vendored and never edited).
   Language: numbered section labels, square chips (tint + violet when pressed), KPI cards with a full hairline, airy 44 px ledger
   rows, ruled subtotal lines, a double rule before the TRANSFER column. Loaded AFTER the page style / sade.css.
   ============================================================================ */

/* ---- 1. FSMA "Sayfa görünümü" (markup of panel/FSMA_Aylik.html) ---- */
/* Sayfa görünümü, design v-c (design/bnk-tasarim, owner pick 2026-11-20): numbered sections, sheet chips, KPI cards, airy ledger.
   Tokens only; the ledger's own signature: ruled Q1/Q2 subtotal lines, a double rule before the TRANSFER column. */
#excelAlan .vcb{margin-top:32px}
#excelAlan .vcb>.lbl{display:block;margin:0 0 12px}
#excelAlan .vcb.frame{border-top:0;padding-top:0}
#excelAlan .sheets{display:flex;flex-wrap:wrap;gap:8px;border:0}
#excelAlan .sheets button{border:1px solid var(--line-2);padding:8px 14px;font:500 13px var(--f-body);letter-spacing:0;text-transform:none;color:var(--ink-2);background:transparent}
#excelAlan .sheets button:hover{border-color:var(--violet);color:var(--violet)}
#excelAlan .sheets button[aria-pressed="true"]{border-color:var(--violet);background:var(--tint);color:var(--violet);box-shadow:none}
#excelAlan .band{gap:0;border:0;margin-top:0}
#excelAlan .band .kpi{border:1px solid var(--line-2);margin-left:-1px;padding:20px 24px}
#excelAlan .band .kpi:first-child{margin-left:0;padding-left:24px}
#excelAlan .band .kpi:nth-child(3) .v{color:var(--violet)}
#excelAlan td{padding-top:11px;padding-bottom:11px}
#excelAlan .xl tr.sum th,#excelAlan .xl tr.sum td{border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);color:var(--violet)}
#excelAlan .xl td[data-cell*="|transfer|"],#excelAlan .xl th.trn{border-left:3px double var(--line-2)}
#excelAlan .xl{min-width:1360px}
#excelAlan .xl th:first-child{min-width:150px}
@media (max-width:760px){#excelAlan .band .kpi,#excelAlan .band .kpi:first-child{margin-left:0;padding:16px}#excelAlan .band .kpi:nth-child(n+3){margin-top:-1px}}

/* ---- 2. the dashboard pages on sade.css (Genel Satış, Cari, Kiralama): same chips, KPI cards and rows ---- */
body.sade .band{gap:0;border:0}
body.sade .band .kpi,body.sade .band .kpi:first-child{border:1px solid var(--line-2);margin-left:-1px;padding:20px 24px}
body.sade .band .kpi:first-child{margin-left:0}
body.sade .band .kpi .v{font-size:28px;margin:8px 0 6px}
body.sade .seg{gap:8px;border:0;padding:0;background:transparent;flex-wrap:wrap}
body.sade .seg button{border:1px solid var(--line-2);padding:8px 14px;margin:0;font:500 13px var(--f-body);letter-spacing:0;color:var(--ink-2);background:transparent}
body.sade .seg button:hover{border-color:var(--violet);color:var(--violet)}
body.sade .seg button[aria-pressed="true"],body.sade .seg button.on,body.sade .seg button.active{border-color:var(--violet);background:var(--tint);color:var(--violet);box-shadow:none}
body.sade .toggle2{gap:8px;border:0;padding:0;background:transparent}
body.sade .toggle2 button{border:1px solid var(--line-2);padding:6px 12px;margin:0;font:500 13px var(--f-body);color:var(--ink-2);background:transparent}
body.sade .toggle2 button.on{border-color:var(--violet);background:var(--tint);color:var(--violet)}
body.sade table td{padding-top:11px;padding-bottom:11px}
body.sade table tr.tot td,body.sade table tfoot td{border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
@media (max-width:760px){body.sade .band .kpi,body.sade .band .kpi:first-child{margin-left:0;padding:16px}body.sade .band .kpi:nth-child(n+3){margin-top:-1px}}

/* ---- 3. pages with their own page style (Model): opt in with <body class="vc"> ---- */
body.vc .kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
body.vc .kpi{border:1px solid var(--line-2);margin-left:-1px;padding:20px 24px;background:transparent}
body.vc .kpi:first-child{margin-left:0}
body.vc .kpi b{font-size:28px}
body.vc .seg{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;background:transparent}
body.vc .seg button{border:1px solid var(--line-2);padding:8px 14px;font:500 13px var(--f-body);letter-spacing:0;color:var(--ink-2);background:transparent}
body.vc .seg button:hover{border-color:var(--violet);color:var(--violet)}
body.vc .seg button[aria-pressed="true"],body.vc .seg button.on{border-color:var(--violet);background:var(--tint);color:var(--violet)}
body.vc table td{padding-top:11px;padding-bottom:11px}
@media (max-width:980px){body.vc .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.vc .kpi:nth-child(n+3){margin-top:-1px}body.vc .kpi:nth-child(odd){margin-left:0}}

/* ---- 4. main menu (panel/index2.html, <body class="vc-menu">): the figure strip as joined KPI cards ---- */
body.vc-menu .stats{gap:0}
body.vc-menu .stat{margin-left:-1px;padding:20px 24px;border-color:var(--line-2)}
body.vc-menu .stat:first-child{margin-left:0}
body.vc-menu .stat .v{font-size:28px}
body.vc-menu .stat:nth-child(2){border-color:var(--violet);position:relative}
@media (max-width:760px){body.vc-menu .stat,body.vc-menu .stat:first-child{margin-left:0;padding:16px}body.vc-menu .stat:nth-child(n+2){margin-top:-1px}}

/* ---- 5. FSMA page frame, design v-c (owner 2026-11-21; <body class="vc2">, snapshot mode only) ----
   serif title with a small "BNK · SERVİS" label, one rule under it, the book switch at the right of the title row,
   a quiet one-line period strip, wrapping table heads, bordered KISMİ label, one footnote line. */
body.vc2 .hd{align-items:flex-end;gap:12px 24px;padding-bottom:24px;border-bottom:1px solid var(--ink)}
body.vc2 .hd .mini{display:none}
body.vc2 .brand{display:block;flex:1 1 280px;margin-right:0}
body.vc2 .brand .eyebrow{display:block}
body.vc2 .brand .t1{font:400 clamp(30px,4vw,44px)/1.1 var(--f-display,"Newsreader","Iowan Old Style","Palatino Linotype",Georgia,serif);letter-spacing:-.01em;margin:12px 0 0}
body.vc2 #xKitapKutu .lbl{display:none}
body.vc2 .stamp{border-top:0;border-bottom:0;margin-top:0;padding:12px 0 0;font:400 12px/1.4 var(--f-data);color:var(--muted)}
body.vc2 #snapSatir{margin:2px 0 0;font:400 12px/1.4 var(--f-data);color:var(--muted)}
body.vc2 .controls{margin-top:20px;gap:12px 24px}
body.vc2 .ctl2{gap:12px 24px}
/* tables: heads wrap to 2-4 lines, numbers stay right-aligned with dot thousands */
body.vc2 table{min-width:0}
body.vc2 thead th{white-space:normal;line-height:1.45;text-align:right;vertical-align:bottom;padding:12px 8px;min-width:72px;font-size:9px;letter-spacing:.08em}
body.vc2 thead th:first-child,body.vc2 thead th[colspan]{text-align:left;min-width:0}
body.vc2 thead th.bh{text-align:center}
body.vc2 tr.ceyrek th.rowh,body.vc2 tr.sum.ceyrek th.rowh{text-transform:uppercase;letter-spacing:.08em}
body.vc2 .part{margin-left:8px;padding:2px 6px;border:1px solid var(--violet);color:var(--violet);font:400 9.5px var(--f-brand);letter-spacing:.2em;text-transform:uppercase;vertical-align:1px}
body.vc2 .lej{margin-top:12px}

/* Ana Dashboard top strip on a phone: the update note wraps instead of scrolling sideways inside the strip (index2 and the static package home) */
@media (max-width: 700px) {
  body.vc-menu .top-right { flex-wrap: wrap; overflow-x: visible; }
  body.vc-menu .top-meta { white-space: normal; flex: 1 1 100%; }
}
