/* Seven print-safe A4 CV systems. Theme 1 remains the primary design. */
#cv-sheet.cv-export{display:grid!important;width:1120px!important;height:1584px!important;min-height:0!important;max-height:1584px!important;aspect-ratio:auto!important;overflow:hidden!important}
.cv-sheet{width:100%;aspect-ratio:210/297;min-height:0}.theme-panel{position:fixed;top:88px;right:max(12px,calc((100vw - 1120px)/2));z-index:40;width:min(390px,calc(100% - 24px));padding:18px;color:#eee;border:1px solid rgba(255,255,255,.15);border-radius:24px;background:rgba(15,15,15,.96);box-shadow:0 30px 90px #000;backdrop-filter:blur(24px);opacity:0;visibility:hidden;transform:translateY(-10px) scale(.98);transition:.25s}.theme-panel.is-open{opacity:1;visibility:visible;transform:none}.theme-panel__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.theme-panel__head small{display:block;color:#777;font-size:.42rem;letter-spacing:.16em}.theme-panel__head strong{font-size:.72rem}.theme-panel__head button{width:34px;height:34px;color:#aaa;border:1px solid #333;border-radius:50%;background:#171717;font-size:1.2rem;cursor:pointer}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-option{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:7px;color:#aaa;border:1px solid #303030;border-radius:13px;background:#181818;text-align:left;cursor:pointer;transition:.2s}.theme-option:hover,.theme-option.is-active{color:#fff;border-color:#777;background:#232323}.theme-option span{display:grid;font-size:.48rem;line-height:1.3}.theme-option b{color:#666;font-size:.37rem}.theme-swatch{display:block;width:42px;height:50px;border-radius:7px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.theme-swatch--1{background:linear-gradient(90deg,#151515 31%,#eee 31%)}.theme-swatch--2{background:linear-gradient(150deg,#b8ff00 0 25%,#fff 25% 53%,#6824ec 53%)}.theme-swatch--3{background:linear-gradient(135deg,#f5eddb 0 55%,#1658a7 55% 68%,#f5d43d 68%)}.theme-swatch--4{background:radial-gradient(circle at 22% 20%,#ffbd00 0 16%,transparent 17%),#eee}.theme-swatch--5{background:linear-gradient(145deg,#ffd318 0 30%,#171827 31% 82%,#ff9700 83%)}.theme-swatch--6{background:linear-gradient(130deg,#f4b700 0 18%,#292129 19% 82%,#f4b700 83%)}.theme-swatch--7{background:linear-gradient(90deg,#082940 0 40%,#fff 40% 72%,#ff264d 72% 79%,#76c300 79%)}
.tool-icons{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.tool-icons img{width:100%;aspect-ratio:1;object-fit:contain;padding:3px;border-radius:7px;background:#fff}.cv-tools h2{margin-bottom:10px}
.cv-camera{display:none}.theme-3 .cv-camera,.theme-4 .cv-camera{display:block;width:72px;margin:-28px 0 5px auto;filter:drop-shadow(0 10px 12px rgba(0,0,0,.22));transform:rotate(7deg)}
/* 01 — editorial black and white */
.cv-sheet.theme-1{grid-template-columns:31% 69%}
/* 02 — neo creative, lime and violet */
.cv-sheet.theme-2{grid-template-columns:36% 64%;border-radius:34px;background:#fff}.theme-2 .cv-side{position:relative;color:#121212;background:linear-gradient(155deg,#b8ff00 0 18%,#fff 18% 66%,#7029e8 66%);padding:34px 28px}.theme-2 .cv-side:after{content:"CREATIVE TECHNOLOGY";position:absolute;left:-95px;bottom:155px;color:#121212;font-size:1.4rem;font-weight:900;letter-spacing:.06em;transform:rotate(-90deg)}.theme-2 .cv-photo{border:7px solid #fff;border-radius:50% 50% 24px 24px;box-shadow:0 18px 40px rgba(0,0,0,.2)}.theme-2 .cv-section{padding:13px;border-radius:18px;background:rgba(18,18,18,.9)}.theme-2 .cv-section h2{color:#b8ff00}.theme-2 .cv-main{padding:42px;color:#161616;background:#fff}.theme-2 .cv-name{padding:23px;border:0;border-radius:27px;background:#1b1b1b;color:#fff}.theme-2 .cv-name h2{color:#b8ff00}.theme-2 .main-block>h3{color:#6725dc}.theme-2 .project-pill{border:0;background:#7029e8;color:#fff}.theme-2 .project-pill span{color:#d9c9ff}
/* 03 — paper, ID card, stationery */
.cv-sheet.theme-3{grid-template-columns:34% 66%;padding:24px;gap:18px;border-radius:8px;background:repeating-linear-gradient(0deg,#f3ecdc 0 28px,#ebe2cf 29px)}.theme-3 .cv-side{padding:24px;color:#24344b;border:1px solid #d0c4aa;border-radius:10px;background:#f9f4e8;box-shadow:0 12px 30px rgba(65,50,25,.16)}.theme-3 .cv-photo{border:12px solid #fff;border-bottom-width:34px;border-radius:5px;transform:rotate(-2deg);box-shadow:0 10px 20px #c8bda8}.theme-3 .cv-section h2{display:inline-block;padding:6px 10px;color:#173f82;border:0;background:#f6d83d}.theme-3 .cv-main{padding:32px;color:#26364d;border:1px solid #d0c4aa;border-radius:10px;background:rgba(255,255,255,.9);box-shadow:0 12px 30px rgba(65,50,25,.13)}.theme-3 .cv-name{border-bottom:8px solid #174e99}.theme-3 .cv-name h2{color:#174e99}.theme-3 .main-block>h3{color:#174e99}.theme-3 .main-block>h3:after{background:#f1cf20}.theme-3 .project-pill{border:0;border-left:6px solid #f1cf20;background:#eef3f9}
/* 04 — clean white with yellow/blue paint shapes */
.cv-sheet.theme-4{grid-template-columns:38% 62%;border-radius:0;background:#eee}.theme-4 .cv-side{position:relative;padding:38px 30px;color:#111;background:radial-gradient(circle at 8% 6%,#153092 0 7px,transparent 8px),radial-gradient(circle at 22% 4%,#ffc000 0 6px,transparent 7px),linear-gradient(160deg,#ffc000 0 25%,#eee 25%)}.theme-4 .cv-photo{border:0;border-radius:0 0 45% 45%;background:transparent}.theme-4 .cv-section{padding:12px 15px;border-left:7px solid #ffc000;background:rgba(255,255,255,.84)}.theme-4 .cv-section h2{color:#142b86;border-color:#142b86}.theme-4 .cv-main{padding:42px 44px;background:#eee}.theme-4 .cv-name{border-bottom:2px solid #111}.theme-4 .cv-name h2{color:#142b86;text-transform:uppercase}.theme-4 .cv-name p{display:inline;padding:5px 10px;color:#111;background:#ffc000}.theme-4 .main-block>h3{width:max-content;padding:5px 11px;background:#ffc000}.theme-4 .main-block>h3:after{display:none}.theme-4 .project-pill{border:1px solid #142b86;border-radius:0;background:#fff}
/* 05 — amber geometric */
.cv-sheet.theme-5{grid-template-columns:32% 68%;border:9px solid #ff9c00;border-radius:0;background:#171827}.theme-5 .cv-side{padding:30px 24px;color:#171827;background:linear-gradient(165deg,#ffd51b 0 47%,#ff9d00 47% 74%,#ffd51b 74%)}.theme-5 .cv-photo{clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);border:6px solid #171827;border-radius:0}.theme-5 .cv-section{padding:10px;background:rgba(255,255,255,.7)}.theme-5 .cv-section h2{border-color:#171827}.theme-5 .cv-main{padding:40px;color:#f7f7f7;background:#171827}.theme-5 .cv-name{border-color:#ff9d00}.theme-5 .cv-name h2{color:#ffd51b}.theme-5 .cv-name p,.theme-5 .summary,.theme-5 .timeline-item p,.theme-5 .timeline-item time,.theme-5 .timeline-item strong{color:#c9c9d0}.theme-5 .main-block>h3{padding:7px 12px;color:#171827;background:#ff9d00;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%)}.theme-5 .main-block>h3:after{display:none}.theme-5 .project-pill{border-color:#ff9d00;background:#272838;color:#fff}.theme-5 .project-pill span{color:#bbb}
/* 06 — industrial dark with angular yellow rails */
.cv-sheet.theme-6{grid-template-columns:31% 69%;border-radius:0;background:#2a222b}.theme-6 .cv-side{padding:28px 22px;background:#f2b900;color:#2a222b;clip-path:polygon(0 0,100% 0,88% 18%,100% 35%,88% 54%,100% 73%,88% 100%,0 100%)}.theme-6 .cv-photo{border:6px solid #2a222b;border-radius:0;clip-path:polygon(0 0,88% 0,100% 18%,88% 100%,0 100%)}.theme-6 .cv-section{margin-right:18px;padding:9px;background:rgba(255,255,255,.35)}.theme-6 .cv-section h2{border-color:#2a222b}.theme-6 .cv-main{padding:38px 42px;color:#fff;background:#2a222b}.theme-6 .cv-name{border-color:#f2b900}.theme-6 .cv-name h2,.theme-6 .main-block>h3{color:#f2b900}.theme-6 .summary,.theme-6 .timeline-item p,.theme-6 .timeline-item time,.theme-6 .timeline-item strong{color:#c7bec7}.theme-6 .main-block>h3:after{height:4px;background:#f2b900}.theme-6 .project-pill{border:0;border-left:5px solid #f2b900;border-radius:0;background:#372e38;color:#fff}.theme-6 .project-pill span{color:#aaa}
/* 07 — corporate navy with spectrum tabs */
.cv-sheet.theme-7{grid-template-columns:36% 64%;border-radius:0;background:#fff}.theme-7 .cv-side{padding:34px 27px;color:#fff;background:linear-gradient(180deg,#072a43,#0a3858)}.theme-7 .cv-photo{border:4px solid #fff;border-radius:50%;aspect-ratio:1}.theme-7 .cv-section{position:relative}.theme-7 .cv-section:nth-of-type(1){border-right:7px solid #ff7b00}.theme-7 .cv-section:nth-of-type(2){border-right:7px solid #83c500}.theme-7 .cv-section:nth-of-type(3){border-right:7px solid #ff2351}.theme-7 .cv-section:nth-of-type(4){border-right:7px solid #8227b9}.theme-7 .cv-main{padding:42px 44px;background:#fff}.theme-7 .cv-name{border-bottom:1px solid #d7dde2}.theme-7 .cv-name h2{color:#082e48}.theme-7 .main-block>h3{color:#0a5c8b}.theme-7 .main-block:nth-of-type(2)>h3{color:#68a800}.theme-7 .main-block:nth-of-type(3)>h3{color:#f02955}.theme-7 .project-pill{border:0;border-left:5px solid #1889c5;border-radius:0;background:#f1f5f7}
@media(max-width:800px){.cv-sheet{aspect-ratio:auto}.theme-panel{top:82px}.theme-options{grid-template-columns:1fr}.cv-sheet.theme-2,.cv-sheet.theme-3,.cv-sheet.theme-4,.cv-sheet.theme-5,.cv-sheet.theme-6,.cv-sheet.theme-7{display:block;padding:0}.theme-6 .cv-side{clip-path:none}.theme-3 .cv-main{margin-top:16px}}
@media print{@page{size:A4;margin:0}.theme-panel{display:none!important}.cv-sheet{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;aspect-ratio:auto!important;overflow:hidden!important}.tool-icons{gap:1.5mm}.tool-icons img{padding:.6mm}.theme-2 .cv-side:after{font-size:9pt}}

/* V8: each reference now uses a genuinely different composition. */
.cv-sheet.theme-2,.cv-sheet.theme-3,.cv-sheet.theme-4,.cv-sheet.theme-5,.cv-sheet.theme-6,.cv-sheet.theme-7{position:relative}
#cv-sheet.cv-export{display:grid!important;width:1240px!important;height:1754px!important;max-height:1754px!important;overflow:hidden!important}
.download-tools{position:relative}.download-menu{position:absolute;right:0;top:52px;z-index:55;display:grid;width:235px;padding:11px;gap:5px;color:#eee;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(15,15,15,.97);box-shadow:0 25px 70px #000;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}.download-menu.is-open{opacity:1;visibility:visible;transform:none}.download-menu>small{padding:5px 7px;color:#777;font-size:.4rem;font-weight:700;letter-spacing:.14em}.download-menu>button{display:grid;grid-template-columns:46px 1fr;align-items:center;padding:9px 10px;color:#eee;border:1px solid #2e2e2e;border-radius:11px;background:#1b1b1b;text-align:left;cursor:pointer}.download-menu>button:hover{color:#111;border-color:#fff;background:#fff}.download-menu b{font-size:.56rem}.download-menu span{color:#777;font-size:.43rem}.download-menu button:hover span{color:#555}
.cv-sheet.theme-2,.cv-sheet.theme-3,.cv-sheet.theme-4,.cv-sheet.theme-5,.cv-sheet.theme-6,.cv-sheet.theme-7{display:grid;padding:0;gap:0;border-radius:0;isolation:isolate}.theme-2 .cv-side,.theme-2 .cv-main,.theme-3 .cv-side,.theme-3 .cv-main,.theme-4 .cv-side,.theme-4 .cv-main,.theme-5 .cv-side,.theme-5 .cv-main,.theme-6 .cv-side,.theme-6 .cv-main,.theme-7 .cv-side,.theme-7 .cv-main{display:contents}.theme-2 .cv-photo,.theme-2 .cv-section,.theme-2 .cv-name,.theme-2 .main-block,.theme-3 .cv-photo,.theme-3 .cv-section,.theme-3 .cv-name,.theme-3 .main-block,.theme-4 .cv-photo,.theme-4 .cv-section,.theme-4 .cv-name,.theme-4 .main-block,.theme-5 .cv-photo,.theme-5 .cv-section,.theme-5 .cv-name,.theme-5 .main-block,.theme-6 .cv-photo,.theme-6 .cv-section,.theme-6 .cv-name,.theme-6 .main-block,.theme-7 .cv-photo,.theme-7 .cv-section,.theme-7 .cv-name,.theme-7 .main-block{min-width:0;min-height:0;margin:0;overflow:hidden}.theme-2 .summary,.theme-3 .summary,.theme-4 .summary,.theme-5 .summary,.theme-6 .summary,.theme-7 .summary{font-size:.54rem;line-height:1.55;text-align:left}.theme-2 .timeline,.theme-3 .timeline,.theme-4 .timeline,.theme-5 .timeline,.theme-6 .timeline,.theme-7 .timeline{gap:10px}.theme-2 .timeline-item,.theme-3 .timeline-item,.theme-4 .timeline-item,.theme-5 .timeline-item,.theme-6 .timeline-item,.theme-7 .timeline-item{grid-template-columns:100px 1fr;gap:10px}.theme-2 .timeline-item p,.theme-3 .timeline-item p,.theme-4 .timeline-item p,.theme-5 .timeline-item p,.theme-6 .timeline-item p,.theme-7 .timeline-item p{font-size:.45rem;line-height:1.45}.theme-2 .timeline-item time,.theme-3 .timeline-item time,.theme-4 .timeline-item time,.theme-5 .timeline-item time,.theme-6 .timeline-item time,.theme-7 .timeline-item time{font-size:.41rem}.theme-2 .timeline-item h4,.theme-3 .timeline-item h4,.theme-4 .timeline-item h4,.theme-5 .timeline-item h4,.theme-6 .timeline-item h4,.theme-7 .timeline-item h4{font-size:.58rem}.theme-2 .timeline-item strong,.theme-3 .timeline-item strong,.theme-4 .timeline-item strong,.theme-5 .timeline-item strong,.theme-6 .timeline-item strong,.theme-7 .timeline-item strong{font-size:.43rem}.theme-2 .project-pill,.theme-3 .project-pill,.theme-4 .project-pill,.theme-5 .project-pill,.theme-6 .project-pill,.theme-7 .project-pill{padding:8px}.theme-2 .project-pill b,.theme-3 .project-pill b,.theme-4 .project-pill b,.theme-5 .project-pill b,.theme-6 .project-pill b,.theme-7 .project-pill b{font-size:.48rem}.theme-2 .project-pill span,.theme-3 .project-pill span,.theme-4 .project-pill span,.theme-5 .project-pill span,.theme-6 .project-pill span,.theme-7 .project-pill span{font-size:.39rem}

/* 02 — Neo Creative: large portrait + oversized headline, stacked lower bands. */
.theme-2 .cv-side:after{content:none!important}
.cv-sheet.theme-2{grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(20,1fr);color:#141414;background:#fff}.theme-2:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 3% 2%,#b8ff00 0 9%,transparent 9.2%),linear-gradient(115deg,transparent 0 45%,rgba(112,41,232,.08) 45% 53%,transparent 53%);z-index:-1}.theme-2 .cv-photo{grid-column:1/5;grid-row:1/8;border:0;border-radius:0 0 90px 0;background:#eee}.theme-2 .cv-photo img{filter:none}.theme-2 .cv-photo span{left:22px;bottom:20px;background:#7029e8}.theme-2 .cv-name{grid-column:5/13;grid-row:1/5;padding:58px 48px 20px;border:0;background:transparent}.theme-2 .cv-name small{display:inline-block;padding:5px 10px;color:#111;border-radius:8px;background:#b8ff00}.theme-2 .cv-name h2{margin:14px 0 8px;color:#111;font-size:4.6rem;line-height:.78}.theme-2 .cv-name p{max-width:620px;color:#7029e8;font-size:.68rem}.theme-2 .main-block:nth-of-type(1){grid-column:5/13;grid-row:5/8;padding:18px 48px 22px}.theme-2 .main-block:nth-of-type(1)>h3{display:none}.theme-2 .main-block:nth-of-type(2){grid-column:1/13;grid-row:8/13;padding:24px 45px;color:#fff;background:#222;border-radius:46px 46px 0 0}.theme-2 .main-block:nth-of-type(2)>h3{color:#b8ff00}.theme-2 .main-block:nth-of-type(3){grid-column:1/7;grid-row:13/17;padding:22px 36px;background:#b8ff00}.theme-2 .main-block:nth-of-type(4){grid-column:7/13;grid-row:13/17;padding:22px 36px;color:#fff;background:#7029e8}.theme-2 .main-block:nth-of-type(4)>h3{color:#b8ff00}.theme-2 .project-pill{background:rgba(255,255,255,.12)}.theme-2 .cv-section:nth-of-type(1){grid-column:1/4;grid-row:17/21;padding:22px 24px;color:#fff;background:#171717}.theme-2 .cv-section:nth-of-type(2){grid-column:4/7;grid-row:17/21;padding:22px 20px;color:#fff;background:#262626}.theme-2 .cv-section:nth-of-type(3){grid-column:7/10;grid-row:17/21;padding:22px 20px;color:#fff;background:#171717}.theme-2 .cv-section:nth-of-type(4){display:none}.theme-2 .cv-section:nth-of-type(5){grid-column:10/13;grid-row:17/21;padding:22px 20px;color:#fff;background:#262626}.theme-2 .cv-section h2{color:#b8ff00}.theme-2 .skill-row{grid-template-columns:1fr 38px;font-size:.42rem}.theme-2 .tool-icons{grid-template-columns:repeat(4,1fr)}

/* 03 — Studio Notes: ID card, taped paper, notebook modules. */
.cv-sheet.theme-3{grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(20,1fr);padding:28px;gap:14px;color:#26364d;background:repeating-linear-gradient(0deg,#f3ecdc 0 31px,#e9dfcb 32px)}.theme-3:after{content:"ABOUT ME";position:absolute;right:54px;top:36px;padding:9px 22px;color:#fff;background:#175da8;font-size:1.5rem;font-weight:800;box-shadow:0 8px 18px rgba(0,0,0,.2);transform:rotate(-1deg)}.theme-3 .cv-photo{grid-column:1/5;grid-row:1/7;margin:24px 12px 0;border:13px solid #fff;border-bottom-width:42px;border-radius:3px;box-shadow:0 12px 28px #b9ad96;transform:rotate(-2deg)}.theme-3 .cv-name{grid-column:5/13;grid-row:2/5;padding:36px 34px 12px;border:0;background:rgba(255,255,255,.86)}.theme-3 .cv-name h2{color:#175da8;font-size:3.5rem}.theme-3 .main-block:nth-of-type(1){grid-column:5/13;grid-row:5/8;padding:16px 34px;background:rgba(255,255,255,.86)}.theme-3 .main-block:nth-of-type(1)>h3{display:none}.theme-3 .cv-section:nth-of-type(1){grid-column:1/5;grid-row:7/10;padding:18px 24px;background:#f5d64b;transform:rotate(1deg)}.theme-3 .cv-section:nth-of-type(2){display:none}.theme-3 .cv-section:nth-of-type(3){grid-column:1/5;grid-row:10/14;padding:18px 22px;border:2px solid #173f82;background:#fff}.theme-3 .cv-section:nth-of-type(4){grid-column:1/5;grid-row:14/17;padding:16px 22px;background:#ffdcea}.theme-3 .cv-section:nth-of-type(5){grid-column:1/5;grid-row:17/21;padding:16px 22px;background:#dcecff}.theme-3 .main-block:nth-of-type(2){grid-column:5/13;grid-row:8/14;padding:22px 28px;border:8px solid #202733;background:#fff}.theme-3 .main-block:nth-of-type(3){grid-column:5/9;grid-row:14/18;padding:18px 20px;background:#fff7ad}.theme-3 .main-block:nth-of-type(4){grid-column:9/13;grid-row:14/21;padding:18px 20px;background:#d9ecff}.theme-3 .main-block>h3{color:#175da8}.theme-3 .timeline-item{grid-template-columns:78px 1fr}.theme-3 .tool-icons{grid-template-columns:repeat(4,1fr)}

/* 04 — Bold Yellow: portrait-led top, horizontal information bands. */
.cv-sheet.theme-4{grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(20,1fr);color:#151515;background:#eee}.theme-4:before{content:"";position:absolute;left:-60px;top:-80px;width:520px;height:520px;border:70px solid #ffc000;border-radius:50%;z-index:-1}.theme-4 .cv-photo{grid-column:1/5;grid-row:1/8;margin:45px 18px 0 42px;border:0;border-radius:0 0 48% 48%;background:transparent}.theme-4 .cv-name{grid-column:5/13;grid-row:1/5;padding:64px 50px 18px;border:0}.theme-4 .cv-name h2{color:#142b86;font-size:4rem;text-transform:uppercase}.theme-4 .main-block:nth-of-type(1){grid-column:5/13;grid-row:5/8;padding:14px 50px}.theme-4 .main-block:nth-of-type(1)>h3{display:inline-block;padding:5px 14px;background:#ffc000}.theme-4 .cv-section:nth-of-type(1){grid-column:1/7;grid-row:8/10;padding:17px 44px;border-top:2px solid #111;border-left:0;background:#eee}.theme-4 .main-block:nth-of-type(3){grid-column:7/13;grid-row:8/11;padding:17px 38px;border-top:2px solid #111}.theme-4 .cv-section:nth-of-type(3){grid-column:1/13;grid-row:11/13;padding:14px 44px;border-top:2px solid #111;border-left:0;background:#eee}.theme-4 .skills{grid-template-columns:repeat(3,1fr);gap:8px 24px}.theme-4 .skill-row{grid-template-columns:1fr 44px}.theme-4 .cv-section:nth-of-type(5){grid-column:1/13;grid-row:13/15;padding:12px 44px;border-top:2px solid #111;border-left:0;background:#eee}.theme-4 .cv-section:nth-of-type(5) h2{display:none}.theme-4 .tool-icons{grid-template-columns:repeat(11,1fr);gap:14px}.theme-4 .main-block:nth-of-type(2){grid-column:1/9;grid-row:15/21;padding:22px 44px;border-top:2px solid #111}.theme-4 .main-block:nth-of-type(4){grid-column:9/13;grid-row:15/21;padding:22px 26px;color:#fff;background:#142b86}.theme-4 .main-block:nth-of-type(4)>h3{color:#ffc000}.theme-4 .project-list{grid-template-columns:1fr}.theme-4 .cv-section:nth-of-type(2),.theme-4 .cv-section:nth-of-type(4){display:none}

/* 05 — Amber Geometry: classic sidebar but sharply asymmetric sections. */
.cv-sheet.theme-5{grid-template-columns:32% 68%;grid-template-rows:1fr;border:10px solid #ff9c00;color:#fff;background:#171827}.theme-5 .cv-side{display:flex;flex-direction:column;padding:38px 28px;color:#171827;background:linear-gradient(165deg,#ffd51b 0 49%,#ff9d00 49% 100%);clip-path:polygon(0 0,100% 0,88% 20%,100% 38%,88% 57%,100% 77%,90% 100%,0 100%)}.theme-5 .cv-main{display:block;padding:45px 45px 34px;background:#171827}.theme-5 .cv-photo{height:315px;aspect-ratio:auto;clip-path:polygon(8% 0,100% 0,88% 100%,0 100%)}.theme-5 .cv-section{margin:15px 20px 0 0;padding:10px 12px;background:rgba(255,255,255,.58)}.theme-5 .cv-section:nth-of-type(2),.theme-5 .cv-section:nth-of-type(4){display:none}.theme-5 .cv-tools{margin-top:auto}.theme-5 .cv-name h2{font-size:4rem}.theme-5 .main-block{margin-top:22px}.theme-5 .main-block>h3{clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%)}

/* 06 — Industrial Dark: angled yellow rail + independent content plates. */
.cv-sheet.theme-6{grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(20,1fr);color:#fff;background:#292129}.theme-6:before{content:"";position:absolute;inset:0;background:linear-gradient(122deg,#f2b900 0 27%,transparent 27.2% 100%);z-index:-1}.theme-6 .cv-photo{grid-column:1/5;grid-row:1/6;margin:34px 30px;border:7px solid #292129;border-radius:0;clip-path:polygon(0 0,86% 0,100% 18%,87% 100%,0 100%)}.theme-6 .cv-name{grid-column:5/13;grid-row:1/4;padding:50px 42px 15px;border-bottom:5px solid #f2b900}.theme-6 .cv-name h2{color:#f2b900;font-size:3.8rem}.theme-6 .main-block:nth-of-type(1){grid-column:5/13;grid-row:4/7;padding:18px 42px}.theme-6 .cv-section:nth-of-type(1){grid-column:1/4;grid-row:6/10;margin:0 28px;padding:18px;color:#292129;background:#f2b900;clip-path:polygon(0 0,92% 0,100% 12%,92% 100%,0 100%)}.theme-6 .cv-section:nth-of-type(3){grid-column:1/4;grid-row:10/15;margin:0 28px;padding:18px;color:#292129;background:#f2b900;clip-path:polygon(0 0,92% 0,100% 12%,92% 100%,0 100%)}.theme-6 .cv-section:nth-of-type(5){grid-column:1/4;grid-row:15/21;margin:0 28px;padding:18px;color:#292129;background:#f2b900;clip-path:polygon(0 0,92% 0,100% 12%,92% 100%,0 100%)}.theme-6 .cv-section:nth-of-type(2),.theme-6 .cv-section:nth-of-type(4){display:none}.theme-6 .main-block:nth-of-type(2){grid-column:4/13;grid-row:7/13;padding:22px 36px;background:#372e38;clip-path:polygon(4% 0,100% 0,96% 100%,0 100%)}.theme-6 .main-block:nth-of-type(3){grid-column:4/9;grid-row:13/17;padding:20px 34px}.theme-6 .main-block:nth-of-type(4){grid-column:9/13;grid-row:13/21;padding:20px 26px;background:#201a21}.theme-6 .project-list{grid-template-columns:1fr}.theme-6 .tool-icons{grid-template-columns:repeat(4,1fr)}

/* 07 — Clean Spectrum: navy identity rail + colorful categorical tabs. */
.cv-sheet.theme-7{grid-template-columns:35% 65%;grid-template-rows:1fr;color:#25313a;background:#fff}.theme-7 .cv-side{display:flex;flex-direction:column;padding:42px 34px;color:#fff;background:linear-gradient(180deg,#06283f,#0b3a59)}.theme-7 .cv-main{display:block;padding:46px 44px}.theme-7 .cv-photo{width:210px;height:210px;align-self:center;border:5px solid #fff;border-radius:50%}.theme-7 .cv-section{margin-top:22px;padding:0 12px 0 0}.theme-7 .cv-section:nth-of-type(1){border-right:8px solid #ff7b00}.theme-7 .cv-section:nth-of-type(2){border-right:8px solid #78bd00}.theme-7 .cv-section:nth-of-type(3){border-right:8px solid #ff2351}.theme-7 .cv-section:nth-of-type(4){display:none}.theme-7 .cv-section:nth-of-type(5){margin-top:auto;border-right:8px solid #168ac5}.theme-7 .cv-name h2{color:#082e48;font-size:3.7rem}.theme-7 .main-block{margin-top:24px;padding-left:22px;border-left:7px solid #168ac5}.theme-7 .main-block:nth-of-type(2){border-color:#78bd00}.theme-7 .main-block:nth-of-type(3){border-color:#ff7b00}.theme-7 .main-block:nth-of-type(4){border-color:#ff2351}.theme-7 .project-list{grid-template-columns:repeat(2,1fr)}

@media(max-width:800px){.download-menu{position:fixed;right:10px;top:72px}.cv-sheet.theme-2,.cv-sheet.theme-3,.cv-sheet.theme-4,.cv-sheet.theme-5,.cv-sheet.theme-6,.cv-sheet.theme-7{display:grid;transform-origin:top left}.cv-stage{overflow-x:auto}.cv-sheet{min-width:760px}.cv-sheet.theme-5,.cv-sheet.theme-7{grid-template-columns:32% 68%}.theme-panel{max-height:78vh;overflow:auto}}
@media print{#cv-sheet.cv-export{width:210mm!important;height:297mm!important}.download-menu{display:none!important}}

/* V9: final two-theme system. */
.theme-options{grid-template-columns:1fr 1fr}.theme-swatch--2{background:linear-gradient(90deg,#169cca 0 34%,#f4f4f4 34%)}
.theme-1 .cv-tools{display:none!important}
.cv-sheet.theme-2{display:grid!important;grid-template-columns:34% 66%!important;grid-template-rows:1fr!important;width:100%;height:auto;aspect-ratio:210/297;padding:0!important;gap:0!important;color:#242424;background:#f4f4f4!important;border:1px solid rgba(255,255,255,.22);border-radius:0;box-shadow:0 45px 100px rgba(0,0,0,.48)}
.theme-2:before,.theme-2:after{content:none!important}.theme-2 .cv-side{display:flex!important;min-width:0;min-height:0;flex-direction:column;padding:34px 27px!important;color:#fff!important;background:linear-gradient(180deg,#1ba3d1,#1395c2)!important}.theme-2 .cv-main{display:block!important;min-width:0;min-height:0;padding:38px 34px!important;color:#282828!important;background:#f4f4f4!important}
.theme-2 .cv-photo,.theme-2 .cv-section,.theme-2 .cv-name,.theme-2 .main-block{display:block;grid-column:auto!important;grid-row:auto!important;width:auto;height:auto;min-width:0;min-height:0;margin:0;overflow:visible;clip-path:none!important;transform:none!important;border-radius:0}
.theme-2 .cv-photo{width:200px;height:240px;align-self:center;margin:0 auto 18px;border:0!important;background:transparent!important}.theme-2 .cv-photo img{border-radius:50% 50% 18px 18px;filter:none}.theme-2 .cv-photo span{display:none}.theme-2 .cv-name{padding:0 0 17px!important;border:0!important;text-align:left;background:transparent!important}.theme-2 .cv-name small{display:none}.theme-2 .cv-name h2{margin:0;color:#16242b;font-size:3rem;line-height:.9;text-transform:uppercase}.theme-2 .cv-name p{margin-top:9px;color:#168fba;font-size:.63rem;line-height:1.35}
.theme-2 .main-block{margin-top:13px!important;padding:0!important;color:#333!important;background:transparent!important}.theme-2 .main-block>h3{display:block!important;margin:0 0 10px;padding:7px 13px;color:#242424!important;background:#dedede!important;font-size:.71rem;letter-spacing:.08em;clip-path:none!important}.theme-2 .main-block>h3:after{display:none}.theme-2 .summary{color:#565656;font-size:.57rem;line-height:1.55}.theme-2 .timeline{gap:10px}.theme-2 .timeline-item{grid-template-columns:96px 1fr;gap:11px}.theme-2 .timeline-item time{color:#159aca;font-size:.41rem}.theme-2 .timeline-item h4{font-size:.58rem}.theme-2 .timeline-item strong{font-size:.43rem}.theme-2 .timeline-item p{color:#6c6c6c;font-size:.44rem;line-height:1.45}.theme-2 .project-list{grid-template-columns:1fr 1fr;gap:6px}.theme-2 .project-pill{padding:7px;border:0;border-radius:3px;background:#e5e5e5;color:#333}.theme-2 .project-pill span{color:#777}
.theme-2 .cv-section{margin:14px 0 0!important;padding:0!important;color:#fff!important;border:0!important;background:transparent!important}.theme-2 .cv-section h2{margin:0 0 9px;padding:7px 10px;color:#fff!important;border:0;border-radius:5px;background:#087ba7;font-size:.65rem;text-align:center}.theme-2 .contact-list,.theme-2 .social-list{gap:6px}.theme-2 .contact-list a,.theme-2 .contact-list span,.theme-2 .social-list a{color:#effbff;font-size:.47rem}.theme-2 .contact-list b{color:#fff}.theme-2 .skills{gap:7px}.theme-2 .skill-row{grid-template-columns:1fr 48px;gap:8px;color:#fff;font-size:.46rem}.theme-2 .skill-row--featured{padding:6px;border-color:rgba(255,255,255,.3);background:rgba(0,80,115,.22)}.theme-2 .skill-line{background:rgba(0,74,104,.35)}.theme-2 .skill-line i{background:#fff}.theme-2 .hobby-list span{padding:5px 7px;color:#fff;border-color:rgba(255,255,255,.32);font-size:.4rem}.theme-2 .cv-section:nth-of-type(2){display:none}.theme-2 .cv-section:nth-of-type(4){display:block}.theme-2 .cv-tools{display:block!important;margin-top:auto!important}.theme-2 .tool-icons{grid-template-columns:repeat(5,1fr);gap:6px}.theme-2 .tool-icons img{padding:3px;border:2px solid #fff;border-radius:6px;background:#fff}
@media(max-width:800px){.cv-sheet.theme-1,.cv-sheet.theme-2{min-width:760px}.theme-2 .cv-side{display:flex!important}.theme-2 .cv-main{display:block!important}}
@media print{.cv-sheet.theme-2{grid-template-columns:34% 66%!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important}.theme-2 .cv-side{padding:9mm 7mm!important}.theme-2 .cv-main{padding:10mm 9mm!important}.theme-2 .cv-photo{width:42mm;height:50mm}.theme-2 .cv-name h2{font-size:29pt}.theme-2 .main-block{margin-top:3.5mm!important}.theme-2 .cv-section{margin-top:3.5mm!important}}

/* V10: balanced one-page CVs and a reference-faithful blue layout. */
.strength-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.strength-grid article{padding:12px;border:1px solid #d0d0d0;border-radius:12px;background:#e7e7e5}.strength-grid b{display:block;margin-bottom:5px;font-size:.55rem}.strength-grid span{display:block;color:#727272;font-size:.46rem;line-height:1.55}
.theme-1 .cv-main{padding:48px 50px}.theme-1 .cv-name{padding-bottom:27px}.theme-1 .cv-name h2{font-size:4.45rem}.theme-1 .summary{font-size:.67rem;line-height:1.82}.theme-1 .main-block{margin-top:28px}.theme-1 .timeline{gap:17px}.theme-1 .timeline-item p{font-size:.57rem}.theme-1 .timeline-item h4{font-size:.7rem}.theme-1 .timeline-item strong{font-size:.55rem}.theme-1 .timeline-item time{font-size:.52rem}.theme-1 .cv-strengths{margin-top:27px}

.cv-sheet.theme-2{grid-template-columns:35% 65%!important;color:#252525;background:#f7f7f7!important}.theme-2 .cv-side{position:relative;display:flex!important;padding:35px 30px 31px!important;overflow:hidden!important;background:linear-gradient(180deg,#19a6d4 0 57%,#0b87b6 57% 100%)!important}.theme-2 .cv-side:before{content:"";position:absolute;left:-105px;top:255px;width:410px;height:410px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 32px rgba(255,255,255,.025),0 0 0 68px rgba(255,255,255,.02)}
.theme-2 .cv-photo{position:relative;width:184px;height:184px;flex:0 0 184px;align-self:center;margin:0 auto 14px!important;overflow:visible!important;border:8px solid rgba(255,255,255,.96)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 0 0 5px rgba(6,86,121,.35),0 17px 34px rgba(0,47,68,.3)}.theme-2 .cv-photo:after{content:"";position:absolute;right:-17px;bottom:8px;width:34px;height:34px;border:5px solid #fff;border-radius:50%;background:#063f5b;box-shadow:0 6px 15px rgba(0,0,0,.28)}.theme-2 .cv-photo img{border-radius:50%!important;object-position:50% 24%}.theme-2 .cv-photo span{display:none}
.side-identity{display:none}.theme-2 .cv-side:after{content:none!important}.theme-2 .side-identity{position:relative;z-index:1;display:grid;margin:0 0 7px;text-align:center}.theme-2 .side-identity b{color:#fff;font-size:1.28rem;line-height:1.02;text-transform:uppercase}.theme-2 .side-identity span{margin-top:5px;color:#e6f8ff;font-size:.48rem;font-weight:700;text-transform:uppercase}.theme-2 .cv-side .cv-section{position:relative;z-index:1;margin-top:11px!important}.theme-2 .cv-section h2{padding:7px 12px;border-radius:999px;background:#086d98;font-size:.62rem;letter-spacing:.12em}.theme-2 .cv-section:nth-of-type(2){display:none}.theme-2 .contact-list,.theme-2 .social-list{gap:5px}.theme-2 .contact-list a,.theme-2 .contact-list span{font-size:.47rem;line-height:1.45}.theme-2 .skills{gap:6px}.theme-2 .skill-row{grid-template-columns:1fr 46px;font-size:.45rem}.theme-2 .skill-row--featured{padding:6px}.theme-2 .hobby-list{justify-content:center}.theme-2 .cv-tools{margin-top:10px!important}.theme-2 .tool-icons{grid-template-columns:repeat(5,1fr);gap:5px}.theme-2 .tool-icons img{border-radius:8px}
.theme-2 .cv-main{padding:34px 34px 29px!important;background:#f7f7f7!important}.theme-2 .cv-name{padding:0 0 15px!important;text-align:center}.theme-2 .cv-name small{display:block;color:#888;font-size:.5rem;letter-spacing:.18em}.theme-2 .cv-name h2{margin:7px 0 6px;color:#123e55;font-size:3.05rem;line-height:.82}.theme-2 .cv-name p{margin-top:8px;color:#128cb8;font-size:.58rem}
.theme-2 .main-block{position:relative;margin-top:11px!important;padding-left:17px!important}.theme-2 .main-block>h3{position:relative;margin-left:-17px;padding:8px 13px 8px 48px;border-radius:0;background:#dedede!important;color:#25333a!important;font-size:.68rem;text-align:left}.theme-2 .main-block>h3:before{content:"";position:absolute;left:13px;top:50%;width:22px;height:22px;border:2px solid #159bc9;border-radius:50%;background:#f7f7f7;transform:translateY(-50%);box-shadow:inset 0 0 0 5px #dedede}.theme-2 .summary{font-size:.59rem;line-height:1.62}.theme-2 .timeline{position:relative;gap:8px}.theme-2 .timeline:before{content:"";position:absolute;left:83px;top:4px;bottom:5px;width:1px;background:#9ecddd}.theme-2 .timeline-item{position:relative;grid-template-columns:76px 1fr;gap:18px}.theme-2 .timeline-item:before{content:"";position:absolute;left:79px;top:5px;width:7px;height:7px;border:2px solid #159bc9;border-radius:50%;background:#f7f7f7}.theme-2 .timeline-item time{font-size:.41rem;text-align:right}.theme-2 .timeline-item h4{font-size:.58rem}.theme-2 .timeline-item strong{font-size:.44rem}.theme-2 .timeline-item p{font-size:.46rem;line-height:1.43}.theme-2 .strength-grid{gap:7px}.theme-2 .strength-grid article{padding:9px;border:0;border-left:4px solid #159bc9;border-radius:4px;background:#e5e5e5}.theme-2 .strength-grid b{font-size:.5rem}.theme-2 .strength-grid span{font-size:.42rem}
@media print{.theme-1 .cv-main{padding:12mm 11mm!important}.theme-1 .cv-name h2{font-size:35pt}.theme-1 .summary{font-size:7.5pt}.theme-1 .timeline-item p{font-size:6.6pt}.theme-2 .cv-side{padding:8mm 6.5mm!important}.theme-2 .cv-main{padding:8mm 8mm 7mm!important}.theme-2 .cv-photo{width:39mm;height:39mm;flex-basis:39mm;border-width:2mm!important}.theme-2 .cv-name h2{font-size:28pt}.theme-2 .summary{font-size:6.7pt}.theme-2 .main-block{margin-top:2.8mm!important}.theme-2 .cv-section{margin-top:2.8mm!important}.theme-2 .cv-side:after{font-size:10pt}}

/* V11: fill the complete A4 canvas without adding artificial sections. */
.cv-sheet.theme-1{aspect-ratio:210/297;min-height:0}.theme-1 .cv-side,.theme-1 .cv-main{display:flex;min-height:0;flex-direction:column}.theme-1 .cv-main{justify-content:space-between}.theme-1 .cv-name{flex:0 0 auto}.theme-1 .main-block{margin-top:0}.theme-1 .summary{font-size:.72rem}.theme-1 .timeline-item p{font-size:.62rem}.theme-1 .timeline-item h4{font-size:.76rem}.theme-1 .timeline-item strong{font-size:.59rem}.theme-1 .timeline-item time{font-size:.56rem}.theme-1 .strength-grid article{padding:15px}.theme-1 .strength-grid b{font-size:.61rem}.theme-1 .strength-grid span{font-size:.51rem}.theme-2 .cv-main{display:flex!important;flex-direction:column;justify-content:space-between}.theme-2 .main-block{margin-top:0!important}.theme-2 .cv-side{justify-content:flex-start}.theme-2 .cv-tools{margin-top:auto!important}
.settings-control{position:relative;z-index:80;order:-1}.settings-trigger{display:grid;width:43px;height:43px;padding:0;place-items:center;color:#ddd;border:1px solid rgba(255,255,255,.17);border-radius:50%;background:#191919;cursor:pointer}.settings-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.settings-panel{position:absolute;right:0;top:52px;display:grid;width:220px;gap:12px;padding:16px;color:#eee;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(15,15,15,.97);box-shadow:0 24px 70px #000;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}.settings-control.is-open .settings-panel{opacity:1;visibility:visible;transform:none}.settings-panel>small{color:#777;font-size:.43rem;font-weight:800;letter-spacing:.16em}.settings-row{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:7px;font-size:.49rem;font-weight:700;text-align:center}.settings-switch{position:relative;width:58px;height:29px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:99px;background:#292929;cursor:pointer}.settings-switch i{position:absolute;left:4px;top:4px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.28s}.settings-switch.is-on i{transform:translateX(29px);background:#78e2ff}html[data-site-theme="light"] body{color:#183148;background:linear-gradient(180deg,#76cdfb,#c9efff 58%,#eefaff)}html[data-site-theme="light"] .cv-topbar{border-color:rgba(20,78,117,.2);background:rgba(255,255,255,.82);box-shadow:0 18px 60px rgba(25,82,117,.18)}html[data-site-theme="light"] .cv-brand{color:#183148}html[data-site-theme="light"] .cv-brand small{color:#638197}html[data-site-theme="light"] .settings-trigger,html[data-site-theme="light"] .icon-action{color:#183148;border-color:rgba(20,78,117,.2);background:#fff}html[data-site-theme="light"] .settings-panel{color:#183148;border-color:rgba(20,78,117,.2);background:rgba(249,253,255,.97);box-shadow:0 24px 70px rgba(25,82,117,.2)}html[data-site-theme="light"] .settings-switch{border-color:#9acde7;background:#d9f1fc}html[data-site-theme="light"] .cv-intro h1{color:#133047}html[data-site-theme="light"] .cv-intro h1 span{-webkit-text-stroke-color:#386784}
@media(max-width:800px){.theme-1 .cv-main{display:block}.theme-1 .main-block{margin-top:28px}.settings-panel{position:fixed;right:10px;top:72px}}
