.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cv-editor-page .main-content{padding:24px 28px}.cv-editor-page .public-footer{display:none}.guest-editor-shell{max-width:1660px;margin:auto;padding:28px 35px}.editor-shell{container-type:inline-size;min-width:0}.editor-shell form{margin:0}.editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.editor-title{display:flex;gap:16px;align-items:center;min-width:0}.editor-title>div{min-width:0}.editor-back{width:35px;height:38px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);border-radius:8px;flex:none}.editor-back .icon{transform:rotate(180deg)}#cv-title{display:block;border:1px solid transparent;background:transparent;color:var(--ink);font-weight:700;font-size:24px;letter-spacing:-.03em;padding:3px 6px;margin-left:-6px;width:100%;max-width:400px;min-width:80px;border-radius:6px}#cv-title:hover{border-color:var(--line)}#save-status{font-size:11px;margin:2px 0 0;color:var(--muted)}.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:none}.editor-toolbar>.btn{font-size:12px;min-height:40px}.guest-draft-note{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center;margin-bottom:22px}.guest-draft-note>.icon{color:#0ba1c9;flex:none}.text-button{display:inline;background:none;border:0;padding:0;color:var(--navy);font-size:12px;font-weight:600;cursor:pointer}.text-button:hover{color:var(--cyan);text-decoration:underline}.text-button.danger{color:var(--danger)}.editor-columns{--preview-width:46%;display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,var(--preview-width));align-items:start;min-width:0;gap:0}.editor-input{min-width:0}.editor-tabs{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface);padding:4px;margin-bottom:18px;gap:4px;position:sticky;top:10px;z-index:4;box-shadow:var(--shadow)}.editor-tab{display:flex;gap:9px;align-items:center;justify-content:center;flex:1;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:11px;font-size:13px;font-weight:600}.editor-tab.active{background:var(--brand-soft);color:var(--navy)}.editor-tab-panel[hidden]{display:none!important}.editor-section{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);margin-bottom:16px;padding:24px;min-width:0}.section-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px;flex-wrap:wrap}.section-title-row>div{display:flex;align-items:center;gap:11px}.editor-section h2{font-size:17px;letter-spacing:-.025em;margin:0}.section-step{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:6px;font-size:10px;font-weight:600;color:var(--muted);flex:none}.section-caption{font-size:10px;color:var(--muted)}.photo-controls{display:flex;gap:18px;align-items:center;margin-bottom:28px}.photo-picker{width:70px;height:78px;flex:none;position:relative;background:var(--surface-2);border:1px dashed var(--line);border-radius:10px;display:grid;place-items:center;cursor:pointer;color:var(--muted)}.photo-picker>img{width:100%;height:100%;object-fit:cover;border-radius:9px}.photo-picker>img[hidden]{display:none}.photo-edit{position:absolute;right:-5px;bottom:-4px;border:2px solid var(--surface);border-radius:50%;width:23px;height:23px;display:grid;place-items:center;background:var(--cyan);color:#082f47}.photo-controls p{font-size:10px;margin:6px 0 4px}.photo-controls .text-button{display:inline-block}.editor-section .field label{font-size:12px}.editor-section .field input,.editor-section .field textarea,.editor-section .field select{font-size:13px}.editor-section .form-grid{gap:18px}.cv-section{padding:0;overflow:hidden}.cv-section>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 24px;list-style:none;cursor:pointer;font-size:15px;font-weight:650}.cv-section>summary::-webkit-details-marker{display:none}.section-summary-label,.section-summary-end{display:flex;align-items:center;gap:11px}.section-summary-end>.icon{color:var(--muted);transition:transform .18s}.cv-section[open] .section-summary-end>.icon{transform:rotate(180deg)}.section-count{font-size:10px;color:var(--muted);font-weight:500;background:var(--surface-2);border-radius:4px;min-width:18px;text-align:center}.section-count:empty{display:none}.section-content{padding:0 24px 23px}.section-order-tools{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-bottom:13px;margin-top:-5px}.section-order-tools>span{font-size:10px;color:var(--muted);margin-right:4px}.section-order-tools>.icon-button{width:25px;height:25px;padding:4px;border-color:transparent}.section-order-tools>.icon-button:hover{border-color:var(--line)}.entry-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:17px;margin-bottom:14px}.entry-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.entry-heading>span{font-size:12px;font-weight:650;overflow-wrap:anywhere}.entry-actions{display:flex;gap:4px;flex:none}.entry-actions .icon-button{width:27px;height:27px;padding:5px;border:0}.entry-card .form-grid{gap:16px}.entry-card .field textarea{min-height:110px}.section-empty{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:17px}.section-content .field small{font-size:11px}.add-entry{border-style:dashed;min-height:39px;width:100%;font-size:12px}.editor-end-note{font-size:11px;color:var(--muted);text-align:center;padding:13px 0 28px}.design-help{font-size:12px;margin:12px 0 22px}.editor-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 11px}.editor-template{display:block;position:relative;text-align:center;cursor:pointer;min-width:0;font-size:11px;font-weight:600;color:var(--muted)}.editor-template input{position:absolute;opacity:0;width:1px;height:1px}.editor-template-picture{display:block;padding:12px 10px;background:var(--surface-2);border:2px solid transparent;border-radius:7px;margin-bottom:7px}.editor-template-picture .cv-mini{width:100%;aspect-ratio:210/297}.editor-template.selected .editor-template-picture{border-color:var(--cyan);background:var(--brand-soft)}.editor-template.selected{color:var(--navy)}.editor-template:focus-within .editor-template-picture{outline:2px solid var(--navy);outline-offset:2px}.template-check{display:none;position:absolute;right:5px;top:5px;border-radius:50%;background:var(--cyan);color:#102b43;width:18px;height:18px;place-items:center}.editor-template.selected .template-check{display:grid}.colour-options{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 24px}.colour-swatch{padding:4px;position:relative;width:38px;height:38px;background:transparent;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.colour-swatch>span{position:absolute;inset:4px;border-radius:50%;background:var(--swatch)}.colour-swatch>.icon{position:relative;color:#fff;opacity:0}.colour-swatch[aria-pressed=true]{border:2px solid var(--cyan)}.colour-swatch[aria-pressed=true]>.icon{opacity:1}.custom-colour{display:flex;border:1px solid var(--line);border-radius:7px;align-items:center;overflow:hidden}.custom-colour input[type=color]{width:45px;min-width:45px;min-height:39px;height:39px;border:0;padding:6px;background:transparent;border-radius:0;cursor:pointer}.custom-colour input:not([type=color]){border:0!important;border-radius:0!important;min-width:0}.editor-tip{display:flex;gap:15px;padding:20px 22px;border:1px solid var(--line);border-radius:11px;color:var(--muted)}.editor-tip>.icon{color:var(--cyan);margin-top:3px}.editor-tip strong{font-size:12px;color:var(--ink)}.editor-tip p{font-size:11px;line-height:1.7;margin:6px 0 0}.preview-divider{align-self:stretch;width:20px;border:0;background:transparent;padding:0;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:7px;cursor:col-resize;touch-action:none;color:var(--muted);min-height:600px}.preview-divider>span{display:block;width:1px;height:90px;background:var(--line)}.preview-divider>span:last-child{height:150px}.preview-divider>.icon{background:var(--surface);border:1px solid var(--line);width:18px;height:37px;padding:2px;border-radius:5px}.preview-divider:hover>.icon,.preview-divider:focus>.icon{color:var(--navy);border-color:var(--cyan)}.editor-preview{position:sticky;top:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden;box-shadow:var(--shadow)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line)}.preview-toolbar>div:first-child{display:flex;gap:8px;align-items:center}.preview-toolbar strong{font-size:12px;font-weight:650}.preview-live-dot{width:6px;height:6px;border-radius:50%;background:var(--success)}.preview-actions{display:flex;gap:6px}.preview-actions .icon-button{height:30px;width:31px;padding:5px}.preview-status{font-size:10px;padding:10px 18px;color:var(--muted);border-bottom:1px solid var(--line);min-height:34px}.preview-status.error{color:var(--danger)}.preview-paper-area{padding:24px 22px;background:var(--surface-2);max-height:calc(100vh - 260px);min-height:480px;overflow:auto;overscroll-behavior:contain}.preview-empty{text-align:center;padding:4px 15px 20px}.preview-empty-sheet{width:160px;margin:0 auto 28px;opacity:.6;filter:blur(.1px)}.preview-empty-sheet .cv-mini{width:100%;height:226px}.preview-empty>strong{font-size:13px;display:block;margin-bottom:8px}.preview-empty>p{font-size:11px;max-width:240px;margin:auto}.preview-footer{display:flex;justify-content:space-between;padding:12px 18px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}#pdf-pages{display:grid;gap:20px}#pdf-pages canvas{width:100%;height:auto;display:block;background:white;box-shadow:0 3px 13px #06142b1a;border:1px solid #dce3ea}.preview-loading .preview-live-dot{animation:livepulse 1s infinite}.preview-expanded .editor-preview{position:fixed!important;inset:24px;z-index:100;max-width:980px;margin:auto;box-shadow:0 0 0 100vw #051425a6;display:flex;flex-direction:column}.preview-expanded .preview-paper-area{max-height:none;min-height:0;flex:1}.preview-expanded .preview-paper-area #pdf-pages{max-width:760px;margin:auto}.preview-expanded{overflow:hidden}.preview-dragging,.preview-dragging *{cursor:col-resize!important;user-select:none}.preview-dragging .preview-paper-area{pointer-events:none}.mobile-preview-bar{display:none}.cv-editor-page .public-header-inner{height:80px}dialog{max-width:490px;width:calc(100% - 36px);border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px;padding:30px;box-shadow:0 30px 100px #0005}dialog::backdrop{background:#07152599}dialog h2{font-size:24px;padding-right:25px}dialog p{font-size:13px}dialog .dialog-close{position:absolute;right:15px;top:15px;border:0}.preview-status .text-button{font-size:10px}#share-message{font-size:12px}
@keyframes livepulse{50%{opacity:.25}}
@container(max-width:1100px){.editor-section{padding:20px}.cv-section{padding:0}.cv-section>summary{padding:18px 20px}.section-content{padding:0 20px 20px}.editor-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-paper-area{padding:18px 14px}.section-caption{display:none}.editor-section .form-grid{gap:15px}.editor-title #cv-title{font-size:22px}.editor-heading{gap:14px}.editor-toolbar>.btn{font-size:11px;padding:9px 12px}}
@container(max-width:850px){.editor-columns{display:block}.preview-divider{display:none}.editor-preview{display:none}.preview-expanded .editor-preview{display:flex}.editor-input{max-width:720px;margin:auto}.editor-tabs{top:8px}.editor-template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-heading{align-items:start}.editor-toolbar{gap:6px}.editor-toolbar>.btn{min-height:38px}.editor-toolbar #share-cv span{display:none}.editor-toolbar #share-cv{width:37px;padding:9px}.mobile-preview-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:20;padding:12px 20px;background:var(--surface);border-top:1px solid var(--line);gap:10px;justify-content:center;box-shadow:0 -5px 20px #00000008}.mobile-preview-bar>.btn{flex:1;max-width:300px;font-size:12px}.editor-shell{padding-bottom:75px}.preview-expanded .editor-preview{inset:12px}.guest-draft-note{font-size:11px}.editor-section .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.guest-editor-shell{padding:22px}.cv-editor-page .main-content{padding:23px 22px}.cv-editor-page .app-topbar{height:67px}.cv-editor-page .public-header-inner{height:75px}.preview-paper-area{max-height:none}.editor-heading{margin-bottom:20px}}
@media(max-width:520px){.guest-editor-shell{padding:18px 16px 85px}.cv-editor-page .main-content{padding:20px 15px}.editor-heading{gap:10px;align-items:center;flex-wrap:wrap}.editor-title{gap:10px;flex:1}.editor-title #cv-title{font-size:21px}.editor-back{width:31px;height:34px}.editor-toolbar{width:100%;justify-content:flex-end}.editor-toolbar>.btn{flex:1}.editor-toolbar #save-cv,.editor-toolbar #share-cv{flex:0}.editor-toolbar #share-cv{width:37px}.guest-draft-note{align-items:flex-start;line-height:1.7;margin-bottom:16px}.editor-section{padding:19px 16px}.cv-section{padding:0}.cv-section>summary{padding:18px 16px}.section-content{padding:0 16px 18px}.section-step{width:22px;height:22px;font-size:9px}.editor-section h2{font-size:16px}.section-summary-label{gap:9px}.cv-section>summary{font-size:14px}.entry-card{padding:14px}.entry-card .form-grid,.editor-section .form-grid{grid-template-columns:1fr;gap:15px}.editor-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px}.editor-template-picture{padding:10px 8px}.colour-options{gap:10px}.colour-swatch{width:34px;height:34px}.editor-tip{padding:18px 16px}.preview-expanded .editor-preview{inset:8px}.preview-paper-area{padding:16px 10px}.preview-toolbar{padding:11px 13px}.preview-status{padding:9px 13px}.preview-footer{padding:11px 13px}.mobile-preview-bar{padding:10px 13px}.photo-controls{gap:15px;margin-bottom:23px}#save-status{font-size:10px}.editor-section .field label{font-size:12px}.editor-section .field input,.editor-section .field textarea{font-size:14px;min-height:44px}.preview-empty{padding:10px}.preview-empty-sheet{width:180px}.preview-empty-sheet .cv-mini{height:255px}}
