:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #73777d;
  --line: #e4e7ec;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --blue: #153f73;
  --blue-dark: #0d315d;
  --blue-soft: #eef4fb;
  --accent: #f0a202;
  --accent-soft: #fff5dc;
  --green: #126b58;
  --yellow: #8a6100;
  --red: #c1121f;
  --red-soft: #fff0f2;
  --shadow: 0 14px 34px rgba(16, 38, 71, 0.13);
  --shadow-hover: 0 18px 42px rgba(16, 38, 71, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body,
body * {
  text-transform: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 46%, #f5f7fa 100%);
  color: var(--ink);
}

.app-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  animation: view-in 460ms cubic-bezier(.2, .7, .2, 1) both;
}

.app-shell[hidden],
.order-view[hidden] {
  display: none !important;
}

.search-panel,
.results-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-panel {
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--blue);
  box-shadow: var(--shadow), inset 4px 0 0 var(--red);
  animation: panel-breathe 5.5s ease-in-out infinite;
}

.results-panel {
  border-radius: 8px;
  padding: 24px;
  min-height: 680px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #1d5c96 72%, var(--red) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 20px rgba(21, 63, 115, 0.22);
  animation: brand-float 3.8s ease-in-out infinite;
}

.search-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.search-copy {
  min-width: 0;
}

.search-highlights {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}

.search-highlights span {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  animation: pill-pop 520ms cubic-bezier(.2, .8, .2, 1) both;
}

.search-highlights span:nth-child(2) {
  animation-delay: 90ms;
}

.search-highlights span:nth-child(3) {
  animation-delay: 180ms;
}

.search-highlights span:nth-child(1) {
  background: var(--blue-soft);
  color: var(--blue);
}

.search-highlights span:nth-child(2) {
  background: var(--accent-soft);
  color: var(--yellow);
}

.search-highlights span:nth-child(3) {
  background: var(--red-soft);
  color: var(--red);
}

.intro h1,
.results-header h2 {
  margin: 0;
  line-height: 1.04;
}

.intro h1 {
  font-size: clamp(30px, 4vw, 44px);
  max-width: none;
}

.intro p {
  color: var(--muted);
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 760px;
}

.address-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) minmax(92px, 0.55fr) minmax(128px, 0.75fr) minmax(155px, 0.9fr) minmax(170px, 0.9fr) minmax(210px, 1fr);
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.address-form > label,
.address-form .form-grid label,
.address-form .choice-group,
.address-form .primary-button {
  animation: form-item-in 420ms ease both;
}

.address-form .form-grid:nth-of-type(1) label {
  animation-delay: 60ms;
}

.address-form .form-grid:nth-of-type(2) label {
  animation-delay: 120ms;
}

.address-form .choice-group {
  animation-delay: 180ms;
}

.address-form .primary-button {
  animation-delay: 240ms;
}

@keyframes form-item-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

label,
.choice-group {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

label:hover input,
label:hover textarea {
  border-color: rgba(21, 63, 115, 0.35);
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 99, 216, 0.12);
  transform: translateY(-1px);
}

textarea {
  min-height: 96px;
  line-height: 1.45;
  resize: vertical;
}

.field-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.address-form .form-grid {
  display: contents;
}

.address-form .choice-group {
  grid-column: 1 / 5;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  background: #fff;
}

.address-form .service-mode,
.address-form .start-socket-check {
  grid-column: 1 / -1;
}

.address-form .service-mode {
  grid-template-columns: repeat(2, max-content);
}

.address-form .start-socket-check {
  grid-template-columns: repeat(2, max-content) minmax(280px, 1fr);
}

.antenna-socket-row {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  gap: 10px;
  align-items: center;
}

.antenna-socket-row span {
  color: var(--muted);
  font-weight: 750;
}

.address-form .primary-button {
  grid-column: 5 / -1;
  align-self: stretch;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
}

.order-form .contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.choice-group legend {
  padding: 0 6px;
  color: var(--muted);
}

.choice-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 520;
}

.choice-group input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.primary-button {
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(21, 63, 115, 0.20);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: button-sheen 3.4s ease-in-out infinite;
  pointer-events: none;
}

.primary-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 63, 115, 0.26);
}

.primary-button span[aria-hidden="true"] {
  display: inline-flex;
  animation: arrow-nudge 1.4s ease-in-out infinite;
}

.primary-button > span {
  position: relative;
  z-index: 1;
}

@keyframes arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.results-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-header h2 {
  font-size: 26px;
}

.check-time {
  min-width: 140px;
  text-align: right;
  color: var(--muted);
  font-size: 14px;
}

.status-banner {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.status-banner.loading {
  border-color: rgba(18, 99, 216, 0.3);
  background: rgba(18, 99, 216, 0.08);
}

.loading-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
}

.loader-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(18, 99, 216, 0.32);
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(18, 99, 216, 0.32);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 9px rgba(18, 99, 216, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(18, 99, 216, 0);
  }
}

.status-banner.success {
  border-color: rgba(19, 121, 91, 0.28);
  background: rgba(19, 121, 91, 0.08);
  animation: banner-pop 420ms cubic-bezier(.2, .75, .2, 1) both;
}

.status-banner.warning {
  border-color: rgba(138, 97, 0, 0.28);
  background: rgba(255, 196, 71, 0.14);
}

.status-banner.error {
  border-color: rgba(180, 35, 24, 0.28);
  background: rgba(180, 35, 24, 0.08);
}

.offers-list,
.provider-grid {
  display: grid;
  gap: 12px;
}

.provider-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card,
.provider-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 38, 71, 0.08);
  animation: card-in 420ms cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--card-delay, 0ms);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.offer-card:hover,
.provider-card:hover {
  transform: translateY(-3px) scale(1.003);
  box-shadow: var(--shadow-hover);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-card {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 12px;
  border-bottom: 4px solid var(--blue);
}

.oneandone-guide {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(18, 107, 88, 0.34);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: linear-gradient(90deg, #eef8f5 0%, #ffffff 100%);
  box-shadow: 0 14px 34px rgba(18, 107, 88, 0.12);
  animation: card-in 420ms cubic-bezier(.2, .75, .2, 1) both;
}

.oneandone-guide h3,
.oneandone-guide p {
  margin: 0;
}

.oneandone-guide p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}

.oneandone-guide .fiber-note {
  margin-top: 10px;
  color: var(--ink);
}

.fiber-note strong,
.fiber-alert strong,
.summary-fiber strong {
  color: var(--green);
}

.oneandone-guide > strong {
  color: var(--green);
  white-space: nowrap;
}

.recommended-offer {
  border-color: rgba(18, 107, 88, 0.74);
  border-bottom-color: var(--green);
  outline: 2px solid rgba(18, 107, 88, 0.24);
  outline-offset: -2px;
  box-shadow: 0 14px 34px rgba(18, 107, 88, 0.15), inset 5px 0 0 var(--green);
  animation: card-in 420ms cubic-bezier(.2, .75, .2, 1) both, recommended-glow 3.6s ease-in-out 700ms infinite;
  animation-delay: var(--card-delay, 0ms), calc(var(--card-delay, 0ms) + 700ms);
}

.offer-card h3,
.empty-state h3,
.provider-card h3 {
  margin: 0;
}

.provider-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.provider-name {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.provider-logo {
  width: 76px;
  min-width: 76px;
  height: 42px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(16, 38, 71, 0.15);
}

.provider-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.provider-logo span {
  line-height: 1;
  text-align: center;
}

.provider-logo-oneandone,
.provider-logo-telekom,
.provider-logo-o2 {
  width: 44px;
  min-width: 44px;
  padding: 5px;
}

.provider-logo-vodafone,
.provider-logo-vodafone-cable {
  width: 98px;
  min-width: 98px;
  padding: 0;
  overflow: hidden;
  border-color: #e60000;
  background: #e60000;
}

.recommendation-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  margin: 0 0 8px;
  background: rgba(18, 107, 88, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  animation: badge-nudge 2.8s ease-in-out infinite;
}

.offer-main {
  min-width: 0;
}

.offer-main > p:not(.provider-name) {
  margin: 7px 0 0;
  color: var(--muted);
}

.speed-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.speed-line.best-speed {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(18, 107, 88, 0.10);
  color: var(--green);
  font-weight: 800;
}

.speed-line.best-speed strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.offer-meta span,
.offer-source span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef4fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

.offer-card:hover .offer-meta span,
.offer-card:hover .offer-source span {
  transform: translateY(-1px);
}

.offer-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.fiber-alert,
.summary-fiber {
  margin: 12px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(18, 107, 88, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #f0faf6;
  color: var(--ink);
  line-height: 1.45;
}

.summary-fiber-wrap {
  display: grid;
  gap: 10px;
}

.fiber-alert {
  display: grid;
  gap: 4px;
  max-width: 720px;
}

.fiber-alert span,
.summary-fiber {
  font-size: 13px;
}

.fiber-request-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(18, 107, 88, 0.22);
  border-radius: 8px;
  background: #fff;
}

.fiber-request-choice legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.fiber-request-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fiber-request-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.fiber-request-options label:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 107, 88, 0.35);
}

.fiber-request-options label:has(input:checked) {
  border-color: rgba(18, 107, 88, 0.5);
  background: #f0faf6;
  box-shadow: inset 4px 0 0 var(--green);
}

.fiber-request-info {
  margin: 0;
  padding: 10px 11px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.price {
  font-size: 27px;
  font-weight: 850;
  white-space: nowrap;
  text-align: right;
  display: grid;
  align-content: start;
  gap: 2px;
}

.current-offer-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.current-offer-price {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.select-offer-button,
.secondary-button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.select-offer-button {
  margin-top: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.select-offer-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(21, 63, 115, 0.22);
}

.empty-state {
  padding: 20px;
  margin-bottom: 18px;
}

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

.provider-card {
  padding: 16px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 4px solid var(--blue);
}

.provider-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.provider-topline span {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}

.provider-card p {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.48;
}

.provider-card .provider-count {
  margin-top: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.order-view {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  animation: order-view-in 460ms cubic-bezier(.2, .75, .2, 1) both;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  border-bottom: 4px solid var(--blue);
  box-shadow: var(--shadow), inset 4px 0 0 var(--red);
}

.order-form > * {
  animation: order-item-in 440ms cubic-bezier(.2, .75, .2, 1) both;
}

.order-form > *:nth-child(2) {
  animation-delay: 70ms;
}

.order-form > *:nth-child(3) {
  animation-delay: 120ms;
}

.order-form > *:nth-child(4) {
  animation-delay: 170ms;
}

.order-form > *:nth-child(5) {
  animation-delay: 220ms;
}

.order-form > *:nth-child(n + 6) {
  animation-delay: 270ms;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.modal-head h2 {
  margin: 0;
  font-size: 26px;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.order-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(18, 107, 88, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #f4fbf8 0%, #ffffff 100%);
  animation: summary-glow 4s ease-in-out infinite;
}

.order-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.order-summary-head > div {
  display: grid;
  gap: 5px;
}

.summary-badge {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(18, 107, 88, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.one-time-fees-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.one-time-fees-summary p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.summary-item {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 38, 71, 0.08);
}

.summary-item:nth-child(2) {
  border-left-color: var(--green);
}

.summary-item:nth-child(3) {
  border-left-color: var(--red);
}

.summary-item.optional-fee {
  border-left-color: var(--accent);
}

.summary-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.summary-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.summary-promo {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 750;
  line-height: 1.45;
}

.technical-note {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(193, 18, 31, 0.24);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--red-soft);
  animation: note-breathe 4.5s ease-in-out infinite;
}

.technical-note strong {
  color: var(--red);
}

.technical-note span {
  color: var(--ink);
  line-height: 1.45;
}

.router-options {
  display: grid;
  gap: 10px;
}

.socket-choice {
  margin: 0;
}

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

.socket-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(21, 63, 115, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.socket-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 63, 115, 0.28);
  box-shadow: 0 18px 34px rgba(21, 63, 115, 0.13);
}

.socket-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
}

.socket-options {
  display: grid;
  gap: 12px;
}

.socket-options p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.socket-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-group .socket-radio-grid label {
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.choice-group .socket-radio-grid label:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 63, 115, 0.34);
}

.choice-group .socket-radio-grid label:has(input:checked) {
  border-color: rgba(21, 63, 115, 0.5);
  background: var(--blue-soft);
  box-shadow: inset 4px 0 0 var(--blue);
}

.router-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 500;
  animation: option-in 360ms cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--option-delay, 0ms);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.router-option:has(input:checked) {
  border-color: rgba(21, 63, 115, 0.45);
  box-shadow: inset 3px 0 0 var(--blue);
}

.router-option:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 63, 115, 0.28);
}

.router-option input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.router-option span {
  display: grid;
  gap: 4px;
}

.router-option strong {
  font-weight: 850;
}

.router-option small,
.router-option em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.router-option a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.order-summary-head strong {
  font-size: 17px;
}

.order-summary-head span,
.privacy-note {
  color: var(--muted);
  line-height: 1.45;
}

.order-summary-head .summary-badge {
  color: var(--green);
}

.router-choice,
.delivery-choice {
  margin: 0;
}

.privacy-note {
  margin: 0;
  font-size: 13px;
}

.order-confirmation {
  border: 1px solid rgba(19, 121, 91, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(19, 121, 91, 0.08);
  color: var(--green);
  font-weight: 750;
}

.order-confirmation.error {
  border-color: rgba(193, 18, 31, 0.28);
  background: var(--red-soft);
  color: var(--red);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.secondary-button {
  padding: 12px 16px;
}

.source-row {
  display: grid;
  gap: 5px;
}

.source-row a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.source-row small {
  color: var(--muted);
}

.status-live_offers_found .provider-topline span {
  color: var(--green);
  background: rgba(19, 121, 91, 0.10);
}

.status-live_no_offers .provider-topline span {
  color: var(--yellow);
  background: rgba(255, 196, 71, 0.18);
}

.status-source_unavailable .provider-topline span,
.status-technical_error .provider-topline span {
  color: var(--red);
  background: rgba(180, 35, 24, 0.10);
}

.status-available .provider-topline span {
  color: var(--green);
  background: rgba(19, 121, 91, 0.10);
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf2f4, #dfe8ed, #edf2f4);
  background-size: 220% 100%;
  animation: skeleton-wave 1.2s ease-in-out infinite;
}

.skeleton-line.short {
  width: 62%;
}

@keyframes skeleton-wave {
  from {
    background-position: 100% 50%;
  }

  to {
    background-position: -120% 50%;
  }
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-breathe {
  0%,
  100% {
    box-shadow: var(--shadow), inset 4px 0 0 var(--red);
  }

  50% {
    box-shadow: 0 18px 42px rgba(16, 38, 71, 0.17), inset 4px 0 0 var(--blue);
  }
}

@keyframes brand-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

@keyframes pill-pop {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes button-sheen {
  0%,
  42% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes banner-pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes recommended-glow {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(18, 107, 88, 0.15), inset 5px 0 0 var(--green);
  }

  50% {
    box-shadow: 0 18px 44px rgba(18, 107, 88, 0.25), inset 5px 0 0 var(--green);
  }
}

@keyframes badge-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
  }
}

@keyframes order-view-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes order-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes summary-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(18, 107, 88, 0);
  }

  50% {
    box-shadow: 0 12px 28px rgba(18, 107, 88, 0.11);
  }
}

@keyframes note-breathe {
  0%,
  100% {
    border-left-color: var(--red);
  }

  50% {
    border-left-color: var(--blue);
  }
}

@keyframes option-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1120px) {
  .address-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .address-form .choice-group,
  .address-form .primary-button {
    grid-column: 1 / -1;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-header {
    align-items: flex-start;
  }
}

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

  .search-header {
    display: grid;
  }

  .search-highlights {
    justify-content: flex-start;
    max-width: none;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
    gap: 10px;
  }

  .search-panel,
  .results-panel {
    padding: 18px;
  }

  .address-form {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .intro h1 {
    max-width: none;
    font-size: 36px;
  }

  .address-form .choice-group {
    grid-template-columns: 1fr;
  }

  .antenna-socket-row {
    grid-template-columns: 1fr;
  }

  .order-form .contact-grid,
  .summary-grid,
  .one-time-fees-summary,
  .socket-grid,
  .form-grid,
  .provider-grid,
  .results-header,
  .oneandone-guide {
    grid-template-columns: 1fr;
    display: grid;
  }

  .oneandone-guide > strong {
    white-space: normal;
  }

  .order-summary-head {
    display: grid;
  }

  .socket-card img {
    height: 170px;
    justify-self: center;
  }

  .offer-card {
    display: grid;
  }

  .price {
    text-align: left;
  }

  .check-time {
    text-align: left;
  }
}
