/* Live colour studio: transparent original subjects, shared genuine profile data. */
.xh-head{padding:24px 0 18px}.xh-head .xh-h1{font-size:clamp(22px,2.4vw,34px);line-height:1.4;max-width:900px}.xh-head .xh-kicker{font-size:11px;letter-spacing:.16em}.xh-tools{display:flex;gap:5px;overflow-x:auto;max-width:100%;padding:4px 0 12px;scrollbar-width:thin}.xh-tools .xh-tool{flex:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;white-space:nowrap}.xh-profiles{flex-wrap:wrap;gap:6px}.xh-profiles .xh-chip{min-height:44px}.xh .xh-outfit{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.xh :is(.xh-figbox,.xh-pairfigs,.xh-scene,.xa2-figbox,.xa2-petfigs),.xh :is(canvas.xh-fig,canvas.xa2-fig,#ax-canvas){background:none!important;border:0!important;box-shadow:none!important;filter:none!important}.xh :is(.xh-figbox,.xh-pairfigs,.xh-scene,.xa2-figbox)::before,.xh :is(.xh-figbox,.xh-pairfigs,.xh-scene,.xa2-figbox)::after{display:none!important}
.v12-studio{--studio-ink:#eee5d3;--studio-muted:#bbae98;--studio-line:#a18d6a44;--studio-accent:#d7e868;color:var(--studio-ink);max-width:none;width:100%;padding:24px 0 42px!important;margin:0;min-width:0}.v12-studio *{box-sizing:border-box}.v12-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px}.v12-heading h2{font-family:var(--serif,Georgia,serif);font-size:clamp(29px,3vw,40px);font-weight:400;line-height:1.35;margin:7px 0 10px;letter-spacing:.035em}.v12-heading p{color:var(--studio-muted);font-size:14px;line-height:1.7;margin:0}.v12-heading .v12-eyebrow{font-size:11px;letter-spacing:.16em;color:#b8a585}.v12-modes{display:flex;border:1px solid var(--studio-line);border-radius:99px;padding:4px;flex:none}.v12-modes a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;font-size:14px;white-space:nowrap;border-radius:99px;color:var(--studio-muted)}.v12-modes a[aria-current]{background:#f0e3c9;color:#352b1e}.v12-profile{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);padding:15px 0;margin:0 0 26px}.v12-profile label,.v12-settings label,.v12-room-settings>label{display:flex;flex-direction:column;gap:7px;font-size:12px;line-height:1.4;color:var(--studio-muted)}.v12-studio input:not([type=checkbox]):not([type=color]),.v12-studio select{width:auto;min-height:44px;max-width:100%;background:#241f19;color:var(--studio-ink);border:1px solid #9d876552;border-radius:9px;padding:10px 12px;font:14px inherit;color-scheme:dark}.v12-profile .xh-input{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0}.v12-profile .xh-input-text:empty{display:none}.v12-profile .xh-tag{font-size:11px;max-width:240px;white-space:normal}.v12-profile .xh-fallback{display:none}.v12-profile>.v12-note{margin-left:auto;max-width:270px}.v12-profile .xh-btn{min-height:44px;border-radius:99px;font-size:13px;padding:10px 20px}.v12-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.82fr);gap:clamp(28px,4vw,64px);align-items:start}.v12-stage{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:18px;min-width:0;position:relative;padding:6px 0 0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible}.v12-stage::before,.v12-stage::after{content:none!important;display:none!important}.v12-figure{display:flex;flex:1;flex-direction:column;align-items:center;min-width:0;margin:0;gap:8px}.v12-figure .xh-figbox{display:block;width:267px;max-width:100%;height:560px;padding:0;margin:0;position:relative;overflow:visible}.v12-figure canvas.xh-fig{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;cursor:crosshair;opacity:1;transform:none;margin:0;padding:0}.v12-person{min-height:44px;padding:6px 10px;border:0;background:none;color:var(--studio-ink);font:16px var(--serif,Georgia,serif);display:flex;gap:8px;align-items:center}.v12-person small{font:10px system-ui,sans-serif;letter-spacing:.02em;color:var(--studio-accent);padding:4px 7px;border:1px solid #aabc5266;border-radius:99px}.v12-pair .v12-figure .xh-figbox{width:238px;height:500px}.v12-figure figcaption .ax-segments{margin:4px 0 0}.v12-stage-tip{flex-basis:100%;text-align:center;font-size:11px;line-height:1.7;color:#a99678;margin:5px 0 0}.v12-studio .ax-segments{display:flex;flex-wrap:wrap;gap:6px;padding:0;background:none;border:0;border-radius:0}.v12-studio .ax-segments button{min-height:44px;min-width:44px;padding:8px 17px;background:transparent;border:1px solid #9b835c66;border-radius:99px;font-size:13px;color:#d5c7af}.v12-studio .ax-segments button.chosen{background:var(--studio-accent);border-color:var(--studio-accent);color:#2a2e17}.v12-controls{min-width:0;width:100%;padding:4px 0 0;background:none;border:0}.v12-person-tabs .ax-segments{display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px}.v12-person-tabs .ax-segments button{border-radius:9px}.v12-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px}.v12-settings select{width:100%}.v12-control-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.v12-control-title p{font-size:10px;color:#b2a080;letter-spacing:.14em;margin:0 0 5px}.v12-control-title h2{font:400 28px/1.4 var(--serif,Georgia,serif);margin:0;color:var(--studio-ink)}.v12-control-title>span{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;font-size:12px;color:#cbbba1;max-width:160px}.v12-control-title>span i{width:23px;height:23px;border-radius:50%;border:1px solid #ffffff25}.v12-control-title code{font-size:10px;color:#a99373;flex-basis:100%;text-align:right;letter-spacing:.04em}.v12-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:20px 0 22px}.v12-parts button{min-width:0;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#27201940;border:1px solid #9b835c55;border-radius:9px;color:#cdbca2;padding:9px 4px;font-size:12px;line-height:1.4}.v12-parts button.on{background:#d7e8680d;border-color:var(--studio-accent);color:#e9edbb}.v12-parts i{width:27px;height:14px;border:1px solid #ffffff20;border-radius:4px}.v12-controls>h3{font:400 18px/1.4 var(--serif,Georgia,serif);margin:0 0 12px}.v12-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 7px}.v12-colors button{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;min-height:66px;padding:5px 2px;color:#cab99d;border:0;background:none;border-radius:7px;font-size:11px;line-height:1.4}.v12-colors button i{width:36px;height:36px;border-radius:50%;border:1px solid #ffffff29;display:grid;place-items:center;font:normal 16px system-ui;color:white;text-shadow:0 1px 3px #000}.v12-colors button.on i{outline:2px solid var(--studio-accent);outline-offset:4px}.v12-colors button span{max-width:100%;overflow-wrap:anywhere}.v12-custom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:13px;color:#c5b295;min-height:44px}.v12-custom input{width:58px;height:44px;padding:4px;border:1px solid #967e59;background:none;border-radius:8px;cursor:pointer}.v12-lock{display:flex;align-items:center;gap:8px;min-height:44px;font-size:11px;color:#b4a082;line-height:1.5}.v12-lock input{width:18px;height:18px;accent-color:var(--studio-accent);flex:none}.v12-palette-summary{border-top:1px solid var(--studio-line);margin-top:17px;padding-top:16px}.v12-palette-summary h3{font:400 15px/1.5 var(--serif,Georgia,serif);margin:0 0 11px;color:var(--studio-ink)}.v12-palette-summary>div{display:flex;gap:12px;flex-wrap:wrap}.v12-palette-summary span{display:flex;gap:6px;align-items:center;font-size:11px;color:#bda98a}.v12-palette-summary i{width:19px;height:19px;flex:none;border-radius:4px;border:1px solid #ffffff25}.v12-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.v12-actions .pill{min-height:46px;padding:10px 17px;font-size:13px;flex:1;white-space:normal}.v12-actions .ivory{background:#eee2c9;border-color:#eee2c9;color:#392b1d}.v12-note{color:#a99476;font-size:11px;line-height:1.7;margin:12px 0 0}.v12-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}.v12-links .pill{padding:8px 0;min-height:44px;background:none;border:0;color:#ceb994;font-size:12px;box-shadow:none}.v12-reading{border-top:1px solid var(--studio-line);margin-top:38px;padding-top:22px;max-width:100%}.v12-reading>h2{font:400 24px/1.5 var(--serif,Georgia,serif);margin:0 0 12px}.v12-reading p{font-size:13px;line-height:1.9;color:var(--studio-muted);max-width:900px}.v12-reading .v12-palette-summary{border:0;margin:0 0 18px;padding:0}.v12-reading .xh-fold{border-color:var(--studio-line);background:none}.v12-reading .xh-fold summary{font-size:13px;min-height:44px;padding:13px 0}.v12-reading .xh-cal{padding-top:24px;margin-top:18px;background:none;border-color:var(--studio-line)}.v12-reading .xh-day{min-width:0}.v12-reading .xh-day>span:last-child{font-size:10px;white-space:normal}.v12-room-settings{display:flex;align-items:center;flex-wrap:wrap;gap:24px;border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);padding:15px 0;margin-bottom:26px}.v12-room-settings>label{margin-left:auto}.v12-room-settings select{min-width:220px}.v12-scene-stage{align-self:start;align-content:center;min-height:480px;padding-top:20px!important}.v12-scene-stage .xh-scene{padding:0!important;margin:0!important;width:100%;max-width:none;min-height:0;overflow:visible}.v12-scene-stage #ax-canvas{display:block;width:100%;height:auto;max-width:650px;max-height:490px;object-fit:contain;margin:auto;cursor:crosshair}.v12-scene-stage #ax-image-status{font-size:11px;margin:8px 0 0;text-align:center;min-height:18px;color:#b6a182}.v12-scene-stage .v12-stage-tip{margin-top:0}.v12-pet-profile{border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);margin-bottom:26px}.v12-pet-profile>summary{padding:16px 0;min-height:50px;color:#c6b496;font-size:13px}.v12-pet-profile .v12-profile{border:0;padding-top:0;margin-bottom:15px;gap:14px}.v12-pet-profile input{max-width:180px}.v12-pets .v12-parts{grid-template-columns:repeat(4,minmax(0,1fr))}.v12-studio :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--studio-accent);outline-offset:4px}.v12-studio :is(button,a){cursor:pointer}
@media(min-width:761px) and (max-width:1100px){.v12-heading{align-items:flex-start}.v12-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:26px}.v12-pair .v12-figure .xh-figbox{width:181px;height:380px}.v12-figure .xh-figbox{width:226px;height:475px}.v12-stage{gap:4px}.v12-person{font-size:14px;padding:6px 0}.v12-person small{display:none}.v12-modes a{padding:9px 14px;font-size:13px}.v12-colors{grid-template-columns:repeat(5,minmax(0,1fr))}.v12-colors button{font-size:10px}.v12-room-settings{gap:14px}.v12-scene-stage{min-height:390px}.v12-scene-stage #ax-canvas{max-height:380px}.v12-profile>.v12-note{margin-left:0}}
@media(max-width:760px){.xh-head{padding:18px 0 12px}.xh-head .xh-h1{font-size:22px}.xh-head .xh-kicker{font-size:9px;letter-spacing:.09em}.xh-tools{gap:4px;padding-bottom:9px}.xh-tools .xh-tool{padding:9px 13px;font-size:13px}.xh-profiles{gap:5px}.xh-profiles .xh-chip{font-size:11px}.v12-studio{padding:20px 0 30px!important}.v12-heading{display:block;margin-bottom:20px}.v12-heading h2{font-size:29px;margin:7px 0 8px}.v12-heading p{font-size:13px}.v12-heading .v12-eyebrow{font-size:9px;letter-spacing:.1em}.v12-modes{display:grid;grid-template-columns:1fr 1fr;margin-top:18px}.v12-modes a{font-size:13px;padding:8px 12px}.v12-heading>.ax-segments{margin-top:16px}.v12-profile{gap:12px;padding:13px 0;margin-bottom:18px}.v12-profile label{font-size:11px;min-width:0;flex:1}.v12-profile input[type=date]{width:100%;min-width:0;max-width:100%;font-size:12px;padding:8px}.v12-profile .xh-input{gap:10px;width:100%;min-width:0}.v12-profile .xh-tag{font-size:10px;max-width:135px}.v12-profile>.v12-note{margin:0;font-size:10px;max-width:none;width:100%}.v12-profile>.xh-btn{width:100%;margin:0}.v12-workspace{display:flex;flex-direction:column;gap:24px}.v12-stage{width:100%;gap:8px;padding-top:0!important}.v12-figure{gap:4px}.v12-figure .xh-figbox{width:139px;height:292px}.v12-pair .v12-figure .xh-figbox{width:124px;height:260px}.v12-person{font-size:14px;min-height:44px;gap:5px;padding:6px}.v12-person small{font-size:8px;padding:3px 5px}.v12-figure figcaption .ax-segments{gap:5px;margin-top:3px}.v12-figure figcaption .ax-segments button{min-width:55px;padding:7px 11px;min-height:44px;font-size:12px}.v12-stage-tip{font-size:10px;margin-top:3px}.v12-controls{border-top:1px solid var(--studio-line);padding:20px 0 0}.v12-person-tabs .ax-segments{margin-bottom:16px}.v12-settings{gap:12px;margin-bottom:19px}.v12-settings label{font-size:11px}.v12-settings select{font-size:13px}.v12-control-title h2{font-size:25px}.v12-control-title p{font-size:9px}.v12-control-title>span{max-width:140px;font-size:11px}.v12-control-title>span i{width:21px;height:21px}.v12-control-title code{font-size:9px}.v12-parts{margin:18px 0 20px;gap:6px}.v12-parts button{font-size:11px;min-height:61px}.v12-controls>h3{font-size:17px;margin-bottom:10px}.v12-colors{gap:9px 5px}.v12-colors button{font-size:10px;min-height:63px}.v12-colors button i{width:34px;height:34px}.v12-custom{margin:9px 0;font-size:12px}.v12-lock{font-size:10px}.v12-palette-summary{margin-top:13px;padding-top:15px}.v12-palette-summary h3{font-size:14px}.v12-palette-summary>div{gap:10px}.v12-palette-summary span{font-size:10px}.v12-actions{gap:8px;margin-top:19px}.v12-actions .pill{font-size:12px;padding:9px 13px}.v12-note{font-size:10px}.v12-links .pill{font-size:11px}.v12-reading{margin-top:27px;padding-top:20px}.v12-reading>h2{font-size:22px}.v12-reading p{font-size:12px}.v12-reading .xh-cal h3{font-size:15px}.v12-reading .xh-day{padding:8px 2px}.v12-reading .xh-days{gap:3px}.v12-reading .xh-day>span:last-child{font-size:8px}.v12-room-settings{display:block;padding:13px 0;margin-bottom:18px}.v12-room-settings .ax-segments{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.v12-room-settings .ax-segments button{font-size:11px;padding:8px 5px}.v12-room-settings>label{margin-top:14px}.v12-room-settings select{min-width:0;width:100%;font-size:13px}.v12-scene-stage{min-height:0;padding-top:4px!important;gap:6px}.v12-scene-stage #ax-canvas{width:100%;max-width:430px;max-height:290px}.v12-scene-stage #ax-image-status{font-size:10px;margin-top:0}.v12-pet-profile{margin-bottom:18px}.v12-pet-profile>summary{font-size:12px;line-height:1.7;padding:13px 0}.v12-pet-profile .v12-profile{display:grid;grid-template-columns:1fr 1fr}.v12-pet-profile input{width:100%!important;max-width:100%}.v12-pet-profile select{width:100%;min-width:0;font-size:12px}.v12-pet-profile .xh-btn{align-self:end;font-size:12px}.v12-pets .v12-parts button{font-size:10px}}
@media(max-width:360px){.v12-heading h2{font-size:26px}.v12-pair .v12-figure .xh-figbox{width:109px;height:229px}.v12-person small{display:none}.v12-profile .xh-tag{max-width:115px;font-size:9px}.v12-parts button{font-size:10px}.v12-control-title h2{font-size:23px}.v12-control-title>span{max-width:118px}.v12-colors{column-gap:3px}.v12-colors button i{width:31px;height:31px}.v12-colors button{font-size:9px}.v12-palette-summary>div{gap:8px}}
/* Cancel legacy generic header/form surfaces within this tool only. */
.v12-studio .v12-heading{position:static!important;inset:auto!important;z-index:auto!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;backdrop-filter:none!important;transform:none!important;filter:none!important}.v12-studio .v12-heading::before,.v12-studio .v12-heading::after{display:none!important;content:none!important}.v12-studio .v12-profile .xh-input{padding:0!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}.v12-studio .v12-profile .xh-input label{display:flex;align-items:flex-start;flex-direction:column;gap:7px}.v12-studio .v12-profile .xh-input-text{display:none}.v12-studio .v12-profile .xh-input input{margin:0}.v12-studio .v12-profile .xh-tag{margin:0}
.v12-birth-details{border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);margin:0 0 24px}.v12-birth-details>summary{min-height:48px;padding:14px 0;font-size:12px;line-height:1.6;color:#c6b496;cursor:pointer}.v12-birth-details .v12-profile{border:0;margin:0;padding:0 0 17px}.v12-birth-details[open]>summary{margin-bottom:3px}
@media(max-width:760px){.xh-head .xh-titles>:not(.xh-h1){display:none}.xh-head .xh-titles .xh-h1{font-size:20px;margin:0}.xh-head{padding:10px 0 6px}.xh-profiles{margin:0}.v12-heading{margin-bottom:17px}.v12-heading h2{font-size:28px}.v12-heading .v12-eyebrow{display:none}.v12-modes{margin-top:15px}.v12-birth-details{margin-bottom:16px}.v12-birth-details>summary{min-height:44px;padding:12px 0;font-size:11px}.v12-birth-details .v12-profile{padding:0 0 14px}.v12-figure .xh-figbox{width:129px;height:270px}}
@media(max-width:760px){.v12-outfit .v12-modes{display:none}.v12-outfit:not(.v12-pair) .v12-person{display:none}.v12-outfit .v12-heading{margin-bottom:17px}}
/* Anchor the profile editor to the full mobile profile row, not the final chip. */
@media(max-width:760px){.xh-head .xh-profiles{position:relative;width:100%;max-width:100%}.xh-head .xh-pmgr{position:static}.xh-head .xh-pmgr-body{left:0;right:auto;top:calc(100% + 8px);width:100%;max-width:100%;box-sizing:border-box;max-height:calc(100dvh - 240px);overflow:auto;z-index:30;background:#241e17;border:1px solid #9b835c66}.xh-head .xh-newprof,.xh-head .xh-newprof label{min-width:0}.xh-head .xh-newprof :is(input,select,button){width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box}}
/* Tablet overview cards need their full column for labels below the illustration. */
@media(min-width:761px) and (max-width:1000px){body[data-v10=astro] .v10-astro{padding-inline:0}body[data-v10=astro] .v10-tools .v10-tool{flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:16px 16px 38px}body[data-v10=astro] .v10-tool>div{min-width:0;width:100%}body[data-v10=astro] .v10-tool img{width:86px;height:92px}body[data-v10=astro] .v10-tool-chips{width:100%;min-width:0}body[data-v10=astro] .v10-tool-chips .v10-pill{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}}
/* Mobile: the colour controls sit below the preview, so the preview stays pinned at the top while you pick —
   every change is visible without scrolling back up. (2026-11-24) */
@media(max-width:760px){
 .v12-workspace>.v12-stage{position:sticky;top:0;z-index:20;background:#191511!important;padding-bottom:8px!important;box-shadow:0 10px 14px -10px #000}
 .v12-workspace>.v12-stage canvas{max-height:30vh;width:auto!important;max-width:100%}
 .v12-workspace>.v12-stage .v12-stage-tip{font-size:11px;margin:0}
}
