/* ILAI web client -- light theme: blue top bar, grey page, white cards (see RESTYLE_PLAN.md). Colours are estimates; tune the tokens here only. */
:root{--bar:#0079B0;--bg:#EBECEE;--panel:#fff;--line:#D9DCDF;--text:#17323F;--muted:#6B7176;--accent:#0079B0;--bad:#C62828;--ok:#1E7B4B;--track:#E1E3E5;--chart-light:#68B1D1;--chart-dark:#034B6B}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 "Mulish","Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
#app{min-height:100dvh;display:flex;flex-direction:column}
h1{margin:0 0 .25rem;font-size:1.75rem;font-weight:600}h2{margin:0 0 .75rem;font-size:1.25rem;font-weight:600}
.sub{color:var(--muted);margin:.25rem 0 1rem}
.center{flex:1;display:flex;align-items:center;justify-content:center;padding:1rem}
.card{background:var(--panel);border-radius:16px;padding:1rem 1.1rem;margin-bottom:1rem}
.narrow{width:100%;max-width:380px}
form{display:flex;flex-direction:column;gap:.75rem}
input,select{width:100%;padding:.8rem 1rem;font:inherit;font-size:1rem;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:8px}
input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px}
button{min-height:44px;padding:.7rem 1rem;font:inherit;font-size:1rem;font-weight:600;color:var(--accent);background:#fff;border:1.5px solid var(--accent);border-radius:8px;cursor:pointer}
button[type=submit]{color:#fff;background:var(--accent)}
.btn{display:flex;align-items:center;justify-content:center;min-height:44px;padding:.7rem 1rem;font-weight:600;border-radius:8px;text-decoration:none}
.btn.google{background:#fff;color:var(--text);border:1.5px solid var(--line)}
.or{text-align:center;color:var(--muted);margin:1rem 0 .75rem;font-size:.9rem}
button:disabled{opacity:.5;cursor:default}
button.secondary{color:var(--text);border:1.5px solid var(--line);width:100%}
button.link{background:none;border:0;color:var(--accent);font-weight:400;min-height:44px;text-decoration:underline}
.msg{min-height:1.4em;margin:.5rem 0 0;color:var(--muted)}.msg.bad{color:var(--bad)}
.row{display:flex;justify-content:space-between;padding:.6rem 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}
.screen{flex:1;width:100%;padding:0 0 calc(76px + env(safe-area-inset-bottom))}
.screen>section{max-width:720px;margin:0 auto;padding:0 16px 16px}
/* top bar: full-bleed blue strip (box-shadow + clip-path trick) that stays inside the 720px column's markup */
.topbar{position:sticky;top:0;z-index:5;min-height:56px;padding:env(safe-area-inset-top) 16px 0;margin:0 -16px 16px;display:flex;align-items:center;justify-content:center;background:var(--bar);color:#fff;box-shadow:0 0 0 100vmax var(--bar);clip-path:inset(0 -100vmax)}
.topbar h2{margin:0;color:#fff;font-size:1.05rem;font-weight:600}
.topbar .left{position:absolute;left:12px;display:flex;align-items:center;min-height:44px;color:#fff;text-decoration:none;font-size:.95rem}
.topbar .left a{display:flex;align-items:center;color:#fff;text-decoration:none}
.topbar .right{position:absolute;right:8px}
.topbar button{min-height:44px;background:transparent;border:0;color:#fff;font-weight:500;padding:.5rem .6rem}
.topbar .bell{position:relative;display:flex;align-items:center;padding:.5rem}
.topbar .bell .dot{position:absolute;top:8px;right:6px;width:10px;height:10px;border-radius:50%;background:#E5483B;border:2px solid var(--bar)}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.addbox{position:relative;margin-bottom:1rem}
.hits{list-style:none;margin:.25rem 0 0;padding:0}
.hit{width:100%;text-align:left;background:#fff;color:var(--text);border:1px solid var(--line);font-weight:400;margin-top:.25rem}
.hit:disabled{opacity:.6}
.wlist,.alerts{list-style:none;margin:0;padding:0}
.wlist{background:var(--panel);border-radius:16px;overflow:hidden;margin-bottom:1rem}
.wrow{display:flex;align-items:center;gap:.5rem;border-bottom:1px solid var(--line);min-height:56px}.wrow:last-child{border:0}
.wmain{flex:1;padding:.75rem 1rem;color:var(--text);text-decoration:none;min-width:0}
.wtop{display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.wsub{color:var(--muted);font-size:.85rem;margin-top:.25rem}
.icon{background:transparent;border:0;color:var(--muted);min-width:44px;font-size:1.4rem;padding:0}
.pill{display:inline-block;padding:.1rem .6rem;border-radius:999px;font-size:.72rem;font-weight:600;white-space:nowrap;background:#E4E6E8;color:#555B61}
.pill.good{background:#D6EBE1;color:#1E7B4B}.pill.strong{background:#D3E8F3;color:#0A5C86}.pill.mid{background:#FBEBC8;color:#8A5A00}.pill.bad{background:#F6DADA;color:#9C2F2F}
.lock{box-shadow:inset 0 0 0 1.5px var(--accent)}
h3{margin:1.25rem 0 .1rem;font-size:1rem;font-weight:600}
.block h3{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:1.1rem .25rem .1rem}
.block>.sub{margin:.1rem .25rem .6rem;font-size:.85rem}
.block{margin-bottom:1rem}
.warn{color:#8A5A00}
.watch{min-height:36px;min-width:76px;margin-right:.6rem;padding:.4rem;font-size:.85rem}
.watch:disabled{color:var(--ok);border-color:var(--ok);opacity:.8}
.chips{display:flex;gap:.5rem;overflow-x:auto;padding:.25rem 0 .75rem}
.chip{flex:0 0 auto;min-height:36px;padding:.35rem .8rem;font-size:.85rem;font-weight:500;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:999px}
.chip.on{background:var(--accent);color:#fff;border-color:var(--accent)}
.chips.segmented{background:var(--track);border-radius:10px;padding:3px;gap:0;overflow:visible;margin-bottom:.75rem}
.segmented .chip{flex:1;border:0;background:transparent;color:var(--accent);border-radius:8px;min-height:40px}
.segmented .chip.on{background:var(--accent);color:#fff}
.sortbar{display:flex;align-items:center;gap:.5rem;margin:.25rem 0 .75rem}
.sortbar select{width:auto;flex:1}
button.small{width:auto;min-height:44px;padding:.5rem .8rem}
input[type=search]{margin-bottom:.5rem}
.mix{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;margin-bottom:.75rem}
.seg{background:#B7BBBF}.seg.good{background:#1E7B4B}.seg.strong{background:var(--chart-light)}.seg.mid{background:#E0A92E}.seg.bad{background:#C9504F}
.hist{display:flex;align-items:flex-end;gap:3px;height:70px}
.hist .col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;font-size:.6rem;color:var(--muted)}
.hist .bar2{width:100%;background:var(--chart-light);border-radius:3px 3px 0 0;min-height:2px}
form.card input{margin-bottom:.6rem}
.tight{margin:0}.flush{margin-top:0}
.big{font-size:2rem;font-weight:600;line-height:1.15}
.lab{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:.25rem .25rem .4rem}
.crow{display:flex;align-items:center;gap:.6rem;margin:.5rem 0}
.clabel{width:7.5rem;font-size:.85rem;color:var(--muted)}
.ctrack{flex:1;height:10px;background:var(--track);border-radius:5px;overflow:hidden}
.cbar{height:100%;border-radius:5px}.cbar.pos{background:var(--accent)}.cbar.neg{background:var(--bad)}
.cval{width:2.5rem;text-align:right;font-variant-numeric:tabular-nums}
.hlist{list-style:none;margin:0;padding:0}
.hlist li{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--line)}.hlist li:last-child{border:0}
.card .secondary,.screen section>.secondary,.screen section>button{margin-bottom:.75rem}
.screen section>button,.card>button{width:100%}
.danger{box-shadow:inset 0 0 0 1.5px var(--bad)}
.danger-btn{background:#fff;color:var(--bad);border-color:var(--bad);width:100%}
.alerts li{padding:.6rem 0;border-bottom:1px solid var(--line)}.alerts li:last-child{border:0}.alerts li.unread{font-weight:600}
.tabs{position:fixed;left:0;right:0;bottom:0;display:flex;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.tabs a{flex:1;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#7B7F83;text-decoration:none;font-size:.7rem}
.tabs a.on{color:var(--accent);font-weight:700}
.tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}

/* uxv2 S1 */
.btn.outline{color:var(--accent);background:#fff;border:1.5px solid var(--accent);margin:.5rem 0 1rem}
.strip{display:flex;justify-content:space-around;text-align:center}
.strip .big{font-size:1.5rem}
.foot{color:var(--muted);font-size:.75rem;text-align:center;margin:1rem 0}
.muted{color:var(--muted)}
.chips a.chip{display:flex;align-items:center;text-decoration:none}
/* uxv2 Home */
.home{padding-top:0}
.hello{font-size:1.35rem;margin:0 .25rem .75rem}
.hd{display:flex;justify-content:space-between;align-items:center;margin:0 4px 12px}
.hd h1{font-size:1.35rem;margin:0}
.av{width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none}
.card.hl{box-shadow:inset 0 0 0 1.5px var(--accent)}
.split{display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.split3{display:flex;justify-content:space-between;margin-top:.4rem}.split3>div:last-child{text-align:right}
.split3 .big{font-size:1.6rem}
.pg{height:6px;background:var(--track);border-radius:3px;overflow:hidden;margin:.5rem 0}.pg>div{height:100%;background:var(--accent)}
.go{display:block;color:var(--accent);font-weight:600;text-decoration:none;margin-top:.4rem}
a.lnk{display:block;color:var(--text);text-decoration:none}
.sec{font-size:1.05rem;margin:1rem .25rem .1rem}
.pad{margin:.1rem .25rem .6rem;font-size:.85rem}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
a.ex{display:flex;flex-direction:column;gap:.25rem;color:var(--text);text-decoration:none;margin:0}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 4px;text-align:center;font-size:.72rem;margin:.25rem 0 1rem}
.tile{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text);text-decoration:none}
.tile.soon{opacity:.55}
.orb{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;background:#E4E6E8;color:#555B61}
.orb.g{background:#D6EBE1;color:#1E7B4B}.orb.b{background:#D3E8F3;color:#0A5C86}.orb.a{background:#FBEBC8;color:#8A5A00}.orb.p{background:#E7E3F7;color:#534AB7}
.wrow.more .wmain{color:var(--accent);text-align:center;font-weight:600}
.ck{display:flex;align-items:center;gap:.7rem;padding:.6rem 0;border-top:1px solid var(--line);color:var(--text);text-decoration:none}
.ck .d{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:.75rem;flex:none}
.ck .d.y{background:var(--ok);border-color:var(--ok);color:#fff}
.foot.left{text-align:left;margin:1rem .25rem;padding-top:.75rem;border-top:1px solid var(--line)}

/* RESTYLE look applied to uxv2: hairline rows with chevrons */
.wlist .wrow>a.wmain{position:relative;padding-right:2rem}
.wlist .wrow>a.wmain::after{content:"›";position:absolute;right:.9rem;top:50%;transform:translateY(-50%);color:#9AA0A5;font-size:1.3rem}
.wlist .wrow.more>a.wmain::after{content:""}
.wlist .wrow .wtop{padding-right:.2rem}
a.card.lnk,a.ex{position:relative}
.topbar .bell{color:#fff;text-decoration:none;min-width:44px;min-height:44px;justify-content:center}

/* uxv2 reference polish: bigger type, full-bleed white lists, uppercase section labels, large tab icons */
html,body{font-size:17px}
.topbar{min-height:64px}.topbar h2{font-size:1.2rem;font-weight:700}
.wlist{margin:0 -16px 1.1rem;border-radius:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.wrow{min-height:68px}
.wmain{padding:1rem 1.1rem}
.wtop strong{font-size:1.05rem;font-weight:700}
.wsub{font-size:.9rem;margin-top:.3rem}
.wlist .wrow>a.wmain::after{font-size:1.7rem;font-weight:300;color:#A9AEB3}
.lab,.block h3,.sec{font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:500;margin:1.4rem .25rem .5rem}
.pad{margin:-.2rem .25rem .6rem}
.chips.segmented{background:var(--track);box-shadow:0 0 0 .6rem #fff,0 0 0 100vmax #fff;clip-path:inset(-.6rem -100vmax);margin:.6rem 0 1.2rem;border-radius:10px}
.segmented .chip{font-size:.95rem;text-transform:uppercase;letter-spacing:.02em}
.card{padding:1.2rem}
.big{font-size:2.1rem;font-weight:500}
.card .sub{font-size:.95rem}
button,.btn.outline{min-height:52px;font-size:1.05rem;border-radius:8px}
.pill{font-size:.78rem;padding:.2rem .7rem}
.tabs a{min-height:72px;gap:4px;font-size:.78rem;color:#7B7F83}
.tabs .ic{width:30px;height:30px;stroke-width:1.7}
.tabs a.on .ic{stroke:var(--accent)}
.strip .big{font-size:1.8rem}
.orb .ic{width:24px;height:24px}

/* v3: welcome + Home "Where to start" */
.welcome{padding-bottom:1rem}
.wl{display:flex;gap:.9rem;align-items:flex-start}.wl .orb{flex:none}.wlb{flex:1;min-width:0}
.wl h3.flush{margin:0 0 .15rem;font-size:1.05rem}.wl .by{font-size:.8rem;color:var(--muted);margin:0 0 .35rem}.wl p{margin:0;font-size:.95rem}
.step{font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:500;margin:1.6rem .25rem .4rem}
.hero{font-size:1.75rem;line-height:1.2;font-weight:600;margin:0 .25rem .5rem}
.lead{margin:0 .25rem 1.1rem;color:var(--muted);font-size:1.02rem}
.go2{margin-top:.25rem;width:100%}
.flush{margin-top:0}
.chips.wrap{flex-wrap:wrap;overflow:visible;padding-bottom:.25rem}
.ask2{background:#E3F1F8;border-radius:12px;padding:.8rem .9rem;margin:.6rem 0 .2rem}
.ask2 .q{margin:0 0 .5rem;font-weight:600;font-size:.98rem}
.ask2 .opt{font-weight:400;font-size:.78rem;color:var(--muted);margin-left:.35rem}
.ask2 .msg{min-height:0;margin:.2rem 0 0;font-size:.85rem}
.lab2{font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:500;margin:1rem 0 .2rem}
.picks{list-style:none;margin:0;padding:0}
.pk{display:flex;align-items:center;gap:.7rem;padding:.7rem 0;border-top:1px solid var(--line);color:var(--text);text-decoration:none;min-height:56px}
.picks li:first-child .pk{border-top:0}
.pk .mid{flex:1;min-width:0;display:flex;flex-direction:column}.pk .mid strong{font-size:1.02rem}
.note2{color:var(--muted);font-size:.78rem;margin:.6rem 0 0}
.chip:disabled{opacity:.55}.soon2{margin-left:.35rem;font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.qrow{display:flex;justify-content:flex-end;margin:.5rem 0 .2rem}
.addpt{min-height:36px;padding:.25rem .9rem;font-size:.85rem;font-weight:600;border-radius:999px;border:1.5px solid var(--accent);background:#fff;color:var(--accent);white-space:nowrap}
.addpt.big{width:100%;min-height:48px;font-size:1rem;border-radius:8px;margin:0 0 .75rem}
.addpt.done{background:#D6EBE1;border-color:#D6EBE1;color:var(--ok)}
.row small{display:block;font-weight:400}

/* v3: practice-trade cards, detail page, flag strips */
.tlist{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.75rem}
.tcard{background:var(--panel);border-radius:16px;overflow:hidden}
.tmain{display:block;padding:.9rem 1rem .5rem;color:var(--text);text-decoration:none}
.tret{font-size:1.25rem;font-weight:600;margin:.35rem 0 .2rem}.up{color:var(--ok)}.down{color:var(--bad)}
.closebtn{display:block;width:calc(100% - 2rem);margin:.4rem 1rem .9rem;min-height:44px;font-size:.95rem;background:#fff;color:var(--accent);border:1.5px solid var(--accent);border-radius:8px}
.flagbar{margin:.2rem 1rem .4rem;padding:.7rem .8rem;border-radius:10px;font-size:.9rem}.flagbar p{margin:0 0 .5rem}
.flagbar.bad{background:#F6DADA;color:#7E2222}.flagbar.warn{background:#FBEBC8;color:#6E4700}.flagbar.good{background:#D6EBE1;color:#14573A}
.fa{display:flex;gap:.5rem;flex-wrap:wrap}.fbtn{min-height:40px;padding:.3rem .9rem;font-size:.9rem;border-radius:8px;border:0;background:#17323F;color:#fff}.fbtn.ghost{background:#fff;color:#17323F;border:1px solid #17323F}
.pchart{display:block;width:100%;height:auto;margin:.6rem 0 .2rem}.pline{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round}.pcost{stroke:#9AA0A5;stroke-width:1;stroke-dasharray:4 4}.pdot{fill:var(--accent)}
.cl{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-bottom:.5rem}
.vstrip{display:flex;gap:2px;height:14px;border-radius:7px;overflow:hidden;margin:.2rem 0}.vs{flex:1;background:#E4E6E8}.vs.good{background:#1E7B4B}.vs.strong{background:#68B1D1}.vs.mid{background:#E0A92E}.vs.bad{background:#C62828}
.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}.stat2 .sv{font-size:1.15rem;font-weight:600;word-break:break-word}.stat2 .sv.up{color:var(--ok)}.stat2 .sv.down{color:var(--bad)}
.tsym{margin:0;font-size:1.5rem}.lots summary{cursor:pointer;color:var(--accent);font-weight:600}

/* v3: My stocks summary banner + price heatmap */
.meta2{margin:-.4rem .25rem .6rem;color:var(--muted);font-size:.95rem}
.sumban{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}.sumban .big{font-size:1.5rem}
.heatscroll{overflow-x:auto;padding-bottom:.4rem;margin:.4rem 0}
.hrow2{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;color:var(--text);text-decoration:none;width:max-content;min-width:100%}
.hsym{position:sticky;left:0;z-index:1;background:var(--panel);width:84px;flex:none;font-size:.78rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:.3rem}
.hcells{display:flex;gap:3px}.hc{width:14px;height:20px;border-radius:3px;flex:none}
.hret{flex:none;position:sticky;right:0;background:var(--panel);font-size:.78rem;font-weight:600;padding-left:.4rem;min-width:52px;text-align:right}
.hleg{display:flex;align-items:center;gap:.5rem;font-size:.72rem;color:var(--muted)}.hbar{flex:1;height:8px;border-radius:4px;background:linear-gradient(90deg,rgb(198,40,40),#fff,rgb(30,123,75));border:1px solid var(--line)}

/* v3: small close button, All stocks button */
.smallbtn{display:block;width:auto;min-height:34px;margin:.3rem 1rem .8rem auto;padding:.2rem .85rem;font-size:.82rem;font-weight:600;background:#fff;color:var(--accent);border:1.5px solid var(--accent);border-radius:999px}
.smallbtn.solo{margin:.2rem 0 .8rem auto}
.allbtn{margin-top:.4rem;width:100%}
.sumban .stat{text-align:center}.sumban .tret{margin-top:.15rem;font-size:.85rem}

.scale{margin:.2rem 0 .6rem}.sbar{position:relative;display:flex;height:10px;border-radius:5px;overflow:visible}
.sbar .zone{height:100%}.zone:first-child{border-radius:5px 0 0 5px}.zone:nth-child(5){border-radius:0 5px 5px 0}
.zone.zw{background:#C9504F}.zone.zn{background:#B7BBBF}.zone.zk{background:#E0A92E}.zone.zs{background:#7DB88F}.zone.zv{background:#1E7B4B}
.sdot{position:absolute;top:-4px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:#fff;border:3px solid #1B2B34;box-sizing:border-box}
.slab{display:flex;margin-top:.35rem;font-size:.62rem;color:var(--muted,#6b7075)}.slab span{text-align:center;overflow:hidden;white-space:nowrap}

/* v3 stock page: expandable score rows, risks, gates (design/v3/6_stock_page_detail.html) */
details.d{border-top:1px solid var(--line)}details.d>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-weight:600}
details.d>summary::-webkit-details-marker{display:none}details.d>summary:after{content:"\203A";transform:rotate(90deg);color:var(--muted);font-size:1.2rem}details.d[open]>summary:after{transform:rotate(-90deg)}
details.d>summary .crow{flex:1;margin:0}
.pts{display:flex;justify-content:space-between;gap:.75rem;padding:.35rem 0;font-size:.88rem;border-bottom:1px dashed var(--line)}.pts:last-child{border:0}
.pts b.p{color:var(--ok)}.pts b.n{color:var(--bad)}.pts small{display:block;color:var(--muted)}
.gate{display:flex;gap:.7rem;padding:.7rem 0;border-bottom:1px solid var(--line)}.gate:last-child{border:0}
.gi{flex:none;width:26px;height:26px;border-radius:50%;background:#D6EBE1;color:var(--ok);display:flex;align-items:center;justify-content:center;font-weight:700}
.gi.no{background:#F6DADA;color:var(--bad)}.gi.na{background:#E4E6E8;color:var(--muted)}
.gate p{margin:0}.gate .q{font-weight:600}.gate .a{font-size:.88rem;color:var(--muted)}
.gauge{position:relative;height:8px;background:var(--track);border-radius:4px;margin:.5rem 0 .2rem}.gauge i{position:absolute;top:0;bottom:0;left:0;background:var(--chart-light);border-radius:4px}.gauge u{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--text)}
.risk{margin:0;padding:0;list-style:none}.risk li{padding:.55rem 0;border-bottom:1px solid var(--line);font-size:.92rem}.risk li:last-child{border:0}
.tag{display:inline-block;font-size:.7rem;font-weight:600;padding:.05rem .5rem;border-radius:999px;background:#FBEBC8;color:#8A5A00;margin-bottom:.15rem}

.crow2{display:flex;align-items:center;gap:.6rem;margin:.5rem 0;flex:1}.crow2 .clabel{flex:0 0 7.2rem;display:flex;flex-direction:column;line-height:1.15}
.crow2 .rng{font-size:.66rem;color:var(--muted);font-weight:400}.crow2 .cval{flex:0 0 2.6rem;text-align:right;font-weight:600}
.ctrack{position:relative;flex:1;height:10px;background:var(--track);border-radius:5px;overflow:hidden}
.rfill{position:absolute;top:0;bottom:0}.rfill.pos{background:var(--ok)}.rfill.neg{background:var(--bad)}
.rzero{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:var(--text);opacity:.55}
.ctx{margin-top:.2rem;font-weight:600}

.two.btns{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.4rem}.two.btns .allbtn{margin:0;width:auto}

/* sign-in (signin.js), design/v3/8_login_v2.html: blue band + one sheet, faint ILAI leaf behind the page */
.authpage{position:relative}.authpage:before{content:"";position:fixed;inset:0;background:url(/ilai-leaf.svg) no-repeat right -90px bottom -60px/420px;opacity:.1;pointer-events:none}
.sheet{position:relative;z-index:1;width:100%;max-width:400px;background:#fff;border-radius:16px;overflow:hidden}
.band{display:flex;align-items:center;gap:.7rem;background:var(--bar);color:#fff;padding:.85rem 1.1rem}
.band .mark{width:26px;height:41px;flex:none}.band b{font-size:1.25rem;letter-spacing:.14em}.band small{margin-left:auto;font-size:.72rem;opacity:.85;letter-spacing:.06em}
.sheet .body{padding:1.1rem 1.2rem 1.2rem}.sheet form{margin:0}
.hi{margin:0 0 .15rem;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.hero2{margin:0 0 .6rem;font-size:1.45rem;line-height:1.2;font-weight:700}
.prom{list-style:none;margin:0 0 1rem;padding:0;display:grid;gap:.3rem}.prom li{display:flex;gap:.5rem;align-items:flex-start;font-size:.88rem;color:var(--muted)}
.prom i{flex:none;width:18px;height:18px;border-radius:50%;background:#D6EBE1;color:var(--ok);display:flex;align-items:center;justify-content:center;font-size:.7rem;font-style:normal;font-weight:700;margin-top:1px}
.btn.google{gap:.6rem}.btn.google .g{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1.5px solid var(--line);font-weight:700;color:#4285F4;font-size:.8rem}
.fld{display:flex;flex-direction:column;gap:.3rem}.fld .lr{display:flex;justify-content:space-between;align-items:baseline}
.fld label{font-size:.85rem;font-weight:600;color:var(--text)}.fld .hint{margin:0;font-size:.8rem;color:var(--muted)}
.fld .lr .link{min-height:0;padding:0;font-size:.82rem;text-decoration:none;font-weight:600}
.pwrow{position:relative}.pwrow input{padding-right:4.2rem}
.peek{position:absolute;right:.25rem;top:50%;transform:translateY(-50%);min-height:36px;padding:.2rem .6rem;border:0;background:transparent;font-size:.85rem;font-weight:600;color:var(--accent)}
.sheet .msg{min-height:0;margin:.1rem 0 0}.msg.good{color:var(--ok)}
.quiet{display:block;margin:.3rem auto 0;min-height:40px;font-size:.88rem;color:var(--muted)}
.switch{margin:.5rem 0 0;text-align:center;font-size:.92rem}.switch .link{min-height:36px;padding:0;font-weight:700;text-decoration:none}
.sheet .fine{margin:.8rem 0 0;font-size:.72rem;color:var(--muted);text-align:center;line-height:1.35}

@font-face{font-family:"Mulish";src:url(/fonts/Mulish-Variable.8d1d33d6.woff2) format("woff2");font-weight:200 1000;font-style:normal;font-display:swap}
