/* VASHT Toque — time-tracking demo.
   Night surfaces (#0F0E0D) carry the brand moments: hero, phone clock, sidebar, NFC tap.
   Warm paper (#F4F1EB) carries the work: tables, forms, reports. Oxblood → ember is the accent. */
:root {
  --bg: #F4F1EB; --surface: #FFFFFF; --surface-2: #FAF8F4; --ink: #191816; --ink-2: #4A4741; --muted: #7D786E; --line: #E6E0D5; --line-2: #EFEBE3;
  --night: #0F0E0D; --night-2: #171513; --night-3: #221F1C; --nline: rgb(255 255 255 / .08); --ntext: #F3EFE8; --nmuted: #A29B90;
  --ox: #8A3F3A; --ox-2: #6E302C; --ox-soft: #F5E9E6; --ember: #D46A5B; --ember-2: #F0997F;
  --ok: #23905F; --ok-b: #3DD68C; --ok-soft: #E2F3EA; --pause: #C98417; --pause-b: #F2B54A; --pause-soft: #FBF0DB;
  --bad: #C2453B; --bad-soft: #FAE6E3; --tele: #4467B8; --tele-b: #7C9CF0; --tele-soft: #E7EDF9;
  --r: 18px; --r-s: 12px;
  --sh: 0 1px 2px rgb(25 24 22 / .05), 0 10px 30px -14px rgb(25 24 22 / .16);
  --sh-lg: 0 2px 4px rgb(25 24 22 / .04), 0 30px 60px -24px rgb(25 24 22 / .28);
  --e: cubic-bezier(.22, .8, .24, 1);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, svg { display: block; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hide { display: none !important; }
.ic-s { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Atoms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 650; font-size: 14.5px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(25 24 22 / .04); transition: transform .2s var(--e), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:hover { box-shadow: inset 0 0 0 1px #d3ccbf, 0 4px 12px -6px rgb(25 24 22 / .18); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn--pri { background: linear-gradient(180deg, #9A4741, var(--ox)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 24px -12px rgb(138 63 58 / .9); }
.btn--pri:hover { background: linear-gradient(180deg, #8F423C, var(--ox-2)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 14px 28px -12px rgb(138 63 58 / .9); }
.btn--ok { background: linear-gradient(180deg, #2AA56D, var(--ok)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 12px 26px -12px rgb(35 144 95 / .85); }
.btn--ok:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 16px 30px -12px rgb(35 144 95 / .9); }
.btn--warn { background: linear-gradient(180deg, #DB951F, var(--pause)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 12px 26px -12px rgb(201 132 23 / .85); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--light { background: #F3EFE8; color: var(--night); box-shadow: 0 10px 30px -10px rgb(243 239 232 / .35); }
.btn--light:hover { background: #fff; box-shadow: 0 14px 36px -10px rgb(243 239 232 / .45); }
.btn--line { background: rgb(255 255 255 / .04); color: var(--ntext); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.btn--line:hover { background: rgb(255 255 255 / .09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .26); }
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { padding: 16px 24px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip--plain::before { display: none; }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--ok.live::before { animation: blink 1.6s ease-in-out infinite; }
.chip--pause { background: var(--pause-soft); color: #A96C0E; }
.chip--bad { background: var(--bad-soft); color: var(--bad); }
.chip--tele { background: var(--tele-soft); color: var(--tele); }
.chip--ox { background: var(--ox-soft); color: var(--ox); }
.chip--off { background: var(--line-2); color: var(--muted); }
@keyframes blink { 50% { opacity: .25; } }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12.5px; font-weight: 700; flex: none; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .18); }
.k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ox); box-shadow: 0 0 0 4px rgb(138 63 58 / .12); }
.field textarea { resize: vertical; min-height: 84px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); opacity: 0; background: var(--night); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 600; transition: .35s var(--e); pointer-events: none; z-index: 90; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 20px 40px -16px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(255 255 255 / .08); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.demo-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; background: var(--night); color: var(--nmuted); font-size: 12.5px; flex-wrap: wrap; text-align: center; border-bottom: 1px solid var(--nline); position: relative; z-index: 3; }
.demo-bar b { color: #fff; }
.demo-bar b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-b); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 10px var(--ok-b); animation: blink 2s ease-in-out infinite; }
.demo-bar a { color: var(--ntext); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 3px; }
.demo-bar a:hover { text-decoration-color: currentColor; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.brand-mk { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(145deg, #A04B44, var(--ox-2)); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 6px 14px -6px rgb(138 63 58 / .8); flex: none; }
.brand-mk svg { width: 18px; height: auto; }
.brand-mk path { fill: #F2EFE8; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.dark .brand small, .side .brand small, .tap .brand small { color: var(--nmuted); }

/* ======================================================================
   LANDING
   ====================================================================== */
.land { background: var(--bg); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.dark { background: var(--night); color: var(--ntext); position: relative; isolation: isolate; overflow: hidden; }
.dark .muted { color: var(--nmuted); }
.lx-top { position: absolute; inset: 0 0 auto; z-index: 5; }
.lx-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.lx-top nav { display: flex; gap: 26px; font-size: 14px; color: var(--nmuted); font-weight: 550; }
.lx-top nav a:hover { color: var(--ntext); }
.lx-top .btn { padding: 10px 16px; font-size: 13.5px; }
.lx-hero { padding: 140px 0 96px; }
.lx-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 52% at 78% 42%, rgb(212 106 91 / .26), transparent 70%),
    radial-gradient(30% 40% at 12% 8%, rgb(138 63 58 / .35), transparent 70%),
    radial-gradient(40% 40% at 60% 110%, rgb(61 214 140 / .1), transparent 70%); }
.lx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%); }
.lx-hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-size: 13px; color: var(--ntext); font-weight: 550; }
.eyebrow i { white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgb(61 214 140 / .14); color: var(--ok-b); display: inline-flex; align-items: center; gap: 6px; }
.eyebrow i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: blink 1.6s infinite; }
.lx-hero h1 { margin-top: 24px; font-size: clamp(42px, 5.4vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 800; font-stretch: 100%; }
.lx-hero h1 span { white-space: nowrap; }
.lx-hero h1 .grad { background: linear-gradient(100deg, #F6B3A0 0%, var(--ember) 45%, #B9534A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .06em; }
.lx-hero .lead { margin-top: 24px; font-size: 18.5px; line-height: 1.55; color: #C9C2B7; max-width: 50ch; }
.lx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lx-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 13.5px; color: var(--nmuted); }
.lx-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lx-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--ok-b); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* hero stage: phone + NFC tag + floating panel */
.stage { position: relative; height: 600px; }
.dv { position: absolute; left: 50%; top: 50%; width: 288px; height: 588px; transform: translate(-58%, -50%) rotate(-3deg); border-radius: 50px; background: #0B0A09; padding: 11px;
  box-shadow: inset 0 0 0 1.5px #3b3733, inset 0 0 0 5px #141210, 0 50px 100px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .04); transition: transform 1s var(--e); z-index: 2; }
.stage.tapping .dv { transform: translate(-46%, -48%) rotate(4deg); }
.dv-scr { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #F4F1EB; color: var(--ink); padding: 54px 16px 16px; }
.dv-scr::before { content: ""; position: absolute; top: 11px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #0B0A09; z-index: 4; }
.dv-sb { position: absolute; top: 15px; left: 28px; right: 26px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; z-index: 3; }
.dv-h { display: flex; justify-content: space-between; align-items: center; }
.dv-h b { font-size: 17px; display: block; }
.dv-h small { font-size: 11.5px; color: var(--muted); }
.dv-co { font-size: 10.5px; font-weight: 650; padding: 5px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dv-clock { margin-top: 14px; border-radius: 24px; padding: 18px 14px 14px; background: radial-gradient(120% 80% at 50% 0%, var(--glow, rgb(61 214 140 / .28)), transparent 60%), linear-gradient(180deg, #1D1A18, #110F0E); color: #fff; text-align: center; transition: background .6s; }
.dv-ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.dv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dv-ring .bg { fill: none; stroke: rgb(255 255 255 / .08); stroke-width: 9; }
.dv-ring .fg { fill: none; stroke: var(--ring, var(--ok-b)); stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--ring, var(--ok-b))); transition: stroke-dashoffset 1s var(--e), stroke .5s; }
.dv-ring .in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dv-ring .t { font-family: var(--mono); font-size: 25px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dv-ring .l { font-size: 10.5px; color: var(--nmuted); }
.dv-st { display: inline-flex; margin-top: 7px; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgb(61 214 140 / .16); color: var(--ok-b); gap: 5px; align-items: center; }
.dv-st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.dv-bar { display: flex; height: 6px; border-radius: 6px; background: rgb(255 255 255 / .07); margin-top: 14px; overflow: hidden; }
.dv-bar i { display: block; height: 100%; }
.dv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dv-btns span { padding: 11px 6px; border-radius: 12px; font-size: 12.5px; font-weight: 700; text-align: center; }
.dv-nfc { margin-top: 10px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: var(--sh); font-size: 11.5px; }
.dv-nfc .i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ox-soft); color: var(--ox); flex: none; }
.dv-nfc .i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.dv-nfc b { display: block; font-size: 12.5px; }
.dv-nfc span { color: var(--muted); }
.dv-ok { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(80% 50% at 50% 40%, var(--okc, rgb(61 214 140 / .35)), transparent 75%), rgb(15 14 13 / .9); color: #fff; opacity: 0; transition: opacity .35s; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stage.done .dv-ok { opacity: 1; }
.dv-ok .c { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--okb, var(--ok-b)); box-shadow: 0 0 0 10px rgb(255 255 255 / .06), 0 0 50px var(--okb, var(--ok-b)); transform: scale(.6); transition: transform .5s var(--e); }
.stage.done .dv-ok .c { transform: none; }
.dv-ok .c svg { width: 36px; height: 36px; fill: none; stroke: #0F0E0D; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.stage.done .dv-ok .c svg { animation: draw .5s .15s var(--e) forwards; }
.dv-ok b { margin-top: 18px; font-size: 18px; }
.dv-ok .tm { font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.dv-ok small { color: var(--nmuted); font-size: 12px; margin-top: 4px; }
/* the NFC sticker on the "door" */
.tagd { position: absolute; right: 0; top: 46px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: radial-gradient(circle at 35% 30%, #2C2825, #161412 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 2px 0 rgb(255 255 255 / .06), 0 30px 60px -20px rgb(0 0 0 / .7); }
.tagd svg { width: 46px; height: 46px; fill: none; stroke: var(--ember-2); stroke-width: 1.6; stroke-linecap: round; position: relative; z-index: 1; }
.tagd small { position: absolute; bottom: 30px; font-size: 9.5px; letter-spacing: .2em; color: var(--nmuted); font-weight: 700; }
.tagd::before, .tagd::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ember); opacity: 0; animation: ripple 2.6s ease-out infinite; }
.tagd::after { animation-delay: 1.3s; }
.stage.tapping .tagd::before, .stage.tapping .tagd::after { animation-duration: .9s; border-color: var(--ok-b); }
@keyframes ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
/* floating panel */
.flp { position: absolute; left: -8px; bottom: 34px; width: 280px; z-index: 3; border-radius: 20px; padding: 14px; background: rgb(28 25 23 / .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 30px 60px -20px rgb(0 0 0 / .7); color: var(--ntext); }
.flp-h { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--nmuted); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.flp-h span:last-child { color: var(--ok-b); display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; }
.flp-h span:last-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: blink 1.6s infinite; }
.flp-r { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 12.5px; }
.flp-r + .flp-r { border-top: 1px solid var(--nline); }
.flp-r .av { width: 28px; height: 28px; font-size: 10.5px; }
.flp-r small { display: block; font-size: 11px; color: var(--nmuted); font-family: var(--mono); }
.flp-r .s { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; transition: background .4s, color .4s; }
.s-in { background: rgb(61 214 140 / .15); color: var(--ok-b); }
.s-pa { background: rgb(242 181 74 / .15); color: var(--pause-b); }
.s-off { background: rgb(255 255 255 / .07); color: var(--nmuted); }
.flp-r.flash { animation: flash 1.4s var(--e); }
@keyframes flash { 0%, 100% { background: transparent; } 20% { background: rgb(61 214 140 / .12); } }
.flp-r { border-radius: 10px; margin: 0 -6px; padding-left: 6px; padding-right: 6px; }

/* stats strip */
.lx-stats { border-top: 1px solid var(--nline); }
.lx-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.lx-stats .wrap > div { padding: 30px 24px; border-left: 1px solid var(--nline); }
.lx-stats .wrap > div:first-child { border-left: 0; padding-left: 0; }
.lx-stats b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; font-stretch: 108%; line-height: 1; }
.lx-stats b em { font-style: normal; color: var(--ember-2); }
.lx-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--nmuted); }

/* sections */
.lx-sec { padding: 104px 0 0; }
.lx-kick { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ox); display: inline-flex; gap: 10px; align-items: center; }
.lx-kick::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lx-h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; font-stretch: 106%; max-width: 20ch; }
.lx-sub { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.lx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }

/* role cards with mini previews */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rl { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); box-shadow: var(--sh); overflow: hidden; transition: transform .35s var(--e), box-shadow .35s; }
.rl:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.rl-v { height: 210px; position: relative; overflow: hidden; background: var(--night); }
.rl-b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rl-b .k { color: var(--ox); }
.rl-b h3 { font-size: 22px; letter-spacing: -.02em; font-stretch: 104%; }
.rl-b p { color: var(--ink-2); font-size: 14.5px; }
.rl-b .go { margin-top: auto; padding-top: 10px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.rl-b .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--e); }
.rl:hover .go svg { transform: translateX(4px); }
.rl-v.v1 { background: radial-gradient(60% 80% at 50% 110%, rgb(61 214 140 / .3), transparent 70%), var(--night); display: grid; place-items: end center; }
.mini-ph { width: 170px; height: 190px; border-radius: 28px 28px 0 0; background: #F4F1EB; box-shadow: 0 0 0 7px #0B0A09, 0 0 0 8px #3b3733; padding: 18px 14px 0; transform: translateY(14px); }
.mini-ph .ck { width: 52px; height: 52px; border-radius: 50%; margin: 6px auto 8px; background: var(--ok); display: grid; place-items: center; box-shadow: 0 0 24px rgb(35 144 95 / .5); }
.mini-ph .ck svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mini-ph b { display: block; text-align: center; font-size: 13px; }
.mini-ph .tm { text-align: center; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.mini-ph small { display: block; text-align: center; font-size: 10px; color: var(--muted); }
.rl-v.v2 { padding: 22px 20px; background: radial-gradient(60% 70% at 100% 0%, rgb(212 106 91 / .28), transparent 70%), var(--night); }
.gl { display: grid; gap: 9px; }
.gl-r { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: center; }
.gl-r .av { width: 22px; height: 22px; font-size: 8.5px; box-shadow: none; }
.gl-t { height: 14px; border-radius: 7px; background: rgb(255 255 255 / .05); position: relative; }
.gl-t i { position: absolute; top: 2px; bottom: 2px; border-radius: 5px; }
.gl-t i.w { background: linear-gradient(90deg, #2AA56D, var(--ok-b)); }
.gl-t i.p { background: var(--pause-b); }
.gl-now { position: absolute; top: 16px; bottom: 16px; width: 1.5px; background: var(--ember-2); left: 72%; box-shadow: 0 0 8px var(--ember); }
.gl-now::before { content: "AHORA"; position: absolute; top: -4px; left: 6px; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; color: var(--ember-2); }
.rl-v.v3 { display: grid; place-items: center; background: radial-gradient(60% 80% at 0% 100%, rgb(124 156 240 / .26), transparent 70%), var(--night); }
.ins-mini { width: 230px; border-radius: 14px; background: #fff; padding: 14px; box-shadow: 0 30px 50px -20px rgb(0 0 0 / .6); transform: rotate(-2deg); }
.ins-mini .hd { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; color: var(--tele); }
.ins-mini .hd svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ins-mini .ln { height: 7px; border-radius: 4px; background: var(--line-2); margin-top: 8px; }
.ins-mini .ln.s { width: 60%; }
.ins-mini .ln.x { background: linear-gradient(90deg, var(--line-2) 0 100%); position: relative; }
.ins-mini .ln.x::after { content: ""; position: absolute; left: 0; right: 30%; top: 3px; height: 1.5px; background: var(--bad); }
.ins-mini .ft { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bx { border-radius: 24px; background: var(--surface); box-shadow: var(--sh); padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.bx h3 { font-size: 20px; letter-spacing: -.015em; font-stretch: 104%; }
.bx p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; max-width: 46ch; }
.bx .ref { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.bx .vis { margin-top: auto; padding-top: 22px; }
.bx.c2 { grid-column: span 2; } .bx.c3 { grid-column: span 3; } .bx.c4 { grid-column: span 4; }
.bx.nite { background: var(--night); color: var(--ntext); }
.bx.nite p { color: #C2BBB0; }
.bx.nite .ref { color: var(--nmuted); }
/* bento visuals */
.chainv { display: flex; align-items: center; gap: 0; overflow: hidden; }
.chainv .blk { flex: none; width: 112px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-family: var(--mono); font-size: 10.5px; color: var(--nmuted); }
.chainv .blk b { display: block; color: var(--ntext); font-family: "Archivo", sans-serif; font-size: 12px; margin-bottom: 3px; }
.chainv .blk em { font-style: normal; color: var(--ember-2); }
.chainv .lk { flex: none; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--ember) 0 5px, transparent 5px 9px); }
.chainv .blk.ok { box-shadow: inset 0 0 0 1px rgb(61 214 140 / .5); }
.chainv .blk.ok b { color: var(--ok-b); }
.zonev { position: relative; height: 150px; border-radius: 16px; overflow: hidden; background:
  linear-gradient(90deg, transparent 49.6%, rgb(25 24 22 / .06) 49.6% 50.4%, transparent 50.4%) 0 0 / 46px 46px,
  linear-gradient(transparent 49.6%, rgb(25 24 22 / .06) 49.6% 50.4%, transparent 50.4%) 0 0 / 46px 46px, #F1EEE7; }
.zonev .z { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgb(35 144 95 / .12); border: 1.5px dashed rgb(35 144 95 / .6); }
.zonev .pin { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ox); box-shadow: 0 0 0 5px rgb(138 63 58 / .2); }
.zonev .me { position: absolute; left: 61%; top: 36%; padding: 4px 9px; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 700; color: var(--ok); box-shadow: var(--sh); }
.zonev .me.out { left: 8%; top: 70%; color: var(--bad); }
.zonev .nope { position: absolute; right: 12px; bottom: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-decoration: line-through; }
.bio { display: flex; gap: 10px; align-items: center; }
.bio span { flex: 1; height: 86px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.bio span svg { width: 34px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bio span.no::after { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; background: var(--bad); transform: rotate(-35deg); border-radius: 2px; }
.bio span.yes { background: var(--ok-soft); box-shadow: inset 0 0 0 1.5px rgb(35 144 95 / .4); }
.bio span.yes svg { stroke: var(--ok); }
.sealv { display: flex; gap: 16px; align-items: center; }
.sealv .qr { width: 88px; height: 88px; border-radius: 12px; background: #fff; padding: 7px; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); flex: none; }
.sealv .qr svg { width: 100%; height: 100%; }
.sealv .ok { font-size: 13px; color: var(--ok-b); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.sealv .ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sealv code { display: block; margin-top: 6px; font-family: var(--mono); font-size: 18px; letter-spacing: .1em; color: var(--ntext); }
.sealv small { display: block; color: var(--nmuted); font-size: 11.5px; margin-top: 2px; }
.weekv { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.weekv i { flex: 1; border-radius: 7px 7px 3px 3px; background: var(--ox); position: relative; }
.weekv i.x { background: linear-gradient(180deg, var(--pause) 0 var(--xh, 20%), var(--ox) var(--xh, 20%)); }
.weekv i.z { background: var(--line); }
.weekv-l { display: flex; gap: 8px; margin-top: 6px; }
.weekv-l span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); font-weight: 650; }
.clockv { display: flex; align-items: baseline; gap: 12px; }
.clockv .t { font-family: var(--mono); font-size: 44px; font-weight: 600; letter-spacing: -.04em; }
.clockv .t s { color: var(--muted); font-size: 22px; margin-left: 10px; text-decoration-color: var(--bad); }
.clockv small { font-size: 12px; color: var(--muted); }

/* law list */
.lawl { border-radius: 24px; background: var(--surface); box-shadow: var(--sh); overflow: hidden; }
.lawl-r { display: grid; grid-template-columns: 48px 1.2fr 1.6fr .9fr; gap: 20px; align-items: center; padding: 20px 26px; }
.lawl-r + .lawl-r { border-top: 1px solid var(--line-2); }
.lawl-r .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lawl-r h4 { font-size: 16px; letter-spacing: -.01em; }
.lawl-r p { font-size: 14px; color: var(--ink-2); }
.lawl-r .ref { justify-self: end; font-family: var(--mono); font-size: 11.5px; color: var(--ox); background: var(--ox-soft); padding: 5px 10px; border-radius: 8px; text-align: right; }
.lx-note { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 90ch; }

/* NFC steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; position: relative; }
.step { padding: 26px 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh); position: relative; }
.step .no { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; color: #fff; background: linear-gradient(145deg, #A04B44, var(--ox-2)); box-shadow: 0 8px 18px -8px rgb(138 63 58 / .8); }
.step h4 { margin-top: 18px; font-size: 17px; letter-spacing: -.01em; }
.step p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 47px; right: -18px; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, var(--ox) 0 4px, transparent 4px 8px); }

/* final CTA */
.lx-end { margin: 110px 0 0; padding: 90px 0; text-align: center; }
.lx-end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 120%, rgb(212 106 91 / .35), transparent 70%), radial-gradient(30% 50% at 10% 0%, rgb(138 63 58 / .3), transparent 70%); }
.lx-end h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 800; font-stretch: 108%; }
.lx-end p { margin: 16px auto 0; color: #C2BBB0; font-size: 17px; max-width: 54ch; }
.lx-end .lx-cta { justify-content: center; }
.lx-foot { padding: 26px 0 34px; border-top: 1px solid var(--nline); }
.lx-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--nmuted); }
.lx-foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .3); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--e), transform .8s var(--e); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .lx-hero .wrap { grid-template-columns: 1fr; }
  .lx-top nav { display: none; }
  .stage { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bx.c2, .bx.c3, .bx.c4 { grid-column: span 2; }
  .roles, .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .lawl-r { grid-template-columns: 34px 1fr; gap: 6px 14px; }
  .lawl-r p, .lawl-r .ref { grid-column: 2; justify-self: start; text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .lx-hero { padding: 110px 0 60px; }
  .lx-top .btn { display: none; }
  .stage { height: 520px; }
  .dv { width: 252px; height: 516px; transform: translate(-56%, -50%) rotate(-3deg); }
  .stage.tapping .dv { transform: translate(-48%, -48%) rotate(3deg); }
  .dv-ring { width: 128px; height: 128px; }
  .tagd { width: 112px; height: 112px; top: 20px; }
  .tagd small { bottom: 20px; }
  .flp { width: 236px; left: -4px; bottom: -14px; }
  .lx-stats .wrap { grid-template-columns: 1fr 1fr; }
  .lx-stats .wrap > div { border-left: 0; padding: 22px 0; border-top: 1px solid var(--nline); }
  .lx-stats .wrap > div:nth-child(-n+2) { border-top: 0; }
  .lx-stats b { font-size: 30px; }
  .roles, .steps, .bento { grid-template-columns: 1fr; }
  .bx.c2, .bx.c3, .bx.c4 { grid-column: auto; }
  .lx-sec { padding-top: 76px; }
  .lawl-r { padding: 18px; }
}

/* ======================================================================
   EMPLOYEE APP
   ====================================================================== */
.emp-wrap { min-height: 100dvh; display: flex; justify-content: center; align-items: flex-start; }
.phone { width: 100%; max-width: 440px; min-height: 100dvh; background: var(--bg); position: relative; display: flex; flex-direction: column; }
.phone-isl { display: none; }
@media (min-width: 900px) {
  body.emp { background: var(--night); }
  body.emp::before { content: ""; position: fixed; inset: 0; pointer-events: none;
    background: radial-gradient(40% 50% at 70% 50%, rgb(212 106 91 / .22), transparent 70%), radial-gradient(30% 40% at 15% 20%, rgb(138 63 58 / .3), transparent 70%),
      radial-gradient(30% 40% at 40% 100%, rgb(61 214 140 / .1), transparent 70%); }
  body.emp::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); }
  .emp-wrap { padding: 30px 24px; gap: 72px; align-items: center; min-height: calc(100dvh - 37px); position: relative; z-index: 1; }
  .phone { min-height: 0; width: 400px; height: min(840px, calc(100dvh - 90px)); border-radius: 54px; overflow: hidden; transform: translateZ(0);
    box-shadow: 0 0 0 11px #0B0A09, 0 0 0 12.5px #3b3733, 0 0 0 14px #151311, 0 60px 120px -30px rgb(0 0 0 / .85); }
  .phone .scr { overflow-y: auto; padding-top: 52px; scrollbar-width: none; }
  .phone .scr::-webkit-scrollbar { display: none; }
  .phone-isl { display: block; position: absolute; top: 12px; left: 50%; width: 108px; height: 31px; margin-left: -54px; border-radius: 20px; background: #0B0A09; z-index: 50; }
  .phone-sb { display: flex !important; }
  .emp-side { display: block !important; max-width: 380px; color: var(--ntext); }
  .phone .sheet, .phone .dim, .phone .burst, .phone .toast { position: absolute; }
  .phone .toast { bottom: 96px; }
}
.phone-sb { display: none; position: absolute; top: 17px; left: 34px; right: 30px; justify-content: space-between; font-size: 14px; font-weight: 700; z-index: 49; pointer-events: none; }
.phone-sb span:last-child { display: flex; gap: 5px; align-items: center; }
.phone-sb svg { height: 12px; width: auto; fill: currentColor; }
.emp-side { display: none; }
.emp-side .eyebrow { margin-bottom: 4px; }
.emp-side h2 { margin-top: 20px; font-size: 44px; line-height: 1; letter-spacing: -.035em; font-weight: 800; font-stretch: 108%; }
.emp-side h2 em { font-style: normal; background: linear-gradient(100deg, #F6B3A0, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.emp-side p { margin-top: 16px; color: #C2BBB0; font-size: 16px; line-height: 1.55; }
.emp-side ul { margin-top: 22px; display: grid; gap: 12px; list-style: none; font-size: 14.5px; color: #D9D2C7; }
.emp-side li { display: flex; gap: 12px; align-items: flex-start; }
.emp-side li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgb(61 214 140 / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DD68C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.emp-side .lx-cta { margin-top: 28px; }

.scr { flex: 1; padding: max(14px, env(safe-area-inset-top)) 16px 104px; }
.e-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.e-hi h1 { font-size: 24px; letter-spacing: -.02em; font-stretch: 104%; }
.e-hi p { font-size: 13px; color: var(--muted); text-transform: none; }
.e-co { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 650; color: var(--ink-2); padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.e-co i { width: 22px; height: 22px; border-radius: 50%; background: var(--night); color: #fff; font-style: normal; font-size: 9px; font-weight: 800; display: grid; place-items: center; }

/* the night clock card */
.clock { margin-top: 16px; padding: 22px 18px 18px; text-align: center; position: relative; overflow: hidden; border-radius: 28px; color: #fff;
  background: radial-gradient(110% 70% at 50% -10%, var(--glow, rgb(212 106 91 / .22)), transparent 62%), linear-gradient(180deg, #1F1C19, #100E0D);
  box-shadow: 0 24px 50px -24px rgb(15 14 13 / .7), inset 0 0 0 1px rgb(255 255 255 / .06); transition: background .6s; }
.clock::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); }
.clock > * { position: relative; z-index: 1; }
.clock .chip { background: rgb(255 255 255 / .08); color: var(--nmuted); }
.clock .chip--ok { background: rgb(61 214 140 / .16); color: var(--ok-b); }
.clock .chip--ok::before { box-shadow: 0 0 8px currentColor; animation: blink 1.6s infinite; }
.clock .chip--pause { background: rgb(242 181 74 / .16); color: var(--pause-b); }
.clock .chip--tele { background: rgb(124 156 240 / .16); color: var(--tele-b); }
.clock .chip--ox { background: rgb(240 153 127 / .16); color: var(--ember-2); }
.ring { position: relative; width: 216px; height: 216px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .bg { fill: none; stroke: rgb(255 255 255 / .07); stroke-width: 10; }
.ring .tk { fill: none; stroke: rgb(255 255 255 / .16); stroke-width: 2; stroke-dasharray: 1 9.2; }
.ring .fg { fill: none; stroke: var(--ring, var(--ember)); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 7px var(--ring, var(--ember))); transition: stroke-dashoffset 1s var(--e), stroke .5s; }
.ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-in .t { font-family: var(--mono); font-size: 38px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-in .l { font-size: 12px; color: var(--nmuted); margin-top: 1px; }
.ring-in .chip { margin-top: 10px; }
.st-line { margin-top: 12px; font-size: 13.5px; color: #C9C2B7; min-height: 1.4em; }
.dbar { margin-top: 16px; text-align: left; }
.dbar-t { position: relative; height: 10px; border-radius: 6px; background: rgb(255 255 255 / .07); overflow: hidden; }
.dbar-t i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.dbar-t i.w { background: linear-gradient(90deg, #2AA56D, var(--ok-b)); }
.dbar-t i.p { background: var(--pause-b); }
.dbar-t b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ember-2); box-shadow: 0 0 6px var(--ember); border-radius: 2px; }
.dbar-l { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--nmuted); }
.acts { margin-top: 16px; display: grid; gap: 10px; }
.acts.two { grid-template-columns: 1fr 1fr; }
.acts .btn { padding: 16px; font-size: 15.5px; border-radius: 16px; }
.acts .big { padding: 19px; font-size: 17px; }
.clock .acts .btn:not(.btn--ok):not(.btn--warn):not(.btn--pri) { background: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.clock .btn--pri { background: linear-gradient(180deg, #E07A69, #B4534A); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 12px 26px -12px rgb(212 106 91 / .9); }
.loc { margin-top: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.loc-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.loc-h b { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.loc-h b svg { width: 17px; height: 17px; fill: none; stroke: var(--ox); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.loc-h span { font-size: 12px; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 4px; border-radius: 13px; background: var(--line-2); }
.seg button { padding: 8px 4px; border-radius: 10px; font-size: 12px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(25 24 22 / .1), 0 4px 10px -4px rgb(25 24 22 / .15); }
.loc-res { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nfc-card { margin-top: 12px; padding: 14px 14px 14px 16px; display: flex; gap: 14px; align-items: center; color: var(--ntext); border-radius: 20px; position: relative; overflow: hidden;
  background: radial-gradient(80% 140% at 0% 0%, rgb(212 106 91 / .3), transparent 60%), linear-gradient(135deg, #24201D, #141211); box-shadow: 0 16px 36px -18px rgb(15 14 13 / .7); }
.nfc-card .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgb(240 153 127 / .14); flex: none; position: relative; }
.nfc-card .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ember-2); stroke-width: 1.8; stroke-linecap: round; }
.nfc-card .ic::before, .nfc-card .ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ember); opacity: 0; animation: ripple 2.4s ease-out infinite; }
.nfc-card .ic::after { animation-delay: 1.2s; }
.nfc-card b { display: block; font-size: 14.5px; }
.nfc-card span { display: block; font-size: 12px; color: rgb(237 233 225 / .66); margin-top: 1px; }
.nfc-card .btn { margin-left: auto; background: #F3EFE8; color: var(--night); box-shadow: none; }
.sec { margin-top: 22px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.sec-h h2 { font-size: 17px; letter-spacing: -.015em; }
.tl { padding: 4px 16px; }
.tl-i { display: grid; grid-template-columns: 50px 22px 1fr auto; align-items: center; gap: 6px; padding: 12px 0; font-size: 14px; position: relative; }
.tl-i + .tl-i { border-top: 1px solid var(--line-2); }
.tl-i .tm { font-family: var(--mono); font-weight: 600; font-size: 13.5px; }
.tl-i .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ox)); justify-self: center; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--ox)) 16%, transparent); }
.tl-i small { display: block; color: var(--muted); font-size: 12px; }
.tl-i .lb { font-weight: 600; }
.tl-i.void { color: var(--muted); }
.tl-i.void .tm, .tl-i.void .lb { text-decoration: line-through; }
.tl-empty { padding: 22px 0; text-align: center; color: var(--muted); font-size: 14px; }
.wk { padding: 18px 16px 16px; }
.wk-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; margin-top: 4px; position: relative; }
.wk-bars .b { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.wk-bars .b i { display: block; width: 100%; max-width: 30px; border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, #A04B44, var(--ox)); min-height: 3px; transition: height .8s var(--e); }
.wk-bars .b.today i { background: linear-gradient(180deg, var(--ok-b), var(--ok)); box-shadow: 0 6px 16px -6px rgb(35 144 95 / .7); }
.wk-bars .b.zero i { background: var(--line); }
.wk-bars .b span { font-size: 11px; color: var(--muted); font-weight: 650; }
.wk-bars .b.today span { color: var(--ok); }
.wk-goal { position: absolute; left: 0; right: 0; border-top: 1.5px dashed #cfc7b8; pointer-events: none; }
.wk-sum { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); gap: 10px; }
.wk-sum b { color: var(--ink); font-family: var(--mono); }
.day { overflow: hidden; }
.day + .day { margin-top: 10px; }
.day-h { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 16px; text-align: left; align-items: center; }
.day-h b { font-size: 14.5px; }
.day-h .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.day-h .hrs { font-family: var(--mono); font-weight: 600; font-size: 15px; text-align: right; }
.day-h .fl { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.day-b { display: none; padding: 0 16px 10px; border-top: 1px solid var(--line-2); }
.day.open .day-b { display: block; }
.req { padding: 14px 16px; }
.req + .req { margin-top: 10px; }
.req-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.req p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.req .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.prof { padding: 16px; display: grid; gap: 12px; }
.prof-r { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.prof-r span { color: var(--muted); }
.info { font-size: 13.5px; color: var(--ink-2); display: grid; gap: 8px; }
.info b { color: var(--ink); }
.nav { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 24px; background: rgb(255 255 255 / .82); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 12px 30px -12px rgb(25 24 22 / .3), inset 0 0 0 1px rgb(25 24 22 / .06); z-index: 5; margin-bottom: env(safe-area-inset-bottom); }
@media (max-width: 899px) { .nav { position: fixed; max-width: 420px; margin: 0 auto calc(env(safe-area-inset-bottom)); } }
.nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; font-size: 10.5px; font-weight: 650; color: var(--muted); border-radius: 18px; position: relative; transition: color .2s, background .25s; }
.nav button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav button[aria-current="page"] { color: var(--ox); background: var(--ox-soft); }
.nav .badge { position: absolute; top: 3px; right: calc(50% - 22px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }

/* sheets */
.dim { position: fixed; inset: 0; background: rgb(15 14 13 / .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 440px; margin: 0 auto; max-height: 92%; overflow-y: auto; background: var(--surface); border-radius: 28px 28px 0 0; padding: 10px 20px max(20px, env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .45s var(--e); z-index: 41; box-shadow: 0 -20px 50px -20px rgb(0 0 0 / .4); }
.sheet.on { transform: none; }
.sheet.on ~ .dim, .dim.on { opacity: 1; pointer-events: auto; }
.grab { width: 40px; height: 5px; border-radius: 4px; background: var(--line); margin: 0 auto 16px; }
.sheet h3 { font-size: 21px; letter-spacing: -.02em; }
.sheet .sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.sheet form { display: grid; gap: 12px; margin-top: 16px; }
.sheet .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet .acts2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 4px; }
.sheet .err { font-size: 13px; color: var(--bad); min-height: 1.2em; }
.sh-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ox-soft); color: var(--ox); margin-bottom: 14px; }
.sh-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.priv ul { margin: 16px 0 4px; display: grid; gap: 10px; list-style: none; }
.priv li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); padding: 12px; border-radius: 14px; background: var(--surface-2); }
.priv li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-style: normal; }
.priv li i svg { width: 18px; height: 18px; fill: none; stroke: var(--ox); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* punch success burst */
.burst { position: fixed; inset: 0; display: grid; place-items: center; z-index: 60; pointer-events: none; background: radial-gradient(60% 45% at 50% 45%, var(--bglow, rgb(61 214 140 / .3)), transparent 70%), rgb(15 14 13 / .82); opacity: 0; transition: opacity .35s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.burst.on { opacity: 1; }
.burst-in { text-align: center; transform: scale(.85); transition: .5s var(--e); color: #fff; }
.burst.on .burst-in { transform: none; }
.burst .ck { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--bc, var(--ok-b)); color: #0F0E0D; box-shadow: 0 0 0 12px rgb(255 255 255 / .06), 0 0 60px var(--bc, var(--ok-b)); }
.burst .ck svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.burst.on .ck svg { animation: draw .5s .15s var(--e) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.burst b { display: block; font-size: 21px; }
.burst span { display: block; font-family: var(--mono); font-size: 52px; font-weight: 600; letter-spacing: -.04em; margin-top: 2px; }
.burst small { display: block; font-size: 13px; color: var(--nmuted); margin-top: 6px; }

/* ======================================================================
   MANAGER PANEL
   ====================================================================== */
body.mgr { background: var(--bg); }
.mg { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100dvh - 37px); }
.side { position: sticky; top: 0; height: 100dvh; padding: 22px 14px 18px; background: var(--night); color: var(--ntext); display: flex; flex-direction: column; gap: 22px; overflow: hidden; isolation: isolate; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 40% at 0% 0%, rgb(138 63 58 / .4), transparent 70%), radial-gradient(80% 30% at 100% 100%, rgb(212 106 91 / .12), transparent 70%); }
.side .brand { padding: 0 8px; }
.side-clock { margin: 0 4px; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--nline); }
.side-clock .t { font-family: var(--mono); font-size: 28px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.side-clock small { display: flex; gap: 7px; align-items: center; font-size: 11.5px; color: var(--nmuted); margin-top: 2px; }
.side-clock small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok-b); box-shadow: 0 0 8px var(--ok-b); animation: blink 1.6s infinite; }
.side nav { display: grid; gap: 2px; }
.side nav .k { color: rgb(162 155 144 / .7); padding: 0 12px; margin: 6px 0 6px; font-size: 10.5px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; font-size: 14px; font-weight: 550; color: #C9C2B7; transition: background .2s, color .2s; }
.side nav a:hover { background: rgb(255 255 255 / .05); color: #fff; }
.side nav a.on { background: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.side nav a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.side nav a .n { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--ember); color: #fff; border-radius: 9px; padding: 1px 7px; box-shadow: 0 0 12px rgb(212 106 91 / .6); }
.side .who { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .04); }
.side .who small { display: block; color: var(--nmuted); }
.side .who .av { background: linear-gradient(145deg, #A04B44, var(--ox-2)); }
.main { padding: 28px 34px 70px; min-width: 0; }
.mh { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.mh h1 { font-size: 32px; letter-spacing: -.03em; font-stretch: 106%; line-height: 1.05; }
.mh p { color: var(--muted); font-size: 14px; margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.kpis { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.kpi { padding: 18px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 128px; }
.kpi .kh { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .kh i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.kpi .kh i svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi b { font-size: 36px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: auto; font-stretch: 106%; }
.kpi b small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.kpi .sub { font-size: 12.5px; color: var(--muted); }
.kpi.hero { background: var(--night); color: var(--ntext); box-shadow: 0 20px 40px -20px rgb(15 14 13 / .6); }
.kpi.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgb(61 214 140 / .22), transparent 65%); pointer-events: none; }
.kpi.hero > * { position: relative; }
.kpi.hero .kh { color: var(--nmuted); }
.kpi.hero .kh i { background: rgb(61 214 140 / .14); color: var(--ok-b); }
.kpi.hero b small { color: var(--nmuted); }
.kpi.hero .sub { color: var(--nmuted); }
.stack { display: flex; margin-top: 4px; }
.stack .av { width: 28px; height: 28px; font-size: 10px; box-shadow: 0 0 0 2.5px var(--night); }
.stack .av + .av { margin-left: -6px; }
.stack .av.off { color: transparent; }
.stack .av.off { opacity: .3; }
.msec { margin-top: 34px; scroll-margin-top: 20px; }
.msec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.msec-h h2 { font-size: 20px; letter-spacing: -.02em; font-stretch: 104%; display: flex; align-items: center; gap: 10px; }
.msec-h h2 .cnt { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--ox-soft); color: var(--ox); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cols > .msec { margin-top: 34px; }
/* day timeline (gantt) */
.gantt { padding: 6px 0 4px; }
.gt-days { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--line-2); }
.gt-days button { padding: 6px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); transition: background .2s, box-shadow .2s; }
.gt-days button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(25 24 22 / .12); }
.gt-axis, .gt-r { display: grid; grid-template-columns: 230px 1fr 92px; gap: 18px; align-items: center; padding: 0 20px; }
.gt-axis { padding-top: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.gt-axis .hrs { position: relative; height: 16px; }
.gt-axis .hrs span { position: absolute; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.gt-axis .k:last-child { text-align: right; }
.gt-r { padding-top: 11px; padding-bottom: 11px; }
.gt-r + .gt-r { border-top: 1px solid var(--line-2); }
.gt-r .person { display: flex; align-items: center; gap: 11px; min-width: 0; }
.gt-r .person b { font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-r .person small { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 2px; }
.gt-r .person .chip { font-size: 11px; padding: 2px 7px; }
.gt-t { position: relative; height: 30px; border-radius: 9px; background:
  repeating-linear-gradient(90deg, transparent 0 calc(100% / 16 - 1px), var(--line-2) calc(100% / 16 - 1px) calc(100% / 16)), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.gt-t i { position: absolute; top: 5px; bottom: 5px; border-radius: 6px; min-width: 3px; }
.gt-t i.w { background: linear-gradient(180deg, #34B57A, var(--ok)); box-shadow: 0 4px 10px -4px rgb(35 144 95 / .6); }
.gt-t i.w.open { background: linear-gradient(90deg, #34B57A, var(--ok-b)); }
.gt-t i.w.open::after { content: ""; position: absolute; right: -3px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ok-b); box-shadow: 0 0 0 3px rgb(61 214 140 / .3); animation: blink 1.4s infinite; }
.gt-t i.w.tele { background: linear-gradient(180deg, #6C8BDB, var(--tele)); box-shadow: 0 4px 10px -4px rgb(68 103 184 / .6); }
.gt-t i.p { background: repeating-linear-gradient(135deg, var(--pause-b) 0 4px, #E7A43A 4px 8px); }
.gt-t i.p.open { animation: blink 2s infinite; }
.gt-t em { position: absolute; top: -2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2.5px #fff; font-style: normal; }
.gt-t .nfc { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--night); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.gt-t .nfc svg { width: 10px; height: 10px; fill: none; stroke: var(--ember-2); stroke-width: 2.4; stroke-linecap: round; }
.gt-t .lbl { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 12px; font-size: 12px; color: var(--muted); font-weight: 550; }
.gt-now { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ember); border-radius: 2px; z-index: 2; box-shadow: 0 0 8px rgb(212 106 91 / .5); }
.gt-r .hh { font-family: var(--mono); font-weight: 600; font-size: 14px; text-align: right; }
.gt-r .hh small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.gt-leg { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 20px 10px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.gt-leg span { display: inline-flex; gap: 7px; align-items: center; }
.gt-leg i { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .person { display: flex; align-items: center; gap: 10px; }
.tbl .person small { display: block; color: var(--muted); font-size: 12px; }
.tbl-wrap { overflow-x: auto; border-radius: var(--r); }
.tbl s { color: var(--muted); }
.al { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; }
.al + .al { border-top: 1px solid var(--line-2); }
.al .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--bad-soft); color: var(--bad); }
.al .ic.z { background: var(--pause-soft); color: #A96C0E; }
.al .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al b { font-size: 14px; }
.al small { display: block; font-size: 12.5px; color: var(--muted); }
.fx { padding: 18px; display: grid; gap: 12px; }
.fx + .fx { border-top: 1px solid var(--line-2); }
.fx-h { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fx q { font-size: 14px; color: var(--ink-2); quotes: "«" "»"; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--line); }
.fx .cmp { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 14px; flex-wrap: wrap; }
.fx .cmp s { color: var(--muted); }
.fx .cmp b { padding: 3px 10px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); }
.fx .ctl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fx .ctl input { flex: 1; min-width: 180px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; outline: none; }
.fx .ctl input:focus { border-color: var(--ox); }
.fx.past { padding: 14px 18px; gap: 4px; }
.ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pp { padding: 18px; display: grid; gap: 12px; }
.pp-h { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.pp-h > span:first-child { display: flex; gap: 10px; align-items: center; min-width: 0; }
.pp-h small { display: block; color: var(--muted); font-size: 12px; }
.pp-h .pct { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.spark i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--line); min-height: 3px; position: relative; }
.spark i.f { background: linear-gradient(180deg, #A04B44, var(--ox)); }
.spark i.x { background: linear-gradient(180deg, var(--pause-b), var(--pause)); }
.spark i.t { background: linear-gradient(180deg, var(--ok-b), var(--ok)); }
.spark-l { display: flex; gap: 5px; margin-top: -6px; }
.spark-l span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); font-weight: 650; }
.bar { height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--ox), #B4534A); border-radius: 6px; }
.pp .nums { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.pp .nums b { color: var(--ink); font-family: var(--mono); }
.pp .nums .xt b { color: #A96C0E; }
.chain { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.chain .ok { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ok); padding: 5px 12px; border-radius: 99px; background: var(--ok-soft); }
.chain code { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.blocks { display: flex; gap: 0; align-items: center; padding: 18px; overflow-x: auto; border-bottom: 1px solid var(--line-2); background: var(--night); }
.blocks .blk { flex: none; min-width: 150px; padding: 11px 13px; border-radius: 12px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-family: var(--mono); font-size: 10.5px; color: var(--nmuted); }
.blocks .blk b { display: block; color: var(--ntext); font-family: "Archivo", sans-serif; font-size: 12.5px; margin: 2px 0 4px; white-space: nowrap; }
.blocks .blk em { font-style: normal; color: var(--ember-2); }
.blocks .blk:last-child { box-shadow: inset 0 0 0 1px rgb(61 214 140 / .55), 0 0 24px -8px rgb(61 214 140 / .5); }
.blocks .lk { flex: none; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--ember) 0 5px, transparent 5px 9px); }
.au { display: grid; grid-template-columns: 50px 110px 1fr auto; gap: 10px; padding: 10px 18px; font-size: 13px; align-items: center; }
.au + .au { border-top: 1px solid var(--line-2); }
.au .n { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.au .t { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.au code { font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 2px 7px; border-radius: 6px; background: var(--surface-2); }
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.tag { padding: 18px; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; }
.tag-v { position: relative; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2C2825, #141211 70%); display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(255 255 255 / .08); }
.tag-v .qr { width: 62px; height: 62px; background: #fff; border-radius: 9px; padding: 5px; }
.tag-v .qr img, .tag-v .qr svg, .tag-v .qr canvas { width: 100%; height: 100%; }
.tag-v::after { content: "NFC"; position: absolute; bottom: 10px; font-size: 8.5px; letter-spacing: .22em; color: var(--ember-2); font-weight: 800; }
.tag b { font-size: 16px; }
.tag code { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); word-break: break-all; background: var(--surface-2); padding: 7px 9px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-2); }
.tag .row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.insp { padding: 0; display: grid; grid-template-columns: 1fr 1.3fr; overflow: hidden; }
.insp-v { padding: 24px; background: linear-gradient(145deg, #1D2A44, #121A2C); color: #EEF1F7; position: relative; overflow: hidden; }
.insp-v::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgb(124 156 240 / .3), transparent 70%); }
.insp-v > * { position: relative; }
.insp-v svg { width: 34px; height: 34px; fill: none; stroke: var(--tele-b); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.insp-v b { display: block; font-size: 18px; margin-top: 14px; letter-spacing: -.01em; }
.insp-v p { font-size: 13.5px; color: rgb(238 241 247 / .72); margin-top: 6px; }
.insp-b { padding: 24px; display: grid; gap: 14px; align-content: center; }
.insp-b ul { list-style: none; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.insp-b li { display: flex; gap: 8px; }
.insp-b li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.insp .link { display: flex; gap: 8px; flex-wrap: wrap; }
.insp .link input { flex: 1; min-width: 200px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-family: var(--mono); font-size: 12.5px; }
.rep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 0; }
.rp { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); }
.rp .person { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rp .row { display: flex; gap: 6px; }
.rp .btn { padding: 6px 10px; font-size: 12px; }
.rp .btn.sealed { background: var(--ok-soft); color: var(--ok); box-shadow: inset 0 0 0 1px rgb(35 144 95 / .25); }
.mg-top { display: none; }
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(3, 1fr); } .kpi.hero { grid-column: span 3; } .cols { grid-template-columns: 1fr; } .cols > .msec + .msec { margin-top: 0; } }
@media (max-width: 980px) {
  .mg { grid-template-columns: 1fr; }
  .side { display: none; }
  .mg-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--night); color: var(--ntext); position: sticky; top: 0; z-index: 5; }
  .mg-top .brand small { color: var(--nmuted); }
  .main { padding: 20px 14px 50px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi.hero { grid-column: span 2; }
  .gt-axis, .gt-r { grid-template-columns: 1fr 64px; gap: 8px 12px; padding: 0 14px; }
  .gt-r { padding-top: 12px; padding-bottom: 12px; }
  .gt-axis > .k:first-child { display: none; }
  .gt-axis .hrs { grid-column: 1; }
  .gt-r .person { grid-column: 1 / -1; }
  .gt-r .gt-t { grid-column: 1; }
  .gt-axis .hrs span:nth-child(even) { display: none; }
  .gt-axis > .k:last-child { font-size: 9.5px; letter-spacing: .06em; }
  .gt-r .hh small { white-space: nowrap; font-size: 10px; }
  .gt-days { overflow-x: auto; max-width: 100%; }
  .au { grid-template-columns: 40px 1fr; }
  .au .t, .au code { grid-column: 2; justify-self: start; }
  .insp { grid-template-columns: 1fr; }
  .tag { grid-template-columns: 1fr; }
}

/* ---------- Inspector & report ---------- */
.ins { max-width: 1100px; margin: 0 auto; padding: 22px 20px 60px; }
.ins-band { padding: 22px 24px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(145deg, #1D2A44, #121A2C); color: #EEF1F7; border-radius: 22px; position: relative; overflow: hidden; }
.ins-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgb(124 156 240 / .3), transparent 70%); pointer-events: none; }
.ins-band > * { position: relative; }
.ins-band b { font-size: 18px; }
.ins-band small { display: block; color: rgb(238 241 247 / .7); font-size: 13px; margin-top: 3px; }
.ins-band .btn { color: var(--ink); }
.ins-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 18px; padding: 16px; }
.ins-filters .field { min-width: 160px; }
.ins-filters .field input, .ins-filters .field select { padding: 10px 11px; font-size: 14px; }
.rep { max-width: 860px; margin: 0 auto; padding: 22px 20px 60px; }
.rep-bar { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.paper { background: #fff; border-radius: 6px; box-shadow: 0 2px 6px rgb(0 0 0 / .06), 0 30px 60px -24px rgb(0 0 0 / .28); padding: 46px 48px; }
.paper-h { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.paper-h h1 { font-size: 22px; letter-spacing: -.01em; }
.paper-h p { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.paper .meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; font-size: 13px; }
.paper .meta span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.paper .tbl { font-size: 12.5px; }
.paper .tbl th { padding: 8px 8px; font-size: 10px; background: #f6f4ef; }
.paper .tbl td { padding: 7px 8px; }
.paper .tbl tbody tr:hover { background: none; }
.tots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.tots div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.tots b { display: block; font-family: var(--mono); font-size: 17px; color: var(--ink); }
.sign { display: grid; grid-template-columns: 1fr 1fr 170px; gap: 22px; margin-top: 30px; align-items: end; }
.sign .ln { border-top: 1px solid var(--ink-2); padding-top: 6px; font-size: 12px; color: var(--muted); }
.seal { text-align: center; font-size: 10.5px; color: var(--muted); }
.seal .q { width: 112px; height: 112px; margin: 0 auto 6px; }
.seal .q img, .seal .q canvas { width: 100%; height: 100%; }
.seal code { font-family: var(--mono); color: var(--ox); font-weight: 600; font-size: 12px; }
.legal { margin-top: 22px; font-size: 10.5px; color: var(--muted); line-height: 1.5; }
.ld-note { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 90ch; }
@media (max-width: 640px) { .paper { padding: 22px 16px; } .paper .meta, .tots { grid-template-columns: repeat(2, 1fr); } .sign { grid-template-columns: 1fr; } }
@media print {
  body { background: #fff; }
  .no-print, .demo-bar { display: none !important; }
  .rep { padding: 0; max-width: none; }
  .paper { box-shadow: none; padding: 0; }
  @page { size: A4; margin: 14mm; }
}

/* ---------- NFC tap screen ---------- */
body.tapb { background: var(--night); color: var(--ntext); }
.tap { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 22px 30px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.tap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 45% at 50% 40%, var(--tg, rgb(212 106 91 / .28)), transparent 70%); transition: background .8s; }
.tap::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 50% at 50% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 50% at 50% 40%, #000, transparent 80%); }
.tap .brand { position: absolute; top: max(20px, env(safe-area-inset-top)); left: 20px; }
.tap-ic { width: 136px; height: 136px; border-radius: 50%; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 35% 30%, #2C2825, #151311 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 30px 60px -20px rgb(0 0 0 / .7); transition: background .5s, box-shadow .5s; }
.tap-ic svg { width: 58px; height: 58px; fill: none; stroke: var(--ember-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.tap-ic::before, .tap-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ember); opacity: 0; animation: ripple 1.6s ease-out infinite; }
.tap-ic::after { animation-delay: .8s; }
.tap.done .tap-ic { background: var(--tc, var(--ok-b)); box-shadow: 0 0 0 14px rgb(255 255 255 / .05), 0 0 80px var(--tc, var(--ok-b)); }
.tap.done .tap-ic::before, .tap.done .tap-ic::after { display: none; }
.tap.done .tap-ic svg { stroke: #0F0E0D; stroke-width: 2.8; stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw .55s .1s var(--e) forwards; }
.tap h1 { margin-top: 30px; font-size: 28px; letter-spacing: -.02em; font-stretch: 104%; }
.tap .time { font-family: var(--mono); font-size: 72px; font-weight: 600; letter-spacing: -.05em; margin-top: 2px; line-height: 1.05; }
.tap p { color: #C9C2B7; margin-top: 8px; font-size: 15px; max-width: 34ch; }
.tap .meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.tap .meta .chip { background: rgb(255 255 255 / .07); color: #D9D2C7; }
.tap .meta .chip--ok { background: rgb(61 214 140 / .14); color: var(--ok-b); }
.tap .meta .chip--ox { background: rgb(240 153 127 / .14); color: var(--ember-2); }
.tap .acts { width: 100%; max-width: 360px; margin-top: 30px; }
.tap .acts .btn:not(.btn--warn):not(.btn--pri) { background: rgb(255 255 255 / .07); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.tap .acts .btn--pri { background: #F3EFE8; color: var(--night); box-shadow: 0 12px 30px -12px rgb(243 239 232 / .4); }
body.tapb .sheet { color: var(--ink); }

/* ---------- Verify ---------- */
body.vfb { background: radial-gradient(60% 40% at 50% 0%, rgb(35 144 95 / .1), transparent 70%), var(--bg); }
.vf { max-width: 580px; margin: 0 auto; padding: 30px 20px 60px; }
.vf-badge { text-align: center; padding: 34px 20px; }
.vf-badge .ck { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(180deg, #2AA56D, var(--ok)); color: #fff; box-shadow: 0 0 0 10px var(--ok-soft), 0 16px 40px -10px rgb(35 144 95 / .6); }
.vf-badge .ck.bad { background: linear-gradient(180deg, #D85A4F, var(--bad)); box-shadow: 0 0 0 10px var(--bad-soft), 0 16px 40px -10px rgb(194 69 59 / .6); }
.vf-badge .ck svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.vf-badge h1 { font-size: 26px; letter-spacing: -.02em; }
.vf-badge p { color: var(--ink-2); margin-top: 6px; }
.vf-rows { margin-top: 14px; }
.vf-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 18px; font-size: 14px; }
.vf-rows div + div { border-top: 1px solid var(--line-2); }
.vf-rows span { color: var(--muted); }
.vf-rows b { text-align: right; }
.vf-rows code { font-family: var(--mono); font-size: 12px; word-break: break-all; text-align: right; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* ---------- Real NFC: phone pairing + live events ---------- */
.pair { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 24px; align-items: center; position: relative; overflow: hidden; }
.pair::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 90% at 0% 50%, rgb(212 106 91 / .1), transparent 70%); pointer-events: none; }
.pair > * { position: relative; }
.pair-qr { text-align: center; }
.pair-qr .qr { width: 170px; height: 170px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -16px rgb(25 24 22 / .35); margin: 0 auto; }
.pair-qr .qr svg { width: 100%; height: 100%; }
.pair-qr small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.pair-b .k { color: var(--ox); }
.pair-b h3 { margin-top: 6px; font-size: 21px; letter-spacing: -.02em; font-stretch: 104%; }
.pair-b ol { margin-top: 14px; display: grid; gap: 10px; list-style: none; counter-reset: pr; }
.pair-b li { counter-increment: pr; position: relative; padding-left: 38px; min-height: 26px; font-size: 14px; color: var(--ink-2); }
.pair-b li::before { content: counter(pr); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(145deg, #A04B44, var(--ox-2)); }
.pair-b li b { color: var(--ink); }
.pair-f { margin-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.pair-f code { font-family: var(--mono); font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.live-ev { position: fixed; top: 52px; right: 22px; z-index: 95; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--night); color: var(--ntext); min-width: 300px; max-width: calc(100vw - 32px);
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .08); transform: translateY(-14px) scale(.97); opacity: 0; transition: .45s var(--e); }
.live-ev.on { transform: none; opacity: 1; }
.live-ev .i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-b); color: var(--night); flex: none; box-shadow: 0 0 24px rgb(61 214 140 / .55); }
.live-ev.nfc .i { background: radial-gradient(circle at 35% 30%, #2C2825, #141211); color: var(--ember-2); box-shadow: 0 0 0 1.5px var(--ember), 0 0 24px rgb(212 106 91 / .5); }
.live-ev .i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.live-ev small { display: block; font-size: 11px; color: var(--ok-b); font-weight: 700; letter-spacing: .04em; }
.live-ev b { display: block; font-size: 15px; }
.live-ev em { display: block; font-style: normal; font-size: 13px; color: #C9C2B7; }
.gt-r.hl { animation: hl 2.6s var(--e); }
@keyframes hl { 0%, 60% { background: rgb(61 214 140 / .12); } 100% { background: transparent; } }
.side-pair { margin-top: 26px; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.side-pair .qr { width: 92px; height: 92px; flex: none; padding: 7px; border-radius: 12px; background: #fff; }
.side-pair .qr svg { width: 100%; height: 100%; }
.side-pair b { display: block; font-size: 15px; }
.side-pair span { display: block; font-size: 13px; color: #C2BBB0; margin-top: 3px; line-height: 1.45; }
.nfc-wr { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ember-2); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.tap-hint { margin-top: 18px; font-size: 13px; color: var(--nmuted); max-width: 34ch; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } .live-ev { top: 12px; right: 16px; } }

/* ---------- Installed app ---------- */
.inst { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh); position: relative; }
.inst img { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.inst b { display: block; font-size: 14px; }
.inst span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.inst span svg { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; fill: none; stroke: var(--tele); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inst em { font-style: normal; color: var(--tele); font-weight: 650; }
.inst .btn { margin-left: auto; }
.inst-x { position: absolute; top: 2px; right: 8px; font-size: 18px; color: var(--muted); padding: 4px; }
.inst .btn + .inst-x { position: static; }
.is-app .demo-bar { display: none; }
.is-app .phone .scr { padding-top: max(14px, env(safe-area-inset-top)); }
.is-app .mg-top { padding-top: max(12px, env(safe-area-inset-top)); }

/* ---------- Own pickers, selects, scrollbars ---------- */
.btn--dark { background: linear-gradient(180deg, #2A2623, var(--night)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 10px 22px -12px rgb(15 14 13 / .8); }
.btn--dark:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 14px 26px -12px rgb(15 14 13 / .8); }
.field select, .ins-filters select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A3F3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.cal-f { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; text-align: left; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.cal-f svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--ox); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cal-f b { font-weight: 700; text-transform: capitalize; }
.cal-f .ph { color: var(--muted); }
.cal-f .tv { font-family: var(--mono); font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.cal-f.tm .ph { font-family: var(--mono); }
.cal-f:hover { border-color: #d6cec0; }
.cal-f.on { border-color: var(--ox); box-shadow: 0 0 0 4px rgb(138 63 58 / .12); background: var(--surface); }
.ins-filters .cal-f { padding: 9px 11px; font-size: 14px; min-width: 170px; }
.cal-p { padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -20px rgb(25 24 22 / .35); animation: calIn .28s var(--e); }
.cal-p.full { flex-basis: 100%; max-width: 360px; }
@keyframes calIn { from { opacity: 0; transform: translateY(-6px); } }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-h b { font-size: 15.5px; letter-spacing: -.01em; }
.cal-h b span { color: var(--muted); font-weight: 600; }
.cal-n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--ox); background: var(--line-2); transition: background .2s; }
.cal-n:hover { background: var(--ox-soft); }
.cal-n[disabled] { opacity: .3; pointer-events: none; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-w { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); padding: 4px 0 6px; letter-spacing: .06em; }
.cal-w.we { color: var(--ember); }
.cal-d { position: relative; height: 38px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; transition: background .15s, color .15s; }
.cal-d:hover { background: var(--line-2); }
.cal-d.we { color: var(--ink-2); }
.cal-d.today { box-shadow: inset 0 0 0 1.5px var(--ox); color: var(--ox); }
.cal-d.sel { background: linear-gradient(180deg, #9A4741, var(--ox)); color: #fff; box-shadow: 0 6px 14px -6px rgb(138 63 58 / .8); }
.cal-d[disabled] { color: #CFC8BC; pointer-events: none; }
.cal-d[class*="mk-"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.cal-d.mk-ok::after { background: var(--ok); }
.cal-d.mk-bad::after { background: var(--bad); }
.cal-d.sel::after { background: #fff !important; }
.cal-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.cal-lg { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.cal-lg i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.cal-lg i.ok { background: var(--ok); } .cal-lg i.bad { background: var(--bad); margin-left: 8px; }
.cal-today { font-size: 13px; font-weight: 700; color: var(--ox); padding: 6px 12px; border-radius: 9px; background: var(--ox-soft); }
.cal-today[disabled] { opacity: .4; }
.tm-l { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 8px; }
.tm-l + .tm-g + .tm-l { margin-top: 12px; }
.tm-g { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.tm-g button { padding: 9px 0; border-radius: 10px; font-family: var(--mono); font-size: 13.5px; font-weight: 600; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s; }
.tm-g button:hover { background: var(--line-2); }
.tm-g button.sel { background: linear-gradient(180deg, #9A4741, var(--ox)); color: #fff; box-shadow: none; }
html { scrollbar-width: thin; scrollbar-color: #CFC6B7 transparent; }
.side, .dark, body.emp, body.tapb, .blocks { scrollbar-color: #3A3531 transparent; }
@supports not (scrollbar-color: red red) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #D3CABC; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
  ::-webkit-scrollbar-thumb:hover { background-color: var(--ox); }
}
.ins-filters .field { position: relative; }
.cal-p.pop { position: absolute; top: calc(100% + 6px); left: 0; width: 320px; z-index: 30; }
.ins-band .btn--line { color: #fff; }
.ins-band .btn--light { color: var(--night); }
/* report preview matches the PDF */
.paper { padding: 0 0 40px; overflow: hidden; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.paper > :not(.paper-h) { margin-left: 48px; margin-right: 48px; }
.paper-h { background: var(--night); color: #fff; padding: 30px 48px 26px; border-bottom: 3px solid var(--ember); margin-bottom: 26px; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px; }
.paper-h h1 { color: #fff; font-size: 24px; letter-spacing: -.02em; }
.paper-h p { color: var(--nmuted); }
.paper-h .brand-mk { width: 46px; height: 46px; border-radius: 13px; }
.paper-h .brand-mk svg { width: 27px; }
.paper .tbl th { background: var(--night); color: #fff; }
.paper .tbl tbody tr:nth-child(even) { background: var(--surface-2); }
.tots div:nth-child(3) { background: var(--pause-soft); border-color: #F1DDB5; }
.tots div:nth-child(3) b { color: #A96C0E; }
@media (max-width: 640px) { .paper > :not(.paper-h) { margin-left: 16px; margin-right: 16px; } .paper-h { padding: 22px 16px; } }
.paper > .tbl { width: calc(100% - 96px); }
@media (max-width: 640px) { .paper > .tbl { width: calc(100% - 32px); } }
