:root{color:#251715;background:#f7f2ee;font-family:Microsoft YaHei,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}main{height:100vh;display:grid;grid-template-columns:332px 1fr;background:linear-gradient(90deg,rgba(132,24,21,.05),transparent 34%),#f7f2ee}aside{background:#8f1d1a;color:#fff8f2;padding:24px;display:flex;flex-direction:column;gap:12px;border-right:1px solid rgba(97,18,15,.22);min-height:0}.brand{padding-bottom:18px;border-bottom:1px solid rgba(255,248,242,.24)}.brand span{display:block;color:#ffd9c8;font-size:14px}.brand strong{display:block;margin-top:6px;font-size:24px;line-height:1.25;letter-spacing:0}button,.upload{border:0;border-radius:6px;background:#f6d7b2;color:#5b1512;padding:11px 13px;cursor:pointer;text-align:center;font-weight:600}button:hover,.upload:hover{background:#ffe4c3}.upload input{display:none}button:disabled{opacity:.46;cursor:not-allowed}.list{overflow:auto;display:flex;flex-direction:column;gap:8px;padding-top:8px;min-height:0}.row{background:#fff8f217;color:#fff8f2;text-align:left;border:1px solid rgba(255,248,242,.1)}.rowItem{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border-radius:6px}.rowCheck{width:16px;height:16px;margin-top:2px;accent-color:#f6d7b2}.rowBody{flex:1;border:0;padding:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font-weight:600}.rowBody:hover{background:transparent}.row:hover{background:#fff8f229}.row.active{background:#fff8f2;color:#751715;border-color:#fff8f2}.row span,.row small{display:block}.row small{margin-top:5px;line-height:1.45;opacity:.78}.workspace{padding:28px 34px;overflow:hidden;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}h1,h2,h3,p{margin-top:0}.toolbar h1{font-size:28px;margin-bottom:8px;color:#5b1512}.toolbar p{color:#766763;line-height:1.55}.actions{display:flex;gap:10px;flex-shrink:0}.actions button{background:#9d211d;color:#fff8f2}.actions button:hover{background:#b72823}.preview,.welcome{background:#fffdfa;border:1px solid #eadbd2;border-radius:8px;padding:30px;max-width:980px;box-shadow:0 16px 42px #5d181214}.documentPane{max-width:980px;min-height:0;overflow:auto;padding-right:6px}.preview h2{text-align:center;font-size:25px;color:#3a211e}.preview h3{color:#7b1a17;border-left:4px solid #b72823;padding-left:10px;margin-bottom:10px}.preview .meta{color:#7f706b;text-align:center}.preview p{line-height:1.9}.speechBlock{margin-bottom:18px}.speechBlock .speakerName{margin-bottom:0}.speechBlock p:last-child{margin-bottom:0}.revision{max-width:980px;margin-top:16px;display:grid;grid-template-columns:1fr 138px;gap:12px}textarea{min-height:94px;resize:vertical;border:1px solid #dfc8bd;border-radius:8px;padding:12px;background:#fffdfa;color:#251715}textarea:focus{outline:2px solid rgba(183,40,35,.2);border-color:#b72823}.revision button{background:#9d211d;color:#fff8f2}.status{color:#ffe4c3;margin:2px 0}.error{color:#fff8f2;background:#450a0857;padding:10px;border-radius:6px}.empty{max-width:980px;min-height:280px;padding:62px 24px;text-align:center;color:#836f68;border:1px dashed #cdb4a7;border-radius:8px;background:#fffdfa99;display:grid;place-items:center;gap:10px}.empty span,.empty strong{display:block}.loading{color:#7b1a17}.spinner{width:34px;height:34px;border:3px solid #eadbd2;border-top-color:#b72823;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:860px){main{grid-template-columns:1fr}aside{max-height:52vh}.toolbar,.revision{grid-template-columns:1fr;display:grid}}
