@font-face{font-family:Bayon;src:url(/fonts/bayon.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Chivo;src:url(/fonts/chivo.woff2)format("woff2");font-weight:300 400;font-display:swap}@font-face{font-family:Chivo;src:url(/fonts/chivo-bold.woff2)format("woff2");font-weight:700;font-display:swap}:root{--ink:#101010;--cream:#f1ede8;--orange:#a84c42;--olive:#c3cca6;--line:#d8d1c9}*{box-sizing:border-box}body{background:var(--cream);color:var(--ink);margin:0;font:16px/1.5 Chivo,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button,input,select,textarea,a{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #426e68}button{border:0;justify-content:center;align-items:center;gap:8px;display:inline-flex}h1,h2,h3,p{margin-top:0}.app-header{border-bottom:1px solid var(--line);background:#fbf8f3;justify-content:space-between;align-items:center;height:88px;padding:0 3%;display:flex}.brand{letter-spacing:.02em;align-items:center;gap:16px;font:34px/1 Bayon,sans-serif;text-decoration:none;display:flex}.brand span{letter-spacing:.14em;border-left:1px solid #101010;max-width:82px;padding-left:16px;font:12px/1.3 Chivo,sans-serif}.header-right{align-items:center;gap:28px;font-size:14px;display:flex}.header-right a{text-underline-offset:4px;font-weight:700}.header-note{color:#685d54}main{max-width:1800px;margin:auto;padding:30px 3% 0}.page-title{justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px;display:flex}.kicker{letter-spacing:.13em;color:#665950;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.page-title h1{letter-spacing:.01em;margin:0 0 6px;font:42px/1.15 Bayon,sans-serif}.page-title p{color:#665e54;margin:0;font-size:15px}.export-actions{flex-shrink:0;gap:10px;display:flex}.primary,.outline{border-radius:4px;min-height:44px;padding:12px 17px;font-size:14px;font-weight:700}.primary{background:var(--orange);color:#fff;border:1px solid var(--orange)}.primary:hover:enabled{background:#883b33}.outline{color:var(--ink);background:#fbf8f3;border:1px solid #b9ada2}.outline:hover:enabled{background:#e6ded4}.workspace{grid-template-columns:245px minmax(330px,1fr) minmax(350px,1.1fr);align-items:start;gap:18px;display:grid}.settings,.editor-panel{border:1px solid var(--line);background:#fbf8f3;border-radius:6px}.settings{padding:20px}.panel-title{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:18px;display:flex}.panel-title h2{margin:0;font-size:17px}.setting-group{border-bottom:1px solid var(--line);padding:21px 0}.setting-label{letter-spacing:.08em;color:#78695c;margin-bottom:15px;font-size:12px;font-weight:700;display:block}label{margin-bottom:7px;font-size:14px;font-weight:700;display:block}select{color:#101010;background:#fff;border:1px solid #cfc5bc;border-radius:3px;width:100%;margin-bottom:15px;padding:10px 9px;font-size:14px}.hint{color:#6e6358;margin:3px 0 0;font-size:12px;line-height:1.5}.palettes{flex-wrap:wrap;gap:7px;display:flex}.palettes button{border:1px solid var(--line);background:#fff;border-radius:3px;gap:6px;padding:7px 8px;font-size:12px}.palettes button[aria-pressed=true]{background:#e8e4da;border-color:#101010}.palettes button span{border-radius:50%;width:12px;height:12px}.colour-row{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 10px;display:grid}.colour-row label{font-size:12px}.colour-row input{border:1px solid var(--line);cursor:pointer;background:#fff;width:100%;height:30px;margin-top:7px;padding:3px;display:block}label span{float:right;font-weight:400}input[type=range]{width:100%;accent-color:var(--orange)}.ai-status{color:#605346;gap:9px;margin-top:20px;display:flex}.ai-status svg{flex-shrink:0;margin-top:3px}.ai-status strong{font-size:13px}.ai-status p{margin:6px 0 0;font-size:12px;line-height:1.5}.editor-tabs{border-bottom:1px solid var(--line);gap:20px;padding:0 20px;display:flex}.editor-tabs button{color:#827263;background:0 0;border-bottom:2px solid #0000;padding:18px 0;font-size:14px}.editor-tabs button.active{border-color:var(--orange);color:#101010;font-weight:700}.editor-body{padding:20px}.upload{background:#f1ede5;border:1px dashed #ad9c8d;border-radius:5px;flex-direction:column;align-items:center;gap:5px;width:100%;margin-bottom:20px;padding:23px 10px;display:flex}.upload svg{color:var(--orange);margin-bottom:6px}.upload strong{font-size:15px}.upload span{color:#716457;font-size:12px}.text-heading{justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px;display:flex}.text-heading label{margin:0}.text-button{text-underline-offset:3px;color:#823b31;background:0 0;padding:0;font-size:12px;text-decoration:underline}.editor-body textarea{resize:vertical;color:#101010;background:#fff;border:1px solid #d1c7bc;border-radius:4px;width:100%;height:350px;padding:15px;font:14px/1.7 Chivo,Arial,sans-serif}.editor-body textarea.draft-text{height:475px}.editor-body textarea::placeholder{color:#8c847d}.text-meta{color:#76685d;justify-content:space-between;gap:8px;margin:7px 0 17px;font-size:12px;display:flex}.full{width:100%}.rewrite-button{margin-top:12px}.privacy-note{color:#74665b;margin:13px 0;font-size:12px;line-height:1.55}.status-message{border-top:1px solid var(--line);color:#51473d;min-height:48px;padding-top:13px;font-size:13px;line-height:1.5}.edit-help{color:#6e6256;margin-bottom:17px;font-size:13px}.preview-panel{min-width:0}.preview-bar{background:#e6e1d9;border:1px solid #d1c9bf;border-radius:6px 6px 0 0;justify-content:space-between;gap:10px;padding:17px 15px;font-size:12px;display:flex}.preview-bar span:first-child{align-items:center;gap:7px;font-weight:700;display:flex}.paper-scroll{background:#e5dfd7;border:1px solid #d1c9bf;border-top:0;border-radius:0 0 6px 6px;max-height:800px;padding:22px;overflow:auto}.cv-paper{background:var(--paper);color:var(--ink);min-height:630px;font:var(--body-size)/1.5 Arial,sans-serif;overflow-wrap:anywhere;padding:35px 30px;box-shadow:0 3px 15px #31241615}.cv-paper h1{color:var(--accent);letter-spacing:-.025em;margin:0 0 12px;font-size:25pt;line-height:1.15}.cv-paper h2{border-bottom:1px solid var(--accent);color:var(--accent);margin:23px 0 12px;padding-bottom:5px;font-size:15pt;line-height:1.3}.cv-paper h3{margin:16px 0 8px;font-size:12pt;line-height:1.4}.cv-paper p{margin:0 0 9px}.cv-bullet{padding-left:16px;position:relative}.cv-bullet:before{content:"•";color:var(--accent);position:absolute;left:0}.preview-note{color:#716659;margin:12px 3px;font-size:12px}.empty-paper{opacity:.85}.preview-placeholder{letter-spacing:.16em;color:#70695f;margin-bottom:25px;font-size:10px;display:block}.empty-paper p{color:#797169}.empty-lines{margin-top:30px}.empty-lines i{background:#e9e4dc;height:8px;margin-bottom:10px;display:block}.empty-lines i:nth-child(2){width:85%}.empty-lines i:nth-child(3){width:65%}.app-footer{color:#796c60;border-top:1px solid var(--line);justify-content:space-between;gap:20px;margin-top:32px;padding:20px 0;font-size:12px;display:flex}.mobile-switch{display:none}.review-modal{border:1px solid var(--line);background:#fbf8f3;border-radius:8px;width:min(900px,100% - 32px);padding:28px}.review-modal::backdrop{background:#17110bd0}.review-head{justify-content:space-between;gap:12px;display:flex}.review-head h2{margin:0 0 15px;font:32px/1.2 Bayon,sans-serif}.icon-button{background:0 0;align-self:start;padding:5px}.review-modal p{color:#665c52;font-size:14px}.review-modal textarea{resize:vertical;border:1px solid #bfb2a7;width:100%;height:50vh;padding:15px;font:15px/1.65 Chivo,sans-serif}.review-actions{justify-content:flex-end;gap:12px;margin-top:18px;display:flex}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=1200px){.workspace{grid-template-columns:210px minmax(300px,1fr) minmax(300px,1fr);gap:12px}.settings{padding:16px}.paper-scroll{padding:14px}.cv-paper{padding:28px 22px}.page-title h1{font-size:36px}.header-note{display:none}}@media (width<=980px){.workspace{grid-template-columns:210px 1fr}.preview-panel{grid-column:2}.settings{grid-row:span 2}.paper-scroll{max-height:700px}.export-actions{flex-wrap:wrap;justify-content:flex-end}.page-title{align-items:start}.page-title p{max-width:390px}}@media (width<=650px){.app-header{height:75px;padding:0 5%}.brand{gap:10px;font-size:27px}.brand span{max-width:68px;padding-left:10px;font-size:10px}.header-right{font-size:12px}main{padding:22px 4% 0}.page-title{display:block}.page-title h1{font-size:35px}.page-title p{font-size:14px}.export-actions{justify-content:flex-start;margin-top:20px}.workspace{flex-direction:column;gap:14px;display:flex}.settings{grid-template-columns:1fr 1fr;gap:0 15px;width:100%;padding:15px;display:grid}.panel-title{grid-column:span 2;padding-bottom:12px}.setting-group{padding:15px 0}.setting-group:nth-of-type(4){display:none}.setting-label{font-size:11px}.ai-status{grid-column:span 2;margin-top:12px}.ai-status p{margin-top:3px}.hint{font-size:12px}.colour-row{gap:6px}.palettes button{font-size:11px}.mobile-switch{gap:7px;margin:0 0 14px;display:flex}.mobile-switch button{border:1px solid var(--line);background:#e5ded4;border-radius:4px;padding:9px 16px;font-size:14px}.mobile-switch button[aria-pressed=true]{color:#fff;background:#101010}.editor-panel,.preview-panel{width:100%}.mobile-hidden{display:none}.editor-body textarea{height:330px}.editor-body textarea.draft-text{height:400px}.app-footer{flex-direction:column;gap:5px}.review-modal{padding:18px}.review-actions{flex-wrap:wrap}.review-actions button{width:100%}.review-modal textarea{height:45vh}.paper-scroll{max-height:900px}.cv-paper{padding:27px 20px}.cv-paper h1{font-size:22pt}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.auth-link{text-underline-offset:3px;margin-top:10px;font-size:13px;font-weight:700;display:inline-block}
