:root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#263b45;background:#f5f7f8;font-size:15px}*{box-sizing:border-box}body{margin:0}header{height:68px;padding:0 32px;background:white;border-bottom:1px solid #e1e8ec;display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:2}header strong{font-size:19px;color:#24485b}.sub{margin-left:16px;font-size:14px;color:#71838d}main{max-width:1440px;margin:24px auto;padding:0 24px}button,input,select,textarea{font:inherit}button{border:1px solid #cbd7de;background:white;color:#294957;border-radius:7px;padding:9px 15px;cursor:pointer}button:hover{background:#edf4f7}button:disabled{opacity:.45;cursor:not-allowed}button.primary{color:white;background:#315b70;border-color:#315b70}button.danger{color:#994321}input,select,textarea{border:1px solid #cbd6de;background:white;border-radius:6px;padding:9px;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #86adc2;outline-offset:1px}textarea{width:100%;line-height:1.6;min-height:74px;resize:vertical}label{line-height:1.6}a{color:#315d75;text-underline-offset:3px}h1{font-size:24px;margin:0 0 10px}h2{font-size:19px;margin:0 0 14px}h3{font-size:16px;margin:0 0 8px}.muted{color:#71838d;font-size:13px}.card{background:white;border:1px solid #e0e7eb;border-radius:10px;padding:22px;margin-bottom:18px}.login{max-width:440px;margin:11vh auto}.login label{display:block;margin:16px 0}.login input{width:100%;margin-top:6px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.notice{border-left:3px solid #7298ac;background:#eef4f7;padding:12px 16px;line-height:1.8;margin-bottom:18px}.warning{background:#fff6e8;border-color:#c18a34}.error{color:#a14632;white-space:pre-wrap}.ok{color:#35765a}.layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:20px}.side{max-height:calc(100vh - 154px);overflow:auto;position:sticky;top:92px;align-self:start;background:white;border:1px solid #e1e7eb;border-radius:9px;padding:14px}.side button{width:100%;display:flex;justify-content:space-between;text-align:left;margin:5px 0;font-size:13px;padding:10px}.side button.active{background:#e7f0f5;border-color:#6d94a9}.work{display:grid;grid-template-columns:minmax(260px,1fr) minmax(330px,1fr);gap:18px;align-items:start}.reading{position:sticky;top:150px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:15px;background:#f2f6f8;padding:17px;border-radius:8px;max-height:58vh;overflow:auto}.context-bubble{margin:10px 0;background:#f5f7f8;padding:12px;border-radius:6px;white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere;font-size:14px}.context{max-height:45vh;overflow:auto;margin-top:10px}details summary{cursor:pointer;color:#4e6c7b;padding:8px 0}.tag{padding:13px 0;border-bottom:1px solid #e5ebef}.tag:last-child{border-bottom:0}.tag .options{display:flex;gap:18px;margin:8px 0;flex-wrap:wrap}.tag .options label{font-size:14px;cursor:pointer}.tag input[type=radio]{margin:0 4px 0 0;accent-color:#315b70}.tag textarea{font-size:13px;min-height:60px;margin-top:5px}.hint{font-size:12px;color:#71838d;line-height:1.6}.save-line{min-height:26px;font-size:13px;margin-top:8px}.bottom{display:flex;gap:10px;justify-content:space-between;margin-top:18px;align-items:center;flex-wrap:wrap}.finish{padding:18px 0;border-top:1px solid #dfe7ec;margin-top:22px}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid #e3eaee;padding:10px 9px;white-space:nowrap}th{background:#eef3f6;color:#426073}td button{padding:4px 8px;font-size:12px}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.admin-grid .card{margin:0 0 18px}.stack label{display:block;margin:12px 0}.stack input[type=text]{width:100%}.dispute{padding:14px 0;border-bottom:1px solid #e1e8ed}.mini{font-size:12px;padding:5px 9px}dialog{max-width:920px;width:94vw;border:1px solid #d2dfe7;border-radius:12px;padding:24px;max-height:88vh;overflow:auto;color:#263b45}dialog::backdrop{background:#172c3b66}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#243e4b;color:white;padding:12px 20px;border-radius:8px;z-index:10;display:none;max-width:90vw;white-space:pre-wrap}code{font-family:Consolas,monospace;font-size:12px}small{font-size:12px}.subject-badge{font-weight:600;letter-spacing:.5px}.context-input{width:100%}@media(max-width:1000px){.work{grid-template-columns:1fr}.reading{position:static}.bubble{max-height:38vh}.admin-grid{grid-template-columns:1fr}.side{top:145px;max-height:70vh}}@media(max-width:650px){header{padding:0 16px;height:auto;min-height:66px}.sub{margin-left:8px}main{padding:0 12px;margin:16px auto}.layout{grid-template-columns:1fr}.side{position:static;max-height:160px;display:flex;flex-wrap:wrap;gap:4px}.side h3{width:100%}.side button{width:calc(33% - 5px);padding:7px;display:block;margin:0}.side button span{display:block}.card{padding:16px}.work{gap:0}.toolbar{gap:6px}.admin-grid{display:block}button{padding:9px 11px}h1{font-size:21px}}

.tag:not(:has(input[value="1"]:checked)) textarea,.tag:not(:has(input[value="1"]:checked))>label[for^="evidence-"]{display:none}
