:root{--ink:#132238;--muted:#566579;--line:#d5deea;--paper:#fff;--bg:#edf3f9;--brand:#006da4;--brand-bright:#16aaf2;--brand-dark:#07152b;--brand-soft:#e3f4fd;--danger:#a12626;--focus:#ffbf47}*{box-sizing:border-box}html{color:var(--ink);background:var(--bg);font-family:Arial,Helvetica,sans-serif}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.skip-link{z-index:100;color:#000;background:#fff;padding:10px 14px;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:none}.app-header{color:#fff;background:linear-gradient(120deg,#050b18 0%,var(--brand-dark) 54%,#123765 100%);border-bottom:4px solid var(--brand-bright);justify-content:space-between;align-items:center;gap:24px;min-height:122px;padding:18px clamp(18px,4vw,54px);display:flex}.app-header h1,.app-header p{margin:3px 0}.app-header h1{font-size:clamp(1.35rem,2.6vw,1.9rem);line-height:1.15}.header-brand{align-items:center;gap:16px;display:flex}.header-emblem{object-fit:cover;border-radius:50%;flex:none;width:72px;height:72px}.brand-name{color:#6fd0ff;letter-spacing:.08em;text-transform:uppercase;font-size:.86rem;font-weight:800}.header-description{color:#d8e7f5;font-size:.94rem}.header-actions{align-items:center;gap:16px;display:flex}.save-status{max-width:170px;font-size:.85rem}.button{background:var(--brand);color:#fff;border:2px solid #0000;border-radius:6px;justify-content:center;align-items:center;min-height:44px;padding:9px 16px;font-weight:700;display:inline-flex}.app-header .button{color:var(--brand-dark);background:#fff}.button.secondary{border-color:var(--brand);color:var(--brand-dark);background:#fff}.button.danger,.danger{color:var(--danger);background:#fff;border:1px solid}.workspace{grid-template-columns:minmax(460px,.9fr) minmax(500px,1.1fr);min-height:calc(100vh - 110px);display:grid}.editor{border-right:1px solid var(--line);background:#fff;min-width:0}.tabs{border-bottom:1px solid var(--line);background:#f8fafb;gap:4px;padding:12px 16px;display:flex;overflow:auto}.tabs button{white-space:nowrap;min-height:42px;color:var(--muted);background:0 0;border:0;border-radius:5px;padding:8px 12px}.tabs button[aria-current=page]{color:#064c73;background:var(--brand-soft);font-weight:700}.panel{max-width:780px;min-height:560px;padding:24px clamp(18px,3vw,36px)}.panel>h2,.data-tools h2{margin-top:0}.grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.field{flex-direction:column;gap:6px;margin:0 0 16px;font-weight:700;display:flex}.field small{color:var(--muted);font-weight:400;line-height:1.4}.field input,.field textarea,select{width:100%;color:var(--ink);background:#fff;border:1px solid #8996a2;border-radius:5px;padding:10px}.field textarea{resize:vertical;line-height:1.5}.check{align-items:center;gap:9px;min-height:44px;margin:8px 0 16px;display:flex}.check input{width:20px;height:20px}.card{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:18px}.card legend{text-transform:capitalize;padding:0 8px;font-weight:700}.inline-card{grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;display:grid}.inline-card .field{margin:0}.inline-card button,.item-actions button{border-radius:5px;min-height:42px;padding:8px 12px}.item-actions{gap:8px;display:flex}.notice{background:#fff5dc;border-left:4px solid #ad761b;padding:12px}.ai-box{background:#f1f9fd;border:1px solid #91c7e4;border-radius:8px;margin-top:28px;padding:18px}.ai-box h3{margin-top:0}.ai-actions{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.proposal{border:1px solid var(--line);background:#fff;margin-top:16px;padding:14px}.data-tools{border-top:1px solid var(--line);background:#f8fafb;padding:24px clamp(18px,3vw,36px)}.data-tools>div{flex-wrap:wrap;gap:10px;display:flex}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.preview-pane{min-width:0;padding:20px clamp(14px,3vw,34px) 50px;overflow:auto}.preview-toolbar{justify-content:flex-end;max-width:210mm;margin:0 auto 12px;display:flex}.preview-toolbar label{align-items:center;gap:8px;font-weight:700;display:flex}.cv-page{color:#17202a;background:var(--paper);width:210mm;min-height:297mm;margin:auto;padding:18mm 17mm;font-family:Arial,Helvetica,sans-serif;font-size:10.5pt;line-height:1.42;box-shadow:0 3px 20px #0002}.cv-page header{text-align:center;border-bottom:2px solid #25323d;padding-bottom:12px}.cv-page h1{letter-spacing:.01em;margin:0;font-size:25pt}.cv-page .headline{color:#34495e;margin:4px 0;font-size:13pt}.cv-page address{font-style:normal}.cv-page header p,.cv-page address{margin:3px 0}.cv-page section{break-inside:auto;margin-top:16px}.cv-page h2{text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #77838d;margin:0 0 8px;padding-bottom:3px;font-size:12pt}.cv-page h3{margin:0;font-size:10.8pt}.cv-page p{margin:3px 0 8px}.cv-page article{break-inside:avoid;margin:0 0 12px}.item-heading{justify-content:space-between;gap:16px;display:flex}.dates{white-space:nowrap;color:#44515c;flex:none}.preline{white-space:pre-line}.cv-page a{color:inherit;overflow-wrap:anywhere;text-decoration:underline}.template-moderna{border-top:9mm solid var(--brand);padding-top:12mm}.template-moderna header{text-align:left;border:0}.template-moderna h2{color:var(--brand-dark);border-color:var(--brand)}.mobile-switch{display:none}.legal-page{background:#fff;max-width:760px;min-height:100vh;margin:auto;padding:clamp(24px,6vw,72px) 20px;line-height:1.65}.legal-page a{color:var(--brand-dark)}.seo-content{background:#fff;padding:clamp(44px,7vw,82px) clamp(18px,5vw,70px);line-height:1.65}.seo-content a{color:#065c88;text-underline-offset:3px}.seo-intro{text-align:center;max-width:820px;margin:0 auto 38px}.seo-intro .eyebrow{color:#075c87;letter-spacing:.09em;text-transform:uppercase;margin:0 0 8px;font-size:.82rem;font-weight:800}.seo-intro h2,.faq h2{color:var(--brand-dark);margin:0 0 14px;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.2}.seo-intro p{color:#3e5065;margin:0;font-size:1.06rem}.seo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1120px;margin:auto;display:grid}.seo-grid article{border:1px solid var(--line);background:#f8fbfd;border-radius:10px;padding:24px}.seo-grid h3{color:#073e61;margin:0 0 10px;font-size:1.2rem}.seo-grid p,.seo-grid ol{margin:8px 0 0}.seo-grid li+li{margin-top:6px}.faq{max-width:900px;margin:58px auto 0}.faq details{border-top:1px solid var(--line);padding:0 2px}.faq details:last-child{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;color:#17324e;min-height:50px;padding:14px 34px 14px 0;font-weight:700}.faq details p{color:#405267;margin:0;padding:0 28px 18px 0}.brand-footer{color:#fff;border-top:4px solid var(--brand-bright);background:#050b18;justify-content:space-between;align-items:center;gap:28px;padding:24px clamp(18px,4vw,54px);display:flex}.footer-brand{align-items:center;gap:18px;display:flex}.footer-brand img{object-fit:contain;border-radius:8px;width:110px;height:110px}.footer-brand div{gap:7px;display:grid}.footer-brand a,.brand-footer nav a{color:#b9e7ff;text-underline-offset:4px}.brand-footer nav{flex-wrap:wrap;gap:18px;display:flex}@media (max-width:1050px){.workspace{grid-template-columns:1fr}.mobile-switch{z-index:20;border-bottom:1px solid var(--line);background:#fff;grid-template-columns:1fr 1fr;padding:8px;display:grid;position:sticky;top:0}.mobile-switch button{background:#fff;border:0;min-height:44px}.mobile-switch .active{color:#064c73;background:var(--brand-soft);font-weight:700}.mobile-hidden{display:none}.editor{border:0}.preview-pane{min-height:calc(100vh - 170px)}}@media (max-width:620px){.app-header{flex-direction:column;align-items:flex-start}.header-emblem{width:60px;height:60px}.header-description{max-width:31ch}.header-actions{justify-content:space-between;width:100%}.grid-2,.inline-card{grid-template-columns:1fr}.panel{padding:20px 16px}.preview-pane{padding:12px 8px 30px}.cv-page{transform-origin:0 0;zoom:.46;width:210mm;font-size:10pt}.brand-footer{flex-direction:column;align-items:flex-start}.footer-brand img{width:88px;height:88px}.seo-grid{grid-template-columns:1fr}.seo-content{padding-block:42px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{@page{size:A4;margin:0}body{background:#fff}.app-header,.mobile-switch,.editor,.preview-toolbar,.brand-footer,.seo-content{display:none!important}.workspace,.preview-pane{margin:0;padding:0;overflow:visible;display:block!important}.cv-page{width:210mm;min-height:297mm;box-shadow:none;zoom:1;margin:0}}
