.modal-card:has(.home-themes-panel){position:relative}.modal-card:has(.home-themes-panel)>.modal-close{position:absolute;right:16px;top:16px;float:none;margin:0}.home-themes-panel{clear:both;display:grid;gap:16px;min-width:0}.home-themes-panel header{padding-right:40px;display:grid;gap:8px;min-width:0}.home-themes-panel h2,.home-themes-panel h3,.home-themes-panel p{margin:0;overflow-wrap:anywhere}.home-themes-panel .eyebrow{color:var(--accent)}.home-themes-panel button{font:inherit;min-height:44px;min-width:44px;white-space:normal;overflow-wrap:anywhere}.theme-catalogue-intro{display:flex;align-items:start;gap:12px;flex-wrap:wrap}.theme-catalogue-intro p{flex:1 1 12rem;font-size:.9375rem;line-height:1.55;color:var(--text-secondary)}.theme-balance{display:flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid var(--border-default);border-radius:20px;color:var(--accent);font-size:.875rem;font-weight:600;white-space:nowrap}.theme-lighting-link{justify-self:start;text-align:left}.theme-catalogue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr));gap:12px}.theme-catalogue-card{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid var(--border-default);border-radius:18px;overflow:hidden;background:var(--card-background);color:var(--text-primary);min-width:0}.theme-card-art{aspect-ratio:1;width:100%;position:relative;display:grid;place-items:center;background:var(--surface-muted)}.theme-card-art img{width:100%;height:100%;object-fit:contain;display:block}.theme-card-copy{display:grid;gap:7px;padding:12px;min-width:0;flex:1;align-content:start}.theme-card-copy>strong{font-size:.9375rem;line-height:1.4}.theme-card-copy>span{font-size:.8125rem;line-height:1.45;color:var(--text-secondary)}.theme-card-copy .theme-card-price{display:flex;gap:5px;align-items:center;color:var(--accent);font-weight:600;margin-top:auto;padding-top:4px}.theme-card-price svg{flex:none}.theme-card-price.is-owned{color:var(--success-text)}.theme-detail-style{font-size:.875rem!important;color:var(--text-secondary);line-height:1.5}.theme-detail-art{aspect-ratio:1;width:100%;max-height:270px;display:grid;place-items:center;position:relative;background:var(--surface-muted);border-radius:20px;overflow:hidden}.theme-detail-art img{display:block;width:100%;height:100%;object-fit:contain}.theme-preview-controls{display:flex;flex-wrap:wrap;gap:7px}.theme-preview-controls button{flex:1 1 auto;padding:9px 11px;border:1px solid var(--border-strong);border-radius:13px;background:var(--card-background);color:var(--text-primary);font-size:.875rem;line-height:1.4}.theme-preview-controls button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--surface-muted);color:var(--accent);font-weight:600}.theme-preview-note,.theme-note{font-size:.8125rem!important;line-height:1.55;color:var(--text-secondary)}.theme-preview-note{padding:10px 12px;background:var(--surface-muted);border-radius:13px}.theme-description{font-size:.9375rem!important;line-height:1.6}.theme-traits{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0;list-style:none}.theme-traits li{font-size:.8125rem;line-height:1.45;border:1px solid var(--border-default);background:var(--surface-muted);padding:7px 10px;border-radius:12px}.theme-detail-price{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;line-height:1.5}.theme-detail-price strong,.theme-detail-price span{display:inline-flex;align-items:center;gap:4px}.theme-detail-price strong{color:var(--accent)}.theme-detail-price span{font-size:.8125rem;color:var(--text-secondary)}.theme-detail-actions{display:grid;gap:10px}.theme-detail-actions button{min-height:48px}.theme-back{justify-self:start;padding-left:0;text-align:left}.theme-error{font-size:.875rem!important;line-height:1.5;color:var(--danger-text)}.theme-notice{font-size:.875rem!important;line-height:1.5;padding:12px;border-radius:14px;background:var(--surface-muted);color:var(--text-secondary)}.theme-image-unavailable,.theme-image-error{font-size:.875rem;line-height:1.5;color:var(--text-secondary);padding:16px;text-align:center}.theme-image-error[hidden],.home-themes-panel img[hidden]{display:none!important}.theme-auto-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;padding:12px 14px;border:1px solid var(--border-default);border-radius:15px;background:var(--surface-muted);color:var(--accent)}.theme-auto-summary span{font-size:.8125rem;color:var(--text-secondary)}.care-homes-entry{display:flex;gap:12px;align-items:center;width:100%;padding:13px 14px;border:1px solid var(--border-default);border-radius:17px;background:var(--surface-muted);color:var(--text-primary);text-align:left}.care-homes-entry>svg{flex:none;color:var(--accent)}.care-homes-entry>span{display:grid;gap:4px;flex:1}.care-homes-entry strong{font-size:.9375rem}.care-homes-entry small{font-size:.8125rem;line-height:1.4;color:var(--text-secondary)}
.theme-card-meta{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.theme-card-preview{font-size:.8125rem;color:var(--accent);border:1px solid currentColor;border-radius:999px;padding:1px 9px}.theme-confirm-art{max-height:180px;overflow:hidden}

/* Decorate shows full portrait artwork; exterior cards preserve the interior reveal. */
.home-style-pick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.home-style-pick{display:grid;gap:8px;align-content:start;padding:0;border:0;background:none;color:var(--text-primary);text-align:left;min-width:0;min-height:44px;border-radius:18px}
.home-style-pick-art{position:relative;display:block;aspect-ratio:2/3;border-radius:16px;overflow:hidden;background:var(--surface-muted);box-shadow:0 0 0 1px var(--border-default)}
.home-style-pick-art img{display:block;width:100%;height:100%;object-fit:cover}
.home-style-pick.is-active .home-style-pick-art{box-shadow:0 0 0 3px var(--accent)}
.home-style-pick-check{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);box-shadow:0 2px 6px color-mix(in srgb,var(--shadow-color) 25%,transparent)}
.home-style-pick-copy{display:grid;gap:2px;padding:0 2px;min-width:0}
.home-style-pick-copy strong{font-size:.9375rem;line-height:1.3;overflow-wrap:anywhere}
.home-style-pick-state{display:flex;gap:4px;align-items:center;font-size:.8125rem;line-height:1.4;color:var(--text-secondary)}
.home-style-pick.is-active .home-style-pick-state{color:var(--success-text);font-weight:600}
.home-style-pick-state.is-locked{color:var(--text-secondary)}
.home-style-pick:focus-visible{outline:3px solid var(--focus-ring,var(--accent));outline-offset:3px}
.home-style-pick-hero{aspect-ratio:2/3;height:min(46dvh,360px);margin-inline:auto;border-radius:20px;overflow:hidden;background:var(--surface-muted)}
.home-style-pick-hero img{display:block;width:100%;height:100%;object-fit:cover}
