.cv-toolbar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.cv-open-label{display:flex;align-items:center;gap:.6rem;font-size:.9rem}.cv-toolbar select{max-width:24rem}.cv-toolbar [role=status]{font-size:.8rem;color:#657174;margin-left:auto}.cv-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;align-items:start}.cv-panel{background:#fff;border:1px solid #dce4df;border-radius:16px;padding:1.4rem;margin-bottom:1.25rem;min-width:0}.cv-panel h2{font-size:1.3rem;margin:0 0 1rem}.cv-panel label{display:flex;flex-direction:column;gap:.35rem;font-size:.88rem;font-weight:600;margin-bottom:.85rem}.cv-panel input:not([type=checkbox]):not([type=radio]),.cv-panel select,.cv-panel textarea{width:100%;min-width:0;padding:.65rem .75rem;border:1px solid #ccd8d0;border-radius:8px;font:inherit;color:#202b27;background:#fff}.cv-panel textarea{resize:vertical;line-height:1.5}.cv-panel input:focus,.cv-panel select:focus,.cv-panel textarea:focus{outline:2px solid #236c4b;outline-offset:2px}.cv-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .85rem}.cv-wide{grid-column:1/-1}.cv-step{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#236c4b;margin-bottom:.6rem}.cv-help{font-size:.8rem;color:#657174;line-height:1.5;margin:.25rem 0 .9rem}.cv-personal{margin:1rem 0}.cv-personal summary{cursor:pointer;font-size:.9rem;font-weight:600;margin-bottom:.8rem}.cv-panel .checkbox-line{display:flex;flex-direction:row;align-items:center;gap:.55rem;font-size:.8rem;font-weight:400}.cv-panel .checkbox-line input{flex:0 0 auto;width:16px;height:16px}.cv-guidance{border-left:3px solid #e8942f;padding:.75rem 1rem;background:#fffbf3;font-size:.82rem;margin-bottom:1.2rem}.cv-guidance p{margin:.35rem 0;line-height:1.5}.cv-section-editor{border:1px solid #dce4df;border-radius:10px;margin-bottom:.7rem;padding:.8rem}.cv-section-editor>summary{cursor:pointer;font-size:.9rem;font-weight:650;list-style:revert}.cv-entry-count{display:inline-block;background:#edf3ef;border-radius:20px;font-size:.72rem;padding:.12rem .45rem;margin-left:.6rem}.cv-hidden-tag{font-size:.7rem;font-weight:400;color:#657174;margin-left:.6rem}.cv-section-tools{display:flex;align-items:center;gap:.5rem;margin:.8rem 0}.cv-section-tools .checkbox-line{margin:0 auto 0 0}.cv-icon-button{background:#fff;border:1px solid #dce4df;border-radius:6px;padding:.3rem .5rem;cursor:pointer;color:#275340;font-size:.78rem;line-height:1.3}.cv-icon-button:hover{background:#edf3ef}.cv-icon-button:disabled{opacity:.35;cursor:default}.cv-entry-editor{border:1px solid #dce4df;background:#f8faf8;border-radius:8px;padding:.85rem;margin-bottom:.8rem}.cv-entry-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:.7rem;font-size:.8rem}.cv-entry-actions{display:flex;gap:.3rem}.cv-text-button{background:none;border:0;color:#236c4b;text-decoration:underline;cursor:pointer;font-size:.8rem;margin-bottom:.6rem;padding:0}.cv-format-fields{margin-top:1rem}.cv-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.cv-preview-heading h2{margin-bottom:0}.cv-preview-panel iframe{width:100%;height:740px;border:1px solid #dce4df;border-radius:8px;background:#edf0f2}.cv-export-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:#fff;border:1px solid #dce4df;border-radius:12px;padding:1rem 1.25rem;margin:0 0 2rem;position:sticky;bottom:10px;z-index:10;box-shadow:0 4px 22px #123d2e14}.cv-export-bar .cv-help{margin:0}.cv-export-actions{display:flex;gap:.5rem;flex-wrap:wrap}.cv-export-actions .button{font-size:.82rem;padding:.7rem 1rem}.cv-feedback{padding:.9rem 1rem;background:#eff7f1;border:1px solid #b5d7be;border-radius:10px;margin-bottom:1rem;font-size:.88rem}.cv-feedback.cv-error{background:#fff1ed;border-color:#d99d89;color:#813524}.cv-feedback[hidden]{display:none}.cv-panel input:disabled{background:#eef0ee;color:#7a827d}#cv-editor button:disabled{cursor:wait;opacity:.6}
@media(min-width:1500px){.cv-preview-panel iframe{height:900px}}@media(max-width:1100px){.cv-fields{grid-template-columns:1fr}.cv-wide{grid-column:auto}}@media(max-width:800px){.cv-workspace{grid-template-columns:1fr}.cv-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cv-wide{grid-column:1/-1}.cv-export-bar{position:static}.cv-toolbar [role=status]{margin-left:0}.cv-preview-panel iframe{height:620px}}@media(max-width:480px){.cv-panel{padding:1rem}.cv-fields{grid-template-columns:1fr}.cv-wide{grid-column:auto}.cv-export-actions{width:100%}.cv-export-actions .button{flex:1 1 45%;text-align:center}.cv-open-label{display:block;width:100%}.cv-open-label select{width:100%}.cv-entry-actions{gap:.2rem}}
/* Follow the site theme while keeping the document preview white. */
.cv-panel input[type="month"]{color-scheme:light}
:root[data-theme="dark"] .cv-panel input[type="month"]{color-scheme:dark}
.cv-panel,.cv-export-bar{background:var(--surface);color:var(--ink);border-color:var(--line)}.cv-panel h2{color:var(--ink)}.cv-panel input:not([type=checkbox]):not([type=radio]),.cv-panel select,.cv-panel textarea{background:var(--input-bg);color:var(--ink);border-color:var(--line)}.cv-help,.cv-toolbar [role=status]{color:var(--muted)}.cv-step{color:var(--green)}.cv-section-editor,.cv-entry-editor{border-color:var(--line)}.cv-entry-editor,.cv-guidance{background:var(--surface-soft)}.cv-icon-button{background:var(--surface);color:var(--green-dark);border-color:var(--line)}.cv-icon-button:hover{background:var(--surface-soft)}.cv-entry-count{background:var(--surface-soft);color:var(--ink)}.cv-hidden-tag{color:var(--muted)}.cv-text-button{color:var(--green)}.cv-feedback{color:#1b4730}.cv-panel input:disabled{background:var(--surface-soft);color:var(--muted)}.cv-photo-row{display:flex;align-items:center;gap:1rem;margin:.75rem 0}.cv-photo-row img{width:80px;height:80px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}#cv-photo-file{font-size:.8rem}.cv-design select{cursor:pointer}
.cv-format-options{margin:1rem 0}.cv-format-options>summary{cursor:pointer;font-size:.85rem;font-weight:600;color:var(--green-dark)}
