:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#24273b;background:#f3f4f8;font-synthesis:none;--accent:#4946a8}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #dfe1ea;background:#fff;color:#42465c;border-radius:7px;padding:9px 13px;font-size:13px;transition:background .15s}button:hover{background:#f2f1fc}button:focus-visible,a:focus-visible{outline:3px solid #9c99e6;outline-offset:2px}.primary{background:#4946a8;border-color:#4946a8;color:#fff;font-weight:600}.primary:hover{background:#39368b}.topbar{height:68px;background:#fff;border-bottom:1px solid #e5e7ef;display:flex;align-items:center;gap:28px;padding:0 26px}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:#22263b;white-space:nowrap}.brand strong{font-size:19px;letter-spacing:1px}.brand-mark{display:grid;place-items:center;background:#eeedfb;color:#5b54ba;width:32px;height:32px;border-radius:9px;font-size:23px}.brand-by{font-size:11px;letter-spacing:2px;color:#8a8ca1;margin-left:6px;padding-left:14px;border-left:1px solid #dce0e9}.save-status{font-size:12px;color:#71778b;flex:1}.top-actions{display:flex;gap:8px}.workspace{display:grid;grid-template-columns:112px 370px minmax(0,1fr);height:calc(100dvh - 68px)}.rail{background:#f8f9fc;border-right:1px solid #e5e7ef;display:flex;flex-direction:column;padding:29px 10px 20px}.rail-title{font-size:10px;color:#9196ab;letter-spacing:3px;margin:0 12px 18px}.rail nav{display:grid;gap:7px}.rail button{border:0;text-align:left;padding:12px;font-size:13px;background:transparent}.rail button.active{color:#4946a8;background:#eae9f8;font-weight:600}.rail-home{margin-top:auto;padding:20px 12px 0;text-decoration:none;font-size:12px;color:#858a9d}.editor{background:#fff;overflow-y:auto;padding:30px 25px 20px;border-right:1px solid #e5e7ef}.eyebrow{font-size:9px;font-weight:700;color:#8e91a9;letter-spacing:2.2px}.editor h1{font-size:24px;margin:11px 0}.editor-heading p{font-size:12px;line-height:1.8;color:#8a8fa2;margin:0 0 25px}.field{display:block;font-size:12px;color:#565c74;margin-bottom:17px}.field span{display:block;margin-bottom:7px}.field input,.field textarea,.field select{width:100%;padding:10px 11px;border:1px solid #e2e4ed;border-radius:6px;color:#252a42;background:#fcfcfe;font-size:13px;outline:none;line-height:1.6}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8a83d7;box-shadow:0 0 0 3px #f0eefb}.field textarea{resize:vertical;min-height:110px}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.entry{border:1px solid #e4e6ef;padding:15px 14px 0;border-radius:8px;margin:0 0 18px}.entry-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;color:#686c81;font-size:12px}.remove-entry{border:0;padding:3px 6px;color:#a96868;background:transparent;font-size:11px}.add-entry{width:100%;border:1px dashed #bdb9de;color:#6259a6;background:#fbfaff}.empty-hint{font-size:13px;color:#9498aa;line-height:1.9;margin:15px 0 24px}.editor-footer{margin-top:35px;padding-top:22px;border-top:1px solid #eff0f5;font-size:11px;color:#979bad;line-height:1.9}.editor-footer>div{display:flex;gap:12px;margin-top:10px}.text-button{border:0;padding:0;background:none;font-size:11px;color:#81869c}.preview{display:flex;min-width:0;flex-direction:column;background:#eef0f6;overflow:hidden}.preview-toolbar{min-height:68px;display:flex;align-items:center;gap:22px;padding:14px 30px}.template-control{display:flex;background:#e3e5ee;border-radius:7px;padding:3px}.template-control button{background:transparent;border:0;border-radius:5px;padding:6px 16px;font-size:12px;color:#73798e}.template-control button.active{background:#fff;color:#3b3d59;box-shadow:0 1px 4px #2527440d}.colors{display:flex;gap:8px}.colors button{background:var(--swatch);width:17px;height:17px;border:2px solid #eef0f6;border-radius:100%;padding:0}.colors button.active{outline:1px solid var(--swatch);outline-offset:2px}.paper-label{font-size:10px;letter-spacing:1px;color:#969bad;margin-left:auto}.paper-scroll{flex:1;overflow:auto;padding:4px 30px 32px;display:flex;align-items:flex-start;justify-content:center}.paper{--resume-accent:#4946a8;zoom:var(--paper-zoom,.8);width:794px;min-height:1123px;flex-shrink:0;background:#fff;box-shadow:0 6px 28px #24274310;padding:50px 54px;color:#333b49;font-size:13px;line-height:1.75;overflow-wrap:anywhere}.resume-head{border-bottom:2px solid var(--resume-accent);padding-bottom:23px;margin-bottom:27px}.resume-name{font-size:34px;letter-spacing:3px;font-weight:700;color:#242e3b;line-height:1.4;margin:0 0 6px}.resume-role{font-size:15px;color:var(--resume-accent);letter-spacing:1px;margin:0 0 15px}.contact-line{display:flex;flex-wrap:wrap;gap:4px 19px;color:#7f8491;font-size:11px}.resume-section{margin:0 0 23px}.resume-section h2{font-size:15px;letter-spacing:2px;color:var(--resume-accent);padding-bottom:6px;border-bottom:1px solid #e9eaf0;margin:0 0 13px}.resume-item{margin-bottom:18px;break-inside:avoid}.resume-item:last-child{margin-bottom:0}.item-heading{display:flex;justify-content:space-between;align-items:baseline;gap:18px;line-height:1.7}.item-heading strong{font-size:13px;font-weight:650}.item-date{font-size:11px;white-space:nowrap;color:#8b909b}.item-sub{font-size:12px;color:#777f8b;margin:3px 0 6px}.resume-item ul{padding-left:17px;margin:6px 0 0}.resume-item li{margin:3px 0}.resume-summary{white-space:pre-line;margin:0;line-height:1.9}.skill-row{display:flex;gap:20px;margin:8px 0}.skill-row strong{font-weight:600;min-width:90px}.skill-row span{color:#656d79}.paper.classic .resume-head{text-align:center;border-bottom:1px solid #b1b6c0}.paper.classic .contact-line{justify-content:center}.paper.classic .resume-section h2{border:0;background:#f4f5f8;padding:6px 10px;font-size:14px;letter-spacing:1px}.paper.classic .resume-name{font-family:Georgia,"Songti SC",serif}.preview-note{font-size:10px;color:#949aac;text-align:center;margin:0;padding:11px 15px;background:#eef0f6}.mobile-switch{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#303449;color:#fff;padding:12px 20px;border-radius:8px;font-size:13px;box-shadow:0 6px 25px #1c224326;max-width:90vw;z-index:10}.print-hint{font-size:11px;color:#999} @media(max-width:1100px){.workspace{grid-template-columns:96px 320px minmax(0,1fr)}.editor{padding:25px 20px}.preview-toolbar{padding:14px 18px;gap:16px}.paper-label{display:none}.paper-scroll{padding:4px 18px 25px}.topbar{padding:0 18px;gap:18px}.brand-by{display:none}}@media(max-width:760px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:13px 16px;gap:10px}.brand{flex:1}.brand strong{font-size:17px}.save-status{flex:0 1 auto;font-size:10px}.top-actions{width:100%}.top-actions button{flex:1;padding:9px 5px;font-size:11px}.mobile-switch{display:flex;background:#fff;border-bottom:1px solid #e4e6ef;padding:6px 16px;gap:10px}.mobile-switch button{flex:1;background:transparent;border:0;color:#8b90a5}.mobile-switch button.active{background:#efedfa;color:#5750a3}.workspace{height:calc(100dvh - 156px);grid-template-columns:88px minmax(0,1fr)}.rail{padding:22px 5px}.rail button{font-size:12px;padding:11px 8px}.editor{padding:23px 20px}.preview{display:none}.preview-mode .workspace{display:block}.preview-mode .rail,.preview-mode .editor{display:none}.preview-mode .preview{display:flex;height:100%}.preview-toolbar{min-height:58px;justify-content:center}.paper-scroll{padding:0 12px 24px}.preview-note{font-size:9px}.editor-heading p{margin-bottom:24px}}@page{size:A4;margin:14mm 15mm}@media print{html,body{background:#fff;height:auto;overflow:visible}.topbar,.rail,.editor,.mobile-switch,.preview-toolbar,.preview-note,#toast{display:none!important}.workspace,.preview,.paper-scroll{display:block!important;height:auto!important;overflow:visible!important;background:#fff;padding:0;margin:0}.paper{zoom:1!important;width:auto!important;min-height:0;box-shadow:none;padding:0;font-size:10pt;line-height:1.65;print-color-adjust:exact;-webkit-print-color-adjust:exact}.resume-name{font-size:25pt}.resume-role{font-size:12pt}.contact-line{font-size:9pt}.resume-section h2{font-size:12pt;break-after:avoid}.item-heading strong{font-size:10.5pt}.item-sub{font-size:9.5pt}.item-date{font-size:9pt}.resume-section{margin-bottom:18px}.resume-head{padding-bottom:17px;margin-bottom:22px}.resume-item{break-inside:avoid}.resume-section h2+div{break-before:avoid}}

@media print{:root{background:#fff}}
