@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Palette taken from the company mark */
  --navy: #1D3461;
  --navy-2: #27447A;
  --teal: #147D72;
  --teal-2: #12A99A;
  --teal-wash: #E3F3F1;
  --sky: #5AA5DC;
  --sky-wash: #E7F2FB;
  --red: #E5433B;
  --red-wash: #FCE9E8;
  --amber: #F2A73B;
  --amber-ink: #8A5A0E;
  --amber-wash: #FEF3E2;
  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #172033;
  --ink-2: #3A4558;
  --muted: #5F6B7D;
  --line: #DCE2EA;
  --line-2: #EBEFF4;
  --focus: #5AA5DC;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --shadow-pop: 0 12px 32px rgba(23, 32, 51, .16);
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--navy-2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--navy) 248px, var(--paper) 248px); }
.rail { background: var(--navy); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 6px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; background: #fff; border-radius: 12px; padding: 4px; }
.brand b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.brand span { display: block; font-size: 12px; color: #B9C6DD; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-m); color: #D7E0EE; text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.on { background: #fff; color: var(--navy); }
.nav a .count { margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--amber); color: #3B2603; font-size: 12px; font-weight: 800; text-align: center; }
.nav .group { margin: 14px 12px 4px; font-size: 12px; color: #8FA1BF; font-weight: 600; }
.nav svg { width: 18px; height: 18px; flex: none; }
.who { margin-top: auto; padding: 12px; border-radius: var(--r-m); background: rgba(255,255,255,.06); font-size: 13px; }
.who b { display: block; font-size: 14px; }
.who span { color: #B9C6DD; }
.who button { margin-top: 8px; background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; }

.main { padding: 32px 40px 64px; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head p { margin-top: 6px; color: var(--muted); }

.topbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; background: var(--paper); }
  .rail { display: none; }
  .rail.open { display: flex; position: fixed; inset: 0; z-index: 40; height: auto; overflow: auto; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; }
  .topbar .brand img { width: 32px; height: 32px; }
  .topbar button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--r-s); padding: 6px 10px; }
  .main { padding: 20px 16px 48px; }
  h1 { font-size: 24px; }
}

/* ---------- buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-m); padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover:not(:disabled) { background: #0F6A60; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: var(--navy-2); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover:not(:disabled) { border-color: #B8C3D2; }
.btn-danger { background: var(--red); color: #fff; }
.btn-amber { background: var(--amber); color: #3B2603; }
.btn-link { background: none; border: 0; color: var(--navy-2); text-decoration: underline; padding: 0; cursor: pointer; font-weight: 600; }
.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: var(--r-s); }
.btn-wide { width: 100%; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 12.5px; color: var(--red); font-weight: 600; }
.input, select.input, textarea.input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); font-size: 15px; }
.input:hover { border-color: #B8C3D2; }
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(90,165,220,.25); }
textarea.input { min-height: 84px; resize: vertical; }
.field.bad .input { border-color: var(--red); }
.field.changed .input, .field.changed .seg { box-shadow: inset 4px 0 0 var(--amber); }
.was { font-size: 12.5px; color: var(--amber-ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- surfaces */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.split > aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1080px) { .split { grid-template-columns: 1fr; } .split > aside { position: static; } .split.act-first > aside { order: -1; } }

/* ---------- status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-wait { background: var(--sky-wash); color: #1F5E8F; }
.st-ret { background: var(--amber-wash); color: var(--amber-ink); }
.st-ok { background: var(--teal-wash); color: var(--teal); }
.st-bad { background: var(--red-wash); color: #B42820; }
.st-draft { background: var(--line-2); color: var(--ink-2); }

/* ---------- the route: three approval nodes converging on the issuance hub */
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: start; position: relative; padding-top: 4px; }
.route::before { content: ""; position: absolute; top: 21px; left: 22px; right: 46px; height: 3px; background: var(--line); border-radius: 2px; }
.route .fill { position: absolute; top: 21px; left: 22px; height: 3px; background: var(--teal); border-radius: 2px; transition: width .6s ease; }
.node { position: relative; padding-right: 12px; }
.node .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--line); color: var(--muted); font-weight: 800; position: relative; z-index: 1; }
.node .dot svg { width: 20px; height: 20px; }
.node .t { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.node .s { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.node .s b { color: var(--ink-2); font-weight: 600; }
.node.done .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.node.kept .dot { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 4px var(--teal-wash); }
.node.active .dot { border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 5px var(--sky-wash); }
.node.returned .dot { border-color: var(--amber); color: var(--amber-ink); background: var(--amber-wash); }
.node.rejected .dot { border-color: var(--red); background: var(--red); color: #fff; }
.node .tag { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--teal-wash); color: var(--teal); }
.hub { display: flex; flex-direction: column; align-items: center; width: 92px; text-align: center; }
.hub .dot { width: 46px; height: 46px; border-radius: 14px; transform: rotate(45deg); display: grid; place-items: center; background: var(--surface); border: 3px solid var(--line); position: relative; z-index: 1; }
.hub .dot svg { transform: rotate(-45deg); width: 20px; height: 20px; color: var(--muted); }
.hub.on .dot { background: var(--amber); border-color: var(--amber); }
.hub.on .dot svg { color: #3B2603; }
.hub.fail .dot { border-color: var(--red); }
.hub .t { margin-top: 10px; font-size: 13px; font-weight: 700; }
.hub .s { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .route { grid-template-columns: 1fr; gap: 14px; }
  .route::before, .route .fill { display: none; }
  .node, .hub { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; width: auto; text-align: left; }
  .node .t, .hub .t { margin-top: 0; }
  .hub .dot { margin-left: 2px; width: 40px; height: 40px; }
}

/* mini route used in lists */
.mini { display: inline-flex; align-items: center; gap: 0; }
.mini i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.mini i + i, .mini i + b { margin-left: 12px; position: relative; }
.mini i + i::before, .mini i + b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 12px; height: 2px; background: var(--line); transform: translateY(-50%); margin-right: 2px; }
.mini b { width: 11px; height: 11px; position: relative; display: inline-block; }
.mini b::after { content: ""; position: absolute; inset: 0; transform: rotate(45deg); border: 2px solid var(--line); background: var(--surface); border-radius: 2px; }
.mini .d { background: var(--teal); border-color: var(--teal); }
.mini .a { border-color: var(--navy); background: var(--sky-wash); }
.mini .r { border-color: var(--amber); background: var(--amber-wash); }
.mini .x { border-color: var(--red); background: var(--red); }
.mini b.h::after { background: var(--amber); border-color: var(--amber); }

/* ---------- lists */
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); overflow: hidden; }
.item { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; text-decoration: none; color: inherit; border-top: 1px solid var(--line-2); }
.item:first-child { border-top: 0; }
.item:hover { background: #F8FAFC; }
.item .ttl { font-weight: 700; font-size: 15.5px; }
.item .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 720px) { .item { grid-template-columns: 1fr; } .item .right { align-items: flex-start; flex-direction: row; } }

.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--r-l); background: var(--surface); }
.empty h2 { margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 16px; }

.banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-l); border: 1px solid; }
.banner.amber { background: var(--amber-wash); border-color: #F5D29C; }
.banner.red { background: var(--red-wash); border-color: #F3B7B3; }
.banner.teal { background: var(--teal-wash); border-color: #B5DDD8; }
.banner.sky { background: var(--sky-wash); border-color: #BCD9F0; }
.banner .ic { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.7); }
.banner .ic svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .banner { flex-wrap: wrap; } .banner > .btn { width: 100%; } }
.banner blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--amber); font-size: 15px; color: var(--ink); }

/* ---------- definition grid */
.dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; }
.dl > div { padding: 10px 0; border-top: 1px solid var(--line-2); }
.dl > div:nth-child(-n+2) { border-top: 0; }
.dl .k { color: var(--muted); font-size: 13.5px; }
.dl .v { font-weight: 500; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl .k { padding-bottom: 0; border-top: 1px solid var(--line-2); } .dl .v { border-top: 0; padding-top: 2px; } }

/* ---------- timeline */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 18px 26px; }
.tl li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -6px; width: 2px; background: var(--line-2); }
.tl li:last-child::before { display: none; }
.tl li::after { content: ""; position: absolute; left: 1px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--muted); }
.tl li.ok::after { border-color: var(--teal); background: var(--teal); }
.tl li.ret::after { border-color: var(--amber); background: var(--amber); }
.tl li.bad::after { border-color: var(--red); background: var(--red); }
.tl li.ver::after { border-radius: 3px; border-color: var(--navy); background: var(--navy); }
.tl li.void .what { text-decoration: line-through; color: var(--muted); }
.tl .what { font-weight: 600; }
.tl .when { font-size: 12.5px; color: var(--muted); }
.tl .note { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.tl .void-note { font-size: 12.5px; color: #B42820; margin-top: 2px; }

/* ---------- decision panel */
.decide h2 { margin-bottom: 4px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.choices button { border: 2px solid var(--line); background: var(--surface); border-radius: var(--r-m); padding: 12px 6px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; }
.choices button svg { width: 20px; height: 20px; }
.choices button[aria-pressed="true"].c-ok { border-color: var(--teal); background: var(--teal-wash); color: var(--teal); }
.choices button[aria-pressed="true"].c-ret { border-color: var(--amber); background: var(--amber-wash); color: var(--amber-ink); }
.choices button[aria-pressed="true"].c-bad { border-color: var(--red); background: var(--red-wash); color: #B42820; }
.checks { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 5px 10px; border-radius: 99px; font-size: 13px; cursor: pointer; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--amber-wash); border-color: var(--amber); color: var(--amber-ink); }

/* ---------- impact preview */
.impact { border-radius: var(--r-l); padding: 18px; background: var(--navy); color: #fff; }
.impact h3 { color: #fff; margin-bottom: 4px; }
.impact p { color: #D2DCEC; font-size: 14px; }
.impact .stages { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.impact .stg { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.impact .stg i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; flex: none; }
.impact .keep i { background: var(--teal-2); color: #fff; }
.impact .redo i { background: transparent; border: 2px solid var(--amber); color: var(--amber); }
.impact .redo.first i { background: var(--amber); color: #3B2603; }

/* ---------- files */
.drop { border: 2px dashed var(--line); border-radius: var(--r-l); padding: 18px; text-align: center; color: var(--muted); cursor: pointer; background: #FAFBFD; }
.drop.over { border-color: var(--sky); background: var(--sky-wash); }
.files { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); font-size: 14px; }
.file a { font-weight: 600; text-decoration: none; }
.file .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.doccard { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.doccard .top { background: var(--amber); padding: 16px 18px; color: #3B2603; }
.doccard .top b { display: block; font-size: 17px; }
.doccard .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hash { font-size: 12px; color: var(--muted); word-break: break-all; }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #F8FAFC; }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--navy); border-color: var(--navy); }

.statbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--line-2); }
.statbar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); vertical-align: -1px; }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-m); font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 100; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: #B42820; }

dialog { border: 0; border-radius: var(--r-l); padding: 24px; width: min(460px, calc(100% - 32px)); box-shadow: var(--shadow-pop); }
dialog::backdrop { background: rgba(23,32,51,.45); }
dialog h2 { margin-bottom: 8px; }
dialog .row { justify-content: flex-end; margin-top: 18px; }

/* ---------- login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.login .art { background: var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login .art .mark { width: 76px; height: 76px; background: #fff; border-radius: 22px; padding: 8px; }
.login .art h1 { font-size: 40px; max-width: 12ch; margin-top: 28px; }
.login .art p { color: #C9D4E6; max-width: 40ch; margin-top: 14px; font-size: 16px; }
.login .art .route-art { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.login .art .route-art div { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.login .art .route-art i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; flex: none; }
.login .form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--surface); }
.login .form > div { width: 100%; max-width: 380px; }
.login .form h2 { font-size: 24px; margin-bottom: 6px; }
.otp { letter-spacing: .5em; font-size: 22px; text-align: center; font-weight: 700; }
.demo { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.demo-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; max-height: 300px; overflow: auto; }
.demo-list button { display: flex; justify-content: space-between; gap: 10px; text-align: left; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); cursor: pointer; font-size: 13.5px; }
.demo-list button:hover { border-color: var(--sky); }
.demo-list span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) { .login { grid-template-columns: 1fr; } .login .art { padding: 28px 20px; } .login .art h1 { font-size: 28px; } .login .art .route-art { display: none; } }

/* ---------- WhatsApp simulator */
.sim { display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .sim { grid-template-columns: 1fr; } }
.phone { width: 100%; max-width: 400px; height: 760px; border-radius: 40px; background: #10151F; padding: 12px; box-shadow: var(--shadow-pop); }
.screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: #EFEAE2; position: relative; }
.wa-head { background: #075E54; color: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.wa-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.wa-head b { display: block; font-size: 15px; }
.wa-head span { font-size: 12px; opacity: .85; }
.wa-body { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.bub { max-width: 86%; padding: 7px 9px 5px; border-radius: 8px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px .5px rgba(0,0,0,.13); white-space: pre-wrap; word-wrap: break-word; }
.bub.in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.bub.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.bub .hdr { font-weight: 700; margin-bottom: 2px; }
.bub .ftr { font-size: 12px; color: #667781; margin-top: 4px; }
.bub .time { font-size: 11px; color: #667781; text-align: right; margin-top: 2px; }
.bub .acts { margin: 6px -9px -5px; border-top: 1px solid #E9EDEF; display: flex; flex-direction: column; }
.bub .acts button { background: none; border: 0; border-top: 1px solid #E9EDEF; color: #027EB5; font-weight: 600; padding: 9px; cursor: pointer; font-size: 14px; }
.bub .acts button:first-child { border-top: 0; }
.bub .acts button:disabled { color: #8696A0; cursor: default; }
.bub.doc { display: flex; flex-direction: column; gap: 6px; }
.bub.doc a { display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.04); padding: 10px; border-radius: 6px; text-decoration: none; color: inherit; font-weight: 600; }
.bub.doc a i { width: 32px; height: 38px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; border-radius: 4px; flex: none; }
.wa-in { display: flex; gap: 6px; padding: 8px; background: #F0F2F5; align-items: center; }
.wa-in input[type=text] { flex: 1; border: 0; border-radius: 20px; padding: 10px 14px; font-size: 14px; }
.wa-in button, .wa-in label { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #00A884; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.wa-in label { background: transparent; color: #54656F; }
.wa-in svg { width: 20px; height: 20px; }
.sheet { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: flex-end; }
.sheet > div { background: #fff; width: 100%; border-radius: 14px 14px 0 0; max-height: 75%; overflow-y: auto; padding: 10px 0 14px; }
.sheet .sh-t { text-align: center; font-weight: 700; padding: 6px 0 10px; border-bottom: 1px solid #E9EDEF; }
.sheet .sec { padding: 10px 18px 4px; color: #008069; font-size: 13px; font-weight: 600; }
.sheet button.rowbtn { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 18px; cursor: pointer; }
.sheet button.rowbtn:hover { background: #F5F6F6; }
.sheet button.rowbtn b { display: block; font-weight: 500; font-size: 15px; }
.sheet button.rowbtn span { display: block; font-size: 13px; color: #667781; }
.people { display: flex; flex-direction: column; gap: 6px; }
.people button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); cursor: pointer; }
.people button[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--navy); }
.people b { font-size: 14px; }
.people span { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.people em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 12px; font-weight: 800; background: var(--amber); color: #3B2603; border-radius: 99px; padding: 1px 8px; }
