/*
 * SB-SF3-062 / SB-SF3-063 fail-closed product replacement.
 * Real-photo candidates did not clear the source/topic gate, so these styles
 * render only semantic comparison content and an unbranded, blank-screen
 * device silhouette. There is no simulated application UI in this file.
 */

/* post-6: structured hero summary */
html body.sb-v45 .sb45-brand-visual.sb-kiosk-brand-visual {
  aspect-ratio: 16 / 10;
  background: #eaf6fb;
}

.sb-kiosk-cost-hero {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: clamp(24px, 4.2vw, 46px);
  color: #10233a;
  background:
    radial-gradient(circle at 85% 14%, rgba(56, 189, 248, .22), transparent 30%),
    linear-gradient(145deg, #f8fcfe 0%, #e7f5fb 100%);
}

.sb-kiosk-cost-hero__eyebrow {
  margin: 0 0 10px;
  color: #075f9c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sb-kiosk-cost-hero strong {
  display: block;
  max-width: 12em;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.28;
  letter-spacing: -.04em;
}

.sb-kiosk-cost-hero dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border-block: 1px solid #c9e0eb;
}

.sb-kiosk-cost-hero dl div {
  display: grid;
  grid-template-columns: minmax(86px, .72fr) 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #d8e9f1;
}

.sb-kiosk-cost-hero dl div:last-child { border-bottom: 0; }
.sb-kiosk-cost-hero dt { color: #52677f; font-size: 13px; font-weight: 700; }
.sb-kiosk-cost-hero dd { margin: 0; color: #10233a; font-size: 13px; font-weight: 780; }

/* post-6: accessible 36-month comparison and installation checklist */
.sb-kiosk-cost-panel {
  margin: 0 0 22px;
  padding: clamp(20px, 3.5vw, 32px);
  border: 1px solid #cfe2eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(19, 67, 98, .08);
  color: #16233a;
  white-space: normal;
}

.sb-kiosk-cost-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.sb-kiosk-cost-panel__kicker {
  margin: 0 0 6px;
  color: #075f9c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sb-kiosk-cost-panel h2,
.sb-kiosk-cost-panel h3 {
  margin: 0;
  color: #16233a;
  letter-spacing: -.035em;
}

.sb-kiosk-cost-panel h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; }
.sb-kiosk-cost-panel h3 { font-size: 19px; line-height: 1.4; }

.sb-kiosk-cost-panel__formula {
  margin: 0;
  padding: 10px 13px;
  border-radius: 999px;
  background: #eaf7fc;
  color: #075f9c;
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.sb-kiosk-cost-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .72fr);
  gap: 22px;
  align-items: start;
}

.sb-kiosk-table-wrap {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7e3ea;
  border-radius: 12px;
  background: #fff;
}

.sb-kiosk-cost-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.5;
}

.sb-kiosk-cost-table caption {
  padding: 12px 14px;
  border-bottom: 1px solid #d7e3ea;
  background: #f7fbfd;
  color: #52677f;
  font-size: 12.5px;
  font-weight: 650;
  text-align: left;
}

.sb-kiosk-cost-table th,
.sb-kiosk-cost-table td {
  padding: 12px 13px;
  border: 0;
  border-right: 1px solid #e2edf3;
  border-bottom: 1px solid #e2edf3;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.sb-kiosk-cost-table th:last-child,
.sb-kiosk-cost-table td:last-child { border-right: 0; }
.sb-kiosk-cost-table tbody tr:last-child > * { border-bottom: 0; }
.sb-kiosk-cost-table thead th { background: #0d5f8d; color: #fff; font-weight: 780; }
.sb-kiosk-cost-table thead th:first-child { width: 27%; background: #0b4f75; }
.sb-kiosk-cost-table tbody th { background: #f4f9fc; color: #253f56; font-weight: 760; }
.sb-kiosk-cost-table td { color: #445d73; }
.sb-kiosk-cost-table .sb-kiosk-cell-label { display: none; }

.sb-kiosk-install-checklist {
  padding: 20px;
  border-radius: 12px;
  background: #eef8fc;
}

.sb-kiosk-install-checklist p {
  margin: 7px 0 0;
  color: #52677f;
  font-size: 13px;
  line-height: 1.6;
}

.sb-kiosk-install-checklist ul {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.sb-kiosk-install-checklist li {
  position: relative;
  padding: 10px 0 10px 29px;
  border-bottom: 1px solid #cfe4ed;
  color: #253f56;
  font-size: 13.5px;
  line-height: 1.48;
}

.sb-kiosk-install-checklist li:last-child { border-bottom: 0; }
.sb-kiosk-install-checklist li::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 2px;
  width: 15px;
  height: 15px;
  border: 2px solid #0b72b5;
  border-radius: 4px;
  background: #fff;
}

.sb-kiosk-cost-panel__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2edf3;
}

.sb-kiosk-cost-panel__action p {
  margin: 0;
  color: #52677f;
  font-size: 13px;
  line-height: 1.55;
}

.sb-kiosk-cost-panel__action a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 7px;
  background: #075f9c;
  color: #fff;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.3;
  text-decoration: none;
}

.sb-kiosk-cost-panel__action a:hover { background: #084e7d; }
.sb-kiosk-cost-panel__action a:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }

/* store-devices: blank-screen structural device icon, not a simulated UI */
.card-media.sb-kiosk-structure {
  position: relative;
  display: grid;
  place-items: center;
  height: 155px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 28%, rgba(56, 189, 248, .26), transparent 33%),
    linear-gradient(145deg, #f5fbfe, #deeff6);
}

.card-media.sb-kiosk-structure::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 112px;
  height: 9px;
  border-radius: 50%;
  background: rgba(20, 64, 91, .15);
  filter: blur(5px);
  transform: translateX(-50%);
  z-index: -1;
}

.sb-kiosk-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 82px;
  height: 138px;
}

.sb-kiosk-device__head {
  position: relative;
  width: 78px;
  height: 94px;
  padding: 7px;
  border: 2px solid #27475d;
  border-radius: 9px;
  background: linear-gradient(145deg, #26465c, #132f43);
  box-shadow: 0 8px 16px rgba(18, 60, 87, .18);
}

.sb-kiosk-device__screen {
  display: block;
  width: 100%;
  height: 67px;
  border: 1px solid #aacddb;
  border-radius: 4px;
  background: linear-gradient(145deg, #f8fcfd 0%, #d6edf5 100%);
}

.sb-kiosk-device__reader {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 19px;
  height: 8px;
  border: 1px solid #82a9b9;
  border-radius: 2px;
  background: #e9f6fa;
}

.sb-kiosk-device__neck {
  width: 15px;
  height: 31px;
  background: linear-gradient(90deg, #29485d, #173348);
}

.sb-kiosk-device__base {
  width: 72px;
  height: 11px;
  border-radius: 8px 8px 4px 4px;
  background: #173348;
}

.sb-kiosk-card .card-body p { color: #52677f; }
.sb-kiosk-card .card-body .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: normal;
}
.sb-kiosk-card .sb-kiosk-structure-note {
  margin-top: 9px;
  color: #667c8f;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  html body.sb-v45 .sb45-brand-visual.sb-kiosk-brand-visual { aspect-ratio: auto; }
  .sb-kiosk-cost-hero { min-height: 295px; padding: 24px; }
  .sb-kiosk-cost-panel__head,
  .sb-kiosk-cost-panel__layout { grid-template-columns: minmax(0, 1fr); }
  .sb-kiosk-cost-panel__formula { justify-self: start; }
  .card-media.sb-kiosk-structure { height: 116px; }
  .sb-kiosk-device { width: 68px; height: 105px; transform: scale(.78); transform-origin: center; }
}

@media (max-width: 620px) {
  .sb-kiosk-cost-panel { padding: 18px; border-radius: 14px; }
  .sb-kiosk-cost-panel__head { gap: 12px; }
  .sb-kiosk-cost-table,
  .sb-kiosk-cost-table tbody,
  .sb-kiosk-cost-table tr,
  .sb-kiosk-cost-table th,
  .sb-kiosk-cost-table td { display: block; width: 100%; }
  .sb-kiosk-cost-table caption {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .sb-kiosk-cost-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .sb-kiosk-cost-table tbody tr { border-bottom: 8px solid #edf5f8; }
  .sb-kiosk-cost-table tbody tr:last-child { border-bottom: 0; }
  .sb-kiosk-cost-table tbody th {
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid #d6e6ed;
    background: #eaf6fa;
  }
  .sb-kiosk-cost-table td {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border-right: 0;
  }
  .sb-kiosk-cost-table .sb-kiosk-cell-label {
    display: inline;
    color: #075f9c;
    font-size: 12px;
    font-weight: 800;
  }
  .sb-kiosk-cost-panel__action { align-items: stretch; flex-direction: column; }
  .sb-kiosk-cost-panel__action a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-kiosk-cost-panel__action a { transition: none; }
}

@media print {
  .sb-kiosk-cost-panel { box-shadow: none; break-inside: avoid; }
  .sb-kiosk-cost-panel__action a { border: 1px solid #075f9c; background: #fff; color: #075f9c; }
}
