:root{--bg:#f5f1e7;--panel:#fffdf8;--ink:#34423b;--text:#34423b;--muted:#747c72;--line:#deded2;--green:#557769;--green2:#edf1eb;--primary:#557769;--primary-dark:#3e6152;--red:#a16c60;--blue:#537985;--plum:#805975;--apricot:#f3eadc}
body{background:radial-gradient(ellipse at 4% 0%,#d7ddcd25,transparent 35%),#f5f1e7;color:var(--text);font:14px/1.6 "Microsoft YaHei","PingFang SC",system-ui,sans-serif}header,main{width:min(1360px,calc(100% - 56px));max-width:none;margin-left:auto;margin-right:auto}header{height:auto;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 16px;background:none;border:0;padding:26px 0 18px;margin-bottom:18px}.workshop-brand{grid-row:1;grid-column:1}.workshop-brand h1{font:700 36px/1.45 "Noto Serif CJK SC","Songti SC","SimSun",serif;letter-spacing:1px;color:#293d35}.site-description{font:15px/1.6 "SimSun",serif;color:#627364;margin:5px 0 0;letter-spacing:1px}h2,h3,.btitle{font-family:"Noto Serif CJK SC","Songti SC","SimSun",serif}.service-status{display:none}
#accountBar{display:contents!important;background:transparent;padding:0;border:0}#accountBar[hidden]{display:none!important}#accountBar>div:first-child{grid-row:1;grid-column:2;font-size:12px;color:#6d786e;text-align:right;max-width:245px}.member-badge{background:none;padding:0;margin-left:7px;font-size:12px}.mock-badge{display:block;color:#8d7661;font-weight:400;font-size:11px}.account-actions{grid-row:1;grid-column:3;display:flex;gap:12px}.account-actions button,#helpButton{background:none;border:0;padding:4px 0;color:#637461;font-size:12px;font-weight:400;white-space:nowrap}#helpButton{grid-row:2;grid-column:3;justify-self:end;padding-top:14px}.usage-pills{grid-row:2;grid-column:1/3;margin-top:16px;padding-top:13px;border-top:1px solid #c9cebf;gap:20px;min-width:0}.usage-pills span{background:none;border-radius:0;padding:0;font-size:12px;color:#647163}
main{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(360px,1fr);gap:22px;padding:0;align-items:start}.editor-column,.workshop-sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}.panel{background:var(--panel);border:1px solid #deded2;border-radius:9px;box-shadow:0 4px 18px #4d514504}.head,.panel>h2{padding:16px 18px 0;min-height:0;border:0;align-items:center;gap:10px}.head h2,.panel>h2{font-size:23px;line-height:1.5;font-weight:600;color:#344d40;margin:0;display:flex;align-items:center;gap:10px;white-space:nowrap}.step-no{font:400 34px/1.2 Georgia,"Times New Roman",serif;color:#557769}.section-intro{margin:6px 18px 14px;color:var(--muted);font-size:12px}.head>span{font-size:11px;color:#899080;line-height:1.4}.manager .head{justify-content:space-between}.body{padding:16px 18px}.toolbar{display:flex;flex-wrap:wrap;background:none;border:0;padding:0;gap:7px}.word-tools{margin:0 18px 14px}.word-tools button{font-size:12px;padding:8px 10px;flex:0 1 auto}.word-tools #assistantButton{background:#805975;border-color:#805975;color:white}.word-tools #aiWords{background:#ece6f0;border-color:#ddd2e4;color:#6b5977}
button,.download-link{font:500 13px/1.5 "Microsoft YaHei",sans-serif;border:1px solid #d7ddd2;border-radius:6px;padding:9px 12px;background:#f7f8f3;color:#4e6254;box-shadow:none}button:hover{background:#edf1e9;border-color:#99ad9b}.primary,.primary:hover{background:#557769;border-color:#557769;color:white}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #789a81;outline-offset:3px}input,select,textarea{font:13px/1.5 "Microsoft YaHei",sans-serif;border-color:#d6dcd0;border-radius:6px;background:#fffefa;color:#3d5044;padding:8px 9px}input:focus,select:focus,textarea:focus{border-color:#8ca993;box-shadow:0 0 0 3px #789a8115}label{font-size:12px;font-weight:500;color:#52634f}.two{gap:12px}.seg{border-color:#d6dcd0;margin-top:5px}.seg label{font-size:13px;padding:7px}.seg label:has(input:checked){background:#557769}.settings-fields{display:grid;gap:12px;padding:12px 18px 17px}.settings-fields .check{font-size:12px}.settings-fields .check input{width:16px;height:16px}.settings-fields input:not([type=checkbox]),.settings-fields select{height:36px;margin-top:4px}.free-help{font-size:11px;line-height:1.7;margin:-5px 0 0;color:#7b8275}
details summary{cursor:pointer;font-size:12px;color:#65765c;list-style-position:inside}details[open]>summary{margin-bottom:12px}.image-options{margin:0 18px 12px;border-top:1px solid #eeece2;padding-top:9px}.image-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.image-controls label{flex:1;min-width:120px}.image-controls button{font-size:12px}.layout-details{padding-top:8px;border-top:1px solid #eeece2}.project-tools{margin:12px 18px 18px;border-top:1px solid #e8e6da;padding-top:12px}.project-buttons{display:flex;flex-wrap:wrap;gap:7px}.project-buttons button{font-size:11px;padding:7px 9px}
.manager .table-wrap{max-height:650px;overflow:auto;margin:0 18px;border:1px solid #deded2;border-radius:6px}.manager table{table-layout:fixed;width:100%;min-width:580px;border-collapse:collapse}.manager th,.manager td{padding:9px 6px;border-bottom:1px solid #e6e4da;vertical-align:middle}.manager th{font-size:12px;font-weight:600;background:#eef0e8;color:#56644f;padding-top:11px;padding-bottom:11px}.manager th:first-child,.manager td:first-child,.manager th:nth-child(6),.manager td:nth-child(6){display:none}.manager th:nth-child(2){width:66px}.manager th:nth-child(3){width:112px}.manager th:nth-child(4){width:132px}.manager th:nth-child(7){width:102px}.manager td input{width:100%;min-width:0;margin:0;height:36px;padding:7px 6px;font-size:12px;background:#fffefa}.manager td select{max-width:100%;font-size:10px}.manager td small{font-size:10px}.thumb{width:54px;height:58px;border:0;border-radius:0;background:#fffdf8;font-size:11px}.thumb img{object-fit:contain}.actions{display:grid;grid-template-columns:1fr 1fr;gap:4px}.actions button{font-size:10px;padding:5px 2px;color:#607b67;white-space:nowrap}.actions .remove{color:#a16c60}.addline{padding:10px 18px 0;display:block}.addline button{width:100%;border-style:dashed;background:none;color:#557769;padding:10px;font-size:12px}.addline span{display:block;margin-top:7px;color:#8e9487;font-size:10px;line-height:1.6}
.preview{grid-column:auto!important}.preview .head{flex-wrap:wrap}.preview .head h2{font-size:22px}.preview .head>#cardCounter{font-size:11px;margin-left:auto}.preview-nav{margin:0;padding:0;gap:4px}.preview-nav button{padding:3px 7px;font-size:12px}.preview-body{padding:14px 18px 12px;min-height:280px;display:grid;place-items:center}.preview-body .bcard{max-width:100%;width:100%;aspect-ratio:1/1.04;padding:8px;border-color:#718174;border-width:1px;color:#34423b}.preview-body .btitle{font-size:15px}.preview-body .cell b{font-size:14px}.preview-body .empty{font-size:12px;padding:50px 0}.preview-body .empty b{font-family:"SimSun",serif;font-size:18px;font-weight:400}.preview-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;padding:0 18px 17px}.preview-actions button{font-size:12px;padding:10px 7px;min-height:40px}.preview-actions #teacherButton{background:#ece6f0;border-color:#ddd2e4;color:#6b5977}.preview-actions #saveCloud{background:#f3eadc;border-color:#e5d9c6;color:#8c7051}
.task-details{padding:16px 18px}.task-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 15px/1.5 "SimSun",serif;color:#4d6354}.task-details>summary:before{content:'›';font:20px/1 Georgia;margin-right:3px}.task-details[open]>summary:before{content:'⌄'}.task-details>summary span:last-child{margin-left:auto;font:11px/1.5 "Microsoft YaHei",sans-serif;color:#8b9284}.queue-grid{grid-template-columns:1fr;gap:16px}.queue-grid>div{padding:0;border:0}.queue-grid>div:first-child label{font-size:11px}.queue-grid textarea{min-height:90px;font-size:11px}.logs p{font-size:11px;line-height:1.8;color:#7c8576}.queue-list{font-size:12px}.progress{background:#e6e9df;height:7px}.progress i{background:#789a81}.progress-text{font-size:12px;font-weight:500}
dialog{border:1px solid #deded2;border-radius:12px;background:#fffdf8;color:#34423b;box-shadow:0 25px 90px #243b3030;width:min(1050px,94vw)}dialog::backdrop{background:#263c3559}.dialog-head{background:#fffdf8;border-color:#e3e3d8;padding:15px 20px}.dialog-head h2{font:600 23px/1.5 "SimSun",serif;margin:0}.dialog-head button{font-size:12px}.ai-dialog .body{padding:18px 20px;gap:14px}.hint{font-size:12px;line-height:1.8;color:#7c8275}.ai-dialog th{font-size:12px;background:#edf1eb}.ai-dialog td{padding:8px 5px}.ai-dialog input{font-size:12px}.ai-dialog .buttons{justify-content:flex-start}.assistant-layout{grid-template-columns:1fr 1fr;gap:24px!important}.assistant-layout>div{min-width:0}.assistant-layout h3{font-size:20px;font-weight:500}.assistant-layout .chat-history{max-height:180px}.assistant-layout textarea{min-height:180px}.assistant-layout #askAssistant{margin-top:12px;background:#805975;border-color:#805975}.assistant-layout .toolbar{margin-top:12px}.assistant-layout .toolbar button{font-size:11px}.chat-message{font-size:12px;line-height:1.8;background:#edf1eb}.chat-message.user{background:#f3eadc}.plan-terms table{min-width:550px}.plan-terms input{font-size:12px}.plan-terms{max-height:340px}#applyAssistant{background:#557769}#assistantStatus{font-size:12px;color:#6d7e68}.ai-dialog #assistantPlan p{font-size:12px;line-height:1.8}.help-body{display:block!important}.help-body ol{padding-left:23px}.help-body li{margin:0 0 14px;line-height:1.9}.help-body p{font-size:13px;line-height:1.9}.help-body h3{margin:22px 0 8px}.teacher-stage{background:#f4f2e9}.called-list span{background:#edf1eb;color:#557769}.teacher-stage small{color:#7b8275}.member-edit{border-color:#deded2;background:#fffefa}.member-edit h3{font-size:18px;font-weight:500}.member-edit .buttons{display:flex;flex-wrap:wrap;gap:7px}.member-edit input,.member-edit select{width:100%}.member-fields{gap:12px}.member-edit .save-state{font-size:12px}.library-card{border-color:#deded2;background:#fffefa}.cloud-item{border-color:#e3e2d6}.cloud-item button{font-size:12px}
#authScreen{min-height:100vh;width:min(1140px,calc(100% - 64px));max-width:none;padding:70px 0;gap:80px;grid-template-columns:1.2fr 1fr}.auth-brand h1{font:700 44px/1.45 "SimSun",serif;color:#293d35;margin:0 0 22px}.auth-brand p{font-size:15px;line-height:2;color:#75806f}.auth-features{font:17px/1.6 "SimSun",serif;gap:18px;color:#557769;margin-top:32px}.auth-brand small{color:#8c9285}.auth-card{padding:34px;border-color:#deded2;background:#fffdf8;border-radius:10px;box-shadow:0 7px 24px #4d514507;gap:15px}.auth-card h2{font:600 25px/1.5 "SimSun",serif;color:#344d40}.auth-card input{height:43px;margin-top:7px}.auth-card p{font-size:13px}.auth-card .hint{font-size:11px}.auth-card .primary{min-height:43px;letter-spacing:2px}.auth-card button[name=action][value=register]{background:none;border-color:#d7ddd2;color:#6e7c66}footer{font-size:11px;color:#8a9282;padding:23px 0 28px;line-height:1.9}.signed-out>header,.signed-out>main,.signed-out>footer{display:none!important}
@media(max-width:1150px){header,main{width:calc(100% - 36px)}main{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:16px}.workshop-brand h1{font-size:30px}.site-description{font-size:13px}.word-tools{gap:6px}.word-tools button{font-size:11px;padding:8px}.manager table{min-width:560px}.manager .head{flex-wrap:wrap}.manager .head>span{margin-left:0}.usage-pills{gap:12px}.settings-fields{gap:10px}.head h2,.panel>h2{font-size:21px}.step-no{font-size:31px}.preview .head h2{font-size:20px}.preview-nav{margin-left:0}.preview .head{gap:7px}}
@media(max-width:860px){main{grid-template-columns:1fr!important}.workshop-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.manager .table-wrap{max-height:520px}.workshop-brand h1{font-size:29px}.site-description{font-size:12px}.account-actions{gap:9px}#accountBar>div:first-child{font-size:11px}.account-actions button{font-size:11px}.usage-pills{gap:13px;flex-wrap:wrap}.usage-pills span{font-size:11px}.task-details{order:2}.assistant-layout{grid-template-columns:1fr}.plan-terms{max-height:300px}#authScreen{gap:32px}.auth-brand h1{font-size:36px}}
@media(max-width:600px){header,main{width:calc(100% - 24px)}header{display:flex;flex-wrap:wrap;padding-top:18px;gap:12px;margin-bottom:14px}.workshop-brand{width:100%}.workshop-brand h1{font-size:28px}.site-description{font-size:12px;letter-spacing:0}.account-actions{margin-left:auto}.usage-pills{order:4;width:100%;margin:0;padding-top:10px;gap:8px 14px}.usage-pills span{font-size:10px}.mock-badge{display:none}#accountBar>div:first-child{max-width:none;text-align:left}#helpButton{order:3;margin-left:auto;padding:0;font-size:11px}.account-actions button{font-size:11px}.member-badge{font-size:11px}.workshop-sidebar{display:flex}.settings,.preview{width:100%}.head,.panel>h2{padding:14px 14px 0}.manager .section-intro{margin-left:14px}.word-tools{margin-left:14px;margin-right:14px;gap:6px}.word-tools button{flex:1 1 40%;font-size:11px;padding:8px}.image-options{margin-left:14px;margin-right:14px}.manager .table-wrap{margin:0 12px;max-height:420px;overflow:auto}.manager table{min-width:560px}.manager .head>span{font-size:10px}.addline,.project-tools{margin-left:0;margin-right:0;padding-left:14px;padding-right:14px}.project-tools{margin-left:14px;margin-right:14px;padding-left:0;padding-right:0}.preview-body{min-height:260px;padding:12px 14px}.preview-body .bcard{max-width:370px}.settings-fields{padding:12px 14px 16px}.preview-actions{padding-left:14px;padding-right:14px}.task-details>summary span:last-child{font-size:10px}.task-details>summary{font-size:14px}.dialog-head{padding:12px 14px}.dialog-head h2{font-size:20px}.ai-dialog .body{padding:14px}.assistant-layout{gap:20px!important}.assistant-layout textarea{min-height:140px}.plan-crop .crop-boxes{gap:5px}.member-fields{grid-template-columns:1fr 1fr}.member-edit{padding:12px}.member-edit h3{font-size:16px}#authScreen{width:calc(100% - 32px);min-height:100vh;grid-template-columns:1fr;padding:28px 0;gap:28px}.auth-brand h1{font-size:31px;margin-bottom:12px}.auth-brand p{font-size:13px;line-height:1.8}.auth-features{margin:20px 0 8px;gap:12px;font-size:14px}.auth-card{padding:24px;gap:13px}.auth-card h2{font-size:23px}.auth-card .hint{font-size:10px}footer{font-size:10px}}
@media print{header,main,footer,#accountBar,#helpDialog{display:none!important}body{background:white!important}#printArea{display:block!important}.printgrid .bcard{color:#17243b}.printgrid .btitle{font-family:"Noto Serif CJK SC","Songti SC","SimSun",serif}.printgrid .cell b{font-family:"Microsoft YaHei",system-ui,sans-serif}}

#helperStatus{display:none!important}

.mobile-table-hint{display:none}@media(max-width:600px){.mobile-table-hint{display:block;margin:0 14px 8px;font-size:10px;color:#7b8275}}

.original-option{margin:12px 0 5px}.original-option input{width:16px;height:16px}.library-card small{line-height:1.7}.library-card button:disabled{opacity:.5}.original-option[hidden],#imageStorageHint[hidden]{display:none!important}

.library-card{align-content:start;gap:8px}.storage-confirm{width:min(540px,94vw)}.storage-confirm p{margin:0 0 12px;line-height:1.9}

.plan-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.plan-buttons button{font-size:12px;padding:10px 6px}.plan-buttons .selected-plan{border-color:#557769;background:#edf1eb}.plan-confirm{width:min(620px,94vw)}.plan-confirm p{line-height:1.9;margin:0 0 12px}@media(max-width:700px){.plan-buttons{grid-template-columns:1fr 1fr}}
