/* ==========================================================================
   DRIVER (mobile) — 5 screens. iOS-inspired, but real responsive web.
   Supports DE (default LTR) and AR (RTL) — siehe i18n.js.
   ========================================================================== */

/* Sprach-Toggle-Button (kompakt, neben Theme-Toggle) */
.lang-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.lang-toggle:hover { background: var(--surface-2); color: var(--text); }

/* RTL: Bottom-Nav-Items in umgekehrter Reihenfolge fließen lassen,
   Chevrons spiegeln, Inputs rechtsbündig. */
[dir="rtl"] body { font-family: var(--font-sans); }

[dir="rtl"] .d-header {
  flex-direction: row-reverse;
}
[dir="rtl"] .d-header__title-block { text-align: right; }
[dir="rtl"] .d-hero__head { flex-direction: row-reverse; }
[dir="rtl"] .d-hero__stats { direction: rtl; }
[dir="rtl"] .d-hero__meta { flex-direction: row-reverse; }
[dir="rtl"] .d-hero__cta { direction: rtl; }
[dir="rtl"] .d-order-row { flex-direction: row-reverse; }
[dir="rtl"] .d-order-row__main { text-align: right; }
[dir="rtl"] .d-order-row__price { text-align: left; }
[dir="rtl"] .d-orders-summary { direction: rtl; }
[dir="rtl"] .d-filter-bar { flex-direction: row-reverse; }
[dir="rtl"] .d-ticker__row { direction: rtl; }
[dir="rtl"] .d-ticker__msg {
  direction: rtl; text-align: right;
  unicode-bidi: plaintext;
}
[dir="rtl"] .d-nav { flex-direction: row-reverse; }
[dir="rtl"] .d-profile-card { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .d-settings-row { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .d-prov-card__foot { flex-direction: row-reverse; }
[dir="rtl"] .detail__head { flex-direction: row-reverse; }
[dir="rtl"] .detail__field { flex-direction: row-reverse; }
[dir="rtl"] .detail__field-label { text-align: right; }
[dir="rtl"] .detail__field-control { flex-direction: row-reverse; }
[dir="rtl"] .detail__pills { direction: rtl; }
[dir="rtl"] .chip-list { direction: rtl; }
[dir="rtl"] .chip-add-row { flex-direction: row-reverse; }

/* Chevrons im Driver spiegeln, wenn RTL */
[dir="rtl"] .d-header__actions [data-icon="chevron"] svg,
[dir="rtl"] .d-order-row [data-icon="chevron"] svg,
[dir="rtl"] .d-settings-row [data-icon="chevron"] svg,
[dir="rtl"] .detail__back [data-icon="chevron"] svg {
  transform: scaleX(-1);
}

/* Number Inputs sollen LTR bleiben (Zahlen sind LTR auch im RTL-Layout) */
[dir="rtl"] input[type="number"],
[dir="rtl"] input[type="text"][data-input="dateFrom"],
[dir="rtl"] input[type="text"][data-input="dateTo"],
[dir="rtl"] input[type="text"][data-input="pickupDateFrom"],
[dir="rtl"] .text-mono {
  direction: ltr;
  text-align: right;
}

/* Login-RTL */
[dir="rtl"] .login-card { text-align: right; }
[dir="rtl"] .login-pw-toggle { right: auto; left: 4px; }
[dir="rtl"] .login-pw-input { padding-right: 12px; padding-left: 110px; }

.driver {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* ── App header ── */
.d-header {
  background: var(--header-bg);
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.d-header__greet { font-size: 12px; color: var(--text-3); }
.d-header__name  { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.1; margin-top: 2px; }

.d-header__title-block { flex: 1; min-width: 0; }
.d-header__sub { font-size: 11px; color: var(--text-3); font-weight: 600; }
.d-header__title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--text); }

.d-header__actions { display: flex; gap: 8px; align-items: center; }

.d-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text-2);
  position: relative;
  transition: background .12s;
}
.d-icon-btn:hover { background: var(--surface-2); }
.d-icon-btn--small { width: 34px; height: 34px; }
.d-icon-btn__dot {
  position: absolute; top: 7px; right: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--surface);
}

.d-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.d-avatar--lg { width: 60px; height: 60px; font-size: 22px; font-weight: 800; }

/* ── Body / Scroll area ── */
.d-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Summary-Bar oben (X aktiv · Y inaktiv · Heute …) ── */
.d-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.d-summary__pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  min-width: 56px;
}
.d-summary__pill--green { background: var(--green-tint); color: var(--green); }
.d-summary__pill--muted { background: var(--surface-2); color: var(--text-3); }
.d-summary__num   { font-family: var(--font-mono); font-size: 18px; font-weight: 800; line-height: 1; }
.d-summary__lbl   { font-size: 9px; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; margin-top: 2px; }
.d-summary__today { display: flex; align-items: center; gap: 6px; }

/* ── Instanz-Liste ── */
.d-inst-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-inst {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color .12s, transform .12s, box-shadow .12s, opacity .15s;
  position: relative;
  overflow: hidden;
}
.d-inst:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}
.d-inst.is-live {
  border-color: rgba(22,163,74,0.30);
  box-shadow: 0 0 0 1px rgba(22,163,74,0.20), 0 1px 0 rgba(15,23,42,0.02);
}
.d-inst.is-live::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
}
.d-inst.is-stopped { opacity: 0.92; }
.d-inst.is-offline { opacity: 0.65; }

.d-inst__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.d-inst__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.d-inst__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-inst__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}
.d-inst__dot--amber { background: var(--amber); }
.d-inst__dot--gray  { background: var(--text-3); }
.d-inst__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--green-tint);
}
.d-inst__pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: dInstPulse 2s ease-out infinite;
}
@keyframes dInstPulse {
  0%   { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(2.2); }
}

.d-inst__pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.d-inst__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.d-inst__stat-label {
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.d-inst__stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
  color: var(--text);
}
.d-inst__stat-value--brand { color: var(--brand); }
.d-inst__stat-value--green { color: var(--green); }

.d-inst__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.d-inst__last {
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-inst__cta {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.d-inst__btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-2);
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.d-inst__btn:hover { background: var(--surface); color: var(--text); }
.d-inst__btn--red { color: var(--red); border-color: var(--red-tint); background: var(--red-tint); }

/* ── Hero instance card (Live screen) ── */
.d-hero {
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.d-hero::before, .d-hero::after {
  content: ""; position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.d-hero::before {
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: rgba(59,91,219,0.30);
}
.d-hero::after {
  left: -30px; bottom: -50px;
  width: 140px; height: 140px;
  background: rgba(74,222,128,0.12);
}

.d-hero__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; z-index: 1;
}
.d-hero__eyebrow { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }
.d-hero__title   { font-size: 18px; font-weight: 800; margin-top: 3px; }
.d-hero__sub     { font-size: 11px; color: #cbd5e1; margin-top: 3px; display: flex; align-items: center; gap: 6px; }

.d-hero__pulse {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
}
.d-hero__pulse::before, .d-hero__pulse::after {
  content: ""; position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(74,222,128,0.4);
}
.d-hero__pulse::before { inset: 0; }
.d-hero__pulse::after  { inset: 6px; border-color: rgba(74,222,128,0.7); }
.d-hero__pulse-core {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 16px #4ade80;
  position: relative; z-index: 1;
}

.d-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  position: relative; z-index: 1;
}
.d-hero__stat-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; }
.d-hero__stat-value { font-family: var(--font-mono); font-size: 20px; font-weight: 800; }
.d-hero__stat-value--brand { color: #93c5fd; }
.d-hero__stat-value--green { color: #4ade80; }

.d-hero__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: #cbd5e1;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.d-hero__meta-mono { font-family: var(--font-mono); font-weight: 700; }

.d-hero__cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  position: relative; z-index: 1;
}
.d-hero__btn {
  border: none;
  border-radius: 11px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex; justify-content: center; gap: 6px; align-items: center;
  cursor: pointer;
}
.d-hero__btn--ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
}
.d-hero__btn--amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217,119,6,0.35);
}
.d-hero__btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220,38,38,0.4);
}

/* ── "Heute" card ── */
.d-today {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding-top: 10px;
}
.d-today__num {
  font-size: 28px; font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
  margin-top: 2px;
}
.d-today__num--green { color: var(--green); }
.d-today__spark { margin-left: auto; }

/* ── Live ticker (mini log inside card) ── */
.d-ticker { display: flex; flex-direction: column; }
.d-ticker__row {
  display: grid;
  grid-template-columns: 56px 8px 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px dashed var(--border);
}
.d-ticker__row:first-child { border-top: none; }
.d-ticker__time { font-family: var(--font-mono); color: var(--text-3); font-size: 10px; }
.d-ticker__dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.d-ticker__msg  {
  font-size: 12px; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Bottom nav ── */
.d-nav {
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0));
  flex-shrink: 0;
}
.d-nav__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 4px 14px;
  color: var(--text-3);
  background: transparent; border: none;
  cursor: pointer;
}
.d-nav__item.is-active { color: var(--brand); }
.d-nav__item.is-active .d-nav__label { font-weight: 700; }
.d-nav__label { font-size: 10px; font-weight: 500; }

/* ── Auftrags-Liste (group + row) ── */
.d-orders-summary {
  background: var(--surface);
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.d-orders-summary__label { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; }
.d-orders-summary__value { font-family: var(--font-mono); font-size: 16px; font-weight: 800; }

.d-orders-group { padding: 12px 16px 6px; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.7px; font-weight: 700; background: var(--bg); }
.d-order-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.d-order-row__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.d-order-row__icon--real { background: var(--green-tint); color: var(--green); }
.d-order-row__icon--dry  { background: var(--amber-tint); color: var(--amber); }
.d-order-row__main { flex: 1; min-width: 0; }
.d-order-row__title { display: flex; align-items: center; gap: 6px; }
.d-order-row__name  { font-size: 13px; font-weight: 700; color: var(--text); }
.d-order-row__id    { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); margin-top: 2px; }
.d-order-row__price { font-family: var(--font-mono); font-weight: 800; font-size: 14px; color: var(--text); text-align: right; }

/* ── Filter row (Aufträge) ── */
.d-filter-bar {
  background: var(--surface);
  padding: 10px 16px;
  display: flex; gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.d-filter-bar::-webkit-scrollbar { display: none; }

/* ── Profile screen ── */
.d-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
}
.d-profile-card__name { font-size: 17px; font-weight: 800; }
.d-profile-card__sub  { font-size: 12px; color: var(--text-3); }
.d-profile-card__pills { display: flex; gap: 5px; margin-top: 6px; }

.d-prov-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.d-prov-card__amount { font-family: var(--font-mono); font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.d-prov-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; }

.d-settings-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.d-settings-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  background: transparent; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
}
.d-settings-row:last-child { border-bottom: none; }
.d-settings-row__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.d-settings-row__icon--danger { background: var(--red-tint); color: var(--red); }
.d-settings-row__label { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
.d-settings-row__label--danger { color: var(--red); }
.d-settings-row__value { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }

/* ── Danger banner (Regeln, Auto-Kauf scharf) ── */
.d-danger-banner {
  background: linear-gradient(180deg, var(--red-tint) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--red-tint);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.d-danger-banner__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* ── Slider (Limits) ── */
.d-slider { position: relative; height: 6px; background: var(--surface-2); border-radius: var(--radius-pill); margin-top: 6px; }
.d-slider__fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--brand); border-radius: var(--radius-pill); }
.d-slider__knob { position: absolute; top: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,0.15); }

/* ── Detail screen: timeline ── */
.d-step {
  display: grid;
  grid-template-columns: 70px 16px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.d-step__time { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.d-step__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.d-step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-2);
  flex-shrink: 0;
}
.d-step__dot--done    { background: var(--green); }
.d-step__dot--current { background: var(--brand); border: 3px solid var(--brand-tint); box-shadow: 0 0 0 3px rgba(59,91,219,0.2); }
.d-step__line { flex: 1; width: 2px; background: var(--border); margin-top: 2px; }
.d-step__line--done { background: var(--green); }
.d-step__label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.d-step__label--current { font-weight: 700; color: var(--text); }

/* ── Login (mobile + desktop friendly) ── */
.login-screen {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, var(--brand-tint) 0%, var(--bg) 60%);
}
.login-card {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.login-card__brand {
  text-align: center;
  margin-bottom: 24px;
}
.login-card__logo {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px;
  letter-spacing: -1px;
}
.login-card__name { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.login-card__hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

.login-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
}
.login-tab {
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-3);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.login-tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.login-field { margin-bottom: 12px; }
.login-field__label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; margin-bottom: 6px; display: block; }

.login-error {
  background: var(--red-tint);
  color: var(--red);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  margin-bottom: 12px;
}

/* Password show/hide toggle inside the input */
.login-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.login-pw-input {
  padding-right: 110px;
}
.login-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
  user-select: none;
}
.login-pw-toggle:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.login-pw-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.login-pw-toggle[aria-pressed="true"] {
  color: var(--brand);
  background: var(--brand-tint);
  border-color: transparent;
}
.login-pw-toggle__label {
  font-size: 11px;
  letter-spacing: 0.2px;
}
