:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#172e48;background:#eff4f9;font-size:19px}*{box-sizing:border-box}body{margin:0}header{max-width:1400px;margin:auto;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}a{color:#3154bd}h1{font-size:26px;margin:0 0 5px}.brand{display:flex;align-items:center;gap:16px}.brand>b{background:#3154bd;color:white;padding:20px 12px;border-radius:20px}.brand span,.muted{color:#52677f}main{max-width:1320px;margin:auto;padding:0 24px 50px}.toolbar,.actions,.heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.toolbar{margin:12px 0 24px;justify-content:space-between}.nav{display:flex;align-items:center;gap:18px}button,select,input{font:inherit;color:inherit;border:1px solid #9bafc7;border-radius:12px;padding:12px 16px;background:white}button{cursor:pointer;min-height:48px}button:hover{border-color:#3154bd;background:#edf2ff}button:disabled{opacity:.45;cursor:default}.primary{background:#3154bd;color:#fff;border-color:#3154bd}.primary:hover{background:#2445a7;color:white}.card{background:#fff;border:1px solid #d4dfeb;border-radius:24px;padding:28px;margin-bottom:24px}.heading{justify-content:space-between}h2{margin:10px 0 18px;font-size:28px}h3{font-size:22px}.eyebrow{font-size:15px;font-weight:800;color:#3154bd;letter-spacing:1px}.notice{background:#f0f5fb;padding:16px;border-radius:12px;font-size:16px}.workspace{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}.workspace .card{min-width:0}textarea{width:100%;min-height:230px;resize:vertical;font:inherit;line-height:1.8;padding:18px;border:1px solid #9bafc7;border-radius:14px;color:#172e48;background:#fbfdff;margin-bottom:16px}#answer{min-height:230px}p{line-height:1.8}#source,#reference{line-height:2}summary{cursor:pointer;font-weight:700;padding:14px 0}details{border-top:1px solid #dbe4ef;margin-top:18px}#timer{font-size:32px;font-variant-numeric:tabular-nums}.good{color:#087345}.warn{color:#af3b20}.point{padding:12px;background:#f2f6fb;border-radius:10px;margin:10px 0}.checks{display:grid;gap:14px}input[type=checkbox]{width:21px;height:21px}dialog{border:1px solid #a5b7ce;border-radius:24px;max-width:760px;padding:30px;color:inherit}dialog::backdrop{background:#152a4877}#close{float:right}#history button{width:100%;text-align:left;margin:5px 0}small{font-size:16px;color:#52677f}[hidden]{display:none!important}:focus-visible{outline:3px solid #6084ec;outline-offset:3px}@media(max-width:850px){header{flex-wrap:wrap}.brand{order:-1;width:100%;justify-content:center}.workspace{grid-template-columns:1fr;gap:0}main{padding:0 12px 28px}.card{padding:20px}h2{font-size:25px}.toolbar label{width:100%}.toolbar select{max-width:75%}.actions label{width:100%}#backend{max-width:100%}.brand h1{font-size:23px}}
.header-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.answer-keyword{color:#bd202c;font-weight:700}.playback{margin-top:18px}#settingsClose{float:right}#speechSettings .actions{display:grid;gap:18px}#speechSettings label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#transcript{margin-bottom:20px}

.source-translation{border-top:1px solid #dbe4ef;margin-top:20px;padding-top:8px;color:#334c66}.source-translation p{line-height:2}

.summary-text,#actualDiff{font-size:22px;line-height:2.2;overflow-wrap:anywhere}.compare-toggle{display:flex;align-items:center;gap:8px}.diff-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:15px}.diff-legend span{padding:4px 8px;border-radius:5px}.diff-match{color:#087345}.diff-missing{color:#775200;background:#fff0b5;border-bottom:2px solid #a77a00}.diff-change{color:#b21c36;background:#fff0f2;border-bottom:2px solid #c12740}.diff-extra{color:#a32239;background:#ffe8ee;text-decoration:line-through}.input-comparison{padding:14px;background:#f4f7fb;border-radius:12px;margin-bottom:14px}.input-comparison p{margin:8px 0}

#summaryText{background:#fff}.hint-visible{color:#000}.hint-hidden{color:#fff}


.ai-issue{padding:18px;margin:14px 0;border:1px solid #c8d7ea;border-radius:14px;background:#f6f9ff}.ai-issue p{margin:5px 0 10px}.ai-type,.ai-summary{font-weight:700;color:#233f81}.ai-marked,.ai-corrected{font-size:21px;line-height:1.9;overflow-wrap:anywhere}.ai-marked mark{color:#a31d35;background:#ffe7ed;text-decoration:underline}#aiStatus{font-weight:600}#aiSettings label{display:grid;gap:10px}#aiSettings input{width:100%}#aiSettingsClose{float:right}

#answerDiff{font-size:22px;line-height:1.9;overflow-wrap:anywhere}.diff-pending{color:#52677f;border-bottom:2px dotted #8091a5}

#answerDiff .diff-omission{color:#bd202c;font-weight:800;white-space:nowrap}
.compare-toggle:has(#answerCompareEnabled){margin-bottom:18px}

#source .sst-reading-active{background:#ffd7db;color:#a51d2d;border-radius:4px;box-shadow:0 0 0 3px #ffd7db}

.answer-input-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:18px 0 22px}.answer-input-tools .compare-toggle{margin:0;white-space:nowrap;min-height:32px}.answer-input-tools #wordReadStatus{display:block;flex:1 1 180px;min-height:26px;line-height:1.6;margin:0}.answer-input-tools+#answer{display:block;margin-top:0}@media(max-width:550px){.answer-input-tools{gap:12px 18px}.answer-input-tools #wordReadStatus{flex-basis:100%}}

.answer-input-tools .compare-toggle:has(#answerCompareEnabled),.answer-input-tools .compare-toggle:has(#correctWordRead){margin:0;padding:0;line-height:1.5;min-height:32px;align-items:center}.answer-input-tools input[type=checkbox]{margin:0;flex:0 0 21px}.answer-input-tools #wordReadStatus{min-height:32px;display:flex;align-items:center;line-height:1.5}

#spaceIssues{margin-top:14px;font-size:17px;line-height:1.8;color:#a91c35}#spaceIssues mark{background:#ffe1e6;color:#af1634;padding:0 4px;border-bottom:2px solid #b91d37}#spaceIssues div{white-space:pre-wrap;overflow-wrap:anywhere}

.sst-ai-score{margin:24px 0;padding:20px;border:1px solid #cbd8ee;border-radius:16px;background:#f5f8ff}.sst-ai-score h3{margin:0 0 12px;color:#3054b9}.sst-score-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.sst-score-trait{padding:16px;background:white;border:1px solid #d7e0ed;border-radius:12px}.sst-score-trait strong{font-size:1.15em}.sst-score-trait p{margin:10px 0 0;font-size:.9em;line-height:1.6}
