/* Layout: fixed top bar + collapsible rail/sidebar + page-scrolling main. Same indigo/ink palette as the existing theme. */
:root {
  --bg: #fafbfe; --surface: #ffffff; --surface-2: #fbfcfe; --ink: #1b2f5a; --muted: #5a5f7d; --faint: #8b9bbd;
  --line: #dce4f0; --line-soft: #eef2f8; --primary: #1858b8; --primary-ink: #0b3f94; --primary-soft: rgba(24, 88, 184, 0.09); --on-primary: #fff;
  --good: #0b9a72; --good-bg: rgba(32, 201, 151, 0.13); --warn: #b86500; --warn-bg: rgba(250, 139, 12, 0.14); --bad: #cf1f21; --bad-bg: rgba(255, 77, 79, 0.13); --info: #3b46d6; --info-bg: rgba(24, 88, 184, 0.12); --mute-bg: #e8eef6;
  --shadow: 0 1px 2px rgba(39, 43, 65, 0.04), 0 4px 16px rgba(146, 153, 184, 0.1); --shadow-2: 0 10px 32px rgba(39, 43, 65, 0.18);
  --focus: 0 0 0 3px rgba(24, 88, 184, 0.25); --ice: #f2c200; --fuzzy: #18b6d6; --mark: rgba(24, 88, 184, 0.15);
  --c1: #1858b8; --c2: #2c99ff; --c3: #20c997; --c4: #fa8b0c; --c5: #ff69a5; --c6: #8b9bbd; --c7: #1b2f5a;
  --font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; --r: 8px; --rl: 12px; --top: 60px; --side: 248px; --rail: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
code { background: var(--mute-bg); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }
.muted { color: var(--muted); } .sm { font-size: 12px; } .grow { flex: 1 1 auto; min-width: 0; }
.link { background: none; border: 0; color: var(--primary-ink); cursor: pointer; padding: 6px; font-weight: 500; } .link.center { display: block; margin: 10px auto 0; }
.lnk { color: var(--primary-ink); font-weight: 600; text-decoration: none; } .lnk:hover { text-decoration: underline; }
.ellip { display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.late { margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--bad); background: var(--bad-bg); padding: 1px 6px; border-radius: 99px; } .late-t { color: var(--bad); font-weight: 600; }
.skip { position: absolute; left: -9999px; z-index: 99; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 6px; } .skip:focus { left: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-ink); }
.btn.primary { background: linear-gradient(135deg,#2068d0,#1858b8 55%,#0b3f94); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 1px 2px rgba(24, 88, 184, 0.35); } .btn.primary:hover:not(:disabled) { background: #002070; color: var(--on-primary); box-shadow: 0 4px 12px rgba(24, 88, 184, 0.3); }
.btn.danger { color: var(--bad); border-color: var(--bad); } .btn.danger:hover:not(:disabled) { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; } .btn.lg { height: 46px; font-size: 15px; } .btn.block { width: 100%; margin-top: 6px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); background: transparent; border: 0; color: var(--muted); cursor: pointer; } .icon-btn:hover:not(:disabled) { background: var(--primary-soft); color: var(--primary-ink); } .icon-btn:disabled { opacity: 0.35; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; font-size: 12px; cursor: pointer; }

/* inputs */
.input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
textarea.input { height: auto; padding: 10px 12px; line-height: 1.55; resize: vertical; } .input.sm { height: 34px; width: auto; max-width: 100%; }
.input:hover { border-color: #b4b8f9; } .input:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); } .input[readonly] { background: var(--surface-2); color: var(--muted); }
.field { margin-bottom: 18px; min-width: 0; } .field label { display: block; font-weight: 500; margin-bottom: 6px; } .req { color: var(--bad); }
.field.has-err .input { border-color: var(--bad); } .err { color: var(--bad); font-size: 12px; margin-top: 4px; } .hint { color: var(--faint); font-size: 12px; margin-top: 4px; }
.pw { position: relative; } .pw .input { padding-right: 44px; } .pw .icon-btn { position: absolute; right: 3px; top: 3px; }
.alert { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: var(--r); margin: 0 0 14px; font-size: 13px; } .alert.err { background: var(--bad-bg); color: var(--bad); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 18px; } .switch input { position: absolute; opacity: 0; }
.switch i { width: 38px; height: 22px; border-radius: 99px; background: var(--line); position: relative; transition: background-color 0.15s; flex: none; } .switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.switch input:checked + i { background: var(--primary); } .switch input:checked + i::after { transform: translateX(16px); } .switch input:focus-visible + i { box-shadow: var(--focus); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; } .chips button.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-ink); }
.chips-l { margin-bottom: 18px; display: grid; gap: 8px; }
.field label.drop { display: flex; margin: 0; font-weight: 400; }
.drop { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px; border: 1.5px dashed var(--line); border-radius: var(--rl); color: var(--muted); cursor: pointer; text-align: center; flex-wrap: wrap; } .drop input { position: absolute; opacity: 0; width: 1px; height: 1px; } .drop:hover, .drop.over { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); } .drop.has { border-style: solid; } .drop u { color: var(--primary-ink); }
.drop:focus-within { box-shadow: var(--focus); }
.meter { display: flex; align-items: center; gap: 4px; margin: -8px 0 16px; } .meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); } .meter span { font-size: 12px; color: var(--muted); margin-left: 8px; min-width: 56px; }
.meter.s1 i:nth-child(-n+1) { background: var(--bad); } .meter.s2 i:nth-child(-n+2) { background: var(--c4); } .meter.s3 i:nth-child(-n+3) { background: var(--c2); } .meter.s4 i { background: var(--good); }

/* shell */
.topbar { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .logo { height: 44px; width: auto; margin-left: 4px; }
.vr { width: 1px; height: 28px; background: var(--line); margin: 0 8px; } .org { font-weight: 600; color: var(--muted); white-space: nowrap; }
.me { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px; border-radius: var(--r); cursor: pointer; } .me:hover { background: var(--primary-soft); }
.me-t { display: flex; flex-direction: column; text-align: left; line-height: 1.2; } .me-t em { font-style: normal; font-size: 11px; color: var(--muted); }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 12px; flex: none; } .av.sm { width: 30px; height: 30px; font-size: 11px; }
.side { position: fixed; top: var(--top); bottom: 0; left: 0; width: var(--side); padding: 14px 12px; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; z-index: 30; overflow-y: auto; transition: width 0.2s ease, transform 0.2s ease; }
.side a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-radius: var(--r); color: var(--muted); text-decoration: none; font-weight: 500; white-space: nowrap; overflow: hidden; } .side a:hover { background: var(--primary-soft); color: var(--primary-ink); } .side a.on { background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.main { margin-left: var(--side); padding: calc(var(--top) + 24px) clamp(16px, 2.4vw, 32px) 48px; padding-left: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-right, 0px)); min-height: 100vh; transition: margin-left 0.2s ease; max-width: 100%; } .main:focus { outline: none; }
.shell.rail .side { width: var(--rail); } .shell.rail .side a span { display: none; } .shell.rail .side a { justify-content: center; padding: 0; } .shell.rail .main { margin-left: var(--rail); }
.backdrop { position: fixed; inset: var(--top) 0 0 0; background: rgba(20, 22, 40, 0.5); z-index: 25; animation: fade 0.15s; } @keyframes fade { from { opacity: 0; } }
.menu-wrap { position: relative; } .menu { position: absolute; top: calc(100% + 6px); min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--rl); box-shadow: var(--shadow-2); padding: 6px; z-index: 60; } .menu.right { right: 0; } .menu.left { left: 0; }
.mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 6px; cursor: pointer; text-align: left; justify-content: flex-start; } .mi:hover { background: var(--primary-soft); } .mi.danger { color: var(--bad); } .mi.chk input { margin: 0; } .mi-h { padding: 6px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); font-weight: 600; }
.mi[aria-checked="true"] { justify-content: space-between; font-weight: 600; }

/* page */
.phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin-bottom: 18px; flex-wrap: wrap; } .phead-t { display: flex; gap: 8px; align-items: flex-start; min-width: 0; } .phead h1 { font-size: 22px; font-weight: 700; overflow-wrap: anywhere; } .phead p { margin: 2px 0 0; color: var(--muted); } .phead-a { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--rl); box-shadow: var(--shadow); margin-bottom: 20px; min-width: 0; }
.card.flush { overflow: clip; } .card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); min-height: 56px; } .card-h h2 { font-size: 15px; font-weight: 600; } .card-b { padding: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .grid2 > .card { margin-bottom: 0; } .grid2 { margin-bottom: 20px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .fgrid.one { grid-template-columns: minmax(0, 1fr); }
.form { max-width: 920px; } .form-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line-soft); background: var(--surface-2); border-radius: 0 0 var(--rl) var(--rl); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; } .kv dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; } .kv dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.stack { display: grid; gap: 16px; } .prog-t { display: flex; justify-content: space-between; margin-bottom: 6px; } .pbar { height: 8px; background: var(--line-soft); border-radius: 99px; overflow: hidden; } .pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--c2)); border-radius: 99px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; } .flow li { display: flex; gap: 12px; align-items: center; padding: 7px 0; color: var(--faint); position: relative; } .flow li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: #fff; background: var(--surface); } .flow li.done { color: var(--muted); } .flow li.done i { background: var(--good); border-color: var(--good); } .flow li.now { color: var(--ink); font-weight: 600; } .flow li.now i { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .files li { display: flex; gap: 12px; align-items: center; } .files li div { display: flex; flex-direction: column; min-width: 0; } .files b { overflow-wrap: anywhere; }

/* tables */
.tabs { display: flex; gap: 22px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; } .tabs button { background: none; border: 0; padding: 14px 2px 12px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; } .tabs button.on { color: var(--primary-ink); border-bottom-color: var(--primary); font-weight: 600; }
.cnt { background: var(--mute-bg); color: var(--muted); border-radius: 99px; font-size: 11px; padding: 0 8px; line-height: 18px; font-weight: 600; } .tabs button.on .cnt { background: var(--primary-soft); color: var(--primary-ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 20px; } .search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--faint); min-width: 200px; flex: 1 1 240px; max-width: 420px; } .search:focus-within { border-color: var(--primary); box-shadow: var(--focus); } .search input { border: 0; background: none; outline: none; width: 100%; color: var(--ink); } .search .icon-btn { width: 26px; height: 26px; }
.tbl-wrap { overflow-x: auto; border-top: 1px solid var(--line-soft); } .tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl thead.stick th { position: sticky; top: 0; z-index: 2; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; } .tbl.dense td { padding: 6px 16px; } .tbl tbody tr:hover > td { background: rgb(235, 247, 255); } .tbl tr.sel > td { background: var(--primary-soft); } .tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; } .c-ctl { width: 44px; padding-right: 0 !important; }
.th-b { background: none; border: 0; padding: 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; } .th-b .ic { opacity: 0.4; } .th-b .ic.on { opacity: 1; color: var(--primary); }
.tbl tr.sub > td { background: var(--surface-2); padding: 0 0 0 16px; } .tbl.mini th { background: transparent; } .tbl.mini td { padding: 9px 16px; } .tbl tr.open > td { background: var(--primary-soft); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; } .pager-c { display: flex; align-items: center; gap: 6px; } .pg { min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; } .pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; }
.pill.good { background: var(--good-bg); color: var(--good); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.info { background: var(--info-bg); color: var(--info); } .pill.mute { background: var(--mute-bg); color: var(--muted); }
.who { display: flex; align-items: center; gap: 10px; } .who div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; } .who em { font-style: normal; color: var(--muted); font-size: 12px; }
.empty { display: grid; place-items: center; gap: 6px; padding: 56px 16px; text-align: center; color: var(--faint); }
.cards { display: grid; gap: 12px; padding: 4px 14px 14px; } .mcard { border: 1px solid var(--line); border-radius: var(--rl); padding: 14px; background: var(--surface); } .mcard-h { font-weight: 600; margin-bottom: 8px; } .mcard dl { margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; } .mcard dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; } .mcard dd { margin: 0; overflow-wrap: anywhere; } .mcard-sub { margin-top: 10px; overflow-x: auto; }

/* kpi + charts */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; } .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--rl); padding: 16px 18px; display: grid; gap: 2px; box-shadow: var(--shadow); color: var(--primary-ink); } .kpi span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; } .kpi b { font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.chart { width: 100%; height: auto; display: block; } .grid-l { stroke: var(--line); stroke-width: 1; } .ax { fill: var(--muted); font-size: 10px; font-family: var(--font); } .col { fill: var(--c2); opacity: 0.85; } .bar-now { fill: var(--primary); } .ring { fill: none; stroke: var(--line-soft); stroke-width: 16; } .dn { fill: var(--ink); font-size: 22px; font-weight: 700; font-family: var(--font); }
.donut-w { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; } .donut { width: 150px; flex: none; } .legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1 1 200px; min-width: 0; font-size: 13px; } .legend li { display: flex; align-items: center; gap: 8px; } .legend li i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.hbars { display: grid; gap: 12px; } .hb { display: grid; grid-template-columns: 96px minmax(0, 1fr) 72px; gap: 12px; align-items: center; } .hb b { text-align: right; font-variant-numeric: tabular-nums; } .hbars .pbar { height: 10px; }

/* modal + toast */
.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(20, 22, 40, 0.55); display: grid; place-items: center; padding: 16px; animation: fade 0.15s; }
.modal { width: min(460px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--rl); box-shadow: var(--shadow-2); overflow: hidden; } .modal.wide { width: min(640px, 100%); }
.modal-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); } .modal-h h3 { font-size: 16px; } .modal-b { padding: 20px; overflow-y: auto; } .modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line-soft); background: var(--surface-2); }
.toasts { position: fixed; z-index: 200; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; max-width: calc(100vw - 32px); } .toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--r); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-2); animation: up 0.2s ease; } .toast.err { background: var(--bad); color: #fff; } @keyframes up { from { transform: translateY(8px); opacity: 0; } }
.about { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .about li { display: grid; gap: 2px; } .about span { color: var(--muted); }

/* language editor */
.ed-page { max-width: 1500px; } .perf { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 20px; font-size: 12px; background: var(--primary-soft); color: var(--primary-ink); border-bottom: 1px solid var(--line-soft); } .perf b { font-variant-numeric: tabular-nums; } .perf .muted { color: var(--muted); }
kbd { font-family: var(--font); font-size: 11px; background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; margin: 0 1px; color: var(--ink); }
.ed-bar { position: sticky; top: var(--top); z-index: 20; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); } .grp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ed-bar .search { flex: 0 1 240px; min-width: 160px; }
.lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); } .d { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--faint); display: inline-block; } .d.ice { background: var(--ice); border-color: var(--ice); } .d.fuzzy { background: var(--fuzzy); border-color: var(--fuzzy); }
.ed-prog { height: 3px; background: var(--line-soft); position: sticky; top: calc(var(--top) + 54px); z-index: 19; } .ed-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--c2)); transition: width 0.25s; }
.seg-head, .seg { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); } .seg-head { background: var(--surface-2); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); } .seg-head > div { padding: 10px 14px; }
.seg { border-bottom: 1px solid var(--line-soft); background: var(--surface); } .seg:hover { background: var(--surface-2); } .seg.active { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); } .seg > div { padding: 10px 14px; min-width: 0; overflow-wrap: anywhere; line-height: 1.6; }
.seg .n { color: var(--faint); font-size: 12px; text-align: right; padding-right: 8px; user-select: none; font-variant-numeric: tabular-nums; } .seg.edited .n::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c4); margin-left: 4px; }
.seg .s { border-right: 1px solid var(--line-soft); } .seg.ice .s, .seg.ice .t { box-shadow: inset 3px 0 0 var(--ice); } .seg.fuzzy .s, .seg.fuzzy .t { box-shadow: inset 3px 0 0 var(--fuzzy); } .seg.ice .s { box-shadow: inset 3px 0 0 var(--ice); }
.seg textarea { display: block; width: calc(100% + 18px); margin: -5px -9px; padding: 4px 8px; resize: none; overflow: hidden; border: 1px solid transparent; border-radius: 6px; background: transparent; line-height: 1.6; } .seg textarea:not(:disabled):hover { border-color: var(--line); background: var(--surface); } .seg textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: var(--focus); } .seg textarea:disabled { cursor: default; color: var(--ink); -webkit-text-fill-color: currentColor; opacity: 1; }
mark.gl { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; font-weight: 600; }
.ed-foot { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; margin: 0 calc(-1 * clamp(16px, 2.4vw, 32px)); padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(39, 43, 65, 0.08); }

/* login */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--bg); }
.login-art { background: #f7f7f7; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 32px; } .login-art img { width: min(100%, 760px); height: auto; } .login-art p { margin: 0; font-weight: 600; font-size: 20px; color: #104297; text-align: center; }
.login-main { display: grid; align-items: center; justify-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
.login-card { width: min(460px, 100%); } .login-logo { height: 92px; width: auto; margin-bottom: 14px; } .login h1 { font-size: 26px; font-weight: 700; margin-bottom: 4px; } .login form > .muted { margin: 0 0 20px; }

/* responsive */
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991px) {
  .shell .main, .shell.rail .main { margin-left: 0; }
  .side { transform: translateX(-100%); width: min(280px, 84vw); box-shadow: var(--shadow-2); } .side.open { transform: none; }
  .grid2 { grid-template-columns: minmax(0, 1fr); } .login { grid-template-columns: minmax(0, 1fr); } .login-art { padding: 16px; } .login-art img { max-height: 160px; object-fit: contain; } .login-art p { display: none; }
}
@media (max-width: 767px) {
  .me-t, .org, .vr { display: none; } .fgrid, .kv { grid-template-columns: minmax(0, 1fr); } .phead h1 { font-size: 19px; } .toolbar { padding: 12px 14px; } .toolbar .search { max-width: none; flex-basis: 100%; } .tabs { padding: 0 14px; gap: 16px; } .card-b { padding: 16px; } .card-h { padding: 12px 14px; }
  .hb { grid-template-columns: 72px minmax(0, 1fr) 56px; gap: 8px; } .ed-bar .grp:last-child .lg { display: none; } .ed-bar { top: var(--top); } .ed-prog { top: calc(var(--top) + 100px); display: none; }
  .seg-head { display: none; } .seg { grid-template-columns: minmax(0, 1fr); } .seg .n { text-align: left; padding: 8px 14px 0; font-weight: 600; } .seg .s { border-right: 0; background: var(--surface-2); } .seg.ice .t, .seg.fuzzy .t { box-shadow: none; } .perf { padding: 8px 14px; }
  .kpis { gap: 10px; } .kpi { padding: 12px 14px; } .kpi b { font-size: 22px; } .form-f { flex-wrap: wrap; } .form-f .btn { flex: 1 1 130px; } .ed-foot .grp { width: 100%; } .ed-foot .btn { flex: 1 1 120px; }
}
@media (max-width: 420px) { .topbar .chip { display: none; } }

.sub-w { width: 100%; overflow-x: auto; }

/* ===== real-app parity: forms, detail pages, searchable selects ===== */
.btn.success { background: linear-gradient(135deg,#2068d0,#1858b8 55%,#0b3f94); border-color: var(--primary); color: var(--on-primary); } .btn.success:hover:not(:disabled) { background: #002070; color: var(--on-primary); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.form-wide { max-width: none; margin-bottom: 20px; }
.sec { margin-bottom: 26px; } .sec-h { font-size: 15px; font-weight: 600; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.sgrid { display: grid; gap: 4px 28px; } .sgrid.c1 { grid-template-columns: minmax(0, 1fr); } .sgrid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sgrid.mt, .mt { margin-top: 6px; }
.sgrid > .field { margin-bottom: 14px; }
.vv { margin: 0 0 14px; min-width: 0; } .vv dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; } .vv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; } .vv.wide { grid-column: 1 / -1; }
.field-w { min-width: 0; }
.combo { position: relative; } .combo-b { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; font: inherit; color: inherit; } .combo-b .ph { color: var(--faint); } .combo-b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo.dis .combo-b { background: var(--surface-2); color: var(--muted); cursor: not-allowed; } .combo.open .combo-b { border-color: var(--primary); box-shadow: var(--focus); } .clr { display: grid; place-items: center; color: var(--faint); } .clr:hover { color: var(--bad); }
.combo-p { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px; min-width: 180px; }
.combo-s { width: 100%; margin-bottom: 6px; } .combo-p ul { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; } .combo-p li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 6px; cursor: pointer; } .combo-p li.hi, .combo-p li:hover { background: var(--primary-soft); } .combo-p li.sel { color: var(--primary); font-weight: 600; } .combo-p li.none { color: var(--faint); cursor: default; }
.combo-b.multi { height: auto; min-height: 40px; padding: 4px 10px; } .combo-b .tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; } .tag { display: inline-flex; align-items: center; gap: 4px; background: var(--primary-soft); color: var(--primary-ink); border-radius: 6px; padding: 3px 4px 3px 8px; font-size: 13px; } .tag button { display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: inherit; border-radius: 4px; padding: 2px; } .tag button:hover { background: rgba(24,88,184,.18); }
.jt { margin: 4px 0 22px; } .jobs-edit td, .jobs-edit th { vertical-align: top; } .jobs-edit td .combo, .jobs-edit td .input { min-width: 150px; } .jobs-edit .acts { white-space: nowrap; width: 80px; }
.icon-btn.ring { border: 1px solid var(--line); border-radius: 99px; width: 32px; height: 32px; } .danger-i { color: var(--bad); } .add-i { color: var(--primary); }
.info-i { display: inline-grid; place-items: center; color: var(--muted); vertical-align: middle; cursor: help; } .act-i { color: var(--warn); display: inline-grid; margin-left: 6px; vertical-align: middle; } .plink { display: inline-flex; align-items: center; }
.filerow { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; } .filerow .ellip { max-width: 220px; }
.drop.sm { padding: 10px 14px; flex-direction: row; } button.drop { width: 100%; background: var(--surface); font: inherit; }
.note-in { position: relative; margin-bottom: 12px; } .note-in textarea { padding-right: 90px; } .note-in .btn { position: absolute; right: 10px; bottom: 10px; }
.notes { display: grid; gap: 8px; } .note { background: var(--surface-2); border-radius: var(--r); padding: 10px 12px; } .note-h { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); } .note-r { display: inline-flex; align-items: center; gap: 6px; } .note p { margin: 6px 0 0; }
.logo-box { display: flex; align-items: center; gap: 16px; } .logo-fig { width: 110px; height: 110px; border: 1px solid var(--line); border-radius: var(--rl); display: grid; place-items: center; color: var(--faint); background: var(--surface-2); overflow: hidden; } .logo-fig img { width: 100%; height: 100%; object-fit: contain; }
.price-rows { display: grid; gap: 4px; } .price-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 76px; gap: 0 14px; align-items: start; } .price-act { display: flex; gap: 2px; align-items: center; padding-top: 28px; } .w25 { max-width: 280px; }
.gl-act { display: inline-flex; gap: 6px; align-items: center; } .bad-t { color: var(--bad); font-weight: 600; margin-left: 8px; font-size: 12px; }
.spin-i { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: mvspin .8s linear infinite; } @keyframes mvspin { to { transform: rotate(360deg); } }
.form-f.wrap { flex-wrap: wrap; } .lnk { color: var(--primary); font-weight: 500; text-decoration: none; cursor: pointer; } .lnk:hover { text-decoration: underline; }
@media (max-width: 1100px) { .sgrid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-act { padding-top: 0; justify-content: flex-end; grid-column: 1 / -1; } }
@media (max-width: 767px) { .sgrid.c3, .sgrid.c2 { grid-template-columns: minmax(0, 1fr); } .price-row { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 12px; margin-bottom: 10px; } .note-in textarea { padding-right: 12px; padding-bottom: 52px; } .jobs-edit td .combo, .jobs-edit td .input { min-width: 130px; } }

/* ===== round 4: dropdown portal, light form background, pagination, charts, invoices, emails ===== */
:root { --form-bg: #fcfcfd; }
.combo-p.fixed { position: fixed; z-index: 150; top: auto; right: auto; display: flex; flex-direction: column; min-width: 0; } .combo-p.fixed ul { flex: 1 1 auto; min-height: 0; max-height: none; }
.card.form-wide, .card.form-wide .card-b, .card.form-wide .form-f { background: var(--form-bg); } .card.form-wide .form-f { border-top: 1px solid var(--line-soft); }
.card.form-wide .input:not(:disabled):not([readonly]) { background: #fff; } .card.form-wide .tbl th { background: #f6f7fa; } .card.form-wide .tbl td { background: transparent; }
.drawer-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(20, 22, 40, 0.4); display: flex; justify-content: flex-end; }
.drawer { width: min(440px, 100%); height: 100%; background: var(--surface); box-shadow: var(--shadow-2); display: flex; flex-direction: column; animation: slidein 0.18s ease-out; } @keyframes slidein { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); } .drawer-h h3 { font-size: 17px; } .drawer-h p { margin: 2px 0 0; }
.drawer-b { padding: 16px 18px; overflow: auto; flex: 1; } .drawer-b .search { max-width: none; margin-bottom: 12px; } .gl-t td, .gl-t th { padding: 9px 10px; } .gl-t .icon-btn { width: 28px; height: 28px; }
.phead-a .cnt { margin-left: 2px; }
/* numbered pagination */
.pg-b { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums; }
.pg-b:hover:not(:disabled):not(.on) { background: var(--primary-soft); color: var(--primary-ink); } .pg-b.on { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; } .pg-b:disabled { opacity: 0.35; cursor: default; } .pg-e { color: var(--faint); padding: 0 2px; }
.pager-c { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
/* staff cost table, job cost breakdown */
.wc-t { border: 1px solid var(--line); border-radius: var(--r); background: #fff; max-width: 640px; } .wc-t .rate, .li-edit .rate { width: 110px; text-align: right; } .wc-w .err { margin-top: 8px; } td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cost-b { margin: -8px 0 24px; } .cost-b h4 { margin: 0 0 8px; font-size: 13px; } .cost-b .tbl-wrap { border: 1px solid var(--line); border-radius: var(--r); background: #fff; max-width: 760px; } .cost-b tfoot td { background: var(--surface-2); border-top: 1px solid var(--line); }
/* reports (chart library theme) */
.rep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(500px, 100%), 1fr)); gap: 16px; } .rep-sec { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; } .rep-sec span { font-size: 11px; font-weight: 700; color: #8b9bbd; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; } .rep-sec i { flex: 1; height: 1px; background: var(--line); }
@media (max-width: 640px) { .cc-lp { display: none !important; } }
/* invoices */
.inv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; } .inv-main { min-width: 0; display: grid; gap: 20px; } .inv-side { display: grid; gap: 16px; min-width: 0; } .inv-side .card { margin-bottom: 0; }
.stack { display: grid; gap: 10px; } .stack .btn { width: 100%; } .inline-a { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; } .mt-s { margin-top: 10px; }
.kv2 { margin: 0; display: grid; gap: 8px; } .kv2 > div { display: flex; justify-content: space-between; gap: 12px; } .kv2 dt { color: var(--muted); } .kv2 dd { margin: 0; font-variant-numeric: tabular-nums; }
.pay-l { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; } .pay-l li { display: grid; } .pay-l span { color: var(--muted); font-size: 12px; }
.link-box { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; word-break: break-all; color: var(--primary-ink); } .link-box a { color: inherit; } .link-in { display: flex; gap: 8px; } .link-in .input { flex: 1; min-width: 0; width: auto; }
.act-l { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; } .act-l li { padding: 11px 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 2px; font-size: 13px; } .act-l li:first-child { border-top: 0; } .act-l em { font-style: normal; font-size: 11px; color: var(--faint); }
.inv-sheet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--rl); box-shadow: var(--shadow); padding: 36px 40px 28px; color: #1b2f5a; overflow: hidden; }
.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 3px solid var(--primary); } .inv-head img { height: 64px; width: auto; } .inv-title { text-align: right; } .inv-title h2 { font-size: 30px; letter-spacing: 0.08em; color: #0b2a6b; } .inv-title span { color: var(--muted); font-weight: 600; }
.inv-stamp { position: absolute; top: 120px; right: 56px; transform: rotate(-12deg); border: 4px solid var(--good); color: var(--good); font-size: 34px; font-weight: 800; letter-spacing: 0.14em; padding: 2px 16px; border-radius: 8px; opacity: 0.8; pointer-events: none; }
.inv-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 22px 0; padding: 14px 18px; background: #f6f8fc; border: 1px solid var(--line); border-radius: 10px; } .inv-meta span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); } .inv-meta b { font-size: 14px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 22px; } .inv-parties h4, .inv-card h4 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); } .inv-parties p, .inv-card p { margin: 0; font-size: 13px; color: var(--muted); }
.inv-tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; } .inv-tbl table { width: 100%; border-collapse: collapse; font-size: 13px; } .inv-tbl th { background: #0b2a6b; color: #fff; text-align: left; padding: 10px 12px; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; } .inv-tbl td { padding: 10px 12px; border-top: 1px solid var(--line-soft); vertical-align: top; } .inv-tbl tbody tr:nth-child(even) td { background: #fafbfd; } .inv-tbl .num { text-align: right; white-space: nowrap; }
.inv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 16px; align-items: stretch; } .inv-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #f6f8fc; }
.inv-totals { display: grid; gap: 8px; align-content: start; } .inv-totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-variant-numeric: tabular-nums; } .inv-totals .grand { padding-top: 8px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; } .inv-totals .due { padding: 8px 10px; margin: 4px -6px 0; background: var(--primary); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 700; }
.inv-pay { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding: 12px 16px; border: 1px dashed var(--primary); border-radius: 10px; background: var(--primary-soft); font-size: 13px; } .inv-pay span { font-weight: 700; color: var(--primary-ink); } .inv-pay a { color: var(--primary-ink); word-break: break-all; }
.inv-terms { margin-top: 16px; } .inv-foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { .inv-layout { grid-template-columns: minmax(0, 1fr); } .inv-side { order: -1; } }
@media (max-width: 640px) { .inv-sheet { padding: 20px 16px; } .inv-head img { height: 46px; } .inv-title h2 { font-size: 22px; } .inv-parties, .inv-row { grid-template-columns: minmax(0, 1fr); } .inv-stamp { top: 96px; right: 16px; font-size: 24px; } }
@media print { body * { visibility: hidden !important; } .inv-sheet, .inv-sheet * { visibility: visible !important; } .inv-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; } }
/* email templates */
.em-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; } .em-list { padding-bottom: 8px; } .em-g { padding: 14px 16px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.em-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 16px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); font-weight: 500; } .em-i:hover { background: var(--primary-soft); color: var(--primary-ink); } .em-i.on { background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); } .em-i span { display: grid; } .em-i em { font-style: normal; font-size: 11px; color: var(--faint); font-weight: 400; } .em-new { margin-left: 8px; font-size: 10px; background: var(--good-bg); color: var(--good); padding: 1px 7px; border-radius: 99px; }
.em-view { min-width: 0; } .em-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--rl); } .em-meta > div { display: grid; min-width: 0; } .em-frame { width: 100%; height: 780px; border: 1px solid var(--line); border-radius: var(--rl); background: #f2f5fa; }
@media (max-width: 900px) { .em-layout { grid-template-columns: minmax(0, 1fr); } .em-frame { height: 640px; } }

.inv-notes p { white-space: pre-line; }

/* Lighter page background across all screens */
.page, main, .main { background: transparent; }
.send-att { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-size: 13px; } .send-att svg { color: var(--primary); flex: none; } .send-att small { color: var(--muted); margin-left: auto; }

/* [MTPE-UPDATE] boot / loading screen and captcha slot */
.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--bg,#f7f9fc);text-align:center;padding:24px}
.boot img{height:40px}
.captcha{margin:8px 0 12px;min-height:78px}

.tbl.mini { min-width: 100%; width: max-content; } .tbl.mini td, .tbl.mini th { white-space: nowrap; } .tbl.mini tbody tr:hover > td { background: rgb(235, 247, 255); } .sub-bar { display: flex; justify-content: flex-end; padding: 8px 16px 0 0; }
