@import url('/assets/vendor/photoswipe/photoswipe.css');
.creative-filter{display:flex;gap:12px;align-items:center;padding:24px;background:var(--cream);border:1px solid var(--line);margin-bottom:35px;flex-wrap:wrap}.creative-filter input,.creative-filter select{min-width:140px;flex:1;padding:12px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font:11px var(--sans);height:46px}.creative-filter input{flex:1.6}.creative-filter .button{min-height:46px;padding:12px 20px;gap:18px}.gallery-story-card p{font-size:11px}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:5px 0 35px}.gallery-toolbar .eyebrow{font-size:9px;display:block;margin-bottom:7px}.gallery-toolbar p{margin:0;font-size:11px}.curated-gallery{margin-bottom:40px}.curated-gallery.masonry{columns:3;column-gap:23px}.curated-gallery figure{margin:0 0 23px;break-inside:avoid}.curated-gallery figure>a{position:relative;display:block;overflow:hidden;background:var(--cream)}.curated-gallery img{width:100%;height:auto;transition:transform .5s}.curated-gallery a:hover img{transform:scale(1.025)}.curated-gallery.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.curated-gallery.grid img{height:300px;width:100%;object-fit:cover}.curated-gallery.grid figure{margin:0}.curated-gallery figcaption{padding:9px 2px;font-size:10px;color:var(--muted)}.gallery-zoom{position:absolute;bottom:15px;right:15px;display:grid;place-items:center;width:33px;height:33px;background:#fffdfaee;color:#1f231b;border-radius:50%;font-size:18px}.gallery-credit{border-block:1px solid var(--line);padding:35px 0;display:flex;align-items:center;justify-content:space-between;gap:40px}.gallery-credit h3{font-size:23px;margin-bottom:10px}.gallery-credit p{max-width:700px;font-size:11px}.gallery-credit .eyebrow{font-size:8px}.pswp__caption{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);max-width:80%;padding:10px 18px;background:#1f231bc9;color:#f7f3ec;font:12px var(--sans);border-radius:3px}.pswp__caption:empty{display:none}.palette-story-card{border:1px solid var(--line);background:var(--paper)}.palette-story-card>a{display:block}.palette-story-card img{width:100%;height:245px;object-fit:cover}.story-swatches{display:flex;min-height:60px;overflow:hidden}.story-swatches span{display:flex;flex:1;min-width:0;align-items:end;justify-content:center;font:700 7px/1 var(--sans);padding:12px 2px;background:var(--cream);transition:flex .3s}.story-swatches span:hover{flex:1.7}.palette-story-card .card-body{padding:25px}.palette-story-card h3{font-size:26px}.palette-story-card h3 span{font:20px var(--sans);float:right;color:var(--gold-deep)}.palette-story-card .card-body>p:last-child{font-size:10px;margin:0}.palette-story-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:start}.story-source{width:100%;max-height:720px;object-fit:cover;border-radius:3px}.story-credit{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:9px;line-height:1.7;margin:15px 0}.color-story-panel{background:var(--cream);padding:30px}.color-story-panel h2{font-size:33px}.palette-format{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:1px solid var(--line);font-size:9px}.palette-format select{padding:7px 9px;border:1px solid var(--line);color:var(--ink);background:var(--paper);font:10px var(--sans);margin-left:5px}.palette-format .text-button{font-size:9px}.story-color-list{margin-block:8px 24px}.story-color{display:flex;align-items:center;gap:15px;width:100%;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);padding:14px 0;text-align:left}.color-disc{width:47px;height:47px;flex-shrink:0;border-radius:50%;border:1px solid #1f231b15;background:var(--paper)}.story-color>span:nth-child(2){flex:1}.story-color strong{font-size:11px;font-weight:600;display:block}.story-color [data-color-value]{font-size:10px;color:var(--muted)}.story-color small{font-size:8px}.story-exports{padding-bottom:24px}.story-exports>.eyebrow{display:block;font-size:8px;margin-bottom:10px}.story-exports .button-row{gap:8px}.story-exports .button{padding:10px 13px;font-size:9px}.color-story-panel>.text-link{margin-top:20px;font-size:10px}.color-story-panel .board-save{margin-top:20px}.palette-playground{display:grid;grid-template-columns:1.3fr 1fr;gap:35px}.room-study{position:relative;min-height:390px;border:1px solid var(--line);border-radius:3px;background:var(--study-wall,#e8dfcc);overflow:hidden;isolation:isolate;box-shadow:inset 0 -80px 60px #0001}.study-floor{position:absolute;bottom:0;height:23%;width:100%;background:var(--study-detail,#a99577);opacity:.8;z-index:-1;transform:perspective(200px) rotateX(30deg) scaleX(1.1);transform-origin:bottom}.study-window{position:absolute;top:10%;left:10%;width:26%;height:51%;border:8px solid #fff9;background:linear-gradient(140deg,#fffef7,#d1dacc);display:grid;grid-template-columns:1fr 1fr;gap:4px;box-shadow:15px 25px 25px #1f231b15}.study-window i{background:linear-gradient(130deg,#e6ece07a,#a0b9b04d);border:1px solid #f7f3ecaa}.study-sofa{position:absolute;width:55%;height:22%;bottom:22%;right:8%;border-radius:18px 18px 8px 8px;background:var(--study-accent,#8b7a61);box-shadow:inset 0 -20px 0 #0002,0 18px 20px #0002}.study-sofa::before,.study-sofa::after{content:'';position:absolute;height:65%;width:7%;bottom:0;border-radius:8px;background:var(--study-accent,#8b7a61);box-shadow:inset -3px 0 0 #0001}.study-sofa::before{left:-3%}.study-sofa::after{right:-3%}.study-rug{position:absolute;bottom:6%;left:21%;width:68%;height:16%;border-radius:50%;background:var(--study-detail,#c7b594);box-shadow:inset 0 0 0 5px #ffffff26;opacity:.8}.study-table{position:absolute;bottom:13%;left:43%;width:29%;height:13%;background:#f7f3ece6;border-radius:50%;box-shadow:0 10px 0 #9c8b73,0 18px 15px #0002}.study-art{position:absolute;top:17%;right:17%;width:24%;height:32%;border:8px solid #f7f3ecbc;background:var(--study-detail,#d1b079);box-shadow:4px 5px 15px #0001}.study-art::before{content:'';position:absolute;width:52%;height:68%;left:24%;top:16%;border-radius:50% 50% 0 0;background:var(--study-accent,#1f231b);opacity:.65}.palette-playground .panel{margin:0}.palette-playground h3{font-size:28px}.contrast-panel{margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:25px}.contrast-panel>div:first-child{grid-column:1/-1}.contrast-panel h2{font-size:35px}.contrast-panel>div:first-child>p:last-child{margin:0}.contrast-controls{display:flex;flex-direction:column;align-items:start}.contrast-controls .field{max-width:320px}.contrast-preview{padding:35px;display:flex;flex-direction:column;justify-content:center;min-height:240px;border:1px solid var(--line);background:var(--cream);border-radius:3px}.contrast-preview>strong{font:400 32px/1.2 var(--serif);margin-bottom:15px}.contrast-preview>p{color:inherit;font-size:12px}.contrast-preview>span{font-size:10px;border-top:1px solid currentColor;padding-top:15px;margin-top:5px;line-height:1.7}.palette-notes{max-width:820px;margin-top:65px}.palette-notes .fine-print{font-size:11px}.model-panel{margin-bottom:35px;border:1px solid var(--line);padding:25px;background:var(--cream);border-radius:3px;position:relative}.model-panel-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:20px}.model-panel h2{font-size:30px;margin:0}.model-panel .eyebrow{font-size:8px;margin-bottom:9px}.model-panel .badge{font-size:7px;white-space:nowrap}.model-poster{height:310px;position:relative;overflow:hidden;background:#1f231b}.model-poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}.model-poster>div{position:relative;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#1f231b3b}.model-poster p{font-size:10px;color:#fff;margin:0}.model-panel model-viewer{width:100%;height:500px;background:var(--paper);--poster-color:transparent;border-radius:2px}.model-panel .fine-print{margin:15px 0 0;font-size:9px}.model-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:15px}.model-tools .button{font-size:9px;padding:10px 12px}.model-tools .field{width:140px;margin:0}.model-tools .field>span{font-size:8px}.model-tools .field select{font-size:10px;padding:7px;min-height:34px}.model-tools [aria-pressed=true]{background:var(--gold);color:#1f231b;border-color:var(--gold)}.model-panel:fullscreen{background:var(--paper);padding:25px;overflow:auto}.model-panel:fullscreen model-viewer{height:75vh}.model-panel.compact{margin-top:25px}.model-panel.compact model-viewer{height:350px}.design-taxonomy{padding-top:25px}.tag-links{display:flex;flex-wrap:wrap;gap:9px}.tag-link{border:1px solid var(--line);padding:8px 13px;font-size:10px;background:var(--cream)}.tag-link small{font-size:7px;text-transform:uppercase;letter-spacing:.8px;color:var(--gold-deep);margin-right:6px}.taxonomy-selectors{display:grid;grid-template-columns:1fr 1fr;gap:20px}.taxonomy-group{min-width:0;border:1px solid var(--line);padding:16px;border-radius:3px}.taxonomy-group legend{font-size:10px;font-weight:700;padding:0 7px}.term-search input{width:100%;background:var(--cream);border:1px solid var(--line);padding:8px 10px;color:var(--ink);font:10px var(--sans);margin-bottom:13px}.term-options{max-height:180px;overflow:auto;padding-right:5px}.term-choice{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:10px;cursor:pointer}.term-choice input{width:14px;height:14px;accent-color:var(--gold-deep)}.palette-source-preview{width:100%;max-height:430px;object-fit:contain;background:var(--cream);margin-block:25px}.palette-editor-colors{display:flex;flex-direction:column;gap:12px;margin-bottom:25px}.palette-edit-row{display:flex;align-items:end;gap:10px;padding:15px;background:var(--cream);border:1px solid var(--line)}.palette-edit-row .field{margin:0;min-width:0}.palette-edit-row .field:nth-child(1){width:55px;flex-shrink:0}.palette-edit-row .field:nth-child(2){width:100px;flex-shrink:0}.palette-edit-row .field:nth-child(3){flex:1}.palette-edit-row .field [type=color]{padding:3px;height:42px;width:100%;min-width:40px}.palette-edit-row .text-button{margin-bottom:12px;text-decoration:none;font-size:17px}.gallery-admin-images{display:grid;grid-template-columns:1fr 1fr;gap:20px}.gallery-admin-image{padding:17px;background:var(--cream);border:1px solid var(--line)}.gallery-admin-image>img{height:160px;width:100%;object-fit:cover;margin-bottom:20px}.gallery-admin-image .check{margin-bottom:0}progress[data-sync-progress]{width:100%;height:6px;accent-color:var(--gold-deep)}[data-sync-status]{color:var(--gold-deep);line-height:1.8}.creative-form-disabled{opacity:.75}.admin-page .model-panel h2{font-size:25px}
@media(max-width:1100px){.palette-story-layout{gap:30px;grid-template-columns:1.1fr 1fr}.color-story-panel{padding:24px}.palette-story-layout h2{font-size:29px}.palette-format{display:block}.palette-format .text-button{margin-top:12px}.story-source{max-height:600px}.palette-playground{gap:25px}.curated-gallery.grid img{height:250px}.model-panel-heading{display:block}.model-panel .badge{margin-top:10px}.taxonomy-selectors{grid-template-columns:1fr}.gallery-admin-images{grid-template-columns:1fr}.palette-edit-row{flex-wrap:wrap}.palette-edit-row .field:nth-child(3){min-width:120px}}
@media(max-width:850px){.curated-gallery.masonry{columns:2}.curated-gallery.grid{grid-template-columns:1fr 1fr}.palette-story-layout{grid-template-columns:1fr}.story-source{max-height:600px}.palette-format{display:flex}.palette-format .text-button{margin:0}.palette-playground{grid-template-columns:1fr 1fr}.room-study{min-height:360px}.palette-playground .panel{padding:23px}.model-panel model-viewer{height:420px}.gallery-toolbar{align-items:start;flex-direction:column;gap:20px}.story-swatches span{font-size:7px}}
@media(max-width:720px){.creative-filter{padding:18px;gap:10px;margin-bottom:30px}.creative-filter input{flex-basis:100%;min-width:0}.creative-filter select{flex:1;min-width:125px;font-size:10px}.creative-filter .button{flex-basis:100%}.curated-gallery.masonry{column-gap:12px}.curated-gallery figure{margin-bottom:12px}.curated-gallery.grid{gap:12px}.curated-gallery.grid img{height:185px}.curated-gallery figcaption{font-size:8px;line-height:1.6;padding:6px 0}.gallery-zoom{width:26px;height:26px;font-size:14px;bottom:9px;right:9px}.gallery-toolbar .button-row{gap:8px}.gallery-toolbar .button{font-size:9px;padding:11px 14px}.gallery-credit{display:block;padding:25px 0}.gallery-credit .text-link{margin-top:12px}.gallery-credit p{font-size:10px}.gallery-credit h3{font-size:23px}.palette-story-card img{height:255px}.palette-story-card .card-body{padding:23px}.story-swatches{min-height:58px}.story-swatches span{font-size:7px}.palette-story-layout{gap:22px}.story-source{max-height:550px}.story-credit{font-size:8px;margin:12px 0;gap:15px}.color-story-panel{padding:24px 21px}.color-story-panel h2{font-size:31px}.palette-format{gap:13px;align-items:start}.palette-format label{font-size:9px}.palette-format select{margin-left:3px;font-size:10px;padding:6px}.palette-format .text-button{font-size:9px;max-width:80px;text-align:right}.story-color{padding-block:13px}.color-disc{height:43px;width:43px}.story-color strong{font-size:11px}.story-color [data-color-value]{font-size:10px}.story-color small{font-size:8px}.palette-playground{grid-template-columns:1fr;gap:18px}.room-study{min-height:310px}.contrast-panel{display:block;padding:24px 20px}.contrast-panel h2{font-size:30px}.contrast-controls{margin-top:25px}.contrast-controls .field{max-width:100%}.contrast-preview{margin-top:25px;padding:25px;min-height:220px}.contrast-preview>strong{font-size:28px}.contrast-preview>span{font-size:10px}.palette-notes{margin-top:40px}.palette-notes h2{font-size:31px}.model-panel{padding:20px 16px;margin-bottom:25px}.model-panel h2{font-size:27px}.model-poster{height:260px}.model-panel model-viewer{height:365px}.model-panel .fine-print{font-size:9px;line-height:1.8}.model-tools{gap:7px}.model-tools .button{font-size:8px;padding:10px;min-height:36px}.model-tools .field{width:100%;margin-top:8px}.model-tools .field select{width:100%}.taxonomy-selectors{grid-template-columns:1fr}.taxonomy-group{padding:15px}.term-choice{font-size:11px;padding:7px 0}.term-options{max-height:200px}.palette-edit-row{gap:12px;padding:15px}.palette-edit-row .field:nth-child(2){flex:1;width:100px}.palette-edit-row .field:nth-child(3){flex-basis:100%;order:2}.palette-edit-row .text-button{margin-bottom:10px;font-size:18px}.gallery-admin-images{grid-template-columns:1fr}.gallery-admin-image>img{height:200px}.pswp__caption{font-size:10px;bottom:15px;max-width:85%;line-height:1.7}.tag-link{font-size:10px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.curated-gallery img,.story-swatches span{transition:none}.curated-gallery a:hover img{transform:none}}
/* v1.3: keep the host, its GPU surfaces and controls inside one containing block. */
.model-panel [data-model-mount]{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:100%;min-width:0}.model-panel model-viewer{display:block;position:relative;overflow:hidden;contain:layout paint size;isolation:isolate;max-width:100%;min-width:0}.model-panel [hidden]{display:none!important}.model-panel:fullscreen [data-model-mount]{width:100%;max-width:100%}
