/* =============================================================
   WIZYTY — Component CSS
   Implements Euromaster design system for the PHP/Bootstrap app.
   Requires: euromaster.css (design tokens) loaded before this file.
   Strategy: suppress Bootstrap 3 visuals, keep grid (col-*, row).
   ============================================================= */

/* ─── Reset Bootstrap visuals ─────────────────────────────── */
body {
  background: var(--em-bg-sunken);
  font-family: var(--em-font-body);
  font-size: var(--em-fs-body);
  color: var(--em-fg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Kill Bootstrap button defaults */
.btn { all: unset; }
/* Kill Bootstrap form-control defaults */
.form-control { all: unset; }
/* Kill Bootstrap progress-bar defaults */
.progress, .progress-bar { all: unset; }
/* Kill Bootstrap alert defaults */
.alert { all: unset; }
/* Kill Bootstrap well defaults */
.well { all: unset; }
/* Kill Bootstrap panel defaults */
.panel, .panel-body, .panel-heading { all: unset; }
/* Remove Bootstrap container max-width interference */
.container { max-width: 640px; padding: 0 0; }

/* ─── Page wrapper ─────────────────────────────────────────── */
.em-screen {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--em-bg-sunken);
}

/* ─── Flag stripe ──────────────────────────────────────────── */
.em-flag-stripe {
  display: flex;
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}
.em-flag-stripe--lg { height: 6px; }
.em-flag-stripe__blue   { flex: 1; background: var(--em-blue); }
.em-flag-stripe__yellow { flex: 1; background: var(--em-yellow); }
.em-flag-stripe__green  { flex: 1; background: var(--em-green); }

/* ─── App header ───────────────────────────────────────────── */
.em-app-header {
  background: var(--em-white);
  flex-shrink: 0;
}
.em-app-header__bar {
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--em-border-subtle);
}
.em-app-header__back,
.em-app-header__logout {
  all: unset;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--em-blue);
  transition: background var(--em-dur-fast) var(--em-ease-out);
}
.em-app-header__logout { color: var(--em-fg-2); }
.em-app-header__back:hover,
.em-app-header__logout:hover { background: var(--em-grey-pale); }
.em-app-header__logo {
  height: 32px;
  display: block;
}
.em-app-header__spacer { width: 36px; } /* balance when no button on one side */

/* License plate row under header */
.em-plate-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--em-white);
  border-bottom: 1px solid var(--em-border-subtle);
}
.em-plate-bar__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--em-fg-2);
}

/* ─── License plate ────────────────────────────────────────── */
.em-license-plate {
  display: inline-flex;
  height: 28px;
  align-items: stretch;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #111;
  background: #fff;
  font-family: var(--em-font-heading);
  font-weight: 800;
}
.em-license-plate--lg { height: 44px; }
.em-license-plate__eu {
  width: 16px;
  background: #003399;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFCC00;
  font-size: 9px;
  font-weight: 700;
  flex-direction: column;
  padding: 2px 0;
}
.em-license-plate--lg .em-license-plate__eu { width: 22px; font-size: 11px; }
.em-license-plate__eu-star { font-size: 9px; line-height: 1; }
.em-license-plate__eu-pl   { font-size: 8px; margin-top: 0; }
.em-license-plate__text {
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-size: 15px;
  letter-spacing: 1px;
  color: #111;
}
.em-license-plate--lg .em-license-plate__text { padding: 0 14px; font-size: 24px; letter-spacing: 2px; }

/* ─── Screen body ──────────────────────────────────────────── */
.em-screen-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--em-bg-sunken);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ─── Screen title ─────────────────────────────────────────── */
.em-screen-title { margin-bottom: 4px; }
.em-screen-title__overline {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-fg-brand);
  margin-bottom: 6px;
}
.em-screen-title__heading {
  margin: 0;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 22px;
  line-height: 1.2;
  color: var(--em-blue);
  letter-spacing: -0.01em;
}
.em-screen-title__sub {
  margin: 6px 0 0;
  font-size: var(--em-fs-body-sm);
  line-height: var(--em-lh-body);
  color: var(--em-fg-2);
}

/* ─── Card ─────────────────────────────────────────────────── */
.em-card {
  background: var(--em-white);
  border-radius: var(--em-radius-lg);
  box-shadow: var(--em-shadow-1);
  border: 1px solid var(--em-border-subtle);
  overflow: hidden;
}
.em-card__body { padding: 16px; }
.em-card__body--sm { padding: 12px; }
.em-card--accent > .em-flag-stripe { flex-shrink: 0; } /* stripe injected as first child */

/* ─── Status badge ─────────────────────────────────────────── */
.em-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--em-radius-pill);
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.em-status-badge--blue   { background: rgba(45,79,158,.10);  color: var(--em-blue); }
.em-status-badge--yellow { background: rgba(247,166,0,.14);  color: #a06c00; }
.em-status-badge--green  { background: rgba(51,164,87,.14);  color: var(--em-green-dark); }
.em-status-badge--grey   { background: var(--em-grey-light); color: var(--em-fg-2); }
.em-status-badge--red    { background: rgba(214,40,40,.10);  color: var(--em-danger); }
.em-status-badge i[data-lucide] { width: 12px; height: 12px; }

/* ─── Buttons ──────────────────────────────────────────────── */
.em-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--em-radius-md);
  border: none;
  cursor: pointer;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
  transition:
    background var(--em-dur-fast) var(--em-ease-out),
    color var(--em-dur-fast),
    box-shadow var(--em-dur-fast),
    transform var(--em-dur-fast);
}
.em-button:active { transform: scale(.97); }
.em-button i[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }

.em-button--primary { background: var(--em-blue); color: #fff; box-shadow: var(--em-shadow-2); }
.em-button--primary:hover { background: var(--em-blue-light); box-shadow: var(--em-shadow-blue); color: #fff; }

.em-button--ghost {
  background: transparent;
  color: var(--em-blue);
  border: 1.5px solid var(--em-blue);
}
.em-button--ghost:hover { background: var(--em-blue); color: #fff; }

.em-button--yellow { background: var(--em-yellow); color: var(--em-blue); }
.em-button--yellow:hover { background: var(--em-yellow-deep); }

.em-button--green { background: var(--em-green); color: #fff; }
.em-button--green:hover { background: var(--em-green-dark); }

.em-button--danger {
  background: transparent;
  color: var(--em-danger);
  border: 1.5px solid var(--em-danger);
}
.em-button--danger:hover { background: var(--em-danger); color: #fff; }

.em-button--quiet { background: var(--em-grey-pale); color: var(--em-fg-1); }
.em-button--quiet:hover { background: var(--em-grey-light); }

.em-button--link {
  background: transparent;
  color: var(--em-blue);
  border-radius: 0;
  padding: 4px 0;
  min-height: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.em-button--link:hover { color: var(--em-blue-light); }

.em-button--block { width: 100%; }
.em-button--lg { min-height: 52px; font-size: 16px; padding: 16px 22px; }
.em-button--sm { min-height: 36px; font-size: 13px; padding: 10px 14px; }
.em-button--lg i[data-lucide], .em-button--sm i[data-lucide] { width: 16px; height: 16px; }

.em-button:disabled,
.em-button[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* ─── Field ────────────────────────────────────────────────── */
.em-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.em-field__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-fg-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.em-field__optional {
  font-weight: var(--em-w-regular);
  color: var(--em-grey);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.em-field__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--em-white);
  border: 1.5px solid var(--em-border-strong);
  border-radius: var(--em-radius-md);
  font-size: 15px;
  color: var(--em-fg-1);
  transition: border-color var(--em-dur-fast);
}
.em-field__wrap:focus-within {
  border-color: var(--em-blue);
  box-shadow: 0 0 0 3px rgba(45,79,158,.18);
}
.em-field--error .em-field__wrap { border-color: var(--em-danger); }
.em-field__wrap i[data-lucide] { width: 18px; height: 18px; color: var(--em-fg-2); flex-shrink: 0; }
.em-field__input {
  all: unset;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  font-family: var(--em-font-body);
  font-size: 15px;
  color: var(--em-fg-1);
  min-width: 0;
}
.em-field__input::placeholder { color: var(--em-fg-2); opacity: 0.7; }
.em-field__select {
  all: unset;
  flex: 1;
  font-family: var(--em-font-body);
  font-size: 15px;
  color: var(--em-fg-1);
  cursor: pointer;
  min-width: 0;
}
.em-field__textarea {
  all: unset;
  flex: 1;
  font-family: var(--em-font-body);
  font-size: 15px;
  color: var(--em-fg-1);
  width: 100%;
  resize: none;
  padding: 12px 0;
  display: block;
  min-width: 0;
}
.em-field__hint {
  font-size: 12px;
  color: var(--em-fg-2);
  line-height: var(--em-lh-body);
}
.em-field__error {
  font-size: 12px;
  font-weight: var(--em-w-medium);
  color: var(--em-danger);
}
/* Wrap with textarea needs height auto */
.em-field__wrap--textarea {
  min-height: auto;
  padding: 0 14px;
  align-items: flex-start;
}

/* ─── Alert ────────────────────────────────────────────────── */
.em-alert {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--em-radius-md);
  font-size: 13px;
  line-height: 1.5;
}
.em-alert i[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.em-alert__body { flex: 1; }
.em-alert__title {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 13px;
  margin-bottom: 2px;
}

.em-alert--info    { background: rgba(45,79,158,.07);  border-left: 3px solid var(--em-blue);       color: var(--em-blue-dark); }
.em-alert--info i[data-lucide] { color: var(--em-blue); }
.em-alert--warning { background: rgba(247,166,0,.10);  border-left: 3px solid var(--em-yellow-deep); color: #7a4f00; }
.em-alert--warning i[data-lucide] { color: var(--em-yellow-deep); }
.em-alert--danger  { background: rgba(214,40,40,.06);  border-left: 3px solid var(--em-danger);      color: var(--em-danger); }
.em-alert--danger i[data-lucide] { color: var(--em-danger); }
.em-alert--success { background: rgba(51,164,87,.10);  border-left: 3px solid var(--em-green);       color: var(--em-green-dark); }
.em-alert--success i[data-lucide] { color: var(--em-green); }

/* ─── Progress bar ─────────────────────────────────────────── */
.em-progress-bar {
  padding: 10px 16px 14px;
  background: var(--em-white);
  border-top: 1px solid var(--em-border-subtle);
  flex-shrink: 0;
}
.em-progress-bar__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.em-progress-bar__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-fg-2);
}
.em-progress-bar__pct {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  color: var(--em-blue);
}
.em-progress-bar__track {
  height: 4px;
  background: var(--em-grey-light);
  border-radius: var(--em-radius-pill);
  overflow: hidden;
}
.em-progress-bar__fill {
  height: 100%;
  background: var(--em-blue);
  border-radius: var(--em-radius-pill);
  transition: width var(--em-dur-slow) var(--em-ease-out);
}

/* ─── Screen footer ────────────────────────────────────────── */
.em-screen-footer {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--em-grey-pale);
  border-top: 1px solid var(--em-border-subtle);
  flex-shrink: 0;
}
.em-screen-footer__btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: var(--em-w-semibold);
  font-family: var(--em-font-body);
  text-decoration: none;
}
.em-screen-footer__btn--logout { color: var(--em-fg-2); }
.em-screen-footer__btn--help   { color: var(--em-blue); }
.em-screen-footer__btn i[data-lucide] { width: 14px; height: 14px; }

/* ─── Sticky CTA bar ───────────────────────────────────────── */
.em-sticky-cta {
  padding: 12px 16px;
  background: var(--em-white);
  border-top: 1px solid var(--em-border-subtle);
  box-shadow: 0 -4px 12px rgba(27,52,112,.04);
  flex-shrink: 0;
}

/* ─── Service info ─────────────────────────────────────────── */
.em-service-info { display: flex; flex-direction: column; gap: 10px; }
.em-service-info--compact { gap: 6px; }
.em-service-info__head { display: flex; align-items: center; gap: 10px; }
.em-service-info__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--em-bg-sunken);
  padding: 3px;
  color: var(--em-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}
.em-service-info__icon i[data-lucide] { width: 18px; height: 18px; }
.em-service-info__name {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 15px;
  color: var(--em-blue);
}
.em-service-info__address {
  font-size: 13px;
  color: var(--em-fg-1);
  margin-top: 2px;
}
.em-service-info__phone {
  color: var(--em-blue);
  text-decoration: none;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 14px;
}

/* Hours table */
.em-hours-table {
  background: var(--em-grey-pale);
  border-radius: var(--em-radius-md);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  column-gap: 16px;
  font-size: 13px;
}
.em-hours-table__day   { color: var(--em-fg-2); font-weight: var(--em-w-semibold); }
.em-hours-table__value { color: var(--em-fg-1); font-weight: var(--em-w-semibold); font-variant-numeric: tabular-nums; }
.em-hours-table__value--closed { color: var(--em-fg-2); }

/* ─── Map block ────────────────────────────────────────────── */
.em-map-block {
  height: 160px;
  border-radius: var(--em-radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--em-border-subtle);
  background: linear-gradient(180deg, #e7eef7 0%, #d8e3f0 100%);
}
.em-map-block--sm { height: 120px; }
.em-map-block__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* Fallback SVG placeholder when no API key */
.em-map-block__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.em-map-block__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.em-map-block__pin-label {
  background: var(--em-blue);
  color: #fff;
  border-radius: var(--em-radius-pill);
  padding: 5px 10px;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: var(--em-shadow-2);
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.em-map-block__pin-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--em-blue);
}
.em-map-block__pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--em-yellow);
  border: 2px solid var(--em-blue);
  margin-top: -3px;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.em-map-block__attr {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 9px;
  font-weight: var(--em-w-semibold);
  color: var(--em-fg-2);
  background: rgba(255,255,255,.7);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── Tire row ─────────────────────────────────────────────── */
.em-tire-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--em-border-subtle);
}
.em-tire-row:last-child { border-bottom: none; }
.em-tire-row__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-tire-row__icon i[data-lucide] { width: 16px; height: 16px; }
.em-tire-row__icon--winter { background: var(--em-blue); color: #fff; }
.em-tire-row__icon--summer { background: var(--em-yellow-deep); color: #fff; }
.em-tire-row__icon--all    { background: var(--em-green); color: #fff; }
.em-tire-row__icon--grey   { background: var(--em-grey-pale); color: var(--em-blue); }
.em-tire-row__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-fg-2);
}
.em-tire-row__value {
  font-size: 14px;
  font-weight: var(--em-w-medium);
  color: var(--em-fg-1);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ─── Section label (D2D form dividers) ────────────────────── */
.em-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 4px;
  margin-top: 4px;
}
.em-section-label__text {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--em-blue);
}
.em-section-label__line { flex: 1; height: 1px; background: var(--em-border-subtle); }
.em-section-label i[data-lucide] { width: 16px; height: 16px; color: var(--em-blue); }

/* ─── Step indicator ───────────────────────────────────────── */
.em-step-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}
.em-step-indicator__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.em-step-indicator__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 12px;
}
.em-step-indicator__circle--done   { background: var(--em-green); color: #fff; }
.em-step-indicator__circle--active { background: var(--em-blue);  color: #fff; }
.em-step-indicator__circle--future { background: var(--em-grey-light); color: var(--em-grey); }
.em-step-indicator__circle i[data-lucide] { width: 14px; height: 14px; }
.em-step-indicator__step-label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--em-fg-2);
}
.em-step-indicator__step-label--active,
.em-step-indicator__step-label--done { color: var(--em-fg-1); }
.em-step-indicator__connector {
  flex: 1;
  height: 2px;
  background: var(--em-grey-light);
  margin-top: -16px; /* align with circle center */
}
.em-step-indicator__connector--done { background: var(--em-green); }

/* ─── Summary row ──────────────────────────────────────────── */
.em-sum-row { display: flex; gap: 10px; }
.em-sum-row__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--em-grey-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--em-blue);
  flex-shrink: 0;
}
.em-sum-row__icon svg { width: 16px; height: 16px; }
.em-sum-row__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--em-fg-2);
}
.em-sum-row__value {
  font-size: 14px;
  line-height: 1.4;
  color: var(--em-fg-1);
  font-weight: var(--em-w-medium);
  margin-top: 2px;
}

/* ─── D2D banner ───────────────────────────────────────────── */
.em-d2d-banner {
  background: linear-gradient(135deg, var(--em-blue) 0%, var(--em-blue-dark) 100%);
  border-radius: var(--em-radius-lg);
  padding: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.em-d2d-banner__bg-icon {
  position: absolute;
  right: -20px;
  top: -20px;
  opacity: .12;
}
.em-d2d-banner__bg-icon i[data-lucide] { width: 120px; height: 120px; }
.em-d2d-banner__inner { position: relative; }
.em-d2d-banner__overline {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-yellow);
  margin-bottom: 4px;
}
.em-d2d-banner__title {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #fff;
}
.em-d2d-banner__sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}

/* ─── Fleet Derby block ────────────────────────────────────── */
.em-derby-block {
  background: var(--em-yellow);
  color: var(--em-blue);
  border-radius: var(--em-radius-lg);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.em-derby-block__qr {
  width: 56px;
  height: 56px;
  border-radius: var(--em-radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-derby-block__qr i[data-lucide] { width: 36px; height: 36px; color: var(--em-blue); }
.em-derby-block__overline {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.em-derby-block__title {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  line-height: 1.3;
}
.em-derby-block__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 12px;
  color: var(--em-blue);
  text-decoration: underline;
  margin-top: 4px;
}
.em-derby-block__link i[data-lucide] { width: 12px; height: 12px; }

/* ─── Schedule day strip ───────────────────────────────────── */
.em-day-strip {
  display: flex;
  gap: 8px;
  padding: 0 12px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.em-day-strip::-webkit-scrollbar { display: none; }
.em-day-btn {
  all: unset;
  cursor: pointer;
  scroll-snap-align: start;
  width: 56px;
  padding: 10px 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  background: transparent;
  color: var(--em-fg-1);
  border: 1.5px solid var(--em-border-subtle);
  transition: all var(--em-dur-fast) var(--em-ease-out);
}
.em-day-btn:hover:not(:disabled):not(.em-day-btn--active) {
  border-color: var(--em-blue);
  color: var(--em-blue);
}
.em-day-btn--active {
  background: var(--em-blue);
  color: #fff;
  border-color: var(--em-blue);
}
.em-day-btn--disabled,
.em-day-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: var(--em-grey);
}
.em-day-btn__name {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: .8;
}
.em-day-btn__num {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-extrabold);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.em-day-btn__month {
  font-size: 9px;
  font-weight: var(--em-w-medium);
  opacity: .65;
}

/* ─── Schedule strip header ────────────────────────────────── */
.em-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 8px;
}
.em-strip-header__month {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  color: var(--em-blue);
}
.em-strip-header__nav { display: flex; gap: 4px; }
.em-strip-nav-btn {
  all: unset;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--em-blue);
  background: var(--em-grey-pale);
  transition: background var(--em-dur-fast);
}
.em-strip-nav-btn:hover { background: var(--em-blue); color: #fff; }
.em-strip-nav-btn i[data-lucide] { width: 18px; height: 18px; }

/* Selected date callout */
.em-date-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(45,79,158,.06);
  border-radius: var(--em-radius-md);
  color: var(--em-blue);
}
.em-date-callout i[data-lucide] { width: 18px; height: 18px; }
.em-date-callout__text {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
}

/* ─── Time slot grid ───────────────────────────────────────── */
.em-slot-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--em-fg-2);
}
.em-slot-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}
.em-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.em-slot-btn {
  all: unset;
  cursor: pointer;
  text-align: center;
  padding: 12px 0;
  border-radius: var(--em-radius-md);
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: var(--em-white);
  color: var(--em-fg-1);
  border: 1.5px solid var(--em-border-subtle);
  transition: all var(--em-dur-fast) var(--em-ease-out);
}
.em-slot-btn:hover:not(:disabled):not(.em-slot-btn--taken):not(.em-slot-btn--active) {
  border-color: var(--em-blue);
  color: var(--em-blue);
}
.em-slot-btn--active {
  background: var(--em-blue);
  color: #fff;
  border-color: var(--em-blue);
}
.em-slot-btn--taken {
  background: var(--em-grey-light);
  color: var(--em-grey);
  border-color: var(--em-grey-light);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: .6;
}

/* ─── Reminder grid (Contact screen) ──────────────────────── */
.em-reminder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.em-reminder-btn {
  all: unset;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: var(--em-radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--em-white);
  border: 1.5px solid var(--em-border-subtle);
  color: var(--em-fg-1);
  font-size: 13px;
  font-weight: var(--em-w-semibold);
  font-family: var(--em-font-body);
  transition: all var(--em-dur-fast);
}
.em-reminder-btn i[data-lucide] { width: 16px; height: 16px; }
.em-reminder-btn--active {
  background: rgba(45,79,158,.06);
  border-color: var(--em-blue);
  color: var(--em-blue);
}

/* ─── Contact — selected time chip ────────────────────────── */
.em-time-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--em-blue);
  color: #fff;
  border-radius: var(--em-radius-lg);
}
.em-time-chip i[data-lucide] { width: 24px; height: 24px; flex-shrink: 0; }
.em-time-chip__overline {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--em-yellow);
}
.em-time-chip__value {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
}
.em-time-chip__change {
  all: unset;
  cursor: pointer;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 12px;
  color: var(--em-yellow);
  text-decoration: underline;
  margin-left: auto;
}

/* ─── Check icon (Thank-You) ───────────────────────────────── */
.em-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--em-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--em-shadow-green);
}
.em-check-circle i[data-lucide] { width: 36px; height: 36px; }
.em-check-circle--blue { background: var(--em-blue); box-shadow: var(--em-shadow-blue); }

/* ─── Thank-You / Blocked center card hero ─────────────────── */
.em-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.em-hero-icon i[data-lucide] { width: 32px; height: 32px; }
.em-hero-icon--warning { background: rgba(247,166,0,.14); color: var(--em-yellow-deep); }
.em-hero-icon--danger  { background: rgba(214,40,40,.10); color: var(--em-danger); }
.em-hero-icon--blue    { background: var(--em-blue); color: #fff; box-shadow: var(--em-shadow-blue); }

/* ─── FAQ accordion ────────────────────────────────────────── */
.em-faq-item {
  background: var(--em-white);
  border-radius: var(--em-radius-md);
  border: 1px solid var(--em-border-subtle);
  overflow: hidden;
}
.em-faq-item__btn {
  all: unset;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: var(--em-w-semibold);
  font-family: var(--em-font-body);
  color: var(--em-fg-1);
}
.em-faq-item__btn i[data-lucide] { width: 16px; height: 16px; color: var(--em-blue); flex-shrink: 0; }
.em-faq-item__answer {
  padding: 0 14px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--em-fg-2);
  display: none;
}
.em-faq-item--open .em-faq-item__answer { display: block; }

/* ─── Quick action card (Help) ─────────────────────────────── */
.em-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.em-quick-action {
  all: unset;
  cursor: pointer;
  background: var(--em-white);
  border-radius: var(--em-radius-lg);
  border: 1px solid var(--em-border-subtle);
  box-shadow: var(--em-shadow-1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}
.em-quick-action__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--em-grey-pale);
  color: var(--em-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.em-quick-action__icon i[data-lucide] { width: 18px; height: 18px; }
.em-quick-action__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 13px;
  color: var(--em-fg-1);
}
.em-quick-action__sub { font-size: 11px; color: var(--em-fg-2); margin-top: 2px; }

/* ─── Survey rating block ──────────────────────────────────── */
.em-rating-block { display: flex; flex-direction: column; gap: 8px; }
.em-rating-block__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.em-rating-block__label {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 13px;
  color: var(--em-fg-1);
}
.em-rating-block__hint { font-size: 11px; color: var(--em-fg-2); }
.em-rating-block__stars { display: flex; gap: 6px; margin: 4px 0; }
.em-rating-block__star {
  all: unset;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: var(--em-radius-md);
  background: var(--em-white);
  border: 1.5px solid var(--em-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 16px;
  color: var(--em-fg-2);
  transition: all var(--em-dur-fast) var(--em-ease-out);
}
.em-rating-block__star:hover { border-color: var(--em-yellow-deep); background: rgba(247,166,0,.08); color: var(--em-blue); }
.em-rating-block__star--active { background: var(--em-yellow); border-color: var(--em-yellow-deep); color: #fff; }

/* Score-based colours — each button shows its own position colour */
.em-rating-block__star[data-value="1"].em-rating-block__star--active { background: #e53935; border-color: #c62828; color: #fff; }
.em-rating-block__star[data-value="2"].em-rating-block__star--active { background: #fb8c00; border-color: #e65100; color: #fff; }
.em-rating-block__star[data-value="3"].em-rating-block__star--active { background: #fdd835; border-color: #f9a825; color: #5a4200; }
.em-rating-block__star[data-value="4"].em-rating-block__star--active { background: #9ccc65; border-color: #558b2f; color: #1b4a0a; }
.em-rating-block__star[data-value="5"].em-rating-block__star--active { background: #43a047; border-color: #2e7d32; color: #fff; }
.em-rating-stars { display: flex; gap: 6px; }
.em-star-btn {
  all: unset;
  cursor: pointer;
  flex: 1;
  aspect-ratio: 1;
  border-radius: var(--em-radius-md);
  background: var(--em-white);
  border: 1.5px solid var(--em-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--em-dur-fast) var(--em-ease-out);
}
.em-star-btn:hover { border-color: var(--em-yellow-deep); background: rgba(247,166,0,.08); }
.em-star-btn--active { background: var(--em-yellow); border-color: var(--em-yellow-deep); }
.em-star-btn i[data-lucide] { width: 22px; height: 22px; color: var(--em-grey); }
.em-star-btn--active i[data-lucide] { color: var(--em-blue); fill: var(--em-blue); }

/* ─── Help screen big phone ────────────────────────────────── */
.em-bok-phone {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-extrabold);
  font-size: 32px;
  color: var(--em-blue);
  text-decoration: none;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  display: block;
  text-align: center;
  margin: 4px 0;
}

/* ─── Search result card ───────────────────────────────────── */
.em-result-card {
  all: unset;
  cursor: pointer;
  text-align: left;
  background: var(--em-white);
  border-radius: var(--em-radius-lg);
  border: 1px solid var(--em-border-subtle);
  box-shadow: var(--em-shadow-1);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow var(--em-dur-fast), border-color var(--em-dur-fast);
  text-decoration: none;
}
.em-result-card:hover { border-color: var(--em-blue); box-shadow: var(--em-shadow-2); }
.em-result-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--em-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-result-card__icon i[data-lucide] { width: 18px; height: 18px; }
.em-result-card__name {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  color: var(--em-blue);
  margin-bottom: 2px;
}
.em-result-card__addr { font-size: 12px; color: var(--em-fg-1); }
.em-result-card__meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 11px;
  color: var(--em-fg-2);
  flex-wrap: wrap;
}
.em-result-card__meta-item { display: inline-flex; align-items: center; gap: 3px; }
.em-result-card__meta-item i[data-lucide] { width: 12px; height: 12px; }
.em-result-card__meta-item--rating { color: var(--em-yellow-deep); }
.em-result-card__meta-item--slots  { color: var(--em-green-dark); }
.em-result-card__chevron { color: var(--em-blue); margin-left: auto; flex-shrink: 0; }
.em-result-card__chevron i[data-lucide] { width: 20px; height: 20px; }

/* ─── Results header bar ───────────────────────────────────── */
.em-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 0;
}
.em-results-header__count {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-fg-2);
}

/* ─── Appointment detail large time ────────────────────────── */
.em-appt-time {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-extrabold);
  font-size: 44px;
  color: var(--em-blue);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.em-appt-date {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 22px;
  line-height: 1.2;
  color: var(--em-blue);
  text-align: center;
}

/* ─── VIN help bottom sheet ────────────────────────────────── */
.em-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--em-dur-base);
}
.em-sheet-overlay--open { opacity: 1; pointer-events: all; }
.em-sheet {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--em-white);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px 20px 24px;
  transform: translateY(100%);
  transition: transform var(--em-dur-base) var(--em-ease-out);
}
.em-sheet-overlay--open .em-sheet { transform: translateY(0); }
.em-sheet__handle {
  width: 36px;
  height: 4px;
  background: var(--em-grey);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.em-sheet__title {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 18px;
  color: var(--em-blue);
  margin: 0 0 10px;
}

/* ─── Divider ──────────────────────────────────────────────── */
.em-divider {
  height: 1px;
  background: var(--em-border-subtle);
  margin: 10px 0;
}

/* ─── Checkbox wrapper ─────────────────────────────────────── */
.em-checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
  cursor: pointer;
}
.em-checkbox-row input[type="checkbox"] {
  accent-color: var(--em-blue);
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
.em-checkbox-row__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--em-fg-2);
}

/* ─── GDPR notice small text ───────────────────────────────── */
.em-gdpr {
  font-size: 11px;
  line-height: 1.55;
  color: var(--em-fg-2);
  padding: 4px 0;
}

/* ─── GDPR label (contact form checkbox + text) ────────────── */
.em-gdpr-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  padding: 10px 0;
}
.em-gdpr-label__checkbox {
  accent-color: var(--em-blue);
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.em-gdpr-label__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--em-fg-2);
  font-family: var(--em-font-body);
}
.em-gdpr-label__text a { color: var(--em-blue); }

/* ─── Hero icon — green variant ────────────────────────────── */
.em-hero-icon--green {
  background: var(--em-green);
  color: #fff;
  box-shadow: var(--em-shadow-green);
}
.em-hero-icon { width: 72px; height: 72px; }
.em-hero-icon i[data-lucide] { width: 36px; height: 36px; }

/* ─── Time chip body ────────────────────────────────────────── */
.em-time-chip__body { flex: 1; min-width: 0; }
.em-time-chip__date {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
}

/* ─── Derby block — new layout with body/sub ───────────────── */
.em-derby-block {
  background: var(--em-yellow);
  color: var(--em-blue);
  border-radius: var(--em-radius-lg);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.em-derby-block__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--em-radius-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-derby-block__icon-wrap i[data-lucide] { width: 36px; height: 36px; color: var(--em-blue); }
.em-derby-block__body { flex: 1; min-width: 0; }
.em-derby-block__sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--em-blue);
  opacity: .8;
  margin: 4px 0 10px;
  font-family: var(--em-font-body);
}

/* ─── AddEvent widget wrapper ───────────────────────────────── */
.em-addevent-wrap { display: contents; }
.em-addevent-wrap .addeventatc {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--em-radius-md);
  border: 1.5px solid var(--em-blue);
  background: transparent;
  color: var(--em-blue);
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
}

/* ─── Search result card ────────────────────────────────────── */
.em-search-result-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--em-white);
  border-radius: var(--em-radius-lg);
  border: 1px solid var(--em-border-subtle);
  box-shadow: var(--em-shadow-1);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 120ms var(--em-ease-out), border-color 120ms var(--em-ease-out);
}
.em-search-result-card:hover {
  border-color: var(--em-blue);
  box-shadow: var(--em-shadow-2);
}
.em-search-result-card__icon {
  width: 20px;
  height: 20px;
  color: var(--em-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.em-search-result-card__icon i[data-lucide] { width: 18px; height: 18px; }
.em-search-result-card__body { flex: 1; min-width: 0; }
.em-search-result-card__name {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 14px;
  color: var(--em-blue);
  margin-bottom: 2px;
}
.em-search-result-card__addr {
  font-size: 12px;
  color: var(--em-fg-1);
  font-family: var(--em-font-body);
}
.em-search-result-card__meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-semibold);
  font-size: 11px;
  color: var(--em-fg-2);
  flex-wrap: wrap;
}
.em-search-result-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.em-search-result-card__meta i[data-lucide] { width: 12px; height: 12px; }
.em-search-result-card__chevron { color: var(--em-blue); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ─── Spinner animation ─────────────────────────────────────── */
@keyframes em-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ─── 404 display ──────────────────────────────────────────── */
.em-404-num {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-extrabold);
  font-size: 56px;
  color: var(--em-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ─── Login screen layout ──────────────────────────────────── */
.em-login-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--em-white);
}
.em-login-hero {
  padding: 32px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--em-white);
}
.em-login-hero__tagline {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--em-fg-2);
  margin-top: 4px;
}
.em-login-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.em-login-heading {
  margin: 0;
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-extrabold);
  font-size: 26px;
  line-height: 1.15;
  color: var(--em-blue);
  letter-spacing: -0.01em;
}
.em-login-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--em-fg-2);
}
.em-login-footer {
  padding: 12px 16px;
  text-align: center;
  background: var(--em-grey-pale);
  border-top: 1px solid var(--em-border-subtle);
}
.em-login-footer__help {
  font-size: 12px;
  font-weight: var(--em-w-semibold);
  color: var(--em-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--em-font-body);
}
.em-login-footer__help i[data-lucide] { width: 14px; height: 14px; }
.em-login-footer__copy { font-size: 10px; color: var(--em-fg-2); margin-top: 6px; }

/* ─── Section group label (inline search, misc) ────────────── */
.em-label-sub {
  font-family: var(--em-font-heading);
  font-weight: var(--em-w-bold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-fg-2);
  padding: 6px 0 10px;
}

/* ─── Responsive helpers ───────────────────────────────────── */
@media (max-width: 480px) {
  .em-screen { max-width: 100%; }
}
@media (min-width: 640px) {
  .em-screen {
    margin: 24px auto;
    border-radius: var(--em-radius-lg);
    min-height: auto;
    box-shadow: var(--em-shadow-3);
    overflow: hidden;
  }
}
