/* V3: compact presentation, existing CIC identity and data contracts. */
.v3-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.v3-intro{padding:24px 0 18px;background:#f6f5ef;color:#152f3d}.v3-intro h1{font-size:clamp(1.8rem,3.5vw,2.8rem);line-height:1.1;letter-spacing:-.035em;margin:16px 0 12px}.v3-intro p{font-size:.95rem;max-width:760px;margin:8px 0}.v3-breadcrumb,.v3-steps{display:flex;flex-wrap:wrap;gap:10px;position:static;box-shadow:none;width:auto;height:auto;background:none}.v3-breadcrumb{font-size:.8rem}.v3-steps{gap:8px 20px;margin:16px 0;font-size:.8rem}.v3-steps a{min-height:44px;display:inline-flex;align-items:center}.v3-context{color:#315e4c}.v3-entry{padding:16px;border:1px solid #9bb29f;background:#fffdfa;border-radius:8px;margin-top:12px}.v3-entry h2{font-size:1.05rem}.v3-entry>div{display:flex;gap:8px;flex-wrap:wrap}.v3-entry button{min-height:44px;padding:8px 12px;border:1px solid #315e4c;color:#315e4c;background:white;border-radius:5px}
.palette-page .palette-studio-section{padding:0 0 32px}.palette-page .palette-scene-chooser{padding:10px 14px;margin-bottom:12px}.v3-ready .palette-scene-heading{display:none}.v3-ready .palette-scene-tabs{margin:0}.v3-admin{margin:0 0 14px;border:1px solid #c3d1c4;background:#fffdfa;border-radius:8px;padding:0 14px}.v3-admin>summary{padding:11px 0;min-height:44px;cursor:pointer}.v3-admin .palette-project{padding:0;margin:0;border:0}.v3-admin .palette-project-actions{justify-content:flex-start}.v3-admin .palette-project-edit{padding:10px 0;background:none}.v3-admin .v2-room-tools button{padding:7px 12px}.v3-admin .palette-project-storage{font-size:.75rem}
.v3-ready .palette-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:24px;align-items:start}.v3-ready .v21-photo-area,.v3-ready .v21-photo-area.v21-outdoor{display:block;position:static;top:auto;min-width:0}.v3-ready .palette-controls{padding:20px;min-width:0;border:1px solid #c5d3ca;border-radius:12px;background:#fffdfa}.v3-photo-heading{padding:12px 16px;border-bottom:1px solid #d5dfd7}.v3-current-room{font-weight:600;font-size:.85rem;margin:0 0 8px}.v3-roomline{display:flex;align-items:center;gap:8px;min-width:0}.v3-roomline>strong{font-size:.75rem;white-space:nowrap}.v3-ready nav.v21-quick-rooms{display:block;position:static;padding:0;border:0;background:transparent;min-width:0;flex:1}.v3-ready .v21-quick-rooms>div{display:flex;gap:6px;overflow-x:auto;max-height:none;scroll-padding:4px;padding:3px}.v3-ready .v21-quick-rooms button{padding:7px 11px;font-size:.75rem;min-height:44px;max-width:175px;flex:0 0 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3-roomline>[data-project-add]{width:44px;height:44px;flex:0 0 44px;padding:0;background:#315e4c;color:white;border:0;border-radius:6px}.v3-under-photo{display:flex;gap:12px;align-items:start;margin-top:12px}.v3-motifs{flex:1;padding:0 12px;border:1px solid #bdcdbf;border-radius:7px;background:#fffdfa}.v3-motifs>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:.85rem}.v3-motifs h4,.v3-motifs p{display:none}.v3-motifs .v2-variant-grid{gap:10px;margin-bottom:12px}.v3-motifs .v2-variant-grid img{max-height:100px}.v3-motifs .v2-variant-grid strong{font-size:.75rem;padding:8px}.v3-under-photo .palette-original{margin:0;min-height:44px;font-size:.8rem;padding:9px 13px}
.v3-surface-header>strong{display:block;margin-bottom:10px;font-size:.85rem}.v3-ready .v2-surfaces{gap:8px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}.v3-ready .v2-surfaces i{width:22px;height:22px}.v3-ready .palette-explore-family{flex-direction:row!important;width:auto!important;justify-content:center!important}.v3-ready .v2-surfaces button{padding:9px;font-size:.75rem;min-height:48px}.v3-ready .v2-surfaces small{font-size:.68rem}.v3-ready .v2-same-walls{font-size:.75rem;padding:8px;border:0;margin:8px 0}.v3-ready .v2-same-walls small{display:none}.v3-surface-options{margin:8px 0 14px;font-size:.8rem}.v3-surface-options summary{cursor:pointer;min-height:44px;padding:10px 0}.v3-ready .palette-ceiling,.v3-ready .palette-door{padding:10px;font-size:.75rem;margin:6px 0}.v3-ready .v2-ceiling-options{display:flex;flex-wrap:wrap;gap:6px}.v3-ready .v2-ceiling-options button{font-size:.7rem;padding:7px}.v3-ready .palette-door label{font-size:.8rem}
.v3-tabs{display:flex;overflow-x:auto;gap:3px;border-bottom:1px solid #bdcdbf;padding:0 0 6px;scroll-padding:4px}.v3-tabs button{min-height:44px;flex:1 0 auto;background:none;border:0;border-radius:5px;color:#31564d;padding:8px;font-size:.75rem!important;white-space:nowrap}.v3-tabs [aria-selected=true]{background:#0b3040;color:white}.v3-tabpanel{padding:15px 0 0}.v3-tabpanel:focus-visible{outline:2px solid #ac5b28}.v3-ready .palette-quick-moods{padding:0;margin:0;border:0}.v3-ready .palette-quick-moods-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v3-ready .palette-quick-mood{font-size:.78rem;padding:12px 9px;min-height:55px;gap:7px}.v3-ready .palette-quick-mood-colors{width:42px}.v3-ready .palette-explore{border:0;background:transparent;margin:0;padding:0}.v3-ready .palette-explore-content{padding:0}.v3-ready .palette-explore-section{margin:0 0 12px;padding:0;border:0}.v3-search input{width:100%;min-width:0}.v3-ready .v2-search-label{font-size:.75rem}.v3-family-row{display:flex;overflow-x:auto;gap:5px;padding:6px 2px;margin:8px 0;max-width:100%;scroll-padding:3px}.v3-ready .palette-explore-families{display:contents!important}.v3-ready .palette-explore-family,.v3-featured{display:flex;align-items:center;gap:5px;flex:0 0 auto;min-height:44px!important;border:1px solid #bdcdbf!important;border-radius:20px!important;padding:6px 10px!important;background:#fffdfa!important;color:#31564d;font-size:.72rem!important;max-width:170px}.v3-ready .v2-family-dot{width:13px;height:13px;min-width:13px;border-radius:50%;margin:0}.v3-ready .v2-family-label{font-size:.72rem}.v3-ready .palette-explore-family[aria-pressed=true]:not(.v3-family-inactive),.v3-featured[aria-pressed=true]{background:#e4eddf!important;border-color:#315e4c!important;box-shadow:inset 0 0 0 1px #315e4c}.v3-ready .palette-explore-shades{grid-template-columns:repeat(6,minmax(44px,1fr));gap:6px}.v3-ready .palette-explore-shade{min-height:44px;aspect-ratio:1;border-radius:5px}.v3-ready .v2-popular-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v3-ready .v2-popular-colors button{font-size:.67rem;padding:7px;display:flex;flex-direction:column;justify-content:center;text-align:center;min-height:65px}.v3-ready .v2-popular-colors i{width:22px;height:18px;flex:none}.v3-ready .palette-explore-chosen{padding:8px;font-size:.72rem}.v3-ready .palette-show-more{min-height:44px;font-size:.8rem}.v3-ready .v2-personal-tones{padding:0;border:0;margin:0}.v3-ready .v2-personal-tones article{padding:12px;font-size:.8rem;gap:8px}.v3-ready .v2-personal-tones button{min-height:44px;font-size:.75rem}.v3-ready .v22-code-result{padding:12px}.v3-ready .v22-code-actions{gap:8px}.v3-ready .palette-note{font-size:.75rem}.v3-next{grid-column:1/-1}.v3-ready .palette-work-options{padding:18px;margin:0 0 14px}.v3-ready .palette-work-options>label{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;margin:4px 6px 4px 0;min-height:48px;border:1px solid #b6c9b9;border-radius:7px;background:#fffdfa;font-size:.85rem}.v3-ready .palette-work-options>label:has(input:checked){background:#e5efdf;border-color:#315e4c;box-shadow:inset 0 0 0 1px #315e4c}.v3-ready .palette-work-options small{display:block;font-size:.68rem}.v3-ready .palette-work-options input{width:19px;min-height:19px;height:19px;accent-color:#315e4c}.v3-ready .palette-work-options p{font-size:.8rem;margin:0 0 10px}.v3-ready .palette-choice-summary{padding:12px;margin:0}.v3-ready .palette-customer-journeys{max-width:900px;display:flex;gap:12px;flex-wrap:wrap}.v3-ready .palette-customer-journeys p{flex-basis:100%;font-size:.8rem}.v3-secondary{font-size:.85rem;margin-top:14px}.v3-secondary>summary{padding:10px 0;min-height:44px;cursor:pointer}.v3-section-next{display:flex;gap:24px;flex-wrap:wrap;padding:12px 0 28px}.v3-section-next a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:1100px){.v3-ready .palette-workspace{grid-template-columns:minmax(0,1fr) minmax(310px,.85fr);gap:16px}.v3-ready .v21-photo-area{position:static}.v3-ready .palette-controls{padding:15px}.v3-ready .palette-explore-shades{grid-template-columns:repeat(5,minmax(44px,1fr))}}
@media(max-width:800px){.v3-ready .palette-workspace{grid-template-columns:minmax(0,1fr)}.v3-ready .v21-photo-area{position:static}.v3-ready .palette-controls{padding:14px}.v3-ready .v2-popular-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.v3-ready .palette-explore-shades{grid-template-columns:repeat(5,minmax(44px,1fr))}.v3-ready .palette-explore-shade{min-width:0;min-height:44px}.v3-ready .palette-work-options>label{margin-right:0}.v3-photo-heading{padding:10px}.v3-intro p{font-size:.85rem}.v3-steps{font-size:.72rem;gap:0 14px}.v3-ready .palette-visual-header{padding:12px;font-size:.7rem}.v3-ready .v3-roomline>strong{display:none}.v3-ready .palette-explore-see-room{display:none}}

/* V3.1: a single, spacious family row; selected border and keyboard focus are distinct. */
.v3-ready .v3-family-row{gap:12px!important;padding:8px!important;margin:0 0 12px;scroll-padding-inline:8px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a8bdb0 #eef2ed;align-items:center;min-width:0}
.v3-ready .v3-family-row .palette-explore-family,.v3-ready .v3-family-row .v3-featured{flex:0 0 auto!important;width:auto!important;max-width:none;min-height:44px!important;padding:10px 14px!important;gap:9px;border:1px solid #b5c9bb!important;border-radius:23px!important;outline:none!important;box-shadow:none!important;white-space:nowrap;font-size:14px!important;transform:none!important}
.v3-ready .v3-family-row .v2-family-label{font-size:14px;white-space:nowrap;line-height:1.3}.v3-ready .v3-family-row .v2-family-dot{width:14px;height:14px;min-width:14px}
.v3-ready .v3-family-row button[aria-pressed=true]:not(.v3-family-inactive){background:#e4eddf!important;border-color:#315e4c!important;box-shadow:inset 0 0 0 1px #315e4c!important}
.v3-ready .v3-family-row button:focus-visible{outline:2px solid #0b3040!important;outline-offset:3px}.v3-ready .palette-explore-families::after{display:none!important;content:none!important}
.v31-family-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 0;font-size:.78rem;font-weight:600}.v31-family-arrows{display:flex;gap:8px}.v31-family-arrows button{width:44px;height:44px;padding:0;border:1px solid #becfc3;background:#f5f8f3;border-radius:8px;color:#123b48;font-size:20px;line-height:1}.v31-family-arrows button[aria-disabled=true]{opacity:.35;cursor:default}.v31-family-arrows button:focus-visible{outline:2px solid #0b3040;outline-offset:2px}
.v31-search-info{font-size:.78rem;line-height:1.5;margin:6px 0 10px}.v31-search-info:empty{display:none}.v3-ready [data-outdoor-thumb] img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block}.v3-ready .v3-under-photo>[data-photo-original]{margin-left:auto}.v3-ready.v3-outside .palette-explore-targets{margin-bottom:12px}

/* Outdoor photos must never keep the desktop sticky/column width on a phone. */
.v3-ready .v21-photo-area.v21-outdoor{width:100%;max-width:100%;min-width:0}
.v3-ready .palette-photo-stage,.v3-ready .palette-photo-stage canvas,.v3-ready .palette-photo-stage img{max-width:100%;min-width:0}
@media(max-width:1100px){.v3-ready .v21-photo-area.v21-outdoor{position:static!important;top:auto;width:100%;max-width:100%;min-width:0}}

/* V3.2: a compact optional outdoor attachment, not a second project. */
.v32-combined-summary{font-size:.8rem;margin:8px 0 14px;color:#31564d}.v32-outdoor-inclusion{padding:12px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.v32-outdoor-inclusion[hidden]{display:none}.v32-outdoor-inclusion button{font-size:.78rem;min-height:44px;padding:10px 14px}.v32-outdoor-inclusion button[aria-pressed=true]{background:#e4eddf;color:#194333;border-color:#315e4c}.v32-inclusion-note{font-size:.75rem;line-height:1.5;flex:1 1 250px;margin:0}

/* WEB-08.3.10: one visible project row and controls that fit the viewport. */
.v3-ready .v3-roomline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}
.v3-ready .v3-roomline>strong{display:block;grid-column:1/-1;white-space:normal;font-size:.8rem}
.v3-ready .v3-roomline>[data-project-add]{width:auto;height:auto;min-height:44px;padding:8px 11px;font-size:.75rem;white-space:nowrap}
.v3-ready .v21-quick-rooms>[data-quick-rooms]{min-width:0;max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:5px;padding:5px}
.v3-ready .v21-quick-rooms button:focus-visible,.v3-area-arrows button:focus-visible,.v3-roomline>[data-project-add]:focus-visible{outline:2px solid #0b3040;outline-offset:2px}
.v3-area-arrows{display:flex;gap:5px}.v3-area-arrows[hidden]{display:none}.v3-area-arrows button{width:44px;height:44px;padding:0;border:1px solid #becfc3;background:#f5f8f3;border-radius:6px;color:#123b48;font-size:20px}.v3-area-arrows button:disabled{opacity:.4;cursor:default}
.v3-edit-context{font-size:.9rem;line-height:1.5;font-weight:600;color:#173e36;margin:0 0 12px;overflow-wrap:anywhere}
.v3-work-reminder{font-size:.75rem;line-height:1.5;color:#43584f;margin:10px 0 14px}
.v3-ready .v3-under-photo{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.v3-ready .v3-motifs .v2-variant-grid{grid-template-columns:repeat(2,minmax(0,160px));gap:8px}
.v3-ready .v3-motifs .v2-variant-grid img{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;display:block}
.v3-ready [data-outdoor-thumb] img{aspect-ratio:4/3;object-fit:cover}
@media(max-width:800px){.v3-ready .v3-roomline{grid-template-columns:minmax(0,1fr) auto}.v3-ready .v3-roomline>strong{grid-column:1}.v3-ready .v3-roomline>[data-project-add]{grid-column:2;grid-row:1}.v3-ready .v3-roomline nav{grid-column:1/-1;grid-row:2}.v3-ready .v3-area-arrows{grid-column:1/-1;grid-row:3;justify-content:flex-end}.v3-ready .v3-under-photo{grid-template-columns:minmax(0,1fr)}.v3-ready .v3-under-photo>.palette-original{justify-self:end}}

/* Scene changes keep the navigation, project strip and photo at the same height. */
.v3-ready .palette-scene-chooser{display:flex;align-items:center;gap:12px;min-height:80px}
.v3-ready .palette-scene-tabs{flex:1;min-width:0}
.v3-ready [data-palette-scene-list="inside"]{display:none!important}
.v3-ready .v21-outdoor-categories{margin:0;flex:0 0 auto}
.v3-ready .v21-outdoor-categories>[role=group]{flex-wrap:nowrap}
.v3-outdoor-select{display:none}
.v3-outdoor-motifs .palette-scene-list{display:block}
.v3-outdoor-motifs .palette-scene-option{display:grid;grid-template-columns:80px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 12px;padding:8px;min-height:0}
.v3-outdoor-motifs .v21-outdoor-thumb{grid-column:1;grid-row:1/3;width:80px;margin:0;border-radius:4px}
.v3-outdoor-motifs .palette-scene-option strong,.v3-outdoor-motifs .palette-scene-option small{grid-column:2;align-self:center}
.v3-ready .v3-outdoor-motifs>p{display:block;font-size:.75rem;line-height:1.5;margin:8px 0 12px}
@media(max-width:800px){.v3-ready .palette-scene-chooser{gap:8px;padding-inline:10px}.v3-ready .palette-scene-tabs button{font-size:.75rem;padding-inline:6px}.v3-ready .v21-outdoor-categories{flex:0 1 120px;min-width:0}.v3-ready .v21-outdoor-categories>[role=group]{display:none}.v3-outdoor-select{display:block}.v3-outdoor-select select{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #9ab1a0;border-radius:6px;background:#fffdfa;color:#31564d;font-size:.75rem;padding:6px}.v3-ready .palette-visual-header{min-height:82px}}
