@font-face{font-family:ResumeNoto;src:url('./fonts/NotoSansSC-Regular.ttf') format('truetype');font-display:swap}
:root{--ink:#233b4c;--navy:#153b53;--muted:#7d8b92;--line:#e7ecec;--teal:#238c7c;--pale:#edf6f3;--surface:#f7f9f9;--shadow:0 2px 5px #173a4b04,0 10px 30px #173a4b06;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:#f7f9fa}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button{color:inherit}button, input, textarea, select{ -webkit-tap-highlight-color:transparent}button{transition:background-color .16s,color .16s,box-shadow .16s,scale .16s}button:active:not(:disabled){scale:.96}button:focus-visible,a:focus-visible{outline:3px solid #69b9aa;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#77a89f!important;box-shadow:0 0 0 3px #2f8e7710!important}h1,h2,h3,p{margin:0}svg{display:block;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}i[data-icon]{display:inline-flex;align-items:center;justify-content:center;font-style:normal;flex-shrink:0}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.skip-link{position:fixed;left:100px;top:-100px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}
.app-shell{display:flex;min-height:100vh}.rail{width:76px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;align-items:center;flex-direction:column;z-index:10;padding:22px 10px 16px;gap:12px}.brand-mark{width:41px;height:43px;border:none;background:var(--navy);color:#fff;border-radius:12px;display:grid;place-items:center;box-shadow:0 4px 10px #12384e16}.brand-mark svg{width:28px;height:28px;stroke-width:1.65}.rail-divider{height:1px;width:30px;background:var(--line);margin:9px 0}.rail-btn{width:56px;min-height:64px;border:0;border-radius:11px;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font-size:11px;color:#85929a}.rail-btn svg{width:20px;height:20px}.rail-btn:hover{background:#f2f6f5;color:var(--navy)}.rail-btn.active{background:#eaf3f1;color:#257567}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:16px}.user-dot{width:33px;height:33px;background:#e8eeee;border:1px solid #dde7e6;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#70817d}.main-shell{margin-left:76px;width:calc(100% - 76px);min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;border-bottom:1px solid var(--line);gap:16px}.wordmark{display:flex;align-items:center;font-size:19px;font-weight:650;letter-spacing:.5px;gap:12px;white-space:nowrap}.brand-caption{font-size:9px;color:#91a0a5;font-weight:500;letter-spacing:2px;padding-left:12px;border-left:1px solid #e0e6e7}.prototype-label{font-size:10px;font-weight:500;color:#8a959a;background:#f3f5f6;padding:3px 6px;border-radius:4px;letter-spacing:0}.topbar-right{display:flex;align-items:center;gap:22px}.privacy-note{font-size:11px;color:#8a969b;display:flex;align-items:center;gap:6px}.privacy-note svg{width:14px;height:14px}.btn{height:40px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe6e7;background:#fff;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:500;box-shadow:0 1px 2px #152f3d02}.btn:hover{background:#f4f7f7;border-color:#c2d1d1}.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 3px 7px #153b5310}.btn.primary:hover{background:#214d64}.btn.teal{background:#edf6f3;color:#257868;border-color:#d5e9e2}.btn.small{height:34px;padding:0 11px;font-size:11px}.btn.full{width:100%}.btn.ghost{border-color:transparent;background:transparent;box-shadow:none}.btn svg{width:16px;height:16px}.icon-btn{width:32px;height:36px;border:0;border-radius:6px;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#839097;flex-shrink:0;position:relative}.icon-btn::after{content:'';position:absolute;inset:-2px 0}.icon-btn:hover{background:#edf2f2;color:var(--navy)}.icon-btn svg{width:16px;height:16px}.document-header{min-height:125px;padding:21px 28px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbfcfc;border-bottom:1px solid var(--line)}.breadcrumb{font-size:10px;color:#97a1a6;display:flex;gap:8px;align-items:center;margin-bottom:6px}.breadcrumb span:last-child{color:#77898f}.title-row{display:flex;align-items:center;gap:6px}.title-row h1{font-size:23px;letter-spacing:.2px;font-weight:600;line-height:1.45}.tag{font-size:10px;line-height:1.4;padding:3px 7px;border-radius:4px;display:inline-flex;align-items:center;white-space:nowrap}.tag.sample{color:#83918b;background:#edf1ed;margin-left:6px;font-weight:400}.save-status{font-size:10px;color:#8c9b96;display:flex;align-items:center;gap:5px;margin-top:6px}.status-dot{width:5px;height:5px;border-radius:50%;background:#70aa93}.save-status.error{color:#b15d3b}.save-status.error .status-dot{background:#b15d3b}.document-actions{display:flex;align-items:center;gap:10px}.undo-group{display:flex;margin-right:8px;padding-right:10px;border-right:1px solid #dfe6e8}.mobile-tabs{display:none}.workspace{display:grid;grid-template-columns:292px minmax(300px,1fr) 310px;height:calc(100vh - 197px);min-height:570px;background:#fff}.workspace.left-closed{grid-template-columns:minmax(300px,1fr) 310px}.workspace.ai-closed{grid-template-columns:292px minmax(300px,1fr)}.workspace.left-closed.ai-closed{grid-template-columns:minmax(300px,1fr)}.workspace.left-closed .left-panel,.workspace.ai-closed .assistant-panel{display:none}.left-panel{border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-tabs{height:56px;min-height:56px;display:flex;border-bottom:1px solid var(--line);padding:0 17px;gap:20px}.panel-tabs button{border:0;background:transparent;position:relative;padding:0 4px;color:#849197;font-size:12px}.panel-tabs button.active{color:#1f665e;font-weight:600}.panel-tabs button.active::after{content:'';position:absolute;bottom:-1px;height:2px;left:3px;right:3px;background:#398f7f;border-radius:2px}.panel-tabs button span{font-size:9px;color:#9ca9ae;background:#f0f3f4;border-radius:3px;padding:1px 4px;margin-left:3px}.panel-scroll{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#dce3e3 transparent}.panel-footer,.assistant-footer{min-height:40px;border-top:1px solid var(--line);color:#93a29f;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;background:#fff}.panel-footer svg,.assistant-footer svg{width:12px;height:12px}.editor-intro{padding:20px 20px 16px}.eyebrow{font-size:9px;letter-spacing:1.4px;color:#a3afaf;margin-bottom:7px}.editor-intro h2{font-size:14px;font-weight:600;margin-bottom:7px}.editor-intro p{font-size:10.5px;color:#96a2a7;line-height:1.7}.section-card{margin:0 14px 8px;border:1px solid #e5ebea;border-radius:9px;overflow:hidden;background:#fff}.section-card.open{border-color:#d1e3dd;box-shadow:0 2px 4px #173e3303}.section-toggle{width:100%;height:47px;border:0;background:#fff;display:flex;align-items:center;gap:10px;padding:0 13px;text-align:left}.section-toggle>i{color:#809e95}.section-toggle>i svg{width:16px;height:16px}.section-toggle span{font-size:12px;font-weight:500}.section-toggle .section-count{margin-left:auto;color:#a1aeab;font-size:10px;font-weight:400}.section-toggle .chevron svg{width:13px;height:13px;color:#a0aba9}.section-card.open .section-toggle{background:#f9fcfa;color:#296c5f}.section-card.open .chevron{transform:rotate(180deg)}.section-form{padding:4px 13px 14px}.field{display:block;margin-top:12px}.field>span,.field-label{display:flex;align-items:center;justify-content:space-between;color:#86938f;font-size:10px;line-height:1.6;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid #e3e9e7;border-radius:5px;background:#fff;padding:8px 10px;color:#40564e;font-size:11px;line-height:1.6;min-height:35px;box-shadow:0 1px 2px #00000001}.field textarea{resize:vertical;min-height:90px;line-height:1.9}.field input::placeholder,.field textarea::placeholder{color:#b7c0bd}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field-grid .field{min-width:0}.field-help{font-size:10px;color:#9aa6a1;line-height:1.7;margin-top:6px}.field-help.warning{color:#af8452}.entry-label{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:10px;color:#729083;border-top:1px dashed #dce6e0;padding-top:10px}.entry-label:first-child{border-top:0;margin-top:2px}.entry-label .icon-btn{width:26px;height:30px}.entry-label .icon-btn svg{width:13px;height:13px}.text-action{border:0;background:transparent;font-size:11px;color:#368976;padding:9px 0;display:flex;gap:6px;align-items:center;min-height:36px}.text-action svg{width:13px;height:13px}.section-controls{display:flex;justify-content:space-between;gap:4px;padding-top:9px;border-top:1px solid #edf1ef;margin-top:13px}.section-controls button{font-size:10px;border:0;background:#f5f8f7;min-height:30px;padding:4px 7px;border-radius:4px;color:#83928b}.section-card.hidden-section{opacity:.6}.add-section-note{margin:16px 22px 24px;font-size:10px;color:#a4afab;line-height:1.8}.original-source{border:0;background:transparent;text-decoration:underline;color:#78958a;font-size:10px;margin:8px 20px 20px;min-height:36px}
.preview-panel{min-width:0;display:flex;flex-direction:column;background:#eef2f3;position:relative}.preview-toolbar{height:56px;min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e0e6e8;background:#f5f7f8;gap:8px}.preview-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#75858b;white-space:nowrap}.live-dot{width:6px;height:6px;background:#58a38b;border-radius:50%;box-shadow:0 0 0 3px #e2efea}.paper-label{font-size:9px;border:1px solid #dce4e6;border-radius:3px;padding:1px 5px;line-height:1.4;margin-left:3px;color:#91a0a6}.preview-tools{display:flex;align-items:center;gap:1px}.preview-tools .icon-btn{width:26px;height:34px}.preview-tools .icon-btn svg{width:14px;height:14px}.zoom-label{font-size:10px;color:#8b9aa1;min-width:35px;text-align:center;font-variant-numeric:tabular-nums}.preview-scroll{overflow:auto;min-height:0;flex:1;padding:26px 26px 35px;scrollbar-width:thin;scrollbar-color:#ced8dc transparent;background-image:radial-gradient(#cfdadd55 .6px,transparent .6px);background-size:8px 8px}.pdf-pages{display:flex;align-items:center;flex-direction:column;gap:22px;min-height:100%}.pdf-page{position:relative;box-shadow:0 2px 4px #172f3b08,0 12px 35px #1e3a4810;background:white;flex-shrink:0;outline:1px solid #00000005}.pdf-page canvas{display:block;max-width:none}.pdf-page button.hotspot{position:absolute;background:transparent;border:0;padding:0;cursor:pointer;border-radius:2px;scale:1}.pdf-page button.hotspot:hover{box-shadow:inset 3px 0 #64a492;background:#2f9b7908}.pdf-page button.hotspot:focus-visible{outline:2px solid #83bdaa;outline-offset:1px}.preview-footer{height:37px;min-height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;font-size:9px;color:#8a9b9e;background:#f4f7f8;border-top:1px solid #e1e8ea}.preview-footer span{display:flex;align-items:center;gap:5px}.preview-footer svg{width:12px;height:12px;color:#87a495}.preview-loading{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#93a5ac;font-size:12px}.loader{width:20px;height:20px;border:2px solid #bcd6cf;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.assistant-panel{border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;min-width:0}.assistant-heading{display:flex;align-items:center;padding:20px 18px 16px;gap:10px;min-height:82px}.assistant-icon{width:32px;height:34px;border-radius:9px;background:#eaf5f0;display:grid;place-items:center;color:#398975}.assistant-icon svg{width:18px;height:18px}.assistant-heading h2{font-size:14px;font-weight:600}.assistant-heading p{font-size:9px;color:#9ba7aa;margin-top:5px}.assistant-heading>.icon-btn{margin-left:auto;width:22px}.assistant-tabs{display:flex;margin:0 18px 16px;border-bottom:1px solid var(--line);gap:20px;min-height:32px}.assistant-tabs button{border:0;background:transparent;font-size:10px;padding:0 0 10px;color:#95a09f;position:relative}.assistant-tabs button.active{color:#318775;font-weight:500}.assistant-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;background:#3a9984;height:2px}.assistant-content{padding:0 18px 20px}.demo-notice{background:#f5f7f3;border:1px solid #e7ebe1;border-radius:7px;padding:11px 12px;margin:0 0 18px}.demo-notice strong{font-size:10px;color:#8a9276;font-weight:500;display:flex;align-items:center;gap:6px}.demo-notice p{font-size:10px;color:#9ca28f;line-height:1.8;margin-top:5px}.demo-notice svg{width:13px;height:13px}.assistant-subtitle{font-size:11px;font-weight:550;color:#637d72;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}.assistant-content .field select{font-size:11px;color:#5a7066}.segment{display:flex;border:1px solid #e3eae6;border-radius:6px;padding:3px;margin:12px 0 14px;gap:3px;background:#fafcfb}.segment button{flex:1;border:0;background:transparent;font-size:10px;height:29px;color:#94a199;border-radius:4px}.segment button.active{background:#fff;color:#3a806c;box-shadow:0 1px 4px #173e3310}.generate-btn{height:38px;background:#edf6f2;border:1px solid #cfe5dc;color:#2b806b;font-size:11px;width:100%;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px}.generate-btn:hover{background:#e4f2eb}.generate-btn svg{width:15px;height:15px}.suggestion-intro{margin-top:22px;display:flex;justify-content:space-between;align-items:center;color:#627a70;font-size:11px;font-weight:500}.suggestion-intro span{font-size:9px;color:#a2afa9;font-weight:400}.suggestion-card{border:1px solid #e0e9e4;border-radius:8px;margin-top:11px;overflow:hidden;background:#fff;box-shadow:0 3px 7px #294b3703}.suggestion-card-head{display:flex;align-items:center;gap:7px;padding:12px 13px 8px;font-size:11px;color:#597d6c}.suggestion-card-head svg{width:13px;height:13px;color:#8cb29e}.suggestion-before{margin:0 12px 9px;background:#f7f8f7;color:#9aa39e;border-radius:5px;padding:10px;font-size:10px;line-height:1.85;white-space:pre-wrap}.suggestion-after{margin:0 12px 11px;background:#f1f8f4;border:1px solid #e4efe8;color:#47745d;border-radius:5px;padding:10px;font-size:10px;line-height:1.9;white-space:pre-wrap}.comparison-label{display:block;font-size:8px;letter-spacing:1px;color:#a6afa9;margin-bottom:5px}.suggestion-after .comparison-label{color:#85a08b}.suggestion-reason{font-size:9px;line-height:1.8;color:#98a59d;margin:0 13px 11px}.suggestion-actions{display:flex;justify-content:space-between;border-top:1px solid #edf1ef;padding:8px 11px;gap:10px}.suggestion-actions button{min-height:30px;font-size:10px}.suggestion-actions .btn.teal{padding:0 10px}.assistant-tip{display:flex;align-items:flex-start;gap:8px;border-top:1px solid #edf1ee;margin-top:20px;padding-top:15px;font-size:10px;color:#97a89b;line-height:1.85}.assistant-tip svg{width:14px;height:14px;margin-top:2px}.empty-suggestions{text-align:center;padding:25px 12px;color:#a8b3ad;font-size:11px;line-height:1.9}.empty-suggestions svg{width:24px;height:24px;margin:0 auto 12px;color:#b2c6ba}.prompt-note{font-size:10px;color:#a18557;background:#faf7ef;padding:10px;margin:0 12px 10px;line-height:1.8;border-radius:5px}.applied-note{padding:14px;color:#3f8a6c;font-size:11px;display:flex;align-items:center;gap:7px}.job-card{padding:15px;background:#f7faf8;border:1px solid #e2ece5;border-radius:8px;margin-bottom:15px}.job-card h3{font-size:13px;font-weight:500}.job-card p{font-size:10px;color:#8ea093;margin-top:7px;line-height:1.7}.keyword-list{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.keyword{font-size:10px;padding:5px 8px;border-radius:4px;background:#eff7f1;color:#548c68;display:flex;align-items:center;gap:3px}.keyword svg{width:11px;height:11px}.keyword.missing{color:#ab8d58;background:#faf5eb}.check-card{display:flex;align-items:flex-start;gap:9px;padding:13px 0;border-bottom:1px solid #edf1ef;color:#8b998e;font-size:11px;line-height:1.8}.check-card svg{margin-top:2px;width:14px;height:14px;color:#91ad92}.check-card button{font-size:10px;color:#49876f;border:0;background:transparent;min-height:32px;padding:4px 0}.check-ok{padding:23px 15px;background:#f5faf6;border:1px solid #e3eee5;border-radius:9px;text-align:center;margin-bottom:16px}.check-ok svg{width:25px;height:25px;margin:0 auto 10px;color:#7ba58b}.check-ok h3{font-size:12px;color:#63866e;font-weight:500}.check-ok p{font-size:10px;color:#9aaa9f;line-height:1.8;margin-top:8px}
.templates-content,.versions-content{padding:20px}.templates-content h2,.versions-content h2{font-size:14px;font-weight:550;margin-bottom:7px}.panel-desc{font-size:10px;line-height:1.8;color:#9aa7a5;margin-bottom:18px}.template-card{width:100%;border:1px solid #e3e9e6;border-radius:8px;background:#fff;padding:10px;margin-bottom:12px;text-align:left;position:relative}.template-card.active{border-color:#6ca48d;box-shadow:0 0 0 2px #73a8920c}.template-mini{height:122px;border-radius:4px;background:#f1f4f3;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:10px}.mini-paper{width:78px;height:110px;background:white;box-shadow:0 2px 5px #173e3310;padding:10px 9px;display:flex;flex-direction:column;gap:4px}.mini-paper b{font-size:7px;color:#25465b;margin-bottom:3px}.mini-paper em{height:2px;background:#ced8dc;width:85%;display:block}.mini-paper em:nth-of-type(3n){width:64%;margin-bottom:5px}.mini-paper strong{height:3px;background:#61868e;width:34%;display:block;margin:3px 0}.mini-paper.classic{align-items:center}.mini-paper.classic strong{background:#585f65}.mini-paper.modern{padding-left:25px;background:linear-gradient(90deg,#eaf4ee 24%,white 24%)}.mini-paper.modern strong{background:#72a88d}.template-label{display:flex;align-items:center;justify-content:space-between;margin-top:11px;font-size:11px;font-weight:500}.template-label .tag{font-size:8px;color:#6c9c85;background:#eff7f1}.template-card p{font-size:9px;color:#9fa9a4;margin-top:5px}.color-row{display:flex;gap:12px;margin:12px 0 20px}.swatch{width:26px;height:26px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #dfe7e3;background:var(--swatch);position:relative}.swatch::after{content:'';position:absolute;inset:-5px}.swatch.active{box-shadow:0 0 0 2px #98b5a3}.range-row{display:flex;gap:10px;align-items:center}.range-row input{padding:0;accent-color:#509278;min-height:30px;box-shadow:none!important;border:0}.range-value{font-size:10px;color:#8ba190;min-width:28px;font-variant-numeric:tabular-nums}.version-card{border:1px solid #e2e9e5;border-radius:8px;padding:13px;margin-bottom:10px;display:flex;gap:10px;align-items:center;cursor:pointer;background:white;width:100%;text-align:left}.version-card.active{background:#f1f8f3;border-color:#bcd9c8}.version-card>i{color:#85a18d}.version-card h3{font-size:11px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}.version-card p{font-size:9px;color:#a0afa4;margin-top:6px}.version-card>.version-check{margin-left:auto;color:#6ba380}.version-check svg{width:14px;height:14px}.versions-note{padding:13px;background:#f8faf8;border-radius:6px;font-size:10px;color:#9aa79d;line-height:1.9;margin-top:16px}
dialog{border:0;border-radius:16px;padding:0;box-shadow:0 25px 100px #12394c30;color:var(--ink);width:660px;max-width:calc(100vw - 32px);max-height:calc(100vh - 60px)}dialog::backdrop{background:#15384b45;backdrop-filter:blur(3px)}.modal-head{padding:25px 28px 19px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.modal-head h2{font-size:20px;font-weight:550;letter-spacing:.3px}.modal-head p{font-size:11px;color:#8f9b9a;margin-top:8px;line-height:1.8}.modal-body{padding:22px 28px;max-height:65vh;overflow:auto;scrollbar-width:thin}.modal-body .field input,.modal-body .field textarea,.modal-body .field select{font-size:13px;min-height:40px;line-height:1.8}.modal-body .field>span{font-size:11px}.modal-foot{display:flex;align-items:center;justify-content:space-between;padding:16px 28px 23px;border-top:1px solid var(--line);gap:12px}.modal-foot .right{display:flex;gap:9px}.modal-foot .hint{font-size:10px;color:#9aa6a1;line-height:1.7}.dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:1px dashed #b5d0c3;background:#f6faf7;padding:25px;border-radius:9px;text-align:center;cursor:pointer;position:relative}.dropzone.dragover{background:#e8f5ec;border-color:#4e9471}.dropzone>i{color:#71a58b}.dropzone>i svg{width:30px;height:30px}.dropzone strong{font-size:13px;color:#527b64;font-weight:500}.dropzone p{font-size:10px;color:#94a597;line-height:1.8}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.dropzone:focus-within{outline:3px solid #86bca4}.import-or{text-align:center;margin:15px 0;font-size:10px;color:#a7b2ab}.import-text{min-height:170px!important}.import-error{padding:12px;margin-top:12px;border-radius:6px;background:#fbf2eb;color:#a16e49;font-size:12px;line-height:1.8}.info-box{background:#f4f7f4;border:1px solid #e3ebe4;border-radius:7px;font-size:11px;color:#809583;padding:12px 14px;line-height:1.9;margin-bottom:16px}.review-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.review-counts>div{background:#f7faf8;border:1px solid #e7ede8;border-radius:7px;padding:13px;text-align:center}.review-counts b{display:block;font-size:22px;font-weight:450;color:#548368}.review-counts span{display:block;font-size:10px;color:#97a89b;margin-top:4px}.review-raw{max-height:170px;overflow:auto;font-size:11px;color:#859489;line-height:1.9;padding:12px;background:#f7f9f7;border-radius:6px;white-space:pre-wrap}.review-details{margin-top:16px}.review-details summary{font-size:11px;color:#7e9686;cursor:pointer;min-height:35px}.export-options{display:grid;gap:10px}.export-option{display:flex;align-items:center;text-align:left;border:1px solid #e0e9e4;border-radius:9px;padding:16px;background:#fff;gap:15px}.export-option:hover{background:#f5faf7;border-color:#a5c7b6}.format-icon{width:41px;height:48px;border-radius:6px;background:#eff5f1;color:#629579;display:grid;place-items:center;font-size:10px;font-weight:600}.export-option.pdf .format-icon{background:#f3eee8;color:#b58a58}.export-option.word .format-icon{background:#eef3f9;color:#5682a3}.export-option h3{font-size:13px;font-weight:550}.export-option p{font-size:10px;color:#94a39b;line-height:1.8;margin-top:5px}.export-option>i{margin-left:auto;color:#90a69a}.guide-step{display:flex;gap:16px;margin-bottom:22px}.guide-step>b{width:28px;height:28px;border-radius:50%;background:#edf6f0;color:#5b9672;font-size:12px;display:grid;place-items:center;flex-shrink:0}.guide-step h3{font-size:13px;font-weight:500;margin-bottom:7px}.guide-step p{font-size:11px;color:#8ca093;line-height:1.9}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:12px 21px;background:#1c4137;color:#f0f7f2;box-shadow:0 4px 20px #1b403328;border-radius:9px;font-size:12px;z-index:100;transition:opacity .18s,transform .18s;max-width:90vw;line-height:1.7}.toast.show{opacity:1;transform:translate(-50%,0)}
#library-view{padding:32px;max-width:1350px;margin:auto}.library-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.library-heading h2{font-size:24px;font-weight:550}.library-heading p{font-size:12px;color:#93a39b;margin-top:10px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.library-card{border:1px solid #e1e9e5;border-radius:12px;padding:18px;background:#fff;box-shadow:var(--shadow)}.library-card .template-mini{height:190px;cursor:pointer;margin-bottom:17px;border:0;width:100%;background:#f2f6f4}.library-card .mini-paper{transform:scale(1.4)}.library-card h3{font-size:14px;font-weight:500;margin-bottom:8px}.library-card p{font-size:10px;color:#9aa9a0;margin-bottom:17px}.library-card-actions{display:flex;justify-content:space-between;align-items:center;gap:7px}.library-card-actions .btn{height:33px;font-size:10px}.new-card{border:1px dashed #cdded4;background:#f7fbf8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#8aa18e;min-height:330px;border-radius:12px;font-size:12px}.new-card svg{width:28px;height:28px}.modal-rename-input{width:100%;border:1px solid #dbe6de;padding:12px;border-radius:7px;font-size:14px}.fatal{padding:40px;text-align:center;font-size:14px;line-height:2;color:#866855}.fatal button{margin:20px}
@media(min-width:1600px){.workspace{grid-template-columns:320px minmax(300px,1fr) 336px}.workspace.left-closed{grid-template-columns:minmax(300px,1fr) 336px}.workspace.ai-closed{grid-template-columns:320px minmax(300px,1fr)}.assistant-content{padding-left:24px;padding-right:24px}.preview-scroll{padding-top:32px}.section-card{margin-left:18px;margin-right:18px}.section-form{padding-left:16px;padding-right:16px}}
@media(max-width:1250px) and (min-width:901px){.rail{width:62px;padding-left:4px;padding-right:4px}.main-shell{margin-left:62px;width:calc(100% - 62px)}.workspace{grid-template-columns:255px minmax(280px,1fr) 270px}.workspace.left-closed{grid-template-columns:minmax(280px,1fr) 270px}.workspace.ai-closed{grid-template-columns:255px minmax(280px,1fr)}.topbar,.document-header{padding-left:22px;padding-right:22px}.assistant-heading{padding-left:13px;padding-right:13px}.assistant-content{padding-left:13px;padding-right:13px}.assistant-tabs{margin-left:13px;margin-right:13px;gap:15px}.preview-toolbar{padding-left:13px;padding-right:13px}.preview-scroll{padding:22px 17px}.preview-tools .icon-btn{width:23px}.privacy-note{display:none}.title-row h1{font-size:21px}}
@media(max-width:1100px) and (min-width:901px){.workspace:not(.ai-closed) .assistant-panel{position:absolute;right:0;top:197px;bottom:0;width:300px;background:white;z-index:9;box-shadow:-8px 0 24px #153b5312}.workspace,.workspace.ai-closed{grid-template-columns:255px minmax(280px,1fr)}.workspace.left-closed{grid-template-columns:minmax(280px,1fr)}.brand-caption{display:none}}
@media(max-width:900px){.rail{width:59px;padding:17px 3px}.rail-btn{width:48px}.main-shell{margin-left:59px;width:calc(100% - 59px)}.topbar{height:60px;padding:0 18px}.wordmark{font-size:17px;gap:9px}.brand-caption,.privacy-note{display:none}.document-header{min-height:125px;padding:15px 18px;gap:12px;flex-wrap:wrap}.title-row h1{font-size:20px}.document-actions{gap:6px}.document-actions .btn{height:36px;padding:0 10px;font-size:11px}.undo-group{margin:0;padding:0;border:0}.mobile-tabs{display:flex;height:47px;border-bottom:1px solid var(--line);background:#fff;padding:0 18px;gap:28px}.mobile-tabs button{position:relative;background:transparent;border:0;color:#97a59c;font-size:12px;padding:0 3px}.mobile-tabs button.active{color:#398167}.mobile-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#4d9576}.workspace,.workspace.ai-closed,.workspace.left-closed,.workspace.left-closed.ai-closed{display:block;height:calc(100dvh - 232px);min-height:520px}.left-panel,.assistant-panel,.preview-panel{height:100%;width:100%}.workspace .left-panel,.workspace .assistant-panel{display:none}.workspace[data-mobile=content] .left-panel{display:flex}.workspace[data-mobile=content] .preview-panel,.workspace[data-mobile=assistant] .preview-panel{display:none}.workspace[data-mobile=assistant] .assistant-panel{display:flex;border-left:0}.workspace.left-closed[data-mobile=content] .left-panel{display:flex}.workspace.ai-closed[data-mobile=assistant] .assistant-panel{display:flex}.preview-tools [data-action=toggle-left],.preview-tools [data-action=toggle-ai],.assistant-heading [data-action=toggle-ai]{display:none}.assistant-content{max-width:600px;width:100%;margin:0 auto}.panel-scroll{scrollbar-width:thin}.section-form{padding:4px 18px 18px}.section-card{margin-left:18px;margin-right:18px}.field input,.field textarea,.field select{font-size:13px;min-height:40px}.field>span{font-size:11px}.section-toggle{height:52px;padding:0 18px}.section-toggle span{font-size:13px}.editor-intro{padding-left:23px}.templates-content{max-width:500px;margin:auto}.template-mini{height:160px}.assistant-heading{padding:20px 24px}.assistant-tabs{margin-left:24px;margin-right:24px}.assistant-tabs button{font-size:12px}.assistant-content{padding:0 24px 24px}.demo-notice strong,.demo-notice p{font-size:11px}.suggestion-before,.suggestion-after{font-size:12px}.suggestion-reason{font-size:11px}.assistant-subtitle{font-size:12px}.suggestion-card-head{font-size:12px}.assistant-footer,.panel-footer{min-height:42px}.preview-toolbar{padding:0 18px}.preview-footer{padding:0 14px}.library-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}#library-view{padding:25px 18px}.library-heading{align-items:flex-start;gap:15px}.library-heading h2{font-size:21px}}
@media(max-width:560px){.rail{display:none}.main-shell{margin:0;width:100%}.topbar{height:56px;padding:0 16px}.wordmark{font-size:17px}.topbar .btn.small{padding:0 8px;font-size:10px}.topbar .btn.small svg{width:13px}.document-header{min-height:146px;padding:13px 16px 15px;display:block}.breadcrumb{font-size:9px;margin-bottom:3px}.title-row h1{font-size:19px}.title-row .icon-btn{height:28px;width:25px}.tag.sample{font-size:8px;margin-left:2px}.save-status{margin-top:4px;font-size:9px}.document-actions{margin-top:14px;justify-content:flex-end}.document-actions .undo-group{margin-right:auto}.document-actions .btn{height:35px;font-size:11px;padding:0 12px}.mobile-tabs{height:45px;justify-content:space-between;padding:0 24px;gap:10px}.workspace,.workspace.ai-closed,.workspace.left-closed,.workspace.left-closed.ai-closed{height:calc(100dvh - 247px);min-height:450px}.preview-toolbar{height:47px;min-height:47px;padding:0 14px}.preview-scroll{padding:18px 14px 25px}.preview-footer{font-size:8px}.preview-footer span:first-child{white-space:nowrap}.preview-label{font-size:10px;gap:6px}.preview-tools .icon-btn{width:25px}.preview-tools .zoom-label{font-size:9px;min-width:30px}.modal-head{padding:20px 19px 16px}.modal-head h2{font-size:18px}.modal-body{padding:18px 19px;max-height:60dvh}.modal-foot{padding:15px 19px 19px}.modal-foot .hint{max-width:130px;font-size:9px}.modal-foot .btn{font-size:11px;padding:0 11px}.modal-body .field-grid{grid-template-columns:1fr}.dropzone{padding:20px 12px}.export-option{padding:13px}.export-option h3{font-size:12px}.export-option p{font-size:10px}.modal-head p{font-size:10px}.library-heading{display:block}.library-heading .btn{margin-top:16px}.library-grid{grid-template-columns:1fr}.new-card{min-height:170px}.library-card .template-mini{height:210px}}
.mobile-library{display:none}.mini-paper{gap:2px;padding:9px}.mini-paper em{flex-shrink:0}.mini-paper em:nth-of-type(3n){margin-bottom:2px}.mini-paper strong{flex-shrink:0;margin:2px 0}
@media(max-width:560px){.mobile-library{display:inline-flex}.topbar-right{gap:5px}.mobile-tabs button{min-height:44px}.generate-btn{min-height:42px}.field>span{color:#6c8077}.demo-notice p{color:#7e886d}.suggestion-reason{color:#7c8f81}.suggestion-before{color:#7b8880}}
@media(min-width:901px){.workspace{min-height:0;grid-template-rows:minmax(0,1fr)}.workspace>*{min-height:0}.field>span{color:#6c8077}.field input,.field textarea{color:#354c41}.assistant-content .field select{color:#486652}.demo-notice p{color:#7e886d}.suggestion-reason{color:#7c8f81}.suggestion-before{color:#7b8880}.assistant-heading p{color:#81928b}.preview-label{color:#607982}.panel-desc{color:#819489}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}button:active:not(:disabled){scale:1}}
/* Approved review design: dashboard, structured import, job versions and export. */
[hidden]{display:none!important}body{-webkit-font-smoothing:antialiased}button,input,select{font-variant-numeric:tabular-nums}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #2d7b68;outline-offset:3px}.library-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.library-head h1{font-size:32px;margin:8px 0}.library-head p,.library-footnote{color:#6a797b}.workspace-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;margin:28px 0;background:#eaf0ed;border:1px solid #dbe5df;border-radius:12px}.workspace-banner h2{font-size:20px;margin:0 0 9px}.workspace-banner p{color:#657871;margin:0}.library-tools{display:flex;justify-content:space-between;gap:20px;margin:24px 0}.library-tools input{height:42px;padding:0 15px;border:1px solid #dce3df;border-radius:8px;width:280px;background:white}.library-tools .segment{width:auto;min-width:250px}.library-card>.tag{margin-top:16px}.library-footnote{font-size:13px;margin-top:30px}.history-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e6eae8;gap:16px}.history-row p{font-size:13px;color:#73807c;margin:7px 0 0}.wide-modal{width:min(1400px,96vw);max-width:96vw}.wide-modal .modal-body{max-height:76vh;overflow:auto}.import-review-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px}.source-paper{white-space:pre-wrap;word-break:break-word;background:#fff;padding:32px;border:1px solid #dce3df;border-radius:8px;font:14px/1.9 inherit;max-height:65vh;overflow:auto}.step-caption{padding:12px 0;color:#687e73;font-size:14px}.export-layout{display:grid;grid-template-columns:220px minmax(260px,1fr) 290px;gap:28px}.export-preview{background:#eef1ef;padding:20px;border-radius:8px;text-align:center}.export-preview img{display:block;width:100%;box-shadow:0 4px 18px #193e5110}.export-preview p{font-size:12px;color:#687c74}.export-templates .template-mini{height:150px}.export-templates .template-card{margin-bottom:12px;padding:12px}.export-templates .mini-paper{transform:scale(.65);transform-origin:top center}.export-check-title{margin-top:24px}.export-layout .export-option{padding:15px;gap:12px}.export-layout .export-option h3{font-size:14px}.export-layout .export-option p{font-size:12px}.version-layout{display:grid;grid-template-columns:260px 1fr 1fr;gap:24px}.version-layout section{min-width:0}.version-layout .diff-card{margin:16px 0;font-size:13px;overflow-wrap:anywhere}.version-layout .suggestion-before,.version-layout .suggestion-after{white-space:pre-wrap;max-height:260px;overflow:auto}.version-layout .version-card{text-align:left;width:100%}#save-status[role=button]{cursor:pointer;min-height:24px}.privacy-note a{color:#2d7b68;text-decoration:none}.prototype-label:empty{display:none}.modal-head h2,h1,h2{text-wrap:balance}.document-actions{flex-wrap:wrap}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-card .template-mini{width:100%}.source-paper{font-family:inherit;font-size:14px;line-height:1.9}
@media(max-width:1100px){.export-layout{grid-template-columns:170px minmax(220px,1fr) 240px;gap:16px}.version-layout{grid-template-columns:210px 1fr}.version-layout>section:last-child{grid-column:1/-1}.document-actions{gap:6px}.document-header{gap:14px}}
@media(max-width:767px){.library-head{align-items:flex-start;flex-direction:column;gap:12px}.workspace-banner{padding:18px;display:block}.workspace-banner .btn{margin-top:14px}.library-tools{flex-direction:column;gap:10px}.library-tools input{width:100%}.library-grid{grid-template-columns:1fr}.library-head h1{font-size:26px}.wide-modal{width:96vw}.wide-modal .modal-body{padding:16px}.import-review-layout,.export-layout,.version-layout{grid-template-columns:1fr}.source-paper{max-height:220px;padding:18px}.export-templates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.export-templates h3{grid-column:1/-1}.export-templates .template-card{padding:6px}.export-templates .template-mini{height:105px}.export-templates .mini-paper{transform:scale(.45)}.export-templates .template-card p{display:none}.export-templates strong{font-size:11px}.export-preview{max-width:460px;margin:auto}.document-actions>.btn{min-height:44px}.history-row{align-items:flex-start}.version-layout>section:last-child{grid-column:auto}.privacy-note{display:block!important;font-size:11px}.workspace-banner h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.entry-label>span{flex:1}.entry-label .icon-btn{width:32px;min-width:32px;height:36px}.source-paper mark{background:#fff0b8;color:#163d55;border-radius:3px}
