/* UTRADY Studio v1.6.2 - editable palettes, scoped to Studio only. */
.ws162-grid .ws162-palette-item{min-width:0;display:flex;flex-direction:column;gap:4px}
.ws162-grid .ws162-palette-item .ws132-palette{width:100%;min-width:0;cursor:pointer}
.ws162-grid .ws162-palette-item.is-selected{background:#f7faf7;border:1px solid #a6cfb6;border-radius:11px;padding:2px}
.ws162-grid .ws162-edit-colors{display:flex;gap:3px;align-items:center;padding:2px 3px 4px;min-width:0}
.ws162-grid .ws162-color-control{display:block;flex:1;min-width:0;height:26px;cursor:pointer}
.ws162-grid .ws162-color-control input[type=color]{cursor:pointer;border:1px solid #d2ddd5;border-radius:5px;width:100%;height:26px;padding:1px;background:transparent}
.ws162-grid .ws162-reset{flex:0 0 21px;height:25px;border:1px solid #d2ddd5;border-radius:5px;color:#425f50;background:#fff;cursor:pointer}
.ws162-grid .ws162-reset:hover{border-color:#41836b}
.ws162-hint{font-size:11px;line-height:1.5;color:#557366;margin:6px 0 8px}
/* The LAST swatch is always the page background, including dark palettes. */
.ws.ws-v2{background:var(--ws162-background,var(--p-bg));color:var(--p-ink)}
.ws.ws-v2>.ws-canvas,.ws.ws-v2>.ws150-canvas{background:var(--ws162-background,var(--p-bg))}
.ws.ws-v2.ws150-food{--r161-paper:var(--ws162-background);--r161-card:var(--p-card);--r161-primary:var(--p-primary);--r161-on-primary:var(--p-accent-contrast);--r161-secondary:var(--p-secondary);--r161-ink:var(--p-ink);--r161-muted:var(--p-subtle);--r161-primary-hover:var(--ws-control-hover)}
.ws.ws-v2.ws150-food .ws150-hero{background:linear-gradient(115deg,var(--ws162-background) 10%,color-mix(in srgb,var(--ws162-background) 74%,var(--p-card) 26%) 100%)}
.ws.ws-v2.ws150-food.ws-theme-nova .ws150-hero{background:radial-gradient(ellipse at 80% 40%,color-mix(in srgb,var(--p-card) 37%,var(--ws162-background) 63%),var(--ws162-background) 74%)}
.ws.ws-v2.ws150-food.ws-theme-atelier .ws150-hero{background:radial-gradient(ellipse at 95% 12%,color-mix(in srgb,var(--p-secondary) 25%,transparent),transparent 54%),linear-gradient(125deg,var(--ws162-background) 18%,color-mix(in srgb,var(--p-card) 48%,var(--ws162-background) 52%) 100%)}
.ws.ws-v2.ws150-food :is(.ws150-hero,.ws150-menu,.ws150-section){color:var(--p-ink)}
.ws.ws-v2.ws150-food .ws151-branch-bar{background:color-mix(in srgb,var(--p-card) 24%,var(--ws162-background) 76%);border-color:color-mix(in srgb,var(--p-ink) 15%,transparent)}
.ws.ws-v2.ws150-food .ws151-status:not(.ws151-status-ok){background:var(--p-card);color:var(--p-ink)}
.ws.ws-v2.ws150-food .ws150-dish,.ws.ws-v2.ws150-food .ws150-category{color:var(--p-ink)}
/* Location/language strip has palette-specific background, not stale Terracota. */
body:has(.ws.ws-v2) .ws-chrome.ws-premium-chrome{background:var(--ws162-background)!important;color:var(--p-ink)!important}
body:has(.ws.ws-v2) .ws-chrome.ws-premium-chrome .ws-utility{background:var(--ws162-background);color:var(--p-ink)}
body:has(.ws.ws-v2) .ws-chrome.ws-premium-chrome .ws-utility :is(button,.ws-utility-preview-location,.ws-utility-preview-language){background:color-mix(in srgb,var(--ws162-background) 88%,var(--p-card) 12%)!important;color:var(--p-ink)!important;border-color:color-mix(in srgb,var(--p-ink) 22%,transparent)!important}
body:has(.ws.ws-v2) .ws-chrome.ws-premium-chrome :is(.ws-topline,.ws-nav-inner){color:var(--p-ink)}
@media(max-width:700px){.ws162-grid .ws162-color-control{height:29px}.ws162-grid .ws162-color-control input[type=color]{height:29px}}
