/* Ion Glass: presentation layer shared by customer and administration views. */
:root {
  --bg: #080d14;
  --surface: #101923;
  --surface-2: #172430;
  --line: rgba(216, 238, 255, .11);
  --line-strong: rgba(105, 230, 255, .32);
  --text: #edf4fc;
  --muted: #a5b5c6;
  --cyan: #69e6ff;
  --blue: #8586ef;
  --green: #95ebbd;
  --danger: #ff9cae;
  --yellow: #ead39b;
  --radius: 16px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-condensed: var(--font-body);
}
body {
  background: radial-gradient(ellipse at 15% 0, #69e6ff0b, transparent 42rem), var(--bg);
  font-size: 15px;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.035em; }
h1 { line-height: 1.15; }
p { line-height: 1.6; }
button, input, select, textarea { font-family: var(--font-body); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  background: #0c141e;
  border-color: #354657;
  border-radius: 11px;
  color: var(--text);
  min-height: 46px;
  font-size: 16px;
}
input::placeholder, textarea::placeholder { color: #8c9fb3; opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cyan); }
/* Near-opaque chrome needs no live resampling of the animated brand plane. */
.screen-header {
  background: rgba(12, 20, 29, .94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: var(--line);
  min-height: 68px;
  margin-bottom: 22px;
}
.screen-header-title { font-weight: 500; letter-spacing: -.03em; }
.screen-header-back, .screen-header-action { border-radius: 11px; min-height: 44px; }
.brand-logo { border-radius: 18px; border-color: var(--line-strong); background: #15232f; box-shadow: 0 0 26px #69e6ff10; }
.brand-title { font-weight: 500; letter-spacing: -.045em; }
.brand-description { color: var(--muted); line-height: 1.6; }
.hero, .panel, .home-feed-card, .home-post-card, .profile-hero, .contact-card,
.order-summary-card, .review-card, .admin-order-card, .case-thread, .chat-thread,
.verification-form-section, .access-pending-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff03, transparent 65%), var(--surface);
  box-shadow: inset 0 1px #ffffff05;
}
.panel { padding: 20px; }
.home-feed { gap: 20px; }
.home-feed-card { padding: 21px; }
.stats-grid, .admin-stat-grid { gap: 12px; }
.stat, .admin-kpi-cell { background: #101923; border-color: var(--line); border-radius: 12px; }
.stat strong, .admin-kpi-value { font-weight: 500; letter-spacing: -.04em; }
.stat span, .admin-kpi-label, .admin-kpi-hint { color: var(--muted); }
.primary-button, .ghost-button, .choice-button, .compact-button, .danger-button,
.filter-chip, .subfilter-chip, .nav-button span, .status-badge, .badge, .product-badge {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}
.primary-button, .ghost-button, .choice-button, .danger-button {
  border-radius: 12px;
  min-height: 46px;
  font-size: 14px;
  transition: border-color 180ms, background-color 180ms, box-shadow 180ms, transform 180ms;
}
.primary-button {
  color: #e6faff;
  border: 1px solid #69e6ff70;
  background: linear-gradient(135deg, #1a414d, #142631);
  box-shadow: 0 0 22px #69e6ff0a, inset 0 1px #ffffff0a;
}
.primary-button:hover:not(:disabled) { background: linear-gradient(135deg, #235562, #173541); box-shadow: 0 0 24px #69e6ff18; }
.primary-button::after { animation-duration: 9s; opacity: .35; }
.ghost-button { color: var(--text); border-color: #354657; background: #121d29; }
.ghost-button:hover { background: #182a38; border-color: #69e6ff66; }
.ghost-button.compact-button, .compact-button { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.icon-button { border-radius: 11px; min-width: 44px; min-height: 44px; background: #69e6ff0c; border-color: #69e6ff40; }
.filter-chip, .subfilter-chip { min-height: 44px; border-radius: 24px; background: #101923; border-color: var(--line); padding: 10px 15px; }
.filter-chip.active, .subfilter-chip.active { background: #69e6ff0e; border-color: #69e6ff66; color: var(--cyan); box-shadow: none; }
.menu-product-grid { gap: 14px; margin-top: 20px; }
.menu-grid-card, .product-preview-card, .product-card {
  border-radius: 18px;
  border-color: var(--line);
  background: linear-gradient(140deg, #1b2632, #101720);
  box-shadow: inset 0 1px #ffffff04;
}
.menu-grid-card { overflow: hidden; }
.menu-grid-card:hover, .product-preview-card:hover { border-color: #69e6ff44; }
.menu-grid-card-media { height: auto; aspect-ratio: 1 / 1.12; flex: none; border-radius: 18px 18px 0 0; background: radial-gradient(ellipse at 50% 90%, #69e6ff0e, transparent 65%), #111a24; border-color: #ffffff0a; }
.menu-grid-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.menu-grid-card-media video { width: 100%; height: 100%; object-fit: contain; }
.menu-grid-card-body { padding: 12px; gap: 9px; }
.menu-grid-card-name { font-weight: 500; font-size: 15px; letter-spacing: -.02em; text-transform: none; }
.menu-grid-card-meta { color: var(--muted); font-size: 12px; }
.menu-grid-card-price { color: var(--text); font-weight: 500; font-size: 15px; }
.menu-grid-card-add { border-radius: 10px; min-width: 44px; min-height: 44px; color: var(--cyan); background: #69e6ff0b; border-color: #69e6ff33; }
.product-badge { border-radius: 6px; box-shadow: none; font-size: 11px; }
.product-badge::after,
.app-content.is-entering .product-badge::after,
.app-dialog.is-opening .product-badge::after,
.menu-grid-card:hover .product-badge::after,
.product-preview-card:hover .product-badge::after { animation: ionBadgeSheen 35s ease-in-out infinite; }
@keyframes ionBadgeSheen {
  0%, 97% { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
  97.2% { transform: translateX(-160%) skewX(-18deg); opacity: .8; }
  100% { transform: translateX(360%) skewX(-18deg); opacity: 0; }
}
.product-badge.is-new { background: #0d2530; color: #a1f0ff; border-color: #69e6ff55; }
.bottom-nav {
  background: rgba(15, 24, 36, .96);
  border: 1px solid #d8eeff1c;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -8px 30px #0003, inset 0 1px #ffffff06;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bottom-nav::before { opacity: .2; }
.nav-button { min-height: 55px; border-radius: 12px; }
.nav-button span { color: var(--muted); font-size: 11px; }
.nav-button.active { background: #69e6ff08; }
.nav-button.active span { color: var(--cyan); }
.bottom-nav { overflow: visible; }
.bottom-nav .nav-button { min-height: 62px; }
.bottom-nav .nav-home { position: relative; background: transparent; color: #c5f6ff; }
.bottom-nav .nav-home strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -18px;
  border: 1px solid #69e6ff75;
  border-radius: 16px;
  background: linear-gradient(140deg, #245769, #122c3b);
  box-shadow: 0 0 22px #69e6ff20, inset 0 1px #d8faff22, 0 5px 16px #0005;
  transition: background 180ms, box-shadow 180ms;
}
.bottom-nav .nav-home .nav-icon { width: 25px; height: 25px; }
.bottom-nav .nav-home span { color: #c5f6ff; font-weight: 500; }
.bottom-nav .nav-home.active strong { background: linear-gradient(140deg, #89efff, #44b7d2); color: #07171f; border-color: #a4f3ff; box-shadow: 0 0 26px #69e6ff35, inset 0 1px #ffffff88; }
.bottom-nav .nav-home:hover strong { box-shadow: 0 0 28px #69e6ff35, inset 0 1px #d8faff22; }
.bottom-nav .nav-home.active::after { display: none; }
.app-shell { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.nav-button.active::after { background: var(--cyan); box-shadow: 0 0 12px #69e6ff66; }
.product-modal, .info-modal, .review-modal { background: #0d1620; border-color: #354d5e; box-shadow: 0 24px 90px #0009, inset 0 1px #ffffff09; }
.contacts-dialog-list { display: grid; gap: 12px; margin-top: 18px; }
.contacts-dialog-list .contact-copy { min-width: 0; overflow-wrap: anywhere; }
.dialog-header { border-bottom-color: var(--line); }
.dialog-header h2 { font-weight: 500; letter-spacing: -.035em; }
.dialog-body { padding: 22px; }
.dialog-close { width: 44px; height: 44px; border-color: #395063; }
.dialog-gallery-stage { background: #090f16; border-color: var(--line); border-radius: 16px; }
.modal-option { border-radius: 13px; background: #111c28; border-color: #334355; }
.modal-option.selected { background: #17313e; border-color: #69e6ff70; box-shadow: inset 0 1px #ffffff08; }
.status-badge { border-radius: 7px; font-size: 12px; min-height: 28px; }
.status-badge.unverified { color: var(--muted); background: #ffffff05; border-color: var(--line); }
.product-order-panel { margin-bottom: 20px; }
.product-order-panel > summary { min-height: 44px; cursor: pointer; font-weight: 500; }
.product-order-list { list-style: none; padding: 0; margin: 16px 0; }
.product-order-list > li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.product-order-position { color: var(--muted); font-size: 12px; }
.product-order-actions { display: flex; gap: 5px; }
.product-order-actions button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #69e6ff08; color: var(--cyan); font-size: 20px; }
.admin-drawer-trigger { border-radius: 13px; background: linear-gradient(100deg, #16333e, #111d28); border-color: #69e6ff40; padding: 14px 16px; min-height: 52px; margin-bottom: 20px; }
.admin-drawer-trigger-label { font-size: 15px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.admin-drawer-trigger-code { font-size: 12px; color: #bbd2df; }
.admin-drawer { background: #0c151f; border-color: #395063; box-shadow: 18px 0 80px #0005; width: min(90vw, 360px); }
.admin-drawer-header { padding: calc(22px + env(safe-area-inset-top)) 64px 20px 22px; background: linear-gradient(120deg, #69e6ff0a, transparent); }
.admin-drawer-title { font-size: 23px; }
.admin-drawer-meta { color: var(--muted); font: 12px/1.5 var(--font-body); }
.admin-drawer-nav { padding: 12px; }
.admin-drawer-group-label { margin: 20px 12px 8px; color: #a0b6c9; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.admin-drawer-group:first-child .admin-drawer-group-label { margin-top: 4px; }
.admin-drawer-row { min-height: 48px; border: 1px solid transparent; border-radius: 11px; margin: 3px 0; padding: 12px; color: #c2d0dd; }
.admin-drawer-row.active { background: linear-gradient(100deg, #69e6ff12, #69e6ff03); border-color: #69e6ff33; color: var(--cyan); }
.admin-drawer-row-label { font: 500 14px/1.4 var(--font-body); text-transform: none; letter-spacing: normal; }
.admin-drawer-row-index { display: none; }
.admin-drawer-exit, .admin-drawer-close { min-height: 44px; border-radius: 10px; }
.admin-kpi-grid { gap: 12px; background: transparent; border: 0; }
.admin-kpi-cell { padding: 16px; }
.admin-kpi-cell.needs-attention { background: #151e28; border-color: #ead39b38; }
.admin-kpi-cell.needs-attention .admin-kpi-value { color: var(--yellow); }
.admin-kpi-label, .admin-kpi-hint, .admin-chart-head { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 12px; }
.admin-chart-total, .admin-chart-col span { font-size: 11px; color: var(--muted); }
.admin-chart-bar { border-radius: 6px 6px 0 0; }
.admin-recent-order-row { min-height: 54px; padding: 12px 0; }
.admin-recent-order-id { font-size: 12px; width: auto; min-width: 70px; }
.admin-recent-order-info small { font-size: 12px; }
.admin-help, .admin-note, .access-pending-note { color: var(--muted); line-height: 1.6; }
.brand-atmosphere { opacity: .72; }
.brand-mote {
  top: 0;
  border-color: #69e6ff38;
  border-radius: 13px;
  color: #79dff3;
  font: 500 18px/1 var(--font-body);
  filter: none;
  animation-name: ionBrandRise;
  will-change: auto;
}
.brand-mote.is-near { color: #9beaff; border-color: #69e6ff50; }
.brand-mote img { filter: none; }
.brand-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 90%, #69e6ff0c, transparent 45%);
  pointer-events: none;
}
body:has(.admin-drawer-trigger) .brand-atmosphere { opacity: .28; }
@keyframes ionBrandRise {
  0% { opacity: 0; transform: translate3d(-12px, calc(100dvh + 70px), 0) rotate(-16deg); }
  15% { opacity: .18; }
  50% { opacity: .1; transform: translate3d(16px, 48dvh, 0) rotate(-6deg); }
  85% { opacity: .18; }
  100% { opacity: 0; transform: translate3d(-12px, -80px, 0) rotate(-16deg); }
}
@media (min-width: 800px) {
  .admin-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-shell:has(.admin-drawer-trigger) { width: min(100%, 960px); padding-left: 26px; padding-right: 26px; }
  .app-shell:has(.admin-drawer-trigger) .screen-header { margin-left: -26px; margin-right: -26px; padding-left: 26px; padding-right: 26px; }
  .admin-drawer { left: max(0px, calc((100vw - 960px) / 2)); }
}
@media (max-width: 380px) {
  .panel, .home-feed-card, .dialog-body { padding: 16px; }
  .menu-product-grid { gap: 10px; }
  .menu-grid-card-body { padding: 11px; }
  .menu-grid-card-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-atmosphere { display: none; }
  .primary-button::after { animation: none; }
}
@supports not (backdrop-filter: blur(16px)) {
  .screen-header, .bottom-nav { background: #101923; }
}

/* Shared components: remove legacy microtype, double frames and square rows. */
.customer-page-actions { display: flex; justify-content: flex-end; padding: 16px 2px 12px; }
.customer-cart-button { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ffffff05; border: 1px solid #d8eeff24; color: var(--text); }
.customer-cart-button:hover, .customer-cart-button[aria-current="page"] { color: var(--cyan); border-color: #69e6ff60; background: #69e6ff09; }
.customer-cart-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 20px; padding: 0 5px; background: var(--cyan); color: #08121b; font: 600 11px/1 var(--font-body); }
.customer-cart-count[hidden] { display: none; }
.profile-shortcuts { display: grid; gap: 12px; margin-bottom: 18px; }
.profile-shortcuts .ghost-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
/* Preview-only controls should not be mistaken for the removed customer header. */
body:has(.customer-page-actions, .home-brand-header) #local-preview-tools { display: none; }
body:has(.customer-page-actions, .home-brand-header) { --preview-top: 0px; padding-top: 0 !important; }
.screen-header-subtitle, .screen-header-status-label, .screen-header-role,
.menu-grid-card-meta, .admin-request-meta, .admin-request-head p,
.admin-user-detail-grid, .profile-stat span, .automatic-message-help,
.admin-drawer-exit, .home-feed-tag {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  font-size: 12px;
  color: var(--muted);
}
.screen-header-role { border-radius: 8px; min-height: 36px; }
.hero { padding: 22px 0; background: transparent; border: 0; box-shadow: none; }
.brand-row { align-items: center; gap: 16px; }
.brand-title { font-size: clamp(25px, 6vw, 32px); line-height: 1.2; }
.brand-description { font-size: 14px; }
.home-hero-banner, .news-ticker { border-radius: 16px; border-color: var(--line); background: #101923; box-shadow: none; }
.home-quick-action { border-radius: 12px; border-color: var(--line); background: #101923; text-transform: none; letter-spacing: normal; min-height: 58px; }
.home-quick-action-icon { border-radius: 8px; background: #69e6ff0d; color: var(--cyan); box-shadow: none; }
.section-title-row { margin-top: 26px; margin-bottom: 14px; }
.section-title { font-size: 21px; font-weight: 500; letter-spacing: -.025em; text-transform: none; }
.section-title-link { font: 500 13px/1.4 var(--font-body); text-transform: none; letter-spacing: normal; }
.menu-filter-panel { padding: 0; margin: 0 0 22px; border: 0; background: none; box-shadow: none; gap: 16px; }
.menu-search-row { border: 1px solid #334355; background: #101923; padding: 12px 15px; border-radius: 14px; min-height: 50px; }
.menu-search-row input.menu-search-input { background: transparent; border: 0; border-radius: 0; min-height: 24px; padding: 0; font: 400 15px/1.5 var(--font-body); color: var(--text); }
.menu-search-row .menu-search-input:focus-visible { outline: none; }
.menu-search-row:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; box-shadow: none; }
.menu-filter-panel .filter-strip, .menu-filter-panel .subcategory-strip { margin: 0; padding: 3px 0 6px; max-width: 100%; }
.menu-filter-heading > span { font-weight: 500; }
.menu-filter-summary { padding: 0; border: 0; }
.menu-filter-summary .menu-autoplay-toggle { margin-top: 0; padding: 0; border: 0; min-height: 44px; }
.filter-chip b, .subfilter-chip b { border-radius: 6px; background: #ffffff08; font: 500 11px/1.5 var(--font-body); }
.menu-grid-card-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.7em; line-height: 1.35; }
.menu-grid-card-meta { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 3em; font-size: 11px; color: #a5b5c6; }
.menu-grid-card-body { gap: 5px; }
.menu-grid-card-footer { margin-top: auto; padding-top: 12px; }
.menu-grid-card-media .product-badge-stack { gap: 4px; }
.product-badge-stack.compact .product-badge { font-size: 10px; padding: 3px 6px; min-height: 23px; border-radius: 6px; }
.product-badge.is-limited { color: #c9c7ff; border-color: #8586ef55; background: #211f37; }
.product-badge.is-preorder { color: #b0e3c8; border-color: #95ebbd40; background: #152b24; }
.home-feed-media { border-radius: 14px; }
.profile-avatar, .profile-avatar.small { border-radius: 14px; border-color: #69e6ff40; background: #122532; box-shadow: none; }
.profile-stat, .contact-card, .review-card, .cart-item, .order-summary-card,
.admin-product-card, .admin-category-card, .admin-user-card, .admin-request-card,
.admin-user-detail-grid, .admin-user-recent-order, .admin-order-note, .review-summary,
.broadcast-guide, .automatic-message-group, .automatic-message-preview,
.verification-form-section, .verification-form-field, .access-pending-view > .panel {
  background: #101923;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px #ffffff04;
}
.admin-product-card, .admin-category-card, .admin-user-card, .admin-request-card { padding: 18px; gap: 14px; }
.admin-product-card img { border-radius: 11px; background: #172430; object-fit: contain; }
.admin-product-card strong { color: var(--text); font-weight: 500; }
.admin-form, .admin-product-list, .admin-category-list, .admin-user-list, .admin-requests-view { gap: 18px; }
.admin-form-title { flex-wrap: wrap; gap: 12px; }
.admin-form-title h3, .admin-help h3, .admin-category-card h3, .admin-product-card h3, .admin-user-card h3 { font-weight: 500; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.text-field { gap: 8px; }
.text-field label, .automatic-message-field .admin-form-title > label { font: 500 13px/1.5 var(--font-body); color: #c5d3e0; text-transform: none; letter-spacing: normal; }
.text-field input:not([type="checkbox"]):not([type="radio"]), .text-field textarea, .text-field select,
.admin-option-row input, .automatic-message-field textarea, .case-thread-compose textarea, .chat-thread .case-thread-compose textarea {
  border: 1px solid #354657; background: #0c141e; border-radius: 11px; padding: 12px; font: 400 16px/1.5 var(--font-body); color: var(--text); min-height: 46px;
}
.text-field input[type="checkbox"], .text-field input[type="radio"] { width: 20px; min-height: 20px; padding: 0; }
.admin-grid-two, .admin-media-row { gap: 16px; }
.badge-toggle, .choice-button, .broadcast-audience-control, .manual-order-selected-user, .admin-user-warning { border-radius: 10px; border-color: #354657; }
.toggle-line, .inline-check { min-height: 46px; }
.admin-user-detail-grid { padding: 5px 14px; }
.admin-user-order-stats, .profile-stats-grid { gap: 10px; background: transparent; border: 0; }
.profile-stat { padding: 15px 10px; }
.kv { padding: 10px 0; font-size: 13px; }
.admin-order-note, .review-summary, .broadcast-guide { padding: 14px; }
.automatic-message-group > summary { padding: 16px; min-height: 50px; }
.automatic-message-group > summary > span { font: 500 14px/1.5 var(--font-body); text-transform: none; letter-spacing: normal; }
.automatic-message-group > summary > small, .automatic-message-preview > small, .automatic-message-help > small { font: 400 12px/1.5 var(--font-body); text-transform: none; letter-spacing: normal; color: var(--muted); }
.automatic-message-field { padding: 18px 16px; border-color: var(--line); }
.automatic-message-preview { padding: 14px; }
.automatic-message-preview > p { color: var(--text); font: 400 14px/1.6 var(--font-body); }
.activity-summary, .reviews-summary { border-radius: 14px; border-color: var(--line); background: #101923; }
.activity-table { border-spacing: 0; font-size: 13px; }
.activity-table thead th { color: var(--muted); font: 500 12px/1.5 var(--font-body); text-transform: none; }
.dialog-eyebrow, .dialog-header-mark { color: var(--cyan); }
.dialog-header-mark { border-radius: 10px; background: #69e6ff0b; }
.dialog-footer { background: #101923; border-top-color: var(--line); }
.modal-option strong, .modal-cart-bar strong { color: var(--text); font-weight: 500; }
.modal-option.selected strong { color: var(--cyan); }
.product-reviews { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.case-thread-header, .chat-thread-header, .case-thread-compose, .chat-thread .case-thread-compose { background: #101923; border-color: var(--line); }
.case-thread-message, .case-message, .chat-message { border-radius: 13px; }
.case-thread-compose button, .chat-thread .case-thread-compose button { border-radius: 11px; min-height: 44px; }
.quantity-control { grid-template-columns: 44px 52px 44px; gap: 6px; }
.quantity-control input { width: 52px; min-height: 44px; height: 44px; padding: 4px; }
.quantity-control .small-icon { width: 44px; height: 44px; min-height: 44px; }
.admin-layout, .admin-page { min-width: 0; }
.brand-atmosphere { width: min(100%, 480px); left: 50%; right: auto; transform: translateX(-50%); opacity: .6; }
body:has(.admin-layout) .brand-atmosphere { width: min(100%, 1200px); opacity: .2; }
.admin-sidebar { display: none; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 4px 0 22px; }
.admin-page-heading h1 { font-size: 28px; margin: 6px 0 0; font-weight: 500; line-height: 1.2; }
.admin-page-eyebrow { font-size: 11px; color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; }
.admin-activity-summary { border: 1px solid var(--line); background: #101923; border-radius: 13px; padding: 0 16px; margin-bottom: 20px; }
.admin-activity-summary > summary { cursor: pointer; padding: 14px 0; color: #c2d0dd; font-size: 13px; min-height: 48px; }
.admin-activity-summary[open] { padding-bottom: 16px; }
.home-brand-header { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 2px 0; }
.home-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-identity > div:last-child { min-width: 0; }
.home-identity .brand-logo { width: 36px; height: 36px; min-width: 36px; flex: none; border-radius: 11px; border: 1px solid #69e6ff30; background: #12232e; box-shadow: 0 0 26px #69e6ff28; font-size: 15px; }
.home-identity .brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.home-identity .brand-title { font: 500 17px/1.3 var(--font-body); letter-spacing: .035em; overflow-wrap: anywhere; }
.home-brand-header .customer-cart-button { flex-shrink: 0; }
.home-presence { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.home-presence-led { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px #69e6ff80; }
.home-presence.is-offline .home-presence-led { background: var(--danger); box-shadow: 0 0 8px #ff9cae50; }
.home-brand-header + .hero { padding: 0; margin-top: 0; }
.hero-banner { padding: 22px; background: linear-gradient(135deg,#69e6ff06,transparent 65%),#101923; border: 1px solid var(--line); border-radius: 18px; box-shadow: inset 0 1px #ffffff05; }
.hero-banner-title { font: 500 28px/1.15 var(--font-body); letter-spacing: -.04em; }
.hero-banner-desc { font: 400 13px/1.6 var(--font-body); color: var(--muted); }
.hero-banner-eyebrow { color: var(--cyan); font: 500 10px/1.5 var(--font-body); letter-spacing: .14em; }
.hero .stats-grid { background: transparent; border: 0; border-radius: 0; box-shadow: none; gap: 10px; margin-top: 18px; }
.hero .stat { padding: 15px 10px; border: 1px solid var(--line); background: #101923; border-radius: 13px; }
.hero .stat strong { font: 500 22px/1.2 var(--font-body); color: var(--text); }
.hero .stat span { font: 400 11px/1.5 var(--font-body); text-transform: none; letter-spacing: normal; color: var(--muted); }
.home-quick-actions { gap: 10px; margin-top: 12px; }
.home-quick-action { box-shadow: none; font: 500 11px/1.4 var(--font-body); }
.home-brand-header ~ .section-title-row { margin-top: 22px; }
.review-card { padding: 18px; border-radius: 16px; gap: 14px; }
.review-avatar { width: 34px; height: 34px; border-radius: 11px; border-color: #69e6ff30; background: #132532; font-weight: 500; }
.review-top { gap: 12px; }
.review-top strong { font: 500 13px/1.4 var(--font-body); }
.review-top > div > span { font: 400 11px/1.4 var(--font-body); color: var(--muted); }
.review-card p { font-size: 14px; line-height: 1.6; }
.review-card .admin-review-comment { padding: 13px 14px; border: 0; border-radius: 12px; background: #69e6ff08; }
.admin-review-comment strong { color: #a7e8f4; font-weight: 500; }
.admin-review-comment span { font-size: 13px; line-height: 1.6; }
.review-products span { border: 0; border-radius: 8px; padding: 5px 9px; background: #ffffff05; color: #a5b5c6; line-height: 1.5; font-size: 11px; }
.heart-badge { display: grid; place-items: center; justify-self: start; width: 30px; height: 30px; min-height: 30px; padding: 0; border-radius: 50%; border-color: #ff9fce30; color: #e8a6c8; background: #e8a6c80a; box-shadow: none; letter-spacing: 0; line-height: 1; }
.heart-badge svg { display: block; width: 16px; height: 16px; }
.review-rating { align-items: center; gap: 2px; }
.review-rating .star { font-size: 16px; line-height: 1; }
.admin-review-comment-editor textarea { border-radius: 11px; border-color: #354657; background: #0c141e; }
.reviews-summary-bar-track, .reviews-summary-bar-track i { border-radius: 8px; }
.admin-drawer { left: auto; right: max(0px,calc((100vw - 1200px) / 2)); border-right: 0; border-left: 1px solid #395063; box-shadow: -18px 0 80px #0005; animation: ionDrawerFromRight 280ms var(--ease-out) both; }
.brand-wave-track { --brand-step: max(120px, calc((100dvh + 256px) / 8)); position: absolute; top: -128px; left: -320px; width: calc(100% + 640px); display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); grid-auto-rows: var(--brand-step); justify-items: center; align-items: center; transform: rotate(-18deg); animation: ionInclinedWave 60s linear infinite; will-change: transform; }
.brand-wave-track .brand-mote { position: static; width: 54px; height: 54px; opacity: .12; animation: none; transform: none; will-change: auto; border-radius: 13px; font-size: 22px; }
.brand-wave-track .brand-mote.is-near { opacity: .18; }
body:has(.modal-backdrop) .brand-wave-track, body:has(.admin-drawer-backdrop) .brand-wave-track { animation-play-state: paused; }
@keyframes ionInclinedWave { from { transform: rotate(-18deg) translateY(0); } to { transform: rotate(-18deg) translateY(calc(-2 * var(--brand-step))); } }
@keyframes ionDrawerFromRight { from { transform: translateX(100%); } to { transform: none; } }
.access-pending-note { background: #69e6ff07; border: 1px solid #69e6ff25; border-radius: 10px; padding: 12px 14px; color: #b4c8d8; font: 400 13px/1.6 var(--font-body); }
input[type="file"]::file-selector-button { background: #1a2c3b; color: var(--text); border: 1px solid #3b5368; border-radius: 7px; padding: 7px 10px; margin-right: 10px; font: 500 13px/1.4 var(--font-body); }
@media(min-width:1050px) {
  .app-shell:has(.admin-layout) { width: min(100%, 1200px); padding-left: 26px; padding-right: 26px; }
  .admin-layout { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 28px; align-items: start; }
  .admin-sidebar { display: block; position: sticky; top: calc(88px + var(--preview-top, 0px)); max-height: calc(100dvh - 110px - var(--preview-top, 0px)); overflow-y: auto; padding: 12px 10px; background: #0d151f; border: 1px solid var(--line); border-radius: 16px; scrollbar-width: thin; }
  .admin-sidebar .admin-drawer-row { width: 100%; }
  .admin-sidebar .admin-drawer-group-label { font-size: 10px; }
  .admin-page > .admin-drawer-trigger { display: none; }
  .admin-page .admin-stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media(max-width:580px) {
  .admin-grid-two, .admin-media-row { grid-template-columns: 1fr; }
  .admin-page-heading h1 { font-size: 25px; }
  .admin-product-card { grid-template-columns: 58px minmax(0,1fr); }
  .admin-product-card img { width: 58px; height: 64px; }
  .admin-product-card > .compact-button { grid-column: 1 / -1; justify-self: stretch; }
  .admin-product-card, .admin-user-card, .admin-request-card { padding: 15px; }
  .cart-item { gap: 16px; flex-wrap: wrap; }
  .brand-row { align-items: start; }
}

/* Mobile-first refinements: restrained surfaces, readable information. */
.selection-pagination { position: relative; display: flex; align-items: center; gap: 2px; width: fit-content; max-width: 100%; min-height: 44px; margin: 6px auto 0; overflow-x: auto; scrollbar-width: none; }
.selection-pagination::-webkit-scrollbar { display: none; }
.selection-pagination[hidden] { display: none; }
.selection-page-dot { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 44px; padding: 0; border: 0; background: transparent; }
.selection-page-dot::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 20px; background: #7e94a6; transition: width 180ms, background-color 180ms; }
.selection-page-dot[aria-pressed="true"]::after { width: 22px; background: var(--cyan); box-shadow: 0 0 10px #69e6ff30; }
.new-arrivals-wrap .product-preview-grid.single-row .product-preview-card { scroll-snap-align: center; }
.home-brand-header + .hero .hero-banner { min-height: 0; justify-content: flex-start; overflow: visible; background: transparent; border-color: transparent; box-shadow: none; padding: 0 0 20px; border-radius: 18px; }
.hero-banner-sweep-wrap, .hero-banner::before { display: none; }
.home-identity .brand-logo, .home-logo-glow-preview .brand-logo { position: relative; isolation: isolate; overflow: visible; background: transparent; border-color: transparent; box-shadow: none; }
.home-brand-header::before, .home-logo-glow-preview::before { content: ""; position: absolute; width: 340px; height: 340px; left: -130px; top: -124px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, var(--brand-glow-color, #69e6ff), transparent 67%); opacity: .24; filter: blur(16px); pointer-events: none; }
.home-logo-glow-preview { position: relative; isolation: isolate; overflow: hidden; padding: 42px; display: flex; align-items: center; justify-content: center; background: #0b131d; border-radius: 14px; }
.home-logo-glow-preview::before { left: calc(50% - 170px); top: calc(50% - 170px); }
.home-appearance-settings { display: grid; gap: 16px; margin-bottom: 22px; }
.home-appearance-settings input[type="color"] { width: 76px; height: 48px; padding: 5px; }
.home-appearance-settings output { color: var(--muted); font-size: 13px; }
.brand-wave-track .brand-mote { transform: translate(var(--brand-offset-x, 0px),var(--brand-offset-y, 0px)); }
.product-badge, .product-badge-stack.compact .product-badge { font: 500 12px/1.35 var(--font-body); padding: 5px 8px; min-height: 27px; border-radius: 7px; }
.product-badge-stack.compact .product-badge svg, .product-badge svg { width: 13px; height: 13px; }
.product-badge-stack.compact { gap: 5px; }
.menu-grid-card-price { font-size: 17px; font-weight: 600; }
.menu-grid-card-meta { font-size: 12px; }
.menu-grid-card-name { font-size: 15px; line-height: 1.4; }
.filter-chip b, .subfilter-chip b { font-size: 12px; }
.home-presence, .review-top > div > span { font-size: 12px; }
.home-quick-action { font-size: 12px; min-height: 66px; }
.primary-button, .ghost-button, .choice-button { font-size: 15px; }
.bottom-nav .nav-button > span { font-size: 12px; }
.review-products span { font-size: 12px; }
.chat-unread-badge, .bottom-nav .nav-button .chat-unread-badge, .customer-cart-count { min-width: 21px; height: 21px; padding: 0 5px; color: #08121b; font: 700 12px/1 var(--font-body); }
.switch-line { min-height: 44px; }
.modal-option > span:not(.option-indicator) { font-size: 14px; line-height: 1.45; }
.modal-option > strong { font-size: 16px; }
.admin-order-card[data-admin-order-id] { scroll-margin-top: calc(92px + var(--preview-top, 0px)); }
.admin-order-card[data-admin-order-id]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hero .stat span, .text-field label { font-size: 13px; }
@media(max-width:360px) {
  .modal-option-list { grid-template-columns: 1fr; }
  .bottom-nav .nav-button > span { font-size: 11px; }
  .product-badge-stack.compact .product-badge { padding: 4px 6px; }
}
