:root{--g:#063f36;--g2:#0a594d;--ink:#092f2b;--muted:#667a73;--line:#d4ddd8;--bg:#f6f1e7;--surface:#fffdf8;--gold:#dda92e;--shadow:0 18px 48px rgba(4,52,45,.08)}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at 84% 4%,rgba(221,169,46,.07),transparent 24%),var(--bg)}button,input,textarea{font:inherit}button,a,input,textarea{transition:.18s ease}.cv-topbar{height:74px;background:rgba(255,253,248,.97);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 24px;position:sticky;top:0;z-index:5;backdrop-filter:blur(14px);box-shadow:0 7px 22px rgba(4,52,45,.035)}.cv-back{justify-self:start;color:var(--g);text-decoration:none;font-size:12px;font-weight:850}.cv-back:hover{color:var(--g2)}.cv-brand{display:block}.cv-brand img{display:block;width:190px;height:56px;object-fit:contain}.cv-topbar button{justify-self:end;background:var(--g);color:#fff;border:1px solid var(--g);border-radius:12px;padding:10px 18px;font-weight:850;cursor:pointer}.cv-topbar button:hover{background:var(--g2);transform:translateY(-1px);box-shadow:0 9px 18px rgba(6,63,54,.14)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(221,169,46,.34);outline-offset:2px}
main{display:grid;grid-template-columns:minmax(370px,445px) minmax(0,1fr);min-height:calc(100vh - 74px)}.editor{background:rgba(255,253,248,.96);padding:30px;border-right:1px solid var(--line);overflow:auto}.editor h1{margin:7px 0 5px;font-size:30px;letter-spacing:-.025em}.editor>p{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 20px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:900;color:#a36f13}label{display:block;font-size:12px;font-weight:800;margin:14px 0;color:#254c43}textarea,input{width:100%;border:1px solid #cbd7d2;border-radius:11px;padding:11px 12px;margin-top:6px;background:#fff;color:var(--ink)}textarea:focus,input:focus{border-color:#8faf9f;box-shadow:0 0 0 4px rgba(10,89,77,.06);outline:0}.editor section{border-top:1px solid #e7e9e1;padding-top:14px;margin-top:20px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h2{font-size:16px;letter-spacing:-.01em}.section-head button{border:1px solid #c7d5cf;background:#f4f4ec;color:var(--g);border-radius:10px;padding:7px 11px;font-weight:800;cursor:pointer}.section-head button:hover{background:#fff9eb;border-color:#c9ad67}.row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:8px 0}.row button{border:1px solid #efcfca;background:#fff6f3;color:#a74a38;border-radius:10px;padding:0 11px;cursor:pointer}.preview{padding:36px;overflow:auto}.paper{max-width:850px;min-height:1050px;background:#fff;margin:auto;padding:54px 58px;box-shadow:0 24px 70px rgba(4,52,45,.12);border:1px solid #e0e4df;position:relative;overflow:hidden}.paper:before{content:"";position:absolute;left:0;top:0;right:0;height:7px;background:linear-gradient(90deg,var(--g),var(--gold))}.cv-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid var(--g);padding-bottom:20px}.cv-head h1{font-size:38px;margin:5px 0;letter-spacing:-.03em}.cv-head h3{margin:0;color:var(--muted);font-weight:600}.cv-paper-logo{width:170px;height:60px;object-fit:contain;object-position:right center}.lead{line-height:1.72;color:#435c55}.cv-section{margin-top:26px}.cv-section h2{font-size:13px;letter-spacing:.1em;color:var(--g);border-bottom:1px solid var(--line);padding-bottom:8px}.cv-section ul{padding-left:20px}.cv-section li{margin:8px 0;line-height:1.55}#message{font-size:12px;color:#a24332;margin-top:12px}
@media(max-width:980px){main{grid-template-columns:1fr}.editor{border-right:0;border-bottom:1px solid var(--line)}.preview{padding:22px}.paper{min-height:auto;padding:42px}}
@media(max-width:620px){.cv-topbar{height:68px;padding:0 12px;grid-template-columns:auto 1fr auto;gap:10px}.cv-brand{justify-self:center}.cv-brand img{width:145px;height:48px}.cv-back{font-size:0}.cv-back:before{content:"←";font-size:20px}.cv-topbar button{padding:9px 12px}.editor{padding:22px 16px}.editor h1{font-size:27px}.preview{padding:12px}.paper{padding:32px 23px}.cv-head{display:block}.cv-head h1{font-size:32px}.cv-paper-logo{width:145px;height:48px;object-position:left center;margin-top:15px}}
