/* Upper Scout — protótipo de UX (não é implementação)
   Layout: página de revisão (abas) em volta de um celular de 390px; o app dentro do celular tem tema claro fixo,
   pensado para iluminação de pavilhão. A página em volta segue o tema do visitante. */

:root{
  --pg-bg:#E8ECF1; --pg-panel:#FFFFFF; --pg-fg:#0E1A2B; --pg-muted:#556072; --pg-line:#D3DAE2;
  --pg-accent:#1E47D6; --pg-accent-soft:#E4EAFF; --pg-code:#F1F4F8;
  --pg-shadow:0 1px 2px rgba(14,26,43,.06),0 10px 30px rgba(14,26,43,.07);
  --f-ui:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --bezel:#0A0F16;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --pg-bg:#0A1018; --pg-panel:#121A25; --pg-fg:#E6EBF2; --pg-muted:#9DA9B9; --pg-line:#243143;
  --pg-accent:#8FAAFF; --pg-accent-soft:#1B2745; --pg-code:#18212E; --pg-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);
  --bezel:#000000; color-scheme:dark}}
:root[data-theme="dark"]{
  --pg-bg:#0A1018; --pg-panel:#121A25; --pg-fg:#E6EBF2; --pg-muted:#9DA9B9; --pg-line:#243143;
  --pg-accent:#8FAAFF; --pg-accent-soft:#1B2745; --pg-code:#18212E; --pg-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);
  --bezel:#000000; color-scheme:dark}

*{box-sizing:border-box}
body{background:var(--pg-bg);color:var(--pg-fg);font-family:var(--f-ui);font-size:15px;line-height:1.5;margin:0}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--pg-accent);outline-offset:2px}
.mono{font-family:var(--f-mono);font-feature-settings:"zero" 0}
.tnum{font-variant-numeric:tabular-nums}

/* ---------- page chrome ---------- */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--pg-panel);border-bottom:1px solid var(--pg-line)}
.top-in{max-width:1440px;margin:0 auto;padding:10px 16px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.brand{display:flex;gap:10px;align-items:center;min-width:0}
.brand-mark{width:32px;height:32px;border-radius:9px;background:#0E1A2B;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;letter-spacing:.02em;flex:none}
.brand b{font-size:16px;display:block;line-height:1.1}
.brand small{color:var(--pg-muted);font-size:12px;display:block}
.tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin-left:auto;max-width:100%}
.tabs::-webkit-scrollbar{display:none}
.tab{border:0;background:none;padding:8px 12px;border-radius:8px;font-size:14px;font-weight:500;color:var(--pg-muted);cursor:pointer;white-space:nowrap}
.tab:hover{background:var(--pg-code);color:var(--pg-fg)}
.tab[aria-selected="true"]{background:var(--pg-accent-soft);color:var(--pg-accent);font-weight:600}
.view{max-width:1440px;margin:0 auto;padding-inline:16px;padding-block:20px 48px}
.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--pg-muted);font-weight:600}
h1,h2,h3{text-wrap:balance;margin:0}
.doc h2{font-size:26px;line-height:1.2;letter-spacing:-.01em}
.doc h3{font-size:18px;margin-top:4px}
.doc p,.doc li{max-width:72ch}
.doc{display:flex;flex-direction:column;gap:28px}
.doc section{display:flex;flex-direction:column;gap:12px}
.lead{font-size:17px;color:var(--pg-muted);max-width:70ch}
.panel{background:var(--pg-panel);border:1px solid var(--pg-line);border-radius:14px;padding:16px;min-width:0}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
table.t{border-collapse:collapse;width:100%;font-size:14px}
.t th,.t td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--pg-line);vertical-align:top}
.t th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--pg-muted);font-weight:600}
.t td.n{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--f-mono)}
.t tfoot td{font-weight:700;border-bottom:0}
.scroll-x{overflow-x:auto}
.kbd{font-family:var(--f-mono);font-size:12px;background:var(--pg-code);border:1px solid var(--pg-line);border-radius:6px;padding:1px 6px}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:99px;background:var(--pg-code);border:1px solid var(--pg-line);color:var(--pg-muted)}

/* ---------- prototype layout ---------- */
.proto{display:grid;grid-template-columns:230px 430px minmax(0,1fr);gap:24px;align-items:start}
.side{position:sticky;top:76px;display:flex;flex-direction:column;gap:14px;min-width:0}
.side h4{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--pg-muted)}
.nav-list{display:flex;flex-direction:column;gap:2px}
.nav-list .grp{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--pg-muted);margin:10px 0 4px;font-weight:600}
.nav-list button{border:0;background:none;text-align:left;padding:6px 8px;border-radius:7px;font-size:13.5px;cursor:pointer;display:flex;gap:8px;align-items:baseline;color:var(--pg-fg)}
.nav-list button:hover{background:var(--pg-panel)}
.nav-list button[aria-current="true"]{background:var(--pg-panel);box-shadow:inset 0 0 0 1px var(--pg-line);font-weight:600}
.nav-list .num{font-family:var(--f-mono);font-size:11px;color:var(--pg-muted);width:22px;flex:none}
.stage{display:flex;flex-direction:column;align-items:center;gap:10px}
.phone{width:414px;height:min(868px,calc(100vh - 110px));min-height:640px;background:var(--bezel);border-radius:58px;padding:12px;box-shadow:0 30px 60px rgba(10,15,22,.25),0 0 0 1px rgba(255,255,255,.06) inset;position:relative}
.stage-caption{font-size:12px;color:var(--pg-muted);text-align:center}
.notes{display:flex;flex-direction:column;gap:14px}
.notes .panel h3{font-size:17px;margin-bottom:6px}
.notes ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.notes li{font-size:14px}
.ctrl{display:flex;flex-wrap:wrap;gap:6px}
.ctrl button{border:1px solid var(--pg-line);background:var(--pg-panel);padding:7px 11px;border-radius:9px;font-size:13px;cursor:pointer}
.ctrl button:hover{border-color:var(--pg-accent)}
.ctrl button[aria-pressed="true"]{background:var(--pg-accent);border-color:var(--pg-accent);color:#fff}
:root[data-theme="dark"] .ctrl button[aria-pressed="true"]{color:#0A1018}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .ctrl button[aria-pressed="true"]{color:#0A1018}}
.scen{display:flex;flex-direction:column;gap:8px}
.scen button{text-align:left;border:1px solid var(--pg-line);background:var(--pg-panel);border-radius:10px;padding:10px 12px;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.scen button:hover{border-color:var(--pg-accent)}
.scen b{font-size:14px}
.scen span{font-size:12.5px;color:var(--pg-muted)}
.meter{display:flex;gap:18px;align-items:baseline}
.meter b{font-size:28px;font-family:var(--f-mono);font-weight:600;letter-spacing:-.02em}
.meter span{font-size:12px;color:var(--pg-muted);display:block}
.mobile-hint{display:none}

@media (max-width:1180px){
  .proto{grid-template-columns:430px minmax(0,1fr)}
  .side-map{display:none}
  .mobile-hint{display:block}
}
@media (max-width:760px){
  .proto{grid-template-columns:minmax(0,1fr)}
  .side{position:static}
  .phone{width:100%;max-width:414px;height:min(820px,calc(100dvh - 130px));min-height:560px;border-radius:44px;padding:8px}
}
@media (max-width:460px){
  .top-in{flex-wrap:nowrap;gap:10px;padding:8px 12px}
  .brand small{display:none}
  .brand b{font-size:14px}
  .brand-mark{width:28px;height:28px;font-size:12px}
  .tabs{min-width:0;flex:1}
  .tab{padding:7px 9px;font-size:13.5px}
  .phone .statusbar{display:none}
  .phone .event,.phone .hdr,.phone .cap-h{padding-top:10px}
  .view.v-proto{padding-inline:0;padding-top:0}
  .v-proto .notes{padding-inline:16px}
  .phone{max-width:none;border-radius:0;padding:0;height:calc(100dvh - 50px);min-height:520px;box-shadow:none;background:none}
  .phone .app{border-radius:0}
  .phone .island{display:none}
}

/* ---------- gallery ---------- */
.gal-group{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:20px}
.gal-item{display:flex;flex-direction:column;gap:8px;min-width:0}
.gal-frame{width:236px;height:510px;border-radius:30px;background:var(--bezel);padding:6px;position:relative;cursor:pointer;border:0;max-width:100%}
.gal-frame:hover{outline:2px solid var(--pg-accent);outline-offset:3px}
.gal-clip{width:224px;height:498px;border-radius:25px;overflow:hidden;position:relative}
.gal-clip .app{width:390px;height:867px;transform:scale(.5744);transform-origin:0 0;pointer-events:none;border-radius:0}
.gal-cap b{font-size:14px;display:block}
.gal-cap span{font-size:12.5px;color:var(--pg-muted)}

/* ---------- flow diagram ---------- */
.flow{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.fstep{background:var(--pg-panel);border:1px solid var(--pg-line);border-radius:12px;padding:10px 12px;min-width:118px;flex:1 1 118px;display:flex;flex-direction:column;gap:2px}
.fstep b{font-size:14px}
.fstep small{font-size:12px;color:var(--pg-muted)}
.fstep .taps{font-family:var(--f-mono);font-size:12px;color:var(--pg-accent);font-weight:600}
.fstep.key{border-color:var(--pg-accent);box-shadow:inset 0 0 0 1px var(--pg-accent)}
.farrow{align-self:center;color:var(--pg-muted);font-size:18px}
.branch{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.branch .panel{display:flex;flex-direction:column;gap:6px}
.svgwrap{overflow-x:auto}
.svgwrap svg{min-width:760px;width:100%;height:auto;display:block}
.erd text{font-family:var(--f-ui);fill:var(--pg-fg)}
.erd .sub{fill:var(--pg-muted);font-size:11px}
.erd .box{fill:var(--pg-panel);stroke:var(--pg-line);stroke-width:1.2}
.erd .box.core{stroke:var(--pg-accent);stroke-width:1.6}
.erd .ln{stroke:var(--pg-muted);stroke-width:1.2;fill:none}
.erd .card{font-family:var(--f-mono);font-size:10.5px;fill:var(--pg-accent)}

/* ---------- desktop analysis mock ---------- */
.desk{border:1px solid var(--pg-line);border-radius:14px;overflow:hidden;background:var(--pg-panel)}
.desk-scroll{overflow-x:auto}
.desk-in{display:grid;grid-template-columns:210px 1fr;min-width:1180px;min-height:640px}
.desk-side{border-right:1px solid var(--pg-line);padding:16px;display:flex;flex-direction:column;gap:4px;background:var(--pg-code)}
.desk-side a{padding:7px 10px;border-radius:8px;font-size:14px;color:var(--pg-fg);text-decoration:none}
.desk-side a.on{background:var(--pg-panel);font-weight:600;box-shadow:inset 0 0 0 1px var(--pg-line)}
.desk-main{padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.desk-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.kan{display:grid;grid-template-columns:repeat(9,minmax(150px,1fr));gap:10px}
.kcol{background:var(--pg-code);border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:8px}
.kcol h5{margin:0;font-size:12px;display:flex;justify-content:space-between;color:var(--pg-muted);text-transform:uppercase;letter-spacing:.05em}
.kcard{background:var(--pg-panel);border:1px solid var(--pg-line);border-radius:8px;padding:8px;font-size:12.5px;display:flex;flex-direction:column;gap:4px}
.kcard b{font-size:13px;line-height:1.25}
.kcard small{color:var(--pg-muted)}
.gdot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;font-size:11px;font-weight:700;color:#fff}
.gdot.A{background:#C8430C}.gdot.B{background:#B07A00}.gdot.C{background:#4F6D8A}.gdot.D{background:#6B7280}

/* =========================================================
   APP (tema claro fixo — o que Bruno e Elisa veem)
   ========================================================= */
.app{
  --a-bg:#F2F4F7; --a-surface:#FFFFFF; --a-ink:#0E1A2B; --a-ink2:#354152; --a-muted:#5F6B7B; --a-line:#E1E5EA; --a-line2:#CDD3DB;
  --a-accent:#1E47D6; --a-accent-soft:#E8EDFF; --a-accent-ink:#FFFFFF;
  --gA:#C8430C; --gA-soft:#FFEADF; --gB:#B07A00; --gB-soft:#FFF3D2; --gC:#4F6D8A; --gC-soft:#E4ECF4; --gD:#6B7280; --gD-soft:#ECEEF1;
  --ok:#0F7B55; --ok-soft:#E1F4EB; --warn:#9A5B00; --warn-soft:#FFF1D9; --rec:#D92D20; --pd:#6D3FC0; --pd-soft:#F1EBFC;
  width:100%;height:100%;border-radius:46px;overflow:hidden;background:var(--a-bg);color:var(--a-ink);position:relative;
  font-family:var(--f-ui);font-size:16px;line-height:1.4;display:flex;flex-direction:column;color-scheme:light;
  -webkit-tap-highlight-color:transparent;user-select:none
}
.app *{box-sizing:border-box}
.app input,.app textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
label.btn{cursor:pointer}
.ph.camshot{width:78%;height:62%;border-radius:18px}
.ph.camshot.prod{width:62%;height:56%}
.island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:120px;height:34px;background:#000;border-radius:20px;z-index:50}
.statusbar{height:50px;flex:none;display:flex;justify-content:space-between;align-items:flex-end;padding:0 30px 6px;font-size:15px;font-weight:600;background:var(--sb-bg,transparent);color:var(--sb-fg,var(--a-ink));position:relative;z-index:5}
.statusbar .sb-r{display:flex;gap:6px;align-items:center}
.viewport{flex:1;position:relative;overflow:hidden}
.scr{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--a-bg)}
.scr.enter{animation:scrIn .22s ease-out}
@keyframes scrIn{from{opacity:.4;transform:translateX(18px)}to{opacity:1;transform:none}}
.scr.dark{background:#0B0F14;color:#fff}
.body{flex:1;overflow-y:auto;overflow-x:hidden;padding:4px 16px 20px;display:flex;flex-direction:column;gap:14px;scrollbar-width:none}
.body::-webkit-scrollbar{display:none}
.body>*{flex-shrink:0}
.foot{flex:none;padding:12px 16px 26px;background:var(--a-surface);border-top:1px solid var(--a-line);display:flex;flex-direction:column;gap:8px}
.foot.clear{background:transparent;border-top:0}
.hdr{flex:none;display:flex;align-items:center;gap:8px;padding:6px 12px 10px;min-height:52px}
.hdr h1{font-size:20px;font-weight:700;flex:1;letter-spacing:-.01em;min-width:0}
.hdr .sub{font-size:13px;color:var(--a-muted);font-weight:500}
.ibtn{width:44px;height:44px;border-radius:12px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;flex:none;color:inherit}
.ibtn:hover{background:rgba(14,26,43,.06)}
.ibtn svg{width:24px;height:24px}
.app .i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* buttons */
.btn{height:56px;border-radius:16px;border:0;font-size:17px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;width:100%;padding:0 18px;transition:transform .08s}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--a-accent);color:var(--a-accent-ink)}
.btn.dark{background:var(--a-ink);color:#fff}
.btn.soft{background:var(--a-accent-soft);color:var(--a-accent)}
.btn.line{background:var(--a-surface);color:var(--a-ink);box-shadow:inset 0 0 0 1.5px var(--a-line2)}
.btn.ghost{background:transparent;color:var(--a-ink2);height:44px;font-size:15px;font-weight:600}
.btn.xl{height:72px;font-size:19px;border-radius:20px}
.btn[disabled]{background:var(--a-line);color:var(--a-muted);cursor:default}
.btn .i{width:22px;height:22px}
.row{display:flex;gap:8px;align-items:center}
.row.wrap{flex-wrap:wrap}
.split{display:grid;grid-template-columns:1fr 1fr;gap:8px}

/* cards */
.card{background:var(--a-surface);border-radius:18px;padding:14px 16px;border:1px solid var(--a-line)}
.card.flat{border:0}
.card h3{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--a-muted);font-weight:650;margin:0 0 8px}
.sec-t{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--a-muted);font-weight:650;display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.sec-t a,.sec-t button{font-size:14px;text-transform:none;letter-spacing:0;color:var(--a-accent);font-weight:600;background:none;border:0;cursor:pointer;padding:6px 0}
.q{font-size:22px;font-weight:700;letter-spacing:-.015em;line-height:1.2}
.hint{font-size:14px;color:var(--a-muted)}
.muted{color:var(--a-muted)}
.sm{font-size:13px}

/* chips */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips.g2{display:grid;grid-template-columns:1fr 1fr}
.chips.g2 .chip:last-child:nth-child(odd){grid-column:1/-1}
.chip{min-height:48px;border-radius:14px;border:0;box-shadow:inset 0 0 0 1.5px var(--a-line2);background:var(--a-surface);font-size:15.5px;font-weight:600;padding:8px 14px;cursor:pointer;display:flex;align-items:center;gap:8px;text-align:left;color:var(--a-ink);line-height:1.2}
.chip.on{background:var(--a-ink);color:#fff;box-shadow:none}
.chip .ck{width:20px;height:20px;border-radius:6px;box-shadow:inset 0 0 0 1.5px var(--a-line2);display:grid;place-items:center;flex:none}
.chip.on .ck{background:#fff;color:var(--a-ink);box-shadow:none}
.chip .ck svg{width:14px;height:14px;stroke-width:3}
.chip.sm{min-height:36px;font-size:14px;border-radius:10px;padding:6px 11px}
.chip .ai{margin-left:auto}
.ai-dot{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:700;letter-spacing:.04em;color:var(--pd);background:var(--pd-soft);padding:2px 6px;border-radius:6px}
.chip.on .ai-dot{background:rgba(255,255,255,.18);color:#fff}
.hscroll{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
.hscroll::-webkit-scrollbar{display:none}
.hscroll .chip{flex:none}

/* grade */
.gb{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;padding:3px 9px 3px 7px;border-radius:8px;white-space:nowrap}
.gb.A{background:var(--gA-soft);color:var(--gA)}.gb.B{background:var(--gB-soft);color:var(--gB)}.gb.C{background:var(--gC-soft);color:var(--gC)}.gb.D{background:var(--gD-soft);color:var(--gD)}
.gb .i{width:15px;height:15px}
.grades{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.gt{border:0;border-radius:18px;background:var(--a-surface);box-shadow:inset 0 0 0 1.5px var(--a-line2);height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;position:relative;padding:6px 4px;color:var(--a-ink)}
.gt .L{font-size:30px;font-weight:750;line-height:1;display:flex;align-items:center;gap:2px}
.gt .L .i{width:22px;height:22px}
.gt small{font-size:12.5px;font-weight:600;line-height:1.15;text-align:center;color:var(--a-ink2)}
.gt.A .L{color:var(--gA)}.gt.B .L{color:var(--gB)}.gt.C .L{color:var(--gC)}.gt.D .L{color:var(--gD)}
.gt.on{box-shadow:none;color:#fff}
.gt.on .L,.gt.on small{color:#fff}
.gt.A.on{background:var(--gA)}.gt.B.on{background:var(--gB)}.gt.C.on{background:var(--gC)}.gt.D.on{background:var(--gD)}
.gt .sug{position:absolute;top:-8px;left:50%;transform:translateX(-50%);white-space:nowrap}

/* tab bar */
.tabbar{flex:none;height:88px;background:var(--a-surface);border-top:1px solid var(--a-line);display:grid;grid-template-columns:repeat(5,1fr);align-items:start;padding:6px 6px 0}
.tb{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11.5px;font-weight:600;color:var(--a-muted);cursor:pointer;padding:6px 0;position:relative}
.tb .i{width:25px;height:25px}
.tb.on{color:var(--a-accent)}
.tb .bdg{position:absolute;top:2px;right:calc(50% - 22px);background:var(--gA);color:#fff;font-size:10.5px;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.tb.plus{margin-top:-22px}
.tb.plus .fab{width:64px;height:64px;border-radius:22px;background:var(--a-accent);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(30,71,214,.35)}
.tb.plus .fab .i{width:30px;height:30px;stroke-width:2.4}
.tb.plus{color:var(--a-accent)}

/* sync pill */
.sync{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:99px;border:0;cursor:pointer;white-space:nowrap}
.sync.ok{background:var(--ok-soft);color:var(--ok)}
.sync.ing{background:var(--a-accent-soft);color:var(--a-accent)}
.sync.off{background:var(--warn-soft);color:var(--warn)}
.sync .dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.sync .spin{width:12px;height:12px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* home */
.event{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:6px 16px 8px;flex:none}
.event .ev-n{font-size:13px;font-weight:650;color:var(--a-muted);letter-spacing:.06em;text-transform:uppercase}
.event h1{font-size:26px;letter-spacing:-.02em;font-weight:750;margin-top:2px}
.rec-cta{background:var(--a-accent);color:#fff;border:0;border-radius:24px;padding:18px;display:flex;align-items:center;gap:14px;cursor:pointer;text-align:left;width:100%;box-shadow:0 10px 24px rgba(30,71,214,.28)}
.rec-cta .pl{width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.rec-cta .pl .i{width:30px;height:30px;stroke-width:2.4}
.rec-cta b{font-size:21px;display:block;letter-spacing:-.01em}
.rec-cta span{font-size:13.5px;opacity:.85}
.people{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.person{display:flex;align-items:center;gap:10px}
.av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;flex:none}
.av.bruno{background:#2F4B7C}.av.elisa{background:#8A4F7D}
.app .av,.app .person .av{color:#fff}
.av.s{width:24px;height:24px;font-size:10px}
.person b{font-size:24px;font-family:var(--f-mono);font-weight:600;display:block;line-height:1}
.person span{font-size:13px;color:var(--a-muted)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kpi{background:var(--a-surface);border:1px solid var(--a-line);border-radius:16px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;cursor:pointer;text-align:left;min-height:76px}
.kpi b{font-size:24px;font-family:var(--f-mono);font-weight:600;line-height:1.1}
.kpi span{font-size:12.5px;color:var(--a-ink2);font-weight:600;display:flex;align-items:center;gap:5px}
.kpi span .i{width:15px;height:15px}
.kpi.hot b{color:var(--gA)}
.todo{display:flex;align-items:center;gap:12px;background:var(--warn-soft);border-radius:16px;padding:12px 14px;border:0;cursor:pointer;text-align:left;width:100%;color:var(--a-ink)}
.todo .i{color:var(--warn)}
.todo b{font-size:15px;display:block}
.todo span{font-size:13px;color:var(--a-ink2)}

/* list items */
.li{display:flex;gap:12px;align-items:center;background:var(--a-surface);border:1px solid var(--a-line);border-radius:18px;padding:10px;cursor:pointer;text-align:left;width:100%;color:var(--a-ink)}
.li .txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.li .t1{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .t2{font-size:13.5px;color:var(--a-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .t3{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.tag{font-size:12px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--a-bg);color:var(--a-ink2);white-space:nowrap}
.tag.u{background:var(--a-accent-soft);color:var(--a-accent)}
.tag.pd{background:var(--pd-soft);color:var(--pd)}
.cc{font-family:var(--f-mono);font-size:11.5px;font-weight:600;padding:1px 5px;border-radius:5px;box-shadow:inset 0 0 0 1px var(--a-line2);color:var(--a-ink2)}
.meta{font-size:12.5px;color:var(--a-muted);display:flex;gap:6px;align-items:center}

/* photo placeholders */
.ph{border-radius:14px;display:grid;place-items:center;flex:none;overflow:hidden;position:relative;color:rgba(255,255,255,.92)}
.ph svg{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ph.s{width:64px;height:64px;border-radius:12px}
.ph.m{width:96px;height:96px}
.ph::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 20% 10%,rgba(255,255,255,.22),transparent 55%)}
.hue-olive{background:linear-gradient(145deg,#6E7B3A,#39421B)}
.hue-biscuit{background:linear-gradient(145deg,#C99A5B,#8A5A2B)}
.hue-oat{background:linear-gradient(145deg,#B7A98A,#6F6147)}
.hue-oil{background:linear-gradient(145deg,#9AA23A,#4E5A12)}
.hue-berry{background:linear-gradient(145deg,#C2415E,#6E1B33)}
.hue-cheese{background:linear-gradient(145deg,#D9B64A,#8C6A12)}
.hue-wine{background:linear-gradient(145deg,#7B2338,#3A0E1A)}
.hue-truffle{background:linear-gradient(145deg,#5B4A3E,#2A211B)}
.hue-nut{background:linear-gradient(145deg,#B07A45,#5E3B1C)}
.hue-sauce{background:linear-gradient(145deg,#B5462B,#5E1E10)}
.hue-pastry{background:linear-gradient(145deg,#D98FB0,#8C4A6C)}
.hue-grain{background:linear-gradient(145deg,#C48A3C,#6B4516)}
.hue-stand{background:linear-gradient(145deg,#3F5876,#1B2838)}

/* capture header */
.cap-h{flex:none;padding:4px 8px 10px;display:flex;flex-direction:column;gap:8px}
.cap-h .row{justify-content:space-between}
.cap-h .ttl{font-size:15px;font-weight:650;text-align:center;flex:1}
.cap-h .ttl small{display:block;font-size:12.5px;color:var(--a-muted);font-weight:600}
.steps{display:grid;grid-template-columns:repeat(var(--n,5),1fr);gap:4px;padding:0 10px}
.steps i{height:4px;border-radius:2px;background:var(--a-line)}
.steps i.done{background:var(--a-ink)}
.steps i.cur{background:var(--a-accent)}
.dark .steps i{background:rgba(255,255,255,.2)}
.dark .steps i.done{background:#fff}
.dark .steps i.cur{background:#7C9BFF}
.dark .cap-h .ttl small{color:rgba(255,255,255,.65)}
.skip{border:0;background:none;font-size:15px;font-weight:600;color:var(--a-accent);cursor:pointer;padding:0 10px;height:44px}
.dark .skip{color:#AFC3FF}

/* camera */
.cam{flex:1;position:relative;margin:0 10px;border-radius:26px;overflow:hidden;background:radial-gradient(90% 70% at 30% 20%,#40506A,#141B26 70%)}
.cam .scene{position:absolute;inset:0;display:grid;place-items:center}
.cam .guide{position:absolute;left:8%;right:8%;top:24%;aspect-ratio:1.75;border-radius:14px}
.cam .guide b{position:absolute;width:28px;height:28px;border-color:#fff;border-style:solid}
.cam .guide b:nth-child(1){top:-2px;left:-2px;border-width:3px 0 0 3px;border-radius:12px 0 0 0}
.cam .guide b:nth-child(2){top:-2px;right:-2px;border-width:3px 3px 0 0;border-radius:0 12px 0 0}
.cam .guide b:nth-child(3){bottom:-2px;left:-2px;border-width:0 0 3px 3px;border-radius:0 0 0 12px}
.cam .guide b:nth-child(4){bottom:-2px;right:-2px;border-width:0 3px 3px 0;border-radius:0 0 12px 0}
.bcard{position:absolute;inset:6%;background:#FBFAF7;border-radius:8px;color:#1b1b1b;padding:12px 14px;transform:rotate(-2.5deg);box-shadow:0 12px 30px rgba(0,0,0,.45);display:flex;flex-direction:column;justify-content:space-between;font-family:Georgia,"Times New Roman",serif}
.bcard .co{font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.bcard .co small{display:block;font-size:9px;letter-spacing:.2em;font-weight:400;color:#6b5b3e}
.bcard .pe{font-size:12px;line-height:1.35}
.bcard .pe b{font-size:13px}
.bcard .ct{font-family:var(--f-ui);font-size:8.5px;line-height:1.45;color:#444}
.bcard.durand{background:#1F2A44;color:#F3E9D2}
.bcard.durand .co small{color:#D8C49A}
.bcard.durand .ct{color:#E8DCC0}
.cam .tip{position:absolute;left:0;right:0;bottom:18px;text-align:center;font-size:14px;font-weight:600;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.cam .demo-sw{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:8px}
.demo-tag{background:rgba(0,0,0,.5);color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:99px;font-size:12px;font-weight:600;padding:6px 10px;cursor:pointer}
.scanline{position:absolute;left:4%;right:4%;height:3px;background:#7C9BFF;box-shadow:0 0 18px 4px rgba(124,155,255,.7);top:10%;animation:scan 1.1s ease-in-out infinite alternate}
@keyframes scan{to{top:88%}}
.flash{position:absolute;inset:0;background:#fff;animation:flash .35s ease-out forwards;pointer-events:none}
@keyframes flash{from{opacity:.9}to{opacity:0}}
.cam-ctl{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:16px 18px 26px;gap:8px}
.shutter{width:80px;height:80px;border-radius:50%;border:0;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.3);cursor:pointer;display:grid;place-items:center}
.shutter i{width:66px;height:66px;border-radius:50%;box-shadow:inset 0 0 0 2px #0B0F14;display:block}
.shutter:active{transform:scale(.94)}
.cam-side{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:14px;min-height:48px;padding:6px 12px;font-size:13.5px;font-weight:600;cursor:pointer;line-height:1.2;display:flex;align-items:center;gap:6px;justify-self:start}
.cam-side.r{justify-self:end}
.cam-side.pri{background:#fff;color:#0B0F14}
.seg{display:inline-flex;background:rgba(255,255,255,.12);border-radius:12px;padding:3px;gap:2px}
.seg button{border:0;background:none;color:rgba(255,255,255,.8);font-size:14px;font-weight:650;padding:8px 14px;border-radius:9px;cursor:pointer}
.seg button.on{background:#fff;color:#0B0F14}
.thumbs{display:flex;gap:6px;padding:0 16px 4px;height:56px;align-items:center;overflow-x:auto}
.thumbs .ph{width:48px;height:48px;border-radius:10px}
.thumbs .ph svg{stroke-width:2}
.thumbs .ph.new{animation:pop .3s ease-out}
@keyframes pop{from{transform:scale(.4);opacity:0}}
.lseg{display:flex;background:var(--a-line);border-radius:12px;padding:3px;gap:2px}
.lseg button{flex:1;border:0;background:none;font-size:14px;font-weight:650;padding:9px 6px;border-radius:9px;cursor:pointer;color:var(--a-ink2)}
.lseg button.on{background:var(--a-surface);color:var(--a-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}

/* OCR fields */
.fld{display:grid;grid-template-columns:92px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--a-line);cursor:pointer}
.fld:last-child{border-bottom:0}
.fld .k{font-size:13px;color:var(--a-muted);font-weight:600}
.fld .v{font-size:15.5px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.fld .v.empty{color:var(--a-muted);font-weight:500}
.fld.low .v{color:var(--warn)}
.fld.in{animation:fin .35s ease-out both}
@keyframes fin{from{opacity:0;transform:translateY(4px)}}
.conf{font-size:11px;font-weight:700;color:var(--warn);background:var(--warn-soft);padding:2px 6px;border-radius:6px}
.edit-i{color:var(--a-muted)}

/* audio */
.mic-wrap{display:flex;flex-direction:column;align-items:center;gap:14px;padding:6px 0 4px}
.mic{width:148px;height:148px;border-radius:50%;border:0;background:var(--a-accent);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 14px 30px rgba(30,71,214,.35),0 0 0 12px var(--a-accent-soft)}
.mic .i{width:58px;height:58px;stroke-width:1.7}
.mic.rec{background:var(--rec);box-shadow:0 0 0 12px rgba(217,45,32,.14);animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{box-shadow:0 0 0 22px rgba(217,45,32,.08)}}
.mic.rec .sq{width:40px;height:40px;border-radius:10px;background:#fff}
.mic-lbl{font-size:17px;font-weight:750;letter-spacing:.02em;text-transform:uppercase;text-align:center}
.timer{font-family:var(--f-mono);font-size:30px;font-weight:600;display:flex;align-items:center;gap:10px}
.timer .rd{width:11px;height:11px;border-radius:50%;background:var(--rec);animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:.2}}
.wave{display:flex;gap:3px;align-items:center;height:42px}
.wave i{width:4px;border-radius:2px;background:var(--rec);animation:wv .9s ease-in-out infinite alternate}
@keyframes wv{from{height:6px}to{height:38px}}
.transcript{font-size:15px;line-height:1.5;color:var(--a-ink2);background:var(--a-surface);border-radius:16px;padding:12px 14px;border:1px solid var(--a-line);min-height:92px}
.transcript .caret{display:inline-block;width:2px;height:16px;background:var(--a-accent);vertical-align:-3px;animation:blink 1s steps(2) infinite}
.proc{display:flex;flex-direction:column;gap:10px}
.proc div{display:flex;gap:10px;align-items:center;font-size:15.5px;font-weight:600;color:var(--a-muted)}
.proc div.done{color:var(--a-ink)}
.proc .b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 2px var(--a-line2)}
.proc div.done .b{background:var(--ok);box-shadow:none;color:#fff}
.proc div.run .b{box-shadow:none;border:2.5px solid var(--a-accent);border-right-color:transparent;animation:spin .8s linear infinite}
.proc .b svg{width:14px;height:14px;stroke-width:3}
.suggest{display:flex;flex-wrap:wrap;gap:6px}
.suggest span{font-size:13px;font-weight:600;background:var(--a-surface);border:1px solid var(--a-line);border-radius:99px;padding:5px 10px;color:var(--a-ink2)}

/* AI result */
.ai-h{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--pd);letter-spacing:.05em;text-transform:uppercase}
.kv{display:flex;flex-direction:column}
.kv .fld{grid-template-columns:124px 1fr auto}
.pdcard{background:var(--pd-soft);border:1px solid #E1D5F7;border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.pdcard .q{font-size:20px;color:#2E1A55}
.pd-sug{background:var(--a-surface);border-radius:12px;padding:10px 12px;font-size:14.5px;color:var(--a-ink2)}
.btn.pd{background:var(--pd);color:#fff}
.more{border:0;background:none;color:var(--a-accent);font-weight:600;font-size:14.5px;padding:8px 0;cursor:pointer;text-align:left}
.play{display:flex;gap:10px;align-items:center;font-size:13.5px;color:var(--a-ink2);font-weight:600}
.play .pb{width:34px;height:34px;border-radius:50%;background:var(--a-ink);color:#fff;display:grid;place-items:center}
.play .pb .i{width:16px;height:16px;fill:#fff;stroke:none}
.bar{height:6px;border-radius:3px;background:var(--a-line);flex:1;position:relative;overflow:hidden}
.bar i{position:absolute;left:0;top:0;bottom:0;background:var(--a-ink2);border-radius:3px}
.banner{display:flex;gap:10px;align-items:flex-start;border-radius:14px;padding:10px 12px;font-size:14px}
.banner.warn{background:var(--warn-soft);color:#5B3700}
.banner.info{background:var(--a-accent-soft);color:#1A2F7A}
.banner.ok{background:var(--ok-soft);color:#0B4F37}
.banner .i{margin-top:1px}

/* revisit panel */
.rv{background:var(--a-surface);border-radius:18px;border:1.5px solid var(--a-ink);padding:14px;display:flex;flex-direction:column;gap:12px}
.lbl{font-size:13px;font-weight:650;color:var(--a-muted)}
.toggle-row{display:flex;align-items:center;gap:12px;background:var(--a-surface);border-radius:16px;border:0;box-shadow:inset 0 0 0 1.5px var(--a-line2);padding:12px 14px;cursor:pointer;width:100%;text-align:left;color:var(--a-ink);min-height:60px}
.toggle-row b{font-size:16px;display:block}
.toggle-row span{font-size:13px;color:var(--a-muted)}
.sw{width:50px;height:30px;border-radius:15px;background:var(--a-line2);position:relative;flex:none;margin-left:auto;transition:background .15s}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .15s}
.sw.on{background:var(--ok)}
.sw.on::after{left:23px}
.loc{display:flex;align-items:center;gap:8px;font-family:var(--f-mono);font-size:15px;font-weight:600}

/* saved */
.done-ic{width:96px;height:96px;border-radius:50%;background:var(--ok);display:grid;place-items:center;color:#fff;margin:10px auto 0;animation:pop .4s ease-out}
.done-ic .i{width:50px;height:50px;stroke-width:2.6}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stats div{background:var(--a-surface);border:1px solid var(--a-line);border-radius:14px;padding:10px;text-align:center}
.stats b{font-family:var(--f-mono);font-size:22px;display:block}
.stats span{font-size:12px;color:var(--a-muted);font-weight:600}
.checkl{display:flex;flex-direction:column;gap:8px}
.checkl div{display:flex;gap:10px;align-items:center;font-size:15px}
.checkl .i{color:var(--ok)}

/* supplier */
.hero{height:210px;flex:none;position:relative;display:flex;align-items:flex-end;padding:16px;color:#fff}
.hero .bgglyph{position:absolute;right:-10px;top:10px;width:190px;height:190px;opacity:.28;fill:none;stroke:#fff;stroke-width:1.2}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 30%,rgba(0,0,0,.55))}
.hero>*{position:relative}
.hero h1{font-size:25px;line-height:1.15;letter-spacing:-.015em}
.hero .hm{font-size:14px;opacity:.92;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}
.hero .cc{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.hero-top{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;z-index:2}
.hero-top .ibtn{background:rgba(0,0,0,.35);color:#fff;border-radius:50%}
.contact-act{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.contact-act button{border:0;background:var(--a-surface);border-radius:16px;box-shadow:inset 0 0 0 1px var(--a-line);height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:650;cursor:pointer;color:var(--a-ink)}
.stabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--a-line);margin:0 -16px;padding:0 12px;flex:none}
.stabs::-webkit-scrollbar{display:none}
.stabs button{border:0;background:none;padding:12px 10px;font-size:15px;font-weight:650;color:var(--a-muted);cursor:pointer;border-bottom:2.5px solid transparent;white-space:nowrap}
.stabs button.on{color:var(--a-ink);border-bottom-color:var(--a-ink)}
.fu{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--a-line)}
.fu:last-child{border-bottom:0}
.fu .txt{flex:1;min-width:0}
.fu b{font-size:15px;display:block}
.fu span{font-size:13px;color:var(--a-muted)}
.st{font-size:12px;font-weight:700;padding:3px 8px;border-radius:7px;white-space:nowrap}
.st.pend{background:var(--warn-soft);color:var(--warn)}
.st.ok{background:var(--ok-soft);color:var(--ok)}
.st.new{background:var(--a-accent-soft);color:var(--a-accent)}
.tl{display:flex;flex-direction:column;gap:0}
.tl-i{display:grid;grid-template-columns:28px 1fr;gap:10px;padding-bottom:16px;position:relative}
.tl-i::before{content:"";position:absolute;left:13px;top:30px;bottom:0;width:2px;background:var(--a-line)}
.tl-i:last-child::before{display:none}
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.pgrid .ph{width:100%;aspect-ratio:1;height:auto;border-radius:12px}
.empty-f{color:var(--a-muted);font-weight:500;font-style:normal}

/* opps */
.search{display:flex;align-items:center;gap:8px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:14px;height:48px;padding:0 12px;flex:none}
.search input{border:0;outline:0;background:none;font:inherit;font-size:16px;flex:1;min-width:0;color:var(--a-ink)}
.search .i{color:var(--a-muted)}
.fbtn{position:relative}
.fbtn .n{position:absolute;top:-4px;right:-4px;background:var(--a-accent);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center}
.icons{display:flex;gap:4px}
.icons .ic{width:24px;height:24px;border-radius:7px;background:var(--a-bg);display:grid;place-items:center;color:var(--a-ink2)}
.icons .ic .i{width:14px;height:14px}
.icons .ic.pd{background:var(--pd-soft);color:var(--pd)}

/* revisit screen */
.hallh{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;font-weight:750;margin-top:4px}
.hallh span{font-size:13px;color:var(--a-muted);font-weight:600}
.rvc{background:var(--a-surface);border-radius:18px;border:1px solid var(--a-line);padding:14px;display:flex;flex-direction:column;gap:10px}
.rvc.hi{border-color:var(--gA);box-shadow:inset 4px 0 0 var(--gA)}
.rvc .rtop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.rvc .co{font-size:17px;font-weight:750}
.rvc .std{font-family:var(--f-mono);font-size:22px;font-weight:600;letter-spacing:-.02em}
.rvc .why{font-size:15px}
.rvc .why b{font-weight:650}
.prio{font-size:12px;font-weight:700;padding:3px 8px;border-radius:7px;white-space:nowrap}
.prio.alta{background:var(--gA-soft);color:var(--gA)}
.prio.media{background:var(--gB-soft);color:var(--gB)}
.prio.baixa{background:var(--gD-soft);color:var(--gD)}
.rvc .btns{display:grid;grid-template-columns:1fr auto;gap:8px}
.rvc .btn{height:48px;font-size:15px;border-radius:14px}

/* day */
.big{font-family:var(--f-mono);font-size:54px;font-weight:600;letter-spacing:-.04em;line-height:1}
.stack{display:flex;height:14px;border-radius:7px;overflow:hidden;gap:2px}
.stack i{display:block;height:100%}
.leg{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;font-weight:600;color:var(--a-ink2)}
.leg span{display:flex;gap:5px;align-items:center}
.leg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.mgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mg{background:var(--a-surface);border:1px solid var(--a-line);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.mg b{font-family:var(--f-mono);font-size:26px;font-weight:600;line-height:1.1}
.mg span{font-size:13px;color:var(--a-ink2);font-weight:600}
.topop{display:flex;gap:12px;background:var(--a-surface);border:1px solid var(--a-line);border-radius:18px;padding:10px;cursor:pointer;width:100%;text-align:left;color:var(--a-ink)}
.topop .rk{font-family:var(--f-mono);font-size:13px;color:var(--a-muted);font-weight:600;width:16px;flex:none;padding-top:4px}

/* sheets / toast */
.scrim{position:absolute;inset:0;background:rgba(10,15,22,.45);z-index:30;animation:fade .2s}
@keyframes fade{from{opacity:0}}
.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--a-surface);border-radius:26px 26px 0 0;z-index:31;padding:8px 16px 26px;display:flex;flex-direction:column;gap:12px;max-height:88%;overflow-y:auto;animation:up .25s ease-out;scrollbar-width:none}
@keyframes up{from{transform:translateY(40%);opacity:.5}}
.sheet .grab{width:40px;height:5px;border-radius:3px;background:var(--a-line2);margin:2px auto 4px}
.sheet h2{font-size:21px;letter-spacing:-.01em}
.dup-cmp{display:grid;grid-template-columns:1fr;gap:8px}
.dup-box{border-radius:14px;padding:12px;border:1px solid var(--a-line);display:flex;gap:10px;align-items:center}
.dup-box.ex{background:var(--a-bg)}
.toast{position:absolute;left:12px;right:12px;top:8px;z-index:40;background:#0E1A2B;color:#fff;border-radius:16px;padding:12px 14px;font-size:14.5px;font-weight:600;display:flex;gap:10px;align-items:center;animation:tin .25s ease-out;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.toast .i{flex:none}
@keyframes tin{from{transform:translateY(-12px);opacity:0}}
.input{height:52px;border-radius:14px;border:0;box-shadow:inset 0 0 0 1.5px var(--a-line2);padding:0 14px;font:inherit;font-size:17px;width:100%;background:var(--a-surface);color:var(--a-ink)}
.input:focus{outline:0;box-shadow:inset 0 0 0 2px var(--a-accent)}
.sugg{display:flex;flex-direction:column;background:var(--a-surface);border-radius:16px;border:1px solid var(--a-line);overflow:hidden}
.sugg button{border:0;background:none;border-bottom:1px solid var(--a-line);padding:12px 14px;text-align:left;cursor:pointer;display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--a-ink);font-size:15.5px;font-weight:600}
.sugg button:last-child{border-bottom:0}
.sugg small{font-family:var(--f-mono);font-size:12.5px;color:var(--a-muted);font-weight:500;white-space:nowrap}
.big-opt{display:flex;gap:14px;align-items:center;background:var(--a-surface);border-radius:18px;border:0;box-shadow:inset 0 0 0 1.5px var(--a-line2);padding:16px;cursor:pointer;text-align:left;color:var(--a-ink);width:100%}
.big-opt .ico{width:52px;height:52px;border-radius:16px;background:var(--a-accent-soft);color:var(--a-accent);display:grid;place-items:center;flex:none}
.big-opt .ico .i{width:26px;height:26px}
.big-opt b{font-size:17px;display:block}
.big-opt span{font-size:13.5px;color:var(--a-muted)}
.login{flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:40px 22px 30px;background:linear-gradient(170deg,#0E1A2B 0%,#1B2F52 60%,#1E47D6 140%);color:#fff}
.login .mk{width:64px;height:64px;border-radius:18px;background:#fff;color:#0E1A2B;display:grid;place-items:center;font-weight:800;font-size:22px}
.login h1{font-size:36px;letter-spacing:-.025em;margin-top:22px}
.login p{font-size:16px;opacity:.8;margin:8px 0 0;max-width:30ch}
.login .btn.line{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3)}
.qitem{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--a-line)}
.qitem:last-child{border-bottom:0}
.qitem .txt{flex:1;min-width:0}
.qitem b{font-size:15px;display:block}
.qitem span{font-size:13px;color:var(--a-muted)}

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