@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/Roboto-Light.ttf") format("truetype");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Roboto-Medium.ttf") format("truetype");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Roboto-Bold.ttf") format("truetype");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/Roboto-Black.ttf") format("truetype");
}

:root {
  --yellow: #FFC107;
  --yellow-dark: #E6AC00;
  --yellow-light: #FFF8E1;
  --coal: #1A1A1A;
  --coal-2: #333333;
  --bg: #FAFAFA;
  --field: #F5F5F5;
  --text: #000000;
  --muted: #616161;
  --line: #E0E0E0;
  --error: #D32F2F;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-home: 20px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font-family: Roboto, system-ui, sans-serif;
  overflow-x: hidden; max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.phone {
  min-height: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  box-shadow: none;
  width: 100%;
  overflow-x: hidden;
}
@media (min-width: 561px) {
  html, body { background: #f0f0f0; }
  .phone { box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
}
html.embed-app,
html.embed-app body {
  background: var(--bg);
}
html.embed-app .phone {
  max-width: 100%;
  box-shadow: none;
}

.splash {
  position: fixed; inset: 0; z-index: 50; background: #000; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.splash-logo {
  width: min(280px, 72vw); height: auto; max-height: 55vh;
  object-fit: contain; transform: scale(0.75);
}

.phone.home-screen main { padding: 0; }
.phone.auth-mode main { padding: 0 !important; overflow: hidden; }
.phone.auth-mode { background: #2a2a2a; }
.home-stack { padding-bottom: 88px; }
.home-block { width: 100%; }
.home-block-pad { padding: 0 16px; box-sizing: border-box; }
.home-block[data-block="orders"] { margin-top: 0; }
.home-block[data-block="vin"] { margin-top: 12px; }
.home-block[data-block="car"] { margin-top: 10px; }
.home-block[data-block="expert"] { margin-top: 12px; }
.home-block[data-block="map"],
.home-block[data-block="promos"],
.home-block[data-block="about"] { margin-top: 16px; }
.home-head {
  background: #fff; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 12px;
}
.home-body { padding: 0 16px 88px; }
.home-search { display: flex; align-items: center; gap: 10px; }
.home-search .home-logo-wrap {
  padding: 4px; flex: none; line-height: 0;
}
.home-search .home-logo {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover; display: block;
  background: #000; user-select: none; touch-action: none;
}
.home-search .search-wrap {
  flex: 1; display: flex; align-items: center; background: var(--field);
  border-radius: 12px; padding: 4px; min-height: 48px;
  border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
.home-search .search-wrap:focus-within {
  background: #fff; border-color: var(--yellow-dark);
}
.home-search input {
  flex: 1; border: 0; background: transparent; font-size: 14px; outline: none; min-width: 0;
  padding: 12px 14px; color: #000;
}
.home-search input::placeholder { color: var(--muted); }
.home-search .search-go {
  width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--yellow);
  display: grid; place-items: center; flex: none; color: #fff;
}
.home-search .search-go .material-icons { color: #fff; font-size: 22px; }

.home-suggest {
  margin-top: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.home-suggest button {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px; text-align: left;
}
.home-suggest button:last-child { border-bottom: 0; }
.home-suggest .sg-ic {
  width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex: none;
}
.home-suggest .sg-ic .material-icons-outlined { color: var(--yellow); font-size: 20px; }
.home-suggest .sg-ic img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.home-suggest .sg-body { flex: 1; min-width: 0; }
.home-suggest .sg-body b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-suggest .sg-body small { color: var(--muted); font-size: 12px; }
.home-suggest .sg-chev { color: var(--muted); font-size: 18px; }

.order-track { padding: 12px 0 0; }
.order-track-card {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: left;
}
.order-track-head {
  width: 100%; border: 0; background: transparent; padding: 0;
  display: flex; align-items: center; gap: 8px; text-align: left;
}
.order-track-title { font-weight: 800; font-size: 14px; }
.order-badge {
  background: var(--field); border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700;
}
.order-track-status { margin-left: auto; font-weight: 700; font-size: 12px; color: var(--text); max-width: 40%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.order-track-chev { color: var(--muted); font-size: 22px; flex: none; }
.order-progress {
  margin-top: 10px; display: flex; gap: 4px; align-items: center;
}
.order-progress i {
  flex: 1; height: 4px; border-radius: 4px; background: var(--line); font-style: normal;
}
.order-progress i.on { background: var(--yellow); }
.order-progress-labels {
  display: flex; justify-content: space-between; gap: 4px; margin-top: 6px;
  font-size: 10px; color: var(--muted); font-weight: 600;
}
.order-track-list { margin-top: 8px; }
.order-track-item {
  width: 100%; border: 0; background: transparent; padding: 10px 0 0; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
}
.order-track-item-row { display: flex; align-items: center; gap: 8px; }

.vin-clip { height: 104px; overflow: hidden; margin: 0; padding: 0; }
.vin-card {
  background: var(--coal); color: #fff; border-radius: 20px; padding: 8px 12px;
  height: 104px; box-sizing: border-box; box-shadow: none;
  display: flex; flex-direction: column; justify-content: center;
}
.vin-card h3 { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-align: center; line-height: 1.2; }
.vin-row { display: flex; gap: 8px; align-items: stretch; }
.vin-row .vin-input {
  flex: 1; margin: 0; background: #fff; color: #000; border-radius: 12px;
  font-size: 14px; padding: 10px 12px; border: 0; outline: none;
}
.vin-row .vin-go {
  height: 44px; width: 44px; border: 0; border-radius: 12px; padding: 0;
  background: var(--yellow); color: #000; display: grid; place-items: center; flex: none;
}
.vin-row .vin-go .material-icons { color: #000; font-size: 22px; }

.car-select, .go-catalog {
  width: 100%; border: 0; text-align: left; background: var(--coal); color: #fff;
  border-radius: 16px; padding: 8px 6px 8px 10px; display: flex; gap: 12px; align-items: center;
  margin-bottom: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.go-catalog { padding: 10px; margin-top: 10px; }
.car-select-ic, .go-catalog-ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.car-select-ic .material-icons, .go-catalog-ic .material-icons-outlined { color: #000; font-size: 22px; }
.car-select-body { flex: 1; min-width: 0; }
.car-select-body b {
  display: block; font-size: 15px; font-weight: 800; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-select-body small {
  display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-select-clear {
  border: 0; background: transparent; color: rgba(255,255,255,.7); width: 40px; height: 40px;
  display: grid; place-items: center; flex: none; border-radius: 10px;
}
.car-select-chev, .go-catalog-chev { color: rgba(255,255,255,.54); font-size: 22px; flex: none; margin-right: 6px; }
.go-catalog b {
  flex: 1; font-size: 15px; font-weight: 800; line-height: 1.2; text-align: left;
}

/* legacy aliases */
.car-row { display: none; }
.car-mini { display: none; }

.card-title-sm { font-size: 16px; font-weight: 600; display: block; }
.expert-block.card.home { padding: 18px; margin-bottom: 0; }
.expert-block .expert-actions { display: flex; gap: 8px; margin-top: 14px; align-items: stretch; }
.brand-btn {
  flex: 1; border: 0; border-radius: 14px; height: 48px; padding: 0 6px;
  font-weight: 800; font-size: 12px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none; min-width: 0; white-space: nowrap;
}
.brand-btn .material-icons-outlined { font-size: 18px; flex: none; }
.brand-btn .brand-ic { width: 18px; height: 18px; flex: none; display: block; }
.brand-btn.wa { background: #25D366; }
.brand-btn.ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.brand-btn.expert { flex: 2; background: var(--yellow); color: #000; font-size: 12px; }
.brand-btn.expert .material-icons-outlined { color: #000; }
.brand-btn:disabled { opacity: .45; }
.expert-block p.expert-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.35; }

.catalog-title { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.about-card.card.home { padding: 16px; margin-bottom: 0; }
.about-card .catalog-title { text-align: left; margin-bottom: 12px; }
.section-title { font-size: 18px; font-weight: 700; margin: 0 0 12px; text-align: center; }

.map-card {
  background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden; margin-bottom: 0;
}
.map-card .section-title { margin: 16px 16px 0; }
.map-layer-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 16px;
  background: var(--field); border-radius: 12px; padding: 4px;
}
.map-layer-toggle button {
  border: 0; background: transparent; border-radius: 10px; padding: 10px 8px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.map-layer-toggle button .material-icons-outlined { font-size: 18px; color: inherit; }
.map-layer-toggle button.on { background: #fff; color: #000; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.map-layer-toggle button.on .material-icons-outlined { color: var(--yellow); }
.map-pick-btn {
  margin: 0 16px 12px; width: calc(100% - 32px); height: 44px; border: 0; border-radius: 12px;
  background: var(--yellow-light); color: #000; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.map-pick-btn .material-icons-outlined { color: var(--yellow); }
.map-card #map { height: 300px; border-radius: 0; margin: 0; }
.map-empty { padding: 10px 16px 14px; color: var(--muted); font-size: 14px; }

.promo-wrap { margin-bottom: 0; }
.promo-carousel {
  position: relative; aspect-ratio: 16 / 7; border-radius: 20px; overflow: hidden;
  background: var(--coal);
}
.promo-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .42s cubic-bezier(0.33, 1, 0.68, 1);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 12px 16px; color: #fff; background: linear-gradient(to bottom right, #E52628, #C62828);
  background-size: cover; background-position: center;
}
.promo-slide.on { opacity: 1; z-index: 1; }
.promo-slide.has-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, var(--promo-dim-top, 0.15)),
    rgba(0, 0, 0, var(--promo-dim-bottom, 0.55))
  );
}
.promo-slide > * { position: relative; z-index: 1; }
.promo-slide b { font-size: 16px; font-weight: 800; display: block; line-height: 1.25; }
.promo-slide span { font-size: 12px; opacity: .9; margin-top: 4px; display: block; line-height: 1.3; }
.promo-dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
.promo-dots i {
  width: 7px; height: 7px; border-radius: 8px; background: #bdbdbd; font-style: normal;
  margin: 0 3px; transition: width .2s;
}
.promo-dots i.on { width: 16px; background: var(--yellow-dark); }
.cat-grid-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cat-grid-wide .cat-wide { width: 100%; }
.btn.ghost {
  width: auto; height: 40px; padding: 0 12px; margin-bottom: 10px;
  background: transparent; border: 1px solid var(--line); color: #000; font-size: 14px;
}
.unit-row {
  display: flex; gap: 12px; align-items: center; width: 100%;
  background: #fff; border: 0; border-radius: 16px; padding: 10px; margin-bottom: 8px; text-align: left;
}
.unit-thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: #f5f5f5; flex: none; }
.unit-draw { position: relative; background: #fff; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.unit-draw img { width: 100%; display: block; }
.hotspot {
  position: absolute; border: 1.5px solid #111; box-sizing: border-box; background: transparent;
}
.hotspot.on { border-color: var(--yellow); border-width: 3px; background: rgba(255,193,7,.28); }
.detail-row.on { background: rgba(255,193,7,.2); }
.cat-wide {
  border: 0; text-align: left; border-radius: 14px; padding: 10px;
  background: rgba(255, 193, 7, 0.1); display: flex; align-items: center; gap: 10px;
}
.cat-wide-ic {
  width: 40px; height: 40px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; flex: none;
}
.cat-wide-ic .material-icons-outlined { color: var(--yellow); font-size: 22px; }
.cat-wide-label { font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--text); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card {
  background: var(--bg); border-radius: 14px; padding: 14px; text-align: left;
  aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: center;
}
.stat-card b {
  display: block; font-size: 18px; font-weight: 800; color: var(--yellow); margin-bottom: 4px;
}
.stat-card span { color: var(--muted); font-size: 12px; line-height: 1.25; }

.tile {
  width: 100%; border: 0; background: #fff; border-radius: 16px; padding: 14px;
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: left;
}
.tile-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; flex: none;
}
.tile-icon .material-icons-outlined { color: var(--yellow); }
.tile-body { flex: 1; min-width: 0; }
.tile-body b { display: block; font-size: 15px; }
.tile-body small { color: var(--muted); font-size: 12px; }
.tile .chev { color: var(--yellow); font-size: 22px; }
.tile-danger .tile-icon .material-icons-outlined { color: var(--error); }
.tile-danger .tile-body b { color: var(--error); }

.profile-card {
  background: #fff; border-radius: 20px; padding: 16px; margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.profile-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.profile-card-head .gift {
  width: 44px; height: 44px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center;
}
.profile-card-head .gift .material-icons { color: #000; }
.barcode-box {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center;
  background: #fff;
}
.barcode-lines {
  height: 56px; background: repeating-linear-gradient(
    90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px
  ); margin-bottom: 8px; border-radius: 4px;
}
.barcode-code { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.profile-note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.35; }

.ref-row {
  display: flex; align-items: center; gap: 8px; background: var(--field);
  border-radius: 12px; padding: 12px 14px; margin: 10px 0;
}
.ref-row code { flex: 1; font-size: 14px; font-weight: 700; }
.ref-copy { border: 0; background: transparent; color: var(--yellow); padding: 4px; }

.cart-seg {
  display: flex; background: var(--field); border-radius: 999px; padding: 4px; margin-bottom: 16px;
}
.cart-seg button {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px 8px;
  font-weight: 600; font-size: 13px; color: var(--muted); display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.cart-seg button.on { background: var(--yellow-light); color: #000; font-weight: 700; }

.pick-card {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start;
  text-align: left;
}
.pick-card.on { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.pick-card .store-ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--yellow-light);
  display: grid; place-items: center; flex: none;
}
.pick-card .store-ic .material-icons-outlined { color: var(--yellow-dark); font-size: 22px; }
.pick-card h4 { margin: 0 0 4px; font-size: 15px; }
.pick-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.35; }
.pick-card .when { color: #e65100; font-size: 12px; font-weight: 600; margin-top: 6px; }
.pick-radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line);
  margin-left: auto; flex: none; position: relative;
}
.pick-card.on .pick-radio { border-color: #2e7d32; background: #2e7d32; }
.pick-card.on .pick-radio::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 800; line-height: 1;
}
.pick-note { font-size: 12px; color: #e65100; margin: 4px 0 0; line-height: 1.4; }

/* Auth как в APK: фото склада + логотип + белая карточка снизу */
.auth-layout {
  position: relative;
  min-height: 100dvh;
  margin: 0 -16px;
  background: #2a2a2a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone.home-screen .auth-layout,
.phone .auth-layout { margin: 0; }
.auth-layout-bg {
  position: absolute; inset: 0;
  background: #2a2a2a url("/assets/auth_shelf.webp") top center / cover no-repeat;
}
.auth-layout-shade {
  position: absolute; left: 0; right: 0; top: 0; height: calc(64px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(0,0,0,.6), transparent);
}
.auth-layout-head {
  position: relative; z-index: 2;
  padding: calc(8px + env(safe-area-inset-top)) 24px 8px;
  display: flex; justify-content: center;
}
.auth-logo-chip {
  /* Flutter Color(0xE0454545) — AARRGGBB */
  background: #454545e0; border-radius: 12px; padding: 8px 20px 10px;
}
.auth-logo-chip img {
  height: 40px; width: auto; display: block;
  /* чёрный фон логотипа → прозрачный (как ColorFilter knockout в APK) */
  mix-blend-mode: lighten;
}
.auth-layout-spacer { position: relative; z-index: 1; flex: 1; min-height: 170px; }
.auth-layout-card {
  position: relative; z-index: 2;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 28px 24px calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 0;
}
.auth-layout-card .auth-title {
  margin: 0; text-align: center; font-size: 24px; font-weight: 700; color: #000;
}
.auth-layout-card .auth-sub {
  margin: 10px 0 0; text-align: center; font-size: 15px; line-height: 1.4; color: var(--muted);
}
.auth-layout-card .auth-body { margin-top: 24px; }
.auth-layout-back {
  position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top)); left: 4px;
  border: 0; background: transparent; color: #fff; width: 44px; height: 44px;
  display: grid; place-items: center;
}
.auth-layout .field {
  background: #f1f1f1; border: 1px solid #dadada; border-radius: 10px;
  padding: 17px 18px; font-size: 18px; color: #000; margin-bottom: 14px;
}
.auth-layout .field::placeholder { color: #6e6e6e; font-size: 18px; }
.auth-layout .field:focus {
  box-shadow: 0 0 0 2px var(--yellow); border-color: var(--yellow); background: #f1f1f1;
}
.auth-layout .btn {
  height: 58px; border-radius: 10px; font-size: 20px; font-weight: 700; margin-top: 4px;
  color: #000;
}
html.icons-black .nav button span.material-icons,
html.icons-black .nav button span.material-icons-outlined,
html.icons-black .home-search .search-go .material-icons,
html.icons-black .vin-go .material-icons,
html.icons-black .tile-icon .material-icons-outlined,
html.icons-black .icon-btn { color: #1a1a1a !important; }
.promo-slide { border: 0; width: 100%; cursor: pointer; text-align: center; font: inherit; color: #fff; }
.auth-layout .phone-row {
  display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px;
}
.auth-layout .phone-code {
  background: #f1f1f1; border-radius: 10px; padding: 0 14px;
  display: grid; place-items: center; font-size: 18px; font-weight: 600; flex: none;
}
.auth-layout .phone-row .field { flex: 1; margin: 0; }
.auth-layout .field-label {
  display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; color: #000;
}
.auth-layout .auth-switch {
  text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted);
}
.auth-layout .linkish {
  border: 0; background: transparent; color: #000; font-weight: 700; font-size: 14px; text-decoration: underline;
}
.auth-layout .auth-members {
  margin-top: 18px; width: 100%; border: 0; background: transparent; color: var(--muted);
  font-size: 13px; text-decoration: underline; padding: 8px;
}
.auth-layout .warmup-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; min-height: 16px; }
.auth-layout .otp-row { display: flex; gap: 6px; justify-content: center; margin: 8px 0 20px; flex-wrap: nowrap; }
.auth-layout .otp-cell input {
  width: 44px; height: 54px; text-align: center; font-size: 20px; font-weight: 700;
  border: 1px solid #dadada; border-radius: 10px; background: #f1f1f1;
}
.auth-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  padding: 4px 0 28px;
  overflow-x: hidden;
}
.auth-screen .auth-title { font-size: 22px; font-weight: 800; margin: 8px 0 8px; line-height: 1.25; }
.auth-card {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 8px 0 8px;
  box-sizing: border-box;
}
.home-search .home-logo {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none;
  background: #000;
}
.lang-screen {
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 8px 20px;
}
.lang-screen h1 {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
}
.lang-screen .lang-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 12px;
}
.lang-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 18px;
  width: 100%;
  text-align: left;
}
.lang-card.on {
  background: var(--yellow);
  border-color: var(--yellow);
}
.lang-card .flag { font-size: 28px; line-height: 1; }
.lang-gate {
  min-height: calc(100vh - 24px);
  display: flex;
  align-items: flex-end;
}
.lang-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 40;
  display: flex;
  align-items: flex-end;
}
.lang-panel {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 8px 8px calc(16px + env(safe-area-inset-bottom));
}
.lang-panel h2 {
  margin: 8px 12px 12px;
  font-size: 22px;
  font-weight: 800;
}
.lang-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}
.lang-row .flag { font-size: 28px; line-height: 1; }
.lang-radio {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #bdbdbd;
  color: transparent;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.lang-radio.on {
  background: #1fa855;
  border-color: #1fa855;
  color: #fff;
}
.lang-card .check { margin-left: auto; color: #000; opacity: .35; }
.lang-card.on .check { opacity: 1; }
.warmup-hint {
  min-height: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 4px;
}
.phone-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.phone-row .phone-code {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}
.phone-row .field { flex: 1; }
.otp-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 18px;
}
.otp-cell {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.otp-cell input {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 56px;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--field);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}
.otp-cell input:focus {
  outline: none;
  border-color: var(--yellow);
  background: #fff;
}
.auth-switch {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.auth-switch a, .auth-switch button.linkish {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 2px;
}
.muted { color: var(--muted); }
.auth-tabs button {
  border: 0; background: transparent; padding: 10px 0; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.auth-tabs button.on { color: #000; border-bottom-color: var(--yellow); font-weight: 700; }
.auth-seg {
  display: flex; background: var(--field); border-radius: 999px; padding: 4px; margin-bottom: 14px;
}
.auth-seg button {
  flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px;
  font-weight: 600; font-size: 13px; color: var(--muted);
}
.auth-seg button.on { background: var(--yellow-light); color: #000; }
.auth-forgot { display: block; text-align: right; color: var(--yellow-dark); font-weight: 600;
  font-size: 13px; margin: -4px 0 12px; border: 0; background: transparent; width: 100%; }
.policy-check {
  display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 14px;
  color: var(--muted); font-size: 12px; line-height: 1.4;
}
.policy-check input { width: 18px; height: 18px; accent-color: var(--yellow); flex: none; }
.policy-check a { color: var(--yellow-dark); font-weight: 700; }
.auth-members {
  margin-top: 28px;
  margin-bottom: 8px;
  width: 50%;
  align-self: center;
  border: 0; background: var(--coal); color: #fff;
  border-radius: 999px; padding: 10px 8px; font-weight: 700; font-size: 12px;
}
.page-top { padding: 4px 0 8px; }
.page-back { margin-left: -8px; }

.guest-profile {
  text-align: center; padding: 48px 8px 24px;
}
.guest-profile .guest-ic { font-size: 72px; color: var(--yellow); }
.guest-profile h2 { margin: 16px 0 8px; font-size: 20px; }
.guest-btn { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.admin-login-title { font-size: 22px; font-weight: 800; margin: 0 0 20px; }
.field-icon {
  display: flex; align-items: center; gap: 10px; background: var(--field);
  border-radius: 12px; padding: 0 14px; margin-bottom: 10px;
}
.field-icon .material-icons-outlined { color: var(--yellow); }
.field-icon .field { margin: 0; background: transparent; box-shadow: none; flex: 1; padding-left: 0; }

.promo-row {
  display: flex; align-items: center; gap: 8px; background: var(--field);
  border-radius: 12px; padding: 4px 4px 4px 12px; margin: 12px 0;
}
.promo-row .field { flex: 1; background: transparent; }
.promo-tag { color: var(--yellow); font-size: 22px; }

.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 0; font-size: 15px;
}
.cart-total b { font-size: 22px; font-weight: 800; }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.pay-choice-grid {
  grid-template-columns: 1fr 1fr;
}
.pay-choice-grid .pay-item {
  aspect-ratio: auto;
  flex-direction: column;
  padding: 12px 8px;
  text-align: center;
}
.pay-choice { display: flex; flex-direction: column; gap: 4px; }
.pay-choice b { font-size: 14px; }
.pay-choice small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.pay-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.pay-grid .pay-item {
  position: relative;
  justify-content: center;
  gap: 0;
  padding: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.pay-item.on { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow-light); }
.pay-grid .pay-item.on {
  border: 2px solid var(--yellow);
  background: #fff;
  box-shadow: none;
}
.pay-item input { accent-color: var(--yellow); width: 18px; height: 18px; }
.pay-grid .pay-item input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.pay-body { flex: 1; min-width: 0; }
.pay-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.pay-body small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.pay-ic { color: var(--yellow); font-size: 28px; }
.pay-logo {
  width: 72px; height: 40px; object-fit: contain; flex: none;
  padding: 0; box-sizing: border-box;
  border-radius: 8px; background: transparent; border: 0;
}
.pay-grid .pay-logo {
  width: 100%; max-width: none; height: 100%; padding: 6px 8px;
  border: 0; border-radius: 10px; background: transparent; object-fit: contain;
}
.pay-selected {
  text-align: center; font-weight: 700; margin: -8px 0 16px; font-size: 14px;
}
.pay-logo-cash {
  display: block; padding: 0; border: 0; box-shadow: none; background: transparent;
  width: 72px; height: 40px;
}
.pay-grid .pay-logo.pay-logo-cash {
  width: 100%; height: 100%; max-width: none;
}
.pay-logo-cash svg { display: block; width: 100%; height: 100%; }
.pay-logo-fallback {
  display: grid; place-items: center; color: #fff; font-weight: 800;
  letter-spacing: .02em; text-transform: none; line-height: 1; font-size: 13px;
}
.pay-grid .pay-logo-fallback { font-size: clamp(10px, 2.8vw, 15px); }
.pay-logo-alif { background: #00AF66; }
.pay-logo-dc { background: #E30613; }
.pay-logo-eskhata { background: #003B70; }
.pay-logo-spitamen { background: #525F7B; }
.pay-logo-amonatbonk { background: #0F6B3C; }
.pay-logo-orien { background: #0057B8; }
.pay-logo-visa { background: #1A1F71; }
.cart-item-bottom { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-stepper {
  margin-left: auto; display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.qty-stepper button {
  width: 34px; height: 34px; border: 0; background: var(--yellow-light);
  color: #000; font-size: 20px; line-height: 1;
}
.qty-stepper b { min-width: 28px; text-align: center; font-size: 13px; }
.cart-remove {
  width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted);
  border-radius: 10px; display: grid; place-items: center;
}
.option-card {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; margin: 8px 0;
}
.option-card > input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--yellow); }
.option-ic {
  width: 38px; height: 38px; border-radius: 11px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; flex: none;
}
.option-card > span:nth-of-type(2) { flex: 1; min-width: 0; }
.option-card b, .option-card small { display: block; }
.option-card b { font-size: 14px; margin-bottom: 3px; }
.option-card small { color: var(--muted); font-size: 11px; }
.bonus-input {
  width: 70px; border: 0; border-radius: 10px; background: var(--field);
  padding: 10px 8px; font-weight: 700; text-align: center;
}
.members-hero {
  background: var(--yellow-light); border-radius: 20px; padding: 16px; margin-bottom: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.members-hero .material-icons-outlined { font-size: 28px; color: var(--yellow-dark); }
.legal-card {
  background: #fff; border-radius: 16px; padding: 18px; margin-top: 8px;
  color: var(--muted); font-size: 14px; line-height: 1.65;
}
.legal-card h1 { color: var(--text); font-size: 20px; line-height: 1.25; margin: 0 0 16px; }

.services-hero {
  margin: 8px 0 12px; padding: 16px; border-radius: 20px; background: var(--yellow-light);
  display: flex; gap: 12px; align-items: flex-start;
}
.services-hero > .material-icons-outlined { color: var(--yellow-dark); font-size: 32px; }
.services-hero b { font-size: 17px; }
.services-hero p { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 5px 0 0; }
.service-partner-btn { margin-bottom: 12px; }
.service-card {
  background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.service-logo {
  width: 56px; height: 56px; border-radius: 16px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; overflow: hidden; flex: none;
}
.service-logo.big { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto; }
.service-logo img { width: 100%; height: 100%; object-fit: cover; }
.service-logo .material-icons-outlined { font-size: 29px; }
.service-body { flex: 1; min-width: 0; }
.service-body b, .service-body small { display: block; }
.service-body b { font-size: 15px; margin-bottom: 4px; }
.service-body small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.service-rating { color: var(--yellow-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; }
.service-rating .material-icons { font-size: 17px; }
.service-chev { color: var(--muted); }
.service-detail-hero { text-align: center; background: #fff; border-radius: 20px; padding: 18px; margin-top: 8px; }
.service-detail-hero h1 { font-size: 21px; margin: 12px 0 0; }
.service-detail-hero p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.service-detail-hero small { color: var(--muted); }
.service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.service-price-row, .review-card { background: #fff; border-radius: 14px; padding: 13px; margin-bottom: 8px; }
.service-price-row { display: flex; justify-content: space-between; gap: 12px; }
.service-price-row span { font-size: 14px; }
.service-price-row b { color: var(--yellow-dark); font-size: 14px; white-space: nowrap; }
.review-card p { color: var(--muted); font-size: 13px; line-height: 1.4; }

.topbar {
  background: #fff; padding: 10px 16px 8px; display: flex; align-items: center; gap: 8px;
  position: sticky; top: 0; z-index: 10;
}
.topbar .logo, .topbar #subtitle { display: none; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--coal); color: var(--yellow);
  display: grid; place-items: center; font-weight: 900; flex: none; user-select: none;
}
.topbar h1 { font-size: 18px; margin: 0; font-weight: 700; line-height: 1.2; }
.topbar p { margin: 0; color: var(--muted); font-size: 12px; }
.icon-btn {
  border: 0; background: transparent; color: var(--yellow); width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 12px;
}
.icon-btn[hidden], [hidden] { display: none !important; }

main { flex: 1; padding: 0 16px 88px; min-height: 0; overflow-x: hidden; max-width: 100%; }
.phone.home-screen main { padding-bottom: 88px; }
.phone.shell-tab main { padding-top: 16px; }

.nav {
  position: fixed; left: 50%; transform: translateX(-50%); width: min(480px, 100%);
  bottom: 0; background: #fff; height: calc(64px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -2px 8px rgba(0,0,0,.14);
  padding-bottom: env(safe-area-inset-bottom); z-index: 10;
}
.nav button {
  border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 400; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  z-index: 0; padding: 0;
}
.nav button span.material-icons, .nav button span.material-icons-outlined {
  color: var(--yellow); font-size: 24px; width: 64px; height: 32px;
  display: grid; place-items: center; border-radius: 16px; position: relative; z-index: 1;
}
.nav button.active { color: #000; font-weight: 600; }
.nav button.active span.material-icons,
.nav button.active span.material-icons-outlined {
  background: var(--yellow-light);
}

.card {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); margin-bottom: 16px;
}
.card.home { border-radius: var(--radius-home); }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--field); border-radius: 12px; padding: 4px 4px 4px 12px;
}
.search input {
  flex: 1; border: 0; background: transparent; padding: 12px 0; font-size: 14px; outline: none;
}
.search button, .btn {
  border: 0; background: var(--yellow); color: #000; font-weight: 700; font-size: 15px;
  height: 48px; border-radius: 12px; padding: 0 16px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.search button { width: 48px; height: 40px; display: grid; place-items: center; color: #000; }
.search button .material-icons, .btn .material-icons, .btn .material-icons-outlined { color: #000; }
.auth-screen .btn, .lang-screen .btn, .lang-gate .btn { color: #000; }
.auth-screen .btn .material-icons, .lang-screen .btn .material-icons { color: #000; }
.btn.secondary { background: #fff; border: 1px solid var(--line); color: #000; }
.btn.secondary .material-icons-outlined { color: var(--yellow); }
.btn:disabled { background: var(--coal-2); color: rgba(255,255,255,.7); }
.btn:disabled .material-icons, .btn:disabled .material-icons-outlined { color: rgba(255,255,255,.7); }
.btn.small { height: 40px; font-size: 13px; width: auto; padding: 0 14px; }

.field {
  width: 100%; border: 0; background: var(--field); border-radius: 12px; padding: 14px 16px;
  font-size: 14px; outline: none; margin: 0 0 10px;
}
.field:focus { box-shadow: 0 0 0 1.5px var(--yellow-dark); background: #fff; }
label.lbl { display: block; font-size: 13px; font-weight: 600; margin: 8px 0 6px; }

.vin { background: var(--coal); color: #fff; border-radius: 20px; padding: 16px; margin-bottom: 16px; min-height: 104px; }
.vin h3 { margin: 0 0 8px; font-size: 16px; }
.vin .row { display: flex; gap: 8px; }
.vin input { flex: 1; margin: 0; background: #2a2a2a; color: #fff; }
.vin .btn { width: auto; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.sq {
  background: #fff; border-radius: 20px; min-height: 96px; padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); display: flex; flex-direction: column; justify-content: space-between;
}
.sq span { color: var(--muted); font-size: 12px; }
.sq b { font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat {
  border: 0; background: #fff; border-radius: 16px; padding: 12px 6px; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); cursor: pointer;
}
.cat .material-icons-outlined { color: var(--yellow); font-size: 26px; display: block; }
.cat p { margin: 6px 0 0; font-size: 11px; font-weight: 600; }

#map { height: 180px; border-radius: 20px; overflow: hidden; margin-bottom: 16px; }
.promo { display: flex; gap: 10px; overflow: auto; padding-bottom: 4px; }
.promo .banner {
  min-width: 86%; aspect-ratio: 16/7; background: var(--coal); color: var(--yellow);
  border-radius: 20px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stats b { display: block; font-size: 16px; }
.stats span { color: var(--muted); font-size: 11px; }

.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); align-items: center;
}
.thumb {
  width: 72px; height: 72px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; color: var(--yellow); flex: none; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item h3 { margin: 0; font-size: 16px; font-weight: 600; }
.item p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.price { font-weight: 700; font-size: 16px; }

.catalog-tools { padding: 12px 0 4px; }
.catalog-search { margin-bottom: 8px; }
.stock-sort { display: flex; gap: 8px; margin: 0 0 8px; }
.stock-sq {
  width: 52px; height: 52px; padding: 4px 2px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer;
}
.stock-sq .material-icons-outlined { font-size: 18px; line-height: 1; }
.stock-sq small { font-size: 8px; font-weight: 800; line-height: 1.05; text-align: center; }
.stock-sq.on { background: var(--yellow); border-color: var(--yellow-dark); }
.filter-chip {
  min-height: 36px; border: 1px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center;
  gap: 5px; font-size: 13px; font-weight: 600;
}
.filter-chip .material-icons-outlined { display: none; font-size: 17px; }
.filter-chip.on { background: var(--yellow); border-color: var(--yellow); }
.filter-chip.on .material-icons-outlined { display: inline-block; }
.cat-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips .filter-chip { flex: none; white-space: nowrap; }
.cat-section { margin: 0 -16px 10px; background: #fff; border-radius: 16px; overflow: hidden; }
.cat-section-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 8px; font-size: 15px;
}
.cat-section-head .material-icons-outlined { color: var(--yellow-dark); font-size: 22px; }
.cat-section-head b { font-size: 16px; }
.cat-section-head small { margin-left: auto; color: var(--muted); font-weight: 700; }
.cat-section .part-list { margin: 0; }
.stock-item { align-items: center; }
.stock-item .stock-cat { margin: 0; max-width: 150px; flex: none; }
.section-count { font-size: 18px; font-weight: 700; padding: 14px 0 10px; }
.linear-progress {
  height: 2px; margin: 0 -16px; overflow: hidden; background: var(--yellow-light);
  position: relative;
}
.linear-progress::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--yellow);
  animation: linearMove 1s ease-in-out infinite;
}
@keyframes linearMove { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

.part-list { margin: 0 -16px; background: #fff; }
.part-tile { background: #fff; border-bottom: 1px solid var(--line); }
.part-main {
  display: flex; gap: 12px; padding: 12px 16px; align-items: flex-start; min-width: 0;
}
.part-photo {
  width: 72px; height: 72px; border-radius: 12px; background: var(--field);
  display: grid; place-items: center; color: var(--yellow); flex: none; overflow: hidden;
}
.part-photo img { width: 100%; height: 100%; object-fit: contain; }
.part-photo .material-icons-outlined { font-size: 30px; }
.part-body { flex: 1; min-width: 0; }
.part-brand {
  display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--bg);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.part-sku { color: var(--muted); font-size: 12px; margin-top: 4px; }
.part-oem { color: var(--muted); font-size: 11px; margin-top: 2px; }
.part-body h3 {
  margin: 4px 0 8px; font-size: 14px; font-weight: 500; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.stock-pill {
  display: inline-block; background: var(--yellow-light); color: var(--text);
  border-radius: 10px; padding: 3px 8px; font-size: 11px; font-weight: 600;
}
.stock-pill.out { background: var(--coal); color: #fff; }
.part-bottom { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.part-price { color: var(--yellow-dark); font-weight: 800; font-size: 17px; }
.part-cart {
  margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: var(--yellow); color: #fff; display: grid; place-items: center; flex: none;
}
.part-cart .material-icons { font-size: 21px; }

.garage-list { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.garage-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); overflow: hidden;
}
.garage-card.selected { border-color: var(--yellow); }
.garage-main {
  width: 100%; min-height: 78px; padding: 12px 48px 12px 12px; border: 0;
  background: transparent; display: flex; align-items: center; gap: 12px; text-align: left;
}
.garage-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center; flex: none;
}
.garage-body { flex: 1; min-width: 0; }
.garage-body b { display: block; font-size: 15px; margin-bottom: 4px; }
.garage-body small { display: block; color: var(--muted); font-size: 12px; }
.garage-selected {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px;
  background: var(--yellow-light); font-size: 11px; font-weight: 700;
}
.garage-delete {
  position: absolute; right: 5px; top: 5px; width: 40px; height: 40px;
  border: 0; background: transparent; color: var(--muted); border-radius: 12px;
}
.garage-fab {
  position: sticky; bottom: 76px; float: right; margin: 18px 0 0 auto; border: 0;
  min-height: 48px; padding: 0 18px; border-radius: 16px; background: var(--yellow);
  color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center;
  justify-content: center; gap: 7px; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.42);
  display: flex; align-items: flex-end; justify-content: center;
}
.bottom-sheet {
  width: min(480px, 100%); background: #fff; border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0,0,0,.18);
}
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 16px; }
.bottom-sheet h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

.vehicle-search { margin: 12px 0; }
.vehicle-list { display: flex; flex-direction: column; gap: 8px; }
.vehicle-row {
  width: 100%; border: 0; background: #fff; border-radius: 12px; padding: 10px 12px;
  min-height: 64px; display: flex; align-items: center; gap: 12px; text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.vehicle-logo {
  width: 42px; height: 42px; border-radius: 8px; flex: none; position: relative;
  display: grid; place-items: center; overflow: hidden; background: transparent;
}
.vehicle-logo img {
  width: 100%; height: 100%; object-fit: contain; display: block; padding: 3px;
}
.vehicle-logo .vehicle-letter { display: none; }
.vehicle-logo.fallback .vehicle-letter { display: grid; }
.vehicle-logo.fallback img { display: none; }
.vehicle-letter {
  width: 42px; height: 42px; border-radius: 8px; background: var(--yellow-light);
  color: var(--yellow-dark); display: grid; place-items: center; font-size: 15px; font-weight: 800; flex: none;
}
.vehicle-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vehicle-name { font-size: 16px; font-weight: 600; line-height: 1.2; }
.vehicle-meta small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.vehicle-body {
  width: 92px; height: 69px; object-fit: cover; flex: none;
  border-radius: 8px; background: #f1f3f4;
}
.vehicle-row .material-icons-outlined { color: var(--muted); flex: none; }
.picked-generation {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 12px; padding: 0 2px;
}
.picked-generation-photo {
  width: 92px; height: 69px; object-fit: cover; flex: none;
  border-radius: 8px; background: #f1f3f4; color: #5f6368;
  display: grid; place-items: center; font-size: 28px;
}
.picked-generation-photo.logo {
  width: 48px; height: 48px; object-fit: contain; background: transparent; padding: 4px;
}
.picked-generation-photo.logo img { width: 100%; height: 100%; object-fit: contain; }
.picked-generation-photo.logo .vehicle-letter { width: 48px; height: 48px; }
.picked-generation-meta { min-width: 0; display: grid; gap: 2px; }
.picked-generation-meta b { font-size: 16px; font-weight: 800; }
.picked-generation-meta strong { font-size: 15px; font-weight: 700; }
.picked-generation-meta small { color: var(--muted); font-size: 13px; }

.part-gallery {
  margin: 0 -16px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  background: #fff; scrollbar-width: none;
}
.part-gallery::-webkit-scrollbar { display: none; }
.part-slide {
  min-width: 100%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: #fff;
  display: grid; place-items: center; color: var(--yellow);
}
.part-slide img { width: 100%; height: 100%; object-fit: contain; }
.part-slide .material-icons-outlined { font-size: 70px; }
.part-detail-card { background: #fff; margin: 0 -16px; padding: 16px; }
.part-detail-card h1 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 10px 0 8px; }
.detail-price { color: var(--yellow-dark); font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.spec-list { margin-top: 16px; border-top: 1px solid var(--line); }
.spec-list > div {
  min-height: 42px; padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.spec-list span { color: var(--muted); font-size: 13px; }
.spec-list b { margin-left: auto; font-size: 13px; text-align: right; }
.detail-description { color: var(--muted); font-size: 14px; line-height: 1.5; }
.seller-list { display: flex; flex-direction: column; gap: 8px; }
.seller-card {
  background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: flex-start;
}
.seller-ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--yellow-light);
  color: var(--yellow); display: grid; place-items: center; flex: none;
}
.seller-card > span:last-child { flex: 1; min-width: 0; }
.seller-card b, .seller-card small, .seller-card em { display: block; }
.seller-card b { font-size: 14px; margin-bottom: 4px; }
.seller-card small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.seller-card em { color: var(--yellow-dark); font-size: 12px; font-style: normal; font-weight: 700; margin-top: 6px; }
.sticky-price { font-size: 16px; font-weight: 800; white-space: nowrap; }
.badge {
  display: inline-block; background: var(--yellow-light); border-radius: 10px;
  padding: 2px 8px; font-size: 12px; font-weight: 600;
}
.badge.out { background: var(--coal); color: #fff; }

.chips { display: flex; gap: 8px; margin: 8px 0 16px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-weight: 600; font-size: 13px;
}
.chip.on { background: var(--yellow); border-color: var(--yellow); }
.choice-row { display: flex; gap: 8px; margin: 0 0 12px; }
.choice-row .chip { flex: 1; text-align: center; min-height: 44px; border-radius: 14px; }

.sticky-cta {
  position: sticky; bottom: 72px; background: #fff; padding: 12px 0 8px;
  display: flex; gap: 12px; align-items: center;
}
.sticky-cta .btn { flex: 1; }

.muted { color: var(--muted); font-size: 14px; }
.h { font-size: 18px; font-weight: 700; margin: 8px 0 12px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .material-icons-outlined { font-size: 56px; color: var(--yellow); }

.menu a, .menu button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border: 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px;
}
.menu .material-icons-outlined { color: var(--yellow); }

.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%);
  background: var(--coal); color: #fff; padding: 12px 16px; border-radius: 12px;
  z-index: 40; max-width: 90%;
}

.fab-chat { display: none !important; }

.expert-sheet .field { margin-bottom: 8px; }
.expert-sheet .fuel-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.expert-sheet .fuel-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px;
  font-size: 13px; font-weight: 600;
}
.expert-sheet .fuel-chip.on { background: var(--yellow-light); border-color: var(--yellow); }

.delivery-slots {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.delivery-slots button {
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 8px;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.delivery-slots button.on {
  background: var(--yellow-light); border-color: var(--yellow); color: #000;
}

.admin { display: grid; grid-template-columns: 1fr; gap: 12px; }
.admin-mobile-head {
  margin: 0 -16px 14px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: #fff; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 15;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-mobile-head > button {
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--yellow); border-radius: 12px;
}
.admin-mobile-head > div { min-width: 0; }
.admin-mobile-head b, .admin-mobile-head small { display: block; }
.admin-mobile-head b { font-size: 18px; }
.admin-mobile-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.admin-drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.42);
}
.admin-drawer {
  width: min(340px, 88vw); height: 100%; background: #fff; padding: calc(14px + env(safe-area-inset-top)) 10px 14px;
  display: flex; flex-direction: column; box-shadow: 10px 0 30px rgba(0,0,0,.18);
}
.admin-drawer-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; }
.admin-drawer-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #000; }
.admin-drawer-brand b, .admin-drawer-brand small { display: block; }
.admin-drawer-brand b { font-size: 18px; }
.admin-drawer-brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.admin-drawer nav { flex: 1; overflow-y: auto; }
.admin-drawer nav button, .admin-shop-link {
  width: 100%; min-height: 46px; padding: 8px 12px; border: 0; background: transparent;
  border-radius: 12px; display: flex; align-items: center; gap: 12px; color: var(--text); text-align: left;
  font-size: 14px; font-weight: 600;
}
.admin-drawer nav button .material-icons-outlined, .admin-shop-link .material-icons-outlined { color: var(--yellow-dark); }
.admin-drawer nav button.on { background: var(--yellow-light); font-weight: 800; }
.admin-shop-link { border-top: 1px solid var(--line); border-radius: 0; padding-top: 12px; }
.admin-section-hero { text-align: center; padding: 30px 16px; background: var(--yellow-light); border-radius: 20px; margin-bottom: 12px; }
.admin-section-hero > .material-icons-outlined { color: var(--yellow-dark); font-size: 54px; }
.admin-section-hero h2 { margin: 10px 0 5px; font-size: 20px; }
.admin-section-hero p { color: var(--muted); font-size: 13px; margin: 0; }
.admin-card-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row-card { display: flex; align-items: flex-start; gap: 12px; background: #fff; padding: 12px; border-radius: 14px; }
.admin-row-card > span:last-child { flex: 1; min-width: 0; }
.admin-row-card b, .admin-row-card small, .admin-row-card em { display: block; }
.admin-row-card small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.admin-row-card em { color: var(--yellow-dark); font-size: 11px; font-style: normal; font-weight: 700; margin-top: 6px; }
.home-block-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.home-block-row b { flex: 1; font-size: 14px; }
.home-block-row .hb-move { display: flex; flex-direction: column; gap: 2px; }
.home-block-row .hb-move button { width: 32px; height: 28px; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.home-block-row .hb-on { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.label-size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.label-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.label-presets button {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 8px 12px; font-weight: 700; cursor: pointer;
}
.label-presets button.active { background: var(--yellow); border-color: var(--yellow-dark); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tabs { display: flex; gap: 0; margin: 0 -16px 12px; border-bottom: 1px solid var(--line); }
.tabs button {
  flex: 1; border: 0; background: transparent; padding: 12px; font-weight: 600; color: var(--muted);
}
.tabs button.on { color: #000; font-weight: 700; box-shadow: inset 0 -3px 0 var(--yellow); }

.msg { background: #fff; border-radius: 12px; padding: 10px 12px; margin: 6px 0; max-width: 85%; }
.msg.me { margin-left: auto; background: var(--yellow-light); }

.order-list-card {
  display: block; background: #fff; border-radius: 16px; padding: 14px;
  margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.order-list-link { display: block; color: inherit; text-decoration: none; }
.order-list-top, .order-list-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-list-top > b { font-size: 14px; }
.order-progress-mini { display: block; height: 6px; background: var(--field); border-radius: 3px; margin: 14px 0 10px; overflow: hidden; }
.order-progress-mini i { display: block; height: 100%; background: var(--yellow); border-radius: inherit; }
.order-list-bottom small { color: var(--muted); }
.order-list-bottom b { font-size: 16px; }
.order-review-btn { width: 100%; margin-top: 12px; height: 40px; font-size: 13px; }
.order-pickup-stars { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.order-pickup-stars .material-icons { color: #f5a623; font-size: 18px; }
.order-pickup-stars small { color: var(--muted); }
.order-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.order-card-actions .btn { flex: 1; height: 40px; font-size: 13px; }
.support-order-banner {
  display: flex; align-items: center; gap: 8px;
  border: 0; background: #fff8e1; padding: 10px 14px; margin: 0 -16px 10px;
  width: calc(100% + 32px); font: inherit; text-align: left; cursor: pointer;
}
.support-order-banner[disabled] { cursor: default; }
.support-order-banner > span:first-child { font-weight: 600; }
.support-order-banner b {
  background: #111; color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 13px;
}
.support-order-banner em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; }
.order-history-card { max-height: 80vh; overflow: auto; }
.order-history-number { font-weight: 800; font-size: 18px; margin: 0 0 10px; }
.order-history-body p { margin: 6px 0; font-size: 13px; line-height: 1.4; }
.order-history-step { padding: 8px 0; border-bottom: 1px solid var(--line); }

.phone.receipt-screen { background: var(--yellow); }
.phone.receipt-screen main {
  background: var(--yellow); padding: calc(8px + env(safe-area-inset-top)) 20px 32px;
}
.receipt-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center; color: #000; margin-left: -10px;
}
.receipt-success { text-align: center; margin: 2px 0 20px; }
.receipt-success b { display: block; font-size: 18px; margin-bottom: 7px; }
.receipt-success span { display: block; font-size: 13px; line-height: 1.4; }
.receipt-paper {
  background: #fff; color: #000; border-radius: 8px; padding: 22px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: rotate(-.25deg);
}
.receipt-brand { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .1em; }
.receipt-number { text-align: center; margin-top: 7px; font-size: 15px; font-weight: 800; }
.receipt-status {
  width: max-content; margin: 9px auto 0; border-radius: 10px; padding: 4px 10px;
  background: var(--yellow-light); font-size: 12px; font-weight: 700;
}
.receipt-rule { border-top: 1px dashed #9e9e9e; margin: 16px 0; }
.receipt-meta > div, .receipt-line, .receipt-total {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 7px 0;
}
.receipt-meta span, .receipt-line span { color: var(--muted); font-size: 12px; }
.receipt-meta b, .receipt-line b { font-size: 12px; text-align: right; }
.receipt-items > div { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; font-size: 12px; }
.receipt-items > div > span { flex: 1; }
.receipt-items small { display: block; color: var(--muted); margin-top: 3px; }
.receipt-items b { white-space: nowrap; }
.receipt-total { align-items: baseline; margin-top: 12px; }
.receipt-total span { font-size: 15px; font-weight: 900; }
.receipt-total b { font-size: 22px; font-weight: 900; }
.receipt-qr { text-align: center; margin-top: 18px; }
.receipt-qr .material-icons-outlined { display: block; font-size: 92px; line-height: .85; }
.receipt-qr small { display: block; font-size: 10px; font-weight: 700; margin-top: 7px; }
.receipt-action { margin-top: 18px; background: #fff; border: 1px solid #000; }

.cabinet-head {
  margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: #fff; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 5;
}
.cabinet-head > div { flex: 1; min-width: 0; }
.cabinet-head b, .cabinet-head small { display: block; }
.cabinet-head b { font-size: 18px; }
.cabinet-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.cabinet-head button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--yellow); }
.cabinet-content { padding: 12px 0 76px; }
.staff-order { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.staff-order-head, .staff-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.staff-order p { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.staff-order p .material-icons-outlined { color: var(--yellow); font-size: 18px; }
.staff-order-foot { margin-top: 12px; }
.cabinet-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(480px, 100%);
  height: calc(64px + env(safe-area-inset-bottom)); background: #fff; display: grid;
  grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 16px rgba(0,0,0,.15); z-index: 20;
}
.cabinet-nav button { border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.cabinet-nav button span { color: var(--yellow); font-size: 24px; }
.cabinet-nav button small { font-size: 11px; }
.cabinet-nav button.on { color: #000; font-weight: 700; }
.cabinet-nav button.on::before { content: ""; position: absolute; inset: 8px 22px; background: var(--yellow-light); border-radius: 14px; z-index: -1; }
.staff-profile { text-align: center; padding: 44px 16px; }
.staff-profile > .material-icons-outlined { color: var(--yellow); font-size: 72px; }
.staff-profile h2 { margin: 12px 0 5px; }
.staff-profile p { color: var(--muted); margin: 0 0 18px; }
.staff-rating {
  display: inline-flex; align-items: center; gap: 6px; background: var(--yellow-light);
  border-radius: 999px; padding: 6px 12px; font-weight: 700; margin: 0 0 16px;
}
.staff-rating .material-icons { color: var(--yellow-dark); font-size: 18px; }

.review-sheet { padding-top: 8px; }
.review-sheet h2 { font-size: 18px; margin-bottom: 2px; }
.review-stars {
  display: flex; justify-content: center; gap: 4px; margin: 10px 0 12px;
}
.review-stars button {
  border: 0; background: transparent; padding: 4px; line-height: 1; color: #cfcfcf;
}
.review-stars button.on { color: #FFC107; }
.review-stars .material-icons { font-size: 36px; }
.review-sheet .field { min-height: 72px; resize: vertical; }
.review-sheet .btn { width: 100%; margin-top: 8px; }

.switch-row {
  display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px;
}
.switch-row input { width: 20px; height: 20px; }

.proof-dialog {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45);
  display: flex; align-items: flex-end; justify-content: center; padding: 16px;
}
.proof-dialog-card {
  width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 20px 16px 16px;
}
.proof-dialog-card h3 { margin: 0 0 8px; font-size: 20px; }
.proof-dialog-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.4; }
.proof-dialog-card .btn { width: 100%; margin-bottom: 8px; }
.rest-map { height: 320px; border-radius: 12px; overflow: hidden; margin: 8px 0 12px; }
.staff-proof-row { display: flex; gap: 8px; margin: 8px 0 0; }
.staff-proof-row span {
  flex: 1; font-size: 11px; font-weight: 600; padding: 6px 8px; border-radius: 8px;
  background: #fff8e1;
}
.staff-proof-row span.ok { background: #e8f5e9; }

.spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--yellow);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--error); font-size: 13px; margin: 4px 0 8px; }
