/* The Standard Book: used hot tub value tool */
.sb-hero .sb-byline {
  font-size: 15px !important;
  color: #3d5868;
  max-width: 760px;
}

.sb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 28px;
  align-items: start;
}
.sb-inputs { min-width: 0; }
.sb-form fieldset:first-child { margin-top: 0; }

.sb-finder input {
  border-color: #126b9c !important;
  border-width: 2px !important;
}
.sb-find-status { margin: 0; color: #a3462a; min-height: 0; }
.sb-find-status:empty { display: none; }

.sb-basis {
  background: #edf5fa;
  border-left: 4px solid #126b9c;
  padding: 12px 16px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}
.sb-basis:empty { display: none; }
.sb-basis p { margin: 0 0 6px; }
.sb-basis p:last-child { margin-bottom: 0; }

.sb-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sb-form .sb-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid #bdd4df;
  background: #fff;
  font-weight: 400 !important;
  cursor: pointer;
}
.sb-form .sb-choice input {
  width: 24px !important;
  height: 24px;
  flex: 0 0 24px;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #126b9c;
}
.sb-choice strong { display: block; color: #082c4d; }
.sb-choice:has(input:checked) {
  border-color: #126b9c;
  background: #edf5fa;
  box-shadow: inset 0 0 0 1px #126b9c;
}

.sb-repairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.sb-form .sb-repairs .tool-check { margin: 10px 0; }

.sb-result {
  position: sticky;
  top: 16px;
  background: #082c4d;
  color: #fff;
  padding: 24px;
  border-bottom: 4px solid #4bbde6;
}
.sb-result h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a9ddf1;
}
.sb-result p { margin: 0; }
.sb-tub { font-weight: 700; font-size: 17px; }
.sb-meta { font-size: 14px; color: #d4e8f1; margin-top: 2px !important; }
.sb-range {
  font: 700 clamp(34px, 4vw, 44px)/1.1 Georgia, 'Times New Roman', serif;
  margin: 16px 0 6px !important;
  font-variant-numeric: tabular-nums;
}
.sb-mid { font-size: 16px; color: #fff; }
.sb-ask { font-size: 14px; color: #d4e8f1; margin-top: 6px !important; line-height: 1.5; }

.sb-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.sb-pills:empty { display: none; }
.sb-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: #082c4d;
}
.sb-pill-good { background: #d9f0e3; color: #14532d; }
.sb-pill-warn { background: #fbe8c8; color: #6b4200; }
.sb-pill-bad { background: #f6d5cc; color: #7a2a14; }
.sb-pill-neutral { background: #e3edf2; color: #23404f; }

.sb-form .sb-result .sb-asking {
  color: #fff;
  margin: 18px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 16px;
}
.sb-verdict p { margin: 8px 0 0 !important; font-size: 14px; line-height: 1.5; color: #fff; }

.sb-how { margin-top: 16px; font-size: 14px; }
.sb-how summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-how summary::before { content: '+'; font-weight: 700; }
.sb-how[open] summary::before { content: '−'; }
.sb-how summary::-webkit-details-marker { display: none; }
.sb-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  margin: 12px 0 0;
}
.sb-ledger dt { color: #d4e8f1; }
.sb-ledger dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sb-ledger dt:last-of-type, .sb-ledger dd:last-of-type {
  font-weight: 700;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 6px;
}

.sb-next { padding-block: 10px 40px; }
.sb-next > p { max-width: 760px; line-height: 1.7; }
.sb-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.sb-next-grid .resource-tile h3 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; }

.sb-method { padding-block: 10px 30px; }
.sb-method > * { max-width: 900px; }
.sb-method ul { padding-left: 20px; }
.sb-method li { line-height: 1.7; margin-bottom: 10px; }
.sb-method h3 { font-size: 22px; margin: 28px 0 8px; }
.sb-formula {
  background: #edf5fa;
  padding: 14px 18px;
  font: 700 17px/1.5 Georgia, 'Times New Roman', serif;
  color: #082c4d;
}
.sb-chart { max-width: 620px; }
.sb-chart svg { display: block; width: 100%; height: auto; }
.sb-chart-grid { stroke: #dbe7ee; stroke-width: 1; }
.sb-chart-label { font-size: 11px; fill: #4a6070; }
.sb-chart-line { fill: none; stroke: #126b9c; stroke-width: 2.5; stroke-linejoin: round; }
.sb-chart-life { fill: #f6ece6; }
.sb-chart-dot { fill: #082c4d; stroke: #fff; stroke-width: 2; }
.sb-chart-callout { font-size: 12px; font-weight: 700; fill: #082c4d; }

.sb-disclaimer { padding-block: 0 50px; color: #4a6070; }

.sb-sticky { display: none; }

@media (max-width: 900px) {
  .sb-layout { grid-template-columns: minmax(0, 1fr); }
  .sb-result { position: static; }
  .sb-main { padding-bottom: 56px; }
  .sb-sticky {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: #082c4d;
    color: #fff;
    border: 0;
    border-top: 3px solid #4bbde6;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
  }
  .sb-sticky-hint { color: #bfe6f6; }
  .site-header .menu-toggle { min-width: 44px; min-height: 44px; }
  .sb-sticky strong { font-size: 18px; font-variant-numeric: tabular-nums; }
}
@media (max-width: 600px) {
  .sb-choices, .sb-repairs, .sb-next-grid { grid-template-columns: minmax(0, 1fr); }
  .sb-result { padding: 20px; }
}
.sb-form .tool-fields { row-gap: 0; }

.sb-stan-note{font-size:.95rem;border-left:3px solid #4bbde6;padding:.7rem 1rem;background:#f1f8fb}.sb-stan-reaction{display:flex;align-items:flex-start;gap:14px;margin:20px 0;padding:16px;border:2px solid #87a8ba;border-radius:12px;background:#f3f8fb}.sb-stan-reaction>img{width:90px;height:100px;object-fit:contain;flex-shrink:0}.sb-stan-reaction h3{margin:.3rem 0 .6rem;font-size:1.5rem}.sb-stan-reaction p{margin:.5rem 0}.sb-stan-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.06em}.sb-stan-good{border-color:#258051;background:#f0f8f2}.sb-stan-warn{border-color:#aa761a;background:#fff9ec}.sb-stan-bad{border-color:#b34848;background:#fff3f3}@media(max-width:500px){.sb-stan-reaction{gap:10px;padding:12px}.sb-stan-reaction>img{width:65px;height:76px}.sb-stan-reaction h3{font-size:1.3rem}}@media print{.sb-stan-reaction{break-inside:avoid}}
.sb-result .sb-stan-reaction,.sb-result .sb-stan-reaction h3,.sb-result .sb-stan-reaction p,.sb-result .sb-stan-reaction a{color:#183e51}.sb-result .sb-stan-reaction p{margin:.5rem 0}

/* ---------- Form polish (Nov 2026): numbered step cards, empty start, auto-fill marks ---------- */
.sb-form .sb-step {
  position: relative;
  border: 1px solid #d3e3eb;
  border-radius: 14px;
  background: #fff;
  padding: 22px 24px 24px;
  margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(8, 44, 77, 0.04), 0 6px 20px rgba(8, 44, 77, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sb-form .sb-step:focus-within {
  border-color: #126b9c;
  box-shadow: 0 0 0 3px rgba(75, 189, 230, 0.18), 0 6px 20px rgba(8, 44, 77, 0.06);
}
.sb-form .sb-step legend {
  display: flex;
  align-items: center;
  gap: 12px;
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 6px;
  font-size: 21px;
  color: #082c4d;
}
.sb-form .sb-step legend + * { clear: both; }
.sb-step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #082c4d;
  color: #fff;
  font: 700 15px/1 Arial, Helvetica, sans-serif;
}
.sb-req, .sb-opt {
  margin-left: auto;
  font: 600 11px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf5fa;
  color: #0d5680;
}
.sb-opt { background: #f2f5f7; color: #4a6070; }

.sb-form .sb-step .hts-form-tip,
.sb-form .sb-step .sb-stan-note {
  border-radius: 0 8px 8px 0;
  margin: 10px 0 16px;
}

.sb-form input:not([type=checkbox]):not([type=radio]),
.sb-form select {
  border-radius: 9px !important;
  border-color: #a9c2cf !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sb-form input:not([type=checkbox]):not([type=radio]):focus,
.sb-form select:focus {
  border-color: #126b9c !important;
  box-shadow: 0 0 0 3px rgba(75, 189, 230, 0.25);
}
.sb-form select:disabled {
  background: #f4f7f9;
  color: #7c8f9b;
  border-style: dashed !important;
  cursor: not-allowed;
}
.sb-form input::placeholder { color: #8399a6; }

.sb-finder input {
  padding-left: 44px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23126b9c' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13l5 5'/%3E%3C/svg%3E") no-repeat 15px center !important;
}
.sb-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: #6b7f8b;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sb-or::before, .sb-or::after { content: ''; flex: 1; height: 1px; background: #dce8ee; }
.sb-pick label { margin-top: 12px !important; }

.sb-basis { border-radius: 0 8px 8px 0; }

/* A field the model filled in for the visitor */
.sb-auto-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dff3e8;
  color: #1b5e3b;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}
.sb-auto-chip[hidden] { display: none; }
.sb-is-auto input, .sb-is-auto select {
  background-color: #f4fbf7 !important;
  border-color: #7cc39d !important;
}

/* Choice cards */
.sb-choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-form .sb-choice {
  border-radius: 10px;
  border-color: #cfe0e8;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.sb-form .sb-choice:hover { border-color: #126b9c; transform: translateY(-1px); }
.sb-choice span { font-size: 14px; line-height: 1.45; color: #3d5868; }
.sb-choice strong { font-size: 15px; margin-bottom: 2px; }
.sb-choice:has(input:focus-visible) { outline: 3px solid #4bbde6; outline-offset: 2px; }
.sb-cover-skip { margin: 0 0 10px; color: #0d5680; }
[data-sb-cover-step]:has(.sb-cover-skip:not([hidden])) .sb-choices { opacity: 0.45; }

.sb-form .sb-repairs .tool-check {
  margin: 6px 0;
  padding: 10px 12px;
  border: 1px solid #e1ebf0;
  border-radius: 9px;
}
.sb-form .sb-repairs .tool-check:has(input:checked) { border-color: #126b9c; background: #edf5fa; }

.sb-reset-row { margin: 4px 0 0; }
.sb-reset {
  background: none;
  border: 0;
  padding: 8px 0;
  color: #126b9c;
  font: 600 14px/1.4 Arial, Helvetica, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Result card */
.sb-result {
  border-radius: 16px;
  border-bottom: 0;
  background: linear-gradient(160deg, #0b3a63 0%, #082c4d 55%, #061f37 100%);
  box-shadow: 0 18px 40px rgba(8, 44, 77, 0.22);
  overflow: hidden;
}
.sb-result::before {
  content: '';
  display: block;
  height: 4px;
  margin: -24px -24px 20px;
  background: linear-gradient(90deg, #4bbde6, #126b9c);
}
.sb-range {
  font-family: var(--serif, Georgia, 'Times New Roman', serif) !important;
  font-weight: 600 !important;
  font-size: clamp(38px, 4.4vw, 50px) !important;
  letter-spacing: -0.01em;
}
.sb-ready { animation: sb-in 0.35s ease both; }
@keyframes sb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sb-empty-title {
  font: 600 28px/1.15 var(--serif, Georgia, serif);
  color: #fff;
  margin: 4px 0 8px !important;
}
.sb-empty-text { font-size: 14px; line-height: 1.55; color: #cfe3ee; }
.sb-todo { list-style: none; padding: 0; margin: 18px 0 4px; display: grid; gap: 10px; }
.sb-todo li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #d9eaf3;
}
.sb-todo-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  border: 2px solid rgba(169, 221, 241, 0.55);
  font-size: 13px;
  font-weight: 700;
}
.sb-todo-done { color: #fff; }
.sb-todo-done .sb-todo-mark { background: #4bbde6; border-color: #4bbde6; color: #061a2c; }
.sb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sb-result [hidden] { display: none !important; }
.sb-result .sb-stan-reaction { border-radius: 12px; }
.sb-form .sb-result .sb-asking input { border-color: transparent !important; }

@media (prefers-reduced-motion: reduce) {
  .sb-ready { animation: none; }
  .sb-form .sb-choice, .sb-form .sb-step { transition: none; }
  .sb-form .sb-choice:hover { transform: none; }
}
@media (max-width: 900px) {
  .sb-result::before { margin: -24px -24px 18px; }
}
@media (max-width: 600px) {
  .sb-form .sb-step { padding: 18px 16px 18px; border-radius: 12px; }
  .sb-form .sb-step legend { font-size: 19px; }
  .sb-choices-3 { grid-template-columns: minmax(0, 1fr); }
  .sb-result::before { margin: -20px -20px 16px; }
}
.sb-result .sb-estimate-note{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#edf5fa;color:#0d2235}
.sb-share{margin:18px auto 6px;text-align:center}

/* "Email me this valuation": optional, under the result. */
.sb-email { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.sb-result .sb-email-title { margin: 0 0 4px; color: #fff; }
.sb-result .sb-email-title .sb-opt { margin-left: 6px; vertical-align: middle; }
.sb-result .sb-email-text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #d6e6f1; }
.sb-email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sb-email-row input { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 10px 12px; font-size: 16px; border-radius: 10px; border: 1px solid #bdd4df; color: #0d2235; background: #fff; }
.sb-email-button { flex: 0 0 auto; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 10px; background: #4bbde6; color: #082c4d; font: inherit; font-weight: 700; cursor: pointer; }
.sb-email-button:disabled { opacity: 0.6; cursor: wait; }
.sb-result label.sb-email-consent { font-weight: 400; text-transform: none; letter-spacing: 0; }
.sb-result .sb-email-consent { display: grid; grid-template-columns: 24px 1fr; gap: 8px; margin-top: 12px; font-size: 13px; line-height: 1.45; color: #d6e6f1; align-items: start; min-height: 44px; }
.sb-result .sb-email-consent input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; }
.sb-result .sb-email-status { margin: 8px 0 0; font-size: 14px; color: #fff; }
.sb-result .sb-email-status:empty { display: none; }
.sb-result .sb-email-fine { margin: 8px 0 0; color: #b9cfdf; }
.sb-email-fine a { color: #7fd0ef; }
@media (max-width: 600px) { .sb-email-button { width: 100%; } }
