.cv-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.cv-editor-grid label,.cv-editor-actions label{display:flex;flex-direction:column;gap:7px;color:#1e3a5f;font-weight:600;font-size:14px}.cv-editor-grid input,.cv-editor-grid textarea,.cv-editor-actions select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px;font:inherit;color:#1e293b;background:#fff;box-sizing:border-box}.cv-editor-grid textarea{resize:vertical;min-height:76px}.cv-editor-wide{grid-column:1/-1}.cv-editor-actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:18px 0}.cv-editor-actions button{min-height:45px}.cv-paper{background:#fff;padding:28px;color:#1e293b;overflow-wrap:anywhere;border-top:5px solid #1e3a5f;line-height:1.5}.cv-paper h2{font-size:25px;margin:0}.cv-paper h3{color:#1e3a5f;border-bottom:1px solid #cbd5e1;margin:20px 0 7px;font-size:15px}.cv-paper p{white-space:normal;margin:6px 0}.cv-paper-role{font-weight:600}.cv-paper-modern{border-color:#126a70}.cv-paper-modern h3{color:#126a70}.cv-paper-minimal{border-color:#334155}.cv-paper-minimal h3{color:#334155}#cv-editor-status{min-height:24px;color:#1e3a5f}@media(max-width:650px){.cv-editor-grid{grid-template-columns:1fr}.cv-editor-actions{align-items:stretch}.cv-editor-actions button{width:100%}}.cv-entries{border:1px solid #dbe4ee;border-radius:12px;padding:16px}.cv-entries-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cv-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;margin:14px 0;background:#f7f9fc;border:1px solid #dce5ef;border-radius:10px}.cv-entry label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13px}.cv-entry input,.cv-entry textarea{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:10px;font:inherit;box-sizing:border-box}.cv-entry label:nth-child(4){grid-column:1/-1}.cv-entry button{justify-self:start}@media(max-width:650px){.cv-entry{grid-template-columns:1fr}}
.cv-paper-classic{border-top:6px solid #1e3a5f}.cv-paper-sidebar{border-top:0;border-left:85px solid #126a70;padding-left:25px;min-height:390px}.cv-paper-minimal{border-top:1px solid #334155}.cv-paper-banner{border-top:40px solid #b35c39}.cv-paper-timeline{border-top:0;border-left:3px solid #1e3a5f}.cv-paper-indigo{border-left-color:#404a8a}.cv-paper-slate{border-left-color:#334155}.cv-paper-ocean{border-left-color:#176a92}.cv-paper-studio{border-top-color:#7a4f9a}.cv-paper-forest{border-top-color:#336650}.cv-paper-terracotta{border-top-color:#a85c48}.cv-paper-copper{border-left-color:#a76b3f}.cv-paper-graphite{border-left-color:#414c59}.cv-paper-plum{border-left-color:#764f72}.cv-paper-editorial,.cv-paper-quiet,.cv-paper-executive,.cv-paper-formal,.cv-paper-terracotta,.cv-paper-plum{font-family:Georgia,serif}
/* Live A4-style preview: layout families share the same visual hierarchy as exports. */
#cv-preview{overflow:auto;background:#e8edf3;padding:20px;border-radius:12px}
.cv-live-sheet{--cv-accent:#1e3a5f;box-sizing:border-box;max-width:595px;min-height:740px;margin:0 auto;background:#fff;color:#243043;box-shadow:0 8px 30px #182b4930;font:12px/1.55 Inter,Arial,sans-serif;overflow:hidden;overflow-wrap:anywhere}
.cv-live-sheet h2{font-size:27px;line-height:1.12;margin:0 0 7px;color:var(--cv-accent);letter-spacing:-.7px}
.cv-live-role{font-size:13px;font-weight:600;letter-spacing:.4px}
.cv-live-contact{font-size:10px;line-height:1.8;overflow-wrap:anywhere;color:#526071}
.cv-live-identity{display:flex;gap:17px;align-items:center}
.cv-live-photo{width:78px;height:92px;object-fit:cover;border-radius:5px;flex-shrink:0}
.cv-live-section{margin:0 0 19px;break-inside:avoid}
.cv-live-section h3{font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--cv-accent);margin:0 0 8px;border:0}
.cv-live-section p{font-size:11px;line-height:1.7;margin:0;white-space:normal}
.cv-live-top{padding:37px 42px 17px}.cv-live-content{padding:14px 42px 38px}
.cv-live-classic .cv-live-top{border-top:9px solid var(--cv-accent)}
.cv-live-classic .cv-live-section h3{border-bottom:1px solid #cbd5e1;padding-bottom:6px}
.cv-live-minimal .cv-live-top{border-top:2px solid var(--cv-accent);margin:32px 42px 0;padding:14px 0 12px}
.cv-live-minimal .cv-live-content{padding-top:12px}
.cv-live-minimal h2{font-family:Georgia,serif;font-size:31px}
.cv-live-sidebar{display:grid;grid-template-columns:35% 65%}
.cv-live-sidebar .cv-live-aside{background:var(--cv-accent);color:white;padding:38px 19px;min-height:740px}
.cv-live-sidebar .cv-live-aside h2,.cv-live-sidebar .cv-live-aside h3,.cv-live-sidebar .cv-live-aside .cv-live-contact{color:#fff}
.cv-live-sidebar .cv-live-aside .cv-live-identity{display:block}
.cv-live-sidebar .cv-live-aside .cv-live-photo{display:block;margin-bottom:18px}
.cv-live-sidebar .cv-live-aside h2{font-size:22px}
.cv-live-sidebar .cv-live-aside .cv-live-section{margin-top:25px}
.cv-live-sidebar .cv-live-main{padding:45px 26px}
.cv-live-banner .cv-live-banner{background:var(--cv-accent);color:white;padding:35px 42px}
.cv-live-banner .cv-live-banner h2{color:white}
.cv-live-banner .cv-live-content{padding-top:24px}
.cv-live-timeline .cv-live-top{border-bottom:3px solid var(--cv-accent)}
.cv-live-timeline .cv-live-timeline{margin:20px 42px 35px;padding-left:24px;border-left:2px solid var(--cv-accent)}
.cv-live-timeline .cv-live-section{position:relative}
.cv-live-timeline .cv-live-section:before{content:"";position:absolute;left:-30px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--cv-accent)}
@media(max-width:650px){#cv-preview{padding:8px}.cv-live-sheet{min-height:500px}.cv-live-top{padding:22px}.cv-live-content{padding:15px 22px}.cv-live-sidebar .cv-live-aside{padding:22px 10px}.cv-live-sidebar .cv-live-main{padding:22px 12px}.cv-live-sheet h2{font-size:20px}.cv-live-sidebar .cv-live-aside h2{font-size:16px}.cv-live-photo{width:55px;height:65px}}

/* Gallery uses the same real sheet renderer as the editor; no empty mockups. */
.cv-gallery-thumb{height:260px;position:relative;overflow:hidden;background:#edf2f7;pointer-events:none;user-select:none;-webkit-user-select:none}
.cv-gallery-thumb>.cv-live-sheet{width:595px;max-width:none;min-height:740px;transform:scale(.35);transform-origin:top left;margin:0;box-shadow:none}
.cv-template-card{overflow:hidden}
.cv-template-selected{outline:3px solid #d8ac54;outline-offset:2px}
.gallery-preview-panel{margin:32px auto 0;max-width:880px;border:1px solid #d8e1ee;border-radius:16px;padding:22px;background:#f5f7fb}
.gallery-preview-panel[hidden]{display:none}
.gallery-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.gallery-preview-heading h3{margin:0 0 6px;color:#1e3a5f;font-size:23px}
.gallery-preview-heading p{margin:0;max-width:580px;font-size:13px;color:#526071}
.gallery-preview-viewport{position:relative;width:min(100%,595px);margin:auto;overflow:hidden;box-shadow:0 10px 28px #14263b30;user-select:none;-webkit-user-select:none}
.gallery-preview-viewport #gallery-preview-sheet{pointer-events:none}
.gallery-preview-watermark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-27deg);font-weight:800;font-size:30px;letter-spacing:4px;color:#64748b3d;white-space:nowrap;pointer-events:none}
.cv-design-executive h2,.cv-design-editorial h2,.cv-design-quiet h2,.cv-design-terracotta h2,.cv-design-plum h2{font-family:Georgia,serif;letter-spacing:-.5px}
.cv-design-formal h2,.cv-design-mono h2{letter-spacing:1.5px;text-transform:uppercase}
.cv-design-ocean .cv-live-aside,.cv-design-forest .cv-live-banner{background:#176a92}
.cv-design-forest .cv-live-banner{background:#336650}
.cv-design-creative .cv-live-banner{border-bottom:8px solid #f2c8ad}
.cv-design-studio .cv-live-banner{border-left:16px solid #d3b5e0}
.cv-design-terracotta .cv-live-banner{border-bottom:10px solid #f1d7c7}
.cv-design-copper .cv-live-timeline{border-left-style:dashed}
.cv-design-plum .cv-live-section h3{font-family:Georgia,serif;font-style:italic;text-transform:none;letter-spacing:0;font-size:15px}
@media(max-width:650px){.cv-gallery-thumb{height:215px}.cv-gallery-thumb>.cv-live-sheet{transform:scale(.28)}.gallery-preview-panel{padding:10px}.gallery-preview-viewport .cv-live-sheet{min-height:650px}}

/* Corporate masthead: full-bleed name block, portrait zone and independent contact ribbon. */
.cv-live-masthead{min-height:178px;box-sizing:border-box;background:var(--cv-accent);padding:39px 43px;color:#fff;display:flex;align-items:center}
.cv-live-masthead h2{font-size:34px;max-width:360px;color:#fff;letter-spacing:-1px}
.cv-live-masthead .cv-live-role{color:#e5edf5;font-size:14px}
.cv-live-masthead .cv-live-identity{width:100%;justify-content:space-between;flex-direction:row-reverse}
.cv-live-masthead .cv-live-photo{width:93px;height:110px;border-radius:0;border:4px solid #fff;object-fit:cover}
.cv-live-contact-strip{background:#e8eef2;color:#243b53;padding:12px 43px;font-size:10px;min-height:34px;box-sizing:border-box}
.cv-live-masthead~.cv-live-content{padding-top:30px;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.cv-live-masthead~.cv-live-content .cv-live-section:first-child,.cv-live-masthead~.cv-live-content .cv-live-section:nth-child(2){grid-column:1/-1}
.cv-design-corporate .cv-live-section h3{letter-spacing:2px;border-bottom:2px solid var(--cv-accent);padding-bottom:7px}

/* Compact previews, and a readable light corporate layout. */
#cv-preview{max-height:530px;overflow:auto}
#cv-preview-near-select{width:100%;max-width:400px;max-height:380px;overflow:auto;background:#e8edf3;padding:10px;border-radius:12px;box-sizing:border-box}
#cv-preview-near-select .cv-live-sheet{width:595px;max-width:none;min-height:740px;transform:scale(.60);transform-origin:top left;margin:0;box-shadow:none}
.cv-design-corporate.cv-live-sheet{background:#fff}
.cv-design-corporate .cv-live-masthead{background:#fff;color:#243b53;min-height:145px;padding:35px 43px 25px;border-top:12px solid var(--cv-accent);border-bottom:2px solid #dce4eb}
.cv-design-corporate .cv-live-masthead .cv-live-identity{flex-direction:row-reverse;justify-content:space-between;gap:22px;min-width:0}
.cv-design-corporate .cv-live-masthead .cv-live-identity>div{flex:1;min-width:0}
.cv-design-corporate .cv-live-masthead h2{color:#243b53;font-size:31px;line-height:1.15;max-width:none;overflow-wrap:normal;word-break:normal}
.cv-design-corporate .cv-live-masthead .cv-live-role{color:#536579}
.cv-design-corporate .cv-live-masthead .cv-live-photo{border:0;border-radius:4px}
.cv-design-corporate .cv-live-contact-strip{background:#eef2f6}
.cv-gallery-thumb>.cv-live-sheet{transform:scale(.35)}
.gallery-preview-viewport{max-height:510px;overflow:auto}
.gallery-preview-viewport .cv-live-sheet{width:595px;max-width:none;transform:scale(.78);transform-origin:top left;margin:0;min-height:740px}
.gallery-preview-panel{max-width:650px;padding:15px}
.gallery-preview-watermark{top:220px}
@media(max-width:650px){#cv-preview-near-select{max-width:100%}.gallery-preview-viewport .cv-live-sheet{transform:scale(.52)}.gallery-preview-viewport{max-height:390px}}

/* Five genuinely different CV compositions, rendered in thumbnails and editor. */
.cv-new-editorial-head{padding:42px 44px 22px;border-bottom:1px solid #b6a99f}.cv-new-editorial-head h2{font:normal 42px/1.05 Georgia,serif;color:#44372f;letter-spacing:-1.5px}.cv-new-editorial-head .cv-live-role{font:italic 16px Georgia,serif;color:#654e42}.cv-new-editorial-body{padding:18px 44px}.cv-new-editorial-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;padding:17px 0;border-bottom:1px solid #e8e0d9}.cv-new-editorial-row h3{font:italic 14px Georgia,serif;color:#654e42;margin:0}.cv-new-editorial-row p{margin:0}
.cv-new-right-head{padding:32px 38px 23px;border-bottom:5px solid var(--cv-accent)}.cv-new-right-layout{display:grid;grid-template-columns:minmax(0,1fr)175px;min-height:580px}.cv-new-right-layout main{padding:24px 25px 28px 38px;min-width:0}.cv-new-right-layout aside{padding:23px 17px;background:#edf2f5;min-width:0}.cv-new-right-layout aside .cv-live-section h3{font-size:11px}.cv-new-right-layout aside .cv-live-contact{margin:0 0 24px}
.cv-new-cards-head{padding:34px 40px 26px;background:#eef4f0;border-left:12px solid var(--cv-accent)}.cv-new-cards-body{padding:23px 35px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.cv-new-cards-body .cv-live-section{border:1px solid #d9e6dd;border-radius:8px;padding:15px;background:#fff}.cv-new-cards-body .cv-live-section:nth-child(1),.cv-new-cards-body .cv-live-section:nth-child(2){grid-column:1/-1}.cv-new-cards-body .cv-live-section h3{margin-top:0}
.cv-new-axis{border-left:16px solid var(--cv-accent);min-height:740px}.cv-new-axis>header{padding:43px 40px 27px;border-bottom:2px solid #e7d5ca}.cv-new-axis>header h2{font-size:32px}.cv-new-axis-body{padding:15px 40px}.cv-new-axis-body .cv-live-section{position:relative;padding:14px 0 14px 24px;border-left:1px solid #e2c5b5}.cv-new-axis-body .cv-live-section:before{content:"";position:absolute;left:-5px;top:20px;width:9px;height:9px;background:var(--cv-accent);border-radius:0}
.cv-new-duo-head{padding:35px 40px 23px;border-bottom:2px solid var(--cv-accent)}.cv-new-duo-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;padding:27px 40px}.cv-new-duo-body main{min-width:0}.cv-new-duo-body aside{min-width:0;border-left:1px solid #dcd8e9;padding-left:20px}.cv-new-duo-body aside .cv-live-section h3{font-size:11px}

/* Five photo-first compositions: a portrait mast, diagonal ribbon, split panel, framed editorial and magazine cover. */
.cv-photo-placeholder{width:78px;height:92px;flex-shrink:0;background:#e3e8ed;color:#687b8d;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;border:2px solid #fff;box-sizing:border-box}
.cv-portrait-head{height:205px;background:#e8f3f4;display:flex;align-items:center;gap:30px;padding:22px 40px;box-sizing:border-box;border-bottom:9px solid var(--cv-accent)}
.cv-portrait-head h2{font-size:37px}.cv-portrait-photo .cv-live-photo,.cv-portrait-photo .cv-photo-placeholder{width:125px;height:153px;object-fit:cover;border:6px solid #fff;box-shadow:0 4px 15px #153d4b33}
.cv-portrait-body{display:grid;grid-template-columns:190px 1fr;min-height:535px}.cv-portrait-body aside{padding:28px 18px;background:#e8f3f4}.cv-portrait-body main{padding:30px 29px}.cv-portrait-body aside .cv-live-section h3{font-size:10px}
.cv-ribbon-head{height:200px;display:flex;gap:30px;align-items:center;padding:22px 38px;background:linear-gradient(112deg,var(--cv-accent) 0 38%,#f8f2ec 38% 100%);box-sizing:border-box}
.cv-ribbon-photo .cv-live-photo,.cv-ribbon-photo .cv-photo-placeholder{width:125px;height:150px;border:6px solid #fff;box-shadow:0 4px 14px #512b2333;object-fit:cover}
.cv-ribbon-head h2{font:normal 36px Georgia,serif;color:#442b25}.cv-ribbon-head .cv-live-contact{max-width:310px}.cv-ribbon-body{padding:31px 40px;display:grid;grid-template-columns:1fr 1fr;gap:20px 28px}.cv-ribbon-body .cv-live-section:first-child,.cv-ribbon-body .cv-live-section:nth-child(2){grid-column:1/-1}.cv-ribbon-body .cv-live-section h3{border-bottom:2px solid var(--cv-accent);padding-bottom:8px}
.cv-split-layout{display:grid;grid-template-columns:245px 1fr;min-height:740px}.cv-split-layout aside{background:#203b56;color:#fff;padding:34px 25px}.cv-split-layout aside h2{font-size:28px;color:#fff;margin-top:18px}.cv-split-layout aside .cv-live-role,.cv-split-layout aside .cv-live-contact,.cv-split-layout aside h3{color:#fff}.cv-split-layout aside .cv-live-section{margin-top:24px}.cv-split-layout main{padding:52px 35px}.cv-split-layout main .cv-live-section h3{background:#e9f0f5;padding:7px 10px;letter-spacing:1px}.cv-split-photo .cv-live-photo,.cv-split-photo .cv-photo-placeholder{width:142px;height:142px;border-radius:50%;border:6px solid #fff;object-fit:cover}
.cv-frame-wrap{margin:24px;border:2px solid #bba69b;min-height:690px;padding:24px 26px;box-sizing:border-box}.cv-frame-wrap>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:4px double #bba69b}.cv-frame-eyebrow{font-size:10px;letter-spacing:4px;color:#8b6d64;margin-bottom:10px}.cv-frame-wrap h2{font:normal 36px Georgia,serif;color:#493b36}.cv-frame-photo .cv-live-photo,.cv-frame-photo .cv-photo-placeholder{width:95px;height:115px;object-fit:cover}.cv-frame-wrap>.cv-live-contact{padding:9px 0;border-bottom:1px solid #d9c8bf}.cv-frame-body{display:grid;grid-template-columns:1.7fr 1fr;gap:23px;padding-top:20px}.cv-frame-body aside{border-left:1px solid #d9c8bf;padding-left:18px}.cv-frame-body .cv-live-section h3{font-family:Georgia,serif;font-size:14px;text-transform:none;letter-spacing:0}
.cv-magazine-top{height:255px;background:#e9efeb;display:flex;gap:28px;align-items:stretch;padding:0 34px 0 0}.cv-magazine-photo .cv-live-photo,.cv-magazine-photo .cv-photo-placeholder{width:208px;height:255px;object-fit:cover;border:0}.cv-magazine-title{padding:46px 0 15px;min-width:0}.cv-magazine-title>span{font-size:10px;letter-spacing:4px;color:#517568}.cv-magazine-title h2{font:normal 42px/1.08 Georgia,serif;color:#284f4b;margin:18px 0}.cv-magazine-contact{padding:12px 36px;background:#284f4b;color:#fff;font-size:10px}.cv-magazine-body{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;padding:34px 36px}.cv-magazine-body aside{padding-top:12px;border-top:5px solid #284f4b}.cv-magazine-body main .cv-live-section h3{font:normal 17px Georgia,serif;text-transform:none;letter-spacing:0;border-bottom:1px solid #a8bfb5;padding-bottom:8px}


/* Five modern compositions: distinct geometry, hierarchy and section placement. */
.cv-orbit-head{display:flex;align-items:center;gap:30px;padding:42px 43px 35px;background:#e9f6f2}.cv-orbit-mark{width:112px;height:112px;border-radius:50%;background:#0c766f;color:#fff;display:grid;place-items:center;font-size:36px;font-weight:800;flex-shrink:0;box-shadow:13px 12px 0 #c1e5d9}.cv-orbit-head span,.cv-mosaic-head span{font-size:10px;letter-spacing:3px;font-weight:800}.cv-orbit-head h2{font-size:37px;margin:12px 0;color:#0c514e}.cv-orbit-contact{background:#0c766f;color:#fff;padding:12px 42px;font-size:10px}.cv-orbit-body{display:grid;grid-template-columns:1.65fr 1fr;gap:28px;padding:33px 42px}.cv-orbit-body aside{border-left:3px solid #bce3d9;padding-left:20px}.cv-orbit-body .cv-live-section h3{border-bottom:2px solid #0c766f;padding-bottom:6px}
.cv-metro-layout{display:grid;grid-template-columns:82px 1fr;min-height:740px}.cv-metro-rail{background:#263f88;color:#fff;display:flex;align-items:center;flex-direction:column;padding:35px 8px;gap:170px}.cv-metro-rail span{font-size:17px;font-weight:900;letter-spacing:4px;writing-mode:vertical-rl}.cv-metro-rail b{font-size:36px;writing-mode:vertical-rl;opacity:.35}.cv-metro-body>header{padding:43px 38px 28px;background:#f0f3fb;border-bottom:6px solid #263f88}.cv-metro-body h2{font-size:39px;line-height:1.03;letter-spacing:-2px;color:#263f88}.cv-metro-body .cv-live-contact{margin:16px 0 0}.cv-metro-sections{padding:28px 38px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.cv-metro-sections .cv-live-section:nth-child(-n+3){grid-column:1/-1}.cv-metro-sections h3{background:#e6ebf8;padding:7px 10px}
.cv-prism-head{position:relative;isolation:isolate;min-height:210px;box-sizing:border-box;padding:38px 45px;background:#f8eaf1;overflow:hidden}.cv-prism-head:before{content:"";position:absolute;right:-55px;top:-85px;width:260px;height:340px;transform:rotate(33deg);background:#9b3f72;z-index:-1}.cv-prism-head span{font-size:10px;letter-spacing:4px;color:#9b3f72;font-weight:800}.cv-prism-head h2{font-size:43px;line-height:1.05;max-width:350px;color:#4b2540;margin:18px 0}.cv-prism-contact{padding:12px 45px;background:#4b2540;color:#fff;font-size:10px}.cv-prism-body{padding:33px 45px;display:grid;grid-template-columns:1fr 1fr;gap:25px}.cv-prism-body main{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}.cv-prism-body main .cv-live-section:first-child{grid-column:1/-1}.cv-prism-body aside{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cv-prism-body .cv-live-section h3{border-left:5px solid #9b3f72;padding-left:10px}
.cv-ledger-head{background:#182c3d;color:#fff;padding:36px 45px 31px}.cv-ledger-head span{font-size:10px;letter-spacing:4px;color:#83c8d3}.cv-ledger-head h2{font-size:40px;color:#fff;margin:15px 0}.cv-ledger-head .cv-live-role,.cv-ledger-head .cv-live-contact{color:#d4e1e8}.cv-ledger-head .cv-live-contact{margin:16px 0 0}.cv-ledger-body{padding:22px 43px}.cv-ledger-row{display:grid;grid-template-columns:165px 1fr;gap:24px;border-bottom:1px solid #d8e0e6;padding:20px 0}.cv-ledger-row>div{display:flex;gap:14px;align-items:baseline}.cv-ledger-row b{font-size:12px;color:#6b9caa}.cv-ledger-row h3{font-size:13px;letter-spacing:0;color:#182c3d;text-transform:none}.cv-ledger-row p{margin:0;font-size:11px;line-height:1.7}
.cv-mosaic-head{display:grid;grid-template-columns:120px 1fr;gap:26px;padding:32px 38px;background:#fff2e8}.cv-mosaic-tag{background:#b35d31;color:#fff;font-size:38px;line-height:1.15;font-weight:900;padding:18px 15px;letter-spacing:-2px}.cv-mosaic-head h2{font-size:38px;line-height:1.05;color:#7c3f24;margin:15px 0}.cv-mosaic-contact{background:#f4d4bc;padding:12px 38px;font-size:10px}.cv-mosaic-body{padding:28px 38px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.cv-mosaic-body .cv-live-section{margin:0;padding:19px;border:1px solid #eddbc9;background:#fffaf6;min-height:90px}.cv-mosaic-body .cv-live-section:nth-child(2){grid-column:1/-1;background:#f9eee5}.cv-mosaic-body .cv-live-section h3{font-size:12px;letter-spacing:1px}
#cv-preview-near-select{max-width:595px;max-height:none;overflow:visible;padding:0;background:transparent}#cv-preview-near-select .cv-live-sheet{width:100%;max-width:595px;min-height:740px;transform:none;box-shadow:0 5px 24px #182b4920}#cv-preview{max-height:none;overflow:visible}#cv-preview .cv-live-sheet{max-width:595px}
@media(max-width:650px){#cv-preview-near-select .cv-live-sheet{width:595px;transform:scale(.56);transform-origin:top left}#cv-preview-near-select{height:430px;overflow:hidden}.cv-orbit-head,.cv-prism-head,.cv-ledger-head{padding-left:26px;padding-right:26px}}


/* A true fixed-size A4 thumbnail; no oversized preview and no scrollbars. */
.cv-inline-preview{max-width:360px;margin:18px 0 0}.cv-inline-preview>strong{font-size:14px}.cv-inline-preview .analysis-note{font-size:12px;margin:4px 0 10px}
#cv-preview-near-select{position:relative!important;width:298px!important;max-width:100%!important;height:420px!important;max-height:420px!important;overflow:hidden!important;padding:0!important;background:#f2f5f9!important;border:1px solid #dbe3ec;border-radius:7px!important;box-sizing:border-box}
#cv-preview-near-select .cv-live-sheet{position:absolute!important;top:9px!important;left:9px!important;width:595px!important;max-width:none!important;min-height:842px!important;height:842px!important;margin:0!important;transform:scale(.465)!important;transform-origin:top left!important;box-shadow:0 3px 18px #182b491a!important;overflow:hidden!important}
.cv-spotlight-head{background:#f2f7fa;min-height:207px;padding:32px 40px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:14px solid #243b53;box-sizing:border-box}.cv-spotlight-head span{letter-spacing:3px;font-size:10px;color:#698297;font-weight:800}.cv-spotlight-head h2{font-size:39px;margin:15px 0;color:#243b53;max-width:355px}.cv-spotlight-photo .cv-live-photo,.cv-spotlight-photo .cv-photo-placeholder{width:122px;height:137px;object-fit:cover;border-radius:12px 12px 42px 12px;border:5px solid #fff;box-shadow:0 5px 15px #213e5222}.cv-spotlight-contact{padding:12px 40px;background:#243b53;color:#fff;font-size:10px}.cv-spotlight-body{display:grid;grid-template-columns:1.7fr 1fr;gap:25px;padding:33px 40px}.cv-spotlight-body aside{padding:20px;background:#edf3f7;border-radius:13px}.cv-spotlight-body .cv-live-section h3{border-bottom:2px solid #243b53;padding-bottom:7px}
.cv-wave-head{min-height:205px;padding:26px 40px;background:linear-gradient(145deg,#e7f1fb 0 70%,#bfd6eb 70% 100%);display:flex;align-items:center;gap:31px;box-sizing:border-box}.cv-wave-photo .cv-live-photo,.cv-wave-photo .cv-photo-placeholder{width:138px;height:145px;object-fit:cover;border-radius:50% 50% 12px 12px;border:6px solid #fff}.cv-wave-head span{font-size:10px;letter-spacing:4px;color:#1e3a5f;font-weight:800}.cv-wave-head h2{font-size:37px;color:#1e3a5f;margin:14px 0}.cv-wave-contact{padding:12px 40px;background:#1e3a5f;color:#fff;font-size:10px}.cv-wave-body{display:grid;grid-template-columns:1fr 1fr;gap:23px 28px;padding:35px 40px}.cv-wave-body .cv-live-section:first-child,.cv-wave-body .cv-live-section:nth-child(2){grid-column:1/-1}.cv-wave-body h3{border-left:5px solid #77b1db;padding-left:11px}
.cv-column-layout{display:grid;grid-template-columns:220px 1fr;min-height:842px}.cv-column-layout>aside{background:#413c52;color:#fff;padding:34px 25px}.cv-column-photo .cv-live-photo,.cv-column-photo .cv-photo-placeholder{width:155px;height:165px;object-fit:cover;border-radius:15px 15px 60px 15px;border:5px solid #fff}.cv-column-layout aside h2{font-size:30px;color:#fff;margin:25px 0 10px}.cv-column-layout aside .cv-live-role,.cv-column-layout aside .cv-live-contact,.cv-column-layout aside h3{color:#fff}.cv-column-layout aside .cv-live-section{margin-top:25px}.cv-column-layout>main{padding:58px 34px}.cv-column-layout main h3{border-bottom:2px solid #e6d8e7;padding-bottom:8px}
.cv-outline-wrap{margin:23px;border:2px solid #cad9d6;min-height:790px;box-sizing:border-box}.cv-outline-wrap>header{padding:29px 29px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f3f8f6}.cv-outline-wrap header span{font-size:10px;letter-spacing:3px;color:#4c766c;font-weight:800}.cv-outline-wrap header h2{font-size:36px;color:#284f4b;margin:13px 0}.cv-outline-photo .cv-live-photo,.cv-outline-photo .cv-photo-placeholder{width:105px;height:120px;object-fit:cover;border-radius:50% 50% 8px 8px;border:4px solid #fff}.cv-outline-contact{padding:12px 29px;background:#284f4b;color:#fff;font-size:10px}.cv-outline-body{display:grid;grid-template-columns:1.5fr 1fr;gap:25px;padding:30px}.cv-outline-body aside{border-left:2px solid #cad9d6;padding-left:18px}.cv-outline-body h3{color:#284f4b;border-bottom:1px solid #cad9d6;padding-bottom:8px}


/* Gallery: separate people, consistent five-column rhythm and accessible two-tone swatches. */
.cv-gallery-groups{display:flex;flex-direction:column;gap:48px;max-width:1240px;margin:24px auto 0}
.cv-gallery-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid #dce5ef;margin-bottom:20px;padding-bottom:13px}
.cv-gallery-group-heading h3{font-size:25px;color:#1e3a5f;margin:0}.cv-gallery-group-heading span{font-size:13px;color:#64748b}
.cv-gallery-group .template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:stretch}
.cv-gallery-card{min-width:0;background:#fff;border:1px solid #dbe5f2;border-radius:11px;overflow:hidden;display:flex;flex-direction:column}
.cv-gallery-card.cv-template-selected{outline:3px solid #d8ac54;outline-offset:2px}
.cv-gallery-card .cv-template-card{border:0;border-radius:0;width:100%;min-width:0;display:block;flex:1;outline:0}
.cv-gallery-card .cv-gallery-thumb{height:260px}.cv-gallery-card .template-name{padding:12px 6px 7px}
.cv-card-palettes,.cv-preview-palettes,.cv-editor-palettes{display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 8px 13px}
.cv-editor-palettes{padding:4px 10px;align-self:center}
.cv-preview-palettes{justify-content:flex-start;padding:10px 0 0}
.cv-palette-choice{border:2px solid transparent;border-radius:50%;background:transparent;width:39px;height:39px;padding:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.cv-palette-choice.is-selected{border-color:#1e3a5f}.cv-palette-choice:focus-visible{outline:3px solid #d8ac54;outline-offset:2px}
.cv-palette-dot{display:block;width:27px;height:27px;border-radius:50%;border:1px solid #d3dce5;background:linear-gradient(135deg,var(--palette-primary) 0 50%,var(--palette-secondary) 50% 100%)}
.cv-palette-alternate .cv-live-section h3{color:var(--cv-accent)!important;border-color:var(--cv-accent)!important}
.cv-palette-alternate .cv-live-aside,.cv-palette-alternate .cv-column-layout>aside,.cv-palette-alternate .cv-split-layout>aside,.cv-palette-alternate .cv-live-banner,.cv-palette-alternate .cv-prism-contact,.cv-palette-alternate .cv-ledger-head,.cv-palette-alternate .cv-spotlight-contact,.cv-palette-alternate .cv-wave-contact,.cv-palette-alternate .cv-outline-contact,.cv-palette-alternate .cv-orbit-contact,.cv-palette-alternate .cv-magazine-contact,.cv-palette-alternate .cv-ribbon-head{background:var(--cv-accent)!important}
.cv-palette-alternate .cv-spotlight-head,.cv-palette-alternate .cv-wave-head,.cv-palette-alternate .cv-outline-wrap>header,.cv-palette-alternate .cv-orbit-head,.cv-palette-alternate .cv-prism-head,.cv-palette-alternate .cv-mosaic-head,.cv-palette-alternate .cv-portrait-head,.cv-palette-alternate .cv-magazine-top{background:#e7e0d9!important}
.cv-palette-alternate .cv-spotlight-head,.cv-palette-alternate .cv-live-top,.cv-palette-alternate .cv-outline-wrap{border-color:var(--cv-accent)!important}
.cv-palette-alternate .cv-live-sheet h2,.cv-palette-alternate h2{color:var(--cv-accent)}
.cv-palette-alternate .cv-column-layout aside h2,.cv-palette-alternate .cv-split-layout aside h2,.cv-palette-alternate .cv-live-banner h2,.cv-palette-alternate .cv-ledger-head h2{color:#fff!important}
.cv-palette-alternate .cv-live-contact-strip,.cv-palette-alternate .cv-mosaic-contact,.cv-palette-alternate .cv-outline-body aside,.cv-palette-alternate .cv-spotlight-body aside{background:#e7e0d9!important}
@media(max-width:1100px){.cv-gallery-group .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.cv-gallery-group .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cv-gallery-group-heading{display:block}.cv-gallery-group-heading span{display:block;margin-top:5px}.cv-gallery-card .cv-gallery-thumb{height:205px}.cv-gallery-card .cv-gallery-thumb>.cv-live-sheet{transform:scale(.30)}}


/* Twenty designs: exactly two complete five-card rows for each example person on desktop. */
@media(min-width:1101px){.cv-gallery-group .template-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.cv-gallery-group .template-grid{grid-auto-flow:row;align-items:stretch}
.cv-gallery-group .cv-gallery-card{min-width:0}
.cv-gallery-group .cv-template-card{min-width:0}
/* Template-specific color treatment, including large surfaces rather than accent lines alone. */
.cv-live-sheet.cv-design-corporate{--cv-soft:#e7f0fa}
.cv-live-sheet.cv-design-modern{--cv-soft:#e2f4f1}
.cv-live-sheet.cv-design-minimal{--cv-soft:#f0f2f4}
.cv-live-sheet.cv-design-creative{--cv-soft:#fff0e7}
.cv-live-sheet.cv-design-timeline{--cv-soft:#e6effb}
.cv-live-sheet.cv-design-atelier{--cv-soft:#f2eae2}
.cv-live-sheet.cv-design-rightline{--cv-soft:#e8f0f5}
.cv-live-sheet.cv-design-folio{--cv-soft:#e7f1e9}
.cv-live-sheet.cv-design-axis{--cv-soft:#faeee4}
.cv-live-sheet.cv-design-duo{--cv-soft:#efebf8}
.cv-live-sheet.cv-design-portrait{--cv-soft:#e3f4f5}
.cv-live-sheet.cv-design-ribbon{--cv-soft:#fff0e8}
.cv-live-sheet.cv-design-split{--cv-soft:#e8eef8}
.cv-live-sheet.cv-design-frame{--cv-soft:#f3ede8}
.cv-live-sheet.cv-design-magazine{--cv-soft:#e5f2ed}
.cv-live-sheet.cv-design-orbit{--cv-soft:#e1f4f0}
.cv-live-sheet.cv-design-metro{--cv-soft:#e8eaff}
.cv-live-sheet.cv-design-prism{--cv-soft:#f9eaf2}
.cv-live-sheet.cv-design-ledger{--cv-soft:#e8edf1}
.cv-live-sheet.cv-design-mosaic{--cv-soft:#fff0e5}
.cv-live-sheet.cv-palette-alternate{--cv-soft:#eee7df}
.cv-live-sheet.cv-design-modern.cv-palette-alternate{--cv-soft:#f2e6ef}
.cv-live-sheet.cv-design-creative.cv-palette-alternate{--cv-soft:#e9ecf3}
.cv-live-sheet.cv-design-timeline.cv-palette-alternate{--cv-soft:#f4e8e0}
.cv-live-sheet.cv-design-atelier.cv-palette-alternate{--cv-soft:#e3ebed}
.cv-live-sheet.cv-design-folio.cv-palette-alternate{--cv-soft:#e8eaf2}
.cv-live-sheet.cv-design-axis.cv-palette-alternate{--cv-soft:#e4eee6}
.cv-live-sheet.cv-design-duo.cv-palette-alternate{--cv-soft:#f4ebdf}
.cv-live-sheet.cv-design-portrait.cv-palette-alternate{--cv-soft:#f3e6ed}
.cv-live-sheet.cv-design-ribbon.cv-palette-alternate{--cv-soft:#e4eef1}
.cv-live-sheet.cv-design-split.cv-palette-alternate{--cv-soft:#efe9e3}
.cv-live-sheet.cv-design-frame.cv-palette-alternate{--cv-soft:#e4eeee}
.cv-live-sheet.cv-design-magazine.cv-palette-alternate{--cv-soft:#eee5ee}
.cv-live-sheet.cv-design-orbit.cv-palette-alternate{--cv-soft:#f4eadd}
.cv-live-sheet.cv-design-metro.cv-palette-alternate{--cv-soft:#e5eeea}
.cv-live-sheet.cv-design-prism.cv-palette-alternate{--cv-soft:#e9ecf6}
.cv-live-sheet.cv-design-ledger.cv-palette-alternate{--cv-soft:#f0ebdf}
.cv-live-sheet.cv-design-mosaic.cv-palette-alternate{--cv-soft:#e4edf2}
.cv-live-sheet .cv-live-section h3{color:var(--cv-accent)}
.cv-live-sheet .cv-spotlight-head,.cv-live-sheet .cv-wave-head,.cv-live-sheet .cv-outline-wrap>header,.cv-live-sheet .cv-orbit-head,.cv-live-sheet .cv-prism-head,.cv-live-sheet .cv-mosaic-head,.cv-live-sheet .cv-portrait-head,.cv-live-sheet .cv-magazine-top,.cv-live-sheet .cv-new-cards-head,.cv-live-sheet .cv-new-duo-head,.cv-live-sheet .cv-new-right-head,.cv-live-sheet .cv-live-masthead,.cv-live-sheet .cv-live-top{background:var(--cv-soft)}
.cv-live-sheet .cv-spotlight-contact,.cv-live-sheet .cv-wave-contact,.cv-live-sheet .cv-outline-contact,.cv-live-sheet .cv-orbit-contact,.cv-live-sheet .cv-prism-contact,.cv-live-sheet .cv-mosaic-contact,.cv-live-sheet .cv-magazine-contact,.cv-live-sheet .cv-ribbon-head,.cv-live-sheet .cv-live-contact-strip,.cv-live-sheet .cv-live-banner,.cv-live-sheet .cv-ledger-head{background:var(--cv-accent)}
.cv-live-sheet .cv-column-layout>aside,.cv-live-sheet .cv-split-layout>aside,.cv-live-sheet .cv-live-aside,.cv-live-sheet .cv-metro-rail{background:var(--cv-accent)}
.cv-live-sheet .cv-new-cards-body .cv-live-section,.cv-live-sheet .cv-spotlight-body aside,.cv-live-sheet .cv-outline-body aside{border-color:var(--cv-accent)}
.cv-live-sheet .cv-new-axis header,.cv-live-sheet .cv-frame-wrap,.cv-live-sheet .cv-outline-wrap{border-color:var(--cv-accent)}
.cv-live-sheet .cv-new-axis .cv-live-section h3,.cv-live-sheet .cv-new-duo-body h3,.cv-live-sheet .cv-new-editorial-row h3{border-color:var(--cv-accent)}
.cv-live-sheet .cv-spotlight-head h2,.cv-live-sheet .cv-wave-head h2,.cv-live-sheet .cv-outline-wrap header h2,.cv-live-sheet .cv-orbit-head h2,.cv-live-sheet .cv-prism-head h2,.cv-live-sheet .cv-mosaic-head h2,.cv-live-sheet .cv-portrait-head h2,.cv-live-sheet .cv-magazine-top h2{color:var(--cv-accent)}
.cv-live-sheet .cv-column-layout>aside h2,.cv-live-sheet .cv-split-layout>aside h2,.cv-live-sheet .cv-live-aside h2,.cv-live-sheet .cv-ribbon-head h2,.cv-live-sheet .cv-live-banner h2,.cv-live-sheet .cv-ledger-head h2{color:#fff}
.cv-live-sheet.cv-palette-alternate .cv-spotlight-head,.cv-live-sheet.cv-palette-alternate .cv-wave-head,.cv-live-sheet.cv-palette-alternate .cv-outline-wrap>header,.cv-live-sheet.cv-palette-alternate .cv-orbit-head,.cv-live-sheet.cv-palette-alternate .cv-prism-head,.cv-live-sheet.cv-palette-alternate .cv-mosaic-head,.cv-live-sheet.cv-palette-alternate .cv-portrait-head,.cv-live-sheet.cv-palette-alternate .cv-magazine-top{background:var(--cv-soft)!important}
.cv-live-sheet.cv-palette-alternate .cv-spotlight-body aside,.cv-live-sheet.cv-palette-alternate .cv-outline-body aside,.cv-live-sheet.cv-palette-alternate .cv-live-contact-strip{background:var(--cv-soft)!important}


/* The second swatch changes every large pale surface, not just the accent.
   Inline --cv-soft from the design's palette is the single source of truth. */
.cv-live-sheet.cv-live-sheet .cv-photo-placeholder{background:var(--cv-soft)!important;border-color:var(--cv-accent)!important;color:var(--cv-accent)!important}
.cv-live-sheet.cv-live-sheet .cv-live-section h3{background-color:transparent;color:var(--cv-accent)}
.cv-live-sheet.cv-live-sheet .cv-live-main .cv-live-section h3,.cv-live-sheet.cv-live-sheet .cv-new-cards-body .cv-live-section h3,.cv-live-sheet.cv-live-sheet .cv-wave-body .cv-live-section h3{background:var(--cv-soft)!important;color:var(--cv-accent)!important}
.cv-live-sheet.cv-live-sheet .cv-spotlight-head,.cv-live-sheet.cv-live-sheet .cv-wave-head,.cv-live-sheet.cv-live-sheet .cv-outline-wrap>header,.cv-live-sheet.cv-live-sheet .cv-orbit-head,.cv-live-sheet.cv-live-sheet .cv-prism-head,.cv-live-sheet.cv-live-sheet .cv-mosaic-head,.cv-live-sheet.cv-live-sheet .cv-portrait-head,.cv-live-sheet.cv-live-sheet .cv-magazine-top,.cv-live-sheet.cv-live-sheet .cv-new-cards-head,.cv-live-sheet.cv-live-sheet .cv-new-duo-head,.cv-live-sheet.cv-live-sheet .cv-new-right-head,.cv-live-sheet.cv-live-sheet .cv-live-masthead,.cv-live-sheet.cv-live-sheet .cv-live-top{background:var(--cv-soft)!important}
.cv-live-sheet.cv-live-sheet .cv-spotlight-body aside,.cv-live-sheet.cv-live-sheet .cv-outline-body aside,.cv-live-sheet.cv-live-sheet .cv-new-right-layout aside,.cv-live-sheet.cv-live-sheet .cv-new-cards-body .cv-live-section,.cv-live-sheet.cv-live-sheet .cv-new-axis header,.cv-live-sheet.cv-live-sheet .cv-frame-wrap>header,.cv-live-sheet.cv-live-sheet .cv-mosaic-body .cv-live-section{background:var(--cv-soft)!important}
.cv-live-sheet.cv-live-sheet .cv-spotlight-contact,.cv-live-sheet.cv-live-sheet .cv-wave-contact,.cv-live-sheet.cv-live-sheet .cv-outline-contact,.cv-live-sheet.cv-live-sheet .cv-orbit-contact,.cv-live-sheet.cv-live-sheet .cv-prism-contact,.cv-live-sheet.cv-live-sheet .cv-mosaic-contact,.cv-live-sheet.cv-live-sheet .cv-magazine-contact,.cv-live-sheet.cv-live-sheet .cv-ribbon-head,.cv-live-sheet.cv-live-sheet .cv-ledger-head{background:var(--cv-accent)!important}
.cv-live-sheet.cv-live-sheet .cv-column-layout>aside,.cv-live-sheet.cv-live-sheet .cv-split-layout>aside,.cv-live-sheet.cv-live-sheet .cv-live-aside,.cv-live-sheet.cv-live-sheet .cv-metro-rail{background:var(--cv-accent)!important}
.cv-live-sheet.cv-live-sheet .cv-live-contact-strip{background:var(--cv-accent)!important;color:#fff!important}
.cv-live-sheet.cv-live-sheet .cv-spotlight-contact,.cv-live-sheet.cv-live-sheet .cv-wave-contact,.cv-live-sheet.cv-live-sheet .cv-outline-contact,.cv-live-sheet.cv-live-sheet .cv-orbit-contact,.cv-live-sheet.cv-live-sheet .cv-prism-contact,.cv-live-sheet.cv-live-sheet .cv-mosaic-contact,.cv-live-sheet.cv-live-sheet .cv-magazine-contact{color:#fff!important}
.cv-live-sheet.cv-live-sheet .cv-spotlight-head h2,.cv-live-sheet.cv-live-sheet .cv-wave-head h2,.cv-live-sheet.cv-live-sheet .cv-outline-wrap header h2,.cv-live-sheet.cv-live-sheet .cv-orbit-head h2,.cv-live-sheet.cv-live-sheet .cv-prism-head h2,.cv-live-sheet.cv-live-sheet .cv-mosaic-head h2,.cv-live-sheet.cv-live-sheet .cv-portrait-head h2,.cv-live-sheet.cv-live-sheet .cv-magazine-top h2{color:var(--cv-accent)!important}
.cv-live-sheet.cv-live-sheet .cv-column-layout>aside h2,.cv-live-sheet.cv-live-sheet .cv-split-layout>aside h2,.cv-live-sheet.cv-live-sheet .cv-live-aside h2,.cv-live-sheet.cv-live-sheet .cv-ribbon-head h2,.cv-live-sheet.cv-live-sheet .cv-ledger-head h2{color:#fff!important}
