/* HoreX Pay merchant dashboard (pay.horex.ae) — the look of the design canvas, from the clickable
   prototype's stylesheet (docs/horex-pay-spec.md §5.1, owner 2026-11-23). One light theme, like the product.
   Desktop: light sidebar + white page, drawers on the right. Phone (< 760px): top bar, content, frosted navy
   bottom bar, full-screen details. */

:root{
  --navy:#142060; --navy-2:#101a52; --indigo:#2b3d95; --glow:#5674e6; --peri:#b0beff;
  --ink:#0a0a0a; --ink-2:#3d3d3d; --muted:#737373; --muted-2:#8a8a8a; --faint:#a3a3a3;
  --line:#ececec; --line-2:#f2f2f2; --hair:#e6e6e6; --bg:#ffffff; --stage:#eef0f6;
  --green:#12a150; --green-t:#0b8a45; --amber:#d97706; --amber-t:#b45309; --red:#dc2626; --red-t:#b91c1c;
  --sans:'Geist',Inter,-apple-system,'Segoe UI',sans-serif; --mono:'Geist Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --premium:radial-gradient(85% 60% at 92% 100%,rgba(176,190,255,.85) 0%,rgba(176,190,255,0) 62%),radial-gradient(70% 55% at 8% 90%,rgba(86,116,230,.5) 0%,rgba(86,116,230,0) 66%),radial-gradient(70% 50% at 62% 30%,rgba(58,82,200,.42) 0%,rgba(58,82,200,0) 70%),linear-gradient(170deg,#030409 0%,#070b1d 34%,#142060 72%,#2b3d95 100%);
  color-scheme:light;
}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;font-size:14px}
*{box-sizing:border-box}
a{color:inherit;text-decoration:none}
button{font-family:inherit;color:inherit}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.mono{font-family:var(--mono);font-feature-settings:'tnum' 1}
.dec{color:var(--faint)}
.cur{color:var(--faint);font-size:.72em;margin-left:5px;font-weight:500;font-family:var(--sans);letter-spacing:0}
.muted{color:var(--muted)} .faint{color:var(--muted-2)}
.lnk{color:var(--navy);font-weight:600;cursor:pointer;background:none;border:0;padding:0;font-size:inherit}
.ulnk{text-decoration:underline;text-decoration-color:#cfcfcf;text-underline-offset:3px;cursor:pointer}

/* ---------- desktop shell ---------- */
.shell{display:flex;min-height:100vh}
.side{flex:0 0 248px;background:#fff;border-right:1px solid var(--line);padding:20px 14px 18px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;height:100dvh}
.side-logo{display:flex;align-items:center;gap:10px;padding:2px 10px;font-weight:700;font-size:17px;letter-spacing:-.01em}
.side-logo img{width:30px;height:30px;border-radius:9px}
.ni{display:flex;align-items:center;gap:11px;height:38px;padding:0 10px 0 12px;border-radius:10px;color:#525252;font:500 14px var(--sans);cursor:pointer;border:0;background:none;width:100%;text-align:left}
.ni svg{width:18px;height:18px;flex:none}
.ni:hover{color:var(--ink)}
.ni b{margin-left:auto;font:500 12px var(--mono);color:#9a9a9a}
.ni b.hot{color:#fff;background:var(--navy);border-radius:6px;padding:1px 6px}
.ni--on{background:var(--navy);color:#fff}
.ni--on:hover{background:var(--navy);color:#fff}
.ni--on b{color:#aab4e6}
.ni--on b.hot{color:var(--ink);background:#fff}
.ncap{display:block;padding:0 12px 4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);font-weight:600}
.sbox{margin-top:auto;display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px var(--hair);cursor:pointer;text-align:left;font-family:inherit;color:var(--ink)}
.mswitch{margin-top:auto;display:flex;align-items:center;gap:10px;padding:10px;border:0;cursor:pointer;text-align:left;width:100%;background:#fff}
.mswitch img{width:32px;height:32px;border-radius:8px;object-fit:cover;flex:none}
.main{flex:1 1 auto;min-width:0;padding:22px 36px 64px}
.ph{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.ph-sub{margin:0;font-size:13px;color:var(--muted-2)}
.ph h1{margin:3px 0 0;font-size:26px;font-weight:600;letter-spacing:-.02em}
.ph-act{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.search{display:flex;align-items:center;gap:9px;height:40px;padding:0 12px;border-radius:10px;box-shadow:inset 0 0 0 1px #e5e5e5;width:300px;max-width:100%;color:var(--muted-2)}
.search input{border:0;outline:none;background:transparent;font:500 14px var(--sans);color:var(--ink);flex:1;min-width:0}
.search svg{width:16px;height:16px;flex:none}
.ib{width:40px;height:40px;border-radius:10px;border:0;background:#fff;display:grid;place-items:center;color:var(--ink);cursor:pointer;position:relative;box-shadow:inset 0 0 0 1px #e5e5e5;flex:none}
.ib svg{width:18px;height:18px}
.ib .pip{position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:50%;background:var(--red)}

/* ---------- buttons, inputs ---------- */
.btn{height:40px;padding:0 16px;border-radius:10px;border:0;font:600 14px var(--sans);display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;transition:transform .12s cubic-bezier(.2,.8,.2,1),box-shadow .15s}
.btn:active{transform:scale(.97)}
.btn svg{width:16px;height:16px;flex:none}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 8px 18px -10px rgba(20,32,96,.7)}
.btn-primary:hover{background:#1a2a78}
.btn-line{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.btn-ghost{background:transparent;color:var(--ink-2)}
.btn-danger{background:#fff;color:var(--red-t);box-shadow:inset 0 0 0 1px #f0b4b4}
.btn-lg{height:52px;border-radius:14px;font-size:15.5px;padding:0 22px}
.btn-sm{height:34px;padding:0 12px;font-size:13px;border-radius:9px}
.btn-block{width:100%}
.btn[disabled]{background:#e9ebf2;color:#9aa0b4;box-shadow:none;cursor:default}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field>span,.flabel{font-size:12.5px;font-weight:500;color:var(--ink-2)}
.input{display:flex;align-items:center;gap:8px;height:48px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #dfe1e8;transition:box-shadow .15s}
.input:focus-within{box-shadow:inset 0 0 0 2px var(--navy),0 0 0 4px rgba(20,32,96,.08)}
.input input,.input select,.input textarea{border:0;outline:none;background:transparent;font:500 15px var(--sans);color:var(--ink);flex:1;min-width:0;width:100%;padding:0}
.input .pre{color:var(--muted-2);font-weight:600;font-size:14px}
.input.mono input{font-family:var(--mono)}
.hint{font-size:12.5px;color:var(--muted-2);line-height:1.45}
.seg{display:inline-flex;padding:3px;gap:2px;border-radius:11px;box-shadow:inset 0 0 0 1px #e2e4ea;background:#fff;flex-wrap:wrap}
.seg button{border:0;background:transparent;height:34px;padding:0 13px;border-radius:8px;font:500 13.5px var(--sans);color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.seg button svg{width:15px;height:15px}
.seg button.on{background:var(--navy);color:#fff}
.opt{height:38px;padding:0 14px;border-radius:10px;border:0;background:#fff;box-shadow:inset 0 0 0 1px #e2e4ea;font:500 14px var(--sans);cursor:pointer}
.opt.on{box-shadow:inset 0 0 0 1.5px var(--navy);color:var(--navy);font-weight:600}
.tile{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #e2e4ea;border:0;cursor:pointer;text-align:left;width:100%;font:inherit}
.tile.on{box-shadow:inset 0 0 0 1.5px var(--navy)}
.tile .ti{width:38px;height:38px;flex:none;border-radius:11px;display:grid;place-items:center;color:var(--navy);box-shadow:inset 0 0 0 1px #d9ddec}
.tile .ti svg{width:19px;height:19px}
.tile b{display:block;font-size:14.5px;font-weight:600}
.tile small{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px}
.tick{width:22px;height:22px;flex:none;border-radius:7px;box-shadow:inset 0 0 0 1.5px #cfd3e0;display:grid;place-items:center;margin-left:auto}
.tile.on .tick{background:var(--navy);box-shadow:none;color:#fff}
.tick svg{width:14px;height:14px}
.switch{width:40px;height:24px;border-radius:99px;background:#d8dbe5;position:relative;border:0;cursor:pointer;flex:none;transition:background .15s}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.switch.on{background:var(--navy)}
.switch.on::after{transform:translateX(16px)}
.chk{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:13.5px;line-height:1.45}
.chk i{width:20px;height:20px;border-radius:6px;flex:none;box-shadow:inset 0 0 0 1.5px #c9cede;display:grid;place-items:center;margin-top:1px}
.chk.on i{background:var(--navy);box-shadow:none;color:#fff}
.chk i svg{width:13px;height:13px}

/* ---------- cards, lists, tables ---------- */
.box{background:#fff;border-radius:14px;box-shadow:0 0 0 1px #e9e9e9,0 1px 2px rgba(15,23,42,.03)}
.bh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px 10px}
.bh h2,.h2{margin:0;font-size:16px;font-weight:600}
.tabs{display:flex;gap:4px;flex-wrap:wrap}
.tab{height:34px;padding:0 12px;border-radius:9px;border:0;background:transparent;display:inline-flex;align-items:center;gap:7px;font:500 13.5px var(--sans);color:var(--muted);cursor:pointer;white-space:nowrap}
.tab i{font:500 12px var(--mono);font-style:normal;color:var(--faint)}
.tab.on{color:var(--navy);background:#fff;box-shadow:inset 0 0 0 1.5px var(--navy)}
.tab.on i{color:var(--navy)}
.chip{height:32px;padding:0 11px;border-radius:9px;display:inline-flex;align-items:center;gap:6px;font:500 13px var(--sans);color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy);background:#fff;border:0;cursor:pointer;white-space:nowrap}
.chip svg{width:14px;height:14px}
.chip-dash{box-shadow:none;border:1px dashed var(--navy)}
.tbl{width:100%;overflow-x:auto}
.tr{display:grid;align-items:center;gap:16px;padding:0 20px;min-height:58px;border-top:1px solid #f0f0f0;font-size:14px;cursor:pointer;transition:background .12s}
.tr:hover{background:#fafbfd}
.tr.head{min-height:38px;font-size:12px;font-weight:500;color:var(--muted-2);border-top:0;border-bottom:1px solid var(--line);cursor:default;background:none}
/* The open payment's row sits under the panel's backdrop: a quiet mark (tint + navy edge), never a solid fill that
   flashes while the backdrop fades in and out. */
.tr.sel,.tr.sel:hover{background:#eef1fb;box-shadow:inset 3px 0 0 var(--navy)}
.cell{min-width:0}
.nm{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--ink-2);white-space:nowrap}
.dot{width:6px;height:6px;border-radius:50%;flex:none;display:inline-block}
.dot.ring{box-shadow:inset 0 0 0 1.5px var(--faint)}
.cb{width:34px;height:24px;flex:none;border-radius:6px;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 1px #e2e2e2}
.cb img{display:block;height:9px;width:auto}
.cb.mc img{height:14px} .cb.ax img{height:16px}
.av{width:34px;height:34px;flex:none;border-radius:999px;display:grid;place-items:center;font:600 12px var(--sans);color:var(--navy);box-shadow:inset 0 0 0 1px #d9ddec;background:#fff}
.kv{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;border-top:1px solid #f0f0f0;font-size:13.5px}
.kv>span:first-child{color:var(--muted);flex:none}
.kv:first-child{border-top:0}
.cap{display:block;font-size:12px;font-weight:500;color:var(--muted-2);letter-spacing:.01em}
.sec{padding:14px 20px;border-top:1px solid #f0f0f0}
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:46px 20px}
.empty .ei{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--navy)}
.empty .ei svg{width:24px;height:24px}
.empty b{font-size:16px;font-weight:600}
.empty p{margin:0;max-width:360px;color:var(--muted);font-size:13.5px;line-height:1.5}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}

/* ---------- premium surfaces ---------- */
.premium{background:var(--premium);color:#fff}
.route{display:flex;gap:6px}
.route .stp{flex:1;display:flex;flex-direction:column;gap:7px;min-width:0}
.route .bar{height:3px;border-radius:99px;background:rgba(255,255,255,.18)}
.route .done .bar{background:#fff}
.route .now .bar{background:linear-gradient(90deg,#fff 0%,#fff 55%,rgba(255,255,255,.18) 100%);box-shadow:0 0 10px rgba(176,190,255,.9)}
.route span{font-size:11.5px;color:rgba(255,255,255,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route .done span{color:#fff}
.route.light .bar{background:#e3e6f0} .route.light .done .bar{background:var(--navy)} .route.light .now .bar{background:linear-gradient(90deg,var(--navy) 0%,var(--navy) 55%,#e3e6f0 100%);box-shadow:none}
.route.light span{color:var(--muted-2)} .route.light .done span{color:var(--navy)}
.route em{font-style:normal;font-size:11px;color:var(--faint);white-space:nowrap}
.route:not(.light) em{color:rgba(255,255,255,.5)}

/* ---------- overlays ---------- */
.scrim{position:fixed;inset:0;background:rgba(16,26,82,.40);z-index:50;animation:fade .18s ease}
.drawer{position:fixed;top:0;right:0;bottom:0;width:432px;max-width:100%;background:#fff;z-index:60;box-shadow:-24px 0 60px -20px rgba(10,16,48,.35);display:flex;flex-direction:column;animation:slidein .26s cubic-bezier(.2,.8,.2,1)}
.drawer-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px 0}
.drawer-b{flex:1;overflow-y:auto;padding:0 22px 40px}
.drawer-f{padding:14px 22px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:440px;max-width:calc(100% - 32px);max-height:calc(100% - 40px);overflow-y:auto;background:#fff;border-radius:20px;z-index:60;box-shadow:0 30px 80px -20px rgba(10,16,48,.45);padding:22px;animation:pop .22s cubic-bezier(.2,.8,.2,1)}
.sheet{position:fixed;left:8px;right:8px;bottom:8px;max-height:calc(100% - 60px);overflow-y:auto;background:#fff;border-radius:30px;z-index:60;padding:10px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(3,4,9,.25);animation:sheetup .28s cubic-bezier(.22,1,.36,1)}
.sheet .grab{display:block;width:38px;height:5px;border-radius:99px;background:#d4d4d4;margin:0 auto 8px}
.fullpage{position:fixed;inset:0;background:#fff;z-index:60;overflow-y:auto;display:flex;flex-direction:column;animation:slidein .24s cubic-bezier(.2,.8,.2,1)}
.pfoot{position:sticky;bottom:0;margin-top:auto;padding:16px 18px calc(18px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,rgba(255,255,255,0),#fff 24%);display:flex;flex-direction:column;gap:10px;z-index:2}
.toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:120;background:var(--navy-2);color:#fff;padding:12px 16px;border-radius:12px;font-size:14px;font-weight:500;display:flex;align-items:center;gap:10px;box-shadow:0 18px 40px -12px rgba(10,16,48,.5);animation:toastin .28s cubic-bezier(.2,.8,.2,1);max-width:calc(100% - 32px)}
.toast svg{width:18px;height:18px;color:#8ff0b5}
@keyframes fade{from{opacity:0}}
@keyframes slidein{from{transform:translateX(40px);opacity:0}}
@keyframes pop{from{transform:translate(-50%,-46%) scale(.97);opacity:0}}
@keyframes sheetup{from{transform:translateY(40px);opacity:0}}
@keyframes toastin{from{transform:translate(-50%,12px);opacity:0}}
@keyframes spin{to{transform:rotate(360deg)}}
.spinner{width:22px;height:22px;border-radius:50%;border:2.5px solid rgba(20,32,96,.18);border-top-color:var(--navy);animation:spin .9s linear infinite;display:inline-block}

/* ---------- phone shell ---------- */
.pshell{min-height:100%;position:relative;padding:0 0 calc(40px + env(safe-area-inset-bottom,0px))}
.ptop{display:flex;align-items:center;gap:8px;padding:calc(16px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.capsule{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;min-width:0;max-width:calc(100% - 104px);padding:0 13px 0 5px;border:0;border-radius:999px;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 0 0 1px #e6e6e6,0 4px 14px rgba(15,23,42,.06);font:600 14.5px var(--sans)}
.capsule .cap-c{display:grid;flex:none;color:var(--muted-2)}
.capsule img{width:30px;height:30px;border-radius:999px;object-fit:cover}
.rb{width:40px;height:40px;border-radius:999px;border:0;background:#fff;display:grid;place-items:center;cursor:pointer;position:relative;box-shadow:0 0 0 1px #e6e6e6,0 4px 14px rgba(15,23,42,.06);flex:none}
.rb svg{width:19px;height:19px}
.rb .pip{position:absolute;top:9px;right:10px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.pbody{padding:0 max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.pbody h1{margin:20px 0 0;font-size:28px;font-weight:600;letter-spacing:-.02em}
.pback{display:flex;align-items:center;gap:10px;padding:calc(14px + env(safe-area-inset-top,0px)) 14px 8px}
.pback b{flex:1;text-align:center;font-size:15px;font-weight:600}
.prow{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-2);cursor:pointer}
.prow .ic{width:36px;height:36px;flex:none;border-radius:999px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #e2e2e2;color:var(--ink)}
.prow .ic svg{width:17px;height:17px}
.prow .tx{flex:1;min-width:0}
.prow .tx b{display:block;font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow .tx span{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow .am{text-align:right;flex:none}
.prow .am b{display:block;font:500 15.5px var(--mono)}
.prow .am>span{display:inline-flex;align-items:center;gap:5px;justify-content:flex-end;font-size:12px;color:var(--muted-2);margin-top:2px}
.prow .am b span{display:inline;margin:0}
.gh{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0 6px;font-size:13px;color:var(--muted-2);border-bottom:1px solid var(--line)}
.gh>span:first-child{color:var(--ink);font-weight:600}
.tdy-pa{margin-top:18px;display:flex;align-items:center;gap:12px;width:100%;padding:14px 14px 14px 16px;border:0;border-radius:16px;background:#fff;box-shadow:0 0 0 1px #e6e6e6,0 8px 22px rgba(15,23,42,.06);color:var(--ink);text-align:left;font-family:inherit;cursor:pointer;transition:transform var(--t-fast,.12s)}
.sticky-act{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 22%);padding:22px 0 calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition:none!important}}

/* sidebar group: Reports opens into its reports */
.ni-grp{display:flex;flex-direction:column}
.ni--open{color:var(--ink);font-weight:600}
.ni-chev{margin-left:auto;display:grid;color:var(--muted-2);transform:rotate(180deg)}
.ni .ni-chev svg{width:14px;height:14px}
.ni-subs{display:flex;flex-direction:column;gap:2px;margin:2px 0 4px 20px;padding-left:10px;border-left:1px solid var(--line)}
.ni-sub{height:34px;display:flex;align-items:center;padding:0 10px;border:0;border-radius:9px;background:none;font:500 13.5px var(--sans);color:#525252;cursor:pointer;text-align:left;width:100%;white-space:nowrap;text-decoration:none}
.ni-sub:hover{background:#f6f7fb;color:var(--ink)}
.ni-sub--on,.ni-sub--on:hover{background:var(--navy);color:#fff}

/* ---------- app frame ---------- */
#stage{min-height:100%;display:flex;flex-direction:column}
.app{background:var(--bg);min-height:100vh;min-height:100dvh;position:relative;container:app/inline-size}
.skel{display:block;border-radius:10px;background:linear-gradient(90deg,#f2f3f7 0%,#e9ebf2 50%,#f2f3f7 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}
@keyframes skel{from{background-position:200% 0}to{background-position:-200% 0}}
.hpx-err{display:flex;flex-direction:column;align-items:center;gap:10px;padding:46px 20px;text-align:center}

/* ---------- payments (from the prototype's money-in module) ---------- */

.ov:has(.mi-noanim),.scrim:has(+ .ov .mi-noanim),.ov:has(.mi-noanim) .scrim,.ov:has(.mi-noanim) .sheet,.fullpage.ov:has(> .mi-under){animation:none!important}
.mi-under{height:100%;overflow:hidden;pointer-events:none;user-select:none}
.mi-sheet{padding-top:10px}
.mi-crumb{margin:0;font-size:13px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-crumb span{color:var(--ink)}
.mi-crumb a{cursor:pointer;color:var(--muted-2)}
.mi-crumb a:hover{color:var(--ink);text-decoration:underline}
.mi-ib{width:34px;height:34px;border-radius:9px}
.mi-round{border-radius:999px}
.mi-dh{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.mi-dt{display:block;font-size:19px;font-weight:600;letter-spacing:-.01em}
.mi-big{margin:8px 0 0;font-size:40px;line-height:1;font-weight:400;letter-spacing:-.04em;white-space:nowrap}
.mi-big .cur{font-size:15px;letter-spacing:0}
.mi-from{margin:18px 0 0;font-size:13px;color:var(--muted)}
.mi-from .pay-who{color:var(--ink)}
.mi-stl{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 0;font-size:13.5px;color:var(--muted-2)}
.mi-stl .st{font-size:13.5px;font-weight:500}
.mi-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.mi-card+.mi-acts{margin-top:14px}
.mi-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:20px 0 10px;padding-top:16px;border-top:1px solid #f0f0f0;font-size:13px;font-weight:600}
.mi-h span{font-weight:500;font-size:12.5px;color:var(--muted-2)}
.mi-h a,.mi-h button{font-size:13px}
.mi-sep{border-top:1px solid var(--line);margin-top:24px}
.mi-box{border-radius:14px;box-shadow:inset 0 0 0 1px #e6e6e6;padding:2px 16px;background:#fff}
.mi-box .kv{min-height:44px}
.mi-card{margin-top:16px;border-radius:14px;box-shadow:0 0 0 1px #e9e9e9,0 1px 2px rgba(15,23,42,.03);padding:4px 16px;background:#fff}
.mi-card>div{padding:12px 0;font-size:16px}
.mi-card>div+div{border-top:1px solid #f0f0f0}
.mi-card b{display:block;margin-top:4px;font-size:15px;font-weight:600}
.mi-card p{margin:4px 0 0;font-size:14px;line-height:1.45;color:var(--ink)}
.mi-cap{display:block;font-size:12.5px;color:var(--muted);font-weight:500}
.mi-card .mi-cap{display:inline}
.mi-q{margin:8px 0 0;border-left:2px solid #e2e2e2;padding-left:12px;color:var(--ink-2);font-size:13.5px;line-height:1.5}
.mi-callout{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;border-radius:12px;box-shadow:inset 0 0 0 1px #ecc58f;background:#fff;margin-top:16px;font-size:13.5px;color:var(--ink-2)}
.mi-callout.navy{box-shadow:inset 0 0 0 1px #c9cfe6}
.mi-copy{position:relative;width:26px;height:26px;border-radius:7px;border:0;background:#fff;box-shadow:inset 0 0 0 1px #e5e5e5;display:inline-grid;place-items:center;cursor:pointer;color:var(--muted-2);flex:none}
.mi-copy svg{width:13px;height:13px}
.mi-ext{display:inline-flex;align-items:center;gap:3px;font-weight:500;margin-left:6px}
.mi-pcard{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;box-shadow:inset 0 0 0 1px #e6e6e6;background:#fff;width:100%;border:0;text-align:left;font:inherit;cursor:pointer;color:inherit}
.mi-pcard:hover{box-shadow:inset 0 0 0 1px #c9cfe6}
.mi-pcard b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-pcard small{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-lbl{display:block;font-size:13.5px;font-weight:600;margin:20px 0 9px}
.mi-lbl span{font-weight:400;color:var(--muted-2)}
.mi-help{font-size:12.5px;color:var(--muted-2);margin:7px 0 0}
.mi-help.err{color:var(--red-t);font-weight:500}
.mi-amt{height:58px;border-radius:14px}
.mi-amt input{font:500 25px var(--mono)!important;letter-spacing:-.02em}
.mi-amt.err,.mi-amt.err:focus-within{box-shadow:inset 0 0 0 2px var(--red)}
.mi-mini{height:40px;border-radius:10px;padding:0 10px;width:150px}
.mi-mini input{font:500 15px var(--mono)!important}
.mi-mini.err{box-shadow:inset 0 0 0 2px var(--red)}
.mi-seg2{display:grid;grid-template-columns:1fr 1fr;padding:3px;gap:3px;border-radius:12px;box-shadow:inset 0 0 0 1px #e2e4ea;background:#fff}
.mi-seg2 button{height:42px;border:0;border-radius:9px;background:transparent;font:500 14px var(--sans);color:var(--ink-2);cursor:pointer}
.mi-seg2 button.on{background:var(--navy);color:#fff}
.mi-seg2 button .mono{color:var(--muted-2);margin-left:4px}
.mi-seg2 button.on .mono{color:#b9c2ec}
.mi-opts{display:flex;flex-wrap:wrap;gap:8px}
.mi-opts .opt{display:inline-flex;align-items:center;gap:6px;height:40px;color:var(--ink)}
.mi-opts .opt.on{color:var(--navy)}
.mi-opts .opt svg{width:14px;height:14px}
.mi-ta{display:block;width:100%;min-height:72px;padding:12px 14px;border-radius:12px;border:0;box-shadow:inset 0 0 0 1px #dfe1e8;font:500 14.5px/1.45 var(--sans);color:var(--ink);resize:vertical;outline:none;background:#fff}
.mi-ta:focus{box-shadow:inset 0 0 0 2px var(--navy),0 0 0 4px rgba(20,32,96,.08)}
.mi-ta[readonly]{box-shadow:inset 0 0 0 1px #ececec;color:var(--ink-2)}
.mi-info{display:flex;gap:9px;align-items:flex-start;font-size:13px;color:var(--muted);line-height:1.45;margin:18px 0 6px}
.mi-info svg{flex:none;margin-top:1px;width:15px;height:15px}
.mi-row2{display:flex;gap:10px;align-items:center;width:100%}
.mi-row2>.btn{flex:1;min-width:0;padding:0 12px}
.mi-row2>.mi-sq{flex:0 0 52px;padding:0}
.drawer-f .mi-row2>.mi-grow{flex:2}
.mi-ok{width:56px;height:56px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;box-shadow:0 14px 26px -12px rgba(20,32,96,.8);flex:none}
.mi-ok svg{width:24px;height:24px}
.mi-cells{display:grid;border-radius:14px;box-shadow:0 0 0 1px #e9e9e9,0 1px 2px rgba(15,23,42,.03);overflow:hidden;background:#fff}
.mi-cells>div{padding:12px 14px;min-width:0;font-size:16px}
.mi-cells>div+div{border-left:1px solid #eeeeee}
.mi-cells>div>span{font-size:12.5px;font-weight:500;color:var(--muted)}
.mi-cells b{display:block;font:500 16px var(--mono);font-feature-settings:'tnum' 1;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-mnote{margin:10px 0 0;font-size:12.5px;color:var(--muted-2)}
.mi-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#ececec;border-radius:14px;overflow:hidden;box-shadow:0 0 0 1px #e6e6e6}
.mi-stats>div{background:#fff;padding:13px 15px;min-width:0}
.mi-stats>div>span{display:block;font-size:12.5px;color:var(--muted)}
.mi-stats b{display:block;font:500 18px var(--mono);margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-stats b.sans{font:500 16px var(--sans)}
.mi-tl{list-style:none;margin:0;padding:0}
.mi-tl .it{display:grid;grid-template-columns:20px minmax(0,1fr) auto;column-gap:12px;position:relative;padding-bottom:14px}
.mi-tl .it:last-child{padding-bottom:0}
.mi-tl .it::before{content:"";position:absolute;left:9px;top:23px;bottom:3px;width:1.5px;background:#e3e3e3}
.mi-tl .it.done::before{background:var(--navy)}
.mi-tl .it:last-child::before{display:none}
.mi-tl .mk{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 1.5px #d4d4d4;background:#fff;font:700 11px var(--sans)}
.mi-tl .mk svg{width:12px;height:12px}
.mi-tl .done .mk{background:var(--navy);color:#fff;box-shadow:none}
.mi-tl .now .mk{box-shadow:inset 0 0 0 1.5px var(--navy)}
.mi-tl .now .mk::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--navy)}
.mi-tl .fail .mk{background:var(--red);color:#fff;box-shadow:none}
.mi-tl .warn .mk{background:var(--amber);color:#fff;box-shadow:none}
.mi-tl b{display:block;font-size:13.5px;font-weight:500;line-height:20px}
.mi-tl .todo b{color:var(--muted-2)}
.mi-tl .fail b{color:var(--red-t)}
.mi-tl .warn b{color:var(--amber-t)}
.mi-tl small{display:block;font-size:12px;color:var(--muted-2);margin-top:1px}
.mi-tl time{font:500 12px/20px var(--mono);font-feature-settings:'tnum' 1;color:#6b6b6b;white-space:nowrap}
.mi-steps{display:grid;gap:10px}
.mi-steps i{display:block;height:3px;border-radius:99px;background:#e3e6f0;margin-bottom:10px}
.mi-steps .done i{background:var(--navy)}
.mi-steps .now i{background:linear-gradient(90deg,var(--amber) 0 50%,#e3e6f0 50%)}
.mi-steps b{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-steps .now b{color:var(--amber-t)}
.mi-steps .todo b{color:var(--muted)}
.mi-steps small{display:block;font:400 11.5px var(--mono);color:var(--muted-2);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-act{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:7px 0;font-size:13.5px;color:var(--ink-2)}
.mi-act .dot{position:relative;top:-2px}
.mi-act time{font:400 12.5px var(--mono);color:var(--muted)}
.mi-ev{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f0f0f0}
.mi-ev:first-child{border-top:0}
.mi-evi{width:38px;height:38px;flex:none;border-radius:11px;box-shadow:inset 0 0 0 1px #d9ddec;display:grid;place-items:center;color:var(--navy)}
.mi-evi svg{width:18px;height:18px}
.mi-ev .tx{flex:1;min-width:0}
.mi-ev .tx b{display:block;font-size:14px;font-weight:500}
.mi-ev .tx small{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-drop{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;border:1px dashed #cdd2e2;border-radius:12px;padding:14px;font-size:13px;color:var(--muted);margin-top:10px;background:#fff;width:100%;cursor:pointer;font-family:inherit}
.mi-drop svg{width:15px;height:15px;color:var(--navy)}
.mi-hold{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;box-shadow:inset 0 0 0 1px #e6e6e6;margin-top:14px;font-size:13px;line-height:1.5;color:var(--ink-2)}
.mi-hold svg{flex:none;width:16px;height:16px;margin-top:1px}
.mi-due{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:13.5px;font-weight:500;color:var(--amber-t)}
.mi-due svg{width:16px;height:16px;flex:none}
.mi-bar{display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px}
.mi-bar2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.mi-bar.mi-bar-nr{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}
.mi-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.mi-chips .chip svg{width:14px;height:14px}
.mi-sum{font-size:12.5px;color:var(--muted-2);white-space:nowrap}
.mi-grp{display:flex;justify-content:space-between;align-items:center;gap:12px;height:41px;padding:0 16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted-2)}
.mi-grp:first-child{border-top:0}
.mi-grp b{font-weight:600;color:var(--ink)}
.mi-more{display:flex;justify-content:space-between;align-items:center;gap:12px;height:45px;padding:0 16px;border-top:1px solid #f0f0f0;font-size:13px;color:var(--muted-2)}
.mi-more a,.mi-more .lnk{align-self:stretch;display:inline-flex;align-items:center;color:var(--ink);font-size:13px;font-weight:600}
.mi-more a:hover{text-decoration:underline}
.mi-per{border:0;background:none;padding:0;font:inherit;color:var(--ink-2);display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-weight:500}
.mi-per svg{width:14px;height:14px}
.mi-q2::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.mi-x{position:relative;width:24px;height:24px;border:0;border-radius:6px;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--muted-2);flex:none;padding:0}
.mi-x svg{width:14px;height:14px}
.search.on{box-shadow:inset 0 0 0 1.5px var(--navy);color:var(--navy)}
.mi-code{font:500 12px var(--mono);padding:2px 6px;border-radius:6px;box-shadow:inset 0 0 0 1px #e2e2e2;color:var(--ink);background:#fff;cursor:pointer;border:0}
.mi-out .mi-outh{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 20px 10px;border-top:1px solid var(--line);font-size:13.5px}
.mi-noresult{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 24px 40px}
.mi-noresult .ei{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--navy);background:#fff}
.mi-noresult .ei svg{width:24px;height:24px}
.mi-noresult h3{margin:18px 0 0;font-size:18px;font-weight:600;letter-spacing:-.01em}
.mi-noresult p{margin:6px 0 0;max-width:440px;color:var(--muted);font-size:14px;line-height:1.5}
.mi-noresult .btn{margin-top:20px;box-shadow:none}
.mi-noresult .hint{margin-top:18px;max-width:560px;font-size:13px;color:var(--muted-2)}
.mi-noresult .kbd{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;font:500 12px var(--mono);font-style:normal;color:var(--ink-2);box-shadow:inset 0 0 0 1px #dcdcdc;background:#fff}
.mi-psr{display:flex;gap:8px;margin-top:16px}
.mi-psearch{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #e5e5e5;color:var(--muted-2)}
.mi-psearch>svg{width:18px;height:18px;flex:none}
.mi-psearch input{border:0;outline:none;background:transparent;font:500 15px var(--sans);color:var(--ink);flex:1;min-width:0;width:100%;padding:0}
.mi-psearch.on{box-shadow:inset 0 0 0 1.5px var(--navy);color:var(--navy);padding-right:4px}
.mi-psearch:focus-within{box-shadow:inset 0 0 0 2px var(--navy),0 0 0 4px rgba(20,32,96,.08)}
.mi-psearch .mi-x{width:36px;height:36px;border-radius:999px}
.mi-psearch .mi-x svg{width:16px;height:16px}
.mi-fbtn{height:44px;padding:0 14px;border-radius:12px;border:1px dashed var(--navy);background:#fff;color:var(--navy);font:500 14px var(--sans);cursor:pointer;white-space:nowrap;flex:none}
.mi-ptabs{display:flex;justify-content:space-between;gap:2px;overflow-x:auto;scrollbar-width:none;margin:12px -18px 0;padding:0 18px}
.mi-ptabs::-webkit-scrollbar{display:none}
.mi-ptabs .tab{height:40px;padding:0 8px;border-radius:10px;gap:4px;color:#6b6b6b;background:#fff}
.mi-ptabs .tab i{color:#9a9a9a}
.mi-ptabs .tab i:not(.wait){min-width:0}
.mi-ptabs .tab.on{color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.mi-ptabs .tab.on i{color:var(--navy)}
.mi-cbw{width:42px;flex:none;display:grid;place-items:center}
.mi-sub{margin:4px 0 0;font-size:13px;color:var(--muted)}
.mi-dc2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;padding:18px 22px;border-top:1px solid var(--line)}
.mi-dfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 22px;border-top:1px solid var(--line)}
.mi-dfoot .mi-info{margin:0}
.mi-num{width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--navy);display:grid;place-items:center;font:600 12px var(--mono);color:var(--navy);flex:none}
.mi-how{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;margin-top:14px}
.mi-how b{display:block;font-size:14px;font-weight:600;margin-top:10px}
.mi-how p{margin:4px 0 0;font-size:12.5px;color:var(--muted-2);line-height:1.45}
.mi-av-lg{width:54px;height:54px;font-size:16px}
.mi-chead{display:flex;align-items:center;gap:14px}
.mi-chead b{display:block;font-size:22px;font-weight:600;letter-spacing:-.01em}
.mi-chead span.sub{display:block;font:400 12.5px var(--mono);color:var(--muted-2);margin-top:3px}
.mi-since{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 0;font-size:13px;color:var(--muted)}
.mi-since a{color:var(--ink);font-weight:500;display:inline-flex;align-items:center;gap:3px}
.mi-cust3 .tx b{font-size:15px}
.mi-zero{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));border-radius:14px;box-shadow:inset 0 0 0 1px #e6e6e6;overflow:hidden;max-width:760px;width:100%;text-align:left;margin-top:8px}
.mi-zero>div{padding:14px 16px;min-width:0;border-left:1px solid #ececec}
.mi-zero>div:first-child{border-left:0}
.mi-zero b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.mi-zero b svg{width:16px;height:16px;color:var(--navy)}
.mi-zero p{margin:5px 0 0;font-size:12.5px;color:var(--muted-2);max-width:none}
.mi-hero{display:flex;align-items:center;gap:14px}
.mi-center{text-align:center;display:flex;flex-direction:column;align-items:center}
.drawer-f:has(.mi-row2){padding-bottom:66px}
.mi-wrap{display:flex;gap:20px;flex-wrap:wrap;align-items:stretch;margin-top:18px}
@container app (max-width:1180px){.mi-dc2{grid-template-columns:1fr}}


/* ---- stable rendering (2026-11-24): links that look like the controls they replaced, figures that keep their
   place while data loads, panels that slide out, the same right column on every Today row ---- */
a.tr,a.prow,a.lnk{color:inherit;text-decoration:none}
a.btn{text-decoration:none}
a.ni--on,a.ni--on:hover{color:#fff}
a.lnk{color:var(--navy)}
a.tr:focus-visible,a.prow:focus-visible,a.ni:focus-visible,.mrow:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.tab i{display:inline-block;min-width:1.7em;text-align:center;font-variant-numeric:tabular-nums}
.tab i.wait{color:transparent;background:#eceef4;border-radius:5px}
.upd{transition:opacity .15s ease}
.upd.updating{opacity:.5;transition-delay:.12s}
.skel.on-dark{background:linear-gradient(90deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.18) 50%,rgba(255,255,255,.08) 100%);background-size:200% 100%}
/* Today rows (HP5 / HPSA1D): the hero and its KPI strip full width, then setup, attention, and today's list
   (2.2) next to Busy hours and By channel (1); narrow windows put the side column under the list */
.tdy-row{margin-top:20px;display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.tdy-row>.tdy-latest{flex:2.2 1 620px;min-width:0}
.tdy-row>.tdy-side{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.scrim.out{animation:fadeout .17s ease forwards}
.drawer.out,.fullpage.out{animation:slideout .17s cubic-bezier(.4,0,1,1) forwards}
.sheet.out{animation:sheetdown .17s ease forwards}
.modal.out{animation:fadeout .15s ease forwards}
.toast.out{animation:toastout .18s ease forwards}
@keyframes fadeout{to{opacity:0}}
@keyframes slideout{to{transform:translateX(40px);opacity:0}}
@keyframes sheetdown{to{transform:translateY(40px);opacity:0}}
@keyframes toastout{to{transform:translate(-50%,8px);opacity:0}}
.latest{container-type:inline-size}
@container (max-width:640px){.latest .tr{grid-template-columns:96px 104px minmax(0,1fr) 52px!important}.latest .lt-m{display:none!important}.latest .tbl>div{min-width:0!important}}
/* pick dates (canvas HPSN8) */
.modal:has(.pd-cals){width:min(620px,calc(100vw - 32px))}
.pd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pd-head b{display:block;font-size:18px;font-weight:600;letter-spacing:-.01em}
.pd-head p{margin:6px 0 0;font-size:13.5px;line-height:1.45;color:var(--muted-2)}
.pd-mnav{display:flex;gap:6px;flex:none}
.pd-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.pd-cals{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:16px}
.pd-cal>b{display:block;font-size:13.5px;font-weight:600;margin-bottom:8px}
.pd-wd,.pd-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.pd-wd span{font-size:11px;color:var(--muted-2);text-align:center;padding:4px 0}
.pd-days button{height:34px;border:0;border-radius:8px;background:transparent;font:500 13px var(--mono);color:var(--ink);cursor:pointer;transition:background .12s}
.pd-days button:hover:not([disabled]):not(.end){background:#f3f4f8}
.pd-days button.mid{background:#eef0f7;border-radius:4px}
.pd-days button.end{background:var(--navy);color:#fff}
.pd-days button[disabled]{color:#cfd1d8;cursor:default}
.pd-days button:focus-visible{outline:2px solid var(--navy);outline-offset:1px}
.pd-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
/* panels: the page behind does not move; the panel's own scroll never hands over to the page */
html{scrollbar-gutter:stable}
html.hpx-locked{overflow:hidden}
.drawer-b,.fullpage,.sheet,.modal{overscroll-behavior:contain}
.ov[tabindex="-1"]:focus{outline:none}
/* compact layout on tablets and narrow windows: a readable column, not a stretched phone */
@media (min-width:600px) and (max-width:1023px){
  .pshell .ptop,.pshell .pbody,.fullpage>.pback,.fullpage>.pbody{max-width:720px;margin-left:auto;margin-right:auto;width:100%;box-sizing:border-box}
  .sheet{left:max(8px,calc(50% - 330px));right:max(8px,calc(50% - 330px))}
}
/* figures scale with their box instead of spilling out of it */
.tdy-hero{margin-top:26px;font-size:16px;container-type:inline-size}
.tdy-fig{margin:10px 0 0;font-size:clamp(38px,12.5cqi,64px);line-height:1;font-weight:400;letter-spacing:-.05em;white-space:nowrap}
.tdy-kpi{container-type:inline-size}
.tdy-kpi b{display:block;margin-top:6px;font:500 clamp(15px,11cqi,22px) var(--mono);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the sidebar is 248 px and, as on the canvas, grows to fit a name like «Locus Gastro Hub» (255 px), never past
   256 px: longer names end with … */
.side{max-width:256px;box-sizing:border-box}
.clip{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---- one finish everywhere (2026-11-24 audit) ---- */
:root{--t-fast:.12s;--t-base:.18s;--t-panel:.26s;--ease:cubic-bezier(.2,.8,.2,1);--focus:var(--navy)}
html{-webkit-tap-highlight-color:transparent}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* focus: one ring, white on dark surfaces; fields show it on their frame */
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.premium :focus-visible,.ni--on:focus-visible,.btn-primary:focus-visible,.seg button.on:focus-visible,.pd-days button.end:focus-visible{outline-color:#fff;outline-offset:-4px}
.search:focus-within{box-shadow:inset 0 0 0 2px var(--navy),0 0 0 4px rgba(20,32,96,.08)}
input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
h1[tabindex="-1"]:focus{outline:none}
/* hover and press: everything that can be pressed answers */
.prow{transition:background var(--t-fast)}
.prow:hover{background:#fafbfd}
.seg button:not(.on):hover,.tab:not(.on):hover{background:#f3f4f8;color:var(--ink)}
.ib:hover:not([disabled]),.rb:hover,.mi-copy:hover{background:#f6f7fb}
.btn-line:hover:not([disabled]){background:#f5f6fb}
.btn:active:not([disabled]),.ib:active:not([disabled]),.rb:active,.seg button:active,.tab:active,.mi-copy:active{transform:scale(.97)}
.ib[disabled]{opacity:.45;cursor:default}
a.tdy-pa:active,button.tdy-pa:active{transform:scale(.99)}
div.tdy-pa{cursor:default}
/* the dimmed page under a panel does not move under a finger either */
.scrim{touch-action:none}
/* long words and IDs wrap inside the payment panel */
.drawer-b .kv span,.fullpage .kv span,.mi-tl small,.mi-tl b,.mi-card b,.mi-from{overflow-wrap:anywhere}
/* the payment panel's top bar stays while its content scrolls (phone) */
.fullpage .pback{position:sticky;top:0;z-index:3;background:#fff}
/* phone: status tabs scroll sideways instead of wrapping */
.mi-ptabs .tab{flex:0 0 auto}
/* touch screens: every control at least 44 px to tap */
@media (pointer:coarse){
  .rb,.ib{min-width:44px;min-height:44px}
  .seg button,.tab{min-height:44px;min-width:44px;justify-content:center;flex-shrink:0}
  .mi-x::after,.mi-copy::after{content:"";position:absolute;inset:-10px}
  .pd-days button{height:44px;position:relative;z-index:0;background:transparent!important}
  .pd-days button::before{content:"";position:absolute;inset:5px 0;z-index:-1;border-radius:8px}
  .pd-days button.end::before{background:var(--navy)}
  .pd-days button.mid::before{background:#eef0f7;border-radius:4px}
}
.hpx-inline-err{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#fdf2f2;color:var(--red-t);font-size:13.5px;line-height:1.45}
.hpx-inline-err svg{flex:none;width:16px;height:16px;margin-top:1px}
.spinner-sm{width:14px;height:14px;border-width:2px;margin-right:2px;vertical-align:-2px}

/* ===== Payments, the payment page and Pick dates: canvas 1:1 (HP7, HPM01, HPP1, HPSB1, HPSB4, HPSN3, HPSN8) ===== */
/* (rules for the Payments screens go above the next banner) */
/* desktop header: the dates button and the locations above the title; search 200 px (260 px with text) */
.pay-sub{display:flex;align-items:center;gap:4px;color:var(--muted-2)}
.pay-dr{position:relative;display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 8px 0 6px;margin-left:-6px;border:0;border-radius:7px;background:#fff;font:500 13px var(--sans);color:#525252;cursor:pointer}
.pay-dr svg{width:14px;height:14px;flex:none;color:var(--muted-2)}
.pay-dr:hover{box-shadow:inset 0 0 0 1px #e5e5e5}
.search.pay-search{width:200px}
.search.pay-search.on{width:260px;padding:0 6px 0 12px}
.pay-search .mi-x{width:28px;height:28px;border-radius:8px;color:var(--muted-2)}
.pay-search .mi-x svg{width:16px;height:16px}
.pay-kbd{flex:none;font-size:11.5px;color:#9a9a9a}
/* the statement box: channel tabs, the status chip and its menu, totals; the table keeps the rounded corners */
.pay-box{margin-top:20px}
.pay-tabs .tab{height:32px;padding:0 12px;border-radius:8px;gap:7px;color:#6b6b6b}
.pay-tabs .tab i{color:#9a9a9a}
.pay-tabs .tab i:not(.wait){min-width:0}
.pay-tabs .tab.on{color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--navy)}
.pay-tabs .tab.on i{color:var(--navy)}
.pay-tabs.stale .tab i,.mi-ptabs.stale .tab i,.pay-menu.stale i,.mi-sum.stale,.mi-sub .stale{opacity:.45;transition:opacity .15s ease .12s}
.pay-box .chip{border-radius:8px}
.pay-box .chip.pay-dash{box-shadow:none;border:1px dashed #cfcfcf}
.chip.pay-chip2{padding:0;gap:0}
.pay-chip2 button{position:relative;height:100%;display:inline-flex;align-items:center;border:0;background:none;padding:0 0 0 11px;font:inherit;color:inherit;cursor:pointer}
.pay-chip2 button+button{padding:0 11px 0 6px}
.pay-stw{position:relative;display:inline-flex}
.pay-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:212px;padding:6px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px #e6e6e6,0 14px 32px -10px rgba(15,23,42,.22);display:flex;flex-direction:column;gap:2px}
.pay-menu button{display:grid;grid-template-columns:minmax(0,1fr) auto 15px;align-items:center;gap:10px;height:36px;padding:0 10px;border:0;border-radius:8px;background:none;font:500 13.5px var(--sans);color:var(--ink-2);cursor:pointer;text-align:left;white-space:nowrap}
.pay-menu button:hover{background:#f3f4f8}
.pay-menu button:focus-visible{outline-offset:-2px}
.pay-menu button i{font:500 12px var(--mono);font-style:normal;color:#9a9a9a}
.pay-menu button[aria-checked="true"],.pay-menu button[aria-checked="true"] i{color:var(--navy)}
.pay-menu svg{width:15px;height:15px}
.pay-tbl{border-radius:0 0 14px 14px}
/* rows (HP7): 106 / 96 / 1.35fr / 1.1fr / 46, 16 px sides, 58 px + the rule; one-line cells sit in the middle */
.tr.pr{grid-template-columns:106px 116px minmax(0,1.35fr) minmax(0,1.1fr) 46px;gap:16px;padding:0 16px;height:59px;min-height:0}
.tr.pr.head{height:37px;border-top:1px solid var(--line);border-bottom:0}
.tr.pr .cu{display:block;min-width:0}
.tr.pr .nm.mono{font-weight:500}
.tr.pr .mth{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;color:var(--ink-2)}
.tr.pr .cb{width:auto;min-width:36px;height:22px;padding:0 4px;border-radius:5px;display:inline-grid}
.tr.pr .cb.ax img,.pay-plist .cb.ax img{height:18px}
.tr.pr .t{font-size:13px;color:var(--muted-2);white-space:nowrap}
.pay-dt{color:var(--ink);font-weight:500}
.pay-sl{color:var(--muted-2);font-size:13px}
.pay-sl:hover{color:var(--ink);text-decoration:underline}
/* «Outside these filters» under no results (HPSB4D) */
.pay-out{margin:0 16px 16px;border-top:1px solid #f0f0f0}
.pay-out .mi-grp{padding:0;border-top:0}
.pay-out .tr.pr{padding:0}
/* phone list (HPM01, HPSB4P) */
.pbody h1.pay-h1{margin-top:22px}
.pay-plink{position:relative;display:inline-flex;align-items:center;gap:3px;border:0;background:none;padding:0;font:500 13px var(--sans);color:var(--ink);cursor:pointer}
.pay-plink svg{width:12px;height:12px;color:var(--muted-2)}
.pay-pchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pay-pchips .chip{position:relative;height:36px;padding:0 12px;border-radius:12px;font-size:13.5px}
.pay-pchips .chip svg{width:14px;height:14px}
.pay-plist .prow{padding:12px 0;border-bottom:1px solid #f1f1f1;font-size:16px}
.pay-plist .cb{width:42px;height:30px;border-radius:7px}
.pay-plist .mi-more{height:48px;padding:0;border-top:0;border-bottom:1px solid #f1f1f1}
.pay-outh{margin-top:20px}
.pshell .mi-noresult{padding:44px 6px 0}
.pshell .mi-noresult .ei{width:52px;height:52px;border-radius:15px}
.pshell .mi-noresult .ei svg{width:23px;height:23px}
.pshell .mi-noresult h3{margin-top:16px}
.pshell .mi-noresult p{line-height:1.45}
.pshell .mi-noresult .btn{height:48px;margin-top:18px;padding:0 22px;border-radius:14px;font-size:15px}
.pshell .mi-noresult .hint{margin-top:16px;font-size:12.5px}
/* «+ Filter» sheet on the phone */
.pay-flbl{display:block;margin:18px 0 8px;font-size:13px;font-weight:600}
.pay-fopts{display:flex;flex-wrap:wrap;gap:8px}
.pay-fopts .opt{display:inline-flex;align-items:center;gap:6px;height:44px}
.pay-fopts .opt i{font:500 12px var(--mono);font-style:normal;color:#9a9a9a}
.pay-fopts .opt.on i{color:var(--navy)}
.opt.pay-fdates{display:inline-flex;align-items:center;gap:8px;height:44px}
.pay-fdates svg{width:16px;height:16px;color:var(--muted-2)}
/* the payment panel (HP7 inside the overlay drawer): tools 32 px, sections with a rule, key/value rows 33 px */
.pay-tools{display:flex;gap:6px;flex:none}
.ib.pay-ibs{width:32px;height:32px;border-radius:8px}
.ib.pay-ibs svg{width:16px;height:16px}
.mi-acts .btn,.mi-noresult .btn-primary{box-shadow:none}
.mi-acts .btn-line{box-shadow:inset 0 0 0 1px var(--navy)}
.pay-dl{margin:0}
.pay-dl .kv{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:33px;border-top:0;font-size:13.5px}
.pay-dl dt{flex:none;color:var(--muted-2)}
.pay-dl dd{margin:0;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px;text-align:right;font-weight:500;overflow-wrap:anywhere}
/* the phone payment page (HPP1, HPSB1P) */
.pback.pay-pback{gap:8px;padding:calc(18px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 8px max(20px,env(safe-area-inset-left,0px))}
.pay-sp{width:40px;flex:none}
.fullpage>.pay-pbody{flex:1 0 auto;display:flex;flex-direction:column;padding:0 max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.fullpage .mi-from{margin-top:14px}
.fullpage .mi-big{font-size:clamp(30px,11.8vw,46px);letter-spacing:-.05em}
.fullpage .mi-big .cur{margin-left:6px}
.fullpage .mi-stl{gap:6px 10px}
.pay-cd{margin-top:18px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px #e6e6e6,0 8px 22px rgba(15,23,42,.06)}
.fullpage .mi-card{margin-top:18px;padding:2px 16px;border-radius:16px;box-shadow:0 0 0 1px #e6e6e6,0 8px 22px rgba(15,23,42,.06)}
.fullpage .mi-card>div{padding:13px 0}
.fullpage .mi-card>div+div{border-top-color:#f1f1f1}
.fullpage .mi-card .mi-cap{display:block;font-weight:400;color:var(--muted-2)}
.fullpage .mi-card b{margin-top:3px;font-size:16px}
.fullpage .mi-card p{margin-top:3px;font-size:14.5px}
.fullpage .mi-h{margin:22px 0 4px;padding-top:0;border-top:0}
.fullpage .mi-h+.mi-tl{margin-top:10px}
.fullpage .mi-tl .it{padding-bottom:12px}
.fullpage .mi-tl .it:last-child{padding-bottom:0}
.fullpage .mi-tl b{font-size:14.5px}
.fullpage .mi-tl small{font-size:12.5px}
.fullpage .mi-tl time{font-size:12.5px}
.fullpage .pay-dl .kv{min-height:46px;gap:14px;border-bottom:1px solid #f1f1f1;font-size:14.5px}
.fullpage .pay-dl dd{gap:7px}
.fullpage .pay-dl .mono{font-size:13.5px}
.fullpage .mi-copy{width:28px;height:28px;border-radius:8px}
.fullpage .mi-copy svg{width:14px;height:14px}
.pay-bb{position:sticky;bottom:0;z-index:2;margin-top:auto;display:flex;gap:10px;padding:26px 0 calc(30px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#fff 30%)}
.pay-bb .btn{flex:1;min-width:0}
.pay-bb .btn svg{width:18px;height:18px}
/* touch: controls keep the canvas size; their hit area grows to 44 px instead */
@media (pointer:coarse){
  .pay-dr::after,.pay-plink::after,.pay-box button.chip::after,.pay-chip2 button::after,.pay-pchips .chip::after,.mi-ptabs .tab::after{content:"";position:absolute}
  .pay-dr::after{inset:-10px -4px}
  .pay-plink::after{inset:-13px -6px}
  .pay-box button.chip{position:relative}
  .pay-box button.chip::after,.pay-chip2 button::after{inset:-6px 0}
  .pay-pchips .chip::after{inset:-4px 0}
  .mi-ptabs .tab{min-height:40px;position:relative}
  .mi-ptabs .tab::after{inset:-2px 0}
  .pay-search .mi-x::after{inset:-8px}
  .mi-psearch .mi-x::after{inset:-4px}
  .mi-copy::after{inset:-9px}
  .fullpage .mi-copy::after{inset:-8px}
  .pay-pback .rb{min-width:40px;min-height:40px}
  .pay-pback .rb::after{content:"";position:absolute;inset:-2px}
  .pay-menu button{height:44px}
  .pay-sl{position:relative}
  .pay-sl::after{content:"";position:absolute;inset:-14px -6px}
}
/* a long sheet (44 px day rows on touch) scrolls under its buttons, which stay in reach */
.sheet .pd-foot{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom,0px));z-index:1;margin:6px 0 calc(-18px - env(safe-area-inset-bottom,0px));padding:12px 0 calc(18px + env(safe-area-inset-bottom,0px));background:#fff}

/* ===== Today, the shell and sign-in: canvas 1:1 (HP5, HP6, HPSA1, HPSM1) ===== */
/* (rules for Today, the sidebar, the phone bars and the sign-in gate go below) */

/* -- shell: sidebar counters, account box, initials tile (HP5, HPSA1D) -- */
.sbox:hover{box-shadow:inset 0 0 0 1px #d6d9e4}
.sbox-t{flex:1;min-width:0}
.sbox-n,.acm-n{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:600;min-width:0;white-space:nowrap}
.sbox-c{display:grid;flex:none;color:var(--muted-2)}
.acl{display:block;margin-top:2px;font:400 11.5px var(--mono);color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acl .dot{margin-right:6px;vertical-align:1px}
.acl--rev{font:500 11.5px var(--sans);color:var(--navy)}
.lg-tile{flex:none;display:grid;place-items:center;background:#fff;color:var(--navy);font-family:var(--sans);font-weight:600;box-shadow:inset 0 0 0 1px var(--navy)}
/* -- panels that are menus: no dim behind them, a card where it was opened (account box, + Status) -- */
.popover{position:fixed;inset:0;z-index:60;pointer-events:none;background:none}
.popover>.pop-card{pointer-events:auto}
.scrim:has(+ .popover){background:transparent;animation:none}
.pop-card{position:fixed;background:#fff;border-radius:14px;padding:6px;box-shadow:0 0 0 1px #e6e6e6,0 18px 44px -12px rgba(10,16,48,.28);animation:popin .16s var(--ease)}
.popover.out>.pop-card{animation:popout .12s ease forwards}
@keyframes popin{from{opacity:0;transform:translateY(4px)}}
@keyframes popout{to{opacity:0;transform:translateY(4px)}}
.acm{left:14px;bottom:84px;width:220px}
.acm-h{display:flex;align-items:center;gap:10px;padding:8px 8px 10px}
.acm-t{flex:1;min-width:0}
.acm-s{height:1px;background:#f0f0f0;margin:0 2px 4px}
.acm-i{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border:0;border-radius:9px;background:none;font:500 14px var(--sans);color:var(--ink);cursor:pointer;text-align:left}
.acm-i:hover{background:#f6f7fb}
.acm-i svg{width:16px;height:16px;flex:none;color:var(--muted-2)}
.acm-i.on{color:var(--navy)}
.acm-i.on svg{margin-left:auto;color:var(--navy)}
/* -- phone sheets: the menu and the account as the canvas More (HPM05): 36 px icon circles, chevrons -- */
.msheet{padding:2px 2px 4px}
.msh{margin:6px 0 4px;font-size:17px;font-weight:600}
.mgrp{display:flex;flex-direction:column}
.mgrp--out{margin-top:16px}
.mrow{display:flex;align-items:center;gap:12px;width:100%;min-height:53px;padding:8px 0;border:0;border-bottom:1px solid #f1f1f1;background:none;color:var(--ink);text-align:left;font-family:inherit;cursor:pointer;text-decoration:none}
a.mrow{color:var(--ink)}
.mrow .ic{width:36px;height:36px;flex:none;border-radius:999px;display:grid;place-items:center;color:var(--ink);box-shadow:inset 0 0 0 1px #e2e2e2}
.mrow .ic svg{width:17px;height:17px}
.mrow .tx{flex:1;min-width:0}
.mrow .tx b{display:block;font-size:15.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow.on .tx b{font-weight:600}
.mrow .tx span{display:block;font-size:12.5px;color:var(--muted-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow .tx span.wrap{white-space:normal;line-height:1.4}
.mrow .chv{display:grid;flex:none;color:var(--faint)}
.mrow .cnt{flex:none;font-size:13.5px;font-weight:600;color:var(--navy)}
.mrow .bdg{flex:none;font-size:12.5px;font-weight:600;color:#fff;background:var(--navy);border-radius:7px;padding:2px 8px}
.mrow .tdy-qn{width:36px;height:36px;border-radius:999px}
.msheet .acm-h{padding:6px 0 12px;gap:12px}
.msheet .acm-n{font-size:16px}
.msheet .acl{font-size:12.5px;margin-top:3px}
.msheet .acm-i{height:48px;font-size:15px}
/* -- phone top row (HPM17): capsule, Search, menu; drawn at 40 px, at least 44 px to tap -- */
@media (pointer:coarse){
  .ptop .rb{min-width:40px;min-height:40px}
  .ptop .rb::before,.capsule::before{content:"";position:absolute;inset:-2px;border-radius:inherit}
}

/* -- Today, desktop (HP5 without the settlement card, HPSA1D layout) -- */
.tdy-search{width:320px}
.tdy-kbd{flex:none;font-size:11.5px;color:#9a9a9a}
.tdy-cap{font-size:12.5px;font-weight:500;color:var(--muted)}
.tdy-hrow{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 32px}
.tdy-kpis{margin-top:22px;display:flex}
.tdy-kpi{flex:1 1 0;min-width:0;padding:16px 18px;border-left:1px solid #eee}
.tdy-kpi:first-child{border-left:0}
.tdy-kpi .cmp{display:block;margin-top:4px;font-size:12px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-kpi .up{color:var(--green-t);font-weight:600}
.tdy-kpi .dn{color:var(--ink-2);font-weight:600}
.tdy-nil{color:var(--faint)}
.tdy-setup,.tdy-att{margin-top:20px}
.tdy-sh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 14px}
.tdy-sh h2,.tdy-atth h2,.tdy-l1 h2,.tdy-bh h2,.tdy-h2{margin:0;font-size:16px;font-weight:600}
.tdy-sh>div:first-child>span{display:block;margin-top:3px;font-size:13px;color:var(--muted-2)}
.tdy-prog{display:flex;align-items:center;gap:12px;font-size:13px;color:#525252}
.tdy-prog .mono,.tdy-ckh .mono{color:var(--ink);font-weight:500}
.tdy-pg{display:flex;gap:4px;width:132px}
.tdy-pg i{flex:1;height:4px;border-radius:99px;background:#e9e9e9}
.tdy-pg i.on{background:var(--navy)}
.tdy-ck{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:15px 20px;border-top:1px solid #f0f0f0}
.tdy-ck b{display:block;font-size:15px;font-weight:600}
.tdy-ck .sb{margin-top:3px;font-size:13px;color:var(--muted);white-space:normal}
.tdy-ckm{width:28px;height:28px;flex:none;border-radius:50%;display:grid;place-items:center;font:600 12px var(--mono);color:#525252;box-shadow:inset 0 0 0 1.5px #d4d4d4}
.tdy-ckm svg{width:14px;height:14px}
.tdy-ckm.on{background:var(--navy);color:#fff;box-shadow:none}
.tdy-rev,.st.tdy-rev{color:var(--navy);font-weight:500}
.tdy-rev .dot{background:var(--navy)}
.tdy-atth{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px 6px}
.tdy-atth h2{display:flex;align-items:center;gap:8px;white-space:nowrap}
.tdy-n{font-size:12px;font-weight:600;color:#fff;background:var(--navy);border-radius:6px;padding:1px 7px}
.tdy-note{min-width:0;font-size:13px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-q{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px 20px;border-top:1px solid #f0f0f0}
.tdy-qn{width:28px;height:28px;flex:none;border-radius:8px;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--ink);box-shadow:inset 0 0 0 1px #e2e2e2}
.tdy-qt{min-width:0}
.tdy-qt b{display:block;font-size:15px;font-weight:600}
.tdy-qt span{display:block;margin-top:3px;font-size:13px;color:var(--muted)}
.tdy-lh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 12px}
.tdy-latest .tab{height:32px;border-radius:8px;color:#6b6b6b}
.tdy-latest .tab i{min-width:0;color:#9a9a9a}
.tdy-latest .tab.on,.tdy-latest .tab.on i{color:var(--navy)}
.tdy-chips{display:flex;gap:6px}
.tdy-latest .chip{border-radius:8px}
.tdy-tw{min-width:700px}
.tdy-latest .tr{gap:20px;min-height:59px}
.tdy-latest .tr.head{min-height:39px}
.mth{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink-2);white-space:nowrap;overflow:hidden}
.mth svg{width:16px;height:16px;flex:none;color:var(--muted-2)}
.tdy-time{color:var(--muted-2);white-space:nowrap}
.tdy-dcl,.prow .am b.tdy-dcl{color:var(--faint)}
.tdy-lf{display:flex;align-items:center;justify-content:space-between;gap:12px;height:48px;padding:0 20px;border-top:1px solid #f0f0f0;font-size:13px;color:var(--muted-2)}
.tdy-lf .lnk{color:var(--ink);font-size:13px;font-weight:600}
.tdy-l1{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 14px;border-bottom:1px solid #f0f0f0}
.tdy-l1>span{font-size:13px;color:var(--muted-2)}
.tdy-es{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 24px 52px}
.tdy-es--s{padding:40px 24px 44px}
.tdy-esi{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;color:var(--navy);background:#fff;box-shadow:inset 0 0 0 1.5px var(--navy)}
.tdy-esi svg{width:24px;height:24px}
.tdy-es h3{margin:18px 0 0;font-size:18px;font-weight:600;letter-spacing:-.01em}
.tdy-es p{margin:6px 0 0;max-width:440px;font-size:14px;line-height:1.5;color:var(--muted)}
.tdy-box{padding:16px 18px 18px}
.tdy-bh{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.tdy-bh span{font-size:12.5px;color:var(--muted-2)}
.tdy-hm{margin-top:14px;display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:3px}
.tdy-hm i{display:block;height:26px;border-radius:4px}
.tdy-hm i.now{box-shadow:inset 0 0 0 2px var(--navy)}
.tdy-hm i.fut{border:1px dashed #dcdcdc}
.tdy-ax{margin-top:8px;display:flex;justify-content:space-between;font-size:11px;color:#9a9a9a}
.tdy-ins{margin:12px 0 0;font-size:13px;color:#4a4a4a}
.tdy-bar{margin-top:14px;display:flex;gap:2px;height:8px;border-radius:99px;overflow:hidden}
.tdy-bar>span{display:block;min-width:2px}
.tdy-chl{margin-top:12px;display:grid;gap:8px;font-size:13.5px}
.tdy-chl>div{display:flex;align-items:center;gap:9px}
.tdy-chl i{width:8px;height:8px;flex:none;border-radius:2px}
.tdy-chl>div>span:not(.mono):not(.skel){flex:1;min-width:0;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-chl .mono{font-weight:500}
/* -- Today, phone (HPM17 / HP6 without the settlement card; HPSA1P on day one) -- */
.tdy-pcap{margin:22px 0 0;font-size:13px;color:var(--muted)}
.tdy-pfig{margin:8px 0 0;height:46px;font-size:46px;line-height:1;font-weight:400;letter-spacing:-.05em;white-space:nowrap}
.tdy-pfig .cur{font-size:15px;margin-left:6px}
.tdy-pst{margin:10px 0 0;font-size:13px;color:#6b6b6b}
.tdy-pa .tx{flex:1;min-width:0}
.tdy-pa .tx b{display:block;font-size:15px;font-weight:600}
.tdy-pa .tx span{display:block;margin-top:2px;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-pa .tdy-n{flex:none;font-size:12.5px;padding:2px 8px;border-radius:7px}
.tdy-pa .chv{display:grid;flex:none;color:#9a9a9a}
.gh.tdy-gh1{margin-top:6px}
.prow .am>.tdy-w{display:block;margin-top:2px;font-size:12px;color:var(--muted-2)}
.prow .am>.tdy-w.red{color:var(--red-t)}
.prow .am>.tdy-w.amber{color:var(--amber-t)}
.tdy-ckc{margin-top:18px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px #e6e6e6,0 8px 22px rgba(15,23,42,.06);overflow:hidden}
.tdy-ckh{padding:14px 16px 12px}
.tdy-ckh>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.tdy-ckh b{font-size:16px;font-weight:600}
.tdy-ckh>div>span{font-size:12.5px;color:var(--muted)}
.tdy-ckh .tdy-pg{width:auto;margin-top:10px}
.tdy-ckr{display:flex;align-items:center;gap:12px;min-height:62px;padding:10px 14px 10px 16px;border-top:1px solid #f1f1f1;color:var(--ink)}
a.tdy-ckr{color:var(--ink)}
.tdy-ckr .tx{flex:1;min-width:0}
.tdy-ckr .tx b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-ckr .tx span{display:block;margin-top:2px;font-size:12.5px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tdy-ckr .tdy-rev{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:12.5px}
.tdy-ckr .chv{display:grid;flex:none;color:#b5b5b5}
.tdy-es--p{padding:24px 12px 0}
.tdy-es--p .tdy-esi{width:52px;height:52px;border-radius:15px}
.tdy-es--p .tdy-esi svg{width:23px;height:23px}
.tdy-es--p h3{margin-top:16px;font-size:16.5px}
.tdy-es--p p{font-size:13.5px;line-height:1.45}

/* -- sign in (HPSM1): brand panel + one way back in; the loading screen stays plain -- */
.si-load{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px}
.si-load img{height:30px;width:auto}
.si{display:flex;min-height:100vh;min-height:100dvh;background:#fff}
.si-brand{position:relative;flex:0 0 46%;max-width:46%;overflow:hidden;color:#fff}
.si-gf{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.si-gl{position:absolute;border-radius:50%;filter:blur(70px)}
.si-gl1{width:520px;height:520px;left:-180px;top:46%;background:#3b54c9;opacity:.62;animation:si-d1 14s ease-in-out infinite alternate}
.si-gl2{width:460px;height:460px;right:-200px;top:-140px;background:#5674e6;opacity:.42;animation:si-d2 17s ease-in-out infinite alternate}
.si-gl3{width:380px;height:380px;left:34%;top:30%;background:#8a9cf0;opacity:.22;animation:si-d1 19s ease-in-out infinite alternate-reverse}
@keyframes si-d1{to{transform:translate(70px,-60px) scale(1.15)}}
@keyframes si-d2{to{transform:translate(-60px,80px) scale(.9)}}
.si-in{position:relative;z-index:1;min-height:100%;height:100%;padding:40px 56px;display:flex;flex-direction:column}
.si-logo{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;font:600 18px var(--sans);letter-spacing:-.01em}
.si-logo img{width:32px;height:32px;border-radius:9px;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 6px 16px -6px rgba(3,4,9,.7)}
.si-mid{flex:1;display:flex;flex-direction:column;justify-content:center;padding:34px 0 30px}
/* where the canvas has its product illustration (40 + 392 px, and a second line of text): the heading keeps the canvas position */
.si-mid::after{content:"";flex:0 1 456px}
.si-hero{margin:0;max-width:560px;font-size:40px;line-height:1.08;font-weight:600;letter-spacing:-.032em}
.si-heroP{margin:14px 0 0;max-width:470px;font-size:16px;line-height:1.5;color:rgba(255,255,255,.66)}
.si-proof{list-style:none;margin:0;padding:22px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid rgba(255,255,255,.12)}
.si-proof li{display:flex;flex-direction:column;gap:10px;font-size:13px;line-height:1.45;color:rgba(255,255,255,.72)}
.si-proof svg{width:18px;height:18px;color:rgba(255,255,255,.9)}
.si-pane{flex:1 1 0;min-width:0;display:flex;flex-direction:column;padding-top:50px}
.si-center{flex:1;display:flex;align-items:center;justify-content:center;padding:28px 24px}
.si-col{width:400px;max-width:100%}
.si-h1{margin:0;font-size:32px;line-height:1.12;font-weight:600;letter-spacing:-.03em;color:var(--ink)}
.si-sub{margin:10px 0 0;font-size:15px;line-height:1.5;color:#6b6b6b}
.si-pbtn{margin-top:26px;width:100%;height:52px;border:0;border-radius:12px;background:var(--navy);color:#fff;font:600 15.5px var(--sans);display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 12px 24px -14px rgba(20,32,96,.8);transition:transform .14s var(--ease)}
a.si-pbtn{color:#fff}
.si-pbtn:hover{background:#1a2a78}
.si-pbtn:active{transform:scale(.985)}
.si-pbtn svg{width:17px;height:17px}
.si-pbtn:focus-visible{outline-color:#fff;outline-offset:-4px}
.si-note{display:flex;align-items:flex-start;gap:7px;margin:22px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted-2)}
.si-note svg{width:14px;height:14px;flex:none;margin-top:1px}
.si-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:0 48px 28px;font-size:12.5px;color:#9a9a9a}
.si-foot>span:last-child{display:flex;gap:6px 18px}
.si-foot a{color:#9a9a9a}
.si-foot a:hover{color:var(--ink)}
@media (max-width:1023px){
  .si{--si-hero-h:calc(168px + env(safe-area-inset-top,0px));display:block;position:relative;background:var(--premium);overflow:hidden}
  .si-brand{max-width:none;height:var(--si-hero-h);background:none;overflow:visible}
  .si-gf{bottom:-48px}
  .si-gl{filter:blur(50px)}
  .si-gl1{width:300px;height:300px;left:-110px;top:120px}
  .si-gl2{width:280px;height:280px;right:-120px;top:-80px}
  .si-gl3{width:220px;height:220px;left:150px;top:150px}
  .si-in{min-height:0;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 0}
  .si-logo{height:44px;gap:9px;padding-left:4px;font-size:16px}
  .si-logo img{width:28px;height:28px;border-radius:8px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
  .si-mid{flex:none;justify-content:flex-start;padding:12px 8px 0}
  .si-mid::after{display:none}
  .si-hero{font-size:28px;line-height:1.1;letter-spacing:-.03em}
  .si-heroP,.si-proof,.si-foot{display:none}
  .si-pane{position:relative;z-index:4;min-height:calc(100vh - var(--si-hero-h));min-height:calc(100dvh - var(--si-hero-h));background:#fff;color:var(--ink);border-radius:32px 32px 0 0;box-shadow:0 -24px 48px -16px rgba(3,4,9,.55);padding:24px 20px calc(100px + env(safe-area-inset-bottom,0px))}
  .si-center{display:block;padding:0}
  .si-col{width:auto;max-width:480px;margin:0 auto}
  .si-h1{font-size:25px;line-height:1.15;letter-spacing:-.025em}
  .si-sub{margin-top:8px;font-size:14.5px}
  .si-note{margin-top:14px}
  .si-pbtn{position:fixed;left:20px;right:20px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:5;margin:0;width:auto;height:54px;border-radius:14px;font-size:16px}
  .si-pane::after{content:"";position:fixed;left:0;right:0;bottom:0;z-index:4;height:calc(80px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -1px 0 #f0f0f0}
  .si-pane:not(:has(.si-pbtn))::after{display:none}
}
