/* ============================================================
   Rascue Sales — sales.rascue.de   v2
   Upload: rascue-assets/assets/sales.css
   All classes prefixed s- to avoid Astra theme conflicts
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sg:    #0B3B3A;
  --sg-d:  #072e2d;
  --sg-mid:#1a6b69;
  --sg-lt: #e8f4f4;
  --sg-xl: #f2fafa;
  --sa:    #E8A020;
  --sa-lt: #fef3dc;
  --sw:    #ffffff;
  --sbg:   #f0f4f3;
  --st:    #111e1d;
  --sm:    #567170;
  --sb:    #d4dfde;
  --sb-lt: #eaf1f0;
  --font:  -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --shadow-sm: 0 1px 2px rgba(11,59,58,.06), 0 2px 8px rgba(11,59,58,.06);
  --shadow-md: 0 2px 8px rgba(11,59,58,.08), 0 8px 24px rgba(11,59,58,.08);
}

/* ── RESET ASTRA ─────────────────────────────────────── */
.ast-site-header-area, .site-header, .ast-primary-header-bar,
footer.site-footer, .ast-above-header, .ast-below-header,
.breadcrumb-trail, .entry-title, .post-navigation,
.ast-page-banner, .ast-archive-description { display: none !important; }

body {
  font-family: var(--font); background: var(--sbg);
  color: var(--st); font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#content, .site-content, #primary, .content-area,
.ast-container, .ast-article-post, .entry-content, .ast-post-single {
  max-width: 100% !important; width: 100% !important;
  padding: 0 !important; margin: 0 !important;
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.s-nav {
  background: var(--sg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 56px;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 2px 12px rgba(0,0,0,.2);
}
.s-nav-logo { font-size: 18px; font-weight: 700; letter-spacing: -.4px; color: white; }
.s-nav-logo span { color: var(--sa); }
.s-nav-agent {
  font-size: 12px; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 7px;
  max-width: 220px; overflow: hidden;
}
.s-nav-agent span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-agent-dot {
  width: 7px; height: 7px; background: #4ade80;
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(74,222,128,.25);
}

/* ══════════════════════════════════════════════════════
   BOTTOM TABS
══════════════════════════════════════════════════════ */
.s-tabs {
  position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
  background: var(--sw) !important; border-top: 1px solid var(--sb) !important;
  display: flex !important; z-index: 200 !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  box-shadow: 0 -4px 20px rgba(11,59,58,.07) !important;
  height: auto !important; min-height: 56px !important;
  visibility: visible !important; opacity: 1 !important;
}
.s-tab {
  flex: 1 !important; display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  padding: 10px 4px 8px !important;
  font-size: 10px !important; font-weight: 600 !important; letter-spacing: .2px !important;
  color: var(--sm) !important; border: none !important; background: none !important;
  cursor: pointer !important; gap: 4px !important; transition: color .15s !important;
  -webkit-tap-highlight-color: transparent !important;
  height: auto !important; min-height: 44px !important;
  visibility: visible !important; opacity: 1 !important;
}
.s-tab svg { width: 22px; height: 22px; stroke-width: 1.6; }
.s-tab.active { color: var(--sg); }
.s-tab.active svg { stroke-width: 2.2; }

/* ══════════════════════════════════════════════════════
   SCREENS
══════════════════════════════════════════════════════ */
.s-screen { display: none; padding: 24px 16px 100px; }
.s-screen.active { display: block; }

.s-page-header { margin-bottom: 20px; }
.s-page-title {
  font-size: 22px; font-weight: 700; letter-spacing: -.4px;
  color: var(--st); margin-bottom: 4px;
}
.s-page-sub { font-size: 14px; color: var(--sm); line-height: 1.4; }

/* ══════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════ */
.s-card {
  background: var(--sw); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sb-lt);
  padding: 20px; margin-bottom: 12px;
}
.s-card.s-no-pad { padding: 0; overflow: hidden; }

.s-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--sm);
  margin: 22px 0 10px;
}

/* ══════════════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════════════ */
.s-search-wrap {
  position: relative; margin-bottom: 16px;
}
.s-search-wrap > svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--sg-mid);
  stroke-width: 2; pointer-events: none;
}
.s-search-input {
  width: 100% !important;
  padding: 15px 16px 15px 48px !important;
  border: 2px solid var(--sb) !important;
  border-radius: var(--r-lg) !important;
  font-size: 16px !important; font-family: var(--font) !important;
  background: var(--sw) !important; color: var(--st) !important;
  outline: none !important;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
  -webkit-appearance: none !important;
  height: auto !important;
  line-height: normal !important;
}
.s-search-input:focus {
  border-color: var(--sg);
  box-shadow: 0 0 0 4px rgba(11,59,58,.08);
}
.s-search-input::placeholder { color: #a8bfbe; }

/* ══════════════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════════════ */
.s-empty {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.s-empty svg {
  width: 48px; height: 48px; stroke: var(--sb);
  stroke-width: 1.5; margin-bottom: 4px;
}
.s-empty strong { font-size: 16px; font-weight: 600; color: var(--st); }
.s-empty span   { font-size: 14px; color: var(--sm); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   RESULT CARDS
══════════════════════════════════════════════════════ */
.s-result-card {
  background: var(--sw);
  border: 1.5px solid var(--sb-lt);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.s-result-card:hover  { border-color: var(--sg-mid); box-shadow: 0 0 0 3px var(--sg-lt); }
.s-result-card:active { transform: scale(.99); }

.s-avatar {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--sg-lt); color: var(--sg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
  letter-spacing: -.5px;
}
.s-result-info { flex: 1; min-width: 0; }
.s-result-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-result-city { font-size: 13px; color: var(--sm); margin-bottom: 7px; }
.s-badges      { display: flex; gap: 5px; flex-wrap: wrap; }
.s-result-chevron {
  width: 16px; height: 16px; stroke: var(--sb); flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════ */
.s-badge {
  padding: 3px 8px; border-radius: 99px;
  font-size: 11px; font-weight: 600; display: inline-block;
  letter-spacing: .1px; white-space: nowrap;
}
.s-badge-green  { background: #dcfce7; color: #166534; }
.s-badge-amber  { background: var(--sa-lt); color: #92400e; }
.s-badge-gray   { background: #f1f5f4; color: var(--sm); }
.s-badge-red    { background: #fee2e2; color: #991b1b; }
.s-badge-purple { background: #ede9fe; color: #5b21b6; }

/* ══════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════ */
.s-field-group { margin-bottom: 16px; }
.s-field-group:last-child { margin-bottom: 0; }

.s-label {
  font-size: 12px !important; font-weight: 600 !important; color: var(--sm) !important;
  display: block !important; margin-bottom: 6px !important; letter-spacing: .2px;
  margin-top: 0 !important; padding: 0 !important;
}

.s-input, .s-select {
  width: 100% !important;
  padding: 13px 14px !important;
  border: 1.5px solid var(--sb) !important;
  border-radius: var(--r-sm) !important;
  font-size: 15px !important; font-family: var(--font) !important;
  background: var(--sw) !important; color: var(--st) !important;
  outline: none !important;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none !important; appearance: none !important;
  line-height: 1.4 !important;
  height: auto !important;
  box-shadow: none !important;
}
.s-input:focus, .s-select:focus {
  border-color: var(--sg);
  box-shadow: 0 0 0 3px rgba(11,59,58,.09);
}
.s-input::placeholder { color: #a8bfbe; }
.s-input[readonly]    { background: var(--sg-xl); color: var(--sm); cursor: default; }

/* Select arrow + colour fix */
.s-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23567170' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
  color: var(--st) !important;
}
/* When no value selected (first option is placeholder) show muted colour */
.s-select option[value=""] { color: #a8bfbe; }
.s-select option           { color: var(--st); }

.s-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.s-row-2 .s-field-group { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700; font-family: var(--font);
  border: none; cursor: pointer;
  transition: opacity .15s, transform .1s, box-shadow .15s;
  letter-spacing: -.1px;
  -webkit-tap-highlight-color: transparent;
}
.s-btn:active { transform: scale(.98); }
.s-btn-full   { width: 100%; }
.s-btn-sm     { padding: 10px 16px; font-size: 13px; border-radius: var(--r-sm); }

.s-btn-primary {
  background: var(--sg); color: white;
  box-shadow: 0 2px 8px rgba(11,59,58,.25);
}
.s-btn-primary:hover { background: var(--sg-d); }

.s-btn-amber {
  background: var(--sa); color: white;
  box-shadow: 0 2px 8px rgba(232,160,32,.3);
}
.s-btn-amber:hover { opacity: .92; }

.s-btn-outline {
  background: transparent; color: var(--sg);
  border: 1.5px solid var(--sg);
}
.s-btn-outline:hover { background: var(--sg-lt); }

.s-btn-row { display: flex; gap: 10px; }
.s-btn-row .s-btn-outline { flex: 0 0 auto; min-width: 90px; }
.s-btn-row .s-btn-primary,
.s-btn-row .s-btn-amber   { flex: 1; }

/* ══════════════════════════════════════════════════════
   STEPPER
══════════════════════════════════════════════════════ */
.s-stepper {
  display: flex; align-items: center;
  margin-bottom: 24px; padding: 0 4px;
}
.s-step-item {
  display: flex; flex-direction: column; align-items: center; flex: 1;
}
.s-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--sb); background: var(--sw);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--sm); z-index: 1;
  transition: all .2s;
}
.s-step-dot.active {
  border-color: var(--sg); background: var(--sg); color: white;
  box-shadow: 0 0 0 4px var(--sg-lt);
}
.s-step-dot.done   { border-color: var(--sg); background: var(--sg); color: white; }
.s-step-label {
  font-size: 9px; font-weight: 600; color: var(--sm);
  margin-top: 5px; letter-spacing: .3px; text-transform: uppercase;
}
.s-step-line { flex: 1; height: 2px; background: var(--sb); margin-top: -17px; transition: background .2s; }
.s-step-line.done { background: var(--sg); }

/* ══════════════════════════════════════════════════════
   REG STEPS
══════════════════════════════════════════════════════ */
.s-reg-step { display: none; }
.s-reg-step.active { display: block; }
.s-success { display: none; text-align: center; padding: 24px 0; }
.s-success.active { display: block; }

/* ══════════════════════════════════════════════════════
   BILLING TOGGLE
══════════════════════════════════════════════════════ */
.s-billing-toggle {
  display: flex; gap: 8px; margin-bottom: 20px;
  background: var(--sbg); border-radius: var(--r-sm);
  padding: 4px;
}
.s-billing-btn {
  flex: 1; padding: 10px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  border: none; background: transparent; color: var(--sm);
  cursor: pointer; font-family: var(--font);
  transition: all .15s; text-align: center;
}
.s-billing-btn em {
  font-style: normal; font-size: 11px;
  display: block; color: inherit; margin-top: 2px; opacity: .8;
}
.s-billing-btn.active {
  background: var(--sw); color: var(--sg);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════
   PLAN CARDS
══════════════════════════════════════════════════════ */
.s-plan-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.s-plan-card {
  border: 2px solid var(--sb); border-radius: var(--r-md);
  padding: 14px; cursor: pointer; position: relative;
  transition: border-color .15s, background .15s;
  background: var(--sw);
}
.s-plan-card:hover   { border-color: var(--sg-mid); background: var(--sg-xl); }
.s-plan-card.selected {
  border-color: var(--sg); background: var(--sg-lt);
  box-shadow: 0 0 0 3px rgba(11,59,58,.08);
}
.s-plan-badge {
  position: absolute; top: -10px; right: 10px;
  background: var(--sa); color: white;
  font-size: 9px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 99px; text-transform: uppercase;
}
.s-plan-name   { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--st); }
.s-plan-price  { font-size: 22px; font-weight: 700; color: var(--sg); line-height: 1; margin-bottom: 10px; }
.s-plan-price small { font-size: 12px; font-weight: 400; color: var(--sm); }
.s-plan-features {
  list-style: none; font-size: 12px; color: var(--sm); line-height: 1.9;
}
.s-plan-features li::before { content: '✓ '; color: var(--sg-mid); font-weight: 700; }

/* ══════════════════════════════════════════════════════
   CONTRACT PREVIEW
══════════════════════════════════════════════════════ */
.s-contract-preview {
  background: var(--sg-xl); border: 1px solid var(--sb);
  border-radius: var(--r-sm);
  padding: 16px; font-size: 12.5px; line-height: 1.8; color: var(--st);
  max-height: 220px; overflow-y: auto; margin-bottom: 18px;
}
.s-contract-preview h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--sg); }
.s-contract-preview p  { margin-bottom: 8px; }
.s-contract-preview strong { color: var(--sg); }

/* ══════════════════════════════════════════════════════
   SIGNATURE
══════════════════════════════════════════════════════ */
.s-sig-wrap {
  border: 2px dashed var(--sb); border-radius: var(--r-md);
  background: white; height: 180px;
  position: relative; overflow: hidden;
  cursor: crosshair; margin-bottom: 10px;
  transition: border-color .15s;
}
.s-sig-wrap:focus-within { border-color: var(--sg-mid); }
#sigCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.s-sig-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--sm); pointer-events: none;
  gap: 8px; margin: 0;
}
.s-sig-hint::before { content: '✍️'; font-size: 20px; }
.s-sig-hint.hidden { display: none; }
.s-sig-clear {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--sw); border: 1px solid var(--sb);
  border-radius: 6px; padding: 5px 10px; font-size: 11px;
  font-weight: 600; cursor: pointer; color: var(--sm); font-family: var(--font);
}
.s-sig-note { font-size: 12px; color: var(--sm); margin-bottom: 18px; line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   SUCCESS STATE
══════════════════════════════════════════════════════ */
.s-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #dcfce7; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.s-success-icon svg { width: 36px; height: 36px; stroke: #166534; stroke-width: 2.5; }
.s-success-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.s-success-sub   { font-size: 14px; color: var(--sm); margin-bottom: 26px; }

.s-check-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--sb-lt);
}
.s-check-row:last-child { border-bottom: none; }
.s-check-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--sg-lt); color: var(--sg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.s-check-icon svg { width: 18px; height: 18px; }
.s-check-text { font-size: 14px; font-weight: 500; color: var(--st); }
.s-check-time { font-size: 12px; color: var(--sm); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   MAP
══════════════════════════════════════════════════════ */
.s-map-legend { display: flex; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.s-legend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--sm);
}
.s-legend-dot         { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.s-dot-registered     { background: var(--sg); }
.s-dot-claimed        { background: var(--sa); }
.s-dot-directory      { background: #94a3b8; }

.s-map-canvas {
  background: linear-gradient(135deg, var(--sg-lt) 0%, #d8eeee 100%);
  border-radius: var(--r-lg); height: 320px;
  position: relative; overflow: hidden; margin-bottom: 14px;
  border: 1px solid var(--sb);
}
.s-map-dot {
  position: absolute; width: 32px; height: 32px;
  border-radius: 50%; border: 2.5px solid white;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; cursor: pointer; color: white;
  transform: translate(-50%, -50%); transition: transform .15s, box-shadow .15s;
}
.s-map-dot:hover {
  transform: translate(-50%,-50%) scale(1.2);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.s-map-dot.registered { background: var(--sg); }
.s-map-dot.claimed    { background: var(--sa); }
.s-map-dot.directory  { background: #94a3b8; }

.s-map-tooltip {
  position: absolute; background: white; border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 10px 14px;
  font-size: 13px; min-width: 160px; pointer-events: none; z-index: 10;
  border: 1px solid var(--sb-lt);
}
.s-map-tooltip strong { display: block; margin-bottom: 3px; font-size: 14px; color: var(--st); }
.s-map-tooltip small  { color: var(--sm); }

/* ══════════════════════════════════════════════════════
   ACTIVITY LIST
══════════════════════════════════════════════════════ */
.s-activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--sb-lt);
}
.s-activity-item:last-child { border-bottom: none; }
.s-activity-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--sg-lt); color: var(--sg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.s-activity-icon svg { width: 17px; height: 17px; }
.s-activity-body { flex: 1; }
.s-activity-text { font-size: 14px; line-height: 1.4; font-weight: 500; }
.s-activity-meta { font-size: 12px; color: var(--sm); margin-top: 2px; }
.s-activity-time { font-size: 11px; color: var(--sb); margin-top: 4px; }

/* ══════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════ */
.s-stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px; margin-bottom: 14px;
}
.s-stat-card {
  background: var(--sw); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--sb-lt);
  padding: 18px 12px; text-align: center;
}
.s-stat-num   { font-size: 28px; font-weight: 700; color: var(--sg); line-height: 1; }
.s-stat-label { font-size: 11px; color: var(--sm); margin-top: 5px; font-weight: 600; letter-spacing: .3px; }

.s-mrr-card { padding: 20px; }
.s-mrr        { font-size: 32px; font-weight: 700; color: var(--sg); line-height: 1; margin-bottom: 4px; }
.s-mrr span   { font-size: 16px; font-weight: 400; color: var(--sm); }
.s-mrr-trend  { font-size: 13px; color: var(--sg-mid); font-weight: 500; }

/* ══════════════════════════════════════════════════════
   PROFILE
══════════════════════════════════════════════════════ */
.s-agent-card { display: flex; align-items: center; gap: 16px; }
.s-agent-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--sg); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0; letter-spacing: -.5px;
}
.s-agent-name  { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.s-agent-role  { font-size: 13px; color: var(--sm); }
.s-agent-email { font-size: 12px; color: var(--sm); margin-top: 1px; }

.s-settings-row {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 18px; width: 100%;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); border-bottom: 1px solid var(--sb-lt);
  text-align: left; -webkit-tap-highlight-color: transparent;
}
.s-settings-row:last-child { border-bottom: none; }
.s-settings-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--sg-lt); color: var(--sg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.s-settings-icon svg { width: 17px; height: 17px; }
.s-settings-text { flex: 1; }
.s-settings-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--st); }
.s-settings-text span   { font-size: 12px; color: var(--sm); }
.s-chevron { width: 16px; height: 16px; stroke: var(--sb); }

/* ══════════════════════════════════════════════════════
   LOGIN MODAL
══════════════════════════════════════════════════════ */
#s-login-modal, #s-provider-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.s-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7,46,45,.6); backdrop-filter: blur(4px);
}
.s-modal-box {
  position: relative; z-index: 1;
  background: var(--sw); border-radius: 20px;
  padding: 32px 28px; width: 100%; max-width: 400px;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
}
.s-modal-logo {
  font-size: 20px; font-weight: 700; color: var(--sg); margin-bottom: 24px;
}
.s-modal-logo span { color: var(--sa); }
.s-modal-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.4px; }
.s-modal-sub   { font-size: 14px; color: var(--sm); margin-bottom: 24px; }
.s-login-error {
  background: #fee2e2; color: #991b1b; border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 13px; margin-bottom: 16px;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   PROVIDER DETAIL MODAL
══════════════════════════════════════════════════════ */
.s-modal-provider { padding: 0; overflow: hidden; max-width: 460px; }
.s-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--sbg); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 14px; cursor: pointer;
  color: var(--sm); display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.s-modal-close:hover { background: var(--sb); }

.s-provider-modal-header {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 22px 18px; border-bottom: 1px solid var(--sb-lt);
  background: var(--sg-xl);
}
.s-avatar-lg { width: 54px; height: 54px; border-radius: 13px; font-size: 18px; }
.s-provider-modal-name { font-size: 18px; font-weight: 700; margin-bottom: 3px; letter-spacing: -.3px; }
.s-provider-modal-type { font-size: 13px; color: var(--sm); margin-bottom: 8px; }

.s-provider-modal-details { padding: 4px 22px 8px; }
.s-detail-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--sb-lt);
  font-size: 14px; color: var(--st);
}
.s-detail-row:last-child { border-bottom: none; }
.s-detail-row svg { width: 16px; height: 16px; stroke: var(--sg-mid); flex-shrink: 0; stroke-width: 2; }
.s-detail-row a { color: var(--sg); text-decoration: none; font-weight: 500; }
.s-detail-row a:hover { text-decoration: underline; }
.s-detail-row-muted { color: var(--sm); }
.s-detail-row-muted svg { stroke: var(--sm); }
.s-provider-modal-desc {
  padding: 12px 22px 20px; font-size: 13px; color: var(--sm); line-height: 1.6;
  border-top: 1px solid var(--sb-lt);
}

/* ══════════════════════════════════════════════════════
   MISC UTILS
══════════════════════════════════════════════════════ */
.s-divider { height: 1px; background: var(--sb-lt); margin: 16px 0; }

/* ══════════════════════════════════════════════════════
   PROFILE PHOTO UPLOAD
══════════════════════════════════════════════════════ */
.s-photo-upload-wrap {
  position: relative; cursor: pointer;
}
.s-photo-upload-wrap input[type=file] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; width: 100%; height: 100%;
}
.s-photo-avatar {
  width: 80px; height: 80px; border-radius: 18px;
  background: var(--sg); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; flex-shrink: 0;
  letter-spacing: -.5px; position: relative; overflow: hidden;
  border: 3px solid var(--sg-lt);
  transition: filter .15s;
}
.s-photo-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.s-photo-avatar:hover { filter: brightness(.85); }
.s-photo-edit-badge {
  position: absolute; bottom: -4px; right: -4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sa); border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; pointer-events: none;
}
.s-agent-card-v2 {
  display: flex; align-items: center; gap: 18px; padding: 22px;
}
.s-agent-info { flex: 1; min-width: 0; }
.s-agent-name-big {
  font-size: 19px; font-weight: 700; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s-agent-role-line { font-size: 13px; color: var(--sm); margin-bottom: 2px; }
.s-agent-email-line { font-size: 12px; color: var(--sm); }

/* Focus states with !important to beat Astra */
.s-input:focus, .s-select:focus {
  border-color: var(--sg) !important;
  box-shadow: 0 0 0 3px rgba(11,59,58,.09) !important;
}
.s-search-input:focus {
  border-color: var(--sg) !important;
  box-shadow: 0 0 0 4px rgba(11,59,58,.08) !important;
}

/* ══════════════════════════════════════════════════════
   PASSWORD FIELD WITH EYE ICON
══════════════════════════════════════════════════════ */
.s-pw-wrap {
  position: relative; display: flex; align-items: center;
}
.s-pw-wrap .s-input {
  padding-right: 46px !important;
  flex: 1;
}
.s-pw-eye {
  position: absolute; right: 12px;
  background: none; border: none; cursor: pointer;
  color: var(--sm); padding: 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.s-pw-eye:hover { color: var(--sg); }
.s-pw-eye svg { width: 18px; height: 18px; stroke-width: 1.8; }

/* ══════════════════════════════════════════════════════
   MANAGER LEADERBOARD / TEAM VIEW
══════════════════════════════════════════════════════ */
.s-empty-small {
  padding: 16px 18px; font-size: 13px; color: var(--sm);
}

/* Role badge in stats leaderboard */
#myProviders .s-result-card {
  align-items: flex-start;
}

/* ── WordPress wpautop <br> suppression ──────────────────────── */
.s-tabs br, .s-screen br, .s-nav br,
.s-card br, .s-modal-box br {
  display: none !important;
  width: 0 !important; height: 0 !important;
  position: absolute !important; pointer-events: none !important;
}
/* Force tabs to always show — br siblings cause 0-height collapse */
.s-tabs {
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}
.s-tabs > button, .s-tabs > .s-tab {
  flex: 1 1 0 !important;
  display: flex !important;
  min-height: 56px !important;
  min-width: 0 !important;
  width: auto !important;
}
/* Remove <br> from flow entirely */
.s-tabs > br {
  display: none !important;
  flex: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}