/* Taxi Yami — platform panel (reuses the admin panel styles, darker so it's never confused with an association panel) */
.side { background: #12151C; }
.nav.active { background: var(--yellow); }
.pf-tag { display: inline-block; background: var(--yellow); color: var(--ink); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; vertical-align: middle; margin-left: 6px; }
.login-art { background: #12151C; }
.boot { background: #12151C; }
.attn { display: grid; gap: 8px; }
.attn a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); text-decoration: none; color: var(--ink); font-weight: 600; }
.attn a b { margin-left: auto; font-size: 18px; }
.attn a.warn-row { background: var(--yellow-100); }
.attn a.bad-row { background: var(--red-100); }
.attn a.ok-row { background: var(--green-100); }
.assoc-card { padding: 18px 20px; }
.assoc-card h3 { font-size: 20px; }
.assoc-stats { display: flex; flex-wrap: wrap; gap: 18px; margin: 10px 0 14px; font-size: 13px; color: var(--muted); }
.assoc-stats b { display: block; font-size: 17px; color: var(--ink); }
.admin-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.admin-row .who { flex: 1; min-width: 180px; }
.admin-row .who span { display: block; font-size: 13px; color: var(--muted); }
.vchips { display: flex; gap: 4px; flex-wrap: wrap; }
.vchips span { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--green-100); color: #12805A; }
.vchips span.bad { background: var(--red-100); color: var(--red); }
.sub-tabs { margin-bottom: 4px; }
.kv-form .field { margin-bottom: 10px; }
.drawer h4 { font-family: var(--serif); font-size: 16px; margin: 20px 0 10px; }
.drawer .card-lite { background: var(--bg); border-radius: 14px; padding: 14px; }
.lead-msg { white-space: pre-wrap; font-size: 13px; color: var(--muted); max-width: 360px; }
.tbl textarea.input { min-height: 38px; font-size: 13px; padding: 6px 8px; }
.tbl select.input { padding: 6px 28px 6px 8px; font-size: 13px; }
.audit-details { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: pre-wrap; word-break: break-word; max-width: 520px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.radio-row label { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--tint); color: var(--navy); }
.help a { font-weight: 700; }
.chart .col.pf { fill: var(--yellow-600); }

.lead-edit { display: grid; gap: 6px; width: 240px; }
.lead-edit > * { width: 100%; margin: 0; }
.lead-edit .btn { justify-self: start; width: auto; }

/* fare split editor */
.split-card { grid-column: 1 / -1; }
.ex-fare { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ex-fare .input { width: 84px; padding: 6px 10px; }
.split-ed { display: grid; gap: 2px; }
.sp-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 110px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sp-row > i { width: 12px; height: 36px; border-radius: 4px; }
.sp-who b { display: block; }
.sp-who span { font-size: 12.5px; color: var(--muted); }
.sp-in { display: flex; align-items: center; gap: 6px; justify-content: flex-end; font-weight: 700; color: var(--muted); }
.sp-in .input { width: 90px; text-align: right; }
.sp-in.wide .input { width: 100px; }
.sp-in b { color: var(--ink); font-size: 16px; }
.sp-r { text-align: right; font-weight: 800; font-size: 16px; }
.split-card .splitbar { display: flex; gap: 2px; height: 16px; border-radius: 6px; overflow: hidden; }
@media (max-width: 700px) {
  .sp-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .sp-row .sp-r { grid-column: 2 / -1; text-align: left; font-size: 14px; }
  .sp-in.wide { flex-wrap: wrap; }
  .card-h .ex-fare { width: 100%; margin-top: 8px; }
}

/* ---- go-live pages ---- */
.brand .live { display: inline-flex; align-items: center; gap: 5px; color: #7EE2B8; font-weight: 800; }
.brand .live i { width: 7px; height: 7px; border-radius: 50%; background: #7EE2B8; box-shadow: 0 0 0 3px rgba(126,226,184,.25); }
.doc-view { background: #1b2230; border-radius: 12px; overflow: hidden; text-align: center; max-height: 60vh; }
.doc-view img { max-width: 100%; max-height: 60vh; display: block; margin: 0 auto; }
.doc-view iframe { width: 100%; height: 60vh; border: 0; background: #fff; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--tint); }
.chk i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 900; font-size: 13px; color: #fff; background: var(--green); }
.chk.bad { background: var(--yellow-100); }
.chk.bad i { background: #D08700; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: start; }
.kv:last-child { border-bottom: 0; }
.kv pre, pre.log { font-family: var(--mono); font-size: 12px; background: #1b2230; color: #d7e0ee; padding: 10px 12px; border-radius: 10px; overflow: auto; white-space: pre-wrap; word-break: break-all; margin: 6px 0; }
pre.log { max-height: 260px; }
.kv .row { align-items: center; }
.tbl tr.on td { background: var(--tint); }
.info-box a, .help a { color: var(--navy); font-weight: 700; }

/* 16 nav items: a little tighter than the owners' panel */
@media (min-width: 961px) { .nav { padding: 8px 12px; font-size: 14px; } .side { padding-top: 16px; } .side .brand { padding-bottom: 12px; } }

/* ---- Mail ---- */
.mail { display: grid; grid-template-columns: 210px 380px minmax(0, 1fr); height: calc(100vh - 0px); min-height: 0; background: #fff; }
.mail-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.mail-folders { display: flex; flex-direction: column; gap: 2px; }
.mail-folders a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.mail-folders a svg { width: 18px; height: 18px; color: var(--muted); }
.mail-folders a:hover { background: rgba(13,71,161,.06); }
.mail-folders a.on { background: var(--navy); color: #fff; }
.mail-folders a.on svg { color: #fff; }
.mail-folders .cnt { margin-left: auto; font-size: 11px; font-weight: 800; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 1px 7px; font-style: normal; }
.mail-folders .cnt.bad { background: var(--red); color: #fff; }
.mail-folders i.cnt { background: #E3E7EE; }
.mail-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.mail-list-wrap { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.mail-tools { padding: 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mail-tools .input { padding: 9px 12px; font-size: 14px; border-radius: 10px; }
.mail-bulk { display: flex; gap: 6px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.mail-list { overflow-y: auto; flex: 1; }
.mail-row { display: flex; gap: 6px; padding: 10px 10px 10px 6px; border-bottom: 1px solid var(--line); cursor: pointer; align-items: flex-start; }
.mail-row:hover { background: #F6F8FB; }
.mail-row.on { background: var(--tint); box-shadow: inset 3px 0 0 var(--navy); }
.mail-row.unread .who, .mail-row.unread .subj { font-weight: 800; color: var(--ink); }
.mail-row.unread .who::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); margin-right: 6px; vertical-align: 1px; }
.mail-chk { padding: 2px 2px 0 4px; }
.mail-row .star { border: 0; background: none; color: #C8CFDA; font-size: 17px; cursor: pointer; padding: 0 2px; line-height: 1.2; }
.mail-row .star.on { color: #E6A700; }
.mail-row-main { flex: 1; min-width: 0; }
.mail-row-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mail-row-top .who { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row-top .when { color: var(--muted); flex: none; font-size: 12px; }
.mail-row .subj { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.mail-row .prev { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.mail-row .prev .pill { font-size: 10px; padding: 1px 6px; }
.mail-pager { padding: 8px 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; }
.mail-read { overflow-y: auto; padding: 22px 28px 40px; min-width: 0; }
.mail-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); gap: 6px; padding: 40px 20px; }
.mail-empty svg { width: 44px; height: 44px; color: #C8CFDA; }
.mail-read-top { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.mail-read-top h2 { font-size: 22px; flex: 1; min-width: 200px; line-height: 1.25; }
.mail-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mail-back { display: none; }
.mail-who { display: flex; gap: 8px; align-items: center; background: var(--tint); border-radius: 10px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.mail-who svg { width: 16px; height: 16px; color: var(--navy); }
.mail-who a { margin-left: auto; }
.mail-thread { display: flex; flex-direction: column; gap: 10px; }
.mail-msg { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mail-msg header { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.mail-msg .av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-100, #DCE6F7); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.mail-msg .av.me { background: var(--yellow); color: var(--ink); }
.mail-msg .hd { flex: 1; min-width: 0; font-size: 14px; }
.mail-msg .prev-line { display: none; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-msg.collapsed { background: #FAFBFD; }
.mail-msg.collapsed header { cursor: pointer; align-items: center; }
.mail-msg.collapsed .hd > div:last-child { display: none; }
.mail-msg.collapsed .prev-line { display: block; }
.mail-msg.collapsed .mail-msg-body { display: none; }
.mail-msg-body { padding: 0 16px 16px 66px; }
.mail-body { width: 100%; border: 0; min-height: 120px; display: block; }
.mail-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.att { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; text-decoration: none; color: var(--ink); font-size: 13px; background: #fff; }
.att svg { width: 18px; height: 18px; color: var(--navy); }
.att span { display: flex; flex-direction: column; }
.att small { color: var(--muted); font-size: 11px; }
.mail-compose { display: flex; flex-direction: column; gap: 10px; }
.mail-compose.inline { margin-top: 14px; border: 1px solid var(--navy); border-radius: 14px; padding: 14px 16px; background: #fff; box-shadow: var(--shadow); }
.mc-row { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.mc-row label { width: 60px; font-size: 13px; font-weight: 700; color: var(--muted); flex: none; }
.mc-row .input { border: 0; border-radius: 0; padding: 10px 4px; box-shadow: none; background: transparent; }
.mc-row .input:focus { outline: none; box-shadow: none; }
.mc-row .link { border: 0; background: none; color: var(--navy); font-weight: 700; cursor: pointer; }
.mail-compose textarea { resize: vertical; min-height: 140px; font-family: inherit; line-height: 1.5; }
.mc-atts { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-atts .chip { display: inline-flex; gap: 6px; align-items: center; background: var(--tint); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; }
.mc-atts .chip.up { opacity: .6; }
.mc-atts .chip button { border: 0; background: rgba(0,0,0,.08); border-radius: 50%; width: 20px; height: 20px; cursor: pointer; }
.mc-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mail-modal .modal-b { max-height: calc(100dvh - 140px); overflow: auto; }
.mail-modal .modal-f { display: none; }
@media (max-width: 1200px) { .mail { grid-template-columns: 190px minmax(0, 1fr); } .mail-read { display: none; } .mail.reading .mail-read { display: block; grid-column: 2; } .mail.reading .mail-list-wrap { display: none; } .mail-back { display: inline-flex; } }
@media (max-width: 960px) { .mail { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 110px); } .mail-side { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .mail-folders { flex-direction: row; overflow-x: auto; width: 100%; gap: 4px; } .mail-folders a { flex: none; padding: 7px 10px; font-size: 13px; } .mail-side-foot { margin: 0; flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .mail.reading .mail-side { display: none; } .mail.reading .mail-read { grid-column: 1; padding: 14px 16px 40px; } .mail-msg-body { padding-left: 16px; } }
.mail-side-btns { display: flex; flex-direction: column; gap: 6px; }
.mail-side-btns .btn { justify-content: flex-start; }
.sig-preview { margin-top: 12px; background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.sig-preview pre { font: 14px/1.5 inherit; font-family: inherit; white-space: pre-wrap; margin: 0; }
@media (max-width: 960px) { .mail-side-btns { flex-direction: row; } }

/* ---- Support desk, templates, rules ---- */
.mail-setup { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.mail-setup a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; }
.mail-setup a svg { width: 16px; height: 16px; }
.mail-setup a:hover { background: rgba(13,71,161,.06); color: var(--ink); }
.sup-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sup-stats div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; }
.sup-stats b { font-size: 16px; font-family: var(--serif); }
.sup-stats span { color: var(--muted); font-size: 11px; }
.sup-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sup-filters .input { padding: 6px 8px; font-size: 12px; border-radius: 8px; }
.mail-row.tk .ref { font-family: var(--mono); color: var(--navy); font-weight: 800; font-size: 12px; }
.tk-ch { width: 28px; height: 28px; border-radius: 50%; background: var(--tint); display: flex; align-items: center; justify-content: center; flex: none; color: var(--navy); margin-top: 2px; }
.tk-ch svg { width: 15px; height: 15px; }
.tk-meta { margin-top: 2px; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.tk-thread { display: flex; flex-direction: column; gap: 10px; max-height: 55vh; overflow-y: auto; padding: 4px 2px; }
.tk-msg { max-width: 85%; border-radius: 14px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); }
.tk-msg.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.tk-msg.me { align-self: flex-end; background: var(--tint); border-color: transparent; border-bottom-right-radius: 4px; }
.tk-msg.note { background: #FFF7DB; border-color: #F3DFA0; align-self: stretch; max-width: none; }
.tk-msg-h { margin-bottom: 4px; }
.tk-body { font-size: 14.5px; line-height: 1.5; word-break: break-word; }
.tk-sys { text-align: center; padding: 2px 0; }
.tk-reply { margin-top: 12px; border: 1px solid var(--navy); border-radius: 14px; padding: 12px 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.tk-reply.note { border-color: #E0B100; background: #FFFCF0; }
.tk-reply .tabs.small button { padding: 5px 10px; font-size: 13px; }
.tk-reply textarea { resize: vertical; font-family: inherit; line-height: 1.5; }
.tk-side { display: flex; flex-direction: column; gap: 10px; }
.tk-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.tk-card label { display: block; margin: 8px 0 3px; }
.tk-card .input { padding: 7px 9px; font-size: 13px; border-radius: 8px; }
.tk-ctx { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.tk-other { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.tk-other:first-of-type { border-top: 0; }
.tbl tr.off td { opacity: .55; }
.tpl-snip { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-prev { margin-top: 10px; background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.tpl-prev pre { white-space: pre-wrap; font: 13px/1.5 inherit; font-family: inherit; margin: 6px 0 0; }
code.ph { cursor: pointer; background: var(--tint); padding: 1px 5px; border-radius: 5px; font-size: 12px; }
code.ph:hover { background: var(--yellow-100); }
.rule-cond { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr auto; gap: 6px; margin-bottom: 6px; align-items: center; }
.rule-cond .input { padding: 7px 9px; font-size: 13px; }
.rule-acts { display: flex; flex-direction: column; gap: 4px; }
.rule-acts .check { margin: 0; }
.rule-sub { margin: 0 0 6px 28px; display: flex; gap: 6px; }
.rule-sub .input { padding: 7px 9px; font-size: 13px; }
@media (max-width: 1000px) { .tk-grid { grid-template-columns: 1fr; } .tk-thread { max-height: none; } .rule-cond { grid-template-columns: 1fr 1fr; } }
.tpl-table { table-layout: fixed; width: 100%; }
.tpl-table td:nth-child(2) { overflow: hidden; }
.tpl-table td:nth-child(3) { width: 130px; } .tpl-table td:nth-child(4) { width: 86px; }

/* boarding checks */
.rv-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.rv-stats > div { background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); } .rv-stats b { display: block; font-family: var(--serif); font-size: 24px; color: var(--navy); } .rv-stats span { font-size: 12px; color: var(--muted); } .rv-stats > div.off b { color: var(--red); }
.rv-body { padding: 0 0 16px; } .rv-map { height: 360px; border-radius: 14px; overflow: hidden; background: var(--bg); margin: 0 18px; } .rv-map .leaflet-container { font-family: var(--sans); }
.rv-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink); padding: 10px 18px 0; } .rv-legend i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.rv-body .grid { padding: 14px 18px 0; } .rv-body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.rv-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .rv-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; } .rv-checks li svg { width: 20px; height: 20px; flex: none; border-radius: 50%; padding: 3px; color: #fff; } .rv-checks li.ok svg { background: var(--green); } .rv-checks li.no svg { background: var(--muted-2); }
.rv-body .kv { grid-template-columns: 80px 1fr; } .rv-body .field { padding: 0 18px; }
@media (max-width: 900px) { .rv-stats { grid-template-columns: repeat(2, 1fr); } .rv-map { height: 260px; margin: 0 12px; } .rv-body .grid { padding: 12px; } }

/* ---- phones: the Taxi Yami panel keeps its real tables and scrolls them sideways inside the card ---- */
@media (max-width: 700px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .tbl-wrap, .card-b:has(> table.tbl), .card:has(> table.tbl), .drawer-b:has(> table.tbl), .modal-b:has(> table.tbl) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.tbl { min-width: 640px; }
  .tbl td { white-space: nowrap; }
  .tbl td.wrap, .tbl td.msg { white-space: normal; min-width: 220px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .input { flex: 1 1 140px; min-width: 0; }
}
@media (max-width: 700px) {
  .mail, .mail-side, .mail-list-wrap, .mail-list, .mail-read, .mail-tools, .mail-row { min-width: 0; max-width: 100%; }
  .mail-side-btns { width: 100%; } .mail-side-btns .btn { flex: 1 1 auto; justify-content: center; }
  .mail-side-foot { flex-wrap: wrap; }
  .sup-stats { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .sup-filters { grid-template-columns: 1fr; }
  .mail-tools { flex-wrap: wrap; }
  .mail-row { overflow: hidden; }
  .mail-row .subj, .mail-row .prev, .mail-row .from { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- Taxis & drivers: tables that fit the screen ---- */
.ic-inline svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--muted); }
.vt-h { margin: 6px 0 6px; font-size: 15px; }
.vt-h ~ .vt-h { margin-top: 26px; }
.tbl.vt td.wrap { white-space: normal; }
.tbl.vt td.vdocs { min-width: 230px; max-width: 340px; }
.tbl.vt td.acts { white-space: nowrap; text-align: right; }
.tbl.vt td.acts .btn, .tbl.vt td.acts .icon-btn { margin-left: 6px; vertical-align: middle; }

/* ---- Check & approve popup ---- */
.modal.verify-modal { max-width: min(1120px, 96vw); width: 100%; }
.verify-modal .modal-b { max-height: calc(100vh - 170px); overflow: auto; }
.vsec { margin-bottom: 22px; }
.vsec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.vsec-h h4 { margin: 0; font-size: 16px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.vdoc { border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.vdoc.pending { border-color: #F2C94C; box-shadow: 0 0 0 2px rgba(255,193,7,.18); }
.vdoc.approved { border-color: #BFE6D2; }
.vdoc.rejected { border-color: #F3C3C3; }
.vdoc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: 14px; }
.vdoc-prev { display: block; position: relative; background: #1b2230; height: 190px; overflow: hidden; }
.vdoc-prev img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vdoc-prev iframe { width: 100%; height: 100%; border: 0; background: #fff; pointer-events: none; }
.vdoc-open { position: absolute; right: 8px; bottom: 8px; background: rgba(13,71,161,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.vdoc-meta { padding: 8px 12px 0; line-height: 1.45; overflow-wrap: anywhere; }
.vdoc-f { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.vdoc-f label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.vdoc-f label .input { flex: 1; padding: 7px 10px; font-size: 14px; }
.vdoc-f > .input { padding: 8px 10px; font-size: 13.5px; }
.vdoc-btns { display: flex; gap: 8px; align-items: center; }
.vdoc-btns .btn { flex: 1; justify-content: center; }
.vdoc-ok { flex: 1; text-align: center; font-weight: 800; color: #12805A; background: var(--green-100); border-radius: 10px; padding: 7px 0; font-size: 13px; }
.vdoc.missing .vdoc-empty { margin: 0 12px 12px; padding: 26px 12px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; font-weight: 700; color: var(--muted); font-size: 14px; }
.vdoc-empty span { display: block; font-weight: 500; font-size: 12.5px; margin-top: 4px; }
.vmanual { margin-top: 12px; font-size: 14px; } .vmanual summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.danger-text { color: var(--red) !important; }

/* App download link (QR code) card */
.dl-box { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.dl-box img { flex: none; width: 112px; height: auto; border-radius: 8px; }
.dl-m { flex: 1; min-width: 0; display: grid; gap: 8px; }
.dl-url { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-url code { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--navy); background: var(--tint); padding: 6px 10px; border-radius: 8px; word-break: break-all; }
.dl-files { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 520px) { .dl-box { flex-direction: column; } }

/* ======================= Voucher ticket designer (designer.js) ======================= */
body.dz-open { overflow: hidden; }
.dz { position: fixed; inset: 0; z-index: 1050; display: flex; flex-direction: column; background: #EEF1F6; font-family: var(--sans); color: var(--ink); }
.dz-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dz-name { font: inherit; font-weight: 800; font-size: 16px; border: 1.5px solid transparent; border-radius: 8px; padding: 6px 10px; min-width: 160px; width: 280px; max-width: 40vw; background: transparent; }
.dz-name:hover, .dz-name:focus { border-color: var(--line); outline: 0; background: #fff; }
.dz-gap { flex: 1; }
.dz-ib { width: 36px; height: 36px; border: 0; border-radius: 9px; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dz-ib svg { width: 19px; height: 19px; } .dz-ib:hover { background: #F1F3F7; } .dz-ib:disabled { opacity: .35; cursor: default; background: none; }
.dz-zoom { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.dz-zoom button { border: 0; background: #fff; padding: 7px 10px; font: inherit; font-weight: 700; cursor: pointer; min-width: 34px; } .dz-zoom button:hover { background: #F1F3F7; }
.dz-tg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; }
.dz-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 84px 1fr 300px; }
.dz-tools { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; overflow-y: auto; }
.dz-tools button { border: 0; background: none; border-radius: 12px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.dz-tools button svg { width: 22px; height: 22px; color: var(--navy); } .dz-tools button:hover { background: var(--tint); }
.dz-stage { position: relative; overflow: auto; display: grid; place-items: center; padding: 32px; background: #E5E9F0 radial-gradient(#D3D9E3 1px, transparent 1px) 0 0 / 18px 18px; }
.dz-board { position: relative; box-shadow: 0 6px 30px rgba(8,46,107,.18); touch-action: none; cursor: default; }
.dz-board canvas { display: block; }
.dz-size { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.dz-sel { position: absolute; border: 2px solid #8B5CF6; pointer-events: none; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.dz-sel i { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #8B5CF6; border-radius: 50%; pointer-events: auto; transform: translate(-50%, -50%); }
.dz-sel .h-nw { left: 0; top: 0; cursor: nwse-resize; } .dz-sel .h-ne { left: 100%; top: 0; cursor: nesw-resize; }
.dz-sel .h-sw { left: 0; top: 100%; cursor: nesw-resize; } .dz-sel .h-se { left: 100%; top: 100%; cursor: nwse-resize; }
.dz-sel .h-n { left: 50%; top: 0; cursor: ns-resize; border-radius: 4px; width: 20px; height: 8px; } .dz-sel .h-s { left: 50%; top: 100%; cursor: ns-resize; border-radius: 4px; width: 20px; height: 8px; }
.dz-sel .h-w { left: 0; top: 50%; cursor: ew-resize; border-radius: 4px; width: 8px; height: 20px; } .dz-sel .h-e { left: 100%; top: 50%; cursor: ew-resize; border-radius: 4px; width: 8px; height: 20px; }
.dz-guides { position: absolute; inset: 0; pointer-events: none; }
.dz-guides .gv { position: absolute; top: -9999px; bottom: -9999px; width: 0; border-left: 1px solid #EC4899; }
.dz-guides .gh { position: absolute; left: -9999px; right: -9999px; height: 0; border-top: 1px solid #EC4899; }
.dz-board { overflow: visible; } .dz-stage { overflow: auto; }
.dz-props { background: #fff; border-left: 1px solid var(--line); overflow-y: auto; padding: 4px 16px 24px; }
.dz-h { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin: 16px 0 8px; }
.dz-muted { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.dz-f { margin-bottom: 10px; } .dz-f > label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.dz-props input[type=number], .dz-props input:not([type]), .dz-props select, .dz-props textarea { width: 100%; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 9px; background: #fff; color: var(--ink); }
.dz-props textarea { resize: vertical; min-height: 64px; line-height: 1.35; }
.dz-props input:focus, .dz-props select:focus, .dz-props textarea:focus { outline: 0; border-color: var(--navy); }
.dz-props input[type=range] { width: 100%; accent-color: var(--navy); }
.dz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .dz-row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dz-row4 input { padding: 6px !important; font-size: 13px !important; }
.dz-seg { display: flex; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.dz-seg button { flex: 1; border: 0; background: #fff; padding: 7px 6px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; display: grid; place-items: center; color: var(--ink); min-width: 0; }
.dz-seg button + button { border-left: 1.5px solid var(--line); } .dz-seg button svg { width: 16px; height: 16px; }
.dz-seg button.on { background: var(--navy); color: #fff; } .dz-seg button:hover:not(.on) { background: #F1F3F7; }
.dz-aln button { font-size: 15px; }
.dz-color { display: flex; align-items: center; gap: 10px; } .dz-color input[type=color] { width: 44px; height: 32px; border: 1.5px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; cursor: pointer; }
.dz-none { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.dz-sw { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.dz-sw button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.dz-ins { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.dz-ins button { border: 1px solid var(--tint-2); background: var(--tint); color: var(--navy); border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.dz-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .dz-acts .btn svg { width: 15px; height: 15px; }
.dz-del { color: var(--red) !important; }
.dz-check { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; margin: 4px 0 10px; cursor: pointer; }
.dz-tip { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 6px 0; }
.dz-menu { position: fixed; z-index: 1060; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; width: 240px; display: grid; gap: 2px; }
.dz-menu button { text-align: left; border: 0; background: none; border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }
.dz-menu button:hover { background: var(--tint); } .dz-menu b { display: block; font-size: 14px; } .dz-menu small { display: block; font-size: 12px; color: var(--muted); }
.dz-confirm { position: absolute; inset: 0; z-index: 140; background: rgba(15,23,42,.45); display: grid; place-items: center; padding: 16px; }
.dz-confirm-b { background: #fff; border-radius: 16px; padding: 22px; max-width: 440px; box-shadow: var(--shadow-lg); }
.dz-confirm-b h3 { margin: 0 0 6px; } .dz-confirm-b p { color: var(--muted); margin: 0 0 4px; }
@media (max-width: 900px) {
  .dz-main { grid-template-columns: 1fr; grid-template-rows: auto 1fr 42vh; }
  .dz-tools { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; padding: 6px; }
  .dz-tools button { min-width: 72px; }
  .dz-props { border-left: 0; border-top: 1px solid var(--line); }
  .dz-name { width: 160px; } .dz-tg span { display: none; }
}

/* Voucher pages: designs grid, export progress */
.vtabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.vtabs a { padding: 7px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.vtabs a.on { background: var(--navy); color: #fff; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tpl-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.tpl-thumb { aspect-ratio: 16 / 10; background: #E5E9F0; display: grid; place-items: center; padding: 14px; cursor: pointer; }
.tpl-thumb img { max-width: 100%; max-height: 100%; box-shadow: 0 3px 14px rgba(8,46,107,.18); border-radius: 3px; }
.tpl-b { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tpl-b b { font-size: 15px; } .tpl-b .small { color: var(--muted); }
.tpl-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tpl-new { border: 2px dashed #B9C6DD; background: #F7F9FD; border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 20px; gap: 10px; min-height: 230px; }
.tpl-new b { font-size: 16px; color: var(--navy); }
.prog { height: 10px; background: #EEF0F3; border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.prog i { display: block; height: 100%; background: var(--green); width: 0; transition: width .2s; }

/* ======================= Grouped menu, page search, phone menu ======================= */
.side { gap: 2px; }
.nav-search { position: relative; margin: 0 2px 10px; flex: none; }
.nav-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #8C97AB; pointer-events: none; }
.nav-search input { width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; border-radius: 10px; padding: 8px 54px 8px 32px; font: inherit; font-size: 13.5px; }
.nav-search input::placeholder { color: #8C97AB; }
.nav-search input:focus { outline: 0; border-color: var(--yellow); background: rgba(255,255,255,.1); }
.nav-search kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 700 10.5px var(--sans); color: #8C97AB; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; padding: 1px 5px; pointer-events: none; }
.nav-g { margin-top: 4px; }
.nav-gh { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #8C97AB; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 10px 12px 5px; cursor: pointer; border-radius: 8px; }
.nav-gh:hover { color: #fff; }
.nav-gh svg { width: 14px; height: 14px; margin-left: auto; transition: transform .15s; flex: none; }
.nav-g.closed .nav-gh svg { transform: rotate(-90deg); }
.nav-g.closed .nav-gi { display: none; }
.nav-gi { display: flex; flex-direction: column; gap: 2px; }
.gbadge { background: var(--green); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0; padding: 1px 7px; border-radius: 999px; }
.nav-g:not(.closed) .gbadge { display: none; }
.navs.searching .nav-g .nav-gi { display: flex; }
.navs.searching .nav-gh svg, .navs.searching .gbadge { display: none; }
.navs .nomatch { display: none !important; }
.head .crumb { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.menu-btn { display: none; }
@media (min-width: 961px) { .nav { padding: 7px 12px; } }
@media (max-width: 960px) {
  .nav-search { display: none; }
  .side { flex-wrap: nowrap; }
  .side .brand { width: auto; flex: 1; min-width: 0; overflow: hidden; }
  .side .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; max-width: 46vw; }
  .menu-btn svg { width: 20px; height: 20px; flex: none; }
  .menu-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .main { padding-bottom: 24px; }
}
.sheet-search { position: relative; margin: 4px 4px 8px; }
.sheet-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.sheet-search input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px 11px 38px; font: inherit; font-size: 16px; }
.sheet-list .sl-h { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 4px; }
.sheet-list a.hidden, .sheet-list .sl-g.hidden { display: none; }

/* Settings: tabs + a save bar that stays in view */
.set-tabs { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; }
.set-save { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; padding: 12px 0; background: linear-gradient(to top, var(--bg) 70%, rgba(242,244,248,0)); }
.set-save .dirty { color: #9A6B00; font-weight: 700; }
.set-grid .card.hidden, .card.danger-zone.hidden { display: none; }
@media (max-width: 960px) { .set-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; } .set-tabs a { flex: none; } .set-save { padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); } }
/* compact sidebar so the whole menu fits on a normal laptop screen */
@media (min-width: 961px) {
  .side { padding: 14px 12px 12px; }
  .side .brand { padding: 2px 8px 10px; }
  .side .brand .wordmark { font-size: 27px; }
  .nav { padding: 6px 10px; gap: 10px; font-size: 14px; border-radius: 10px; }
  .nav svg { width: 18px; height: 18px; }
  .nav-gh { padding: 9px 10px 3px; }
}
.pf-foot { padding: 10px 4px 0 !important; }
.pf-me { display: flex; align-items: center; gap: 10px; }
.pf-av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.pf-who { flex: 1; min-width: 0; line-height: 1.25; }
.pf-who strong { display: block; color: #fff; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-who span { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .pf-foot #logout { margin: 0; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; flex: none; }
.side .pf-foot #logout svg { width: 17px; height: 17px; }
.pf-links { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; padding-left: 2px; }
@media (min-width: 961px) { .nav-g { margin-top: 2px; } .nav-gh { padding: 8px 10px 3px; } }
/* grids never grow wider than the screen: long table text wraps inside its column instead */
.grid > * { min-width: 0; }
.g2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .g2 { grid-template-columns: minmax(0, 1fr); } }
.tbl td.wrap { white-space: normal; overflow-wrap: anywhere; }
.tbl td.wrap .pill { white-space: normal; }

/* Routes & points */
.net-tbl th { white-space: nowrap; }
@media (max-width: 700px) { .net-tbl td:first-child { min-width: 170px; } }

/* Taxi Yami split lines */
.ln-who { display: grid; gap: 6px; }
.ln-who .input { max-width: 420px; }
.ln-who .small-in { font-size: 12.5px; padding: 6px 10px; }
.ln-row .sp-in .icon-btn { margin-left: 4px; }
.calc-kpi .kpi .v { font-size: clamp(18px, 2vw, 28px); white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 700px) { .calc-kpi { grid-template-columns: minmax(0, 1fr); gap: 10px; } .calc-kpi .kpi .v { font-size: 24px; } }

/* Money: bank reconciliation */
.led-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.led-row:last-child { border-bottom: 0; }
.led-row > div:first-child b { display: block; }
.led-row > div:first-child span { display: block; font-size: 12px; color: var(--muted); }
.led-row .num { font-weight: 800; white-space: nowrap; }
.led-row.neg .num { color: var(--red); }
.led-row.tot { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 10px; }
.led-row.tot .num { font-size: 17px; }
.led-row.bad .num { color: var(--red); }
.ok-card { border: 1.5px solid var(--green); }
.warn-card { border: 1.5px solid #D08700; }
.bank-box { font-size: 12.5px; line-height: 1.45; min-width: 210px; }
.bank-box b { display: block; }
.bank-box span { display: block; }
.tab-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.tabs button.on .tab-n { background: var(--yellow); color: var(--ink); }
.wallet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.wallet { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.wallet .wn { font-weight: 800; display: flex; align-items: center; gap: 8px; }
.wallet .wn i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wallet .wa { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.1; }
.wallet .wa.neg { color: var(--red); }
.wallet .ws { font-size: 12px; color: var(--muted); }
.wallet .btn { margin-top: 6px; align-self: flex-start; }
@media (max-width: 900px) { .bank-grid { grid-template-columns: minmax(0, 1fr); } }
.bank-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.bank-big { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 20px; }
.bank-big small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.bank-big .v { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.1; margin: 6px 0 4px; }
.bank-big span { font-size: 12.5px; opacity: .8; }
.bank-check { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.bank-check label { font-size: 13px; font-weight: 800; }
.bank-check.ok { border-color: var(--green); }
.bank-check.bad { border-color: var(--red); }
.owed-grid .kpi .v { font-size: clamp(20px, 2.2vw, 28px); }
.fold > summary { cursor: pointer; font-weight: 800; padding: 14px 18px; list-style: none; }
.fold > summary::before { content: '▸ '; color: var(--muted); }
.fold[open] > summary::before { content: '▾ '; }
@media (max-width: 900px) { .bank-hero { grid-template-columns: minmax(0, 1fr); } .owed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
