:root{font-family:Inter,"Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:#183047;background:#f4f7fa;line-height:1.7}*{box-sizing:border-box}body{margin:0}header,nav,main{max-width:1080px;margin:auto;padding:18px 24px}header{display:flex;justify-content:space-between;gap:18px}a{color:#12647f;text-decoration:none}nav{display:flex;gap:12px;flex-wrap:wrap}nav a{padding:8px 12px;border-radius:8px}nav a[aria-current]{background:#135c69;color:white}.hero{padding:25px 0}h1{font-size:34px;margin:8px 0}h2{font-size:21px}p{margin:8px 0}.features,.actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.features span{background:#e1eff1;border-radius:20px;padding:5px 13px;font-size:14px}.panel{overflow-wrap:anywhere;padding:26px;background:white;border:1px solid #dce6ed;border-radius:16px;margin-bottom:22px}.hint{font-size:13px;color:#526777}textarea{display:block;width:100%;margin-top:10px;resize:vertical;padding:14px;border:1px solid #aebfc9;border-radius:8px;font:inherit}.consent{display:flex;gap:10px;align-items:baseline;margin-top:16px;font-size:14px}button{font:inherit;border:1px solid #12647f;background:#12647f;color:white;border-radius:8px;padding:10px 16px;cursor:pointer}button:disabled{opacity:.5;cursor:wait}button[data-export],#cancel,#delete{background:white;color:#12647f}#status{font-weight:600}details{border-top:1px solid #dce6ed;padding:15px 0}summary{cursor:pointer;font-weight:600}.record{padding:8px 0;overflow-wrap:anywhere}.record p{white-space:pre-wrap}.record strong{color:#2b5467}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:12px;border:1px solid #dce6ed;text-align:left;vertical-align:top}th{background:#edf6fa}.table-wrap{overflow:auto}#review{overflow-wrap:anywhere}.error{color:#ad3324}[hidden]{display:none!important}@media(max-width:600px){header,nav,main{padding:14px}h1{font-size:28px}.panel{overflow-wrap:anywhere;padding:17px}.actions button{flex:1}nav{gap:4px}nav a{padding:7px}.table-wrap{margin:0 -5px}table{min-width:620px}}

.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;border-bottom:1px solid #dce6ed;padding-bottom:20px;margin-bottom:20px}.workspace select,select,input[type="number"]{font:inherit;max-width:100%;min-width:0;padding:9px;border:1px solid #aebfc9;border-radius:8px;background:#fff;color:#183047}.workspace button{justify-self:start}.quota-note{padding:12px;background:#edf6fa;border-radius:8px;margin:14px 0;font-size:14px}.workflow{padding-left:22px}.document-review-form{display:grid;gap:12px}.document-review-form label{display:grid;gap:5px}.document-review-form fieldset{min-width:0;border:1px solid #dce6ed;border-radius:8px;padding:14px}.document-review-form input[type="number"]{width:110px}.document-review-form button{justify-self:start}#chapter-links button,#new-plan,#save-draft,#refresh-capacity,#query-progress,#latest-version,#more-plans{background:#fff;color:#12647f}button:disabled{cursor:not-allowed}#document-review p{white-space:pre-wrap}@media(min-width:720px){.workspace{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.workspace #revisions{grid-column:2}.workspace #version-note{grid-column:2}.workspace #latest-version{grid-column:3}.workspace #more-plans{grid-column:3}.workspace #new-plan{grid-column:3}.workspace label[for="revisions"]{grid-column:1}}

.workspace-tools{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin:10px 0 18px}.workspace-tools>details{flex:1;min-width:0;border:0;padding:8px 0}.workspace{border:0;padding:12px 0 0;margin:0}.workflow{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:14px;margin:12px 0 18px;padding-left:20px}.quota-note details{padding:6px 0;border:0;font-size:13px}.quota-note details summary{font-weight:normal}.quota-note>button{padding:7px 12px}#brief .actions button{min-height:46px}@media(max-width:600px){.hero{padding:14px 0}.workflow{font-size:13px;gap:8px 24px}.workspace-tools{gap:8px}.workspace-tools>details{flex-basis:58%}#brief .actions button{flex:1 1 100%}.workspace select{width:100%}}

@media(max-width:600px){#exports button,#chapter-links button{flex:1 1 calc(50% - 5px);min-width:0}}
