:root { --ink:#17323d; --muted:#526772; --canvas:#f1f5f7; --surface:#fff; --rail:#14343e; --line:#dce5e9; --primary:#0c7168; --soft:#e7f5f0; --amber:#8b4b08; --red:#a82f29; --blue:#235db7; font-family:"Avenir Next","Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--canvas); font-synthesis:none; }
* { box-sizing:border-box; } body { margin:0; } [hidden] { display:none !important; } button,input { font:inherit; } button { cursor:pointer; } button:disabled { cursor:wait; opacity:.6; } a { color:inherit; } :focus-visible { outline:3px solid #278579; outline-offset:3px; } .skip-link { position:fixed; top:-100px; left:16px; z-index:50; background:#fff; padding:12px; } .skip-link:focus { top:12px; } h1,h2,h3,p { margin:0; } h1 { font-size:clamp(28px,3vw,36px); letter-spacing:-1.1px; line-height:1.15; } h2 { font-size:19px; letter-spacing:-.45px; } p { line-height:1.55; } .muted { color:var(--muted); } .eyebrow { font-size:10px; font-weight:750; letter-spacing:1.7px; color:var(--primary); margin-bottom:12px; } .button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:11px 18px; border-radius:8px; border:1px solid transparent; font-size:13px; font-weight:700; white-space:nowrap; } .primary { background:var(--primary); color:#fff; } .primary:hover { background:#075e56; } .secondary { background:#fff; border-color:#c9d7dd; color:var(--ink); } .secondary:hover { background:#edf4f3; } .alert { border-radius:8px; padding:12px 16px; font-size:14px; margin-bottom:20px; } .error { background:#fff1ef; border:1px solid #e7bbb5; color:var(--red); } .app-shell { display:grid; grid-template-columns:220px minmax(0,1fr); min-height:100dvh; } .sidebar { position:sticky; top:0; height:100dvh; display:flex; flex-direction:column; padding:32px 18px 22px; color:#e3f0f2; background:var(--rail); } .brand { display:flex; align-items:center; gap:10px; text-decoration:none; font-size:17px; font-weight:750; letter-spacing:-.45px; } .brand > span:last-child { min-width:0; } .brand-mark { width:34px; height:36px; flex-shrink:0; display:grid; place-items:center; background:#ddf1eb; color:var(--rail); border-radius:10px 10px 10px 3px; font-weight:800; } .brand small { display:block; font-size:8px; letter-spacing:1.4px; margin-top:6px; font-weight:650; color:#b3cad0; } .rail-label { font-size:9px; letter-spacing:1.6px; color:#b3cad0; margin:44px 10px 14px; } .sidebar nav { display:grid; gap:8px; } .nav-button { border:0; border-radius:8px; color:#d9e8eb; background:transparent; padding:13px 10px; min-height:46px; display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; font-weight:650; text-align:left; } .nav-button:hover { background:#234852; } .nav-button.active { background:#dff1e9; color:#16483f; } .nav-count { font-size:11px; font-variant-numeric:tabular-nums; } .rail-info { margin:32px 10px; padding-top:22px; border-top:1px solid #3c5761; font-size:11px; color:#bfd3d9; } .rail-info strong { color:#e4f2f0; font-weight:650; } .rail-info p { margin-top:8px; } .status-dot { width:7px; height:7px; display:inline-block; background:#86c4ad; border-radius:50%; margin-right:6px; } .rail-bottom { margin-top:auto; display:grid; gap:3px; padding-top:18px; border-top:1px solid #3c5761; } #admin-email { font-size:11px; padding:8px 10px; overflow-wrap:anywhere; color:#bfd3d9; } .rail-action { background:transparent; color:#e3f0f2; border:0; text-align:left; min-height:44px; padding:10px; font-size:12px; border-radius:6px; } .rail-action:hover { background:#234852; } .workspace { min-width:0; } .topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 32px; background:#fff; border-bottom:1px solid var(--line); font-size:12px; color:var(--muted); } .breadcrumb { color:#778993; margin-left:8px; } .live-status { font-size:11px; display:flex; align-items:center; gap:6px; } .live-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#378774; } .live-status.stale::before { background:var(--amber); } main { padding:32px; } .page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:28px; } .page-heading p:last-child { font-size:14px; color:var(--muted); margin-top:10px; } .summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--line); border-radius:12px; background:#fff; margin-bottom:24px; } .summary-item { padding:24px; display:grid; gap:8px; border-right:1px solid var(--line); } .summary-item:last-child { border:0; } .summary-item > span { color:var(--muted); font-size:12px; font-weight:650; } .summary-item strong { font-size:34px; line-height:1; letter-spacing:-1px; font-variant-numeric:tabular-nums; } .summary-item:nth-child(2) strong { color:var(--amber); } .summary-item:nth-child(3) strong { color:var(--primary); } .summary-item small { font-size:10px; color:var(--muted); line-height:1.5; } .refresh-summary strong { font-size:19px; letter-spacing:-.4px; align-self:center; } .numbers-panel { border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; } .table-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; } .table-toolbar p { color:var(--muted); font-size:12px; margin-top:6px; } label { display:grid; gap:8px; font-size:12px; font-weight:650; } input { min-height:44px; border:1px solid #bdcdd5; background:#fff; color:var(--ink); border-radius:7px; padding:11px 12px; min-width:0; width:100%; outline-offset:2px; font-size:14px; } input::placeholder { color:#71828c; } .search-field { width:300px; max-width:100%; } .search-field span { color:var(--muted); font-size:11px; } .table-scroll { overflow-x:auto; max-width:100%; } table { width:100%; min-width:1190px; border-collapse:collapse; table-layout:fixed; font-size:12px; } th { font-size:10px; color:#556975; text-align:left; letter-spacing:.45px; font-weight:750; background:#f4f7f8; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:14px 18px; } th:first-child { width:195px; } th:nth-child(2) { width:150px; } th:nth-child(3) { width:145px; } th:nth-child(4) { width:150px; } th:nth-child(5) { width:150px; } th:nth-child(6) { width:210px; } th:last-child { width:190px; } td { vertical-align:top; padding:20px 18px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; } .number-row:hover td { background:#fafcfc; } .number-row > td:first-child { position:sticky; left:0; z-index:1; background:#fff; box-shadow:1px 0 0 var(--line); } th:first-child { position:sticky; left:0; z-index:2; box-shadow:1px 0 0 var(--line); } .phone { display:block; font-family:Menlo,Consolas,monospace; font-weight:700; font-size:12px; letter-spacing:-.25px; white-space:nowrap; } .account-name { display:block; color:var(--muted); margin:6px 0 10px; font-size:11px; } .badge { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:5px; font-size:10px; line-height:1.3; font-weight:750; } .badge.good { background:#e7f5ed; color:#21634d; } .badge.warning { background:#fff1db; color:var(--amber); } .badge.danger { background:#fdece9; color:var(--red); } .badge.neutral { background:#edf2f5; color:#526772; } .cell-note { display:block; font-size:10px; color:var(--muted); line-height:1.6; margin-top:8px; } .risk-score { font-size:11px; display:block; color:var(--muted); margin-top:10px; font-variant-numeric:tabular-nums; } .risk-meter { width:96px; height:4px; display:flex; gap:3px; margin-top:9px; } .risk-meter > span { flex:1; background:#e3eaed; border-radius:2px; } .risk-meter.low > span:first-child { background:#35846a; } .risk-meter.medium > span:nth-child(-n+2) { background:#c68b37; } .risk-meter.high > span:nth-child(-n+3) { background:#c56a35; } .risk-meter.critical > span { background:#bd4038; } .metrics { display:grid; gap:7px; margin:0; } .metrics div { display:flex; justify-content:space-between; gap:10px; } .metrics dt { color:var(--muted); font-size:10px; } .metrics dd { margin:0; font-weight:650; font-variant-numeric:tabular-nums; } .delivery-value { font-size:20px; font-variant-numeric:tabular-nums; letter-spacing:-.4px; font-weight:700; } .allowance { display:grid; gap:7px; } .allowance-line { display:flex; justify-content:space-between; gap:12px; font-size:11px; } .allowance-line span { color:var(--muted); } .allowance-line strong { font-size:11px; font-weight:650; font-variant-numeric:tabular-nums; } .details-button { background:#fff; color:var(--primary); font-size:11px; font-weight:750; border:1px solid #c9dcd6; border-radius:6px; min-height:44px; padding:10px 12px; margin-top:10px; } .details-button:hover { background:var(--soft); } .detail-row > td { padding:24px; background:#f7fafb; } .detail-grid { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:32px; } .detail-grid h3 { font-size:12px; margin-bottom:10px; } .detail-grid p,.detail-grid li { font-size:12px; color:var(--muted); line-height:1.6; } .detail-grid ul { padding-left:18px; margin:10px 0; } .detail-grid .metrics { margin-top:12px; } .detail-grid .metrics dt,.detail-grid .metrics dd { font-size:11px; } .assignment { display:block; padding:6px 8px; margin:5px 0; border:1px solid var(--line); border-radius:5px; font-family:Menlo,Consolas,monospace; font-size:10px; overflow-wrap:anywhere; color:#365564; } .table-footer { padding:16px 24px; display:flex; justify-content:space-between; gap:24px; background:#fcfdfd; } .table-footer p { color:var(--muted); font-size:10px; max-width:490px; } .empty-state { padding:64px 24px; text-align:center; } .empty-state h3 { font-size:18px; margin:18px 0 10px; } .empty-state p { max-width:440px; margin:auto; color:var(--muted); font-size:13px; } .empty-mark { display:inline-grid; place-items:center; width:48px; height:48px; border-radius:12px; background:#ecf4f2; color:var(--primary); font-size:24px; } .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; } .login-view { min-height:100dvh; display:grid; grid-template-columns:1fr 1fr; } .login-intro { background:var(--rail); padding:48px; color:#ecf4f5; display:flex; flex-direction:column; } .login-copy { margin:auto 0; padding:80px 0; } .login-copy .eyebrow { color:#9cd4c2; } .login-copy h1 { font-size:clamp(36px,4.5vw,60px); letter-spacing:-2px; line-height:1.07; } .login-copy > p:last-child { margin-top:28px; max-width:380px; color:#b9d1d7; font-size:16px; } .login-foot { font-size:11px; color:#b9d1d7; } .login-form-wrap { display:grid; place-items:center; padding:40px; } .login-form { width:100%; max-width:360px; display:grid; gap:20px; } .login-form h2 { font-size:27px; letter-spacing:-.9px; } .login-form .eyebrow { margin-bottom:-6px; } .login-form .muted { font-size:14px; margin-top:-10px; } .login-form .alert { margin:0; } dialog { border:1px solid var(--line); border-radius:12px; padding:28px; width:420px; max-width:calc(100% - 32px); color:var(--ink); } dialog::backdrop { background:#12313b77; } .password-form { display:grid; gap:18px; } .password-form .muted { font-size:13px; } .password-form .alert { margin:0; } .dialog-actions { display:flex; justify-content:flex-end; gap:12px; } .field-help { font-size:11px; color:var(--muted); margin-top:-10px; }
@media (max-width:1100px) { .app-shell { grid-template-columns:190px minmax(0,1fr); } main { padding:24px; } .topbar { padding:18px 24px; } .summary-item { padding:20px 16px; } .brand { font-size:14px; } .nav-button { font-size:11px; } .summary { grid-template-columns:1fr 1fr; } .summary-item:nth-child(2) { border-right:0; } .summary-item:nth-child(-n+2) { border-bottom:1px solid var(--line); } }
@media (max-width:700px) { .app-shell { display:block; } .sidebar { position:static; height:auto; padding:20px 16px; gap:18px; } .brand { font-size:16px; } .rail-label,.rail-info { display:none; } .sidebar nav { display:flex; flex-wrap:wrap; gap:8px; } .nav-button { flex:1 1 120px; font-size:11px; padding:12px; } .rail-bottom { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0; padding:10px 0 0; } #admin-email { flex:1 1 160px; padding:0; } .rail-action { min-height:44px; padding:8px 10px; } .topbar { min-height:60px; padding:14px 16px; flex-wrap:wrap; gap:8px; } .breadcrumb { display:none; } main { padding:24px 16px; } .page-heading { align-items:flex-start; flex-direction:column; gap:18px; } .page-heading .button { width:100%; } .summary-item { padding:18px 14px; gap:10px; } .summary-item strong { font-size:30px; } .refresh-summary strong { font-size:16px; } .summary-item > span { font-size:11px; } .summary-item small { font-size:10px; } .table-toolbar { padding:20px 18px; flex-direction:column; align-items:stretch; gap:18px; } .search-field { width:100%; } input { font-size:16px; } .table-footer { flex-direction:column; gap:8px; padding:16px 18px; } .login-view { display:block; } .login-intro { padding:28px 24px; } .login-copy { padding:36px 0 10px; } .login-copy h1 { font-size:36px; letter-spacing:-1px; } .login-copy > p:last-child { margin-top:18px; font-size:14px; } .login-foot { display:none; } .login-form-wrap { padding:36px 24px; } .login-form h2 { font-size:24px; } }

.table-scroll-hint { display:none; }
@media (max-width:700px) { .table-scroll-hint { display:block; padding:0 18px 16px; color:var(--muted); font-size:11px; } }

.success { background:#e7f5ed; border:1px solid #badbcc; color:#21634d; } .danger { background:var(--red); color:#fff; } .danger-outline { background:#fff; color:var(--red); border-color:#e7bbb5; } .number-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; } .number-actions .button { font-size:11px; padding:8px 10px; } #history-dialog { width:620px; max-height:85dvh; overflow-y:auto; } .history-entries { list-style:none; margin:0; padding:0; display:grid; gap:16px; } .history-entries li { border-left:3px solid #b6d6cc; padding:4px 0 4px 16px; } #delink-dialog p { font-size:13px; }
