/* AVANKYA design system
   Brand: AVANKYA gold + royal navy (from the logo). Paper slips. One family (Mukta) for Hindi and English. */
:root {
  --page: #f1f3f8;
  --surface: #ffffff;
  --sunken: #f7f8fb;
  --ink: #121a2e;
  --ink-2: #4a5470;
  --ink-3: #79829b;
  --line: #dde2ec;
  --line-strong: #c3cad9;

  --stamp: #1f4594;          /* royal navy – brand (logo blue) */
  --stamp-deep: #142f6b;
  --stamp-wash: #e8eefb;
  --marigold: #e2aa32;       /* brand gold – primary action */
  --marigold-deep: #c18b16;
  --marigold-wash: #fdf3dc;
  --gold-grad: linear-gradient(135deg, #f3d58a 0%, #e2aa32 45%, #b9801a 100%);

  --leaf: #18794e;  --leaf-wash: #e2f4ea;
  --sky: #0e6f8a;   --sky-wash: #e0f2f7;
  --amber: #a15c00; --amber-wash: #fff0d6;
  --brick: #b42318; --brick-wash: #fde8e6;
  --slate: #667085; --slate-wash: #eef0f4;

  --r-sm: 10px; --r-md: 14px; --r-lg: 18px;
  --shadow-slip: 0 1px 0 rgba(24,33,58,.06), 0 8px 24px -14px rgba(24,33,58,.35);
  --font: "Inter", "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 3px rgba(31,69,148,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.5 var(--font); font-feature-settings: "tnum" 1;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
h1 { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
p { margin: 0; }
a { color: var(--stamp); }
.hi { font-weight: 500; }                 /* Hindi helper text */
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); font-size: 14px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: block; object-fit: cover;
  background: #000; box-shadow: 0 0 0 1px rgba(226,170,50,.35), 0 4px 10px -4px rgba(0,0,0,.45);
}
/* Full logo on login screens */
.brand-hero { background: #000; border-radius: var(--r-lg); padding: 14px 18px; margin-bottom: 18px; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(226,170,50,.25), 0 18px 40px -24px rgba(0,0,0,.7); }
.brand-hero img { display: block; width: 100%; max-width: 340px; height: auto; }
.brand-name { font-weight: 800; letter-spacing: .02em; font-size: 17px; line-height: 1.1; }
.brand-sub { font-size: 13px; color: var(--ink-3); line-height: 1.1; }

/* ---------- Controls ---------- */
label, .label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0 0 6px; }
.field { margin-bottom: 14px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--stamp); box-shadow: var(--focus); }
input::placeholder { color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font: 700 16px/1 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { background: var(--marigold-deep); }
.btn-brand { background: var(--stamp); color: #fff; }
.btn-brand:hover { background: var(--stamp-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-quiet { background: transparent; color: var(--stamp); padding-inline: 8px; }
.btn-quiet:hover { background: var(--stamp-wash); }
.btn-danger { background: var(--surface); color: var(--brick); border-color: #f1b8b2; }
.btn-danger:hover { background: var(--brick-wash); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .ico { width: 18px; height: 18px; }

.phone-input { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.phone-input:focus-within { border-color: var(--stamp); box-shadow: var(--focus); }
.phone-input span { display: grid; place-items: center; padding: 0 12px; background: var(--sunken); color: var(--ink-2); font-weight: 700; border-right: 1.5px solid var(--line); }
.phone-input input { border: 0; border-radius: 0; box-shadow: none !important; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.otp-input { font-size: 26px; font-weight: 800; letter-spacing: .5em; text-align: center; padding-left: .5em; }

/* ---------- Surfaces ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

/* The token slip: the memorable object of the customer app */
.slip {
  position: relative; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow-slip); padding: 18px 18px 16px; overflow: hidden;
}
.slip::before {               /* punched holes on the left edge, like a counter token */
  content: ""; position: absolute; left: -7px; top: 22px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--page); box-shadow: 0 0 0 1px var(--line) inset;
}
.slip + .slip { margin-top: 14px; }
.slip-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.slip-service { font-weight: 700; font-size: 18px; line-height: 1.25; }
.slip-token { font-weight: 800; font-size: 15px; letter-spacing: .03em; color: var(--stamp); white-space: nowrap; }
.slip-tear { border: 0; border-top: 2px dashed var(--line); margin: 14px -18px; }
.slip-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.slip-meta b { color: var(--ink); font-weight: 700; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.slip-detail:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Rubber stamp status */
.stamp {
  --c: var(--sky);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5px 10px 3px; border: 2.5px solid var(--c); outline: 1px solid var(--c); outline-offset: 2px;
  border-radius: 6px; color: var(--c); font-weight: 800; font-size: 13px; line-height: 1.05;
  text-align: center; transform: rotate(-6deg); flex: none; margin: 4px 4px 0 0;
  mix-blend-mode: multiply; opacity: .92; max-width: 132px;
}
.stamp small { font-weight: 600; font-size: 11px; opacity: .85; }
.stamp.is-ok { --c: var(--leaf); }
.stamp.is-warn { --c: var(--amber); }
.stamp.is-bad { --c: var(--brick); }
.stamp.is-muted { --c: var(--slate); }
.stamp.is-wait { --c: var(--stamp); }
.stamp-in { animation: stamp-in .35s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stamp-in { from { transform: rotate(-6deg) scale(1.6); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: .92; } }

/* Small status chip for dense lists */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.is-info { background: var(--sky-wash); color: var(--sky); }
.chip.is-ok { background: var(--leaf-wash); color: var(--leaf); }
.chip.is-warn { background: var(--amber-wash); color: var(--amber); }
.chip.is-bad { background: var(--brick-wash); color: var(--brick); }
.chip.is-muted { background: var(--slate-wash); color: var(--slate); }
.chip.is-wait { background: var(--stamp-wash); color: var(--stamp); }
.chip.no-dot::before { display: none; }

/* Progress track – a real sequence, so steps are numbered */
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 16px; counter-reset: step; }
.track li { list-style: none; position: relative; padding-top: 30px; font-size: 12px; line-height: 1.2; color: var(--ink-3); text-align: center; }
.track li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--ink-3); font-weight: 800; font-size: 12px;
}
.track li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); }
.track li:first-child::after { display: none; }
.track li.done { color: var(--ink-2); }
.track li.done::before { content: "✓"; background: var(--stamp); border-color: var(--stamp); color: #fff; }
.track li.done::after, .track li.now::after { background: var(--stamp); }
.track li.now { color: var(--ink); font-weight: 700; }
.track li.now::before { border-color: var(--stamp); color: var(--stamp); box-shadow: 0 0 0 4px var(--stamp-wash); }
.track { padding: 0; margin-bottom: 0; }

.callout { border-radius: var(--r-sm); padding: 10px 12px; font-size: 15px; margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; }
.callout .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.callout-warn { background: var(--amber-wash); color: #6e3f00; }
.callout-info { background: var(--sky-wash); color: #183f91; }
.callout-ok { background: var(--leaf-wash); color: #0f5136; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--stamp); }
.timeline li:last-child::before { background: var(--stamp); }
.timeline .t-when { font-size: 13px; color: var(--ink-3); }
.timeline .t-note { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* Document rows */
.doc { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.doc-ico { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--stamp-wash); color: var(--stamp); display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 800; }
.doc-body { flex: 1; min-width: 0; }
.doc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink-2); }

.dropzone {
  display: block; border: 2px dashed var(--line-strong); border-radius: var(--r-md); padding: 16px; text-align: center;
  background: var(--sunken); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--stamp); background: var(--stamp-wash); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone b { color: var(--stamp); }

/* Empty states */
.empty { text-align: center; padding: 32px 16px; }
.empty .ico-lg { width: 56px; height: 56px; color: var(--stamp); margin: 0 auto 10px; display: block; }
.empty p { color: var(--ink-2); max-width: 36ch; margin: 6px auto 16px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-md); font-weight: 500;
  max-width: min(520px, calc(100% - 32px)); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
  visibility: hidden; transition: transform .25s, visibility .25s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.bad { background: var(--brick); }
body.has-bottom-nav .toast { bottom: 88px; }
/* V2.9.2: a message is never hidden behind an open sheet / dialog – it shows on top of the screen */
.toast { z-index: 300; }
body:has(.sheet-wrap:not([hidden])) .toast, body:has(.consent-wrap:not([hidden])) .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto !important; transform: translate(-50%, -180%); }
body:has(.sheet-wrap:not([hidden])) .toast.show, body:has(.consent-wrap:not([hidden])) .toast.show { transform: translate(-50%, 0); }
body.has-bottom-nav .demo-ribbon { pointer-events: none; bottom: 84px; }

.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skeleton { height: 120px; border-radius: var(--r-md); background: linear-gradient(90deg, #e9ecf3 25%, #f4f6fa 50%, #e9ecf3 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton + .skeleton { margin-top: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.demo-ribbon { position: fixed; right: 12px; bottom: 12px; z-index: 60; background: var(--marigold); color: var(--ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }

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

/* V2.9 staff side menu: groups, find, narrow mode */
.nav-tools { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; }
.nav-tools .nav-find { flex: 1; min-width: 0; min-height: 34px; padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 500 14px/1.2 var(--font); }
.nav-tools .nav-find::placeholder { color: #8f98b0; }
.nav-tools .nav-rail { flex: none; width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #c9cfe0; cursor: pointer; display: grid; place-items: center; }
.nav-tools .nav-rail:hover { background: rgba(255,255,255,.08); color: #fff; }
.chev-l, .chev { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; display: inline-block; }
.chev-l { transform: rotate(135deg); margin-left: 3px; }
.rail .chev-l { transform: rotate(-45deg); margin: 0 3px 0 0; }
.nav-grp-h { display: flex !important; align-items: center; gap: 6px; font: 700 12px/1 var(--font) !important; letter-spacing: .04em; text-transform: uppercase; color: #8f98b0 !important; padding: 12px 10px 6px !important; background: none !important; }
.nav-grp-h span { flex: 1; }
.nav-grp-h .chev { transform: rotate(45deg); margin-bottom: 3px; opacity: .8; }
.nav-grp.is-closed .nav-grp-h .chev { transform: rotate(-45deg); margin: 0; }
.nav-grp.is-closed:not(.is-open-find) .nav-grp-b { display: none; }
.grp-dot { font-style: normal; background: var(--marigold); color: var(--ink); font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
.nav-grp-b { display: grid; gap: 2px; }
.nav-miss { display: none !important; }
.app.rail { grid-template-columns: 68px 1fr !important; }
.app.rail .side { padding-left: 8px; padding-right: 8px; }
.app.rail .side .brand > div:last-child, .app.rail .nav-find, .app.rail .side-nav button[data-view] > span, .app.rail .nav-grp-h span, .app.rail .nav-grp-h .chev, .app.rail .side-foot > span, .app.rail .side-foot b, .app.rail .side-foot .branch-filter, .app.rail .side-foot #roleTag { display: none; }
.app.rail .nav-tools { justify-content: center; }
.app.rail .side-nav button[data-view] { justify-content: center; padding: 10px 0; }
.app.rail .side-nav .count { position: absolute; top: 2px; right: 2px; margin: 0; padding: 0 5px; font-size: 10px; }
.app.rail .nav-grp-h { padding: 6px 0 !important; justify-content: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 6px; min-height: 8px; }
.app.rail .nav-grp.is-closed .nav-grp-b { display: grid; }
.app.rail .side-foot button { padding: 6px 4px; font-size: 12px; width: 100%; }
@media (max-width: 900px) {
  .nav-tools, .nav-grp-h { display: none !important; }
  .nav-grp, .nav-grp-b, .nav-loose { display: contents !important; }
  .app.rail { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) { .app.rail .side-nav button[data-view] > span { display: inline; } .app.rail .side .brand > div:last-child { display: none; } }

/* ================= V2.9.1 clean design (all portals) ================= */
:root { --line: #e3e7ef; --line-strong: #cfd6e3; --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px -8px rgba(16,24,40,.12); --navy-side: #111a33; }
body { font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; }
h1 { letter-spacing: -.02em; } h2, h3 { letter-spacing: -.01em; }
label, .label { font-weight: 600; font-size: 13.5px; }
input, select, textarea { border: 1.5px solid var(--line-strong); border-radius: 12px; min-height: 44px; }
.btn { border-radius: 12px; font-weight: 700; min-height: 44px; letter-spacing: -.005em; }
.btn-sm { min-height: 36px; border-radius: 10px; }
.btn-primary { background: var(--marigold); color: #1a1406; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--sunken); border-color: var(--line-strong); }
.panel { border-color: var(--line); border-radius: 16px; box-shadow: var(--card-shadow); }
.slip { border-radius: 18px; box-shadow: var(--card-shadow); border: 1px solid var(--line); }
.slip::before { display: none; }
.chip { font-weight: 600; padding: 3px 10px; }
/* status pill instead of the rotated rubber stamp */
.stamp { transform: none; outline: 0; border: 0; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; mix-blend-mode: normal; opacity: 1;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); flex-direction: row; gap: 6px; max-width: none; white-space: nowrap; margin: 0; }
.stamp.is-warn { --c: #9a5a00; background: #fdf0d5; }
.stamp-in { animation: none; }
/* progress: segmented bar + labels */
.track { gap: 6px; margin-top: 14px; }
.track li { padding-top: 12px; font-size: 12px; text-align: left; color: var(--ink-3); }
.track li::before { content: ""; counter-increment: none; position: absolute; top: 0; left: 0; right: 0; transform: none; width: auto; height: 6px; border-radius: 9px; border: 0; background: var(--line); box-shadow: none; }
.track li::after { display: none; }
.track li.done::before { content: ""; background: var(--stamp); }
.track li.now::before { background: var(--stamp); box-shadow: none; }
.track li.now { color: var(--stamp); font-weight: 700; }
.track li.now.is-you::before { background: var(--marigold); } .track li.now.is-you { color: #9a5a00; }
.callout { border-radius: 12px; }
table { border-collapse: separate; border-spacing: 0; }
.toast { border-radius: 14px; }

/* ================= V2.9.1 staff desks (operator + admin): reference look ================= */
html body .app { grid-template-columns: 268px 1fr; background: #f1f3f8; }
html body .app .side { background: #0f1730; padding: 16px 14px; gap: 0; }
html body .app .side .brand { padding: 0 4px 16px; }
html body .app .side .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
html body .app .side .brand-name { font-size: 18px; }
html body .app .nav-tools .nav-find { min-height: 42px; border-radius: 12px; padding-left: 38px; background: rgba(255,255,255,.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238f98b0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px 50%; border-color: transparent; }
html body .app .nav-tools .nav-rail { width: 42px; height: 42px; border-radius: 12px; border-color: rgba(255,255,255,.14); }
html body .app .side-nav { gap: 3px; }
html body .app .side-nav button[data-view] { padding: 11px 12px; border-radius: 12px; font: 600 15.5px/1.15 var(--font); color: #d5dbea; gap: 12px; }
html body .app .side-nav button[data-view] .ico { width: 21px; height: 21px; opacity: .9; }
html body .app .side-nav button[data-view]:hover { background: rgba(255,255,255,.06); color: #fff; }
html body .app .side-nav button[data-view][aria-current="page"] { background: var(--marigold); color: #141c2e; }
html body .app .side-nav button[data-view][aria-current="page"] .ico { opacity: 1; }
html body .app .side-nav .count { background: rgba(255,255,255,.14); color: #fff; min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; font-size: 12px; }
html body .app .side-nav .count.is-red { background: #d92d20; color: #fff; }
html body .app .side-nav .count.is-amber { background: #f79009; color: #fff; }   /* V3.0 Verifying waiting long */
html body .app .side-nav [aria-current="page"] .count.is-red { background: #d92d20; color: #fff; }
html body .app .side-nav [aria-current="page"] .count.is-amber { background: #f79009; color: #fff; }
html body .app .side-nav button[aria-current="page"] .count { background: rgba(20,28,46,.16); color: #141c2e; }
html body .app .nav-grp-h { font-size: 12.5px !important; letter-spacing: .07em; color: #7f89a8 !important; padding: 16px 12px 8px !important; }
html body .app .side-foot { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 6px 0; }
html body .app .side-foot > span:first-child { font-size: 12px; color: #7f89a8; }
html body .app .side-foot b { font-size: 16px; }
html body .app .side-foot button#logoutBtn { border: 0; padding: 4px 0; min-height: 0; color: #9aa3bb; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body .app .side-foot select { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.14); border-radius: 12px; }
html body .app .side-foot select option { color: #121a2e; }
html body .app .side-foot label { color: #7f89a8; }
/* page head: white bar with title + tools */
html body .app .main { padding: 0 28px 40px; }
html body .app .main-head, html body .app .head { background: #fff; margin: 0 -28px 20px; padding: 18px 28px; border-bottom: 1px solid var(--line); align-items: center; position: sticky; top: 0; z-index: 15; }
html body .app .main-head h1, html body .app .head h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
html body .app .head p { font-size: 14px; color: var(--ink-3); max-width: 80ch; }
html body .app .search input { border-radius: 12px; min-height: 44px; }
/* filter pills with counts */
html body .app .filters, html body .app .chips { gap: 8px; }
html body .app .filters button, html body .app .chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font: 600 14px/1 var(--font); color: var(--ink); gap: 8px; }
html body .app .filters button b, html body .app .chips button b { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: #eef0f5; color: var(--ink-2); font-size: 13px; font-weight: 700; }
html body .app .filters button[aria-pressed="true"], html body .app .chips button[aria-pressed="true"] { background: #141c2e; border-color: #141c2e; color: #fff; }
html body .app .filters button[aria-pressed="true"] b, html body .app .chips button[aria-pressed="true"] b { background: #d92d20; color: #fff; }
html body .app .filters button.is-red b { background: #d92d20; color: #fff; }
html body .app .filters button.is-amber b { background: #fdf0d5; color: #9a5a00; }
/* cards, tables, rows */
html body .app .panel, html body .app .rows, html body .app .tile { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--card-shadow); }
html body .app .tile { padding: 16px 18px; }
html body .app .tile-label { font-size: 14px; font-weight: 600; }
html body .app .tile-value { font-size: 32px; letter-spacing: -.02em; }
html body .app .tile.is-alert { background: #fdf3dc; border-color: #f2d48a; }
html body .app th { background: #fff; color: var(--ink-3); font-weight: 600; font-size: 13.5px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
html body .app td { padding: 14px 16px; border-bottom: 1px solid #edf0f5; }
html body .app tbody tr:hover td { background: #fafbfd; }
html body .app .row { padding: 14px 16px 14px 0; }
html body .app .row:hover { background: #fafbfd; }
html body .app .row[aria-selected="true"] { background: #fffbeb; box-shadow: inset 0 0 0 2px #f2c94c; }
html body .app .row-token { color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
html body .app .row-title { font-size: 16px; }
html body .app .detail { border-radius: 18px; }
html body .app .drawer { border-radius: 20px 0 0 20px; }
html body .app .callout { border-radius: 12px; }
html body .app .btn-brand { background: var(--stamp); }
@media (max-width: 900px) {
  html body .app { grid-template-columns: 1fr; }
  html body .app .main { padding: 0 14px 32px; }
  html body .app .main-head, html body .app .head { margin: 0 -14px 14px; padding: 12px 14px; position: static; }
  html body .app .side { padding: 8px 10px; }
}

/* V2.9.3 a payment proof sent again after "not received" */
.resent { margin: 4px 0; background: #fff4e5; color: #7a4a00; border-radius: 8px; padding: 4px 8px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.resent .ico { width: 16px; height: 16px; }

/* V3.0 side menu: always navy to the bottom; thin dark scrollbar when the menu is long */
html body .app .side { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
html body .app .side::-webkit-scrollbar { width: 6px; } html body .app .side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; } html body .app .side::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 901px) { html body .app .side { min-height: 100vh; } }

/* ---------- V3.0 dashboards (Admin › Overview, Operator › My day): one look, boxes of equal height ---------- */
.dh { --dh-sh: 0 1px 2px rgba(16,24,40,.04), 0 6px 18px -10px rgba(16,24,40,.16); --dh-cash: #2a9d8f; --dh-upi: #3a62c2; --dh-exp: #e07a5f; --dh-vio: #9b5de5; --dh-amb: #d4952a; font-size: 14px; line-height: 1.45; }
.dh-ac, .dh-w, .dh-k, .dh-ib, .dh-mkb { font: inherit; color: inherit; } .dh-where { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; } .dh-where .ico { width: 17px; height: 17px; } .dh-where b { color: var(--ink); }
.dh-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.dh-srch { flex: 1 1 260px; max-width: 460px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 12px; min-height: 42px; }
.dh-srch:focus-within { border-color: var(--stamp); box-shadow: var(--focus); }
.dh-srch .ico { width: 17px; height: 17px; color: var(--ink-3); flex: none; } .dh-srch input { border: 0; min-height: 38px; padding: 0; box-shadow: none !important; font-size: 13.5px; background: transparent; }
.dh-srch kbd { font: 600 11px var(--font); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; color: var(--ink-3); white-space: nowrap; }
.dh-bar .sp { margin-left: auto; } .dh-bar select { width: auto; min-height: 40px; font-size: 13.5px; font-weight: 600; border-radius: 11px; padding: 6px 30px 6px 12px; }
.dh-seg { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 11px; overflow: hidden; background: var(--surface); }
.dh-seg button { border: 0; border-left: 1px solid var(--line); background: none; font-weight: 600; font-size: 13px; padding: 0 12px; min-height: 37px; cursor: pointer; color: var(--ink-2); }
.dh-seg button:first-child { border-left: 0; } .dh-seg button.on { background: var(--ink); color: #fff; }
.dh-ib { width: 40px; height: 40px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; position: relative; cursor: pointer; flex: none; }
.dh-ib .ico { width: 18px; height: 18px; } .dh-ib .bd { position: absolute; top: -6px; right: -6px; background: #e0473b; color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 9px; padding: 0 5px; border: 2px solid var(--page); line-height: 1.5; }
.dh-me { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.25; } .dh-me .av { width: 36px; height: 36px; border-radius: 50%; background: var(--stamp); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.dh-me b { display: block; white-space: nowrap; } .dh-me span { color: var(--ink-3); font-size: 12px; }
/* header */
.dh-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; margin: 0 0 16px; position: relative; z-index: 30; }
.dh-hb { border-radius: 18px; padding: 18px 22px; color: #fff; position: relative; display: flex; align-items: center; gap: 18px; min-height: 150px;
  background: radial-gradient(120% 140% at 85% 20%, #2c56b3 0%, #1f4594 35%, #142f6b 70%, #0f1f4a 100%); }
.dh-glow { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; pointer-events: none; }
.dh-glow::after { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(226,170,50,.25), transparent 65%); }
.dh-txt { flex: 1; min-width: 0; position: relative; } .dh-hb h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; color: #fff; } .dh-hb p { margin: 4px 0 14px; color: #c8d4f3; font-size: 14px; }
.dh-pills { display: flex; gap: 6px; flex-wrap: wrap; } .dh-pills span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 4px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dh-pills .ico { width: 15px; height: 15px; }
.dh-mk { position: relative; flex: none; } .dh-mkb { width: 112px; height: 112px; border-radius: 20px; background: #fff; border: 0; display: grid; place-items: center; cursor: pointer; padding: 0; overflow: hidden;
  box-shadow: 0 0 0 5px rgba(255,255,255,.18), 0 18px 36px -12px rgba(0,0,0,.45); }
.dh-mkb img { width: 84%; height: 84%; object-fit: contain; } .dh-mkb img.ph { width: 100%; height: 100%; object-fit: cover; }
.dh-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 30px -8px rgba(16,24,40,.35); padding: 6px; width: 200px; }
.dh-menu .h { font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; } .dh-menu .f { font-size: 11px; color: var(--ink-3); padding: 4px 8px 2px; }
.dh-menu button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: none; padding: 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dh-menu button:hover:not([disabled]) { background: var(--stamp-wash); } .dh-menu button[disabled] { opacity: .45; cursor: default; } .dh-menu .ico { width: 16px; height: 16px; }
.dh-tq { border-radius: 18px; background: #0f1730; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.dh-qq { display: flex; align-items: center; gap: 12px; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.14); }
.dh-q { width: 100px; height: 100px; background: #fff; border-radius: 10px; padding: 5px; display: grid; place-items: center; } .dh-q svg { width: 100%; height: 100%; display: block; }
.dh-noqr { color: var(--ink-3); font-size: 11px; text-align: center; line-height: 1.2; }
.dh-qc { display: flex; flex-direction: column; gap: 7px; width: 86px; } .dh-qc b { font-size: 14px; color: #fff; }
.dh-qc button { text-align: center; font-size: 12px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: none; border-radius: 8px; padding: 5px 0; cursor: pointer; }
.dh-qc button.p { background: var(--marigold); border-color: var(--marigold); color: #1a1406; } .dh-qc button[disabled] { opacity: .4; cursor: default; }
.dh-tt { min-width: 150px; } .dh-date { color: #b9c2d8; font-size: 13px; } .dh-clock { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; white-space: nowrap; }
.dh-tt .s { font-size: 12.5px; color: #b9c2d8; display: flex; gap: 6px; align-items: center; } .dh-tt .s .ico { width: 14px; height: 14px; }
.dh-tt .live { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: #9ee6c2; } .dh-tt .live i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
/* quick buttons */
.dh-qa { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .dh-qa .btn { gap: 8px; min-height: 40px; font-size: 14px; border-radius: 12px; }
.dh-qa kbd { font: 600 11px var(--font); border: 1px solid currentColor; opacity: .55; border-radius: 5px; padding: 0 5px; }
.dh-sh { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-weight: 800; font-size: 15px; } .dh-sh .m { margin-left: auto; font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
/* inbox / needs-you boxes (all the same size) */
.dh-in { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.dh-ac { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--dh-sh); cursor: pointer; min-width: 0; display: block; position: relative; }
.dh-ac:hover { border-color: var(--line-strong); } .dh-ac .top { display: flex; align-items: center; gap: 8px; }
.dh-ac .ii { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: grid; place-items: center; } .dh-ac .ii .ico { width: 18px; height: 18px; }
.dh-ac .n { font-size: 22px; font-weight: 800; line-height: 1; } .dh-ac .lt { margin-left: auto; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--brick); border-radius: 5px; padding: 1px 5px; text-transform: uppercase; }
.dh-ac .t { display: block; font-weight: 700; font-size: 13px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-ac .s { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-ac.late { border-color: #f3b4ad; box-shadow: 0 0 0 3px var(--brick-wash); } .dh-ac.zero { opacity: .62; }
.dh-ac.lead { background: var(--ink); border-color: var(--ink); color: #fff; } .dh-ac.lead .ii { background: rgba(255,255,255,.12); color: #fff; } .dh-ac.lead .s { color: #b9c2d8; } .dh-ac.lead .s.lt2 { color: #ffb4ab; font-weight: 700; }
.dh-ac.lead.clear { background: var(--leaf-wash); border-color: #a6dcbf; color: var(--leaf); } .dh-ac.lead.clear .ii { background: #fff; color: var(--leaf); } .dh-ac.lead.clear .s { color: var(--leaf); }
.dh-t-r { background: var(--brick-wash); color: var(--brick); } .dh-t-b { background: var(--stamp-wash); color: var(--stamp); } .dh-t-a { background: var(--amber-wash); color: var(--amber); }
.dh-t-s { background: var(--sky-wash); color: var(--sky); } .dh-t-g { background: var(--leaf-wash); color: var(--leaf); } .dh-t-y { background: var(--marigold-wash); color: #b9801a; } .dh-t-v { background: #f1e8fd; color: #7a3fc4; }
/* work tiles */
.dh-work { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; } .dh-work.r2 { margin-bottom: 14px; }
.dh-w { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; box-shadow: var(--dh-sh); display: flex; gap: 10px; min-width: 0; align-items: center; }
button.dh-w { cursor: pointer; } button.dh-w:hover { border-color: var(--line-strong); } .dh-w.warn { border-color: #f1d39b; }
.dh-w .ii { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; display: grid; place-items: center; } .dh-w .ii .ico { width: 19px; height: 19px; } .dh-w .x { min-width: 0; flex: 1; }
.dh-w .l { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dh-w .v { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.dh-w .v small { font-size: 12px; color: var(--ink-3); font-weight: 700; } .dh-w .d { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-pc { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 7px; padding: 0 6px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.dh-pc.ok { background: var(--leaf-wash); color: var(--leaf); } .dh-pc.r { background: var(--brick-wash); color: var(--brick); }
/* KPI money boxes */
.dh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.dh-k { text-align: left; border-radius: 16px; padding: 11px 14px; border: 1px solid var(--line); box-shadow: var(--dh-sh); display: flex; gap: 12px; align-items: center; min-width: 0; background: var(--surface); }
button.dh-k { cursor: pointer; } .dh-k .ii { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; } .dh-k .ii .ico { width: 22px; height: 22px; }
.dh-k > div { flex: 1; min-width: 0; } .dh-k .l { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-k .v { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 1px 0; white-space: nowrap; } .dh-k .v small { font-size: 14px; color: var(--ink-3); }
.dh-k .d { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-k1 { background: linear-gradient(135deg, #eef3fd, #fff 70%); border-color: #c9d6f3; } .dh-k1 .ii { background: #dfe7fb; color: #1f4594; }
.dh-k2 { background: linear-gradient(135deg, #fff6e8, #fff 70%); border-color: #f3dcb4; } .dh-k2 .ii { background: #fdeacb; color: #a15c00; }
.dh-k3 { background: linear-gradient(135deg, #fdeeed, #fff 70%); border-color: #f3c9c4; } .dh-k3 .ii { background: #fbdcd8; color: #b42318; }
.dh-k4 { background: linear-gradient(135deg, #eaf7f1, #fff 70%); border-color: #bfe5d2; } .dh-k4 .ii { background: #d3efe2; color: #18794e; }
.dh-split { height: 6px; display: inline-flex; gap: 2px; width: 70px; vertical-align: middle; margin-right: 6px; } .dh-split i { border-radius: 4px; display: block; height: 100%; }
.dh-up { color: var(--leaf); font-weight: 700; } .dh-dn { color: var(--brick); font-weight: 700; }
/* panels: rows of equal height, long lists scroll inside */
.dh-g { display: grid; gap: 16px; margin-bottom: 16px; align-items: stretch; } .dh-g > * { min-width: 0; margin: 0; }
.dh-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dh-g21 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.dh-p { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--dh-sh); padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; margin: 0; }
.dh-ph { display: flex; align-items: center; gap: 10px; min-height: 32px; margin-bottom: 8px; } .dh-ph h3 { margin: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-ph .pi { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: grid; place-items: center; background: var(--stamp-wash); color: var(--stamp); } .dh-ph .pi .ico { width: 17px; height: 17px; }
.dh-ph .m { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; } .dh-ph .f { margin-left: auto; font-weight: 700; font-size: 12.5px; color: var(--stamp); background: none; border: 0; cursor: pointer; white-space: nowrap; padding: 4px 6px; border-radius: 8px; }
.dh-ph .f:hover { background: var(--stamp-wash); } .dh-ph .f + .f { margin-left: 0; }
.dh-pb { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; } .dh-fix { height: 380px; } .dh-fix2 { height: 400px; }
.dh-note { font-size: 11.5px; color: var(--ink-3); margin-top: auto; padding-top: 8px; }
.dh-chips { display: inline-flex; background: var(--sunken); border-radius: 9px; padding: 2px; margin-left: auto; flex: none; }
.dh-chips button { padding: 3px 9px; font-size: 12px; font-weight: 700; color: var(--ink-2); border-radius: 7px; border: 0; background: none; cursor: pointer; } .dh-chips .on { background: var(--stamp); color: #fff; }
.dh-lg { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap; } .dh-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; } .dh-lg i.ln { height: 3px; width: 14px; vertical-align: 2px; }
.dh-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; } .dh-tot div { background: var(--sunken); border-radius: 10px; padding: 7px 10px; min-width: 0; }
.dh-tot span { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .05em; } .dh-tot b { font-size: 16px; white-space: nowrap; }
.dh-li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; } .dh-li:first-child { border-top: 0; }
.dh-li[data-mdapp], .dh-li[data-app] { cursor: pointer; } .dh-li .x { flex: 1; min-width: 0; } .dh-li .x b, .dh-li .x .faint { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dh-li .x .faint { font-size: 12px; }
.dh-db { min-width: 44px; text-align: center; border-radius: 10px; padding: 4px 0; font-weight: 800; line-height: 1.1; flex: none; } .dh-db small { display: block; font-size: 10px; }
.dh-db.r { background: var(--brick-wash); color: var(--brick); } .dh-db.a { background: var(--amber-wash); color: var(--amber); }
.dh-tl .it { display: grid; grid-template-columns: 62px 14px minmax(0, 1fr); gap: 8px; padding: 6px 0; font-size: 12.5px; align-items: start; position: relative; }
.dh-tl .it::before { content: ""; position: absolute; left: 75px; top: 0; bottom: 0; width: 2px; background: var(--line); } .dh-tl .it:first-child::before { top: 12px; } .dh-tl .it:last-child::before { bottom: calc(100% - 12px); }
.dh-tl .tm { color: var(--ink-3); font-size: 11.5px; padding-top: 2px; white-space: nowrap; } .dh-tl .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; box-shadow: 0 0 0 3px #fff; position: relative; }
.dh-tl b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dh-tl span { color: var(--ink-3); font-size: 11.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-hb2 { display: grid; grid-template-columns: 96px minmax(0, 1fr) 80px; gap: 8px; align-items: center; padding: 5px 0; font-size: 12.5px; }
.dh-hb2 .t { height: 12px; background: var(--sunken); border-radius: 6px; overflow: hidden; } .dh-hb2 .t i { display: block; height: 100%; border-radius: 0 6px 6px 0; } .dh-hb2 b { text-align: right; white-space: nowrap; } .dh-hb2 small { color: var(--ink-3); font-weight: 500; }
.dh-stack { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin: 6px 0 8px; background: var(--sunken); } .dh-stack i { display: block; height: 100%; }
.dh-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12.5px; border-top: 1px dashed var(--line); } .dh-row:first-of-type { border-top: 0; }
.dh-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .dh-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dh-row b { margin-left: auto; white-space: nowrap; } .dh-row small { color: var(--ink-3); width: 34px; text-align: right; flex: none; }
.dh-bt { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; } .dh-bt th { font-size: 10.5px; letter-spacing: .05em; color: var(--ink-3); text-align: right; font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); text-transform: uppercase; background: none; }
.dh-bt th:first-child { text-align: left; width: 38%; } .dh-bt td { padding: 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dh-bt td:first-child { text-align: left; }
.dh-bt td:first-child b { display: block; overflow: hidden; text-overflow: ellipsis; } .dh-bt tr.sum td { border-top: 1.5px solid var(--line-strong); font-weight: 800; background: #f6f8fd; color: var(--stamp); } .dh-bt tr[data-activity], .dh-bt tr[data-go] { cursor: pointer; }
.dh-flag { display: inline-block; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 0 6px; margin-top: 2px; } .dh-flag.r { background: var(--brick-wash); color: var(--brick); } .dh-flag.a { background: var(--amber-wash); color: var(--amber); }
.dh-mini { display: inline-block; height: 6px; border-radius: 3px; background: var(--dh-upi); vertical-align: middle; margin-right: 6px; }
.dh-av { width: 26px; height: 26px; border-radius: 50%; background: var(--stamp-wash); color: var(--stamp); display: inline-grid; place-items: center; font-weight: 800; font-size: 11px; margin-right: 8px; vertical-align: middle; flex: none; }
.dh-ts { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; } .dh-ts:first-child { border-top: 0; }
.dh-ts .x { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dh-ts .bar2 { width: 80px; height: 6px; background: var(--sunken); border-radius: 3px; overflow: hidden; flex: none; } .dh-ts .bar2 i { display: block; height: 100%; background: var(--stamp); border-radius: 3px; }
.dh-ts b { width: 70px; text-align: right; flex: none; } .dh-ts small { color: var(--ink-3); width: 30px; text-align: right; flex: none; }
.dh-stackcol { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .dh-stackcol > .dh-p { flex: 1; }
.dh-empty { color: var(--ink-3); font-size: 13.5px; padding: 18px 0; text-align: center; }
@media (max-width: 1280px) { .dh-in, .dh-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dh-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dh-g3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 1100px) { .dh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dh-g21 { grid-template-columns: 1fr; } .dh-hero { grid-template-columns: 1fr; } .dh-tq { justify-content: space-between; } }
@media (max-width: 760px) { .dh-in, .dh-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dh-g3, .dh-kpis { grid-template-columns: 1fr; } .dh-g3 > :last-child:nth-child(odd) { grid-column: auto; }
  .dh-mk { display: none; } .dh-hb { min-height: 0; } .dh-hb h1 { font-size: 23px; } .dh-fix, .dh-fix2 { height: auto; max-height: 460px; } .dh-qa kbd, .dh-srch kbd { display: none; }
  .dh-tq { flex-wrap: wrap; } .dh-qq { border-right: 0; padding-right: 0; } }
.dh-bt th:first-child { width: auto; } .dh-bt { font-size: 12.5px; } .dh-bt th, .dh-bt td { padding-left: 5px; padding-right: 5px; } .dh-bt th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-bt td:first-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1560px) { .dh-me > span:last-child { display: none; } .dh-srch { max-width: 340px; } }
.dh .dh-bt th, .dh .dh-bt td { padding: 7px 4px; vertical-align: middle; } .dh .dh-bt th:first-child, .dh .dh-bt td:first-child { padding-left: 0; } .dh .dh-bt th:last-child, .dh .dh-bt td:last-child { padding-right: 0; }
.dh .dh-bt th { font-size: 10.5px; }
.dh-p .md-close { margin-top: auto; } .dh-p .dh-pb + .md-close { margin-top: 10px; }

.dh-stackcol > .dh-p { min-height: 0; } .dh-tall { min-height: 400px; } .dh-tall .dh-pb { max-height: 360px; }
/* V3.0.11 every box like the first row: icon + number on top, the name under it, then the info */
.dh-w, .dh-k { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: center; }
.dh-w .x, .dh-k > div { display: contents; }
.dh-w .ii, .dh-k .ii { grid-column: 1; grid-row: 1; }
.dh-w .v, .dh-k .v { grid-column: 2; grid-row: 1; margin: 0; display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.dh-w .l, .dh-k .l { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
.dh-w .d, .dh-k .d { grid-column: 1 / -1; grid-row: 3; }
.dh-w .ii { width: 30px; height: 30px; flex: none; border-radius: 9px; } .dh-w .ii .ico { width: 18px; height: 18px; }
.dh-k .ii { width: 34px; height: 34px; flex: none; border-radius: 10px; } .dh-k .ii .ico { width: 20px; height: 20px; }
.dh-w .l { font-size: 13px; font-weight: 700; color: var(--ink); } .dh-w .v { font-size: 22px; }
.dh-k .l { font-size: 13px; font-weight: 700; color: var(--ink); } .dh-k .v { font-size: 24px; }
.dh-w .v .dh-pc, .dh-k .v .dh-pc { margin-left: auto; font-size: 10.5px; letter-spacing: 0; }
.dh-w, .dh-k { align-content: start; padding: 10px 12px; }
