/* FRONTELIER V086.676 | Studio palette & catalog layout only. No order or pricing CSS. */
:root[data-studio-v674-view="editor"] body.studio-page .studio-v674-swatches{gap:8px!important}
.studio-page .studio-v675-trend-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px!important}
.studio-page .studio-v675-trend-grid .studio-v674-palette-dot{height:48px!important;min-height:48px!important;padding:4px!important;border-radius:10px!important;position:relative;isolation:isolate}
.studio-page .studio-v675-trend-grid .studio-v674-palette-texture{height:38px!important;width:min(38px,100%)!important;border-radius:9px!important;background-size:cover!important}
.studio-page .studio-v675-trend-grid .studio-v674-palette-dot[aria-pressed="true"]{border:2px solid #123c2b!important;box-shadow:0 0 0 1px #d9e7d9!important}
.studio-page .studio-v675-trend-grid .studio-v674-palette-dot[aria-pressed="true"]::after,.studio-page .studio-v674-dot[aria-pressed="true"]::before{content:'✓';position:absolute;top:1px;left:2px;z-index:2;background:#133f2a;color:white;border-radius:99px;font-size:10px;line-height:14px;width:14px;height:14px;text-align:center;pointer-events:none}
/* Inline AF lettering only: no floating icon or badge; do not reuse the mobile dot's ::after tap target. */
.studio-page .studio-v676-af .studio-v677-af-mark{position:absolute;bottom:3px;right:3px;z-index:3;pointer-events:none;display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;font-size:9px;font-weight:790;line-height:1;letter-spacing:.01em;text-shadow:0 1px 2px #122819cc,0 0 2px #122819b3}
.studio-page .studio-v674-dot.studio-v676-af .studio-v677-af-mark{bottom:3px;right:2px;font-size:9px}
/* The AF letters remain inside both the 32px mobile starter swatch and the compact trend swatches. */
.studio-page .studio-v674-dot{border-radius:10px;position:relative}
.studio-page .studio-v674-dot::after{border-radius:10px}
.studio-v676-af-note{margin:0;color:#536d5b;font-size:10px;line-height:1.35}
.studio-page .studio-v676-pm-hint{margin:0;border:0!important;background:transparent!important;color:#164931!important;font-size:11px;font-weight:760;text-decoration:underline;text-underline-offset:2px;padding:5px 0!important;text-align:left;cursor:pointer}
.studio-page .studio-v676-pm-hint[hidden]{display:none!important}
.studio-page .studio-v674-palette-head strong{font-size:12px}
/* The old per-zone renderer stays mounted for original studio logic, but its UI is no longer the visible 202-decor catalog. */
body.studio-v674-catalog-is-open #studio-v674-catalog .studio-decor-browser{display:none!important}
body.studio-v674-catalog-is-open #studio-v674-catalog{min-height:0!important}
body.studio-v674-catalog-is-open #studio-v674-catalog .studio-v676-catalog-ui{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;gap:5px;padding:0}
body.studio-v674-catalog-is-open #studio-v674-catalog .studio-v674-catalog-top{padding:0 0 4px!important;min-height:36px!important;flex:0 0 36px!important}
body.studio-v674-catalog-is-open #studio-v674-catalog .studio-v674-catalog-top button{min-height:34px!important;padding:3px 8px!important}
.studio-v676-search-row{display:flex;align-items:center;gap:7px;flex:0 0 39px;min-height:39px}
.studio-v676-search-row input{min-width:0;width:100%;height:39px;min-height:39px!important;font-size:16px!important;padding:5px 10px;border-radius:9px;border:1px solid #bacbbc;background:#fafcf8;color:#193b2b;outline-offset:2px}
.studio-page .studio-v676-search-row button{height:39px!important;width:39px!important;min-height:39px!important;flex:0 0 39px;background:#eef4ed;border:1px solid #bacfbb;border-radius:9px;display:grid;place-items:center;padding:7px!important;cursor:pointer}
.studio-v676-search-row button[aria-expanded="true"]{color:#fff;background:#17472f}
.studio-v676-search-row svg{height:22px;width:22px}
.studio-v676-chips,.studio-v676-advanced{display:flex;align-items:center;flex:0 0 auto;gap:5px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 0;overscroll-behavior-x:contain}
.studio-v676-chips::-webkit-scrollbar,.studio-v676-advanced::-webkit-scrollbar{display:none}
.studio-v676-advanced[hidden]{display:none!important}
.studio-page .studio-v676-chips button,.studio-page .studio-v676-advanced button{display:inline-flex;align-items:center;flex:none;white-space:nowrap;min-height:29px!important;padding:4px 8px!important;border-radius:20px;border:1px solid #d1dcd0;background:#f8faf6;color:#234834;font-size:10px;font-weight:700;cursor:pointer}
.studio-page .studio-v676-chips button[aria-pressed="true"],.studio-page .studio-v676-advanced button[aria-pressed="true"]{background:#143e2b;color:#fff;border-color:#143e2b}
#studio-v676-grid{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;scrollbar-width:thin;padding:0 3px 5px 1px}
.studio-v676-group{margin:0;padding:0 0 8px}
.studio-v676-group h3{margin:6px 0;color:#446450;font-size:10px;font-weight:790;letter-spacing:.02em}
.studio-v676-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px 6px;align-content:start}
.studio-page .studio-v676-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:0;padding:2px 2px 4px!important;border:2px solid transparent;border-radius:10px;background:transparent;text-align:center;color:#253d2b;cursor:pointer;touch-action:manipulation}
.studio-page .studio-v676-tile[aria-pressed="true"]{border-color:#153c29!important;background:#edf5ee}
.studio-page .studio-v676-tile:focus-visible{outline:2px solid #153c29;outline-offset:1px}
.studio-v676-tile-img{height:56px;width:56px;max-width:100%;border-radius:10px;border:1px solid #dde3da;position:relative;overflow:hidden;display:block;flex:none;background-size:cover;isolation:isolate}
.studio-v676-tile-img img{display:block;width:100%;height:100%;object-fit:cover}
.studio-v676-tile-af{position:absolute;bottom:3px;right:3px;z-index:2;background:transparent;color:#fff;border:0;border-radius:0;padding:0;font-size:9px;font-weight:790;line-height:1;letter-spacing:.01em;text-shadow:0 1px 2px #122819cc,0 0 2px #122819b3;pointer-events:none}
.studio-v676-check{position:absolute;top:2px;left:2px;z-index:2;background:#153d2b;color:#fff;border-radius:50%;font-size:11px;font-weight:800;line-height:17px;width:17px;height:17px;text-align:center}
.studio-v676-tile-name{display:block;min-width:0;max-width:100%;height:15px;font-size:10px;font-weight:720;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-v676-tile-code{display:block;font-size:9px;color:#738176;line-height:13px}
.studio-v676-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;flex:0 0 34px;border-top:1px solid #e3e9e2;padding-top:3px;min-width:0}
.studio-v676-footer strong{font-size:10px;color:#31523b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.studio-page .studio-v676-footer button{flex:none;font-size:10px;font-weight:780;color:#17402b;background:#f5f9f3;border:1px solid #b4c8b4;border-radius:8px;min-height:30px!important;padding:3px 8px!important}
@media(min-width:768px){
 :root[data-studio-v674-view="editor"] body.studio-v674-catalog-is-open .studio-controls{top:118px!important;height:min(calc(100dvh - 132px),var(--studio-v676-available-height,calc(100dvh - 132px)))!important;max-height:min(calc(100dvh - 132px),var(--studio-v676-available-height,calc(100dvh - 132px)))!important;scroll-margin-top:120px;overflow:hidden!important}
 body.studio-v674-catalog-is-open #studio-v674-catalog{min-height:0!important;flex:1!important;overflow:hidden!important}
}
@media(max-width:767px){
 .studio-page .studio-v675-trend-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px!important}
 .studio-page .studio-v675-trend-grid .studio-v674-palette-dot{height:58px!important;min-height:58px!important;padding:3px!important;border-radius:10px!important}
 .studio-page .studio-v675-trend-grid .studio-v674-palette-texture{width:100%!important;max-width:49px!important;height:48px!important;border-radius:9px!important}
 body.studio-v674-catalog-is-open #studio-v674-catalog{box-sizing:border-box!important;height:60dvh!important;max-height:60dvh!important;padding:8px 9px max(6px,env(safe-area-inset-bottom))!important}
 body.studio-v675-catalog-expanded #studio-v674-catalog{height:90dvh!important;max-height:90dvh!important}
 body.studio-v674-catalog-is-open #studio-v674-catalog .studio-v676-catalog-ui{gap:3px!important}
 body.studio-v674-catalog-is-open #studio-v674-catalog .studio-v674-catalog-top{min-height:32px!important;flex-basis:32px!important}
 .studio-v676-search-row{flex-basis:36px;min-height:36px}
 .studio-v676-search-row input,.studio-page .studio-v676-search-row button{height:36px!important;min-height:36px!important}
 .studio-page .studio-v676-chips button,.studio-page .studio-v676-advanced button{min-height:27px!important;padding:4px 7px!important}
 .studio-v676-tile-img{height:67px;width:67px}
 .studio-v676-tiles{gap:2px 4px}
 .studio-v676-group h3{margin:4px 0 2px}
 .studio-v676-footer{flex-basis:31px}
}
@media(max-width:374px){.studio-v676-tile-img{width:61px;height:61px}.studio-v676-tile-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){.studio-v676-tile,.studio-page .studio-v676-chips button{transition:none!important}}

.studio-v676-card-af-copy{flex:1 0 100%;display:block;color:#3e614c;font-size:10px;line-height:1.3}
.studio-v676-card-af-copy[hidden]{display:none!important}
