:root{--ink:#16213a;--muted:#7b8699;--line:#e4e9f2;--accent:#1557c0;--accent-deep:#10439a;--accent-soft:#eaf1fd;--paper:#f4f7fc}
*{box-sizing:border-box}html{height:100%}
body{margin:0;height:100svh;display:flex;flex-direction:column;background:linear-gradient(180deg,#f3f8fe 0%,#eef4fc 42%,#f7fafe 100%);background-attachment:fixed;color:var(--ink);font:15px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft Yahei",sans-serif}
button,textarea,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9cc0f3;outline-offset:3px}textarea:focus{outline:none}

/* ===== 顶栏 ===== */
header{height:62px;min-height:62px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;position:relative;flex-shrink:0}
.brand{color:var(--ink);font-size:17px;font-weight:650;text-decoration:none;letter-spacing:.2px}
nav{display:flex;gap:8px}
.quiet{border:0;background:#fff;color:#51607a;font-size:13px;border-radius:999px;padding:7px 14px;box-shadow:0 1px 4px #16213a0d}
.quiet:hover{background:var(--accent-soft);color:var(--accent)}
#consultations{display:none;position:absolute;right:18px;top:56px;width:290px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 50px #16213a1a;z-index:10}
.history-open #consultations{display:block}
#history{max-height:350px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}
.history-item{display:block;border:0;background:#fff;border-radius:11px;padding:10px 12px;color:var(--ink);text-align:left;font-size:14px}
.history-item:hover,.history-item.active{background:var(--accent-soft)}
.history-item small{display:block;color:var(--muted);font-size:12px}
.muted{font-size:13px;color:var(--muted);margin:6px 2px}

main{width:min(760px,100%);padding:0 18px 14px;margin:0 auto;flex:1;min-height:0;display:flex;flex-direction:column}

/* ===== 首页 ===== */
#home-head{text-align:center;margin-top:auto;padding:0 6px 24px}
#home-head h1{margin:0 0 10px;font-size:27px;line-height:1.4;font-weight:680;letter-spacing:.3px;background:linear-gradient(100deg,var(--ink) 20%,var(--accent) 95%);-webkit-background-clip:text;background-clip:text;color:transparent}
.home-sub{margin:0;color:#6b7891;font-size:15px;padding:0 48px}
#home-tips{margin-bottom:auto;padding-top:20px}
.tips-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 10px;font-size:13px;color:var(--muted)}
.tips-head .quiet{padding:5px 12px;font-size:12px;box-shadow:none;background:transparent}
.tips-head .quiet:hover{background:#fff}
#tips-list{background:#fff;border-radius:16px;box-shadow:0 2px 14px #16213a0a;overflow:hidden}
.tip{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;padding:14px 16px;font-size:14.5px;color:var(--ink);line-height:1.5;border-bottom:1px solid #f0f3f8}
#tips-list .tip:last-child{border-bottom:0}
.tip:hover{background:var(--accent-soft)}
.tip-tag{flex-shrink:0;font-size:12px;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:3px 8px;line-height:1.4}
.tip-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.compact #home-head,body.compact #home-tips{display:none}
body:not(.compact) #conversation{display:none}

/* ===== 对话 ===== */
#conversation{flex:1;min-height:90px;overflow-y:auto;padding:14px 2px 16px;scroll-behavior:smooth}
.turn{margin:0 0 30px}
.message-label{font-size:12px;color:var(--muted);margin:0 0 6px;text-align:right}
/* 浅色气泡 */
.user-message{background:#e8f0fe;color:var(--ink);font-size:14.5px;padding:12px 17px;border-radius:17px 17px 5px 17px;margin-left:auto;max-width:86%;width:fit-content;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 5px #1557c014}
/* 附件卡里的文件名原来是白字，浅底上看不见 */
.user-message .file-name{color:var(--muted)}
.assistant-message{background:#fff;border-radius:5px 17px 17px 17px;margin-top:16px;padding:16px 18px;font-size:14.5px;overflow-wrap:anywhere;box-shadow:0 2px 14px #16213a0a}
.assistant-message p{margin:7px 0;white-space:pre-wrap}
.assistant-message h2{font-size:15.5px;margin:20px 0 9px;color:var(--accent-deep)}
.assistant-message h2:first-child{margin-top:2px}
.assistant-message h3{font-size:14.5px;margin:17px 0 7px}
.ai-mark{display:block;margin:8px 2px 0;font-size:11.5px;color:#9aa4b5;letter-spacing:.2px}
.attachment-label{font-size:12px;color:var(--muted);margin-top:8px}

/* ===== 输入区：文本框独占一行，加号和发送在下面 ===== */
#composer{flex-shrink:0;border:1.5px solid #dbe4f2;border-radius:20px;padding:14px 16px 12px;background:#fff;box-shadow:0 4px 22px #16213a0f;transition:border-color .15s}
#composer:focus-within{border-color:var(--accent);box-shadow:0 4px 24px #1557c01f}
body:not(.compact) #composer{padding:18px 18px 14px;border-radius:24px;box-shadow:0 10px 34px #16213a16}
.compose-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.drag-over{border-color:var(--accent);background:#f5f9ff}
textarea{display:block;width:100%;resize:none;min-height:30px;max-height:180px;border:0;outline:none;color:var(--ink);line-height:1.7;font-size:16px;background:transparent;overflow-y:auto}
body:not(.compact) textarea{min-height:76px}
textarea::placeholder{color:#9aa4b5}
.upload{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:14px;color:var(--accent);background:var(--accent-soft);position:relative;cursor:pointer;flex-shrink:0}
.upload:hover{background:#dbe8fb}
.upload span[aria-hidden]{font-size:20px;line-height:1}
.upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}
.upload:focus-within{outline:2px solid #9cc0f3}
.primary{padding:10px 24px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:14.5px;min-width:84px;flex-shrink:0;box-shadow:0 2px 10px #1557c033}
.primary:hover{background:var(--accent-deep)}
.file-hint{margin:9px 0 0;font-size:12px;color:#8a959e;line-height:1.7}
.privacy{margin:12px 6px 0;color:#98a2b5;font-size:11.5px;line-height:1.7;flex-shrink:0}

/* ===== 附件 ===== */
#attachments{display:flex;flex-wrap:wrap;gap:8px}
#attachments:not(:empty){margin-bottom:10px}
.file-tile{position:relative;width:76px}
.file-tile img{width:76px;height:76px;object-fit:cover;border-radius:12px;border:1px solid var(--line);cursor:zoom-in;display:block;background:var(--paper)}
.file-doc{width:76px;height:76px;border-radius:12px;border:1px solid var(--line);background:var(--paper);color:var(--accent);font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center}
.file-name{display:block;margin-top:3px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-remove{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border:0;border-radius:50%;background:#3d4a63;color:#fff;font-size:13px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}
.attachment-tiles{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.attachment-tiles .file-name{color:#e3ecfa}
.lightbox{position:fixed;inset:0;z-index:80;background:#0a1324cc;display:flex;align-items:center;justify-content:center;padding:16px;cursor:zoom-out}
.lightbox img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 10px 40px #0006}

/* ===== 反问选择题 ===== */
.question-form{margin-top:18px}
.question-form fieldset{border:0;padding:10px 0;margin:0}
.question-form legend{font-weight:600;font-size:15px}
.question-form label{display:block;padding:9px 12px;margin:6px 0;background:var(--paper);border-radius:9px;cursor:pointer;font-size:14px}
.question-form input{accent-color:var(--accent);margin-right:8px}
.question-form textarea{border:1px solid var(--line);border-radius:10px;min-height:70px;padding:8px 12px;margin-top:7px}
.choices{margin-top:16px;border-top:1px solid var(--line);padding-top:15px}
.choice-card{margin:0 0 16px}
.choice-question{margin:0 0 5px;font-size:14.5px;font-weight:600;white-space:pre-wrap}
.choice-reference{margin:6px 0 2px;padding:7px 11px;border-left:3px solid var(--accent-soft);background:#fafcff;border-radius:0 7px 7px 0;font-size:13px;color:var(--ink);white-space:pre-wrap}
.choice-reference-note{margin:0 0 8px;font-size:12px;color:var(--muted)}
.choice-why{margin:0 0 9px;font-size:13px;color:var(--muted);line-height:1.6}
.choice-options{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid #d3dcea;background:#fff;color:var(--ink);border-radius:999px;padding:7px 15px;font-size:13.5px;line-height:1.3}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chip.picked{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}
.choice-submit{margin-top:11px;min-width:120px;padding:9px 18px}
.choice-hint{margin:12px 0 0;font-size:12px;color:var(--muted)}

/* ===== 状态、错误 ===== */
#status:not(:empty){padding:10px 4px;font-size:14px;color:var(--accent)}
#status button{margin-left:12px}
#error{background:#fff2ee;color:#a2452c;padding:10px 14px;border-radius:10px;font-size:14px;margin:8px 0}
#service-notice{width:min(724px,calc(100% - 36px));margin:12px auto 0;padding:9px 14px;background:#fff7e6;color:#8a6624;border-radius:10px;font-size:13px;flex-shrink:0}
/* 等待时那个转圈。原来是个一大一小闪的点，看久了像卡住了。 */
.loading-dot{display:inline-block;width:13px;height:13px;box-sizing:border-box;border-radius:50%;background:none;border:2px solid var(--line);border-top-color:var(--accent);margin-right:9px;vertical-align:-2px;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* 系统里开了「减少动态效果」的，就不转了，免得晕。 */
@media (prefers-reduced-motion:reduce){.loading-dot{animation:pulse 1.6s ease-in-out infinite}}
@keyframes pulse{0%,100%{opacity:.3}50%{opacity:1}}

/* ===== 文件内容浮层 ===== */
.doc-peek{animation:peek-in .16s ease-out}
@keyframes peek-in{from{opacity:0}to{opacity:1}}

/* ===== 回答里的图 ===== */
.svg-figure{margin:14px 0;overflow-x:auto}
.svg-figure svg{max-width:100%;height:auto;display:block}
.svg-figure text{font-family:inherit}

/* ===== 表格 ===== */
.table-wrap{overflow-x:auto;margin:14px 0}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{text-align:left;vertical-align:top;border:1px solid var(--line);padding:9px 12px;min-width:90px}
th{background:var(--paper)}
hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}

/* ===== 联系律师：默认右下角，可拖动 ===== */
#lawyer-fab{position:fixed;right:16px;bottom:24px;z-index:60;width:46px;height:46px;border:0;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 18px #1557c047;padding:0;touch-action:none;transition:box-shadow .15s}
#lawyer-fab:active{box-shadow:0 2px 8px #1557c066}
#lawyer-fab.dragging{opacity:.85}
#lawyer-card{position:fixed;right:16px;bottom:80px;z-index:60;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;box-shadow:0 12px 32px #16213a1f;font-size:13px;color:var(--muted);line-height:1.8}
#lawyer-card a{display:block;margin-top:2px;color:var(--accent);font-size:18px;font-weight:600;text-decoration:none;letter-spacing:.5px}

@media(max-width:600px){
header{padding:0 14px;height:56px;min-height:56px}
.brand{font-size:16px}
nav{gap:6px}
.quiet{font-size:12.5px;padding:6px 11px}
main{padding:0 14px 10px}
#service-notice{width:calc(100% - 28px);margin-top:10px;font-size:12px}
#consultations{right:14px;top:50px;width:262px}
#home-head{padding-bottom:20px}
#home-head h1{font-size:22px}
.home-sub{font-size:14px;padding:0 20px}
#home-tips{padding-top:16px}
.tip{padding:13px 14px;font-size:14px}
#conversation{padding-top:10px}
.user-message{max-width:92%;font-size:14.5px}
.assistant-message{padding:14px 15px;margin-top:14px}
#composer{padding:12px 14px 10px;border-radius:18px}
body:not(.compact) #composer{padding:15px 15px 12px;border-radius:20px}
body:not(.compact) textarea{min-height:68px}
textarea{min-height:28px;font-size:16px}
.privacy{font-size:11px;line-height:1.6}
body{height:100svh}
}
@media print{header,nav,#composer,.privacy,#status,#service-notice,.question-form,#home-head,#home-tips,#lawyer-fab,#lawyer-card{display:none}body,main{height:auto;display:block;background:#fff}#conversation{overflow:visible;display:block!important}.assistant-message,.user-message{box-shadow:none}.user-message{background:#f0f4f8;color:var(--ink)}}


/* ===== 首页改版：标题 / 入口 / 轮播 ===== */
#home-head{position:relative}
#head-title{margin:0 0 8px;font-size:27px;line-height:1.35;font-weight:700;
  letter-spacing:.2px;color:var(--ink);background:none;-webkit-text-fill-color:currentColor}
#head-title b{color:var(--accent);font-weight:700}
.spark{font-size:21px;vertical-align:4px}
#entry-back{position:absolute;left:0;top:-4px;padding:6px 13px;font-size:13px}

/* 四个入口：图标裸放，不套卡片 */
#home-entry{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;
            margin-top:22px;padding:0 2px}
.entry{border:0;background:transparent;padding:6px 2px;
       display:flex;flex-direction:column;align-items:center;gap:9px;
       color:var(--ink);border-radius:14px;transition:background .15s}
.entry:hover,.entry:active{background:#ffffffb0}
.entry svg{width:31px;height:31px;color:var(--accent);display:block}
.entry-txt{font-size:12.5px;line-height:1.25;letter-spacing:-.2px;color:#44506a}

/* 轮播 */
#home-banner{margin-top:16px;position:relative;border-radius:16px;overflow:hidden;
             box-shadow:0 6px 22px #16213a14;height:0;padding-bottom:30%}
#home-banner .slide{position:absolute;inset:0;opacity:0;transition:opacity .55s ease}
#home-banner .slide.on{opacity:1}
#home-banner img{width:100%;height:100%;object-fit:cover;display:block}
#home-banner .dots{position:absolute;left:0;right:0;bottom:8px;
                   display:flex;justify-content:center;gap:6px}
#home-banner .dots i{width:5px;height:5px;border-radius:50%;
                     background:#ffffff70;transition:.3s}
#home-banner .dots i.on{background:#fff;width:14px;border-radius:3px}

/* 进了专门页：其余几块收起来 */
body[data-entry] #home-entry,
body[data-entry] #home-banner,
body[data-entry] #home-tips{display:none}
body.compact #home-entry,body.compact #home-banner{display:none}

@media(max-width:480px){
  #head-title{font-size:23px}
  .spark{font-size:18px}
  #home-entry{margin-top:18px}
  .entry svg{width:28px;height:28px}
  .entry-txt{font-size:12px}
  #home-banner{margin-top:13px}
}

/* 每题输入框的提示字 */
.choice-note::placeholder{font-size:12px;color:#a3aab6;}

/* 分析过程 */
.steps-box{margin:6px 0 12px;padding:10px 12px;border:1px solid #e3e8f0;border-radius:12px;background:#f8fafc;}
.steps-head{display:block;width:100%;padding:0;border:0;background:none;font:inherit;font-size:13px;color:#6b7383;text-align:left;cursor:pointer;}
.steps-list{margin-top:8px;}
.step-row{display:flex;gap:10px;align-items:flex-start;padding:6px 0;}
.step-ok{flex:none;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#1f6fd6;color:#fff;font-size:11px;line-height:1;margin-top:1px;}
.step-spin{flex:none;width:14px;height:14px;margin:2px;border:2px solid #c9d3e3;border-top-color:#1f6fd6;border-radius:50%;animation:stepspin .8s linear infinite;}
@keyframes stepspin{to{transform:rotate(360deg);}}
.step-body{min-width:0;flex:1;}
.step-title{font-size:14px;color:#2f3645;line-height:1.5;}
.step-detail{font-size:12px;color:#8a92a0;line-height:1.5;margin-top:2px;}
.step-item{font-size:12px;color:#5b6472;line-height:1.6;}

/* 引用出处 */
.cite{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 6px;margin:0 3px;border:0;border-radius:9px;background:#dbe8ff;color:#1452b8;font:inherit;font-size:11px;font-weight:600;line-height:1;vertical-align:2px;cursor:pointer;}
.cite+.cite{margin-left:1px;}
.refs-box{margin:12px 0 4px;padding:12px 14px;border:1px solid #e3e8f0;border-radius:12px;background:#f8fafc;}
.refs-head{font-size:14px;font-weight:600;color:#2f3645;margin-bottom:4px;}
.refs-item{display:block;width:100%;padding:4px 0;border:0;background:none;font:inherit;font-size:13px;color:#8a92a0;line-height:1.6;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.refs-more{display:block;margin:6px auto 0;padding:2px 10px;border:0;background:none;font:inherit;font-size:13px;color:#5b6472;cursor:pointer;}
.refs-mask{position:fixed;inset:0;z-index:70;background:rgba(15,23,42,.38);display:flex;align-items:flex-end;justify-content:center;}
.refs-sheet{width:100%;max-width:640px;max-height:82vh;display:flex;flex-direction:column;background:#fff;border-radius:16px 16px 0 0;overflow:hidden;}
.refs-bar{flex:none;display:flex;align-items:center;padding:14px 16px;border-bottom:1px solid #edf0f5;background:linear-gradient(#f2f7ff,#fff);}
.refs-bar-title{flex:1;text-align:center;font-size:16px;font-weight:600;color:#1f2633;}
.refs-x{flex:none;width:28px;height:28px;border:0;background:none;font-size:24px;line-height:1;color:#5b6472;cursor:pointer;}
.refs-list{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;}
.ref-row{padding:14px 16px;border-bottom:1px solid #f0f2f6;}
.ref-focus{background:#f2f7ff;}
.ref-l1{display:flex;align-items:flex-start;gap:6px;font-size:15px;line-height:1.55;color:#1f2633;}
.ref-num{flex:none;color:#1f2633;}
.ref-tag{flex:none;padding:0 6px;border-radius:4px;background:#e6efff;color:#1f6fd6;font-size:12px;line-height:20px;margin-top:1px;}
.ref-title{min-width:0;}
.ref-meta{margin:4px 0 0 18px;font-size:12px;color:#8a92a0;}
.ref-l3{display:flex;justify-content:space-between;align-items:center;margin:8px 0 0 18px;font-size:12px;color:#8a92a0;}
.ref-tog{border:0;background:none;padding:0;font:inherit;font-size:12px;color:#5b6472;cursor:pointer;}
.ref-body{margin:10px 0 0 18px;padding:10px 12px;border-radius:8px;background:#f6f8fb;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.8;color:#2f3645;}

/* 回到底部按钮 */
.to-bottom{position:fixed;left:50%;bottom:140px;z-index:40;width:44px;height:44px;margin-left:-22px;border:1px solid #e3e8f0;border-radius:50%;background:#fff;color:#2f3645;font-size:20px;line-height:1;box-shadow:0 4px 14px rgba(15,23,42,.12);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s;}
.to-bottom.show{opacity:1;pointer-events:auto;transform:none;}

/* 停止按钮 */
#send.stopping{background:#2f3645;color:#fff;}

/* 发送按钮图标 */
#send.icon{width:46px;height:46px;min-width:46px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:0;}
#send.icon svg{display:block;}
#send.icon.empty{background:#cfd6e0;color:#fff;box-shadow:none;cursor:default;opacity:1;}
#send.icon.stopping{background:#2f3645;color:#fff;opacity:1;}
#send.icon.halting{opacity:.5;}

/* 语音输入 */
.voice-btn{margin-left:auto;margin-right:8px;width:42px;height:42px;min-width:42px;padding:0;border:0;border-radius:50%;background:transparent;color:#5b6577;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;}
.voice-btn:active{background:#eef2f7;}

/* 图表（ECharts） */
.chart-figure{width:100%;margin:14px 0;border:1px solid #e3e8f0;border-radius:12px;background:#fff;overflow:hidden;}

/* 案例编号 + 非公开声明 + 联系律师 */
.case-code{margin:4px 0 0 18px;font-size:12px;color:#5b6472;letter-spacing:.3px;}
.case-foot{margin:10px 0 0 18px;padding:10px 12px;border-radius:8px;background:#fff8ef;border:1px solid #f6e3c8;}
.case-note{font-size:12px;line-height:1.6;color:#8a6d3b;}
.case-contact{display:block;margin-top:8px;padding:6px 14px;border:0;border-radius:999px;background:#1557c0;color:#fff;font:inherit;font-size:13px;cursor:pointer;}
.case-contact[hidden]{display:none;}
.case-mask{position:fixed;inset:0;z-index:90;background:rgba(15,23,42,.38);display:flex;align-items:flex-end;justify-content:center;}
.case-sheet{width:100%;max-width:640px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:16px 16px 0 0;}
.case-sheet-head{text-align:center;font-size:16px;font-weight:600;color:#1f2633;}
.case-sheet-sub{text-align:center;margin:4px 0 12px;font-size:13px;color:#8a92a0;user-select:text;-webkit-user-select:text;}
.case-sheet-btn{display:block;width:100%;margin-top:8px;padding:12px;border:0;border-radius:10px;background:#f2f6fc;color:#1557c0;font:inherit;font-size:15px;cursor:pointer;}
.case-sheet-cancel{background:#fff;color:#5b6472;}
.case-toast{position:fixed;left:50%;top:40%;z-index:95;transform:translateX(-50%);max-width:80%;padding:10px 16px;border-radius:10px;background:rgba(31,38,51,.9);color:#fff;font-size:14px;line-height:1.5;text-align:center;}
.case-copy{position:fixed;left:-9999px;top:0;opacity:0;}

/* 案例下面那块：低调版 */
.case-foot{margin:8px 0 0 18px;padding:0;border:0;border-radius:0;background:none;}
.case-note{font-size:11px;line-height:1.6;color:#a0a7b3;}
.case-contact{display:inline-block;margin-top:4px;padding:2px 0;border:0;border-radius:0;background:none;color:#1557c0;font-size:13px;}

/* 案例详情排版 */
.ref-body.cb{white-space:normal;line-height:1.7;}
/* 参考依据展开后按正文排版（比正文小一号） */
.ref-body.md{white-space:normal;line-height:1.75;}
.ref-body.md>:first-child{margin-top:0}
.ref-body.md>:last-child{margin-bottom:0}
.ref-body.md p{margin:5px 0;white-space:pre-wrap}
.ref-body.md h2{font-size:14px;margin:12px 0 6px;color:var(--accent-deep)}
.ref-body.md h3{font-size:13.5px;margin:10px 0 5px}
.ref-body.md hr{border:0;border-top:1px solid var(--line);margin:10px 0}
.ref-body.md .table-wrap{margin:8px 0;background:#fff;border-radius:6px}
.ref-body.md table{font-size:12.5px}
.ref-body.md th,.ref-body.md td{padding:6px 8px;min-width:64px}
.ref-body.md ul,.ref-body.md ol{margin:6px 0!important}
.ref-body.md li{margin:3px 0!important;line-height:1.7!important}
/* 点历史咨询打开对话页：对话画出来之前不闪首页，只显示一行「正在打开咨询…」（boot.js 标记，8 秒保底恢复） */
html.chat-opening body:not(.compact) header,html.chat-opening body:not(.compact) main>*{visibility:hidden}
html.chat-opening body:not(.compact) main{position:relative}
html.chat-opening body:not(.compact) main::before{content:'正在打开咨询…';position:absolute;left:0;right:0;top:38vh;text-align:center;color:#8a93a3;font-size:14px}

.cb-sec+.cb-sec{margin-top:10px;padding-top:10px;border-top:1px dashed #e1e5ec;}
.cb-h{font-size:12px;font-weight:600;color:#8a92a0;margin-bottom:6px;}
.cb-party{padding:8px 10px;margin-bottom:8px;border-radius:8px;background:#fff;}
.cb-ph{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-bottom:2px;color:#1f2633;}
.cb-resp{margin-left:auto;padding:0 8px;border-radius:10px;font-size:12px;font-weight:600;line-height:20px;}
.cb-r1{background:#fdeaea;color:#c0392b;}.cb-r2{background:#e6efff;color:#1557c0;}.cb-r3{background:#fff3e0;color:#b26a00;}.cb-r0{background:#eef1f5;color:#5b6472;}
.cb-line{color:#2f3645;}
.cb-line b{color:#1f2633;}
.cb-quiet{color:#5b6472;font-size:12px;}

/* 请团队联系我 */
.next-box{margin:16px 0 4px;padding-top:14px;border-top:1px solid #e8ebf0;}
.next-h{font-size:15px;font-weight:600;color:#1f2633;margin-bottom:10px;}
.next-step{display:flex;gap:10px;margin-bottom:12px;}
.next-n{flex:none;width:22px;height:22px;border:1.5px solid #1f2633;border-radius:50%;font-size:12px;line-height:20px;text-align:center;color:#1f2633;margin-top:1px;}
.next-body{min-width:0;font-size:14px;line-height:1.65;color:#2f3645;}
.next-body b{color:#1f2633;margin-right:4px;}
.next-why{color:#5b6472;}
.next-team{display:block;margin-top:8px;padding:8px 16px;border:1.5px solid #1f2633;border-radius:10px;background:#fff;color:#1f2633;font:inherit;font-size:14px;cursor:pointer;}
.next-team:disabled{border-color:#d5dae3;color:#8a92a0;cursor:default;}
.ho-sheet{width:100%;max-width:640px;max-height:92vh;overflow:auto;padding:18px 18px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:18px 18px 0 0;box-sizing:border-box;}
.ho-bar{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;}
.ho-title{flex:1;font-size:17px;font-weight:700;line-height:1.5;color:#1f2633;}
.ho-x{flex:none;border:0;background:none;font-size:24px;line-height:1;color:#5b6472;cursor:pointer;}
.ho-team{display:flex;gap:12px;align-items:center;padding:12px;border-radius:12px;background:#f6f5f2;margin-bottom:12px;}
.ho-logo{flex:none;width:40px;height:40px;border-radius:8px;background:#b4271f;color:#fff;font-weight:700;font-size:18px;line-height:40px;text-align:center;}
.ho-team-t{display:flex;flex-direction:column;font-size:12px;color:#5b6472;line-height:1.6;}
.ho-team-t b{font-size:15px;color:#1f2633;}
.ho-ok{display:flex;gap:8px;font-size:13px;line-height:1.6;color:#2f3645;margin-bottom:14px;}
.ho-tick{flex:none;color:#22a06b;font-weight:700;}
.ho-label{font-size:13px;color:#5b6472;margin:4px 0 6px;}
.ho-phone{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #d5dae3;border-radius:12px;margin-bottom:12px;}
.ho-num{flex:1;font-size:16px;color:#1f2633;}
.ho-src{font-size:12px;color:#8a92a0;}
.ho-edit{border:0;background:none;color:#b4271f;font:inherit;font-size:14px;cursor:pointer;}
.ho-input{flex:1;border:0;outline:0;font:inherit;font-size:16px;color:#1f2633;background:none;}
.ho-chips{display:flex;gap:8px;margin-bottom:16px;}
.ho-chip{flex:1;padding:10px 0;border:1px solid #d5dae3;border-radius:10px;background:#fff;color:#1f2633;font:inherit;font-size:14px;cursor:pointer;}
.ho-chip.on{background:#1f2633;border-color:#1f2633;color:#fff;}
.ho-go{display:block;width:100%;padding:13px;border:0;border-radius:12px;background:#b4271f;color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;}
.ho-go:disabled{opacity:.6;}
.ho-law{margin:8px 0 12px;text-align:center;font-size:11px;color:#8a92a0;}
.ho-alt{text-align:center;font-size:13px;color:#8a92a0;}
.ho-link{border:0;background:none;padding:0;color:#1f2633;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;}
.ho-done{position:fixed;inset:0;z-index:95;overflow:auto;padding:48px 18px 24px;background:#f4f3f0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;}
.ho-done-icon{width:56px;height:56px;border-radius:50%;background:#e1f2ea;color:#22a06b;font-size:28px;line-height:56px;text-align:center;margin-bottom:14px;}
.ho-done-h{font-size:19px;font-weight:700;color:#1f2633;margin-bottom:6px;}
.ho-done-p{font-size:13px;color:#5b6472;text-align:center;margin-bottom:16px;}
.ho-card{width:100%;max-width:560px;box-sizing:border-box;padding:6px 16px;margin-bottom:12px;border-radius:14px;background:#fff;}
.ho-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;font-size:14px;color:#5b6472;border-bottom:1px solid #f0f1f4;}
.ho-row:last-child{border-bottom:0;}
.ho-row b{color:#1f2633;font-weight:500;text-align:right;}
.ho-tip-h{font-size:14px;font-weight:600;color:#1f2633;padding:10px 0 4px;}
.ho-tip{font-size:13px;line-height:1.7;color:#2f3645;padding-bottom:10px;}
.ho-back{margin-top:auto;width:100%;max-width:560px;padding:12px;border:1px solid #1f2633;border-radius:12px;background:#fff;color:#1f2633;font:inherit;font-size:15px;cursor:pointer;}

/* 下一步按钮、确认卡：按文档尺寸 */
.next-team{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border:1px solid #1f2633;border-radius:10px;}
.next-icon{flex:none;}
.next-team.ho-sent{border-color:#d5dae3;color:#5b6472;}
.next-team.ho-sent::before{content:'✓';color:#22a06b;font-weight:700;margin-right:2px;}
.next-later{display:block;margin-top:6px;font-size:13px;color:#8a92a0;}
.ho-x{min-width:44px;min-height:44px;margin:-10px -10px 0 0;}
.ho-go{min-height:50px;}

/* 视频上传 */
.video-ups{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;}
.video-up{position:relative;display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:10px;background:#f2f6fc;font-size:13px;color:#2f3645;overflow:hidden;}
.video-up i{position:absolute;left:0;bottom:0;height:3px;width:0;background:#1557c0;transition:width .3s;}
.video-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.video-st{flex:none;color:#5b6472;}
.video-up.done .video-st{color:#22a06b;}
.video-up.fail .video-st{color:#c0392b;white-space:normal;}

/* 我的案件材料 */
.mat-home{display:block;width:100%;margin:10px 0 0;padding:10px 14px;border:1px solid #e3e8f0;border-radius:12px;background:#fff;color:#2f3645;font:inherit;font-size:13px;text-align:left;cursor:pointer;}
.mat-page{position:fixed;inset:0;z-index:85;overflow:auto;background:#f4f3f0;}
.mat-top{position:sticky;top:0;display:flex;align-items:center;gap:6px;padding:12px 10px;background:#fff;border-bottom:1px solid #eceae5;z-index:1;}
.mat-back{border:0;background:none;font-size:26px;line-height:1;padding:0 8px;color:#1f2633;cursor:pointer;}
.mat-title{font-size:16px;font-weight:600;color:#1f2633;}
.mat-body{padding:14px;max-width:640px;margin:0 auto;}
.mat-card{background:#fff;border-radius:14px;padding:12px 14px;margin-bottom:12px;}
.mat-prog-h{display:flex;justify-content:space-between;font-size:14px;color:#1f2633;margin-bottom:8px;}
.mat-bar{height:6px;border-radius:3px;background:#eceae5;overflow:hidden;}
.mat-bar i{display:block;height:100%;background:#1f2633;}
.mat-tip{margin-top:8px;font-size:12px;color:#5b6472;line-height:1.6;}
.mat-sec{font-size:13px;color:#8a92a0;margin:4px 2px 8px;}
.mat-hint{font-size:12px;color:#8a92a0;margin-bottom:4px;}
.mat-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f1f4;}
.mat-need{border:1.5px solid #1f2633;border-radius:12px;padding:10px;margin:4px 0;}
.mat-ok{flex:none;width:22px;height:22px;border-radius:6px;background:#e1f2ea;color:#22a06b;font-size:13px;line-height:22px;text-align:center;}
.mat-mid{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px;color:#1f2633;}
.mat-sub{font-size:12px;color:#8a92a0;line-height:1.5;margin-top:2px;}
.mat-up{flex:none;padding:6px 14px;border:1px solid #d5dae3;border-radius:8px;background:#fff;color:#1f2633;font:inherit;font-size:13px;cursor:pointer;}
.mat-need .mat-up{background:#1f2633;border-color:#1f2633;color:#fff;}
.mat-file{display:flex;align-items:center;gap:10px;padding:8px 0 8px 32px;}
.mat-file img{width:44px;height:44px;object-fit:cover;border-radius:6px;flex:none;}
.mat-ficon{width:44px;height:44px;border-radius:6px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;flex:none;}
.mat-fname{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px;color:#2f3645;}
.mat-fname span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mat-fname small{color:#8a92a0;font-size:11px;}
.mat-more{flex:none;border:0;background:none;color:#8a92a0;font-size:18px;cursor:pointer;padding:4px 8px;}
.mat-label{font-size:13px;color:#5b6472;margin:6px 0;}
.mat-kinds{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;}
.mat-kind{padding:6px 12px;border:1px solid #d5dae3;border-radius:999px;background:#fff;font:inherit;font-size:13px;color:#1f2633;cursor:pointer;}
.mat-del{color:#c0392b;}
.mat-no{flex:none;width:22px;height:22px;border-radius:6px;border:1.5px solid #d5dae3;box-sizing:border-box;}

/* 确认卡里的上传区 */
.ho-vz{margin-bottom:12px;}
.ho-vrow{display:flex;align-items:center;gap:10px;margin-bottom:6px;}
.ho-vpick{flex:none;padding:8px 14px;border:1px solid #1f2633;border-radius:10px;background:#fff;color:#1f2633;font:inherit;font-size:14px;cursor:pointer;}
.ho-vhint{font-size:12px;color:#8a92a0;}

/* 材料质量提示 */
.mat-q{color:#b26a00 !important;}

/* 来电提醒、通知详情 */
.ho-remind{display:block;width:100%;min-height:44px;margin:4px 0 12px;border:1px solid #1f2633;border-radius:12px;background:#fff;color:#1f2633;font:inherit;font-size:15px;cursor:pointer;}
.ho-remind:disabled{opacity:.6;}
.ho-notice .ho-done-h{margin-top:8px;}
.ho-notice-team{width:100%;max-width:560px;box-sizing:border-box;background:#fff;}
.ho-notice .ho-tip{padding-top:12px;}

/* 材料页：底部的提交区 */
.mat-submit{position:sticky;bottom:0;z-index:1;padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eceae5;box-shadow:0 -4px 12px rgba(0,0,0,.04);}
.mat-pends{max-width:640px;margin:0 auto;max-height:30vh;overflow:auto;}
.mat-pend{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px;color:#2f3645;border-bottom:1px solid #f0f1f4;}
.mat-pend-k{flex:none;padding:2px 8px;border-radius:6px;background:#f1f3f7;color:#5b6472;font-size:12px;}
.mat-pend-n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mat-pend-x{flex:none;width:32px;height:32px;border:0;background:none;color:#8a92a0;font-size:18px;cursor:pointer;}
.mat-vids{max-width:640px;margin:0 auto;}
.mat-go{display:block;width:100%;max-width:640px;margin:8px auto 0;min-height:48px;border:0;border-radius:12px;background:#1f2633;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;}
.mat-go:disabled{background:#d5dae3;color:#fff;cursor:default;}

/* 点开看材料 */
.mv-mask{position:fixed;inset:0;z-index:120;background:rgba(10,12,16,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 12px 24px;box-sizing:border-box;}
.mv-media{max-width:100%;max-height:78vh;border-radius:8px;background:#000;}
.mv-cap{margin-top:10px;color:#cfd4dc;font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mv-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:24px;line-height:44px;cursor:pointer;}
.mat-fname{cursor:pointer;}
/* 输入框里的视频：能点开、能删 */
.video-up.mpv{align-items:center;}
.mpv-tap .video-name{cursor:pointer;color:#1557c0;text-decoration:underline;text-underline-offset:3px;}
.mpv-x{flex:none;min-width:32px;height:28px;margin:-4px -6px -4px 0;border:0;border-radius:8px;background:none;color:#8a92a0;font-size:18px;cursor:pointer;}
.mpv-x.sure{font-size:12px;color:#c0392b;background:#fdecea;padding:0 8px;}
/* 窄屏：标题太长就省略，右边按钮不折行 */
.brand{min-width:0;flex:1 1 auto;margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
nav{flex:none}
nav button{white-space:nowrap;}
@media (max-width:400px){nav button{padding-left:10px;padding-right:10px;font-size:13px;}}

/* ===== 对话页压紧：看内容的地方尽量大（首页不变） ===== */
/* 顶栏：小程序自己的标题栏已经写着「交通事故责任分析」，这里不再重复，只留三个小按钮，一行 40 高 */
body.compact header{height:40px;min-height:40px;padding:0 10px;justify-content:flex-end}
body.compact .brand{display:none}
body.compact nav{gap:6px}
body.compact nav .quiet{padding:4px 11px;font-size:12.5px;line-height:1.5;box-shadow:none;background:#fff}
body.compact #consultations{top:38px}
body.compact main{padding:0 10px 6px}
body.compact #conversation{padding-top:6px}
/* 底部提示：每条回答下面已经标了「内容由 AI 生成，仅供参考」，对话页不再占一块 */
body.compact .privacy{display:none}
/* 输入框：一行排开 —— ＋、微信、输入框、话筒、发送；打字多了最多长到 4 行，再多在框里滚动 */
body.compact #composer{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 4px;padding:5px 6px;border-radius:24px;box-shadow:0 2px 12px #16213a12}
body.compact #composer .compose-row{display:contents}
body.compact #attachments,body.compact #composer .video-ups,body.compact #composer > .video-up{flex:0 0 100%;order:0}
body.compact #attachments:not(:empty){padding:4px 4px 2px}
body.compact #composer .upload{order:1;width:34px;height:34px;margin-bottom:2px}
body.compact #composer .chatpick-btn{order:1;font-size:0!important;width:34px;height:34px;min-width:34px;padding:0!important;margin:0 0 2px!important;border-radius:50%!important;background:#f1f4f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231557c0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E") center/18px no-repeat!important;box-shadow:none!important}
body.compact #composer textarea{order:2;flex:1 1 0;min-width:0;min-height:24px;max-height:104px;padding:6px 4px;line-height:1.55;font-size:16px}
body.compact #composer .voice-btn{order:3;margin:0 0 2px;width:34px;height:34px;min-width:34px}
body.compact #send{order:4;margin-bottom:1px}
body.compact #send.icon{width:36px;height:36px;min-width:36px}
body.compact #send.icon svg{width:18px;height:18px}

/* 回答下面的小按钮：复制、有用、没用 */
.ans-bar{display:flex;gap:4px;margin:6px 0 0 -6px}
.ans-btn{width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#8a94a6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ans-btn:active{background:#eef2f7}
.ans-btn.on{color:var(--accent);background:var(--accent-soft)}
.ans-why{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.ans-chip{padding:7px 12px;border:1px solid #d5dae3;border-radius:999px;background:#fff;color:#2f3645;font-size:13px;cursor:pointer}
.ans-chip.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.ans-note{width:100%;box-sizing:border-box;border:1px solid #d5dae3;border-radius:10px;padding:8px 10px;font-size:14px;line-height:1.6;resize:none;margin-bottom:10px;min-height:64px}
.ans-go{background:#1f2633;color:#fff}

/* 转发：收到的人看到的只读页 */
body.share-mode header,body.share-mode #home-head,body.share-mode #composer,body.share-mode #home-entry,body.share-mode #home-banner,
body.share-mode #home-tips,body.share-mode #conversation,body.share-mode .privacy,body.share-mode #status,body.share-mode #lawyer-fab,
body.share-mode #lawyer-card,body.share-mode #mat-home,body.share-mode #service-notice{display:none!important}
.share-view{flex:1;overflow-y:auto;padding:14px 4px 96px}
.share-from{font-size:12px;color:var(--muted);text-align:center;margin:2px 0 14px}
.share-view .user-message{margin-bottom:4px}
.share-gone{text-align:center;color:var(--muted);margin-top:40px}
.share-cta{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:70;height:50px;border:0;border-radius:14px;
  background:linear-gradient(90deg,#1557c0,#3d7be0);color:#fff;font:inherit;font-size:16px;font-weight:600;box-shadow:0 6px 18px #1557c040;cursor:pointer}

/* 历史咨询：标题太长省略成一行 */
.history-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 历史咨询：每一条保持自己的高度，不被压扁叠在一起 */
.history-item{flex-shrink:0}

/* 待提交的材料点开能看；「继续上传」不换行 */
.mat-pend-look{cursor:pointer;color:#1f6fd6;text-decoration:underline;text-underline-offset:3px}
.mat-up{white-space:nowrap}

/* 待提交的材料：分类下面带橙色标签 */
.mat-pend-file .mat-fname{cursor:pointer}
.mat-pend-tag{display:inline-block;width:auto;margin-top:2px;padding:0 6px;border-radius:6px;background:#fff4e5;color:#d97706;font-size:12px;line-height:1.6}
.mat-pend-del{font-size:20px;color:#8a93a3}

/* 「待提交」标签缩成小标签 */
.mat-fname .mat-pend-tag{display:block;width:fit-content;max-width:100%}

/* 排队列表（照 Codex）：贴在输入框正上方的一块托盘，一条一行，右边是插队、编辑、删除 */
#queue-list{margin:0 14px -1px;padding:2px 0;background:#f5f7fb;border:1px solid #e1e7f0;border-bottom:none;border-radius:14px 14px 0 0;flex-shrink:0;overflow:hidden}
#queue-list[hidden]{display:none}
#queue-list .q-row{display:flex;align-items:center;gap:6px;min-height:40px;padding:4px 6px 4px 12px}
#queue-list .q-row+.q-row{border-top:1px solid #e8ecf3}
#queue-list .q-mark{flex:none;display:inline-flex;color:#9aa3b2}
#queue-list .q-text{flex:1;min-width:0;font-size:14px;line-height:1.5;color:#2f3645;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#queue-list .q-acts{flex:none;display:flex;align-items:center;gap:2px}
#queue-list button{font:inherit;cursor:pointer;border:none;background:transparent;color:#8a93a3;border-radius:8px;height:30px;display:inline-flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
#queue-list button:hover,#queue-list button:active{background:#e9edf4;color:#2f3645}
#queue-list .q-steer{gap:4px;padding:0 9px;font-size:13px;color:#1f5fd6}
#queue-list .q-steer:hover,#queue-list .q-steer:active{background:#e3ecfb;color:#1f5fd6}
#queue-list .q-steer[disabled]{opacity:.45;cursor:default}
#queue-list .q-plain{color:#5b6472}
#queue-list .q-icon{width:30px;padding:0}
#queue-list .q-editing{align-items:flex-end;padding:8px 8px 8px 12px}
#queue-list textarea{flex:1;min-width:0;font:inherit;font-size:14px;line-height:1.5;border:1px solid #c9d7ef;border-radius:10px;padding:6px 9px;resize:none;background:#fff;color:#2f3645;outline:none}
#queue-list textarea:focus{border-color:#1f5fd6}

/* 刚插队、AI 还没看到的那句话下面的小字 */
.steer-wait{margin:6px 2px 0 auto;width:fit-content;font-size:12px;color:#8a93a3}

.steer-wait{display:flex;align-items:center}
.steer-wait .loading-dot{width:12px;height:12px;margin-right:7px}

/* 「↓」回到最新：回答还在写的时候外面转一圈 */
.to-bottom.gen::before{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid transparent;border-top-color:#1f6fd6;border-right-color:#1f6fd6;animation:tb-spin .9s linear infinite;pointer-events:none;}
@keyframes tb-spin{to{transform:rotate(360deg)}}

/* 「交给团队」按钮单独占一行，放在这一步文字的下面，不和文字挤在一起 */
.next-body .next-team{display:flex;width:fit-content;max-width:100%;margin-top:10px;}

/* 点「提交」后马上的样子：题目不能再改，提交按钮和提示收起（正式画出来时本来也没有） */
.choice-sent>*{pointer-events:none}
.choice-sent .choice-submit,.choice-sent .choice-hint{display:none}
