@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg-primary:      #0A0A1A;
  --bg-card:         #12122A;
  --bg-card-hover:   #1A1A3A;

  --text-primary:    #FFFFFF;
  --text-secondary:  #A0A0C0;
  --text-muted:      #606080;

  --accent:          #4A90D9;
  --accent-hover:    #5BA0E9;
  --accent-glow:     rgba(74, 144, 217, 0.3);

  --success:         #26A69A;
  --error:           #E53935;

  --radius:          16px;
  --radius-sm:       8px;
  --transition:      0.3s ease;

  --font-he:         'Heebo', sans-serif;
  --font-en:         'Inter', sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-he);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

body[dir="ltr"] {
  font-family: var(--font-en);
}

/* ─── Logo & Subtitle ───────────────────────────────────────── */
.logo {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  text-align: center;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 32px;
}

/* ─── Card ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: background var(--transition);
}

.card-wide {
  max-width: 800px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:not(:disabled):hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-success:not(:disabled):hover {
  background: #2bbbae;
  box-shadow: 0 4px 20px rgba(38, 166, 154, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:not(:disabled):hover {
  background: var(--accent-glow);
}

.btn-sm {
  width: auto;
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ─── Progress ──────────────────────────────────────────────── */
.progress-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
  font-family: var(--font-en);
}

.progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ─── Status Messages ───────────────────────────────────────── */
.status-message {
  font-size: 0.95rem;
  text-align: center;
  margin-top: 12px;
}

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

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

.status-info {
  color: var(--text-secondary);
}

/* ─── Token Info ────────────────────────────────────────────── */
.token-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

.device-name {
  color: var(--success);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

/* ─── Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(74, 144, 217, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Utility ───────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* ─── Lang Toggle ───────────────────────────────────────────── */
.lang-toggle {
  position: fixed;
  top: 16px;
  right: unset;
  left: unset;
  inset-inline-end: 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-family: var(--font-en);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  z-index: 9999;
}

.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ─── Admin Styles ──────────────────────────────────────────── */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.admin-create {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

select {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23606080' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 32px;
}

body[dir="ltr"] select {
  background-position: right 12px center;
  padding-left: 14px;
  padding-right: 32px;
}

select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Section divider */
.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px 0 20px;
}

.section-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.adb-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.adb-header-row .section-title {
  margin-bottom: 0;
}
.adb-quota {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.quota-label {
  color: var(--text-secondary);
}
.quota-count {
  font-weight: 700;
  font-size: 0.95rem;
}
.quota-count.quota-ok { color: #4caf50; }
.quota-count.quota-warn { color: #ff9800; }
.quota-count.quota-danger { color: #f44336; }
.quota-expiry {
  color: var(--text-secondary);
  font-family: monospace;
}
.tech-code-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.25);
}
.tech-code-value {
  font-family: monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: #4caf50;
}
.tech-code-expiry {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.quota-separator {
  color: var(--text-muted);
  margin: 0 2px;
}

/* Admin inputs (inline with buttons) */
.admin-input {
  background: var(--bg-primary);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  padding: 10px 14px;
  min-width: 0;
  flex: 1;
  transition: border-color var(--transition);
  outline: none;
}

.admin-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.admin-input::placeholder {
  color: var(--text-muted);
}

/* Token table */
.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.token-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.token-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  vertical-align: middle;
}

.token-table tr:last-child td {
  border-bottom: none;
}

.token-table tr:hover td {
  background: var(--bg-card-hover);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-active {
  background: rgba(38, 166, 154, 0.18);
  color: var(--success);
}

.badge-used {
  background: rgba(74, 144, 217, 0.15);
  color: var(--accent);
}

.badge-expired {
  background: rgba(229, 57, 53, 0.15);
  color: var(--error);
}

/* Pill-shaped button that looks like a badge (used for actions like "block
   subscription" sitting next to the status badge in the customer card
   header). Inherits color from whichever .badge-* class you pair it with. */
.badge-btn {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  margin-inline-start: 8px;
  transition: transform 0.1s ease, filter 0.15s ease;
  font-family: inherit;
}
.badge-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.15);
}
.badge-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-block {
  background: transparent;
  border: 1px solid var(--error);
  color: var(--error);
  padding: 4px 12px;
  font-size: 0.8rem;
}

.btn-block:hover {
  background: var(--error);
  color: white;
}

/* Link display */
.link-display {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

/* Prominent banner shown right below the BYD IMEI input after a code
   is generated. Big, readable, obvious what to copy. */
.byd-code-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.12), rgba(38, 166, 154, 0.08));
  border: 2px solid var(--accent);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.byd-code-banner-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.byd-code-banner-code {
  flex: 1;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-align: center;
  user-select: all;
  direction: ltr;
}

/* Hide the browser-native increment/decrement spinner on number inputs
   inside the admin-create toolbar (e.g. the DiControl price field). */
.admin-create input[type="number"]::-webkit-outer-spin-button,
.admin-create input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.admin-create input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.link-display input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-en);
  outline: none;
  min-width: 0;
}

/* Login form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form input {
  background: var(--bg-primary);
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
}

.login-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.login-form input::placeholder {
  color: var(--text-muted);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .card {
    padding: 24px 20px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.875rem;
  }

  .progress-text {
    font-size: 2rem;
  }

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

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

  .token-table th,
  .token-table td {
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════
   CRM Dashboard
   ═══════════════════════════════════════════════════ */

/* CRM body — full screen, no centering */
.crm-body {
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

/* Top navigation */
.crm-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 12px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
}

.crm-nav .logo { margin: 0; font-size: 1.4rem; }

.nav-links {
  display: flex;
  gap: 4px;
}

.crm-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.crm-nav a:hover,
.crm-nav a.active {
  color: var(--accent);
  background: rgba(74, 144, 217, 0.1);
}

/* CRM panel — full width */
.crm-panel {
  width: 100%;
  padding: 24px 32px;
  flex: 1;
}

/* Tabs */
.tabs, .crm-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.tab, .crm-tab {
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.tab:hover, .crm-tab:hover { color: var(--text-secondary); }

.tab.active, .crm-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Sub-tabs */
.sub-tabs, .crm-sub-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sub-tab, .crm-sub-tab {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.sub-tab:hover, .crm-sub-tab:hover { border-color: var(--accent); color: var(--text-secondary); }

.sub-tab.active, .crm-sub-tab.active {
  background: rgba(74, 144, 217, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Toolbar (search + add button) */
.crm-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.search-bar, #searchInput {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}

.search-bar:focus, #searchInput:focus {
  border-color: var(--accent);
  outline: none;
}

.search-bar::placeholder { color: var(--text-muted); }

/* Customer table (extends existing token-table) */
.customer-table, .crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.customer-table th, .crm-table th {
  color: var(--text-muted);
  text-align: start;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 400;
  font-size: 0.85rem;
  white-space: nowrap;
}

.customer-table td, .crm-table td {
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.customer-table tbody tr, .crm-table tbody tr {
  cursor: pointer;
  transition: var(--transition);
}

.customer-table tbody tr:hover, .crm-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* Status badges for subscriptions */
.badge-expiring {
  background: rgba(255, 193, 7, 0.2);
  color: #FFC107;
}

.badge-cancelled {
  background: rgba(244, 67, 54, 0.2);
  color: #F44336;
}

/* ── Customer Card (full-page overlay) ─────────── */
.customer-card {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 200;
  overflow-y: auto;
  padding: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.card-header h2 {
  font-size: 1.5rem;
  flex: 1;
}

.card-content {
  max-width: 900px;
  margin: 0 auto;
}

.card-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.card-section h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section-header h3 {
  margin-bottom: 0;
  flex: 1;
}

.card-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.card-section table th {
  color: var(--text-muted);
  text-align: start;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 400;
}

.card-section table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

/* Info grid (for personal details) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.info-value {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Rating stars */
.rating-stars {
  display: flex;
  gap: 4px;
}

.star, .star-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0;
  transition: var(--transition);
  display: inline-block;
}

.star.active,
.star:hover,
.star-btn.active,
.star-btn:hover { color: #FFD700; }

/* Countdown */
.countdown-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.countdown-timer {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Notes textarea */
.notes-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.notes-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

#cardNotes {
  width: 100%;
  min-height: 100px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

#cardNotes:focus {
  border-color: var(--accent);
  outline: none;
}

/* Activity log */
.log-list {
  list-style: none;
  padding: 0;
}

.log-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}

.log-date {
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
}

.log-text { color: var(--text-secondary); }

/* ADB Key row */
.adb-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.adb-key-row:last-child { border-bottom: none; }

.adb-key-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adb-key-info code {
  color: var(--accent);
  font-size: 0.85rem;
  font-family: var(--font-en);
}

/* ── Modals ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  display: block;
}

/* Date picker styling */
.date-picker {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.date-picker:focus {
  border-color: var(--accent);
  outline: none;
}

.date-picker::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
}

/* File upload area */
.file-upload-area {
  position: relative;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--accent);
  background: rgba(74, 144, 217, 0.05);
}

.file-upload-area input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.file-upload-icon {
  font-size: 1.3rem;
}

.file-upload-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: var(--radius-sm);
}

.file-upload-preview .file-name {
  color: var(--accent);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.file-upload-preview .file-remove {
  padding: 2px 8px;
  font-size: 0.8rem;
  min-width: auto;
}

/* Document link in customer card */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(74, 144, 217, 0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background var(--transition);
  margin-top: 8px;
}

.doc-link:hover {
  background: rgba(74, 144, 217, 0.25);
}

/* Signature display in customer card */
.signature-display {
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.signature-img {
  max-width: 100%;
  max-height: 120px;
  filter: invert(0);
}

.signature-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.renew-preview {
  margin: 12px 0;
  padding: 10px 14px;
  background: rgba(38, 166, 154, 0.1);
  border-radius: 8px;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.form-actions .btn { flex: 1; }

/* ── Sales ─────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.target-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.target-input {
  width: 120px;
  padding: 8px 12px;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  text-align: center;
}

.target-input:focus {
  border-color: var(--accent);
  outline: none;
}

.progress-target {
  width: 100%;
  height: 16px;
  background: var(--bg-primary);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-target-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 8px;
  transition: width 0.5s ease;
}

/* ── KPI Grid ──────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--transition);
}

.kpi-card:hover {
  border-color: var(--accent);
}

.kpi-card.kpi-warning .kpi-value {
  color: #FFC107;
}

.kpi-card.kpi-danger .kpi-value {
  color: #FF3B30;
}

.kpi-card.kpi-success .kpi-value {
  color: var(--success);
}

.kpi-card.active-filter {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-en);
  line-height: 1.2;
}

.kpi-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Alerts Section ───────────────────────────── */
.alerts-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-item {
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #FFB74D;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.alert-item:hover {
  background: rgba(255, 152, 0, 0.2);
  border-color: #FFA726;
}

/* ── WhatsApp Button ──────────────────────────── */
.wa-btn {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition);
  font-family: var(--font-en);
}

.wa-btn:hover {
  background: rgba(37, 211, 102, 0.3);
}

/* ── Total Spent (Lifetime Value in Card Header) ─ */
.total-spent {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(38, 166, 154, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ── Conversion Rate Card ─────────────────────── */
.conversion-rate-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.07);
}

.conversion-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.conversion-value {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-en);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .crm-body { padding: 0; }
  .crm-panel { padding: 16px; }
  .crm-nav { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .tabs, .crm-tabs { overflow-x: auto; }
  .sub-tabs, .crm-sub-tabs { overflow-x: auto; }
  .crm-toolbar { flex-direction: column; }
  .crm-table { font-size: 0.8rem; }
  .crm-table th, .crm-table td { padding: 8px 10px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .customer-card { padding: 16px; }
  .card-section { padding: 16px; }
  .modal { margin: 16px; padding: 24px; }
}

/* ══ חלון טיפול — the service-offers editor ═════════════════════════
   Design handoff: docs/design/service-offers-editor/README.md. Dark by
   design and self-contained: every colour is literal here rather than a
   token from the light admin theme above, because this block renders
   inside the v2 shell, which has its own palette. Scoped to #svcOffersHost
   so nothing here can reach the rest of the page. */
#svcOffersHost {
  --so-bg: #0b0d10;
  --so-card: #12151b;
  --so-sunken: #0f1216;
  --so-border: #1e2229;
  --so-input-border: #232832;
  --so-btn-border: #2a2f38;
  --so-text: #e8e6e1;
  --so-sub: #8b909a;
  --so-muted: #5d636e;
  --so-brand: #f2a33a;
  --so-brand-hover: #ffb54f;
  --so-on-brand: #14110b;
  --so-ok: #3dd68c;
  --so-err: #ff6b6b;
  --so-mono: 'JetBrains Mono', ui-monospace, monospace;
  font-family: 'Assistant', system-ui, sans-serif;
  color: var(--so-text);
}
#svcOffersHost .so { display: flex; flex-direction: column; gap: 16px; }
#svcOffersHost .so-dim { opacity: .45; }
#svcOffersHost .so-mono { font-family: var(--so-mono); }
#svcOffersHost .so-ltr { direction: ltr; text-align: right; }

/* header + master switch */
#svcOffersHost .so-head { display: flex; align-items: center; gap: 16px; }
#svcOffersHost .so-head h3 { flex: 1; margin: 0; font-size: 24px; font-weight: 700; color: var(--so-text); }
#svcOffersHost .so-master { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
#svcOffersHost .so-master-label { font-size: 14px; color: var(--so-sub); }
#svcOffersHost .so-master.on .so-master-label { color: var(--so-ok); font-weight: 600; }
#svcOffersHost .so-track {
  width: 46px; height: 26px; border-radius: 999px; background: var(--so-btn-border);
  position: relative; transition: background .15s; flex: none;
}
#svcOffersHost .so-master.on .so-track { background: var(--so-ok); }
#svcOffersHost .so-knob {
  position: absolute; top: 3px; inset-inline-end: 3px; width: 20px; height: 20px;
  border-radius: 999px; background: var(--so-sub); transition: inset-inline .15s, background .15s;
}
#svcOffersHost .so-master.on .so-knob { inset-inline-end: 23px; background: var(--so-bg); }

/* cards */
#svcOffersHost .so-card {
  background: var(--so-card); border: 1px solid var(--so-border);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
#svcOffersHost .so-cover-top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
#svcOffersHost .so-cover-line { flex: 1; font-size: 17px; }
#svcOffersHost .so-cover-line b { font-family: var(--so-mono); font-size: 22px; font-weight: 700; }
#svcOffersHost .so-cover-right { font-size: 15px; }
#svcOffersHost .so-bar { height: 8px; border-radius: 999px; background: var(--so-sunken); overflow: hidden; }
#svcOffersHost .so-bar > i { display: block; height: 100%; background: var(--so-ok); border-radius: 999px; }
#svcOffersHost .so-warn {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--so-err);
}
#svcOffersHost .so-warn svg { flex: none; }

/* who-handles-what map */
#svcOffersHost .so-map-title { font-size: 16px; font-weight: 700; }
#svcOffersHost .so-map { display: flex; flex-direction: column; }
#svcOffersHost .so-map-row {
  display: grid; grid-template-columns: 1.3fr 90px 1.6fr 90px; gap: 16px;
  align-items: center; min-height: 40px; border-bottom: 1px solid var(--so-border);
}
#svcOffersHost .so-map-head { min-height: 32px; font-size: 13px; color: var(--so-muted); border-bottom: 1px solid var(--so-border); }
#svcOffersHost .so-map-row:last-child { border-bottom: none; }
#svcOffersHost .so-make { color: var(--so-sub); }
#svcOffersHost .so-model { color: var(--so-text); font-weight: 600; }
#svcOffersHost .so-rank {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--so-btn-border);
  font-family: var(--so-mono); font-size: 12px; font-weight: 700; color: var(--so-brand);
}
#svcOffersHost .so-garage-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#svcOffersHost .so-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--so-err); flex: none; }
#svcOffersHost .so-also { font-size: 13px; color: var(--so-err); }

/* garage list */
#svcOffersHost .so-list-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
#svcOffersHost .so-list-head h4 { margin: 0; font-size: 18px; font-weight: 700; }
#svcOffersHost .so-list-head p { margin: 0; font-size: 14px; color: var(--so-sub); }
#svcOffersHost .so-garages { display: flex; flex-direction: column; gap: 16px; }
#svcOffersHost .so-garage {
  background: var(--so-card); border: 1px solid var(--so-border);
  border-radius: 16px; overflow: hidden;
}
#svcOffersHost .so-garage.conflict { border-color: rgba(255, 107, 107, .35); }
#svcOffersHost .so-g-head {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 20px 14px 16px; cursor: pointer;
}
#svcOffersHost .so-rank-lg {
  width: 34px; height: 34px; border-radius: 999px; background: var(--so-sunken);
  border: 1px solid var(--so-btn-border); display: inline-flex; align-items: center;
  justify-content: center; font-family: var(--so-mono); font-size: 15px; font-weight: 700;
  color: var(--so-brand); flex: none;
}
#svcOffersHost .so-g-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#svcOffersHost .so-g-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#svcOffersHost .so-g-name strong { font-size: 19px; font-weight: 700; }
#svcOffersHost .so-g-name .unnamed { color: var(--so-sub); font-weight: 400; }
#svcOffersHost .so-g-phone { font-family: var(--so-mono); font-size: 13px; color: var(--so-sub); direction: ltr; }
#svcOffersHost .so-g-sub { font-size: 14px; color: var(--so-sub); }
#svcOffersHost .so-g-sub .bad { color: var(--so-err); }
#svcOffersHost .so-g-total { text-align: center; flex: none; }
#svcOffersHost .so-g-total b { display: block; font-family: var(--so-mono); font-size: 20px; font-weight: 700; }
#svcOffersHost .so-g-total span { font-size: 13px; color: var(--so-sub); }
#svcOffersHost .so-g-tools { display: flex; gap: 6px; flex: none; }
#svcOffersHost .so-icon {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--so-btn-border);
  background: transparent; color: var(--so-text); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; font-family: inherit; transition: background .12s;
}
#svcOffersHost .so-icon:hover { background: var(--so-border); }
#svcOffersHost .so-icon[disabled] { opacity: .35; cursor: default; }
#svcOffersHost .so-icon[disabled]:hover { background: transparent; }
#svcOffersHost .so-chev { transition: transform .15s; }
#svcOffersHost .so-garage.open .so-chev { transform: rotate(180deg); }

#svcOffersHost .so-g-body {
  border-top: 1px solid var(--so-border); padding: 4px 20px 20px;
  display: flex; flex-direction: column; gap: 20px;
}
#svcOffersHost .so-fields {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px; padding-top: 16px;
}
#svcOffersHost .so-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#svcOffersHost .so-field > span { font-size: 13px; color: var(--so-sub); }
#svcOffersHost .so-in {
  height: 40px; background: var(--so-sunken); border: 1px solid var(--so-input-border);
  border-radius: 10px; color: var(--so-text); font-family: inherit; font-size: 14px;
  padding: 0 12px; outline: none; min-width: 0; width: 100%; box-sizing: border-box;
}
#svcOffersHost textarea.so-in { height: auto; min-height: 124px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
#svcOffersHost select.so-in { cursor: pointer; }
#svcOffersHost select.so-in option { background: var(--so-card); color: var(--so-text); }
#svcOffersHost .so-in::placeholder { color: var(--so-muted); }
#svcOffersHost .so-in:focus { border-color: var(--so-brand); }

/* models table */
#svcOffersHost .so-models-head { display: flex; align-items: center; gap: 12px; }
#svcOffersHost .so-models-head h5 { margin: 0; flex: 1; font-size: 16px; font-weight: 700; }
#svcOffersHost .so-m-row {
  display: grid; grid-template-columns: 1.3fr 1.3fr 90px 90px 76px; gap: 16px;
  align-items: center; min-height: 52px; border-bottom: 1px solid var(--so-border);
}
#svcOffersHost .so-m-head { min-height: 32px; font-size: 13px; color: var(--so-muted); }
#svcOffersHost .so-m-row.conflict > *:not(.so-m-count) { color: var(--so-sub); }
#svcOffersHost .so-m-count { font-family: var(--so-mono); font-weight: 700; }
#svcOffersHost .so-m-row.conflict .so-m-count { color: var(--so-err); }
#svcOffersHost .so-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#svcOffersHost .so-conflict-note {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--so-err); padding-bottom: 12px;
}
#svcOffersHost .so-dup-note { grid-column: 1 / -1; font-size: 13px; color: var(--so-sub); padding-bottom: 10px; }

/* buttons */
#svcOffersHost .so-btn {
  height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--so-btn-border);
  background: transparent; color: var(--so-text); font-family: inherit; font-size: 14px;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 7px; transition: background .12s;
}
#svcOffersHost .so-btn:hover { background: var(--so-border); }
#svcOffersHost .so-btn-primary {
  height: 40px; background: var(--so-brand); border: none; color: var(--so-on-brand); font-weight: 700;
}
#svcOffersHost .so-btn-primary:hover { background: var(--so-brand-hover); }
#svcOffersHost .so-btn-lg { height: 42px; }
#svcOffersHost .so-btn-danger { border-color: rgba(255, 107, 107, .45); color: var(--so-err); }
#svcOffersHost .so-btn-danger:hover { background: rgba(255, 107, 107, .1); }
#svcOffersHost .so-btn-text {
  border: none; background: transparent; color: var(--so-err); height: 40px; padding: 0 12px;
  border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
#svcOffersHost .so-btn-text:hover { background: rgba(255, 107, 107, .1); }

/* edit panel */
#svcOffersHost .so-edit {
  margin: 10px 0 12px; border: 1px solid var(--so-btn-border); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 14px;
}
#svcOffersHost .so-edit-r1 { display: grid; grid-template-columns: 1.4fr 1.2fr 130px; gap: 12px; }
#svcOffersHost .so-edit-r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#svcOffersHost .so-hint { font-size: 13px; color: var(--so-muted); }
#svcOffersHost .so-hint.ok { color: var(--so-ok); }
#svcOffersHost .so-hint.bad { color: var(--so-err); }
#svcOffersHost .so-edit-foot { display: flex; align-items: center; gap: 12px; }
#svcOffersHost .so-edit-foot .so-btn-primary { margin-inline-end: auto; }
#svcOffersHost .so-link {
  background: none; border: none; color: var(--so-brand); font-weight: 600;
  font-family: inherit; font-size: 13px; cursor: pointer; padding: 0;
}

/* empty states */
#svcOffersHost .so-empty-models {
  background: var(--so-sunken); border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--so-sub);
}
#svcOffersHost .so-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#svcOffersHost .so-chip {
  height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--so-btn-border);
  background: transparent; color: var(--so-text); font-family: inherit; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .12s;
}
#svcOffersHost .so-chip:hover { background: var(--so-border); }
#svcOffersHost .so-chip b { font-family: var(--so-mono); font-weight: 700; color: var(--so-sub); }
#svcOffersHost .so-empty { padding: 40px 32px; align-items: flex-start; }
#svcOffersHost .so-empty h4 { margin: 0; font-size: 20px; font-weight: 700; }
#svcOffersHost .so-empty p { margin: 0; font-size: 16px; color: var(--so-sub); max-width: 620px; line-height: 1.5; }
#svcOffersHost .so-add-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#svcOffersHost .so-add-row p { margin: 0; font-size: 14px; color: var(--so-sub); }

/* save bar */
#svcOffersHost .so-save { display: flex; align-items: center; gap: 12px; }
#svcOffersHost .so-saved { font-size: 13px; color: var(--so-muted); }
#svcOffersHost .so-status { font-size: 14px; }
#svcOffersHost .so-status.ok { color: var(--so-ok); }
#svcOffersHost .so-status.bad { color: var(--so-err); }

@media (max-width: 1000px) {
  #svcOffersHost .so-map-row { grid-template-columns: 1.2fr 70px 1.4fr 80px; gap: 10px; }
  #svcOffersHost .so-m-row { grid-template-columns: 1.2fr 1.1fr 80px 70px 70px; gap: 10px; }
  #svcOffersHost .so-edit-r1 { grid-template-columns: 1fr; }
  #svcOffersHost .so-edit-r2 { grid-template-columns: 1fr; }
}

/* A make heading inside the map. Spans the grid so the models below it
   keep their columns. */
#svcOffersHost .so-brand-head {
  grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0 6px; border-bottom: 1px solid var(--so-border);
}
#svcOffersHost .so-brand-head:first-of-type { padding-top: 8px; }
#svcOffersHost .so-brand-name { font-size: 15px; font-weight: 700; color: var(--so-text); }
#svcOffersHost .so-brand-sub { font-size: 13px; color: var(--so-muted); }

/* A model's service schedule, inside the edit panel. */
#svcOffersHost .so-steps-head { display: flex; align-items: center; gap: 12px; }
#svcOffersHost .so-steps-head h6 { margin: 0; flex: 1; font-size: 15px; font-weight: 700; }
#svcOffersHost .so-step {
  background: var(--so-sunken); border: 1px solid var(--so-border);
  border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px;
}
#svcOffersHost .so-step-head { display: grid; grid-template-columns: 130px 1fr 120px 38px; gap: 12px; align-items: end; }
#svcOffersHost .so-step-head .so-icon { margin-bottom: 1px; }
#svcOffersHost .so-step input[type="number"] { -moz-appearance: textfield; }
#svcOffersHost .so-step input[type="number"]::-webkit-outer-spin-button,
#svcOffersHost .so-step input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#svcOffersHost .so-hint b { color: var(--so-text); font-family: var(--so-mono); }
@media (max-width: 1000px) {
  #svcOffersHost .so-step-head { grid-template-columns: 1fr 1fr; }
}
