:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --bg-elevated: rgba(255, 255, 255, 0.94);
  --panel-bg: rgba(255, 255, 255, 0.9);
  --stroke: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0f9d78;
  --accent-2: #5b4bd6;
  --danger: #e11d48;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Outfit", "DM Sans", system-ui;
  --header-bg: rgba(255, 255, 255, 0.82);
  --input-bg: #ffffff;
  --code-fg: #4338ca;
  --btn-primary-text: #f8fafc;
  --grid-line: rgba(15, 23, 42, 0.06);
  --glow-1: rgba(91, 75, 214, 0.18);
  --glow-2: rgba(15, 157, 120, 0.14);
  --step-active-bg: rgba(15, 157, 120, 0.1);
  --step-active-border: rgba(15, 157, 120, 0.45);
  --flash-success-bg: rgba(15, 157, 120, 0.1);
  --flash-success-border: rgba(15, 157, 120, 0.35);
  --flash-error-bg: rgba(225, 29, 72, 0.08);
  --flash-error-border: rgba(225, 29, 72, 0.35);
  --nav-link-bg: rgba(15, 23, 42, 0.04);
  --pill-ghost-bg: rgba(15, 23, 42, 0.04);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05060a;
  --bg-elevated: rgba(18, 20, 32, 0.78);
  --panel-bg: rgba(10, 12, 22, 0.88);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #f4f6ff;
  --muted: #9aa3c7;
  --accent: #6cfacc;
  --accent-2: #7c5dff;
  --danger: #ff6b8a;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(8, 10, 18, 0.78);
  --input-bg: rgba(255, 255, 255, 0.04);
  --code-fg: #c9d6ff;
  --btn-primary-text: #05060a;
  --grid-line: rgba(255, 255, 255, 0.05);
  --glow-1: rgba(124, 93, 255, 0.35);
  --glow-2: rgba(46, 242, 192, 0.28);
  --step-active-bg: rgba(108, 250, 204, 0.1);
  --step-active-border: rgba(108, 250, 204, 0.45);
  --flash-success-bg: rgba(108, 250, 204, 0.1);
  --flash-success-border: rgba(108, 250, 204, 0.45);
  --flash-error-bg: rgba(255, 107, 138, 0.1);
  --flash-error-border: rgba(255, 107, 138, 0.45);
  --nav-link-bg: rgba(255, 255, 255, 0.04);
  --pill-ghost-bg: rgba(255, 255, 255, 0.05);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at 12% 18%, var(--glow-1), transparent 42%),
    radial-gradient(circle at 88% 12%, var(--glow-2), transparent 38%), var(--bg);
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

html[data-theme="light"] .bg-grid {
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.2), transparent 70%);
}

.glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  z-index: 0;
}

html[data-theme="light"] .glow {
  opacity: 0.55;
}

.glow--one {
  top: -120px;
  left: -80px;
  background: var(--accent-2);
}

.glow--two {
  bottom: -160px;
  right: -40px;
  background: var(--accent);
}

.site-header,
.shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.5vw, 22px) clamp(14px, 3vw, 28px);
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

html[data-theme="dark"] .brand img {
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.45));
}

.brand__tag {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__hello {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__link {
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--nav-link-bg);
}

.theme-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--nav-link-bg);
}

.theme-switch__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  cursor: pointer;
  line-height: 1.2;
}

.theme-switch__btn.is-active {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--stroke);
}

html[data-theme="dark"] .theme-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.shell {
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px) clamp(14px, 3vw, 36px) 64px;
}

/* Landing (and similar): narrow column, no wide stretch */
.layout-compress {
  max-width: 34rem;
  width: 100%;
  margin-inline: auto;
}

.layout-compress .hero--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(12px, 2.5vw, 20px);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.layout-compress .hero__copy {
  max-width: 30rem;
}

.layout-compress .hero__copy h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
}

.layout-compress .ticks {
  text-align: left;
  display: inline-block;
  margin-inline: auto;
}

.layout-compress .stepper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  margin-bottom: 1.25rem;
}

.layout-compress .step {
  flex: 0 0 auto;
  min-width: 4.75rem;
  max-width: 5.5rem;
  padding: 8px 4px;
  font-size: 0.78rem;
}

.layout-compress .step span {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

.layout-compress .step small {
  display: block;
  line-height: 1.15;
  word-break: break-word;
}

.layout-compress .coords {
  grid-template-columns: 1fr;
}

.layout-compress .actions {
  justify-content: center;
}

.layout-compress .btn--primary {
  width: 100%;
  max-width: 18rem;
}

.site-footer {
  text-align: center;
  padding: 32px 16px 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 4vw, 36px);
  margin-bottom: clamp(24px, 5vw, 48px);
}

.hero__copy h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.ticks {
  padding-left: 18px;
  color: var(--muted);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: var(--shadow);
}

.card--media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__visual--compact {
  max-width: min(200px, 42vw);
  width: 100%;
  margin-inline: auto;
  align-self: center;
  padding: 10px 10px 12px;
  gap: 8px;
}

.hero__visual--compact .hero__gif {
  display: block;
  width: 100%;
  max-width: 180px;
  max-height: 126px;
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid var(--stroke);
}

.pill-row--tight {
  gap: 6px;
  justify-content: center;
}

.pill-row--tight .pill {
  padding: 4px 10px;
  font-size: 0.68rem;
}

.hero__gif {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--stroke);
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(18px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.panel--narrow {
  max-width: 640px;
  margin: 0 auto;
}

.address-map {
  width: 100%;
  height: clamp(220px, 40vw, 320px);
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--bg-elevated);
}

.pac-container {
  z-index: 10000;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.step {
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.85rem;
}

.step span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 6px;
  border: 1px solid var(--stroke);
}

.step.is-active {
  border-color: var(--step-active-border);
  color: var(--text);
  background: var(--step-active-bg);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.field--full {
  grid-column: 1 / -1;
}

.input,
input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 12px 14px;
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

.coords {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: var(--btn-primary-text);
  box-shadow: 0 12px 32px rgba(91, 75, 214, 0.22);
}

html[data-theme="dark"] .btn--primary {
  box-shadow: 0 15px 40px rgba(108, 250, 204, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.btn--block {
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.hint,
.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.error {
  color: var(--danger);
  font-size: 0.85rem;
}

.ok {
  color: var(--accent);
}

.warn {
  color: #ffc773;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 900px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.package h3 {
  margin: 8px 0 12px;
  font-size: 1.15rem;
}

.price span {
  font-size: 2rem;
  font-family: var(--display);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
}

.pill--accent {
  border-color: var(--step-active-border);
  color: var(--accent);
}

.pill--ghost {
  background: var(--pill-ghost-bg);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.25rem 0;
}

.service-switch--carriers {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.service-switch__carrier.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.package-section[hidden],
.package.card[hidden] {
  display: none !important;
}

.details-form__heading {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
}

.field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-direction: row;
}

.field--checkbox .checkbox {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.dwelling-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.dwelling-fieldset legend {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.dwelling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.dwelling-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  border: 1px solid var(--stroke);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dwelling-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dwelling-option:has(input:checked) {
  border-color: var(--step-active-border);
  box-shadow: 0 0 0 1px var(--step-active-border);
}

.dwelling-option__title {
  font-weight: 600;
  font-family: var(--display);
}

.dwelling-option__hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.flash--success {
  border-color: var(--flash-success-border);
  background: var(--flash-success-bg);
}

.flash--error,
.flash--danger {
  border-color: var(--flash-error-border);
  background: var(--flash-error-bg);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stroke);
}

.summary__row:last-child {
  border-bottom: none;
}

.summary__row--total {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--stroke);
  border-bottom: none;
  font-weight: 600;
}

.pay-options {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.metric strong {
  font-size: 2rem;
  font-family: var(--display);
}

.table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--stroke);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.table th,
.table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.table th {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 0.85em;
  color: var(--code-fg);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .theme-switch {
    order: -1;
  }
}

/* --- Availability loading overlay --- */
body.avail-overlay-open {
  overflow: hidden;
}

.avail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.avail-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.avail-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.55);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .avail-overlay__backdrop {
  background: rgba(244, 246, 251, 0.72);
}

.avail-overlay__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 32px 28px 28px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--stroke);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  text-align: center;
  animation: avail-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes avail-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.avail-scanner {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
}

.avail-scanner__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  animation: avail-spin 1.1s linear infinite;
}

.avail-scanner__ring--delay {
  inset: 12px;
  opacity: 0.65;
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.avail-scanner__core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent), transparent 62%),
    radial-gradient(circle at 70% 75%, var(--accent-2), transparent 55%);
  opacity: 0.35;
  animation: avail-pulse 2s ease-in-out infinite;
}

.avail-scanner__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 157, 120, 0.2);
  animation: avail-pin 1.4s ease-in-out infinite;
}

html[data-theme="dark"] .avail-scanner__pin {
  box-shadow: 0 0 0 6px rgba(108, 250, 204, 0.18);
}

@keyframes avail-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes avail-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

@keyframes avail-pin {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.avail-overlay__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.avail-overlay__hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.4em;
  transition: opacity 0.25s ease;
}

.avail-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--nav-link-bg);
  overflow: hidden;
  margin-bottom: 14px;
}

.avail-progress__bar {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% 100%;
  animation: avail-progress 1.8s ease-in-out infinite;
}

@keyframes avail-progress {
  0% {
    transform: translateX(-120%);
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    transform: translateX(320%);
    background-position: 0% 50%;
  }
}

.avail-overlay__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.85;
}

/* --- Yoco checkout must sit above app panels (sticky header / backdrop-filter) --- */
body.yoco-checkout-open .shell,
body.yoco-checkout-open .site-header,
body.yoco-checkout-open .site-footer {
  z-index: 0;
}

body.yoco-checkout-open .panel {
  visibility: hidden;
  pointer-events: none;
}

body.yoco-checkout-open iframe[src*="yoco"],
body.yoco-checkout-open iframe[src*="thrive"],
body.yoco-checkout-open [class*="yoco-checkout"],
body.yoco-checkout-open [class*="yoco-online"] {
  z-index: 2147483647 !important;
  position: fixed !important;
}

/* --- Ops catalog pricing --- */
.ops-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.catalog-filter label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.table--catalog .input--compact {
  width: 7rem;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
}

.table--catalog code {
  font-size: 0.72rem;
}

.catalog-sync__status {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel-bg);
}

.catalog-sync__status[hidden] {
  display: none !important;
}

.catalog-sync__track {
  height: 6px;
  border-radius: 999px;
  background: var(--nav-link-bg);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.catalog-sync__bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s ease;
}

.catalog-sync__message {
  margin: 0;
  font-size: 0.875rem;
}

.pagination {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pagination__summary {
  margin: 0;
  font-size: 0.875rem;
}

.pagination__links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination__link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--text);
  background: var(--panel-bg);
}

.pagination__link:hover {
  border-color: var(--accent);
}

.pagination__link--current {
  background: var(--step-active-bg);
  border-color: var(--step-active-border);
  font-weight: 600;
}

.pagination__link--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.catalog-row__status-cell {
  width: 4.5rem;
  text-align: right;
}

.catalog-row__status {
  font-size: 0.75rem;
  color: var(--muted);
}

.catalog-row__status--ok {
  color: var(--accent);
}

.catalog-row__status--err {
  color: var(--danger);
}

.package-section-title {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

.catalog-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.catalog-bulk {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.catalog-row--disabled {
  opacity: 0.55;
}

.catalog-row--disabled .catalog-toggle__label {
  color: var(--danger);
}

.catalog-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  white-space: nowrap;
}

.catalog-toggle__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
