﻿/* ==========================================================================
   AGENCY SHOWROOM - NOMINEES LISTING LAYOUT (WHITE THEME)
   Design tokens, header, filter bar, 12-col card grid, hover overlay,
   Hardware Lab, Brand Studio drawer and spotlight. Inter Tight only.
   ========================================================================== */

:root {
  --font-1: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-medium: 500;
  --font-bold: 600;
  --color-primary: #222;
  --color-white: #fff;
  --text-muted: #8a8a8a;
  --text-size-small: 11px;
  --text-size-primary: 14px;
  --bg-primary: #f8f8f8;
  --bg-white: #fff;
  --border-gray: #ededed;
  --rounded-small: 4px;
  --rounded-normal: 8px;
  --rounded-large: 1rem;
  --header-height: 71px;
  --gutter: 20px;
  --pad-inner: 52px;
  --nf-height: 54px;
  --nf-container-pad: 6px;
  --nf-bg-1: #ededed;
  --nf-bg-2: #f8f8f8;
  --nf-bg-3: #fff;
  --nf-bg-count: #FF9667;
  --button-height: 48px;
  --button-pad: 24px;
  --accent: #FF9667;
}
@media (max-width: 1024px) { :root { --pad-inner: 40px; } }
@media (max-width: 768px)  { :root { --pad-inner: 24px; } }
@media (max-width: 576px)  { :root { --pad-inner: 16px; --rounded-large: 8px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-size-primary);
  line-height: 1.4;
  color: var(--color-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
body.is-lab { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: var(--font-medium); }
svg { display: block; }
[hidden] { display: none !important; }

.inner { padding-inline: var(--pad-inner); max-width: 1920px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- HEADER ---------- */
#header { position: sticky; top: 0; z-index: 30; background: var(--bg-primary); }
.header-main__container {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: var(--header-height); padding-inline: 0;
  white-space: nowrap; flex-wrap: nowrap;
}
.header-main__logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: var(--font-bold); letter-spacing: -0.02em; flex-shrink: 0; }
.header-main__logo i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary); }
.nav-header-main { display: flex; align-items: center; margin-left: clamp(16px, 3vw, 40px); }
.nav-header-main__list { display: flex; align-items: center; gap: 4px; }
.nav-header-main__link {
  display: flex; align-items: center; height: 42px; padding-inline: 14px;
  font-size: 15px; font-weight: var(--font-medium); border-radius: var(--rounded-normal);
  transition: background .3s;
}
.nav-header-main__link { opacity: .6; }
.nav-header-main__link:hover, .nav-header-main__link.is-active { opacity: 1; }
.header-main__right { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-main__ico {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--rounded-normal); transition: background .3s;
}
.header-main__ico:hover { background: var(--nf-bg-1); }
.header-main__ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-main__ico.is-muted { opacity: .45; }
.header-main__hamburger { display: none; }

@media (max-width: 900px) {
  .header-main__container { gap: 4px; }
  .header-main__hamburger { display: flex; order: 3; }
  .nav-header-main {
    display: none; position: absolute; top: 100%; left: calc(var(--pad-inner) * -1); right: calc(var(--pad-inner) * -1);
    margin: 0; padding: 8px var(--pad-inner) 20px; background: var(--bg-primary); border-bottom: 1px solid var(--border-gray);
  }
  .nav-header-main.is-open { display: block; }
  .nav-header-main__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-header-main__link { height: 52px; padding-inline: 0; font-size: 22px; border-radius: 0; border-bottom: 1px solid var(--border-gray); }
}

/* ---------- FILTER BAR ---------- */
.l-filters { padding-top: 10px; }
.nav-filters { position: relative; z-index: 1; margin-top: 10px; margin-bottom: clamp(20px, 3vw, 40px); }
.nav-filters:has(.is-open) { z-index: 3; }
.nav-filters__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0); opacity: 0; visibility: hidden; transition: all .3s; z-index: 3; }
.nav-filters:has(.is-open) .nav-filters__overlay { opacity: 1; visibility: visible; }
.nav-filters__container {
  position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  min-height: var(--nf-height); padding: var(--nf-container-pad);
  background: var(--nf-bg-1); border-radius: var(--rounded-normal); z-index: 4;
}
.nav-filters__list { display: flex; gap: 6px; flex-wrap: wrap; font-size: .95rem; font-weight: var(--font-medium); }
.nav-filters__list > li { position: relative; min-width: 0; }
.nav-filters__item {
  display: flex; align-items: center; min-width: 48px; max-width: 220px; height: 42px; padding-inline: 24px;
  background: var(--nf-bg-2); border-radius: var(--rounded-normal); cursor: pointer; transition: all .3s; white-space: nowrap;
}
.nav-filters__item:hover { background: var(--nf-bg-3); }
.nav-filters__item span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.nav-filters__item.is-set { background: var(--nf-bg-3); }
.nav-filters__arrow { margin-left: 8px; width: 10px; height: 10px; flex-shrink: 0; transition: transform .3s; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-filters__item.is-open .nav-filters__arrow { transform: rotate(180deg); }
.nav-filters__dropdown {
  position: absolute; top: calc(100% + 12px); left: calc(var(--nf-container-pad) * -1); width: 280px;
  max-height: 0; padding: 8px 8px 0; background: var(--nf-bg-2); border-radius: var(--rounded-normal);
  box-shadow: 0 0 6px rgba(0,0,0,.2); opacity: 0; visibility: hidden; overflow: hidden; transition: all .4s; z-index: 2;
}
.nav-filters__item.is-open + .nav-filters__dropdown { max-height: 500px; opacity: 1; visibility: visible; }
.nav-filters__sublist { max-height: 326px; margin-bottom: 8px; overflow-y: auto; }
.nav-filters__subitem {
  position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px;
  padding-inline: 30px 8px; border-radius: var(--rounded-normal); transition: all .3s; text-align: left;
}
.nav-filters__subitem:hover { background: var(--nf-bg-1); }
.nav-filters__subitem::before { content: ""; position: absolute; left: 10px; width: 12px; height: 12px; border: 1px solid #a7a7a7; border-radius: 50%; }
.nav-filters__subitem::after { content: ""; position: absolute; left: 12px; width: 8px; height: 8px; background: currentColor; border-radius: 50%; opacity: 0; transition: all .3s; }
.nav-filters__subitem.is-active::after, .nav-filters__subitem:hover::after { opacity: 1; }
.nav-filters__subcount { color: var(--text-muted); font-size: 12px; }
.nav-filters__right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-filters__total {
  display: flex; align-items: center; gap: 10px; height: 42px; padding-inline: 12px 24px;
  background: var(--nf-bg-2); border-radius: var(--rounded-normal); font-size: .95rem; font-weight: var(--font-medium);
}
.nav-filters__count {
  display: flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding-inline: 4px;
  background: var(--nf-bg-count); border-radius: var(--rounded-normal); font-size: var(--text-size-small); color: #fff; font-weight: var(--font-bold);
}
.nav-filters__reset {
  height: 42px; padding-inline: 24px; border-radius: var(--rounded-normal); font-size: .95rem; font-weight: var(--font-medium);
  background: var(--nf-bg-2); transition: all .3s;
}
.nav-filters__reset:hover { background: var(--nf-bg-3); }
.nav-filters__reset[hidden] { display: none; }

@media (max-width: 1100px) { .nav-filters__item { padding-inline: 12px; max-width: 100%; } }
@media (max-width: 1000px) {
  .nav-filters__left, .nav-filters__right { width: 100%; }
  .nav-filters__list { flex-wrap: nowrap; }
  .nav-filters__list > li { flex: 1 1 0; }
  body:has(.nav-filters__item.is-open) #header { z-index: 0; }
  .nav-filters__item { max-width: none; width: 100%; padding-inline: 16px; justify-content: space-between; }
  .nav-filters__right { justify-content: space-between; }
  .nav-filters__total { flex: 1; }
  .nav-filters__dropdown { display: none; }
  .nav-filters__item.is-open + .nav-filters__dropdown {
    display: block; position: fixed; top: 16px; left: 16px; width: calc(100% - 32px); max-height: calc(100vh - 32px); overflow-y: auto;
  }
  .nav-filters__overlay { background: rgba(0,0,0,.3); }
  .nav-filters:has(.is-open) .nav-filters__container { background: transparent; pointer-events: none; }
  .nav-filters:has(.is-open) .nav-filters__item { opacity: 0; }
  .nav-filters:has(.is-open) .nav-filters__dropdown { pointer-events: all; }
}

/* ---------- GRID ---------- */
.grid-elements { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 28px; padding-bottom: 80px; }
.grid-elements > li { min-width: 0; }
.col-3 { grid-column: span 4; }
@media (min-width: 1700px) { .col-3 { grid-column: span 3; } }
@media (max-width: 900px)  { .col-3 { grid-column: span 6; } }
@media (max-width: 576px)  { .col-3 { grid-column: span 12; } .grid-elements { row-gap: 24px; } }

.card-site { font-size: 15px; }
.figure-rollover { margin: 0; position: relative; display: block; border-radius: var(--rounded-normal); overflow: hidden; background: var(--nf-bg-1); transition: all .3s; cursor: pointer; }
.figure-rollover__file { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.figure-rollover__hover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 1.6em 1.6em 1.5em; color: #fff; font-size: 15px; visibility: hidden; opacity: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%), rgba(0,0,0,.15);
  transition: all .3s; pointer-events: none;
}
.figure-rollover:hover .figure-rollover__hover, .figure-rollover:focus-within .figure-rollover__hover { opacity: 1; visibility: visible; }
.figure-rollover__left { min-width: 0; text-align: left; line-height: 120%; }
.figure-rollover__row { margin-bottom: .2em; }
.figure-rollover small { display: block; font-size: .666em; font-weight: var(--font-medium); text-transform: uppercase; letter-spacing: .06em; }
.figure-rollover h3 { font-size: 1em; font-weight: var(--font-medium); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.figure-rollover__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.figure-rollover__right { display: flex; align-items: flex-end; flex-shrink: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--button-height); padding-inline: var(--button-pad);
  border-radius: var(--rounded-normal); background: var(--bg-white); color: var(--color-primary);
  font-size: 15px; font-weight: var(--font-medium); white-space: nowrap; pointer-events: auto; transition: all .3s;
}
.button:hover { background: var(--color-primary); color: #fff; }
.button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button--outline { background: var(--bg-white); border: 1px solid var(--border-gray); height: 42px; padding-inline: 18px; }
.button--outline:hover { background: var(--color-primary); border-color: var(--color-primary); }
.button--dark { background: var(--color-primary); color: #fff; }
.button--dark:hover { background: #000; }
.button--round { width: 44px; height: 44px; padding: 0; border-radius: 50%; pointer-events: auto; }
.card-site__info { display: flex; flex-wrap: nowrap; align-items: center; padding-top: 16px; gap: 12px; }
.card-site__left { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.card-site__mark { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.card-site__title { flex: 1; min-width: 0; font-size: 15px; font-weight: var(--font-medium); line-height: 150%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-site__right { display: flex; gap: 6px; flex-shrink: 0; }
.badge {
  display: inline-flex; align-items: center; height: 22px; padding-inline: 8px; border-radius: var(--rounded-small);
  background: var(--nf-bg-1); font-size: 12px; font-weight: var(--font-medium); line-height: 1; white-space: nowrap;
}
.badge--accent { background: var(--nf-bg-count); color: #fff; }
@media (hover: none) {
  .figure-rollover__hover { opacity: 1; visibility: visible; background: none; align-items: flex-start; justify-content: flex-end; padding: 10px; }
  .figure-rollover__left, .figure-rollover__center { display: none; }
  .figure-rollover__right { align-items: flex-start; }
}
@media (max-width: 576px) { .badge--cat { display: none; } }

.empty-state { grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { margin: 0 0 20px; color: var(--text-muted); }

/* ---------- HARDWARE LAB ---------- */
#viewHardware { display: none; height: calc(100vh - var(--header-height)); background: var(--bg-primary); }
.lab-catalog-drawer { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-white); border-right: 1px solid var(--border-gray); }
.lab-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; font-weight: var(--font-bold); font-size: 15px; }
.lab-drawer-header span:last-child { color: var(--text-muted); font-weight: var(--font-medium); font-size: 12px; }
.lab-drawer-search { padding: 4px 12px 12px; }
.field {
  width: 100%; height: 42px; padding-inline: 14px; background: var(--nf-bg-2); border: 1px solid transparent;
  border-radius: var(--rounded-normal); outline: none; transition: all .3s;
}
.field:hover { background: var(--nf-bg-3); border-color: var(--border-gray); }
.field:focus { background: var(--nf-bg-3); border-color: var(--color-primary); }
.lab-template-list { flex: 1; overflow-y: auto; padding: 0 8px 12px; }
.lab-tpl-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--rounded-normal); text-align: left; transition: background .3s; }
.lab-tpl-item:hover { background: var(--nf-bg-2); }
.lab-tpl-item.active { background: var(--nf-bg-1); }
.lab-tpl-item .card-site__mark { width: 16px; height: 16px; }
.lab-tpl-title { font-weight: var(--font-medium); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-tpl-sub { color: var(--text-muted); font-size: 12px; }
.lab-tpl-text { min-width: 0; }
.lab-main-stage { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lab-stage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; }
.seg { display: inline-flex; gap: 6px; padding: var(--nf-container-pad); background: var(--nf-bg-1); border-radius: var(--rounded-normal); flex-wrap: nowrap; }
.seg button { height: 36px; padding-inline: 16px; border-radius: var(--rounded-normal); background: var(--nf-bg-2); font-size: 14px; font-weight: var(--font-medium); white-space: nowrap; transition: all .3s; }
.seg button:hover { background: var(--nf-bg-3); }
.seg button.active { background: var(--color-primary); color: #fff; }
.toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wl-banner { display: none; align-items: center; gap: 8px; height: 36px; padding-inline: 14px; background: var(--nf-bg-count); color: #fff; border-radius: var(--rounded-normal); font-size: 13px; font-weight: var(--font-medium); }
.wl-banner button { text-decoration: underline; font-size: 13px; }
.lab-stack-bar { display: flex; align-items: center; gap: 16px; padding: 0 16px 10px; flex-wrap: wrap; }
.lab-stack-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lab-stack-tab { display: inline-flex; gap: 6px; height: 32px; align-items: center; padding-inline: 14px; border-radius: var(--rounded-normal); background: var(--nf-bg-1); font-size: 13px; font-weight: var(--font-medium); transition: all .3s; }
.lab-stack-tab:hover { background: var(--border-gray); }
.lab-stack-tab.active { background: var(--color-primary); color: #fff; }
.lab-stack-info { color: var(--text-muted); font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stage-canvas-floor { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 24px 32px; overflow: auto; }
.hardware-chassis {
  position: relative; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 8px solid var(--color-primary); border-radius: 16px; transition: all .4s;
}
.chassis-desktop { width: 1280px; max-width: 100%; height: min(760px, 100%); }
.chassis-tablet { width: 768px; max-width: 100%; height: min(820px, 100%); border-radius: 28px; border-width: 12px; }
.chassis-mobile { width: 390px; max-width: 100%; height: min(800px, 100%); border-radius: 44px; border-width: 10px; }
.chassis-full { width: 100%; height: 100%; border-width: 1px; border-radius: var(--rounded-normal); border-color: var(--border-gray); }
.browser-chrome-bar { height: 40px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: var(--nf-bg-2); border-bottom: 1px solid var(--border-gray); }
.chassis-mobile .browser-chrome-bar { display: none; }
.browser-omnibar { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; padding: 0 12px; background: #fff; border-radius: var(--rounded-normal); font-size: 12px; color: var(--text-muted); }
.browser-url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-badge { font-size: 12px; font-weight: var(--font-medium); white-space: nowrap; }
.chassis-viewport { flex: 1; min-height: 0; position: relative; background: #fff; }
.chassis-viewport iframe, .split-frame-wrapper iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.split-stage-container { display: none; width: 100%; max-width: 1560px; height: 100%; gap: 20px; }
.split-stage-container.active { display: flex; }
.split-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: var(--rounded-normal); overflow: hidden; border: 1px solid var(--border-gray); }
.split-pane-header { height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--nf-bg-2); font-size: 13px; font-weight: var(--font-medium); }
.split-frame-wrapper { flex: 1; min-height: 0; }
@media (max-width: 900px) {
  #viewHardware.is-on { flex-direction: column; height: auto; min-height: calc(100vh - var(--header-height)); }
  .lab-catalog-drawer { width: 100%; max-height: 220px; border-right: 0; border-bottom: 1px solid var(--border-gray); }
  .lab-main-stage { min-height: 700px; }
  .seg { overflow-x: auto; max-width: 100%; }
  .split-stage-container.active { flex-direction: column; height: auto; }
  .split-pane { height: 560px; flex: none; }
  body.is-lab { overflow: auto; }
}

/* ---------- DRAWER ---------- */
.studio-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: all .3s; z-index: 40; }
.studio-drawer-overlay.open { opacity: 1; visibility: visible; }
.studio-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; display: flex; flex-direction: column;
  background: #fff; transform: translateX(100%); transition: transform .4s; z-index: 41;
}
.studio-drawer.open { transform: none; }
.studio-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--border-gray); font-size: 18px; font-weight: var(--font-bold); }
.studio-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.studio-drawer-body p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.studio-drawer-body p strong { color: var(--color-primary); }
.studio-form-section { display: flex; flex-direction: column; gap: 6px; }
.studio-section-label { font-size: 12px; font-weight: var(--font-medium); text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.studio-input { width: 100%; height: 42px; padding-inline: 14px; background: var(--nf-bg-2); border: 1px solid transparent; border-radius: var(--rounded-normal); outline: none; transition: all .3s; }
.studio-input:hover { background: #fff; border-color: var(--border-gray); }
.studio-input:focus { background: #fff; border-color: var(--color-primary); }
.studio-row { display: flex; gap: 8px; align-items: center; }
.studio-color { width: 42px; height: 42px; padding: 2px; border-radius: var(--rounded-normal); background: var(--nf-bg-2); border: 0; cursor: pointer; }
.studio-file { font-size: 12px; color: var(--text-muted); }
#extractorStatus { font-size: 12px; color: var(--text-muted); }
.preset-swatch-list { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-chip-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding-inline: 12px; background: var(--nf-bg-2); border-radius: var(--rounded-normal); font-size: 13px; font-weight: var(--font-medium); transition: all .3s; }
.preset-chip-btn:hover { background: var(--nf-bg-1); }
.preset-color-sample { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.studio-qr-card { display: flex; gap: 16px; align-items: center; padding: 12px; background: var(--nf-bg-2); border-radius: var(--rounded-normal); }
#studioQrBox { width: 110px; height: 110px; flex-shrink: 0; }
#studioQrBox svg { width: 100%; height: 100%; }
.studio-qr-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.studio-qr-card span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.studio-url { padding: 10px 12px; background: var(--nf-bg-2); border-radius: var(--rounded-normal); font-size: 12px; word-break: break-all; }
.studio-drawer-footer { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--border-gray); }
.studio-drawer-footer .row { display: flex; gap: 6px; flex-wrap: wrap; }
.studio-drawer-footer .row > * { flex: 1; justify-content: center; }

/* ---------- SPOTLIGHT ---------- */
.spotlight-backdrop { position: fixed; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 0; background: rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: all .3s; z-index: 50; }
.spotlight-backdrop.open { opacity: 1; visibility: visible; }
.spotlight-window { width: 640px; max-width: 100%; max-height: 70vh; display: flex; flex-direction: column; background: #fff; border-radius: var(--rounded-normal); overflow: hidden; box-shadow: 0 0 6px rgba(0,0,0,.2); }
.spotlight-input-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--border-gray); }
.spotlight-input-row svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }
.spotlight-input { flex: 1; height: 44px; border: 0; outline: none; background: none; font-size: 18px; }
.spotlight-results-scroll { overflow-y: auto; padding: 8px; }
.spotlight-group { padding: 8px 12px 4px; font-size: 11px; font-weight: var(--font-medium); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.spotlight-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--rounded-normal); cursor: pointer; }
.spotlight-result-item.selected, .spotlight-result-item:hover { background: var(--nf-bg-1); }
.spotlight-result-item .card-site__mark { width: 16px; height: 16px; }
.spotlight-result-body { flex: 1; min-width: 0; }
.spotlight-result-title { font-size: 14px; font-weight: var(--font-medium); }
.spotlight-result-sub { font-size: 12px; color: var(--text-muted); }
.spotlight-hint { font-size: 12px; color: var(--text-muted); }
.spotlight-empty { padding: 32px; text-align: center; color: var(--text-muted); font-size: 13px; }
.spotlight-footer { padding: 10px 20px; border-top: 1px solid var(--border-gray); font-size: 12px; color: var(--text-muted); }




@media (max-width: 576px) {
  .nav-filters__item { padding-inline: 10px; font-size: 14px; }
  .nav-filters__arrow { margin-left: 4px; }
  .nav-filters__list { gap: 4px; }
}
