/* Styles for printer.php (brand setup page).
   Theme colours come from :root in style.css */

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.pr-hero {
  position: relative;
  overflow: hidden;
  background: var(
    --hero-bg,
    linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%)
  );
  color: #ffffff;
  padding: 4.5rem 1.5rem;
}

/* per-brand hero colours (class set in printer.php from the brand key) */
.pr-hero--h {
  --hero-bg: #0080b6;
  --hero-btn: #222222;
  --hero-btn-hover: #000000;
  --hero-btn-border: #6e6e6e;
}

.pr-hero--br {
  --hero-bg: #002b82;
  --hero-btn: #e53e3e;
  --hero-btn-hover: #c53030;
  --hero-btn-border: #ee8181;
}

.pr-hero--ep {
  --hero-bg: #00478d;
  --hero-btn: #0085ff;
  --hero-btn-hover: #006fd6;
  --hero-btn-border: #4dabff;
}

.pr-hero--ca {
  --hero-bg: #a6000e;
  --hero-btn: #0091ff;
  --hero-btn-hover: #0079d6;
  --hero-btn-border: #4db2ff;
}

.pr-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.pr-hero-content {
  flex: 1.2;
}

.pr-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pr-hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.75rem;
}

.pr-hero-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 2.5rem;
}

.pr-hero-list li {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
}

.pr-hero-list li::marker {
  color: #ffffff;
}

.pr-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--hero-btn, var(--navy));
  color: #ffffff;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.25rem 3.25rem;
  border: 2px solid var(--hero-btn-border, rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.pr-hero-btn span {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pr-hero-btn:hover {
  background: var(--hero-btn-hover, var(--navy-dark));
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(0, 0, 0, 0.5);
}

.pr-hero-btn:hover span {
  transform: translateX(4px);
}

/* Hero visual */
.pr-hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.pr-hero-visual img {
  width: 100%;
  max-width: 360px;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.3));
}

/* ─── MODEL FORM + FINDER CARDS ─────────────────────────────────────────── */
.pr-cards-section {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
}

/* bright blue background (home page) */
.pr-cards-section--blue {
  background-color: #0181ff;
}

.pr-hero-heading {
  margin: 0 auto 2rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.pr-cards-section--blue .pr-card {
  border-color: transparent;
  box-shadow: 0 14px 34px -12px rgba(var(--navy-rgb), 0.35);
  text-align: center;
}

.pr-cards-section--blue .pr-card:first-child .pr-card-sub,
.pr-cards-section--blue .pr-card:first-child .pr-label {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.pr-cards-section--blue .pr-card:first-child .pr-input {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.pr-cards-section--blue .pr-card:first-child .pr-submit-btn {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

/* 4 quick-link tiles under the home page cards */
.pr-home-tiles {
  max-width: 90rem;
  margin: 2rem auto 0;
}

.pr-home-tiles .pr-easy-tile {
  background: #1c567f;
}

.pr-home-tiles .pr-easy-tile:hover {
  background: var(--navy);
}

.pr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto;
}

.pr-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 2.25rem 3rem;
  box-shadow: 0 6px 24px rgba(var(--navy-rgb), 0.05);
}

.pr-card-title {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pr-card-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 1.35rem;
}

.pr-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.pr-input {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: 2px solid var(--border-2);
  border-radius: 0.6rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.pr-input::placeholder {
  color: #64748b;
}

.pr-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

.pr-phone-field {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-2);
  border-radius: 0.6rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.pr-phone-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

.pr-phone-country-code {
  padding-left: 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.pr-input.pr-phone-input {
  min-width: 0;
  border: 0;
  box-shadow: none;
}

.pr-submit-btn {
  width: 100%;
  margin-top: 1.25rem;
  background: linear-gradient(110deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.1rem 1.25rem;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(var(--primary-rgb), 0.55);
  transition: all 0.25s ease;
}

.pr-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(var(--primary-rgb), 0.6);
}

.pr-official-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-deep);
  text-decoration: none;
}

.pr-official-link:hover {
  text-decoration: underline;
}

/* model number illustration */
.pr-model-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 530px;
  margin: auto auto 0;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #ffffff;
}

.pr-model-figure img {
  width: 170px;
  height: 135px;
  object-fit: contain;
  flex-shrink: 0;
}

.pr-model-pointer {
  width: 64px;
  height: 34px;
  margin-left: -14px;
  background: linear-gradient(
    90deg,
    rgba(var(--primary-rgb), 0.08),
    rgba(var(--primary-rgb), 0.3)
  );
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  flex-shrink: 0;
}

.pr-model-tag {
  padding: 0.45rem 0.65rem;
  border: 2px solid var(--primary);
  background: var(--primary-light);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ─── DIVIDER ───────────────────────────────────────────────────────────── */
.pr-divider {
  background-color: #f4f4f4;
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
}

.pr-divider h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.pr-divider p {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text-2);
}

/* ─── TROUBLESHOOTING ACCORDION ─────────────────────────────────────────── */
.pr-guide {
  background: #ffffff;
  padding: 5.5rem 1.5rem;
}

.pr-guide-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.pr-guide-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}

.pr-guide-title {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 3rem;
}

.pr-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pr-acc-item {
  border: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.pr-acc-item.is-open {
  border-color: var(--border-2);
}

.pr-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.85rem 2.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s;
}

.pr-acc-trigger:hover {
  background-color: #fafafa;
}

.pr-acc-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pr-acc-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0;
  background: #f1f1f1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pr-acc-icon svg {
  width: 26px !important;
  height: 26px !important;
}

.pr-acc-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.pr-acc-symptom {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 0.35rem;
}

.pr-acc-chevron {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.pr-acc-item.is-open .pr-acc-chevron {
  transform: rotate(180deg);
  color: var(--text-2);
}

/* smooth open / close */
.pr-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.28s ease,
    opacity 0.28s ease;
}

.pr-acc-item.is-open .pr-acc-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.pr-acc-body-inner {
  overflow: hidden;
}

.pr-acc-body-inner .pr-steps {
  border-top: 1px solid var(--border);
  padding: 2.25rem 2.25rem 2.5rem;
  gap: 1.85rem;
}

.pr-acc-body .pr-step {
  gap: 1.5rem;
}

.pr-acc-body .pr-step-num {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0;
  background: var(--navy);
  font-size: 0.9rem;
}

.pr-acc-body .pr-step-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pr-acc-body .pr-step-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* Numbered steps (accordion + modal) */
.pr-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pr-step {
  display: flex;
  gap: 1rem;
}

.pr-step-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pr-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.pr-step-text {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.pr-step-text a {
  color: var(--primary-deep);
  font-weight: 600;
}

/* ─── BRAND DISCLAIMER ──────────────────────────────────────────────────── */
.pr-disclaimer {
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.7;
}

.pr-disclaimer a {
  color: var(--primary-deep);
  font-weight: 600;
}

/* ─── SETUP MODAL ───────────────────────────────────────────────────────── */
.pr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(var(--navy-rgb), 0.6);
  backdrop-filter: blur(4px);
}

.pr-modal-backdrop.is-open {
  display: flex;
}

.pr-modal {
  width: 100%;
  max-width: 34rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: #f9fafb;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.pr-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.pr-modal-close {
  background: transparent;
  border: none;
  color: #6b7280;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}

.pr-modal-close:hover {
  background: #eef0f3;
  color: #111827;
}

.pr-modal-body {
  padding: 1.5rem;
}

.pr-panel {
  display: none;
}

.pr-panel.is-active {
  display: block;
}

.pr-panel-text {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1.25rem;
}

.pr-panel-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* connection options */
.pr-conn-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pr-conn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pr-conn-row:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.pr-conn-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pr-conn-text {
  flex: 1;
}

.pr-conn-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.pr-conn-desc {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.pr-conn-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* modal buttons */
.pr-btn-primary,
.pr-btn-ghost {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pr-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-cta));
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
}

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

.pr-btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.pr-btn-ghost {
  background: #ffffff;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}

.pr-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
}

/* callback form */
.pr-lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pr-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-deep);
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
}

.pr-consent svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── 25-SECOND DEMO CHECK ─────────────────────────────────────────────── */
.pr-demo-progress-wrap {
  width: 100%;
  max-width: 520px;
  margin-top: 0.35rem;
}

.pr-demo-progress-track {
  width: 100%;
  height: 14px;
  background: var(--border);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  overflow: hidden;
}

.pr-demo-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: inherit;
  transition: width 0.15s linear;
}

.pr-demo-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-2);
}

.pr-demo-progress-meta strong {
  color: var(--primary-deep);
}

/* result message */
.pr-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 0 0.5rem;
}

.pr-done-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-done-icon.is-error {
  background: #fef2f2;
  color: #dc2626;
}

.pr-done-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.pr-done-text {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}

/* details form extras */
.pr-submit-modal {
  margin-top: 0.25rem;
}

.pr-form-links {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pr-link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  padding: 0.25rem 0;
}

.pr-link-btn:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}

/* sending (loading) panel */
.pr-sending {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0 1.5rem;
}

.pr-sending-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}

.pr-sending-dots {
  display: flex;
  gap: 6px;
}

.pr-sending-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  animation: dotMove 1.2s infinite ease-in-out;
}

.pr-sending-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.pr-sending-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotMove {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Loading page illustration */
.pr-sending-image-wrap {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.pr-sending-image {
  display: block;
  width: min(520px, 100%);
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.pr-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* result panel extras */
.pr-done-icon .icon-fail,
.pr-done-icon.is-error .icon-ok {
  display: none;
}

.pr-done-icon.is-error .icon-fail {
  display: block;
}

.pr-done .pr-submit-modal {
  margin-top: 0.5rem;
}

.pr-done-call {
  width: 100%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.pr-done-call p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.pr-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.pr-call-btn:hover {
  background: var(--primary-cta);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pr-hero-inner {
    flex-direction: column;
    text-align: left;
  }

  .pr-hero-visual {
    width: 100%;
  }

  .pr-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pr-hero {
    padding: 3rem 1.25rem;
  }

  .pr-hero-title {
    font-size: 2rem;
  }

  .pr-hero-btn {
    font-size: 0.95rem;
    padding: 0.95rem 1.5rem;
  }

  .pr-card {
    padding: 1.75rem 1.25rem;
  }

  .pr-card-title {
    font-size: 1.5rem;
  }

  .pr-submit-btn {
    font-size: 1rem;
    padding: 1.1rem 1rem;
  }

  .pr-model-figure {
    padding: 1rem;
  }

  .pr-model-figure img {
    width: 120px;
    height: 110px;
  }

  .pr-model-pointer {
    width: 36px;
    height: 24px;
    margin-left: -8px;
  }

  .pr-model-tag {
    font-size: 0.72rem;
  }

  .pr-divider h2 {
    font-size: 1.5rem;
  }

  .pr-divider {
    padding: 3rem 1.25rem;
  }

  .pr-divider p {
    font-size: 0.85rem;
  }

  .pr-guide {
    padding: 3rem 1.25rem;
  }

  .pr-guide-title {
    margin-bottom: 1.75rem;
  }

  .pr-acc-trigger {
    padding: 1.1rem;
  }

  .pr-acc-left {
    gap: 0.9rem;
  }

  .pr-acc-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .pr-acc-title {
    font-size: 1rem;
  }

  .pr-acc-symptom {
    font-size: 0.8rem;
  }

  .pr-acc-body-inner .pr-steps {
    padding: 1.25rem 1.1rem 1.5rem;
    gap: 1.25rem;
  }

  .pr-acc-body .pr-step {
    gap: 0.9rem;
  }

  .pr-acc-body .pr-step-num {
    width: 2rem;
    height: 2rem;
  }

  .pr-acc-body .pr-step-title {
    font-size: 1rem;
  }

  .pr-acc-body .pr-step-text {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .pr-conn-btn {
    display: none;
  }
}

/* ─── RESULT PANEL ──────────────────────────────────────────────────────── */
.pr-result {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}

.pr-result-hero {
  /* display: flex; */
  align-items: center;
  gap: 1rem;
}

.pr-result-icon {
  flex: 0 0 auto;
  width: 150px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  /* border: 1px solid var(--primary-border); */
}

.pr-result-image-img {
  display: block;
  width: 145px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.pr-result-heading {
  min-width: 0;
}

.pr-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pr-result-title {
  margin-top: 0.25rem;
  text-align: center;
  margin-top: 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: red;
}

.pr-result-text {
  text-align: center;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--text-2);
}

.pr-result-card {
  /* border: 1px solid var(--border); */
  border-radius: 0.9rem;
  /* background: var(--bg-muted); */
  overflow: hidden;
}

.pr-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}

.pr-result-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.8rem 1rem;
  min-width: 0;
}

.pr-result-tile + .pr-result-tile {
  border-left: 1px solid var(--border);
}

.pr-result-tile span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pr-result-tile strong {
  font-size: 0.98rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-result-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.9rem 1rem;
  background: #e65353c7;
}

.pr-result-code-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.pr-result-code {
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  background: #ff0101;
  border: 1px solid black;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pr-result-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-2);
}

.pr-result-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--text-3);
}

.pr-result-cta {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 0.98rem;
}

.pr-result-close {
  align-self: center;
  margin-top: -0.4rem;
}

@media (max-width: 480px) {
  .pr-result-hero {
    flex-direction: column;
    text-align: center;
  }

  .pr-result-icon {
    width: 190px;
    height: 72px;
  }

  .pr-result-image-img {
    width: 180px;
  }

  .pr-result-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pr-result-tile:nth-child(3) {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .pr-result-code-row {
    justify-content: center;
    text-align: center;
  }
}

/* ─── FINAL RESULT + SUPPORT REFINEMENTS ──────────────────────────────── */
.pr-modal.result-mode {
  max-width: 46rem;
}

/* Make the loading illustration substantially larger. */
.pr-sending-image {
  width: min(100%, 640px);
  max-height: 250px;
  object-fit: contain;
}

.pr-sending-visual {
  width: 100%;
}

/* Larger final-page illustration. */
.pr-result-hero {
  gap: 1.35rem;
}

.pr-result-icon {
  width: 450px;
  height: 150px;
  border-radius: 1rem;
}

.pr-result-image-img {
  width: 325px;
  max-width: 100%;
}

/* Phone/support section on the final page. */
.pr-result-support {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--primary-border);
  border-radius: 0.9rem;
  background: var(--primary-tint);
}

.pr-result-support-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-deep);
}

.pr-result-support-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pr-result-support-copy strong {
  color: var(--text);
  font-size: 0.95rem;
}

.pr-result-support-copy span {
  color: var(--text-2);
  font-size: 0.8rem;
  line-height: 1.4;
}

.pr-result-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 0.65rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.18);
}

.pr-result-phone:hover {
  background: var(--primary-cta);
}

@media (max-width: 640px) {
  .pr-modal.result-mode {
    max-width: 100%;
  }

  .pr-sending-image {
    width: 100%;
    max-height: 210px;
  }

  .pr-result-hero {
    flex-direction: column;
    text-align: center;
  }

  .pr-result-icon {
    width: 100%;
    height: 175px;
  }

  .pr-result-image-img {
    width: min(430px, 96%);
    max-width: 96%;
  }

  .pr-result-support {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pr-result-support-copy {
    flex: 1 1 calc(100% - 64px);
  }

  .pr-result-phone {
    width: 100%;
    margin-top: 0.15rem;
  }
}

/* Simulation disclaimer shown at the bottom of the final result page. */
.pr-result-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #f4dfad;
  border-radius: 0.65rem;
  background: #fffaf0;
  color: #475569;
}

.pr-result-disclaimer-icon {
  flex: 0 0 auto;
  color: #f59e0b;
  margin-top: 1px;
}

.pr-result-disclaimer-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  line-height: 1.4;
}

.pr-result-disclaimer-copy strong {
  flex: 0 0 auto;
  color: #d97706;
  font-weight: 800;
}

.pr-result-disclaimer-copy p {
  margin: 0;
  color: #475569;
}

.pr-result-disclaimer-divider {
  width: 1px;
  height: 24px;
  flex: 0 0 1px;
  background: #f1d39a;
}

@media (max-width: 640px) {
  .pr-result-disclaimer-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .pr-result-disclaimer-divider {
    display: none;
  }

  .pr-result-disclaimer-break {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   FINAL RESULT MODAL — FIXED, CLEAN, NO DESKTOP SCROLL
   ───────────────────────────────────────────────────────────────────────── */
.pr-modal.result-mode {
  width: min(860px, calc(100vw - 32px));
  max-width: 860px;
  height: auto;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 18px;
}

.pr-modal.result-mode .pr-modal-header {
  flex: 0 0 auto;
  min-height: 68px;
  padding: 0.95rem 1.35rem;
}

.pr-modal.result-mode .pr-modal-body {
  min-height: 0;
  overflow: hidden;
  padding: 18px 20px 16px;
}

.pr-modal.result-mode .pr-panel.is-active {
  height: 100%;
}

.pr-modal.result-mode .pr-result {
  width: 100%;
  gap: 12px;
}

/* Large illustration + heading, balanced instead of squeezing the title. */
.pr-modal.result-mode .pr-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(210px, 0.85fr);
  align-items: center;
  gap: 18px;
}

.pr-modal.result-mode .pr-result-icon {
  width: 100%;
  height: 168px;
  border-radius: 16px;
  background: #fff;
}

.pr-modal.result-mode .pr-result-image-img {
  width: min(100%, 420px);
  height: 150px;
  object-fit: contain;
}

.pr-modal.result-mode .pr-result-heading {
  padding-right: 4px;
}

.pr-modal.result-mode .pr-result-badge {
  font-size: 0.72rem;
  padding: 5px 10px;
}

.pr-modal.result-mode .pr-result-title {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.pr-modal.result-mode .pr-result-text {
  margin-top: 7px;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Device information card */
.pr-modal.result-mode .pr-result-card {
  border-radius: 14px;
}

.pr-modal.result-mode .pr-result-tile {
  padding: 10px 14px;
  min-height: 66px;
  justify-content: center;
}

.pr-modal.result-mode .pr-result-tile span,
.pr-modal.result-mode .pr-result-code-label {
  font-size: 0.68rem;
}

.pr-modal.result-mode .pr-result-tile strong {
  font-size: 1rem;
}

.pr-modal.result-mode .pr-result-code-row {
  min-height: 62px;
  padding: 10px 14px;
}

.pr-modal.result-mode .pr-result-code {
  font-size: 0.9rem;
  padding: 7px 12px;
}

/* Support card */
.pr-modal.result-mode .pr-result-support {
  min-height: 78px;
  padding: 10px 14px;
  border-radius: 14px;
}

.pr-modal.result-mode .pr-result-support-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.pr-modal.result-mode .pr-result-support-copy strong {
  font-size: 0.95rem;
}

.pr-modal.result-mode .pr-result-support-copy span {
  font-size: 0.78rem;
}

.pr-modal.result-mode .pr-result-phone {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* Important disclaimer */
.pr-modal.result-mode .pr-result-disclaimer {
  min-height: 58px;
  padding: 9px 12px;
  border-radius: 12px;
  align-items: center;
}

.pr-modal.result-mode .pr-result-disclaimer-copy {
  font-size: 0.72rem;
  line-height: 1.35;
}

.pr-modal.result-mode .pr-result-disclaimer-icon {
  margin-top: 0;
}

.pr-modal.result-mode .pr-result-close {
  margin: 0 auto;
  padding: 2px 8px;
  font-size: 0.86rem;
}

/* Tablet / smaller desktop */
@media (max-width: 760px) {
  .pr-modal.result-mode {
    width: min(680px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
  }

  .pr-modal.result-mode .pr-modal-header {
    min-height: 62px;
    padding: 0.8rem 1rem;
  }

  .pr-modal.result-mode .pr-modal-body {
    padding: 14px;
  }

  .pr-modal.result-mode .pr-result-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.75fr);
    gap: 12px;
  }

  .pr-modal.result-mode .pr-result-icon {
    height: 145px;
  }

  .pr-modal.result-mode .pr-result-image-img {
    height: 130px;
  }
}

/* Mobile: stack the result cleanly and allow only the body to scroll if
   the device is genuinely too short. */
@media (max-width: 560px) {
  .pr-modal.result-mode {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .pr-modal.result-mode .pr-modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pr-modal.result-mode .pr-result-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pr-modal.result-mode .pr-result-icon {
    height: 145px;
  }

  .pr-modal.result-mode .pr-result-image-img {
    width: min(100%, 390px);
    height: 128px;
  }

  .pr-modal.result-mode .pr-result-heading {
    padding: 0;
  }

  .pr-modal.result-mode .pr-result-title {
    font-size: 1.55rem;
  }

  .pr-modal.result-mode .pr-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pr-modal.result-mode .pr-result-tile {
    padding: 9px 8px;
  }

  .pr-modal.result-mode .pr-result-tile strong {
    font-size: 0.92rem;
  }

  .pr-modal.result-mode .pr-result-support {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px 10px;
  }

  .pr-modal.result-mode .pr-result-phone {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pr-modal.result-mode .pr-result-disclaimer-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .pr-modal.result-mode .pr-result-disclaimer-divider {
    display: none;
  }
}

.verified-setup-message {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 18px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 10px;
  color: #059669;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

.verified-check {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .verified-setup-message {
    padding: 12px;
    font-size: 14px;
  }
}

/* Error result layout */
.pr-result-heading {
  text-align: center;
  width: 100%;
}

.pr-result-title {
  margin-top: 0.25rem;
  color: #e52b2b;
  font-size: clamp(2.1rem, 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.pr-result-text {
  color: #3d4654;
  font-size: clamp(1.1rem, 1.7vw, 2rem);
  line-height: 1.42;
  text-align: center;
  margin: 0 auto;
  max-width: 780px;
}

/* Status code box */
.pr-result-code-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 15px 28px;
  background: #fbe7e7;
  border: 3px solid #f2a8a8;
  border-radius: 18px;
  box-sizing: border-box;
}

.pr-result-code-label {
  color: #5d6977;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
}

.pr-result-code {
  display: block;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #e52b2b;
  font-family: monospace;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .pr-result-title {
    font-size: 2.2rem;
  }

  .pr-result-text {
    font-size: 1.1rem;
  }

  .pr-result-code-row {
    padding: 13px 16px;
    border-radius: 15px;
  }

  .pr-result-code {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }
}

/* Support section - centered layout */
.pr-result-support {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 18px 18px 20px !important;
  background: #ffffff !important;
  border: 1px solid #d9dee7 !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.pr-result-support .pr-result-support-icon {
  display: none !important;
}

.pr-result-support .pr-result-support-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  text-align: center !important;
}

.pr-result-support .pr-result-support-copy strong {
  color: #232d3b !important;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.pr-result-support .pr-result-support-copy span {
  color: #687386 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.pr-result-support .pr-result-phone {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 64px !important;
  padding: 14px 18px !important;
  background: #14a44a !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12) !important;
  color: #ffffff !important;
  font-size: clamp(1.2rem, 2vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.pr-result-support .pr-result-phone:hover {
  background: #128b3e !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .pr-result-support {
    padding: 22px 16px !important;
    gap: 14px !important;
  }

  .pr-result-support .pr-result-support-copy strong {
    font-size: 1.4rem !important;
  }

  .pr-result-support .pr-result-support-copy span {
    font-size: 13px !important;
  }

  .pr-result-support .pr-result-phone {
    min-height: 58px !important;
    font-size: 1.3rem !important;
  }
}

/* Full-height final result view, matching the supplied reference. */
.pr-modal.result-mode {
  display: flex;
  flex-direction: column;
  width: min(735px, calc(100vw - 8px));
  max-width: 735px;
  height: calc(100vh - 8px);
  max-height: calc(100vh - 8px);
  overflow: hidden;
  border-radius: 14px;
}

.pr-modal.result-mode .pr-modal-header {
  flex: 0 0 100px;
  min-height: 100px;
  padding: 20px 26px;
}

.pr-modal.result-mode .pr-modal-header h3 {
  font-size: 24px;
}

.pr-modal.result-mode .pr-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 58px 24px 24px;
  -webkit-overflow-scrolling: touch;
}

.pr-modal.result-mode .pr-panel.is-active {
  height: auto;
}

.pr-modal.result-mode .pr-result {
  gap: 24px;
}

.pr-modal.result-mode .pr-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.pr-modal.result-mode .pr-result-icon {
  width: 100%;
  height: 170px;
  background: #fff;
}

.pr-modal.result-mode .pr-result-image-img {
  width: min(100%, 500px);
  height: 170px;
  object-fit: contain;
}

.pr-modal.result-mode .pr-result-heading {
  padding: 0;
}

.pr-modal.result-mode .pr-result-title {
  margin: 0 0 8px;
  font-size: clamp(36px, 7vw, 56px);
  line-height: 1.14;
}

.pr-modal.result-mode .pr-result-text {
  max-width: 680px;
  font-size: clamp(21px, 4.4vw, 32px);
  line-height: 1.42;
}

.pr-modal.result-mode .pr-result-code-row {
  width: 100%;
  min-height: 168px;
  margin: 0 auto;
  padding: 24px 18px;
}

.pr-modal.result-mode .pr-result-code-label {
  font-size: 20px;
}

.pr-modal.result-mode .pr-result-code {
  font-size: clamp(28px, 7.4vw, 54px);
}

.pr-modal-backdrop.result-mode ~ iframe,
.pr-modal-backdrop.result-mode ~ div iframe {
  display: none !important;
}

@media (max-width: 560px) {
  .pr-modal.result-mode {
    width: calc(100vw - 8px);
    max-height: calc(100vh - 8px);
  }

  .pr-modal.result-mode .pr-modal-header {
    flex-basis: 76px;
    min-height: 76px;
    padding: 14px 18px;
  }

  .pr-modal.result-mode .pr-modal-header h3 {
    font-size: 20px;
  }

  .pr-modal.result-mode .pr-modal-body {
    padding: 38px 16px 20px;
  }

  .pr-modal.result-mode .pr-result-hero {
    gap: 22px;
  }

  .pr-modal.result-mode .pr-result-icon,
  .pr-modal.result-mode .pr-result-image-img {
    height: 130px;
  }

  .pr-modal.result-mode .pr-result-title {
    font-size: clamp(32px, 8vw, 42px);
  }

  .pr-modal.result-mode .pr-result-text {
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .pr-modal.result-mode .pr-result-code-row {
    min-height: 140px;
    padding: 18px 12px;
  }

  .pr-modal.result-mode .pr-result-code-label {
    font-size: 15px;
  }
}

/* Connection card image */
.connection-image {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
}

/* USB image */
.connection-image-usb {
  max-width: 100px;
}

/* Wi-Fi image */
.connection-image-wifi {
  max-width: 120px;
}

/* Keep image centered inside the existing icon box */
.pr-connection-icon,
.connection-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Reference-matched network connection progress layout */
#panel-sending {
  padding: 0 !important;
  border: 3px solid #171717;
  background: #e7e7e7;
  overflow: hidden;
}
#panel-sending .pr-network-progress {
  min-height: 510px;
  background: #e7e7e7;
  color: #263746;
  text-align: center;
  padding: 0 7.5% 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#panel-sending .pr-network-topbar {
  height: 36px;
  width: calc(100% + 15%);
  flex: 0 0 36px;
  background: #347df4;
  margin: 0 -7.5% 42px;
}
#panel-sending .pr-network-progress h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.25;
  color: #263746;
  font-weight: 500;
}
#panel-sending .pr-network-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #344354;
}
#panel-sending .pr-network-visual {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  margin: 58px auto 32px;
}
#panel-sending .pr-network-printer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
#panel-sending .pr-network-printer img {
  display: block;
  width: 100%;
  max-width: 145px;
  height: 115px;
  object-fit: contain;
}
#panel-sending .pr-network-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
#panel-sending .pr-network-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2b9369;
  animation: prNetDot 1.25s infinite ease-in-out;
}
#panel-sending .pr-network-dots span:nth-child(2) {
  animation-delay: 0.1s;
}
#panel-sending .pr-network-dots span:nth-child(3) {
  animation-delay: 0.2s;
}
#panel-sending .pr-network-dots span:nth-child(4) {
  animation-delay: 0.3s;
}
#panel-sending .pr-network-dots span:nth-child(5) {
  animation-delay: 0.4s;
}
#panel-sending .pr-network-dots span:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes prNetDot {
  0%,
  70%,
  100% {
    opacity: 0.45;
    transform: scale(0.88);
  }
  35% {
    opacity: 1;
    transform: scale(1.12);
  }
}
#panel-sending .pr-network-wifi {
  display: flex;
  align-items: center;
  justify-content: center;
}
#panel-sending .pr-network-wifi svg {
  width: 126px;
  max-width: 100%;
  height: auto;
  fill: none;
  stroke: #079df0;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#panel-sending .pr-network-wifi circle {
  fill: #079df0;
  stroke: none;
}
#panel-sending .pr-network-label {
  margin: 0 0 42px;
  color: #263746;
  font-size: 15px;
  font-weight: 700;
}
#panel-sending .pr-demo-progress-wrap {
  max-width: 640px;
  width: 100%;
  margin-top: 0;
}
#panel-sending .pr-demo-progress-track {
  height: 4px;
  background: #b8d1e3;
  border: 0;
  border-radius: 0;
}
#panel-sending .pr-demo-progress-bar {
  background: #0789e9;
  border-radius: 0;
}
#panel-sending .pr-demo-progress-meta {
  justify-content: center;
  margin-top: 25px;
  font-size: 14px;
  color: #263746;
  font-weight: 600;
}
#panel-sending .pr-demo-progress-meta strong {
  display: none;
}
@media (max-width: 560px) {
  #panel-sending .pr-network-progress {
    min-height: 440px;
    padding: 0 5% 24px;
  }
  #panel-sending .pr-network-topbar {
    margin-left: -5%;
    margin-right: -5%;
    width: 110%;
    margin-bottom: 30px;
    height: 28px;
    flex-basis: 28px;
  }
  #panel-sending .pr-network-intro {
    font-size: 13px;
  }
  #panel-sending .pr-network-visual {
    gap: 8px;
    margin: 45px auto 26px;
  }
  #panel-sending .pr-network-printer img {
    height: 82px;
    max-width: 100px;
  }
  #panel-sending .pr-network-dots {
    gap: 4px;
  }
  #panel-sending .pr-network-dots span {
    width: 8px;
    height: 8px;
  }
  #panel-sending .pr-network-wifi svg {
    width: 75px;
  }
  #panel-sending .pr-network-label {
    margin-bottom: 30px;
  }
}

/* Final adjustment: landscape connection screen; remove blue top strip */
#panel-sending {
  border: 0 !important;
  background: #e7e7e7;
}
#panel-sending .pr-network-topbar {
  display: none !important;
}
#panel-sending .pr-network-progress {
  min-height: 0 !important;
  width: 100%;
  padding: 34px 6% 30px !important;
  background: #e7e7e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
#panel-sending .pr-network-progress h2 {
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.2;
  margin: 0 0 10px;
}
#panel-sending .pr-network-intro {
  max-width: 680px;
}
#panel-sending .pr-network-visual {
  display: grid !important;
  grid-template-columns: minmax(110px, 1fr) minmax(100px, 0.8fr) minmax(
      100px,
      1fr
    ) !important;
  align-items: center;
  justify-items: center;
  gap: 18px;
  width: 100%;
  max-width: 700px;
  margin: 30px auto 22px !important;
}
#panel-sending .pr-network-printer img {
  width: 100%;
  max-width: 150px;
  height: 105px;
  object-fit: contain;
}
#panel-sending .pr-network-dots {
  flex-wrap: nowrap;
  gap: 7px;
}
#panel-sending .pr-network-dots span {
  width: 13px;
  height: 13px;
}
#panel-sending .pr-network-wifi svg {
  width: 110px;
}
#panel-sending .pr-network-label {
  margin: 0 0 20px;
}
#panel-sending .pr-demo-progress-wrap {
  max-width: 680px;
}
#panel-sending .pr-demo-progress-meta {
  margin-top: 14px;
}
@media (max-width: 560px) {
  #panel-sending .pr-network-progress {
    padding: 28px 5% 24px !important;
  }
  #panel-sending .pr-network-visual {
    grid-template-columns: minmax(80px, 1fr) minmax(70px, 0.8fr) minmax(
        80px,
        1fr
      ) !important;
    gap: 8px;
    margin: 26px auto 20px !important;
  }
  #panel-sending .pr-network-printer img {
    height: 78px;
    max-width: 95px;
  }
  #panel-sending .pr-network-dots {
    gap: 4px;
  }
  #panel-sending .pr-network-dots span {
    width: 8px;
    height: 8px;
  }
  #panel-sending .pr-network-wifi svg {
    width: 75px;
  }
  #panel-sending .pr-network-intro {
    font-size: 13px;
  }
}

/* Centered network setup card sized to match the reference screen. */
.pr-modal-backdrop.network-mode {
  padding: 24px;
  background: #111111;
}

.pr-modal-backdrop.network-mode .pr-modal {
  width: min(70vw, 1060px);
  max-width: 1060px;
  height: min(88vh, 660px);
  max-height: 660px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
}

.pr-modal-backdrop.network-mode .pr-modal-header {
  display: none;
}

.pr-modal-backdrop.network-mode .pr-modal-body {
  height: 100%;
  padding: 0;
}

.pr-modal-backdrop.network-mode #panel-sending {
  height: 100%;
  padding: 0 !important;
  border: 0;
  background: #e7e7e7;
  overflow: hidden;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-progress {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  padding: 0 7.5% 4% !important;
  background: #e7e7e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-topbar {
  display: block !important;
  width: calc(100% + 15% + 30px);
  height: clamp(36px, 5.8vh, 44px);
  flex: 0 0 clamp(36px, 5.8vh, 44px);
  margin: 0 calc(-7.5% - 15px) clamp(28px, 7vh, 54px);
  background: #347df4;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-progress h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.25;
  color: #263746;
  font-weight: 500;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-intro {
  max-width: 900px;
  margin: 0;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.5;
  color: #344354;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-visual {
  width: 100%;
  max-width: 1000px;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 18px;
  margin: clamp(30px, 6vh, 46px) auto clamp(22px, 4vh, 32px) !important;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-printer img {
  max-width: 200px;
  height: clamp(105px, 20vh, 150px);
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-dots {
  gap: 8px;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-dots span {
  width: 14px;
  height: 14px;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-wifi svg {
  width: clamp(100px, 15vw, 190px);
}

.pr-modal-backdrop.network-mode #panel-sending .pr-network-label {
  margin: 0 0 clamp(24px, 7vh, 54px);
  font-size: clamp(14px, 1.5vw, 20px);
}

.pr-modal-backdrop.network-mode #panel-sending .pr-demo-progress-wrap {
  width: 100%;
  max-width: 900px;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-demo-progress-track {
  height: 5px;
}

.pr-modal-backdrop.network-mode #panel-sending .pr-demo-progress-meta {
  margin-top: clamp(16px, 5vh, 38px);
  font-size: clamp(14px, 1.5vw, 20px);
}

/* Match homepage blue surfaces to the View Connection Steps button. */
.home-page .pr-cards-section--blue {
  background: linear-gradient(180deg, #0181ff 0%, #0090ff 42%, #4bbcff 100%);
}

.home-page .panel-blue-header,
.home-page .pr-easy-btn,
.home-page .skin-primary,
.home-page .pill-chat-now-btn,
.home-page .action-find-btn,
.home-page .sticky-left-contact,
.home-page .pr-submit-btn,
.home-page .header-cta,
.home-page .pill-chat-now-btn:hover,
.home-page .action-find-btn:hover,
.home-page .sticky-left-contact:hover,
.home-page .header-cta:hover,
.home-page .pr-easy-btn:hover {
  background: #0182ff;
}

.home-page .pr-home-tiles .pr-easy-tile {
  background: #1c567f;
}

.home-page .pr-home-tiles .pr-easy-tile:hover {
  background: var(--navy);
}

@media (max-width: 560px) {
  .pr-modal-backdrop.network-mode {
    padding: 8px;
  }

  .pr-modal-backdrop.network-mode .pr-modal {
    width: min(92vw, 520px);
    height: min(80vh, 610px);
    max-height: 610px;
    padding: 0;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-progress {
    padding: 0 5% 6% !important;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-topbar {
    width: calc(100% + 10% + 4px);
    margin: 0 calc(-5% - 2px) 28px;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-visual {
    grid-template-columns: minmax(70px, 1fr) minmax(60px, 0.8fr) minmax(
        70px,
        1fr
      ) !important;
    gap: 8px;
    margin: 36px auto 22px !important;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-printer img {
    max-width: 110px;
    height: 90px;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-dots {
    gap: 4px;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-dots span {
    width: 8px;
    height: 8px;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-wifi svg {
    width: 78px;
  }

  .pr-modal-backdrop.network-mode #panel-sending .pr-network-label {
    margin-bottom: 26px;
  }
}


/* Compact final setup message */
.pr-result-alert {
  position: relative; width: min(100%, 560px); margin: 1.25rem auto;
  padding: 1.6rem 1.5rem 1.5rem; border: 1px solid #e5e7eb;
  border-radius: 18px; background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14); text-align: left;
}
.pr-result-alert-close {
  position: absolute; top: 10px; right: 13px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: transparent; color: #64748b;
  font-size: 27px; line-height: 1; cursor: pointer;
}
.pr-result-alert-mark {
  display: flex; align-items: center; justify-content: center; width: 34px;
  height: 34px; margin-bottom: .8rem; border-radius: 50%;
  background: #fff7ed; color: #c2410c; font-size: 22px; font-weight: 800;
}
.pr-result-alert-title {
  margin: 0 2rem .65rem 0; color: #172554;
  font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 800; line-height: 1.25;
}
.pr-result-alert-text { margin: 0; color: #334155; font-size: 1rem; line-height: 1.65; }
.pr-result-alert-note {
  margin: 1rem 0 1.15rem; padding: .8rem .9rem; border-left: 3px solid #0ea5e9;
  border-radius: 7px; background: #f0f9ff; color: #334155;
  font-size: .88rem; line-height: 1.55;
}
.pr-result-alert-support, .pr-result-alert-secondary {
  display: flex; width: 100%; min-height: 48px; align-items: center;
  justify-content: center; gap: .55rem; padding: .75rem 1rem;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.pr-result-alert-support { border: 0; background: #168bd0; color: #fff; }
.pr-result-alert-support:hover { background: #0876b9; color: #fff; }
.pr-result-alert-secondary {
  margin-top: .65rem; border: 1px solid #cbd5e1; background: #fff; color: #1e3a8a;
}
.pr-result-alert-secondary:hover { background: #f8fafc; }
@media (max-width: 480px) {
  .pr-result-alert { margin: .5rem auto; padding: 1.35rem 1rem 1.1rem; border-radius: 14px; }
  .pr-result-alert-text { font-size: .94rem; }
}


/* Compact final popup matching the supplied reference style */
.pr-final-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px;
  background: rgba(10, 18, 32, .12);
}
.pr-final-popup-backdrop.is-visible { display: flex; }
.pr-final-popup {
  position: relative;
  width: min(100%, 340px);
  padding: 20px 19px 18px;
  border: 1px solid #d8e0eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(15, 23, 42, .22);
  color: #202938;
  font-family: inherit;
}
.pr-final-popup-close {
  position: absolute;
  top: 5px;
  right: 8px;
  width: 25px;
  height: 25px;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.pr-final-popup-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 15px 10px 0;
}
.pr-final-popup-icon {
  flex: 0 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border: 2px solid #dc2626;
  border-radius: 50%;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
}
.pr-final-popup-heading h2 {
  margin: 0;
  color: #c91f1f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
}
.pr-final-popup p {
  margin: 0 0 12px;
  color: #303846;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.pr-final-popup .pr-final-popup-note {
  margin-top: 2px;
  margin-bottom: 14px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}
.pr-final-popup-button {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 0;
  border-radius: 24px;
  background: #168bc9;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}
.pr-final-popup-button:hover { background: #0878b7; }
.pr-final-popup-button svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .pr-final-popup-backdrop { padding: 8px; }
  .pr-final-popup { width: min(100%, 340px); padding: 18px 16px 15px; }
  .pr-final-popup-heading h2 { font-size: 19px; }
}


.pr-final-popup-code {
  margin: 12px 0 13px;
  padding: 11px 12px;
  border: 1px solid #f2c4c4;
  border-radius: 8px;
  background: #fff7f7;
  text-align: center;
}
.pr-final-popup-code span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.pr-final-popup-code strong {
  display: block;
  color: #b91c1c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}
.pr-final-popup-button {
  font-family: inherit;
}


/* Final popup: centered overlay */
.pr-final-popup-backdrop {
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(15, 23, 42, .42) !important;
}
.pr-final-popup {
  width: min(100%, 511px) !important;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: auto;
  padding: 24px 22px 22px !important;
}
.pr-final-popup-heading h2 {
  font-size: 21px;
  line-height: 1.2;
}
.pr-final-popup p {
  font-size: 17px;
  line-height: 1.66;
}
.pr-final-popup .pr-final-popup-note {
  font-size: 12px;
}
@media (max-width: 480px) {
  .pr-final-popup-backdrop {
    padding: 14px !important;
  }
  .pr-final-popup {
    width: 100% !important;
    max-height: calc(100vh - 28px);
    padding: 21px 17px 18px !important;
  }
}
