:root {
  --bg: #0d0e11;
  --surface: #17191f;
  --surface-2: #20232b;
  --ink: #f6f1eb;
  --muted: #a7abb6;
  --line: #30343d;
  --primary: #ff7a18;
  --primary-dark: #e45d09;
  --accent: #ff3d78;
  --info: #54a3ff;
  --purple: #a78bfa;
  --warn: #ffb020;
  --danger: #ff5b6e;
  --success: #35d07f;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --top-shell-height: 130px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 122, 24, 0.12), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(255, 61, 120, 0.10), transparent 30%),
    var(--bg);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.top-shell {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  transform: translateY(0);
  transition: transform 0.25s ease;
  will-change: transform;
}

.top-shell.shell-hidden {
  transform: translateY(-101%);
}

.top-shell-spacer {
  height: var(--top-shell-height);
}

.app-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(13, 14, 17, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.app-header.header-scrolled {
  background: rgba(13, 14, 17, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.mobile-nav-panel {
  display: contents;
}

.mobile-menu-button,
.mobile-menu-close,
.mobile-menu-backdrop,
.mobile-nav-head {
  display: none;
}

.campaign-timer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 122, 24, 0.18), rgba(255, 61, 120, 0.13)), rgba(13, 14, 17, 0.92);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease;
}

.announcement-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-bottom: 1px solid rgba(84, 163, 255, 0.25);
  background: rgba(84, 163, 255, 0.1);
  color: #d9ebff;
  text-align: center;
}

.nav-indicator {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 900;
}

.timer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #ffd2af;
  font-weight: 900;
}

.timer-copy small {
  color: var(--muted);
  font-weight: 700;
}

.timer-units {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.timer-unit {
  display: grid;
  min-width: 62px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 122, 24, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  text-align: center;
}

.timer-unit strong {
  font-size: 18px;
  line-height: 1;
}

.timer-unit span {
  color: var(--muted);
  font-size: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.brand-button:hover .brand-logo {
  border-color: var(--primary);
  box-shadow: 0 0 28px rgba(255, 122, 24, 0.34);
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 122, 24, 0.42);
  box-shadow: 0 0 26px rgba(255, 122, 24, 0.22);
}

.brand small,
.toolbar p,
.notice,
.muted {
  color: var(--muted);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-button,
.ghost-button,
.link-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 13px;
}

.nav-button.is-active {
  border-color: var(--primary);
  background: rgba(255, 122, 24, 0.14);
  color: #ffd2af;
  font-weight: 700;
}

.session-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 190px;
}

main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 26px 20px 56px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 22px 20px 28px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.footer-contact a {
  color: #ffd2af;
  font-weight: 800;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 122, 24, 0.32);
  border-radius: 7px;
  object-fit: cover;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  color: var(--ink);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.search-box {
  width: min(420px, 100%);
}

.material-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}

.catalog-visual-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(84, 163, 255, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(84, 163, 255, 0.07);
}

.catalog-guide-copy,
.catalog-guide-signals,
.material-heading,
.product-color-line {
  display: flex;
  align-items: center;
}

.catalog-guide-copy {
  gap: 10px;
}

.catalog-guide-copy div {
  display: grid;
  gap: 2px;
}

.catalog-guide-copy span,
.catalog-guide-signals {
  color: var(--muted);
  font-size: 12px;
}

.guide-symbol,
.material-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  font-weight: 900;
}

.guide-symbol {
  width: 36px;
  height: 36px;
  background: rgba(84, 163, 255, 0.14);
  color: var(--info);
  font-size: 20px;
}

.catalog-guide-signals {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.catalog-guide-signals span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
}

.catalog-guide-signals .new-colors-count {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(84, 163, 255, 0.14);
  color: #b8dafd;
  font-weight: 900;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.signal-dot.success {
  background: var(--success);
}

.signal-dot.warn {
  background: var(--warn);
}

.signal-dot.danger {
  background: var(--danger);
}

.signal-star {
  color: var(--warn);
  font-size: 16px;
  font-style: normal;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 800;
}

.filter-chip.is-active {
  border-color: var(--primary);
  background: rgba(255, 122, 24, 0.15);
  color: #ffd2af;
}

.home-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  background: #0b0c0f;
  box-shadow: var(--shadow);
}

.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 14, 0.94), rgba(10, 11, 14, 0.58) 48%, rgba(10, 11, 14, 0.22));
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  padding: clamp(26px, 6vw, 58px);
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #ffd2af;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-hero h1 {
  margin-bottom: 14px;
}

.home-hero p {
  max-width: 560px;
  color: #d9d0c8;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.how-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 900;
}

.how-card h2,
.home-band h2 {
  margin-bottom: 8px;
}

.how-card p,
.home-band p {
  color: var(--muted);
  line-height: 1.55;
}

.home-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.tip-carousel {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 172px;
  padding: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overscroll-behavior: auto;
  background:
    linear-gradient(135deg, rgba(255, 122, 24, 0.14), rgba(255, 61, 120, 0.08)),
    var(--surface-2);
}

.product-image {
  overflow: hidden;
}

.product-image svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tip-carousel.is-dragging {
  cursor: grabbing;
}

.tip-track {
  display: flex;
  width: 100%;
  transition: transform 520ms cubic-bezier(0.22, 0.72, 0.18, 1);
  will-change: transform;
}

.tip-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 100%;
  padding: 22px;
}

.tip-copy {
  max-width: 760px;
}

.tip-copy h2 {
  margin: 12px 0 8px;
}

.tip-side {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.tip-labels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 420px;
}

.tip-controls {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.34);
  backdrop-filter: blur(10px);
}

.tip-controls .icon-button {
  width: 24px;
  height: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 241, 235, 0.7);
  font-size: 18px;
  line-height: 1;
}

.tip-controls .icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.tip-dots {
  display: flex;
  gap: 5px;
}

.tip-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.tip-dots span.is-active {
  width: 16px;
  background: var(--primary);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.help-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.08), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow);
}

.help-card h2 {
  margin: 12px 0 8px;
  font-size: 18px;
}

.help-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.feedback-form {
  display: grid;
  gap: 13px;
}

.feedback-form textarea {
  min-height: 150px;
  resize: vertical;
}

.feedback-image-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feedback-preview-thumb,
.feedback-admin-image {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.feedback-preview-thumb img,
.feedback-admin-image img {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.feedback-guide {
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.08), transparent 58%),
    var(--surface);
}

.feedback-tip-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.feedback-tip-list p {
  margin: 0;
}

.feedback-admin-list {
  display: grid;
  gap: 12px;
}

.feedback-admin-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
}

.feedback-admin-card.high {
  border-color: rgba(255, 91, 110, 0.48);
}

.feedback-admin-head,
.feedback-admin-meta,
.feedback-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feedback-admin-head > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feedback-admin-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.feedback-admin-image {
  width: fit-content;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.feedback-admin-image span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.feedback-admin-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.feedback-actions select {
  max-width: 170px;
}

.feedback-actions input {
  flex: 1 1 240px;
}

.user-feedback-row,
.audit-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.user-feedback-row:last-child,
.audit-row:last-child {
  border-bottom: 0;
}

.user-feedback-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-response {
  padding: 9px;
  border-left: 3px solid var(--info);
  background: rgba(84, 163, 255, 0.08);
}

.privacy-note {
  margin: 2px 0 0;
  padding: 10px;
  border-left: 3px solid var(--info);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  background: rgba(84, 163, 255, 0.06);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-card {
  display: grid;
  gap: 8px;
  min-height: 110px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: left;
}

.dashboard-card strong {
  color: var(--ink);
  font-size: 28px;
}

.dashboard-card:hover {
  border-color: rgba(255, 122, 24, 0.45);
  background: var(--surface-2);
}

input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: #111318;
  color: var(--ink);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.campaign-banner,
.reservation-alert {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.campaign-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.campaign-metric {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #111318;
}

.campaign-metric span {
  color: var(--muted);
  font-size: 13px;
}

.campaign-metric strong {
  font-size: 18px;
}

.reservation-alert {
  padding: 13px 15px;
  border-color: rgba(84, 163, 255, 0.42);
  background: rgba(84, 163, 255, 0.11);
  color: #b8dafd;
  font-weight: 700;
}

.reservation-alert.strong {
  border-color: rgba(255, 176, 32, 0.44);
  background: rgba(255, 176, 32, 0.12);
  color: #ffd98b;
}

.alert-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.system-alert {
  padding: 13px 15px;
  border: 1px solid rgba(255, 176, 32, 0.44);
  border-radius: 8px;
  background: rgba(255, 176, 32, 0.12);
  color: #ffd98b;
}

.system-alert.danger {
  border-color: rgba(255, 91, 110, 0.44);
  background: rgba(255, 91, 110, 0.12);
  color: #ffb6bf;
}

.highlight-card,
.panel,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 16px;
}

.product-grid {
  display: grid;
  gap: 24px;
}

.catalog-group {
  display: grid;
  gap: 14px;
}

.catalog-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.catalog-group-header h2 {
  margin: 0;
  font-size: 24px;
}

.material-heading {
  gap: 10px;
}

.material-symbol {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 122, 24, 0.32);
  background: rgba(255, 122, 24, 0.1);
  color: #ffd2af;
  font-size: 17px;
}

.catalog-group-header p {
  margin: 4px 0 0;
}

.catalog-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px 1fr;
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 122, 24, 0.14), rgba(255, 61, 120, 0.12)),
    #111318;
}

.product-image-open {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-image-open:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.7);
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  backdrop-filter: blur(8px);
}

.favorite-button.is-active {
  color: var(--warn);
  border-color: rgba(255, 176, 32, 0.55);
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.material-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
}

.product-image-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: rgba(5, 6, 8, 0.88);
  color: var(--ink);
}

.product-image-dialog::backdrop {
  background: rgba(5, 6, 8, 0.88);
}

.product-image-lightbox {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.product-image-lightbox img {
  display: block;
  max-width: min(94vw, 1400px);
  max-height: calc(100vh - 92px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.product-image-lightbox p {
  position: absolute;
  bottom: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-align: center;
}

.product-image-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.product-image-close:hover,
.product-image-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(32, 34, 40, 0.92);
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-title h3 {
  margin: 0;
  font-size: 18px;
}

.product-color-line {
  gap: 7px;
  margin-top: 4px;
}

.color-swatch {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.price {
  font-weight: 800;
  white-space: nowrap;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #252934;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.badge.success {
  background: rgba(53, 208, 127, 0.16);
  color: var(--success);
}

.badge.warn {
  background: rgba(255, 176, 32, 0.16);
  color: #ffd98b;
}

.badge.danger {
  background: rgba(255, 91, 110, 0.16);
  color: var(--danger);
}

.badge.primary {
  background: rgba(255, 122, 24, 0.15);
  color: #ffd2af;
}

.badge.info {
  background: rgba(84, 163, 255, 0.16);
  color: var(--info);
}

.badge.hot {
  background: rgba(255, 122, 24, 0.18);
  color: #ffb37d;
}

.badge.reserve {
  background: rgba(167, 139, 250, 0.17);
  color: var(--purple);
}

.badge.payment {
  background: rgba(255, 61, 120, 0.16);
  color: #ffa5c0;
}

.badge.neutral {
  background: #272b35;
  color: #c8ccd5;
}

.progress-wrap {
  display: grid;
  gap: 7px;
}

.progress-bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #2a2f39;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.buy-row {
  display: grid;
  grid-template-columns: minmax(158px, 0.65fr) 1fr;
  gap: 10px;
  align-items: center;
}

.quantity-stepper,
.cart-quantity {
  display: grid;
  grid-template-columns: 38px minmax(72px, 1fr) 38px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
  overflow: hidden;
}

.qty-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.qty-button:hover {
  background: rgba(255, 122, 24, 0.18);
  color: #ffd8bd;
}

.qty-field {
  position: relative;
  display: block;
}

.qty-field input {
  min-height: 42px;
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 30px 8px 10px;
  text-align: center;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.12);
}

.qty-field span {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.quantity-stepper input[type="number"] {
  appearance: textfield;
}

.field-caption {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.primary-button {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.full-width {
  width: 100%;
}

.split-layout,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.admin-grid {
  grid-template-columns: 390px minmax(0, 1fr);
  margin-bottom: 18px;
}

.product-admin-grid {
  grid-template-columns: minmax(0, 1fr);
}

.campaign-admin-grid {
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
}

.campaign-admin-primary {
  display: grid;
  gap: 18px;
}

.campaign-admin-primary .panel {
  margin-bottom: 0;
}

.campaign-announcement {
  border-color: rgba(255, 176, 32, 0.42);
  background: rgba(255, 176, 32, 0.055);
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-tab-panel {
  display: none;
  min-width: 0;
}

.admin-tab-panel.is-active {
  display: block;
}

.panel {
  padding: 18px;
  margin-bottom: 18px;
  min-width: 0;
}

.summary-row,
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row {
  align-items: center;
}

.list-product,
.missing-card-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.order-list-product {
  align-items: start;
}

.product-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 122, 24, 0.13), rgba(255, 61, 120, 0.10)),
    #111318;
  flex: 0 0 auto;
}

.product-thumb img,
.product-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb text {
  display: none;
}

.product-thumb rect:first-child {
  fill: #151922;
}

.product-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.upload-thumb {
  width: 64px;
  height: 64px;
}

.cart-row:last-child,
.summary-row:last-of-type {
  border-bottom: 0;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cart-quantity {
  grid-template-columns: 36px minmax(92px, auto) 36px;
  min-width: 168px;
}

.cart-quantity-value {
  display: grid;
  place-items: center;
  gap: 1px;
  min-height: 42px;
  border-inline: 1px solid var(--line);
  padding: 4px 10px;
}

.cart-quantity-value strong {
  font-size: 14px;
}

.cart-quantity-value small {
  color: var(--muted);
  font-size: 11px;
}

.cart-price {
  min-width: 92px;
  text-align: right;
}

.timer {
  color: var(--danger);
  font-weight: 800;
}

.order-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--surface);
}

.order-card.closed {
  border-left: 6px solid var(--success);
}

.order-card.pending {
  border-left: 6px solid var(--warn);
}

.lot-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.lot-box {
  padding: 12px;
  border-radius: 8px;
  background: #111318;
}

.lot-box.confirmed {
  background: rgba(53, 208, 127, 0.14);
  color: var(--success);
}

.lot-box.pending {
  background: rgba(255, 176, 32, 0.13);
  color: #ffd98b;
}

.lot-box.cancelled {
  background: rgba(255, 91, 110, 0.12);
  color: #ffb6bf;
}

.edit-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto auto;
  gap: 10px;
  align-items: end;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.payment-grid,
.missing-grid,
.account-grid,
.radar-grid,
.receipt-grid,
.export-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.export-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.payment-card,
.missing-card,
.radar-card,
.receipt-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.radar-card strong,
.receipt-card strong {
  font-size: 22px;
}

.receipt-card.printable {
  border-color: rgba(255, 122, 24, 0.62);
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.13), rgba(255, 61, 120, 0.08)), var(--surface);
}

.payment-card.risk-payment {
  border-color: rgba(255, 91, 110, 0.52);
}

.proof-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.proof-row input[type="file"] {
  min-height: auto;
}

.admin-payment-line {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.payment-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  min-width: 330px;
}

.payment-status-card {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 82px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
}

.payment-status-card span,
.payment-status-card small {
  color: var(--muted);
  font-size: 11px;
}

.payment-status-card strong {
  font-size: 12px;
  color: var(--ink);
}

.payment-status-card.sent {
  border-color: rgba(255, 176, 32, 0.5);
}

.payment-status-card.confirmed {
  border-color: rgba(53, 208, 127, 0.5);
}

.payment-status-card button {
  min-height: 30px;
  padding: 5px 8px;
  font-size: 12px;
}

.pix-box {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pix-box img {
  width: 132px;
  height: 132px;
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.pix-copy {
  min-height: 132px;
  resize: vertical;
}

.admin-edit-qty {
  display: grid;
  grid-template-columns: 92px auto;
  gap: 8px;
  align-items: center;
}

.admin-order-list {
  display: grid;
  gap: 12px;
}

.admin-order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #111318;
}

.admin-order-head,
.billing-summary-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.admin-order-head h3,
.billing-summary-head h3 {
  margin: 5px 0 2px;
}

.admin-order-user,
.billing-total {
  display: grid;
  gap: 3px;
  text-align: right;
}

.admin-order-user small,
.billing-total small {
  color: var(--muted);
}

.admin-order-body {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(310px, 1.4fr) minmax(230px, 0.8fr);
  gap: 14px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-order-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-order-values span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-order-values small {
  color: var(--muted);
}

.admin-qty-editor {
  display: grid;
  gap: 6px;
}

.admin-qty-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-quantity-stepper {
  width: 158px;
  flex: 0 0 auto;
  grid-template-columns: 38px minmax(70px, 1fr) 38px;
}

.admin-quantity-stepper input {
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  padding-inline: 5px;
  text-align: center;
}

.compact-button {
  min-height: 42px;
  padding-inline: 12px;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
}

.notification-card textarea {
  min-height: 92px;
  margin-top: 8px;
  resize: vertical;
}

.request-badge {
  display: inline-flex;
  margin-left: 6px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.22), rgba(255, 61, 120, 0.17));
  color: #ffd2af;
  font-weight: 900;
}

.total-payment {
  border-color: rgba(255, 122, 24, 0.62);
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.15), rgba(255, 61, 120, 0.10)), var(--surface);
}

.missing-card.priority {
  border-color: rgba(255, 122, 24, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 122, 24, 0.18), var(--shadow);
}

.missing-buy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.account-form {
  display: grid;
  gap: 13px;
}

.account-form-section {
  display: grid;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.account-form-section:last-of-type {
  border-bottom: 0;
}

.account-form-section h2,
.account-form-section p {
  margin-bottom: 0;
}

.cep-status {
  min-height: 18px;
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.cep-status.is-loading {
  color: var(--info);
}

.cep-status.is-success {
  color: var(--success);
}

.cep-status.is-error {
  color: var(--danger);
}

label small {
  color: var(--muted);
  font-weight: 600;
}

.message-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.message-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

.message-client-list {
  display: grid;
  gap: 8px;
  max-height: 620px;
  overflow-y: auto;
}

.message-client-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: #101216;
  color: var(--ink);
  text-align: left;
}

.message-client-card:hover,
.message-client-card.is-active {
  border-color: rgba(255, 122, 26, 0.48);
  background: rgba(255, 122, 26, 0.07);
}

.message-client-card > span:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.message-client-card small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-client-signals {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.message-composer {
  position: sticky;
  top: 18px;
}

.message-selected-client {
  min-height: 78px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.message-selected-client h2,
.message-selected-client p {
  margin-bottom: 4px;
}

.message-composer textarea {
  min-height: 280px;
  resize: vertical;
}

.account-summary strong {
  font-size: 26px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row.compact {
  align-items: center;
}

.product-form {
  display: grid;
  gap: 12px;
}

.product-form-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.product-form-wide h2,
.product-form-wide .form-row,
.product-form-wide .product-upload-preview,
.product-form-wide .form-actions,
.product-form-wide .form-row.compact {
  grid-column: 1 / -1;
}

.product-form-wide .product-upload-preview {
  min-height: 84px;
}

.product-admin-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.product-status-button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
  font-weight: 800;
}

.product-status-button.is-active {
  border-color: rgba(53, 208, 127, 0.55);
  background: rgba(53, 208, 127, 0.22);
  color: #8ff0bc;
}

.product-status-button.is-inactive {
  border-color: rgba(255, 91, 110, 0.55);
  background: rgba(255, 91, 110, 0.18);
  color: #ffb6bf;
}

.billing-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.billing-summary-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
}

.billing-total strong {
  font-size: 18px;
}

.billing-value-grid,
.billing-stage-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.billing-value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billing-stage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-value,
.billing-stage {
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.billing-value small,
.billing-stage small,
.billing-stage span {
  color: var(--muted);
  font-size: 11px;
}

.billing-value.effective,
.billing-stage.confirmed {
  border-color: rgba(53, 208, 127, 0.45);
}

.billing-value.risk {
  border-color: rgba(255, 176, 32, 0.45);
}

.billing-stage.sent {
  border-color: rgba(255, 176, 32, 0.45);
}

.export-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.export-action {
  display: grid;
  gap: 5px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #111318;
  color: var(--ink);
  text-align: left;
}

.export-action:hover {
  border-color: rgba(255, 122, 24, 0.55);
  background: rgba(255, 122, 24, 0.08);
}

.export-action span {
  color: var(--muted);
  font-size: 12px;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-label input {
  width: auto;
  min-height: auto;
}

.form-actions,
.panel-header,
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
}

.panel-header {
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

.filters {
  flex-wrap: wrap;
}

.filters input,
.filters select {
  width: 165px;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-gutter: stable;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.table-empty-state {
  padding: 28px 16px;
  text-align: center;
}

td {
  color: var(--ink);
}

.auth-dialog {
  width: min(440px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.confirm-dialog {
  width: min(440px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.confirm-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.confirm-card h2 {
  margin: 14px 0 8px;
}

.confirm-card p {
  color: var(--muted);
  line-height: 1.55;
}

.auth-card {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: calc(100dvh - 28px);
  display: grid;
  gap: 13px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow-x: hidden;
  overflow-y: auto;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111318;
  color: var(--ink);
}

.link-button {
  border: 0;
  color: #ffd2af;
  background: transparent;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 13px 16px;
  border-radius: 8px;
  background: #f6f1eb;
  color: #17191f;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast[data-tone="success"] {
  border-left: 4px solid var(--success);
}

.toast[data-tone="danger"] {
  border-left: 4px solid var(--danger);
}

.toast[data-tone="warn"] {
  border-left: 4px solid var(--warn);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .toolbar,
  .split-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-body,
  .export-action-grid {
    grid-template-columns: 1fr;
  }

  .billing-summary-grid {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .panel-header,
  .catalog-group-header,
  .catalog-visual-guide {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .catalog-guide-signals {
    justify-content: flex-start;
  }

  .split-layout > *,
  .admin-grid > *,
  .feedback-layout > *,
  .account-grid > *,
  .catalog-group-grid > *,
  .payment-grid > *,
  .missing-grid > *,
  .dashboard-grid > * {
    min-width: 0;
  }

  .app-header {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(16, 17, 21, 0.96);
  }

  .campaign-timer {
    position: static;
    grid-template-columns: 1fr;
  }

  .timer-units {
    justify-content: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand > div {
    display: grid;
    min-width: 0;
  }

  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-button {
    display: grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #191b21;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .mobile-menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-panel {
    position: fixed;
    z-index: 42;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(340px, calc(100vw - 24px));
    height: 100dvh;
    border-left: 1px solid var(--line);
    padding: 14px;
    background: #17191f;
    box-shadow: -20px 0 52px rgba(0, 0, 0, 0.52);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.24s ease, visibility 0.24s;
  }

  .mobile-nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 14px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-head div {
    display: grid;
    gap: 2px;
  }

  .mobile-nav-head small {
    color: var(--muted);
  }

  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #20232b;
    color: var(--ink);
    font-size: 25px;
  }

  .mobile-nav-panel .nav-tabs {
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 14px 0;
    overflow-y: auto;
  }

  .mobile-nav-panel .nav-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    border-color: transparent;
    padding: 9px 11px;
    background: transparent;
    color: #dfe2e8;
    text-align: left;
  }

  .mobile-nav-panel .nav-button:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
  }

  .mobile-nav-panel .nav-button.is-active {
    border-color: rgba(255, 122, 24, 0.34);
    background: rgba(255, 122, 24, 0.13);
    color: #ffd2af;
  }

  .mobile-nav-panel .session-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px 2px 2px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-panel .session-actions #sessionName {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-backdrop {
    position: fixed;
    z-index: 39;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s;
  }

  .mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .highlight-strip,
  .how-grid,
  .help-grid,
  .feedback-layout,
  .dashboard-grid,
  .catalog-group-grid,
  .campaign-banner,
  .payment-grid,
  .missing-grid,
  .account-grid,
  .radar-grid,
  .receipt-grid,
  .export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
  }

  .auth-dialog,
  .confirm-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .auth-card,
  .confirm-card {
    max-height: calc(100dvh - 20px);
    padding: 18px;
  }

  .auth-card h2 {
    padding-right: 38px;
  }

  .check-label {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.4;
  }

  .check-label input {
    margin-top: 3px;
    flex: 0 0 auto;
  }

  input[type="file"] {
    font-size: 12px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs,
  .material-filter {
    width: calc(100% + 14px);
    max-width: calc(100% + 14px);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .admin-tabs {
    margin-right: -14px;
  }

  .admin-tabs .filter-chip,
  .material-filter .filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .toolbar > button,
  .toolbar .primary-button {
    width: 100%;
  }

  .form-actions,
  .feedback-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions button,
  .feedback-actions button,
  .feedback-actions select,
  .feedback-actions input {
    width: 100%;
    max-width: 100%;
  }

  .feedback-actions input {
    flex: 0 0 auto;
    min-height: 42px;
    height: 42px;
  }

  .product-title,
  .progress-copy {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .home-hero {
    min-height: 540px;
  }

  .home-hero-copy {
    padding: 22px;
  }

  .home-hero p {
    font-size: 16px;
  }

  .hero-actions button {
    flex: 1 1 150px;
  }

  .price {
    white-space: normal;
  }

  .timer-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .timer-unit {
    min-width: 0;
    padding-inline: 5px;
  }

  .campaign-timer {
    padding-inline: 14px;
  }

  .panel,
  .product-card,
  .order-card,
  .missing-card,
  .payment-card,
  .receipt-card,
  .billing-summary-card,
  .admin-order-card {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: contain;
  }

  td,
  th {
    padding: 9px 8px;
  }

  .product-upload-preview,
  .feedback-image-preview {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .feedback-admin-image,
  .feedback-preview-thumb {
    max-width: 100%;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .pix-copy {
    min-height: 110px;
  }

  .toast {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 14px;
    padding-bottom: 28px;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .highlight-strip,
  .how-grid,
  .help-grid,
  .feedback-layout,
  .dashboard-grid,
  .home-band,
  .catalog-group-grid,
  .campaign-banner,
  .payment-grid,
  .missing-grid,
  .account-grid,
  .radar-grid,
  .receipt-grid,
  .export-grid,
  .lot-split,
  .missing-buy-row,
  .proof-row,
  .pix-box,
  .admin-edit-qty,
  .buy-row,
  .form-row,
  .edit-order-row {
    grid-template-columns: 1fr;
  }

  .product-form-wide {
    grid-template-columns: 1fr;
  }

  .admin-order-head,
  .billing-summary-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-order-user,
  .billing-total {
    text-align: left;
  }

  .admin-qty-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-quantity-stepper {
    width: 100%;
  }

  .billing-stage-grid {
    grid-template-columns: 1fr;
  }

  .tip-side {
    justify-items: start;
  }

  .tip-slide {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tip-controls {
    position: static;
    width: fit-content;
    margin: 0 0 16px 18px;
  }

  .tip-labels {
    justify-content: flex-start;
  }

  .cart-actions {
    justify-content: flex-start;
  }

  .cart-price {
    text-align: left;
  }

  .user-feedback-row,
  .audit-row,
  .announcement-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-row {
    display: grid;
  }

  .payment-status-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .list-product,
  .missing-card-header {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .product-thumb {
    width: 50px;
    height: 50px;
  }

  .filters input,
  .filters select {
    width: 100%;
  }
}

/* Experience structure: administration and accessibility */
.admin-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.11), rgba(255, 79, 125, 0.04)),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-overview h2 {
  margin-bottom: 5px;
}

.admin-overview p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-overview-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.dashboard-card {
  position: relative;
  min-height: 118px;
  border-radius: var(--radius-md);
  text-align: left;
}

.dashboard-card::after {
  content: "Abrir";
  position: absolute;
  right: 15px;
  bottom: 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-card strong {
  font-size: 30px;
}

.admin-tabs {
  position: static;
}

.admin-tab-panel > .panel:first-child,
.admin-tab-panel > .admin-grid:first-child {
  margin-top: 4px;
}

.admin-tab-panel .panel > .eyebrow:first-child,
.product-form > .eyebrow:first-child {
  margin-bottom: 6px;
}

.filters {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.filters input,
.filters select {
  min-height: 40px;
}

.close-button:focus-visible,
.favorite-button:focus-visible,
.icon-button:focus-visible {
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .admin-tabs {
    position: static;
  }

  .admin-overview {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-overview-actions {
    flex-wrap: wrap;
  }

  .message-toolbar,
  .message-layout {
    grid-template-columns: 1fr;
  }

  .message-composer {
    position: static;
  }
}

@media (max-width: 640px) {
  .admin-overview {
    padding: 17px;
  }

  .admin-overview-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-overview-actions button {
    width: 100%;
  }

  .dashboard-card {
    min-height: 100px;
  }

  .message-client-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-client-signals {
    justify-content: flex-start;
  }

  .message-composer .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  .top-shell,
  .top-shell-spacer,
  .site-footer,
  .nav-tabs,
  .toolbar button,
  .ghost-button,
  .primary-button,
  .toast {
    display: none !important;
  }

  body {
    background: white;
    color: #111;
  }

  main {
    max-width: none;
    padding: 0;
  }

  .panel,
  .receipt-card,
  .order-card {
    border-color: #ccc;
    background: white;
    box-shadow: none;
    color: #111;
  }
}

/* Experience structure: catalog, cart and orders */
.highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
}

.highlight-card h2 {
  margin: 8px 0 0;
  font-size: 17px;
}

.highlight-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.highlight-card .ghost-button {
  grid-row: 1;
  grid-column: 2;
}

.catalog-group {
  gap: 18px;
}

.catalog-group-grid {
  gap: 20px;
}

.product-card {
  grid-template-rows: 178px 1fr;
}

.product-body {
  align-content: start;
  gap: 13px;
  padding: 17px;
}

.product-title h3 {
  font-size: 17px;
}

.product-title .price {
  color: #ffd4b5;
  font-size: 16px;
}

.product-color-line {
  font-size: 12px;
}

.product-status-meta {
  min-height: 24px;
}

.product-card .notice {
  min-height: 38px;
  margin: -3px 0 0;
  font-size: 12px;
}

.product-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.product-details summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.product-details summary:hover {
  color: var(--ink);
}

.product-details-content {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.product-details-content .ghost-button {
  justify-self: start;
  margin-top: 5px;
}

.empty-state {
  display: grid;
  justify-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 20px;
  text-align: center;
}

.empty-state-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(67, 213, 138, 0.12);
  color: var(--success);
  font-size: 20px;
  font-weight: 900;
}

.empty-state h2 {
  margin-bottom: 7px;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
}

.cart-row {
  padding: 16px 0;
}

.summary-panel {
  border-color: rgba(255, 122, 26, 0.25);
}

.summary-panel .primary-button {
  margin-top: 8px;
}

.orders-section-heading {
  margin: 30px 0 14px;
}

.orders-section-heading h2 {
  margin-bottom: 0;
}

.payment-card {
  min-height: 150px;
}

.payment-card h2 {
  margin: 12px 0 5px;
  font-size: 16px;
}

.payment-card > p:not(.muted) {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 900;
}

.order-card {
  padding: 20px;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.order-card-head h2 {
  margin-bottom: 3px;
  font-size: 26px;
}

.order-card-head p {
  margin-bottom: 0;
  font-size: 12px;
}

@media (max-width: 980px) {
  .catalog-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .highlight-card {
    grid-template-columns: 1fr;
  }

  .highlight-card .ghost-button {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
  }

  .catalog-group-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 190px 1fr;
  }

  .order-card-head {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Visual foundation v2: shared tokens and component polish */
:root {
  --bg: #0b0c0f;
  --surface: #14161b;
  --surface-2: #1a1d23;
  --surface-3: #21242c;
  --ink: #f7f7f5;
  --muted: #a3a7b1;
  --line: #2a2e37;
  --line-strong: #3b404b;
  --primary: #ff7a1a;
  --primary-dark: #e8660d;
  --accent: #ff4f7d;
  --info: #68aefc;
  --purple: #b19afa;
  --warn: #f5b942;
  --danger: #ff6879;
  --success: #43d58a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 122, 26, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(255, 79, 125, 0.08), transparent 28rem),
    var(--bg);
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
select,
textarea {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.28);
  outline-offset: 2px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button[aria-busy="true"] {
  cursor: wait;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: rgba(255, 104, 121, 0.78);
}

main,
.site-footer {
  max-width: 1280px;
}

main {
  padding-top: 32px;
  padding-bottom: 72px;
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.015em;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

h2 {
  line-height: 1.2;
}

p {
  line-height: 1.6;
}

.muted,
.notice,
.toolbar p {
  color: var(--muted);
}

.toolbar {
  align-items: center;
  margin-bottom: 26px;
}

.toolbar p {
  max-width: 680px;
  margin-bottom: 0;
}

.app-header {
  gap: 24px;
  padding: 12px 24px;
  background: rgba(11, 12, 15, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(125%);
}

.app-header.header-scrolled {
  background: rgba(11, 12, 15, 0.97);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
}

.brand {
  gap: 10px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  font-size: 11px;
}

.nav-tabs {
  gap: 4px;
}

.nav-button,
.ghost-button,
.link-button {
  min-height: 42px;
  border-color: transparent;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  background: transparent;
  color: #d9dce2;
  font-weight: 700;
}

.nav-button:hover,
.ghost-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.nav-button.is-active {
  border-color: rgba(255, 122, 26, 0.34);
  background: rgba(255, 122, 26, 0.12);
  color: #ffd4b5;
}

.ghost-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.link-button {
  min-height: auto;
  padding: 7px 4px;
  color: #ffc39a;
}

.link-button:hover {
  color: var(--primary);
}

.campaign-timer {
  padding: 8px 24px;
  border-bottom-color: rgba(255, 255, 255, 0.07);
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.12), rgba(255, 79, 125, 0.07)), rgba(11, 12, 15, 0.94);
}

.timer-unit {
  min-width: 58px;
  border-color: rgba(255, 122, 26, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.announcement-bar {
  border-bottom-color: rgba(104, 174, 252, 0.2);
  background: rgba(104, 174, 252, 0.08);
}

.panel,
.product-card,
.highlight-card,
.payment-card,
.missing-card,
.radar-card,
.receipt-card,
.order-card,
.admin-order-card,
.billing-summary-card,
.notification-card,
.how-card,
.help-card {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 45%), var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel {
  padding: 22px;
  margin-bottom: 20px;
}

.panel h2:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.product-card,
.how-card,
.help-card,
.highlight-card,
.payment-card,
.missing-card,
.radar-card,
.receipt-card,
.dashboard-card,
.export-action {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.product-card:hover,
.how-card:hover,
.help-card:hover,
.highlight-card:hover,
.missing-card:hover,
.dashboard-card:hover,
.export-action:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-hero {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.home-hero::after {
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.96), rgba(8, 9, 11, 0.65) 54%, rgba(8, 9, 11, 0.24));
}

.home-hero-copy {
  max-width: 680px;
}

.hero-kicker {
  letter-spacing: 0.1em;
  font-size: 12px;
}

.how-grid,
.help-grid,
.highlight-strip,
.payment-grid,
.missing-grid,
.account-grid,
.radar-grid,
.receipt-grid,
.export-grid,
.dashboard-grid {
  gap: 16px;
}

.how-card,
.help-card {
  padding: 20px;
}

.step-number {
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(255, 122, 26, 0.22);
}

.catalog-visual-guide,
.reservation-alert,
.system-alert {
  border-radius: var(--radius-md);
}

.catalog-visual-guide {
  border-color: rgba(104, 174, 252, 0.2);
  background: rgba(104, 174, 252, 0.055);
}

.filter-chip {
  min-height: 40px;
  border-color: var(--line);
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.025);
  color: #dfe1e6;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.filter-chip.is-active {
  border-color: rgba(255, 122, 26, 0.38);
  background: rgba(255, 122, 26, 0.12);
}

.admin-tabs {
  gap: 6px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

input,
select,
textarea {
  min-height: 46px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #101216;
  color: var(--ink);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 122, 26, 0.7);
  background: #121419;
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.09);
}

textarea {
  line-height: 1.55;
}

label {
  gap: 7px;
  color: #bfc2ca;
  font-size: 13px;
  font-weight: 700;
}

::placeholder {
  color: #707580;
  opacity: 1;
}

.primary-button {
  min-height: 44px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.16);
  color: #160b03;
  font-weight: 900;
}

.primary-button:hover {
  border-color: #ff913f;
  background: #ff913f;
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.24);
  transform: translateY(-1px);
}

.primary-button:active,
.ghost-button:active,
.filter-chip:active,
.nav-button:active {
  transform: translateY(0);
}

.badge {
  min-height: 24px;
  padding: 3px 8px;
  background: var(--surface-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.progress-bar {
  height: 8px;
  background: #292d35;
}

.progress-bar span {
  background: linear-gradient(90deg, var(--primary), #ff9d53);
}

.progress-copy {
  font-size: 12px;
}

.quantity-stepper,
.cart-quantity {
  min-height: 44px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: #101216;
}

.qty-button {
  min-height: 44px;
}

.qty-field input {
  min-height: 44px;
}

.system-alert {
  border-color: rgba(245, 185, 66, 0.32);
  background: rgba(245, 185, 66, 0.09);
  color: #f8d993;
}

.system-alert.danger {
  border-color: rgba(255, 104, 121, 0.32);
  background: rgba(255, 104, 121, 0.09);
  color: #ffbcc4;
}

.order-card.closed,
.order-card.pending {
  border-left-width: 4px;
}

.lot-box,
.payment-status-card,
.billing-value,
.billing-stage,
.admin-order-values span {
  border-radius: var(--radius-sm);
}

.summary-panel {
  position: sticky;
  top: calc(var(--top-shell-height) + 18px);
}

.summary-row {
  padding: 14px 0;
}

.summary-row strong {
  color: var(--ink);
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #101216;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 13px 12px;
  border-bottom-color: var(--line);
}

th {
  background: rgba(255, 255, 255, 0.025);
  color: #aeb2bc;
  font-size: 11px;
  letter-spacing: 0.05em;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.018);
}

.auth-dialog,
.confirm-dialog {
  border-radius: var(--radius-lg);
}

.auth-dialog::backdrop,
.confirm-dialog::backdrop {
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(5px);
}

.auth-card,
.confirm-card {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: #f7f7f5;
  box-shadow: var(--shadow);
  font-weight: 700;
}

@media (max-width: 980px) {
  .app-header {
    padding: 10px 14px;
  }

  .mobile-menu-button,
  .mobile-menu-close {
    border-radius: var(--radius-sm);
  }

  .mobile-nav-panel {
    border-left-color: var(--line);
    background: var(--surface);
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 22px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .panel {
    padding: 17px;
  }

  .home-hero {
    min-height: 500px;
  }

  .home-hero-copy {
    padding: 22px;
  }

  .primary-button,
  .ghost-button,
  .nav-button {
    min-height: 46px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Experience structure: navigation and home */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-button-primary {
  color: #ffd4b5;
}

.nav-button-secondary {
  color: var(--muted);
  font-size: 13px;
}

.nav-indicator {
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding-inline: 5px;
  font-size: 10px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  color: #f7a66d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 16px;
}

.section-heading.compact {
  align-items: center;
  margin: 0 0 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.home-status-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.home-status-card {
  display: grid;
  gap: 6px;
  min-height: 144px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-status-card strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.home-status-card small {
  color: var(--muted);
}

.home-status-card-primary {
  border-color: rgba(255, 122, 26, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.14), rgba(255, 79, 125, 0.05)),
    var(--surface);
}

.home-status-action {
  align-content: space-between;
}

.home-status-action .primary-button {
  justify-self: start;
}

.how-card h2 {
  font-size: 17px;
}

.how-card p {
  margin-bottom: 0;
  font-size: 13px;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .brand {
    min-width: 170px;
  }

  .brand small {
    display: none;
  }

  .nav-button {
    padding-inline: 9px;
    font-size: 12px;
  }

  .session-actions {
    min-width: 130px;
  }
}

@media (max-width: 980px) {
  .mobile-nav-panel .nav-button-secondary {
    color: #c7cad1;
  }

  .home-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-status-action {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .home-status-grid {
    grid-template-columns: 1fr;
  }

  .home-status-action {
    grid-column: auto;
  }

  .home-status-card {
    min-height: auto;
    padding: 17px;
  }

  .section-heading,
  .section-heading.compact {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading button {
    width: 100%;
  }
}
