/* =========================================================
   产品界面造图组件（HTML/CSS 重绘，依据仓库内设计稿与规格）
   所有尺寸用 em，随窗口宽度等比缩放（容器查询单位）
   ========================================================= */
.win{container-type:inline-size;border-radius:14px;overflow:hidden;background:#fff;border:1px solid rgba(14,17,22,.12);box-shadow:0 40px 80px -30px rgba(14,17,22,.35),0 10px 24px -12px rgba(14,17,22,.18);position:relative}
.win.dk{background:#0B1322;border-color:rgba(255,255,255,.1);box-shadow:0 40px 90px -30px rgba(0,0,0,.7),0 0 0 1px rgba(79,209,232,.06)}
.ui{font-size:clamp(5.5px,1.72cqw,13px);font-family:var(--sans);color:#161817;line-height:1.45;text-align:left}
.win.dk .ui{color:#DCE6F2}
.ui.z2{font-size:clamp(6px,2.3cqw,13px)}
.ui.z3{font-size:clamp(6.5px,3cqw,14px)}
.win .bar{height:2.6em;display:flex;align-items:center;gap:.5em;padding:0 1em;border-bottom:1px solid #ECEBE6;background:#FAFAF8}
.win.dk .bar{background:#0E1828;border-color:rgba(255,255,255,.07)}
.win .bar i{width:.85em;height:.85em;border-radius:50%;background:#E2E0DA;display:block}
.win .bar i:nth-child(1){background:#EE6A5F}.win .bar i:nth-child(2){background:#F5BD4F}.win .bar i:nth-child(3){background:#61C554}
.win .bar .url{margin:0 auto;font-size:.85em;color:#8b8f8c;background:#F0EFEA;padding:.25em 1.4em;border-radius:.5em;font-family:var(--mono)}
.win.dk .bar .url{background:#15213A;color:#7f93ad}
.ui .ico{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;stroke:currentColor;fill:none;stroke-width:1.8}

/* ---------- 共用小件 ---------- */
.tag{display:inline-block;font-size:.84em;padding:.12em .6em;border-radius:.35em;font-weight:600;white-space:nowrap}
.t-red{background:#FBE7E3;color:#B4371F}.t-org{background:#FCEFD9;color:#A55E0E}.t-grn{background:#E2F1E6;color:#22703F}.t-gry{background:#EEEEEA;color:#6c6f6d}.t-blu{background:#E3EEFA;color:#2C5E9E}
.win.dk .t-grn{background:rgba(79,209,180,.14);color:#6EE2BE}.win.dk .t-org{background:rgba(245,180,80,.15);color:#F3BC6A}
.muted{color:#7b7f7d}
.win.dk .muted{color:#7f93ad}
.bold{font-weight:700}
.kpi-row{display:flex;border-top:1px solid #E8E7E2;border-bottom:1px solid #E8E7E2}
.kpi-row>div{flex:1;padding:.9em 1.1em;border-right:1px solid #E8E7E2}
.kpi-row>div:last-child{border-right:0}
.kpi-row .k{font-size:.85em;color:#7b7f7d}
.kpi-row .v{font-size:2em;font-weight:700;font-family:var(--mono);letter-spacing:-.02em;line-height:1.2}
.ai-card{border:1px solid #D9E6DF;background:linear-gradient(180deg,#F4FAF7,#fff);border-radius:.8em;padding:1em 1.1em}
.ai-card .hd{display:flex;align-items:center;gap:.5em;font-weight:700;font-size:1.02em}
.ai-card .hd .spark{color:#1F5A4A}
.ai-card ul{list-style:none;margin:.6em 0 0}
.ai-card li{padding:.38em 0 .38em 1.1em;position:relative;font-size:.95em}
.ai-card li::before{content:"";position:absolute;left:0;top:.95em;width:.42em;height:.42em;border-radius:50%;background:#1F5A4A}
.ai-card .src{font-size:.82em;color:#2E7A64;background:#E3EEE9;border-radius:.3em;padding:0 .4em;margin-left:.3em;white-space:nowrap}
.ai-card .ft{display:flex;justify-content:space-between;font-size:.8em;color:#8b8f8c;border-top:1px dashed #D9E6DF;margin-top:.6em;padding-top:.6em}

/* ---------- SpanPlan Enterprise（Web 管理端） ---------- */
.sp{display:grid;grid-template-columns:13em 1fr;grid-template-rows:auto 1fr;min-height:36em}
.sp-top{grid-column:1/-1;display:flex;align-items:center;gap:1em;padding:.8em 1.3em;border-bottom:1px solid #ECEBE6}
.sp-top .brand{background:#C9372C;color:#fff;font-weight:700;padding:.35em .7em;border-radius:.4em;font-size:.95em}
.sp-top .ttl{font-weight:700;font-size:1.08em}
.sp-top .ttl small{display:block;font-weight:400;font-size:.75em;color:#7b7f7d}
.sp-top .seg{display:flex;background:#EFEEEA;border-radius:999px;padding:.2em;margin-left:.6em}
.sp-top .seg span{padding:.3em 1em;border-radius:999px;font-size:.9em}
.sp-top .seg .on{background:#161817;color:#fff}
.sp-top .me{margin-left:auto;display:flex;align-items:center;gap:.5em;font-size:.9em}
.sp-top .av{width:2.1em;height:2.1em;border-radius:50%;background:#2E7A64;color:#fff;display:grid;place-items:center;font-size:.8em;font-weight:700}
.sp-side{background:#F6F5F1;padding:1em .7em;border-right:1px solid #ECEBE6;font-size:.95em}
.sp-side .g{font-size:.78em;color:#9a9d9b;margin:1em .7em .4em}
.sp-side .it{display:flex;align-items:center;gap:.6em;padding:.5em .7em;border-radius:.5em;color:#4f5351}
.sp-side .it.on{background:#E6E8E3;color:#161817;font-weight:700}
.sp-side .it b{margin-left:auto;background:#C9372C;color:#fff;font-size:.75em;border-radius:999px;min-width:1.6em;text-align:center;padding:0 .4em}
.sp-side .foot{margin-top:2em;font-size:.78em;color:#9a9d9b;padding:0 .7em}
.sp-main{padding:1.4em 1.6em;overflow:hidden}
.sp-main h4{font-size:1.75em;font-weight:800;letter-spacing:-.01em}
.sp-main .sub{color:#7b7f7d;font-size:.92em;margin:.2em 0 1em}
.board{width:100%;border-collapse:collapse;font-size:.92em;margin-top:1em}
.board th{font-weight:400;color:#8b8f8c;text-align:left;padding:.5em .4em;border-bottom:1px solid #ECEBE6;font-size:.9em}
.board td{padding:.62em .4em;border-bottom:1px solid #F0EFEA;vertical-align:middle}
.board .pn{font-weight:600}.board .pn small{display:block;font-weight:400;color:#8b8f8c;font-size:.85em}
.pb{display:grid;grid-template-columns:2.2em 1fr 2.6em;align-items:center;gap:.4em;font-size:.82em;color:#8b8f8c}
.pb .tr{height:.42em;background:#ECEBE6;border-radius:9px;overflow:hidden}
.pb .tr i{display:block;height:100%;border-radius:9px;width:var(--w);transition:width 1.4s var(--ease)}
.pb .plan i{background:repeating-linear-gradient(90deg,#A9ACA8 0 .3em,#C9CBC7 .3em .6em)}
.dev{font-family:var(--mono);font-weight:700}
.dev.n{color:#C2412D}.dev.w{color:#C9781F}.dev.o{color:#2F7D4F}
.gbar{position:relative;height:.7em;background:#E8EAE6;border-radius:9px;min-width:8em}
.gbar i{position:absolute;left:var(--s);width:var(--w);top:0;bottom:0;background:#2F5D50;border-radius:9px}
.gbar u{position:absolute;left:var(--s);width:var(--p);top:0;bottom:0;background:#9DB5AC;border-radius:9px}
.gbar::after{content:"";position:absolute;left:46%;top:-.35em;bottom:-.35em;width:2px;background:#C2412D}

/* 项目驾驶舱 */
.lamps{display:grid;grid-template-columns:repeat(6,1fr);gap:.7em;margin:1em 0}
.lamp{border:1px solid #ECEBE6;border-radius:.7em;padding:.7em .8em;position:relative;overflow:hidden;background:#fff}
.lamp::after{content:"";position:absolute;right:-1.2em;top:-1.2em;width:3.4em;height:3.4em;border-radius:50%;filter:blur(10px);opacity:.45;background:var(--c)}
.lamp .k{font-size:.8em;color:#7b7f7d;display:flex;align-items:center;gap:.35em}
.lamp .k::before{content:"";width:.7em;height:.7em;border-radius:50%;background:var(--c);box-shadow:0 0 0 .2em color-mix(in srgb,var(--c) 22%,transparent)}
.lamp .v{font-size:1.3em;font-weight:800;color:var(--c);margin-top:.25em;white-space:nowrap}
.lamp .d{font-size:.74em;color:#8b8f8c;margin-top:.15em;line-height:1.35}
.lamp.blink::before{content:"";position:absolute;inset:0;border:2px solid var(--c);border-radius:.7em;animation:lampPulse 2.4s infinite}
@keyframes lampPulse{0%,100%{opacity:0}50%{opacity:.7}}
.ms{display:grid;grid-template-columns:5.5em 1fr 3em;gap:.5em;align-items:center;font-size:.86em;padding:.28em 0}
.ms .tk{position:relative;height:.75em;background:#F0EFEA;border-radius:.3em}
.ms .tk i{position:absolute;left:var(--s);width:var(--w);top:0;bottom:0;border-radius:.3em;background:var(--c,#2F5D50)}
.ms .tk::after{content:"";position:absolute;left:48%;top:-.5em;bottom:-.5em;width:2px;background:#C2412D}
.ring{--p:46;width:6.2em;height:6.2em;border-radius:50%;background:conic-gradient(#C2412D calc(var(--p)*1%),#E8E7E2 0);display:grid;place-items:center;flex:none}
.ring::before{content:"";grid-area:1/1;width:4.9em;height:4.9em;border-radius:50%;background:#fff}
.ring span{grid-area:1/1;font-family:var(--mono);font-weight:800;font-size:1.5em;z-index:1}

/* ---------- SpanPlan Studio（项目经理桌面端） ---------- */
.st{display:grid;grid-template-columns:9.5em 1fr 14.5em;grid-template-rows:1fr auto;min-height:34em}
.st-nav{background:#F3F4F1;border-right:1px solid #E3E5E2;padding:.9em .6em;font-size:.92em}
.st-nav .prj{background:#fff;border:1px solid #E3E5E2;border-radius:.6em;padding:.55em .7em;margin-bottom:.8em}
.st-nav .prj b{display:block;font-size:.95em}.st-nav .prj span{font-size:.78em;color:#7b7f7d}
.st-nav .s{display:flex;align-items:center;gap:.55em;padding:.42em .6em;border-radius:.45em;color:#565a58}
.st-nav .s .dot{width:.55em;height:.55em;border-radius:50%;border:1.5px solid #A9ACA8}
.st-nav .s.done .dot{background:#2F7D4F;border-color:#2F7D4F}
.st-nav .s.on{background:#E5E8E3;color:#161817;font-weight:700}
.st-nav .s.on .dot{border-color:#C9781F;background:#C9781F}
.st-main{padding:1.1em 1.3em;overflow:hidden}
.st-tabs{display:flex;gap:1.3em;border-bottom:1px solid #E3E5E2;font-size:.92em;color:#7b7f7d;margin-bottom:1em}
.st-tabs span{padding:.45em 0}
.st-tabs .on{color:#161817;font-weight:700;border-bottom:2px solid #161817}
.st-aux{border-left:1px solid #E3E5E2;background:#FBFBF9;padding:1em;font-size:.92em}
.st-aux .tabs{display:flex;background:#EFEEEA;border-radius:.5em;padding:.18em;margin-bottom:.9em}
.st-aux .tabs span{flex:1;text-align:center;padding:.25em;border-radius:.4em;font-size:.88em}
.st-aux .tabs .on{background:#fff;font-weight:700;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.st-status{grid-column:1/-1;display:flex;justify-content:space-between;font-size:.78em;color:#8b8f8c;padding:.4em 1em;border-top:1px solid #E3E5E2;background:#F7F7F4}
.wbs{width:100%;border-collapse:collapse;font-size:.88em}
.wbs td,.wbs th{padding:.48em .4em;border-bottom:1px solid #F0EFEA;text-align:left}
.wbs th{color:#8b8f8c;font-weight:400}
.wbs .lv2 td:first-child{padding-left:1.6em}
.risk{border:1px solid #F1D9CF;background:#FFF8F5;border-radius:.7em;padding:.8em .9em;margin-bottom:.7em}
.risk .t{font-weight:700;display:flex;gap:.4em;align-items:center;color:#9E3320}
.opt{border:1px solid #E3E5E2;border-radius:.6em;padding:.55em .7em;margin-top:.5em;background:#fff;font-size:.92em}
.opt b{display:block}
.opt.pick{border-color:#1F5A4A;box-shadow:0 0 0 .15em rgba(31,90,74,.12)}

/* 知识库问答 */
.chat{padding:1.2em 1.4em;display:flex;flex-direction:column;gap:1em}
.q{align-self:flex-end;background:#161817;color:#fff;padding:.6em 1em;border-radius:1em 1em .3em 1em;max-width:75%}
.a{border:1px solid #E3E5E2;border-radius:.9em;padding:1em 1.1em;max-width:92%}
.a .how{font-size:.82em;color:#7b7f7d;background:#F5F5F2;border-radius:.4em;padding:.3em .6em;margin-bottom:.6em;display:inline-block}
.a sup{color:#1F5A4A;font-weight:700;font-size:.75em;margin-left:.1em}
.refs{margin-top:.8em;border-top:1px solid #F0EFEA;padding-top:.6em;font-size:.84em}
.refs div{display:flex;gap:.5em;padding:.25em 0;color:#4f5351}
.refs b{color:#1F5A4A;font-family:var(--mono)}

/* ---------- SpanBot 伙伴 ---------- */
.owl-wrap{position:relative;display:inline-block}
.owl{width:100%;height:auto;overflow:visible}
.owl .lid{transform-origin:center;animation:blink 5s infinite}
@keyframes blink{0%,94%,100%{transform:scaleY(0)}96%{transform:scaleY(1)}}
.owl .bob{animation:bob 4s ease-in-out infinite;transform-origin:50% 90%}
@keyframes bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3%) rotate(-1.5deg)}}
.plate{color:#161817;background:rgba(255,255,255,.96);border:1px solid #EADCC8;border-radius:.9em;padding:.75em 1em;font-size:.95em;box-shadow:0 1em 2em -1em rgba(0,0,0,.35);min-width:17em}
.plate .l1{display:flex;align-items:center;gap:.5em;font-weight:700}
.plate .l1 .mood{font-size:.78em;background:#FBEBD5;color:#9C5A12;border-radius:.3em;padding:.05em .45em}
.plate .say{margin:.35em 0 .55em;color:#3b3e3c}
.plate .l2{display:flex;gap:1em;font-size:.82em;color:#7b7f7d;border-top:1px dashed #EADCC8;padding-top:.45em}
.plate .l2 b{color:#161817;font-family:var(--mono)}
.plate.glow{animation:plateGlow 3s ease-in-out}
@keyframes plateGlow{0%,100%{box-shadow:0 1em 2em -1em rgba(0,0,0,.35)}30%,70%{box-shadow:0 0 0 .3em rgba(227,155,59,.35),0 1em 2em -1em rgba(0,0,0,.35);background:#FFF9F0}}

/* ---------- LineWork 画布（深色） ---------- */
.lw{display:grid;grid-template-columns:12.5em 1fr 14.5em;grid-template-rows:auto 1fr;min-height:38em;color:#DCE6F2}
.lw-top{grid-column:1/-1;display:flex;align-items:center;gap:1em;padding:.75em 1.1em;border-bottom:1px solid rgba(255,255,255,.07)}
.lw-top .mk{width:1.9em;height:1.9em;border-radius:.4em;background:#4FD1E8}
.lw-top .crumb{font-size:.8em;color:#7f93ad}.lw-top .nm{font-weight:700;font-size:1.05em}
.lw-top .pill{border:1px solid rgba(255,255,255,.16);border-radius:999px;font-size:.78em;padding:.15em .7em;color:#a9bad0}
.lw-top .fill{margin-left:auto}
.lw-top .b{border:1px solid rgba(255,255,255,.16);border-radius:.4em;padding:.35em .9em;font-size:.86em}
.lw-top .b.pri{background:#4FD1E8;color:#06202A;border-color:#4FD1E8;font-weight:700}
.lw-lib{padding:.9em;border-right:1px solid rgba(255,255,255,.07);font-size:.9em}
.lw-lib h6{font-size:1.05em;color:#4FD1E8;font-weight:700}
.lw-lib .g{font-size:.78em;color:#6d819b;margin:.9em 0 .4em}
.lw-lib .c{display:flex;gap:.6em;align-items:center;border:1px solid rgba(255,255,255,.1);border-radius:.4em;padding:.5em .6em;margin-bottom:.45em;background:rgba(255,255,255,.02)}
.lw-lib .c i{width:1.7em;height:1.7em;border:1px solid rgba(255,255,255,.2);border-radius:.3em;display:grid;place-items:center;font-style:normal;font-size:.85em;color:#a9bad0;flex:none}
.lw-lib .c b{display:block;font-size:.95em}.lw-lib .c small{color:#7f93ad;font-size:.8em}
.lw-stage{position:relative;background:radial-gradient(circle at 50% 45%,rgba(79,209,232,.08),transparent 60%),radial-gradient(rgba(255,255,255,.09) 1px,transparent 1px) 0 0/1.6em 1.6em;overflow:hidden}
.lw-stage svg.wires{position:absolute;inset:0;width:100%;height:100%}
.wires path{vector-effect:non-scaling-stroke;fill:none;stroke:rgba(79,209,232,.35);stroke-width:1.6}
.wires path.flow{stroke:#4FD1E8;stroke-dasharray:4 8;animation:flow 1.2s linear infinite;filter:drop-shadow(0 0 3px rgba(79,209,232,.8))}
@keyframes flow{to{stroke-dashoffset:-24}}
.nd{position:absolute;transform:translate(-50%,-50%);width:13.5em;border:1px solid rgba(255,255,255,.14);background:#0F1A2C;border-radius:.3em;padding:.6em .7em;display:flex;gap:.6em;align-items:center;transition:border-color .4s,box-shadow .4s}
.nd i{width:2em;height:2em;border:1px solid rgba(255,255,255,.2);border-radius:.3em;display:grid;place-items:center;font-style:normal;color:#a9bad0;flex:none;font-size:.9em}
.nd b{font-size:.95em;display:block}.nd small{font-size:.78em;color:#7f93ad}
.nd.sel{border-color:#F3B341;box-shadow:0 0 0 1px #F3B341,0 0 1.4em rgba(243,179,65,.35)}
.nd.lit{border-color:#4FD1E8;box-shadow:0 0 0 1px rgba(79,209,232,.6),0 0 1.2em rgba(79,209,232,.35)}
.nd.lit i{border-color:#4FD1E8;color:#4FD1E8}
.nd .warn{position:absolute;right:-.6em;top:-.6em;width:1.3em;height:1.3em;border-radius:50%;background:#F39C29;color:#111;font-size:.75em;display:grid;place-items:center;font-weight:800}
.lw-ctrl{position:absolute;left:50%;bottom:1em;transform:translateX(-50%);display:flex;gap:.5em;align-items:center;background:#0E1828;border:1px solid rgba(255,255,255,.12);padding:.45em;border-radius:.4em;font-size:.85em;white-space:nowrap}
.lw-ctrl .run{background:#4FD1E8;color:#06202A;font-weight:700;padding:.4em 1.4em;border-radius:.3em}
.lw-ctrl .stt{color:#7f93ad;padding:0 .6em}.lw-ctrl .stt b{color:#DCE6F2;font-family:var(--mono)}
.lw-ctrl .bt{border:1px solid rgba(255,255,255,.12);padding:.35em .8em;border-radius:.3em}
.lw-prop{padding:.9em;border-left:1px solid rgba(255,255,255,.07);font-size:.9em}
.lw-prop .lbl{font-size:.8em;color:#7f93ad;margin:.8em 0 .3em}
.lw-prop .inp{border:1px solid rgba(255,255,255,.14);background:#0F1A2C;border-radius:.3em;padding:.45em .6em}
.lw-prop .tg{display:flex;justify-content:space-between;align-items:center;padding:.35em 0}
.sw{width:2.4em;height:1.3em;border-radius:999px;background:#4FD1E8;position:relative;flex:none}
.sw::after{content:"";position:absolute;right:.15em;top:.15em;width:1em;height:1em;border-radius:50%;background:#fff}
.sw.off{background:#2A3850}.sw.off::after{right:auto;left:.15em}

/* ---------- LineWork 浅色页面（E&D / 企业版） ---------- */
.lp{display:grid;grid-template-columns:12.5em 1fr;grid-template-rows:auto 1fr;min-height:34em}
.lp-top{grid-column:1/-1;display:flex;align-items:center;gap:.8em;padding:.65em 1.2em;border-bottom:1px solid #E3E5E2;font-size:.88em;color:#565a58}
.lp-top b{color:#161817}
.lp-top .r{margin-left:auto;display:flex;gap:.5em}
.lp-top .r span{border:1px solid #E3E5E2;border-radius:.45em;padding:.25em .7em}
.lp-side{background:#F3F4F1;border-right:1px solid #E3E5E2;padding:.9em .7em;font-size:.92em}
.lp-side .lg{display:flex;align-items:center;gap:.5em;font-weight:800;font-size:1.15em;margin-bottom:.7em}
.lp-side .lg i{width:1.5em;height:1.5em;background:#161817;border-radius:.3em}
.lp-side .card{background:#fff;border:1px solid #E3E5E2;border-radius:.55em;padding:.5em .7em;margin-bottom:.7em}
.lp-side .card b{display:block;font-size:.92em}.lp-side .card span{font-size:.76em;color:#7b7f7d}
.lp-side .g{font-size:.76em;color:#9a9d9b;margin:.8em .5em .3em}
.lp-side .it{padding:.42em .6em;border-radius:.45em;color:#565a58;display:flex;justify-content:space-between}
.lp-side .it.on{background:#E5E8E3;color:#161817;font-weight:700}
.lp-main{padding:1.2em 1.5em;overflow:hidden}
.lp-main h4{font-size:1.85em;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.lp-main .sub{color:#7b7f7d;font-size:.9em;margin-top:.2em}
.btn-k{background:#161817;color:#fff;border-radius:.45em;padding:.45em 1em;font-weight:700;font-size:.92em;white-space:nowrap}
.btn-o{border:1px solid #D9DBD7;border-radius:.45em;padding:.45em 1em;font-size:.92em;white-space:nowrap;background:#fff}
.ev{display:grid;grid-template-columns:1fr 1.15fr;gap:1em;margin-top:1em}
.ev .list{border:1px solid #E3E5E2;border-radius:.7em;padding:.5em}
.ev .row{padding:.6em .7em;border-radius:.45em;display:flex;justify-content:space-between;gap:.6em;align-items:center;border-bottom:1px solid #F0EFEA}
.ev .row:last-child{border-bottom:0}
.ev .row.on{background:#EDEDEA}
.ev .row b{font-size:.92em;display:block}.ev .row small{font-size:.76em;color:#8b8f8c}
.ev .det{border:1px solid #E3E5E2;border-radius:.7em;padding:.9em 1em;font-size:.9em}
.ev .orig{background:#F6F6F3;border:1px solid #E3E5E2;border-radius:.45em;padding:.3em .5em;margin:.5em 0;font-family:var(--mono);font-size:.86em}
.ev .orig div{display:flex;justify-content:space-between;padding:.25em .4em}
.ev .orig .hl{background:#EAD9C8;border-radius:.25em}
.kv{display:flex;justify-content:space-between;padding:.22em 0;font-size:.92em}
.kv b{font-weight:700}
.doc{display:grid;grid-template-columns:9em 1fr 12.5em;gap:1em;margin-top:1em}
.doc .toc,.doc .chk{border:1px solid #E3E5E2;border-radius:.7em;padding:.8em;font-size:.86em}
.doc .toc div{padding:.2em 0;color:#4f5351}.doc .toc .on{font-weight:800;color:#161817}
.doc .pg{border:1px solid #E3E5E2;border-radius:.7em;padding:1.2em 1.5em;font-size:.9em;line-height:1.75}
.doc .pg h5{font-size:1.25em;margin:.2em 0 .5em}
.doc .pg u{text-decoration:underline;font-weight:700;text-underline-offset:.2em}
.doc .pend{background:#F2E7DA;border-radius:.4em;padding:.5em .7em;margin-top:.6em;font-size:.92em}
.doc .chk .r{display:flex;justify-content:space-between;gap:.4em;padding:.5em 0;border-bottom:1px solid #F0EFEA}
.doc .chk .r:last-child{border-bottom:0}
.doc .chk small{display:block;color:#8b8f8c;font-size:.85em}

/* 确认卡 / 智能问答 */
.cf{border:1.5px solid #3E8A6B;border-radius:.8em;padding:.9em 1.1em;background:#fff}
.cf .h{display:flex;align-items:center;gap:.6em;font-weight:800}
.cf .r{display:grid;grid-template-columns:6em 1fr;gap:.6em;padding:.4em 0;font-size:.92em}
.cf .r span:first-child{color:#7b7f7d}
.cf .ac{display:flex;justify-content:flex-end;gap:.5em;margin-top:.7em;align-items:center}

/* 手机 IM 卡片 */
.phone{width:100%;max-width:330px;justify-self:center;aspect-ratio:9/18.5;border-radius:42px;background:#111;padding:11px;box-shadow:0 40px 80px -30px rgba(0,0,0,.6);container-type:inline-size;margin:0 auto}
.phone .scr{height:100%;border-radius:32px;overflow:hidden;background:#F2F3F5;display:flex;flex-direction:column;font-size:4.2cqw;font-family:var(--sans);color:#1f2329}
.phone .sb{display:flex;justify-content:space-between;padding:.7em 1.4em .3em;font-size:.8em;font-weight:700}
.phone .ch{background:#fff;padding:.6em 1em;font-weight:700;border-bottom:1px solid #E4E6EA;display:flex;gap:.5em;align-items:center}
.phone .ch i{width:1.7em;height:1.7em;border-radius:.4em;background:#161817;display:block}
.phone .msgs{flex:1;padding:.9em .8em;display:flex;flex-direction:column;gap:.8em;overflow:hidden}
.phone .bub{background:#fff;border-radius:.7em;padding:.7em .8em;font-size:.88em;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.phone .me{align-self:flex-end;background:#D6E8FF}
.phone .imc{background:#fff;border-radius:.7em;overflow:hidden;font-size:.86em;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.phone .imc .ih{background:linear-gradient(90deg,#1F6FEB,#3B8CFF);color:#fff;padding:.6em .8em;font-weight:700}
.phone .imc .ib{padding:.6em .8em}
.phone .imc .ib div{display:flex;justify-content:space-between;padding:.15em 0}
.phone .imc .ib span{color:#8f959e}
.phone .imc .ibtn{display:flex;border-top:1px solid #EEF0F3}
.phone .imc .ibtn a{flex:1;text-align:center;padding:.6em;color:#1F6FEB;font-weight:700}
.phone .imc .ibtn a+a{border-left:1px solid #EEF0F3;color:#4E5969;font-weight:400}

/* 模板目录 */
.tpl{display:grid;grid-template-columns:repeat(5,1fr);gap:.6em}
.tpl div{border:1px solid #E3E5E2;border-radius:.6em;padding:.7em;font-size:.88em;background:#fff}
.tpl b{display:block;font-family:var(--mono);color:#0E8BA3;font-size:.85em}
