:root {
  --green: #1f7a3a;
  --green-dark: #145c2c;
  --leaf: #6fb43a;
  --gold: #c9a227;
  --gold-2: #e8c547;
  --blue: #1a8ad4;
  --blue-dark: #0d5f9a;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #1c3324;
  --muted: #5d6e62;
  --line: #e4eadc;
  --shadow: 0 12px 32px rgba(20, 60, 30, 0.10);
  --emboss:
    inset 0 2px 1px rgba(255, 255, 255, 0.55),
    inset 0 -3px 4px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(20, 60, 30, 0.16);
  --emboss-press:
    inset 0 3px 6px rgba(0, 0, 0, 0.28),
    inset 0 -1px 1px rgba(255, 255, 255, 0.2);
  --emboss-side:
    inset 0 2px 2px rgba(255, 255, 255, 0.22),
    inset 0 -3px 5px rgba(0, 0, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.32);
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --nav-bg: rgba(247, 244, 236, 0.94);
  --input-bg: #ffffff;
  --media-bg: #dce8d6;
  --chat-head: #f3f8f1;
  --bubble-bot: #eef7ec;
  --bubble-user: #e8f3fb;
  --flash-ok: #e5f6e2;
  --flash-err: #fde8e4;
  --on-btn: #ffffff;
  --on-btn-dashboard: var(--on-btn);
  --on-btn-front: var(--on-btn);
  --btn-surface-line: rgba(28, 51, 36, 0.11);
  --sidebar-menu-text: #ffffff;
  --sidebar-header-text: #8aa58c;
  --footer-bg: #14351f;
  --footer-fg: #d7e6d8;
  --caustic: rgba(80, 170, 190, 0.10);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --green: #5ee08a;
  --green-dark: #9cf0b4;
  --leaf: #8be06a;
  --gold: #e4c36a;
  --gold-2: #f2dd8a;
  --blue: #5cbcff;
  --blue-dark: #8ad0ff;
  --cream: #0b1410;
  --paper: #15241c;
  --ink: #f1faf4;
  --muted: #b4cebe;
  --line: #2c4a38;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
  --emboss:
    inset 0 2px 1px rgba(255, 255, 255, 0.22),
    inset 0 -3px 5px rgba(0, 0, 0, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.4);
  --emboss-press:
    inset 0 4px 8px rgba(0, 0, 0, 0.5),
    inset 0 -1px 1px rgba(255, 255, 255, 0.12);
  --emboss-side:
    inset 0 2px 2px rgba(255, 255, 255, 0.2),
    inset 0 -3px 5px rgba(0, 0, 0, 0.55),
    0 8px 16px rgba(0, 0, 0, 0.4);
  --nav-bg: rgba(11, 20, 16, 0.92);
  --input-bg: #101c16;
  --media-bg: #1a2c22;
  --chat-head: #1a3024;
  --bubble-bot: #1c3326;
  --bubble-user: #163044;
  --flash-ok: #163820;
  --flash-err: #3a1a16;
  --on-btn: #062010;
  --on-btn-dashboard: var(--on-btn);
  --on-btn-front: var(--on-btn);
  --btn-surface-line: rgba(255, 255, 255, 0.14);
  --footer-bg: #07110c;
  --footer-fg: #d5ead8;
  --caustic: rgba(90, 210, 230, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-list { margin: 0; padding-left: 1.2em; line-height: 1.55; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.koi-price-table th,
.koi-price-table td { white-space: nowrap; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

.pwa-install-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(560px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 36, 28, 0.96), rgba(20, 53, 31, 0.98));
  color: #eef6ee;
  border: 1px solid rgba(111, 180, 58, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.pwa-install-bar[hidden] { display: none !important; }
.pwa-install-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.pwa-install-copy { flex: 1; min-width: 0; }
.pwa-install-copy strong { display: block; font-size: 14px; margin-bottom: 2px; }
.pwa-install-copy p { margin: 0; font-size: 12px; color: #b4cebe; line-height: 1.35; }
.pwa-install-bar .btn { flex-shrink: 0; padding: 8px 12px; font-size: 13px; }
@media (max-width: 560px) {
  .pwa-install-bar { flex-wrap: wrap; }
  .pwa-install-bar .btn { flex: 1; }
}
html { color-scheme: light; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
}
body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 18% 8%, var(--caustic), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 92%, rgba(40, 140, 90, 0.08), transparent 50%);
  animation: water-drift 18s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    url("../img/icons/tractor.png"),
    url("../img/icons/barn.png"),
    url("../img/icons/wheat.png"),
    url("../img/icons/cow.png"),
    url("../img/icons/koi.png");
  background-repeat: no-repeat;
  background-size: 36px 36px, 34px 34px, 32px 32px, 34px 34px, 34px 34px;
  background-position: 6% 16%, 78% 28%, 18% 68%, 88% 78%, 52% 88%;
}
.nav, .admin-shell, .site-footer, .section, header, footer, .flash, .channel-dock, .ambience-toggle, .chat-toggle, .chat-panel {
  position: relative;
  z-index: 1;
}
@keyframes water-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.4%, 0) scale(1.05); }
}
a { color: var(--green); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

#ripple-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
}

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 22px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { position: relative; z-index: 1; flex: 0 0 auto; }
.brand img,
.footer-logo {
  background: #fff;
  border-radius: 50px;
  padding: 6px 14px;
  box-shadow: none;
  object-fit: contain;
}
.brand img { height: 55px; width: auto; max-width: 288px; }
.nav nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
.nav nav a { color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-end { display: flex; align-items: center; margin-left: auto; position: relative; z-index: 1; gap: 12px; font-size: 14px; flex: 0 0 auto; }
.nav-end a { color: var(--ink); }
.nav-tools-desktop { display: flex; align-items: center; gap: 12px; }
.nav-tools-mobile { display: none; }
.currency-wrap { display: inline-flex; position: relative; align-items: center; }
.currency-select {
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  border-radius: 50px;
  padding: 7px 26px 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--emboss);
  appearance: none;
  -webkit-appearance: none;
}
.currency-caret {
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  display: flex;
}
.currency-select:active { box-shadow: var(--emboss-press); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.nav-toggle {
  display: none;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 12px;
  line-height: 1;
  border-radius: 50px;
  box-shadow: var(--emboss);
}
.nav-toggle:active { box-shadow: var(--emboss-press); }
.theme-toggle {
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,.08)), var(--paper);
  color: var(--ink);
  border-radius: 50px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--emboss);
}
.theme-toggle:active { box-shadow: var(--emboss-press); }
.badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--green); color: var(--on-btn); font-size: 11px; margin-left: 4px;
}
html[data-theme="dark"] .nav .brand img {
  background: #fff;
}
.nav nav a:hover { color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50px; padding: 11px 20px; cursor: pointer;
  font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s, filter .15s;
  box-shadow: var(--emboss);
}
html[data-theme="dark"] .btn { box-shadow: var(--emboss); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); box-shadow: var(--emboss-press); }
.btn-green { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), var(--green); color: var(--on-btn-front, var(--on-btn)); }
.admin-shell .btn-green { color: var(--on-btn-dashboard, var(--on-btn)); }
.btn-green:hover { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,.2)), var(--green-dark); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold, #3d2c05); }
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  border: 1px solid var(--btn-surface-line);
}
a.btn.btn-ghost, button.btn.btn-ghost { color: var(--ink); }
.btn-koi, .btn-teal { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), var(--blue); color: #fff; }

.hero-video {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-video video, .hero-video .hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 40, 20, .35), rgba(12, 40, 20, .62));
}
.hero-copy {
  position: relative; z-index: 1;
  text-align: center;
  padding: 48px 24px;
  max-width: 820px;
}
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  margin: 8px 0 16px;
}
.hero-copy h1 em { font-style: italic; color: var(--gold-2); }
.hero-copy p { font-size: 18px; color: #eef6ee; max-width: 52ch; margin: 0 auto 24px; }
.hero-copy .hero-lede.copy-multiline {
  text-align: center;
  max-width: 42ch;
}
.copy-multiline {
  text-align: center;
  line-height: 1.55;
}
.section-head .copy-multiline.section-lede {
  text-align: center;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.section .lede.copy-multiline {
  text-align: center;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.contact-page-lede.copy-multiline {
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-search-wrap { margin-top: 22px; width: min(680px, 100%); margin-left: auto; margin-right: auto; }
.hero-search-wrap .fs-search {
  background: rgba(8, 20, 14, .45);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}
.hero-search-wrap .fs-search input,
.hero-search-wrap .fs-search select { color: #fff; background: transparent; border-color: rgba(255,255,255,.22); }
.hero-search-wrap .fs-search input::placeholder { color: rgba(255,255,255,.7); }

.fs-search {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--emboss);
  position: relative;
}
.fs-search select {
  flex: 0 0 148px;
  border-radius: 50px;
  padding: 10px 32px 10px 14px;
  margin: 0;
}
.fs-search-field { flex: 1; position: relative; min-width: 0; }
.fs-search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 12px;
  border-radius: 50px;
}
.fs-search .btn { border-radius: 50px; flex: 0 0 auto; }
.fs-search-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  z-index: 80;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-height: 320px;
  overflow: auto;
  text-align: left;
}
.fs-search-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; color: var(--ink);
}
.fs-search-item:hover { background: var(--cream); }
.fs-search-item img { width: 44px; height: 32px; object-fit: cover; border-radius: 8px; }
.fs-search-item strong, .fs-search-item em { display: block; }
.fs-search-item em { font-style: normal; font-size: 12px; color: var(--muted); }
.fs-search-empty { padding: 12px; color: var(--muted); font-size: 13px; }
.admin-search-wrap, .dash-search-wrap { flex: 1; min-width: 180px; max-width: 640px; }
.dash-search-wrap { margin-top: 18px; max-width: 720px; }
.eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; color: var(--leaf); font-weight: 600; }
.hero-copy .eyebrow { color: var(--gold-2); }

.section { width: min(1180px, calc(100% - 32px)); margin: 64px auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0; font-weight: 600;
}
.muted { color: var(--muted); }
.lede { font-size: 17px; color: var(--muted); max-width: 52ch; }

.product-grid, .shade-grid, .stat-grid, .admin-grid { display: grid; gap: 22px; }
.contact-split {
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin-top: 24px;
}
.contact-map-wrap { margin: 12px 0 16px; }
.contact-map {
  height: 280px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--media-bg);
  z-index: 0;
}
.contact-coord-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .contact-coord-row { grid-template-columns: 1fr; }
}
.contact-map-public .contact-map { height: 240px; }
.contact-map-meta { font-size: 12px; margin: 8px 0 0; }
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-card-head h3 { margin: 0; }
.contact-card-head .kpi-favicon { margin: 0; flex-shrink: 0; }
.contact-split > .glass,
.contact-info-card {
  position: relative;
  overflow: hidden;
}
.contact-split > .glass::before,
.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #ff6b9a, #ffd166, #7dffb3, #5ad4ff, #c08bff, #ff6b9a);
  background-size: 220% 100%;
  animation: rainbow-slide 8s linear infinite;
  z-index: 3;
  pointer-events: none;
  opacity: .88;
}
.contact-links a { font-weight: 600; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.shade-grid { grid-template-columns: repeat(4, 1fr); }
.stat-grid { grid-template-columns: repeat(4, 1fr); }

.product-card, .shade-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  position: relative;
}
.product-card::before,
.shade-card::before,
.auction-card::before,
.quote-card::before,
.modal-popup::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #ff6b9a, #ffd166, #7dffb3, #5ad4ff, #c08bff, #ff6b9a);
  background-size: 220% 100%;
  animation: rainbow-slide 8s linear infinite;
  z-index: 3;
  pointer-events: none;
  opacity: .88;
}
@keyframes rainbow-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
.product-card:hover, .shade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 60, 30, 0.14);
}
.card-media, .shade-card img {
  display: block; position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--media-bg);
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.28) 0%, transparent 38%, rgba(90,190,210,.12) 100%);
}
.card-media img, .shade-card img, .card-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.card-media video {
  position: absolute; inset: 0;
}
.product-card:hover .card-media img, .product-card:hover .card-media video, .shade-card:hover img { transform: scale(1.06); }
.card-body { padding: 16px 16px 18px; display: grid; gap: 6px; }
.card-body h3, .shade-card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.card-body h3 a, .shade-card h3 { color: var(--ink); }
.shade { color: var(--muted); font-size: 14px; margin: 0; }
.price { color: var(--green-dark); font-weight: 700; font-size: 18px; margin: 4px 0 0; }
.price s { color: var(--muted); font-size: 14px; margin-left: 8px; font-weight: 500; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.price-row .price { margin: 0; flex: 1; min-width: 0; }
.currency-on-card { margin-left: auto; flex: 0 0 auto; }
.currency-on-card .currency-select {
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: .04em;
  border: 1px solid var(--btn-surface-line);
  background: linear-gradient(180deg, #fff, #f4f1e8);
  box-shadow: none;
  color: var(--ink);
}
[data-theme="dark"] .currency-on-card .currency-select {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.18));
  border-color: var(--btn-surface-line);
}
.meta { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: var(--on-btn);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.tag-gold { background: var(--gold); color: #3d2c05; }
.shade-card { padding: 0; }
.shade-card .card-body { padding: 14px; }
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 99px;
  border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; align-items: center; }
.filters a, .filters button {
  border-radius: 50px; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--muted); cursor: pointer;
  box-shadow: var(--emboss);
}
.filters a:active, .filters button:active { box-shadow: var(--emboss-press); }
.filters a.active, .filters button.active {
  color: var(--on-btn);
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), var(--green);
  border-color: rgba(255,255,255,.28);
}

.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.viewer {
  border-radius: 18px; overflow: hidden; background: var(--media-bg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.viewer img, .viewer video { width: 100%; height: 520px; object-fit: cover; display: block; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.spec { padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.spec b { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  background: var(--input-bg); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 12px 14px; outline: none;
}
.form input, .form select, .form textarea { width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }

.glass, .panel {
  background: var(--paper);
  background-image: linear-gradient(145deg, rgba(255,255,255,.14), transparent 42%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.auth-wrap { width: min(460px, calc(100% - 32px)); margin: 80px auto; padding: 32px; }
.auth-oauth { margin: 16px 0 0; }
.auth-oauth .btn-google { width: 100%; justify-content: center; }
.auth-links { margin-top: 16px; }
.form .password-wrap { width: 100%; }
.form .password-wrap input { width: auto; min-width: 0; }

.password-wrap {
  display: flex; gap: 8px; align-items: center;
}
.password-wrap input { flex: 1; }
.show-pass {
  border: 1px solid var(--btn-surface-line);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  border-radius: 50px; padding: 10px 14px; cursor: pointer; font-size: 12px; font-weight: 700;
  box-shadow: var(--emboss);
}
.show-pass:active { box-shadow: var(--emboss-press); }
.auth-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

.channel-dock {
  position: fixed;
  right: 18px;
  bottom: 132px;
  z-index: 58;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.channel-btn {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 50px;
  color: #fff !important; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--emboss);
}
.channel-btn:active { box-shadow: var(--emboss-press); }
.channel-btn.wa { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), #1f9e4b; }
.channel-btn.tg { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), #229ed9; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap, .admin-main { overflow-x: auto; }
.admin-main > .table,
.admin-main > table.table,
.admin-main .farm-section > .table,
.admin-main .farm-section > table.table {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.admin-main .glass > .table,
.admin-main .surface > .table {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; color: inherit; }
.table th { color: inherit; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.surface {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.tick-select {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.tick-select input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.tick-select span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--input-bg);
  display: grid;
  place-items: center;
  transition: border-color .15s, background .15s;
}
.tick-select input:checked + span {
  background: var(--green);
  border-color: var(--green);
  box-shadow: var(--emboss);
}
.tick-select input:checked + span::after {
  content: "";
  width: 6px;
  height: 10px;
  margin-bottom: 2px;
  border: solid var(--on-btn);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.table tr:has(.tick-select input:checked) td {
  background: rgba(31, 122, 58, 0.07);
}
.hero-admin-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--media-bg);
}

.timeline { border-left: 1px dashed var(--line); margin-left: 12px; padding-left: 22px; }
.timeline li { list-style: none; margin: 0 0 18px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--green);
}
.timeline li.done::before { background: var(--gold); }
.timeline li.future::before { background: var(--line); }

.auction-card {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 16px; align-items: center;
  padding: 14px; border-radius: 16px; margin-bottom: 14px;
  background: var(--paper); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.auction-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.auction-card > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 140px; }
.countdown { font-family: var(--display); font-size: 20px; color: var(--green); }

.collection-hero {
  min-height: 380px; border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 28px;
}
.collection-hero img, .collection-hero video { width: 100%; height: 380px; object-fit: cover; display: block; }
.collection-hero .overlay {
  position: absolute; inset: auto 0 0; padding: 28px;
  background: linear-gradient(transparent, rgba(14, 40, 22, .78));
  color: #fff;
  z-index: 1;
}
.collection-hero .overlay .eyebrow { color: var(--gold-2); }
.collection-hero h2 { color: #fff; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  margin-top: 80px;
  padding: 48px 8vw 28px;
}
.footer-logo { height: 77px; width: auto; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px; max-width: 1180px; margin: 0 auto; }
.footer-contact a { display: block; margin: 8px 0; color: #c5d7c6; }
.footer-grid a, .footer-grid p { display: block; color: #c5d7c6; margin: 8px 0; }
.footer-grid h4 { color: var(--gold-2); margin: 0 0 8px; }
.legal { color: #8aa58c; font-size: 12px; text-align: center; margin-top: 28px; }

.ambience-toggle {
  position: fixed;
  left: 18px;
  bottom: 70px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--btn-surface-line);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  border-radius: 50px;
  padding: 8px 14px 8px 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  pointer-events: auto;
}
.ambience-toggle:active { transform: translateY(1px); }
.ambience-toggle span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(0,0,0,.04)), var(--paper);
  border: 1px solid var(--btn-surface-line);
  color: var(--green-dark);
  font-size: 16px;
  letter-spacing: -2px;
}
.ambience-toggle.is-off span { color: var(--muted); }
.ambience-toggle em { font-style: normal; color: var(--ink); max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mini-testimonial {
  position: fixed;
  left: 18px;
  bottom: 122px;
  z-index: 54;
  width: min(240px, calc(100vw - 36px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 10px 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s;
}
.mini-testimonial.is-on { opacity: 1; pointer-events: auto; transform: none; }
.mini-testimonial .eyebrow { margin: 0 22px 4px 0; font-size: 10px; display: flex; align-items: center; gap: 6px; }
.mini-testimonial .quote-icon { width: 16px; height: 16px; object-fit: contain; }

.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  font-size: 22px; cursor: pointer; line-height: 1;
  box-shadow: var(--emboss);
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-family: var(--font);
}
.slider-btn[data-slider-prev] { padding-right: 2px; }
.slider-btn[data-slider-next] { padding-left: 2px; }
.slider-btn:active { box-shadow: var(--emboss-press); }
.testimonial-slider { overflow: hidden; }
.testimonial-track {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 14px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.site-stats-nebula--under-testimonials {
  margin-top: 28px;
}
.section-home-social .testimonial-slider + .site-stats-nebula--under-testimonials {
  margin-top: 32px;
}
.site-stats-nebula {
  position: relative;
  isolation: isolate;
  padding: 28px 24px 32px;
  border-radius: 24px;
  overflow: hidden;
  color: #e8f6f2;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(62, 240, 208, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 110%, rgba(124, 107, 255, 0.2), transparent 50%),
    linear-gradient(155deg, #071018 0%, #0f2430 42%, #122a22 100%);
  border: 1px solid rgba(62, 240, 208, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-stats-nebula .nebula-bg {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent, rgba(62, 240, 208, 0.08), transparent, rgba(124, 107, 255, 0.1), transparent);
  animation: nebula-spin 28s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.site-stats-nebula .nebula-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}
@keyframes nebula-spin {
  to { transform: rotate(360deg); }
}
.site-stats-head,
.stats-orbit-grid,
.stats-bars {
  position: relative;
  z-index: 1;
}
.site-stats-head h2 { color: #f4fffb; margin: 6px 0 8px; }
.nebula-eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: #7dffb3;
  text-shadow: 0 0 18px rgba(125, 255, 179, 0.45);
}
.site-stats-nebula .muted { color: #9bb8b0; }
.nebula-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(62, 240, 208, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.stats-orbit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 26px;
}
.stat-orb {
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.1),
    inset 0 -4px 10px rgba(0, 0, 0, 0.45);
}
.stat-orb-accent {
  border-color: rgba(62, 240, 208, 0.35);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.12),
    inset 0 -4px 10px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(62, 240, 208, 0.12);
}
.stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd4c8;
  margin-bottom: 8px;
}
.stat-num {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  color: #f4fffb;
  text-shadow: 0 0 22px rgba(62, 240, 208, 0.35);
}
.stat-sub {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #7a9a92;
}
.stats-bars { display: grid; gap: 14px; }
.stat-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 6px;
  color: #c8e8e0;
}
.stat-bar-val {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #3ef0d0;
}
.stat-bar-track {
  height: 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55);
}
.stat-bar-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #3ef0d0, #7c6bff 55%, #ffd166);
  background-size: 200% 100%;
  animation: stat-bar-shimmer 6s linear infinite;
  box-shadow: 0 0 16px rgba(62, 240, 208, 0.45);
}
@keyframes stat-bar-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.stat-bar-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a8a82;
}
@media (max-width: 900px) {
  .stats-orbit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .stats-orbit-grid { grid-template-columns: 1fr; }
  .site-stats-head { flex-direction: column; gap: 12px; }
}

.quote-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.quote-top { display: flex; align-items: center; gap: 8px; }
.quote-icon { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }
.quote-text { margin: 0; font-size: 15px; line-height: 1.55; flex: 1; word-break: normal; overflow-wrap: anywhere; white-space: normal; }
.quote-when { font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin: 0; }

@media (min-width: 980px) {
  .quote-card { flex-basis: calc(33.333% - 12px); }
}
.mini-quote { margin: 0 0 6px; font-size: 12px; line-height: 1.4; }
.mini-who { margin: 0 0 6px; font-size: 11px; color: var(--muted); }
.mini-link { font-weight: 600; font-size: 12px; }
.mini-close {
  position: absolute; right: 6px; top: 2px; border: 0; background: none;
  font-size: 18px; cursor: pointer; color: var(--muted);
}

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--btn-surface-line);
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.scroll-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:active { transform: translateY(1px); }
.scroll-top.is-on:active { transform: translateY(1px); }

.chatbot { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-toggle {
  border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.chat-toggle img {
  width: 78px; height: 78px; border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(20, 60, 30, 0.14);
  object-fit: cover;
  display: block;
}
.chat-toggle span {
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.06)), var(--paper);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--btn-surface-line);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.chat-panel {
  width: min(380px, calc(100vw - 32px)); height: 460px; border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.chat-panel header {
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line); background: var(--chat-head); position: relative;
}
.chat-panel header img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-panel header span { display: block; font-size: 12px; color: var(--muted); }
.chat-close { position: absolute; right: 10px; top: 10px; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }
.chat-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 90%; padding: 10px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.bubble.bot { background: var(--bubble-bot); border: 1px solid var(--line); }
.bubble.user { align-self: flex-end; background: var(--bubble-user); }
#chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
#chat-form input { flex: 1; }
#chat-form button {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), var(--green);
  color: var(--on-btn);
  padding: 0 14px;
  cursor: pointer;
  box-shadow: var(--emboss);
}
#chat-form button:active { box-shadow: var(--emboss-press); }
.hidden { display: none !important; }

.modal-popup { width: min(640px, 100%); padding: 0; overflow: hidden; position: relative; }
.modal-popup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; }
.modal-popup-media { min-height: 220px; background: var(--media-bg); }
.modal-popup-media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.modal-popup-copy { padding: 24px 28px 28px; }
.modal-popup .close { z-index: 2; color: var(--ink); }
.visit-modal-backdrop .visit-modal { width: min(480px, 100%); padding: 28px; max-height: 90vh; overflow-y: auto; }
.blog-hero { width: 100%; border-radius: var(--radius); margin: 16px 0 24px; max-height: 360px; object-fit: cover; }
.blog-body { line-height: 1.65; }
.legal-page h2 { margin-top: 28px; font-size: 1.15rem; }
@media (max-width: 640px) {
  .modal-popup-grid { grid-template-columns: 1fr; }
  .modal-popup-media { min-height: 180px; }
}
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(18, 40, 24, .55); z-index: 70;
  display: grid; place-items: center; padding: 20px;
}
.modal { width: min(480px, 100%); padding: 28px; border-radius: 20px; position: relative; background: var(--paper); color: var(--ink); }
.modal h2 { font-family: var(--display); margin-top: 0; }
.modal .close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 28px; cursor: pointer; }
.code { font-family: var(--display); font-size: 28px; color: var(--gold); letter-spacing: .12em; }

.flash.toast {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
  z-index: 80; padding: 12px 18px; border-radius: 12px;
}
.flash.success { background: var(--flash-ok); border: 1px solid var(--green); color: var(--ink); }
.flash.error { background: var(--flash-err); border: 1px solid #c23b22; color: var(--ink); }
.impersonate-bar {
  position: sticky;
  top: 0;
  z-index: 95;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  background: linear-gradient(90deg, #ff6b9a, #ffd166, #7dffb3, #5ad4ff);
  color: #1c3324;
  font-weight: 600;
}
.impersonate-bar a { color: #14351f; text-decoration: underline; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: transparent; }
.admin-side {
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.18)), var(--footer-bg);
  box-shadow: var(--emboss-side);
  overflow-y: auto;
  max-height: 100vh;
}
.admin-side .brand img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  padding: 8px 12px;
}
.admin-side a:not(.brand) {
  display: block; padding: 10px 16px; margin-bottom: 8px;
  border-radius: 50px; color: var(--sidebar-menu-text, rgba(255, 255, 255, .94));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--emboss-side);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(0,0,0,.22));
}
.admin-side a.brand {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  border: 0;
  background: none;
  box-shadow: none;
}
.admin-side a:not(.brand).active, .admin-side a:not(.brand):hover {
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.18));
  color: #fff;
}
.admin-side a:not(.brand):active { box-shadow: var(--emboss-press); }
.admin-side .muted { color: #b7d4b8; }
.admin-side .theme-toggle.icon-btn {
  width: 42px;
  margin: 8px 4px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,.28));
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  box-shadow: var(--emboss-side);
}
.admin-main { padding: 28px; color: var(--ink); min-width: 0; }
.admin-main .glass h3,
.admin-main .glass h4,
.admin-main a.glass,
.admin-main a.glass h3,
.admin-main a.glass h4 { color: var(--ink); }
.admin-main a.glass .table th,
.admin-main a.glass .table td { color: var(--ink); }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 10px 16px;
  position: sticky;
  top: 8px;
  z-index: 30;
  background: var(--cream);
  border-radius: 50px;
  border: 1px solid var(--line);
  box-shadow: var(--emboss);
}
.admin-topbar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.admin-topbar .admin-topbar-end .icon-btn,
.admin-topbar .admin-topbar-end .theme-toggle.icon-btn {
  background: transparent;
  color: var(--topbar-icon, var(--topbar-ink, var(--ink)));
  border: 0;
  box-shadow: none;
}
.admin-topbar .admin-topbar-end .icon-btn svg {
  color: currentColor;
  stroke: currentColor;
}
.admin-topbar .admin-topbar-end .icon-btn:hover,
.admin-topbar .admin-topbar-end .theme-toggle.icon-btn:hover {
  transform: none;
  filter: none;
  opacity: 0.72;
}
.admin-topbar .admin-topbar-end .icon-btn:active,
.admin-topbar .admin-topbar-end .theme-toggle.icon-btn:active {
  box-shadow: none;
}
.admin-topbar .admin-topbar-end .profile-link .admin-avatar-mini {
  border: 2px solid var(--topbar-icon, var(--topbar-ink, var(--ink)));
}
.admin-avatar-mini {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block;
}
.inline-del { display: inline; }
.profile-link { overflow: hidden; }
.admin-menu-toggle, .admin-side-close, .admin-scrim { display: none; }
.kpi { padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); color: inherit; display: block; }
.kpi-favicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  margin: 0 0 8px;
}
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.admin-main .kpi,
.admin-main .glass,
.admin-main .deal-card,
.account-dash .glass,
.account-dash .kpi {
  position: relative;
  overflow: hidden;
}
.admin-main .kpi::before,
.admin-main .glass::before,
.admin-main .deal-card::before,
.account-dash .glass::before,
.account-dash .kpi::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #ff6b9a, #ffd166, #7dffb3, #5ad4ff, #c08bff, #ff6b9a);
  background-size: 220% 100%;
  animation: rainbow-slide 8s linear infinite;
  z-index: 3;
  pointer-events: none;
  opacity: .88;
}
.kpi b { display: block; font-size: 19.6px; font-family: var(--display); }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kanban .col { min-height: 280px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.task { padding: 10px; border-radius: 12px; background: var(--cream); margin-bottom: 8px; border: 1px solid var(--line); }

.setup-body { min-height: 100vh; display: grid; place-items: center; background: var(--cream); }
.setup-card { width: min(560px, calc(100% - 32px)); padding: 36px; }

.visit-media { border-radius: 16px; overflow: hidden; margin-top: 20px; height: 320px; }
.visit-media img, .visit-media video { width: 100%; height: 100%; object-fit: cover; }

.split-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }

@media (max-width: 1180px) {
  .nav nav { display: none; transform: none; left: 12px; right: 12px; }
  .nav.open nav {
    display: flex; flex-direction: column; position: absolute; top: 86px; left: 12px; right: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.05)), var(--paper);
    padding: 16px; border-radius: 24px;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: var(--emboss);
    z-index: 41; transform: none; max-height: calc(100vh - 100px); overflow: auto;
  }
  .nav.open nav a {
    border-radius: 50px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.22);
    background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(0,0,0,.08));
    box-shadow: var(--emboss);
    text-align: center;
  }
  .nav.open nav a:active { box-shadow: var(--emboss-press); }
  .nav-tools-desktop { display: none; }
  .nav.open .nav-tools-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav.open .nav-tools-mobile .theme-toggle,
  .nav.open .nav-tools-mobile .btn,
  .nav.open .nav-tools-mobile .currency-select { width: 100%; border-radius: 50px; }
  .nav-toggle { display: block; }
}

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0; padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.28); border-radius: 50px; cursor: pointer;
    background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), var(--green);
    color: #fff;
    box-shadow: var(--emboss-side);
    font-weight: 700;
  }
  .admin-menu-toggle:active { box-shadow: var(--emboss-press); }
  .admin-side {
    position: fixed; inset: 0 auto 0 0;
    width: min(280px, 88vw);
    transform: translateX(-110%);
    transition: transform .22s ease;
    z-index: 90;
    overflow: auto;
    box-shadow: var(--emboss-side), 12px 0 32px rgba(0,0,0,.35);
  }
  .admin-shell.menu-open .admin-side { transform: none; }
  .admin-side-close {
    display: block; width: 100%; margin-top: 12px;
    border: 1px solid rgba(255,255,255,.18); padding: 10px 16px; cursor: pointer;
    border-radius: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.28));
    color: #fff;
    box-shadow: var(--emboss-side);
  }
  .admin-side-close:active { box-shadow: var(--emboss-press); }
  .admin-scrim {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 85;
  }
  .admin-scrim[hidden] { display: none !important; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .admin-main {
    display: flex;
    flex-direction: column;
  }
  .admin-main > .flash { order: 0; }
  .admin-main > .eyebrow { order: 1; margin-top: 0; }
  .admin-main > h2 { order: 2; margin-top: 0; }
  .admin-main > h3:first-of-type { order: 2; }
  .admin-main > .muted { order: 3; margin-bottom: 4px; }
  .admin-main > .admin-topbar {
    order: 4;
    position: relative;
    top: 0;
    margin: 0 0 18px;
  }
  .admin-main > *:not(.admin-topbar):not(.flash):not(.eyebrow):not(h2):not(h3):not(.muted) {
    order: 5;
  }
  .admin-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "menu actions"
      "search search";
    align-items: center;
    gap: 10px 12px;
  }
  .admin-menu-toggle { grid-area: menu; justify-self: start; }
  .admin-topbar-end {
    grid-area: actions;
    margin-left: 0;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .admin-search-wrap {
    grid-area: search;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .admin-topbar .fs-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    gap: 8px;
    padding: 10px;
  }
  .admin-topbar .fs-search-field { order: 0; width: 100%; }
  .admin-topbar .fs-search select {
    order: 1;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
  .admin-topbar .fs-search .btn {
    order: 2;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .product-grid, .shade-grid, .stat-grid, .footer-grid, .split-2, .product-hero, .admin-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-head > .muted,
  .section-head > .lede,
  .section-head > p.muted {
    max-width: none;
    order: 2;
  }
  .section-head > .btn,
  .section-head > a.btn {
    order: 3;
    align-self: flex-start;
  }
  .auction-card { grid-template-columns: 1fr; }
  .quote-card { flex-basis: min(420px, 78vw); }
  .hero-copy h1 { font-size: clamp(32px, 8vw, 56px); }
}

@media (max-width: 980px) {
  .hero-video { min-height: 70vh; }
  .brand img { height: 48px; max-width: 200px; }
  .viewer img, .viewer video { height: 280px; }
  .ambience-toggle {
    padding: 4px 8px 4px 4px;
    gap: 5px;
    font-size: 10px;
    bottom: 60px;
    left: 12px;
  }
  .ambience-toggle span { width: 22px; height: 22px; font-size: 12px; }
  .ambience-toggle em { max-width: 64px; }
  .scroll-top { width: 36px; height: 36px; font-size: 16px; left: 12px; bottom: 12px; }
  .mini-testimonial { left: 12px; bottom: 108px; width: min(210px, calc(100vw - 24px)); }
  .chat-toggle img { width: 62px; height: 62px; }
  .chat-toggle span { font-size: 11px; padding: 8px 14px; }
  .channel-dock { right: 12px; bottom: 110px; }
}

@media (max-width: 640px) {
  .product-grid, .shade-grid, .stat-grid, .footer-grid, .split-2, .product-hero, .admin-grid, .contact-split, .kanban {
    grid-template-columns: 1fr;
  }
  .section { width: calc(100% - 24px); margin: 40px auto; }
  .admin-main { padding: 12px; }
  .admin-topbar {
    border-radius: 28px;
    padding: 10px 12px;
    top: 4px;
    gap: 8px 10px;
  }
  .admin-menu-toggle { padding: 8px 14px; font-size: 13px; }
  .admin-topbar-end .icon-btn,
  .admin-topbar-end .theme-toggle.icon-btn {
    width: 38px;
    height: 38px;
  }
  .hero-video { min-height: 62vh; }
  .hero-copy { padding: 28px 16px; }
  .nav { padding: 8px 12px; }
  input, select, textarea { font-size: 16px; }
  .modal { padding: 20px; }
  .filters { gap: 8px; }
  .action-row .btn { width: 100%; }
  .account-dash .section:first-of-type .dash-search-wrap { order: 6; margin-top: 8px; }
  .account-dash .section:first-of-type .stat-grid { order: 5; }
  .account-dash .section:first-of-type {
    display: flex;
    flex-direction: column;
  }
  .account-dash .section:first-of-type > .eyebrow { order: 0; }
  .account-dash .section:first-of-type > h2 { order: 1; }
  .account-dash .section:first-of-type > .muted { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

.icon-btn {
  width: 42px; height: 42px; padding: 0;
  display: inline-grid; place-items: center;
  position: relative;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0;
}
.icon-btn svg { display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: grid; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.cart-link .badge { position: absolute; top: -2px; right: -2px; margin: 0; }
.nav.open .nav-tools-mobile .icon-btn { width: 42px; }

select,
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(180deg, rgba(140,255,210,.16), rgba(8,28,18,.1)),
    var(--input-bg);
  border: 1px solid rgba(80, 210, 160, .38);
  border-radius: 16px;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 0 0 1px rgba(60,180,130,.08),
    0 10px 28px rgba(18, 70, 40, .12);
  padding: 12px 40px 12px 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
select {
  background-image:
    linear-gradient(180deg, rgba(140,255,210,.16), rgba(8,28,18,.1)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231f7a3a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: 100% 100%, 12px;
  cursor: pointer;
}
select:focus, input[type="date"]:focus, input[type="time"]:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(111,180,58,.28), inset 0 1px 0 rgba(255,255,255,.4);
}
html[data-theme="dark"] select,
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="time"] {
  background:
    linear-gradient(180deg, rgba(90,255,180,.12), rgba(0,0,0,.25)),
    var(--input-bg);
  border-color: rgba(94,224,138,.35);
  color: #e9fff2;
}
option, optgroup {
  background: #10241a;
  color: #e9fff2;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .45;
  cursor: pointer;
  filter: invert(.2) sepia(1) saturate(4) hue-rotate(80deg);
}
input[type="date"][data-fs-cal]::-webkit-calendar-picker-indicator {
  display: none;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
}
input[type="date"][data-fs-cal] {
  cursor: pointer;
}

.fs-cal {
  position: absolute;
  z-index: 200;
  width: min(320px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 20px;
  color: #e7fff2;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(90,255,180,.18), transparent 45%),
    linear-gradient(165deg, #10261c, #07140f);
  border: 1px solid rgba(110, 255, 190, .35);
  box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 40px rgba(70,220,150,.14);
  font-family: var(--font);
}
.fs-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; font-size: 14px;
}
.fs-cal-head button, .fs-cal-foot button {
  border: 0; background: rgba(255,255,255,.08); color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
}
.fs-cal-foot { display: flex; justify-content: space-between; margin-top: 10px; }
.fs-cal-foot button { width: auto; padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.fs-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.fs-cal-dow { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8ecfa8; padding: 4px 0; }
.fs-cal-day {
  border: 0; background: rgba(255,255,255,.04); color: #f4fff8;
  height: 34px; border-radius: 10px; cursor: pointer; font-weight: 600;
}
.fs-cal-day.is-today { box-shadow: inset 0 0 0 1px #5ee08a; }
.fs-cal-day.is-sel { background: linear-gradient(180deg, #8be06a, #1f7a3a); color: #062010; }
.fs-cal-day.is-off { opacity: .28; cursor: not-allowed; }

.admin-nav { display: flex; flex-direction: column; }
.admin-nav-label {
  margin: 14px 8px 6px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sidebar-header-text, rgba(255, 255, 255, .55));
}
.admin-nav-pin {
  font-weight: 600;
}
.admin-nav-group {
  margin: 2px 0 6px;
}
.admin-nav-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 4px;
  border-radius: 50px;
  color: var(--sidebar-header-text, rgba(255, 255, 255, .72));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  user-select: none;
}
.admin-nav-group > summary::-webkit-details-marker { display: none; }
.admin-nav-group > summary::marker { content: ''; }
.admin-nav-chev {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  opacity: .7;
  transition: transform .15s ease;
}
.admin-nav-group[open] > summary {
  color: #fff;
}
.admin-nav-group[open] > summary .admin-nav-chev {
  transform: rotate(45deg);
}
.admin-nav-sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 6px 8px;
}
.admin-side .admin-nav-sub a {
  padding: 7px 12px;
  margin-bottom: 4px;
  font-size: 13px;
}
.farm-alert {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 0 0 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.farm-alert.is-danger { border-color: #c45c4a; }
.farm-alert.is-warn { border-color: #d4a017; }
.farm-section { margin: 28px 0 8px; }
.farm-section > h3 { margin: 0 0 12px; }

.admin-dash-panels {
  grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 900px) {
  .admin-dash-panels {
    grid-template-columns: 1fr;
  }
  .admin-dash-panels .dash-cargo { order: 1; }
  .admin-dash-panels .dash-pulse { order: 2; }
}
.admin-side a:not(.brand) {
  padding: 8px 14px;
  margin-bottom: 6px;
  font-size: 13px;
}

.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module-switch {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
}
.module-switch em { grid-column: 2; font-style: normal; font-size: 11px; color: var(--muted); }

.chat-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
  background: var(--chat-head);
}
.chat-tool {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(0,0,0,.08)), var(--paper);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--emboss);
}
.chat-lang { display: flex; align-items: center; gap: 6px; flex: 1; color: var(--ink); }
.chat-lang select { padding: 8px 32px 8px 10px; font-size: 12px; width: 100%; }
.chat-guest, .chat-book {
  display: grid; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.chat-guest input, .chat-book input, .chat-book select { width: 100%; padding: 10px 12px; }
.chat-bullets { margin: 0; padding-left: 18px; }
.chat-bullets li { margin: 0 0 6px; }
.chat-cta { margin: 8px 0 0; font-weight: 700; }
.chat-card {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 6px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.chat-card img { width: 54px; height: 40px; object-fit: cover; border-radius: 8px; }
.bubble.bot { max-width: 100%; }
.chat-panel { height: 520px; }
.kpi.glass { color: inherit; display: block; }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kanban .col { min-height: 180px; padding: 12px; border-radius: 16px; }
.kanban .col.drag-over { outline: 2px dashed var(--leaf); background: rgba(20,140,80,.06); }
.kanban .task { cursor: grab; padding: 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; }
.kanban .task.is-dragging { opacity: .45; }
.pay-choices { display: grid; gap: 8px; margin: 12px 0 18px; }
.pay-choice { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.pay-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.farm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
@media (max-width: 900px) { .kanban { grid-template-columns: 1fr 1fr; } }
@property --pct {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.dash-fx {
  display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center;
  padding: 18px; border-radius: 20px; margin: 8px 0 22px;
  background: linear-gradient(135deg, #0c1a22, #163028);
  color: #e8f6f2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -2px 8px rgba(0, 0, 0, 0.35),
    0 14px 32px rgba(0, 0, 0, 0.28);
}
.dash-fx .call-ring { --fx: #3ef0d0; }
.dash-fx-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #3ef0d0;
  box-shadow: 0 0 0 0 rgba(62, 240, 208, 0.55);
  animation: dash-live-pulse 2.4s ease-out infinite;
}
@keyframes dash-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 240, 208, 0.55); opacity: 1; }
  70% { box-shadow: 0 0 0 10px rgba(62, 240, 208, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 rgba(62, 240, 208, 0); opacity: 1; }
}
.dash-bars { display: grid; gap: 10px; }
.dash-bars .bar-track {
  height: 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.55),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08);
}
.dash-bars i {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3ef0d0, #7c6bff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 12px rgba(62, 240, 208, 0.35);
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-dash .stat-grid { margin: 18px 0; }

.call-deck {
  --fx: #3ef0d0;
  --fx2: #7c6bff;
  --fx3: #ffd166;
  background:
    radial-gradient(circle at 12% 0%, rgba(62,240,208,.16), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(124,107,255,.16), transparent 40%),
    linear-gradient(180deg, #0b1620, #12202c);
  color: #e8f6f2;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(62,240,208,.22);
  box-shadow: 0 20px 50px rgba(8, 20, 28, .35);
}
.call-deck h2, .call-deck h3 { color: #f4fffb; }
.call-deck .muted { color: #9bb8b0; }
.call-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 22px; }
.call-kpi {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px 16px;
}
.call-kpi b { display: block; font-size: 28px; letter-spacing: .02em; color: var(--fx); }
.call-ring {
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--fx) calc(var(--pct) * 1%), rgba(255,255,255,.08) 0);
  transition: --pct 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.14),
    inset 0 -5px 10px rgba(0, 0, 0, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(62, 240, 208, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.call-ring span {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(165deg, #152a38 0%, #0a1218 55%, #0f1c26 100%);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15.4px;
  color: #f4fffb;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 3px 2px rgba(255, 255, 255, 0.16),
    inset 0 -6px 12px rgba(0, 0, 0, 0.72),
    0 4px 14px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.45);
}
.call-bars { display: grid; gap: 10px; }
.call-bar { display: grid; grid-template-columns: 120px 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.call-bar i {
  display: block; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--fx), var(--fx2));
  box-shadow: 0 0 12px rgba(62,240,208,.35);
}
.call-deck .table { color: inherit; }
.call-deck .table th, .call-deck .table td { border-color: rgba(255,255,255,.08); }
.call-deck select, .call-deck input, .call-deck textarea {
  background: rgba(255,255,255,.06); color: #f4fffb; border-color: rgba(255,255,255,.12);
}
@media (max-width: 900px) {
  .call-kpis { grid-template-columns: 1fr 1fr; }
}

.theme-picker-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .theme-picker-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .theme-picker-main,
  .theme-picker-presets {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .theme-page { padding: 16px !important; }
  .theme-preset-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .theme-preset-item {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  .theme-special-grid {
    grid-template-columns: 1fr;
  }
  .theme-special-card {
    width: 100%;
  }
}
.theme-picker-hint { color: var(--muted); margin: 0 0 14px; }
.theme-color-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.theme-color-inputs input[type="color"] {
  width: 56px;
  height: 44px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: var(--paper);
}
.theme-color-inputs input[type="text"] { max-width: 140px; }
.theme-gradient-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-weight: 600;
  cursor: pointer;
}
.theme-gradient-level-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.theme-gradient-level-row input[type="range"] { flex: 1; max-width: 280px; }
.theme-gradient-note { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.theme-gradient-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .theme-gradient-row { grid-template-columns: 1fr; } }
#theme-gradient-colors-wrap.is-disabled,
#theme-gradient-level-wrap.is-disabled { opacity: .45; pointer-events: none; }
.theme-preview-block {
  margin: 20px 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.theme-preview-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.theme-preview-swatch { width: 100%; height: 48px; border-radius: 10px; margin: 10px 0 14px; }
.theme-preview-ui { display: flex; align-items: center; gap: 14px; }
.theme-preview-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
}
.theme-preview-sidebar { display: inline-block; width: 48px; height: 32px; border-radius: 8px; }
.theme-preset-form { margin: 0; }
.theme-preset-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-preset-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.theme-preset-item:hover,
.theme-preset-item.is-active { border-color: var(--green); box-shadow: var(--shadow); }
.theme-preset-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}
.theme-preset-name { font-size: 12px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-preset-check { color: var(--green); font-weight: 700; }
.theme-special-heading { margin: 28px 0 8px; }
.theme-special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.theme-special-grid form { margin: 0; }
.theme-special-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
}
.theme-special-card.is-active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(31,122,58,.25); }
.theme-special-preview { height: 72px; flex-shrink: 0; }
.theme-preview-cream .theme-special-preview {
  background: linear-gradient(145deg, #faf6ee, #e8dfd0);
}
.theme-preview-white-cream .theme-special-preview {
  background: linear-gradient(160deg, #fdfcfb, #f0ebe6);
}
.theme-preview-rock .theme-special-preview {
  background: linear-gradient(160deg, #a8a29e, #57534e);
}
.theme-preview-wood .theme-special-preview {
  background: repeating-linear-gradient(90deg, #5c4228, #4a3520 4px, #6b4f2a 8px);
}
.theme-special-body { padding: 12px 14px; }
.theme-special-body strong { display: block; margin-bottom: 4px; }
.theme-special-body span { font-size: 12px; color: var(--muted); }
.theme-special-active { display: block; margin-top: 6px; font-style: normal; color: var(--green); font-size: 12px; }

html[data-ui-theme="cream-glass"] body { background: #f8f4ed; }
html[data-ui-theme="white-cream"] body { background: #fdfcfb; }
html[data-ui-theme="wood-glass"] body { background: #ebe4d8; }
html[data-ui-theme="rock-glass"] body { background: #eceae8; }

@media print {
  body:not(.pos-receipt-body) .nav,
  body:not(.pos-receipt-body) .admin-side,
  body:not(.pos-receipt-body) .admin-scrim,
  body:not(.pos-receipt-body) .site-footer,
  body:not(.pos-receipt-body) .ambience-toggle,
  body:not(.pos-receipt-body) .chatbot,
  body:not(.pos-receipt-body) .channel-dock,
  body:not(.pos-receipt-body) .farm-tabs,
  body:not(.pos-receipt-body) form.form,
  body:not(.pos-receipt-body) .btn,
  body:not(.pos-receipt-body) .inline-del {
    display: none !important;
  }
  body:not(.pos-receipt-body) { background: #fff; }
  body:not(.pos-receipt-body) .admin-shell,
  body:not(.pos-receipt-body) .admin-main { display: block; box-shadow: none; }
  body:not(.pos-receipt-body) .glass { box-shadow: none; }
}

.voice-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.voice-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.voice-card h3 { margin: 0 0 14px; font-weight: 550; letter-spacing: .02em; }
.voice-quote {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.voice-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.voice-list { display: grid; gap: 12px; }
.voice-item { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.voice-item p { margin: 8px 0; color: var(--ink); }
.voice-actions { display: flex; gap: 8px; margin-top: 10px; }

.pos-shell { display: grid; grid-template-columns: 1.4fr .9fr; gap: 18px; min-height: 70vh; }
.pos-catalog { background: var(--paper); color: var(--ink); border-radius: 20px; border: 1px solid var(--line); padding: 16px; }
.pos-search { width: 100%; margin-bottom: 14px; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.pos-tile {
  text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden;
  background: var(--cream); color: var(--ink); cursor: pointer; width: 100%;
}
.pos-tile img { width: 100%; height: 96px; object-fit: cover; display: block; }
.pos-tile span { display: block; padding: 8px 10px 10px; font-size: 13px; }
.pos-tile em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.pos-ticket {
  background: #0c1210; color: #e8f6ee; border-radius: 20px; padding: 18px; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.08);
}
.pos-ticket h3 { margin: 0 0 12px; color: #e8f6ee; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.pos-lines { flex: 1; overflow: auto; }
.pos-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #e8f6ee; }
.pos-line-name { min-width: 0; }
.pos-line-name em { display: block; font-style: normal; color: #8aa392; font-size: 11px; }
.pos-line-amt { font-variant-numeric: tabular-nums; }
.pos-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid #2a3a32; border-radius: 999px; overflow: hidden; background: #151d1a; }
.pos-qty-btn {
  width: 28px; height: 28px; border: 0; background: transparent; color: #e8f6ee; cursor: pointer; font-size: 16px; line-height: 1;
}
.pos-qty-btn:hover { background: #24332c; }
.pos-qty-input {
  width: 42px; height: 28px; border: 0; border-left: 1px solid #2a3a32; border-right: 1px solid #2a3a32;
  background: #0f1613; color: #f4fff8; text-align: center; font-size: 13px; padding: 0; -moz-appearance: textfield;
}
.pos-qty-input::-webkit-outer-spin-button, .pos-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pos-line-rm { min-width: 32px; padding: 4px 8px; }
.pos-total { font-size: 28px; font-family: var(--display); margin: 12px 0; color: #f4fff8; }
.pos-ticket label { color: #c5d8cc; }
.pos-ticket input, .pos-ticket select { background: #151d1a; color: #f4fff8; border-color: #2a3a32; }
.pos-empty { color: #8aa392; font-size: 13px; }
.pos-balance { font-size: 12px; color: #b7d4c2; margin: 0 0 10px; }
.pos-collect { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.pos-collect h3 { margin: 0 0 8px; }
.pos-status { font-size: 12px; margin: 10px 0 0; color: #b7d4c2; }
.pos-status[data-kind="err"] { color: #ffb4b4; }
.pos-status[data-kind="warn"] { color: #f0d48a; }
.pos-print-frame { position: absolute; width: 0; height: 0; border: 0; }
.pos-plan-extra { display: grid; gap: 8px; margin: 0 0 10px; }
.pos-receipt-modal { z-index: 90; }
.pos-receipt-dialog {
  width: min(420px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  color: #111;
  padding: 18px 16px 16px;
}
.pos-receipt-slot { background: #fff; color: #111; }
.pos-receipt-modal-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.pos-receipt-dialog .eyebrow { color: #4a5a50; letter-spacing: .14em; }

.pos-receipt-body { background: #fff; color: #111; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pos-receipt { width: 76mm; margin: 0 auto; padding: 8px 6px 20px; }
.pos-receipt h1 { font-size: 16px; text-align: center; margin: 0 0 6px; }
.pos-receipt p, .pos-receipt td { font-size: 12px; }
.pos-receipt table { width: 100%; border-collapse: collapse; }
.pos-receipt td { padding: 3px 0; vertical-align: top; }
.pos-receipt .amt { text-align: right; }
.pos-receipt .cut { border-top: 1px dashed #111; margin: 10px 0; }
.pos-receipt-logo { display: block; max-height: 48px; width: auto; margin: 0 auto 8px; }
.pos-receipt-meta, .pos-receipt-foot { text-align: center; }
.pos-receipt-total { font-size: 14px; }
.pos-receipt-actions { text-align: center; margin: 16px; }
.pos-receipt-compact { padding: 4px 2px 12px; }
.pos-receipt-compact h1 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pos-receipt-compact p, .pos-receipt-compact td { font-size: 10px; line-height: 1.35; }
.pos-receipt-compact .pos-receipt-logo { max-height: 28px; margin: 0 auto 4px; }
.pos-receipt-compact .cut { margin: 6px 0; }
.pos-receipt-modern { border: 2px solid #111; padding: 10px 8px 16px; }
.pos-receipt-modern h1 { font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.pos-receipt-modern .pos-receipt-total { background: #111; color: #fff; padding: 8px; text-align: center; }
.pos-receipt-modern .pos-receipt-total strong { color: #fff; }
.pos-receipt-modern .cut { border-top: 2px solid #111; }
@media print {
  .pos-receipt-body { background: #fff; }
  .pos-receipt-actions { display: none !important; }
  #fs-offline-bar { display: none !important; }
  @page { size: 80mm auto; margin: 4mm; }
  body.pos-print-receipt .admin-side,
  body.pos-print-receipt .admin-scrim,
  body.pos-print-receipt .pos-page,
  body.pos-print-receipt .scroll-top,
  body.pos-print-receipt #fs-offline-bar {
    display: none !important;
  }
  body.pos-print-receipt .pos-receipt-modal {
    display: block !important;
    position: static;
    inset: auto;
    background: #fff;
    padding: 0;
  }
  body.pos-print-receipt .pos-receipt-dialog {
    box-shadow: none;
    width: 76mm;
    max-height: none;
    padding: 0;
    background: #fff;
  }
  body.pos-print-receipt .pos-receipt-modal-actions,
  body.pos-print-receipt .pos-receipt-dialog .close,
  body.pos-print-receipt .pos-receipt-dialog .eyebrow {
    display: none !important;
  }
}

.receipt-fields { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.receipt-fields legend { padding: 0 6px; }
.receipt-fields .check, .form .check { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.receipt-tpl-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 18px; }
.receipt-tpl-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer; }
.receipt-tpl-card.is-on { border-color: var(--green, #2f8f4e); box-shadow: 0 0 0 2px rgba(47,143,78,.25); }
.receipt-tpl-card span { font-size: 12px; color: var(--muted); }

.report-filters { padding: 16px; border-radius: 16px; display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 10px; align-items: end; max-width: 1100px; }
.report-sheet { padding: 18px; border-radius: 18px; margin-top: 18px; }
.report-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

#fs-offline-bar {
  position: sticky; top: 0; z-index: 80; padding: 8px 14px; text-align: center; font-size: 13px;
  background: #2a2414; color: #f0d48a; border-bottom: 1px solid rgba(240,212,138,.25);
}
#fs-offline-bar[data-state="off"] { background: #2a1414; color: #ffd0d0; }
#fs-offline-bar[data-state="sync"] { background: #142a1c; color: #c6f0d4; }
@media print {
  .report-filters { display: none !important; }
}
@media (max-width: 960px) {
  .pos-shell, .voice-grid, .receipt-tpl-pick { grid-template-columns: 1fr; }
  .report-filters { grid-template-columns: 1fr 1fr; }
}
