.agent-select-button {
  gap: 12px;
  min-width: 182px;
  min-height: 50px;
  padding: 8px 16px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--agent-accent, #ff3dcb) 24%, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.014);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px color-mix(in srgb, var(--agent-accent, #ff3dcb) 8%, transparent);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.agent-select-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--agent-accent, #ff3dcb) 44%, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.agent-select-logo,
.pref-agent-logo,
.supported-agent-pill img,
.converter-result-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-select-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.agent-select-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.agent-select-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.agent-select-copy strong {
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.agent-select-copy small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-select-static {
  min-width: 168px;
}

.agent-select-static .agent-select-copy strong {
  font-size: 13px;
}

.agent-select-static .agent-select-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.settings-trigger {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 18px;
}

.partner-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--promo-accent, #ff3dcb) 26%, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--promo-accent, #ff3dcb) 18%, transparent), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(9, 9, 13, 0.96);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--promo-accent, #ff3dcb) 8%, transparent),
    0 22px 56px rgba(0, 0, 0, 0.34);
}

.partner-banner-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.partner-banner-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.partner-banner-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.partner-banner-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.partner-banner-copy strong span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--promo-accent, #4f8cff) 24%, transparent);
  color: color-mix(in srgb, var(--promo-accent, #4f8cff) 64%, white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.partner-banner-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
}

.partner-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 170px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: color-mix(in srgb, var(--promo-accent, #67a6ff) 72%, white);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.partner-banner-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.partner-banner-close:hover,
.partner-banner-link:hover {
  color: white;
}

.preferences-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: rgba(2, 2, 6, 0.72);
  backdrop-filter: blur(16px);
}

.preferences-backdrop[hidden] {
  display: none !important;
}

.preferences-modal {
  width: min(100%, 640px);
  max-height: min(92dvh, 920px);
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 32px;
  border: 1px solid rgba(255, 61, 203, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 12, 0.98);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.56);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.preferences-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.preferences-head,
.preferences-title-wrap,
.preferences-agent-list,
.pref-agent-card,
.converter-result-top,
.converter-result-actions {
  display: flex;
  align-items: center;
}

.preferences-head {
  justify-content: space-between;
  gap: 16px;
}

.preferences-title-wrap {
  align-items: flex-start;
  gap: 14px;
}

.preferences-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(72, 126, 255, 0.36);
  border-radius: 16px;
  background: rgba(41, 104, 255, 0.14);
  color: #9bc0ff;
  font-size: 22px;
}

.preferences-title-wrap strong {
  display: block;
  margin-bottom: 4px;
  font-size: 34px;
  line-height: 1.05;
}

.preferences-title-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.preferences-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.preferences-memory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.preferences-memory-copy {
  display: grid;
  gap: 6px;
}

.preferences-memory-copy strong {
  font-size: 15px;
}

.preferences-memory-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.preferences-memory input[type="checkbox"] {
  position: relative;
  width: 56px;
  height: 32px;
  margin: 0;
  appearance: none;
  border: 1px solid rgba(74, 124, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.preferences-memory input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease;
}

.preferences-memory input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #2968ff, #5282ff);
  border-color: rgba(102, 151, 255, 0.7);
}

.preferences-memory input[type="checkbox"]:checked::after {
  transform: translateX(24px);
}

.preferences-section {
  margin-top: 28px;
}

.preferences-section-label {
  margin: 0 0 12px;
  color: #7d92bf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preferences-agent-list {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.pref-agent-card {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pref-agent-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--agent-accent, #4f8cff) 36%, rgba(255, 255, 255, 0.14));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.pref-agent-card.active {
  border-color: color-mix(in srgb, var(--agent-accent, #4f8cff) 58%, rgba(255, 255, 255, 0.12));
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--agent-accent, #4f8cff) 18%, transparent),
      color-mix(in srgb, var(--agent-accent, #4f8cff) 8%, transparent)
    ),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--agent-accent, #4f8cff) 16%, transparent),
    0 18px 38px rgba(14, 35, 88, 0.28);
}

.pref-agent-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.pref-agent-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pref-agent-copy {
  display: grid;
  flex: 1;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.pref-agent-copy strong {
  font-size: 18px;
  line-height: 1.1;
}

.pref-agent-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.pref-agent-dot {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.pref-agent-card.active .pref-agent-dot {
  border-color: color-mix(in srgb, var(--agent-accent, #2968ff) 82%, white);
  background: radial-gradient(circle at center, white 0 38%, transparent 42% 100%), var(--agent-accent, #2968ff);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--agent-accent, #2968ff) 18%, transparent);
}

.preferences-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.preferences-section:last-of-type .preferences-segmented {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preferences-segment {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--soft);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.preferences-segment.active {
  background: rgba(255, 255, 255, 0.11);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.preferences-save {
  width: 100%;
  min-height: 58px;
  margin-top: 28px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #f5f5f8, #ffffff);
  color: #0a0a10;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

body.modal-open {
  overflow: hidden;
}

.converter-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(50, 97, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 61, 203, 0.08), transparent 28%),
    linear-gradient(180deg, #05060b 0%, #040408 56%, #030306 100%);
}

.converter-main {
  display: grid;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 64px;
}

.converter-banner {
  width: min(100%, 780px);
}

.converter-hero,
.converter-results-shell,
.converter-step {
  border: 1px solid rgba(255, 61, 203, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 8, 14, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.converter-hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(28px, 6vw, 54px);
  border-radius: 34px;
  text-align: center;
}

.converter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(71, 119, 255, 0.34);
  border-radius: 999px;
  background: rgba(71, 119, 255, 0.08);
  color: #8eb7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.converter-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  text-align: center;
}

.converter-hero p {
  max-width: 840px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.55;
}

.converter-form-shell {
  width: min(100%, 980px);
}

.converter-input-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.converter-input-icon {
  color: #7faeff;
  font-size: 24px;
}

.converter-input-row input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(17px, 2vw, 22px);
  outline: none;
}

.converter-input-row input::placeholder {
  color: #767387;
}

.converter-submit,
.converter-result-actions a,
.converter-copy-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 850;
}

.converter-submit {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(61, 117, 255, 0.9), rgba(109, 142, 255, 0.92));
  color: white;
  font-size: 17px;
  cursor: pointer;
}

.converter-status {
  min-height: 28px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
}

.converter-supported {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.supported-agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.supported-agent-pill img,
.converter-result-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.converter-results-shell {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.converter-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.converter-results-head h2 {
  margin: 6px 0 0;
  font-size: clamp(32px, 4.2vw, 54px);
}

.converter-meta {
  color: #9fc0ff;
  font-size: 14px;
  font-weight: 850;
  text-align: right;
}

.converter-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.converter-result-card,
.converter-empty {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.converter-result-card.preferred {
  border-color: color-mix(in srgb, var(--agent-accent, #5684ff) 56%, rgba(255, 255, 255, 0.12));
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--agent-accent, #4777ff) 16%, transparent), transparent 36%),
    rgba(255, 255, 255, 0.03);
}

.converter-result-top {
  gap: 12px;
  margin-bottom: 16px;
}

.converter-result-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
}

.converter-result-top strong {
  display: block;
  font-size: 18px;
}

.converter-result-top small {
  color: var(--muted);
  font-size: 12px;
}

.converter-result-link {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  word-break: break-all;
}

.converter-result-actions {
  gap: 10px;
}

.converter-result-actions a,
.converter-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.converter-result-actions a {
  background: linear-gradient(135deg, #ff3dcb, #ff7ae0);
  color: #09050a;
}

.converter-copy-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.converter-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 140px;
  place-content: center;
  text-align: center;
}

.converter-empty strong {
  font-size: 18px;
}

.converter-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.converter-empty.error {
  border-color: rgba(255, 118, 118, 0.24);
}

.converter-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.converter-step {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 26px;
}

.converter-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 950;
}

.converter-step strong {
  font-size: 18px;
}

.converter-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-surface,
  .reveal-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.tracker-widget-host {
  padding: 0 26px 26px;
}

.tracker-widget-live-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.tracker-widget-live {
  min-height: 560px;
}

.tracker-widget-host .tracker-widget-placeholder {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.tracker-widget-fallback {
  padding: 26px;
  text-align: center;
}

.tracker-widget-fallback p {
  max-width: 720px;
  margin: 0 auto;
}

.tracker-page .tracker-meta article {
  min-height: 0;
}

.tracker-page .tracker-meta strong {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.18;
}

.tracker-page .tracker-status {
  min-height: 24px;
}

.tracker-page .tracker-result {
  min-height: 0;
}

@media (max-width: 560px) {
  .language-switcher,
  .currency-switcher {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .partner-banner {
    width: 100%;
  }

  .converter-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .converter-meta {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .converter-steps {
    grid-template-columns: 1fr;
  }

  .partner-banner {
    grid-template-columns: auto 1fr;
  }

  .partner-banner-link {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .agent-select-button {
    min-width: 0;
    flex: 1 1 100%;
  }

  .partner-banner {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px;
    border-radius: 28px;
  }

  .partner-banner-close {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .partner-banner-copy strong {
    flex-wrap: wrap;
  }

  .converter-hero {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .converter-hero h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .converter-input-row {
    grid-template-columns: 1fr;
    justify-items: stretch;
    min-height: 0;
    padding: 16px;
  }

  .converter-input-icon {
    display: none;
  }

  .converter-submit {
    width: 100%;
  }

  .converter-results-shell {
    padding: 20px;
  }

  .tracker-widget-host {
    padding: 0 16px 16px;
  }

  .preferences-backdrop {
    padding: 8px;
  }

  .preferences-modal {
    width: min(100vw - 8px, 640px);
    max-height: calc(100dvh - 8px);
    padding: 24px 22px 28px;
    border-radius: 30px;
  }

  .preferences-title-wrap strong {
    font-size: 28px;
  }

  .preferences-segmented {
    grid-template-columns: 1fr;
  }

  .preferences-section:last-of-type .preferences-segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Compact preferences sheet for phones */

@media (max-width: 760px) {
  .preferences-backdrop {
    align-items: end !important;
    padding: 10px !important;
  }

  .preferences-modal {
    width: min(100%, 520px) !important;
    max-height: calc(100dvh - 20px) !important;
    padding: 16px 14px 18px !important;
    border-radius: 24px 24px 0 0 !important;
    scrollbar-width: none;
  }

  .preferences-modal::-webkit-scrollbar {
    display: none;
  }

  .preferences-head {
    align-items: center !important;
    gap: 10px !important;
  }

  .preferences-title-wrap {
    min-width: 0;
    gap: 10px !important;
  }

  .preferences-title-wrap strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .preferences-title-wrap p {
    display: none !important;
  }

  .preferences-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
  }

  .preferences-close {
    width: 38px !important;
    height: 38px !important;
  }

  .preferences-memory {
    margin-top: 14px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .preferences-memory-copy {
    gap: 3px !important;
  }

  .preferences-memory-copy strong {
    font-size: 13px !important;
  }

  .preferences-memory-copy small {
    font-size: 11px !important;
  }

  .preferences-memory input[type="checkbox"] {
    width: 48px !important;
    height: 30px !important;
    min-width: 48px !important;
  }

  .preferences-memory input[type="checkbox"]::after {
    width: 22px !important;
    height: 22px !important;
  }

  .preferences-memory input[type="checkbox"]:checked::after {
    transform: translateX(18px) !important;
  }

  .preferences-section {
    margin-top: 18px !important;
  }

  .preferences-section-label {
    margin-bottom: 9px !important;
    font-size: 10px !important;
  }

  .preferences-agent-list {
    gap: 9px !important;
  }

  .pref-agent-card {
    min-height: 58px !important;
    padding: 10px !important;
    border-radius: 15px !important;
  }

  .pref-agent-logo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }

  .pref-agent-copy strong {
    font-size: 14px !important;
  }

  .pref-agent-copy small {
    font-size: 10px !important;
  }

  .pref-agent-dot {
    width: 20px !important;
    height: 20px !important;
  }

  .preferences-segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-height: 44px !important;
    padding: 4px !important;
    border-radius: 15px !important;
  }

  .preferences-section:last-of-type .preferences-segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .preferences-segment {
    min-height: 36px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .preferences-save {
    min-height: 48px !important;
    margin-top: 18px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
  }
}
