:root{
  --navy:#061635;--navy-deep:#05122E;--navy-soft:#0A2149;--green:#22A06B;--green-deep:#137A50;--green-light:#35C684;--green-pale:#EAF8F1;
  --ink:#0B1733;--text:#2A363F;--muted:#667085;--line:#DFE5EC;
  --amber-t:#8A5A00;--amber-b:#FFF5DA;
  --chat-bg:#FAFAF8;--chat-side:#F1F1EE;--bubble:#ECECE8;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html,body{width:100%;height:100%;background:var(--chat-bg);overflow:hidden}
body{font-family:Inter,"Noto Sans CJK SC",sans-serif;-webkit-font-smoothing:antialiased}
#stage{width:1920px;height:1080px;position:relative;overflow:hidden;background:var(--chat-bg);transform-origin:0 0}
#app{position:absolute;inset:0;display:flex}
/* generic assistant chrome */
#side{width:76px;background:var(--chat-side);border-right:1px solid #E4E4E0;display:flex;flex-direction:column;align-items:center;padding-top:26px;gap:22px}
.sico{width:34px;height:34px;border-radius:10px;background:#E2E2DD}
.sico.a{background:#2A2A2A;border-radius:50%}
#main{flex:1;display:flex;flex-direction:column;min-width:0;position:relative}
#topbar{height:68px;display:flex;align-items:center;padding:0 32px;font-size:19px;font-weight:600;color:#333;gap:10px}
#topbar .dot{width:10px;height:10px;border-radius:50%;background:#9A9A94}
#topbar .sub{font-weight:400;color:#8A8A84;font-size:17px}
#concept{position:absolute;top:18px;right:24px;font-size:14px;color:#6B6B66;background:#fff;border:1px solid #E4E4E0;border-radius:999px;padding:7px 14px;z-index:5}
#scroll{flex:1;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 36px,#000 calc(100% - 20px),transparent 100%)}
#msgs{width:100%;max-width:860px;margin:0 auto;padding:24px 30px 40px;display:flex;flex-direction:column;gap:22px}
.u{align-self:flex-end;background:var(--bubble);color:#1F1F1F;font-size:21px;line-height:1.5;padding:16px 22px;border-radius:22px;max-width:640px}
.u .att{display:flex;gap:10px;margin-bottom:10px}
.a{display:flex;gap:16px;color:#1F1F1F;font-size:21px;line-height:1.6}
.av{flex:0 0 34px;height:34px;border-radius:50%;background:#2A2A2A;margin-top:2px}
.a .body{flex:1}
.a p+p,.a p+ol,.a ol+p{margin-top:12px}
.a ol{padding-left:28px}
.a li{margin:4px 0}
.a b{font-weight:600}
.a .lnk{color:#1d5fd6;text-decoration:underline}
.st{display:flex;align-items:center;gap:12px;font-size:18px;color:#5E5E58;padding-left:50px}
.st img{width:24px;height:24px}
.spin{width:18px;height:18px;border:2.5px solid #CFCFC9;border-top-color:#555;border-radius:50%}
.tick{width:20px;height:20px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center}
.tick:after{content:"";width:9px;height:5px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
.fchip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #DDDDD8;border-radius:12px;padding:9px 14px;font-size:16px;color:#333;position:relative;overflow:hidden}
.fchip .fi{width:26px;height:32px;border-radius:4px;background:#C8643B;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:flex-end;justify-content:center;padding-bottom:3px}
.fchip .bar{position:absolute;left:0;bottom:0;height:3px;background:var(--green)}
#inputwrap{padding:0 30px 30px}
#input{max-width:800px;margin:0 auto;background:#fff;border:1px solid #DADAD5;border-radius:28px;box-shadow:0 6px 24px rgba(0,0,0,.06);padding:18px 22px 16px}
#inatt{display:flex;gap:10px;margin-bottom:12px}
#intext{font-size:21px;color:#1F1F1F;min-height:32px;line-height:1.5}
#intext.ph{color:#9A9A94}
.caret{display:inline-block;width:2px;height:24px;background:#1F1F1F;vertical-align:-4px;margin-left:1px}
#inrow{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.plus{width:36px;height:36px;border-radius:50%;border:1px solid #DADAD5;color:#666;font-size:22px;display:flex;align-items:center;justify-content:center}
#send{width:42px;height:42px;border-radius:50%;background:#D8D8D3;display:flex;align-items:center;justify-content:center}
#send.on{background:#1F1F1F}
#send:after{content:"";width:12px;height:12px;border-left:3px solid #fff;border-top:3px solid #fff;transform:rotate(45deg) translate(2px,2px)}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--green);color:#fff;font-weight:600;font-size:20px;padding:14px 30px;border-radius:999px;margin-top:16px}
.btn.pressed{background:var(--green-deep);transform:scale(.97)}
/* drawer */
#drawer{width:0;flex:0 0 auto;background:var(--navy);color:#fff;position:relative;overflow:hidden;box-shadow:-20px 0 60px rgba(6,22,53,.25)}
#dinner{position:absolute;top:0;left:0;width:800px;height:100%;padding:30px 38px;display:flex;flex-direction:column}
#dinner:before{content:"";position:absolute;right:-220px;bottom:-200px;width:700px;height:700px;background:radial-gradient(circle,rgba(53,198,132,.16),transparent 65%);pointer-events:none}
#dhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;position:relative}
#dhead img{height:64px}
#dhead .x{font-size:15px;color:rgba(255,255,255,.55)}
.view{position:absolute;left:38px;right:38px;top:118px;bottom:30px}
.vt{font-size:30px;font-weight:700;letter-spacing:-.01em;display:flex;align-items:center;gap:14px}
.vs{font-size:17px;color:rgba(255,255,255,.62);margin-top:6px;margin-bottom:20px}
.chip{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:5px 12px;border-radius:999px;font-size:14px;font-weight:600;line-height:1;white-space:nowrap}
.chip.g{background:rgba(53,198,132,.16);color:var(--green-light)}
.chip.am{background:var(--amber-b);color:var(--amber-t)}
.chip.n{background:rgba(255,255,255,.1);color:rgba(255,255,255,.8)}
.chip .d{width:7px;height:7px;border-radius:50%;background:currentColor}
.card{background:var(--navy-soft);border:1px solid rgba(255,255,255,.07);border-radius:18px;padding:18px 22px;margin-bottom:14px}
.ch{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cn{font-size:21px;font-weight:700}
.cq{font-size:17px;color:rgba(255,255,255,.6);font-weight:500;margin-left:8px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px;font-size:16px}
.fields div{color:rgba(255,255,255,.88);display:flex;align-items:center;gap:8px}
.fields span.k{color:rgba(255,255,255,.5);min-width:78px}
.as{font-size:11px;font-weight:600;color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:2px 7px;text-transform:uppercase;letter-spacing:.04em}
.need{color:#FFD27A!important}
.foot{position:absolute;bottom:0;left:0;right:0;border-top:1px solid rgba(255,255,255,.1);padding-top:16px;font-size:17px;color:rgba(255,255,255,.7);display:flex;justify-content:space-between;align-items:center}
.prod{display:flex;gap:18px;align-items:center}
.plogo{width:62px;height:62px;border-radius:16px;background:#fff;color:var(--navy);font-weight:800;font-size:22px;display:flex;align-items:center;justify-content:center}
.pname{font-size:25px;font-weight:700}
.pmeta{font-size:16px;color:rgba(255,255,255,.6);margin-top:3px}
table{width:100%;border-collapse:collapse;font-size:17px;margin-top:6px}
td{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.88)}
td.r{text-align:right;font-variant-numeric:tabular-nums}
td.m{color:rgba(255,255,255,.55)}
tr.tot td{border-bottom:0;font-weight:700;font-size:20px;color:#fff;padding-top:14px}
.dl{display:flex;flex-direction:column;gap:8px}
.dopt{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.1);font-size:17px;color:rgba(255,255,255,.85)}
.dopt.sel{border-color:var(--green-light);background:rgba(53,198,132,.1);color:#fff}
.num{display:inline-flex;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.12);font-size:14px;font-weight:700;align-items:center;justify-content:center;margin-right:12px}
.dopt.sel .num{background:var(--green-light);color:var(--navy)}
.tl{display:flex;align-items:center;margin-top:18px;font-size:14px;color:rgba(255,255,255,.65)}
.tl .seg{flex:1;height:4px;background:rgba(255,255,255,.14);position:relative;border-radius:2px}
.tl .seg i{position:absolute;left:0;top:0;bottom:0;background:var(--green-light);border-radius:2px}
.tl .pt{display:flex;flex-direction:column;align-items:center;gap:6px;width:92px;text-align:center}
.tl .pt b{width:12px;height:12px;border-radius:50%;background:var(--green-light)}
.tl .pt.o b{background:#fff}
.mocks{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mock{background:linear-gradient(160deg,#EDE7DD,#DCD3C5);border-radius:16px;height:262px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.mock .lab{position:absolute;left:14px;bottom:12px;background:rgba(6,22,53,.82);color:#fff;font-size:14px;font-weight:600;padding:6px 11px;border-radius:999px}
.status{margin-top:18px;border-radius:16px;padding:16px 20px;display:flex;align-items:center;gap:14px;font-size:18px;background:rgba(255,255,255,.07)}
.status.ok{background:rgba(53,198,132,.14)}
.status .spin{border-color:rgba(255,255,255,.25);border-top-color:#fff}
.status small{display:block;font-size:14px;color:rgba(255,255,255,.6);margin-top:3px}
#cursor{position:absolute;width:30px;height:30px;z-index:20;pointer-events:none}
/* end card */
#end{position:absolute;inset:0;background:var(--navy);z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;overflow:hidden}
#end:before{content:"";position:absolute;left:50%;top:50%;width:1300px;height:1300px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(53,198,132,.2),transparent 60%)}
#end .motif{position:absolute;right:-120px;bottom:-140px;width:620px;opacity:.06}
#end .l1{font-size:64px;font-weight:700;letter-spacing:-.02em;text-align:center;position:relative;line-height:1.15}
#end .l1 em{font-style:normal;color:var(--green-light)}
#end .l2{font-size:30px;color:rgba(255,255,255,.78);margin-top:26px;position:relative}
#end .lg{height:96px;margin-top:64px;position:relative}
#end .disc{position:absolute;bottom:40px;font-size:15px;color:rgba(255,255,255,.45);text-align:center;width:100%}