:root{--bar1:#f2c230;--bar2:#22b3c6;--bar3:#d2489a;--tally:#e23b2e;--tvink:#0f1226;--f-ui:"Plus Jakarta Sans", system-ui, sans-serif;--f-num:"Big Shoulders Display", "Plus Jakarta Sans", sans-serif;--bg:#eceef4;--surf:#fff;--surf2:#f4f5f9;--sunk:#e3e6ef;--ink:#171a33;--muted:#585e80;--line:#d6dae6;--pri:#f2c230;--pri-ink:#171a33;--sel:#3438c4;--sel-soft:#e4e5fb;--ok:#16855a;--warn-soft:#fdf1cc;--bad-soft:#fbe3e0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0b0e20;--surf:#161a33;--surf2:#1d2242;--sunk:#10132a;--ink:#eceef8;--muted:#a0a6c6;--line:#2b3158;--sel:#9ea2ff;--sel-soft:#262b5e;--ok:#4cc38f;--warn-soft:#3a3320;--bad-soft:#40201f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font:15px/1.5 var(--f-ui);margin:0;overflow-x:hidden}button,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--sel);outline-offset:2px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.btn{border:1px solid var(--line);background:var(--surf);color:var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:48px;min-height:44px;padding:0 16px;font-weight:650;text-decoration:none;display:inline-flex}.btn.pri{background:var(--pri);color:var(--pri-ink);border-color:#0000;font-weight:750}.btn.ghost{background:0 0;border-color:#0000}.btn.block{width:100%}.btn[disabled]{opacity:.45;cursor:not-allowed}.field{margin:0 0 14px;display:block}.field>span{margin-bottom:6px;font-size:13.5px;font-weight:650;display:block}.inp{border:1px solid var(--line);background:var(--surf);border-radius:12px;width:100%;height:50px;padding:0 14px;font-size:16px}.h1{letter-spacing:-.02em;margin:0 0 8px;font-size:26px;font-weight:800;line-height:1.15}.muted{color:var(--muted)}.hint{color:var(--muted);font-size:13px}.note{background:var(--warn-soft);border-radius:12px;margin:0 0 14px;padding:10px 12px;font-size:13.5px}.card{background:var(--surf);border:1px solid var(--line);border-radius:16px;padding:14px}.list{background:var(--surf);border:1px solid var(--line);border-radius:16px;overflow:hidden}.li{border:0;border-top:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:12px;width:100%;min-height:44px;padding:14px 16px;display:flex}.li:first-child{border-top:0}.li .t{flex:1;min-width:0}.li .t b{font-weight:650;display:block}.li .t small{color:var(--muted);font-size:13px;display:block}.lg{color:#fff;background:#0e2a47;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:13px;font-weight:800;display:grid}.lg.big{border-radius:14px;width:56px;height:56px;margin-bottom:18px;font-size:18px}.wordmark{letter-spacing:-.01em;align-items:center;gap:9px;font-size:18px;font-weight:800;display:flex}.bars{border-radius:3px;grid-template-columns:repeat(3,6px);height:22px;display:inline-grid;overflow:hidden}.bars i:first-child{background:var(--bar1)}.bars i:nth-child(2){background:var(--bar2)}.bars i:nth-child(3){background:var(--bar3)}.link{color:inherit;cursor:pointer;font-size:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.shell{min-height:100dvh;padding-bottom:72px}.side-top,.side-bottom{display:none}.menu{z-index:5;background:var(--surf);border-top:1px solid var(--line);display:flex;position:fixed;bottom:0;left:0;right:0}.menu a{text-align:center;min-height:56px;color:var(--muted);flex:1;place-items:center;padding:4px;font-size:12px;font-weight:650;text-decoration:none;display:grid}.menu a.cur{color:var(--sel);box-shadow:inset 0 3px 0 var(--sel)}.main{max-width:960px;margin:0 auto;padding:16px 16px 24px}.mhead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.mhead .h1{margin:0}.stack{gap:12px;display:grid}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.btn.sm{height:44px;padding:0 14px;font-size:14px}.btn.bad{background:var(--tally);color:#fff;border-color:#0000}.note.bad{background:var(--bad-soft)}.sec-h{color:var(--muted);margin:20px 0 10px;font-size:13px;font-weight:750}.tvn{min-width:28px;height:28px;font:800 18px var(--f-num);color:#171a33;border-radius:8px;flex:none;place-items:center;display:inline-grid}.tvn.t1{background:var(--bar1)}.tvn.t2{background:var(--bar2)}.tvn.t3{background:var(--bar3)}.avatar{background:var(--sel-soft);width:36px;height:36px;color:var(--sel);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.meter{background:var(--sunk);border-radius:6px;height:10px;display:flex;overflow:hidden}.meter i{flex:1}.codebox{text-align:center;font:800 34px var(--f-num);letter-spacing:.2em;text-transform:uppercase}.choice{border:1.5px solid var(--line);background:var(--surf);cursor:pointer;border-radius:12px;gap:12px;margin-bottom:8px;padding:12px 14px;display:flex}.choice.on{border-color:var(--sel);background:var(--sel-soft)}.choice b{display:block}.choice input{margin-top:4px}@media (width>=1024px){.shell{grid-template-columns:240px 1fr;padding-bottom:0;display:grid}.side{background:var(--surf);border-right:1px solid var(--line);flex-direction:column;gap:20px;height:100dvh;padding:24px 16px;display:flex;position:sticky;top:0}.side-top,.side-bottom{display:block}.side-org{margin-top:18px}.side-org b,.side-org small{display:block}.side-org small{color:var(--muted)}.menu{background:0 0;border:0;gap:4px;display:grid;position:static}.menu a{border-radius:10px;place-items:center start;padding:0 12px;font-size:15px;box-shadow:none!important}.menu a.cur{background:var(--sel-soft)}.side-bottom{margin-top:auto}.side-bottom .btn{margin-bottom:14px}.side-user{font-size:14px;font-weight:650}.main{width:100%;padding:32px}}.auth-page{flex-direction:column;max-width:440px;min-height:100dvh;margin:0 auto;padding:24px 20px;display:flex}.auth-body{margin:56px 0 24px}.or{color:var(--muted);align-items:center;gap:12px;margin:22px 0;font-size:13px;display:flex}.or:before,.or:after{content:"";background:var(--line);flex:1;height:1px}.checks{gap:8px;margin:0;padding:0;font-size:14.5px;list-style:none;display:grid}.checks li:before{content:"✓ ";color:var(--ok);font-weight:800}.dropzone{border:1.5px dashed var(--line);background:var(--surf);text-align:center;border-radius:16px;justify-items:center;gap:4px;margin-bottom:16px;padding:22px 16px;display:grid}.prog{background:var(--sunk);border-radius:6px;height:8px;margin-top:10px;overflow:hidden}.prog i{background:var(--sel);height:100%;display:block}.remote{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.rpad{padding:0 16px}.ctl{flex-direction:column;flex:1;gap:10px;padding-top:6px;display:flex}.rhead{align-items:center;gap:10px;padding:6px 16px 0;display:flex}.rhead-l{flex:1;min-width:0}.room-sw{text-align:left;cursor:pointer;background:0 0;border:0;width:100%;min-height:44px;padding:0}.room-sw b{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;font-size:18px;font-weight:800;display:flex;overflow:hidden}.room-sw small{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:flex}.dot{background:var(--ok);border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.dot.off{background:var(--tally)}.timer{font:700 24px/1 var(--f-num);letter-spacing:.02em;background:var(--sunk);border-radius:10px;padding:6px 10px}.seg{background:var(--sunk);border-radius:12px;gap:4px;padding:4px;display:flex}.seg button{min-width:0;min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;font-size:14px;font-weight:650}.seg button[aria-pressed=true]{background:var(--surf);color:var(--ink);box-shadow:0 1px 3px #0f12262e}.tvbar{align-items:center;gap:8px;padding:0 16px;display:flex}.tvchip{border:1.5px solid var(--line);background:var(--surf);cursor:pointer;text-align:left;border-radius:12px;flex:1;align-items:center;gap:8px;min-width:0;min-height:48px;padding:6px 8px;display:flex}.tvchip .tvn{width:32px;height:32px;font-size:22px}.tvchip>span:nth-child(2){white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12.5px;line-height:1.2;overflow:hidden}.tvchip b{text-overflow:ellipsis;font-size:13.5px;display:block;overflow:hidden}.tvchip.on{border-color:var(--sel);background:var(--sel-soft)}.tally{background:var(--tally);width:9px;height:9px;box-shadow:0 0 0 3px color-mix(in srgb, var(--tally) 25%, transparent);border-radius:50%;flex:none;margin-left:auto}.rnote{margin:0 16px}.nowline{align-items:center;gap:10px;display:flex}.pgbtn{cursor:pointer;background:0 0;border:0;flex:none;min-height:44px;padding:0}.pg b{font:800 44px/.9 var(--f-num);letter-spacing:.01em}.pg small{font:700 24px var(--f-num);color:var(--muted)}.deckname{flex:1;min-width:0;font-size:13.5px}.deckname b{white-space:nowrap;text-overflow:ellipsis;font-size:14.5px;display:block;overflow:hidden}.deckname span{display:block}.rbottom{margin-top:auto}.tools{grid-auto-columns:1fr;grid-auto-flow:column;gap:8px;padding:0 16px;display:grid}.sheet .tools{padding:0}.tool{text-align:center;border:1px solid var(--line);background:var(--surf);cursor:pointer;min-width:0;min-height:68px;color:var(--ink);overflow-wrap:anywhere;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px;font-size:12.5px;font-weight:650;line-height:1.2;display:flex}.tool.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.tool.bad{color:var(--tally)}.tool[disabled],.navbtn[disabled],.tvchip[disabled],.seg button[disabled],.switch[disabled],.li[disabled],.pgcell[disabled],.pgbtn[disabled]{opacity:.45;cursor:not-allowed}.thumbzone{grid-template-columns:1fr 2fr;gap:10px;padding:10px 16px 22px;display:grid}svg.i{stroke:currentColor;fill:none;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px}.navbtn svg.i{stroke-width:2.4px;width:28px;height:28px}.navbtn{border:1px solid var(--line);background:var(--surf);cursor:pointer;height:108px;color:var(--ink);border-radius:22px;justify-content:center;align-items:center;gap:8px;font-size:17px;font-weight:750;display:flex}.navbtn.next{background:var(--pri);color:var(--pri-ink);border-color:#0000;font-size:20px}.banner{background:var(--tally);color:#fff;border-radius:14px;align-items:center;gap:10px;margin:0 16px;padding:12px 14px;display:flex}.banner b{display:block}.banner .btn{color:#171a33;background:#fff;border:0}.sheet-wrap{z-index:10;background:#080a1980;flex-direction:column;justify-content:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:26px 26px 0 0;flex-direction:column;gap:12px;width:100%;max-width:560px;max-height:88dvh;margin:0 auto;padding:10px 16px 24px;display:flex;overflow-y:auto}.sheet:before{content:"";background:var(--line);border-radius:9px;flex:none;align-self:center;width:44px;height:5px}.sheet-h{justify-content:space-between;align-items:center;gap:8px;display:flex}.h2{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:750}.switch{background:var(--line);cursor:pointer;border:0;border-radius:99px;flex:none;width:50px;height:30px;padding:0;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #00000040}.switch.on{background:var(--ok)}.switch.on:after{left:23px}.tag{background:var(--sunk);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:2px 8px;font-size:12px;font-weight:700;display:inline-flex}.tag.ok{color:var(--ok)}.pages{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;display:grid}.pgcell{border:2px solid var(--line);background:var(--surf);min-height:52px;font:700 20px var(--f-num);color:var(--ink);cursor:pointer;border-radius:10px;place-items:center;display:grid;position:relative}.pgcell.cur{border-color:var(--pri)}.pgcell.skip{opacity:.45}.pgcell .tag{font:700 10px var(--f-ui);padding:1px 5px}.pgcell .pgtitle{font:500 10px var(--f-ui);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0 4px;overflow:hidden}.notes{background:var(--sunk);-webkit-line-clamp:2;border-radius:10px;-webkit-box-orient:vertical;margin:0 16px 8px;padding:7px 10px;font-size:12.5px;line-height:1.4;display:-webkit-box;overflow:hidden}.notes b{margin-right:4px}.field-l{margin-bottom:6px;font-size:13.5px;font-weight:650;display:block}.toast{z-index:20;background:var(--ink);max-width:420px;color:var(--bg);text-align:center;border-radius:12px;margin:0 auto;padding:12px 14px;font-weight:650;position:fixed;bottom:150px;left:16px;right:16px}.card.ai{gap:12px;margin-bottom:16px;display:grid}.prompt{background:var(--sunk);white-space:pre-wrap;border-radius:14px;max-height:460px;padding:14px 16px;font-size:13.5px;line-height:1.55;overflow:auto}.prompt mark{background:var(--sel-soft);color:var(--sel);border-radius:5px;padding:1px 4px;font-weight:700}.steps{gap:10px;margin:12px 0 0;padding-left:22px;font-size:14px;line-height:1.45;display:grid}
