.spt-page {
  --spt-navy: #142235;
  --spt-soft-navy: #1E324A;
  --spt-navy-deep: #142235;
  --spt-text: #0F172A;
  --spt-muted: #64748B;
  --spt-line: #E2E8F0;
  --spt-blue: #2F80ED;
  --spt-blue-dark: #1764C8;
  --spt-teal: #12B8A6;
  --spt-light-blue: #EAF3FF;
  --spt-light-teal: #E8FAF7;
  --spt-green: #12B8A6;
  --spt-orange: #12B8A6;
  --spt-purple: #1764C8;
  --spt-pink: #1764C8;
  --spt-red: #1E324A;
  --spt-slate: #64748B;
  --spt-bg: #F8FAFC;
  --spt-card-shadow: 0 12px 30px rgba(20, 34, 53, 0.07);
  color: var(--spt-text);
  background: #FFFFFF;
}

.spt-page h1,
.spt-page h2,
.spt-page h3 {
  color: var(--spt-text);
  letter-spacing: 0;
}

.spt-page p {
  color: var(--spt-muted);
}

.spt-container {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

.spt-narrow {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.spt-section {
  padding: 4.25rem 0;
  background: #FFFFFF;
}

.spt-section-soft {
  background: var(--spt-bg);
}

.spt-home-page .spt-section {
  padding: 2.75rem 0;
}

.spt-section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.spt-section-heading h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.spt-section-heading p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.08rem;
  line-height: 1.65;
}

.spt-hero {
  padding: 4.4rem 0 4.7rem;
  background: var(--spt-navy);
}

.spt-home-page .spt-hero {
  padding: 2rem 0 2.25rem;
}

.spt-hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.spt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(18, 184, 166, 0.42);
  border-radius: 999px;
  color: var(--spt-teal);
  background: var(--spt-light-teal);
  font-size: 0.92rem;
  font-weight: 800;
}

.spt-badge svg,
.spt-button svg,
.spt-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spt-hero h1 {
  max-width: 980px;
  margin: 2rem auto 1.25rem;
  color: #FFFFFF;
  font-size: clamp(2.75rem, 6vw, 5.05rem);
  line-height: 1.08;
}

.spt-home-page .spt-hero h1 {
  margin: 1rem auto 0.7rem;
  font-size: clamp(2.35rem, 4.7vw, 3.85rem);
}

.spt-hero-subtext {
  max-width: 840px;
  margin: 0 auto;
  color: #EAF3FF;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.spt-trust-text {
  margin: 1.3rem 0 0;
  color: #EAF3FF;
  font-weight: 650;
}

.spt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.spt-home-page .spt-actions {
  margin-top: 1.15rem;
}

.spt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.86rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  text-align: center;
}

.spt-button:hover {
  text-decoration: none;
}

.spt-button-primary {
  color: #FFFFFF;
  background: var(--spt-blue);
  box-shadow: 0 12px 26px rgba(47, 128, 237, 0.22);
}

.spt-button-primary:hover {
  color: #FFFFFF;
  background: var(--spt-blue-dark);
}

.spt-button-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.spt-button-secondary:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.spt-button-light {
  color: var(--spt-blue);
  border-color: #EAF3FF;
  background: #FFFFFF;
}

.spt-button-light:hover {
  color: var(--spt-blue-dark);
  background: #EAF3FF;
}

.spt-card-grid {
  display: grid;
  gap: 1.3rem;
}

.spt-calc-card,
.spt-guide-card,
.spt-step-card,
.spt-trust-card,
.spt-category-card {
  border: 1px solid var(--spt-line);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: var(--spt-card-shadow);
}

.spt-calc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 132px;
  padding: 1.45rem;
  color: var(--spt-text);
}

.spt-calc-card:hover,
.spt-guide-card:hover {
  color: var(--spt-text);
  border-color: #EAF3FF;
  text-decoration: none;
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 18px 38px rgba(20, 34, 53, 0.1);
}

.spt-icon-tile {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  color: #FFFFFF;
  flex: 0 0 auto;
}

.spt-icon-tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.spt-icon-blue { background: var(--spt-blue); }
.spt-icon-purple { background: var(--spt-purple); }
.spt-icon-orange { background: var(--spt-orange); }
.spt-icon-pink { background: var(--spt-pink); }
.spt-icon-teal { background: var(--spt-teal); }
.spt-icon-green { background: var(--spt-green); }
.spt-icon-slate { background: var(--spt-slate); }
.spt-icon-red { background: var(--spt-red); }
.spt-icon-indigo { background: #1764C8; }
.spt-icon-navy {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.spt-calc-card h3,
.spt-guide-card h3,
.spt-step-card h3,
.spt-trust-card h3,
.spt-category-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.16rem;
}

.spt-calc-card p,
.spt-guide-card p,
.spt-step-card p,
.spt-trust-card p,
.spt-category-card p {
  margin: 0;
  line-height: 1.52;
}

.spt-card-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 999px;
  color: var(--spt-blue);
  background: var(--spt-light-blue);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.spt-card-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spt-calc-card:hover .spt-card-arrow,
.spt-guide-card:hover .spt-card-arrow {
  color: #FFFFFF;
  background: var(--spt-blue);
  transform: translateX(2px);
}

.spt-centered-link {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.spt-page .spt-footer {
  color: #EAF3FF;
  background: var(--spt-navy);
}

.spt-page .spt-footer h2,
.spt-page .spt-footer-brand,
.spt-page .spt-footer-about strong {
  color: #FFFFFF;
}

.spt-page .spt-footer p,
.spt-page .spt-footer .footer-disclaimer,
.spt-page .spt-footer-bottom p {
  color: #EAF3FF;
}

.spt-page .spt-footer a {
  color: #EAF3FF;
}

.spt-page .spt-footer a:hover {
  color: #FFFFFF;
}

.spt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--spt-blue);
  font-weight: 850;
}

.spt-link:hover {
  color: var(--spt-blue-dark);
  text-decoration: none;
}

.spt-steps-grid {
  display: grid;
  gap: 1.4rem;
}

.spt-step-card {
  padding: 1.8rem;
}

.spt-step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 1.7rem;
  border-radius: 999px;
  color: var(--spt-blue);
  background: #EAF3FF;
  font-size: 1.18rem;
  font-weight: 850;
}

.spt-trust-grid {
  display: grid;
  gap: 1.4rem;
}

.spt-trust-card {
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 2rem 1.4rem;
  text-align: center;
}

.spt-home-page .spt-step-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1.2rem;
  row-gap: 0.25rem;
  align-items: center;
  justify-items: start;
  min-height: 132px;
  padding: 1.45rem;
  text-align: left;
}

.spt-home-page .spt-step-number {
  grid-row: 1 / 3;
  margin-bottom: 0;
}

.spt-home-page .spt-step-number {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: #FFFFFF;
  background: var(--spt-blue);
}

.spt-home-page .spt-step-card h3,
.spt-home-page .spt-step-card p {
  grid-column: 2;
  margin: 0;
}

.spt-home-page .spt-trust-card {
  min-height: 168px;
  padding: 1.45rem 1.25rem;
}

.spt-home-page .spt-trust-card .spt-icon-tile {
  margin-bottom: 0.9rem;
}

.spt-trust-card .spt-icon-tile {
  width: 58px;
  height: 58px;
  margin-bottom: 1.3rem;
  color: #FFFFFF;
  background: var(--spt-teal);
}

.spt-trust-card .spt-icon-tile svg {
  width: 26px;
  height: 26px;
}

.spt-guide-grid {
  display: grid;
  gap: 1.3rem;
}

.spt-guide-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  min-height: 172px;
  padding: 1.55rem;
  color: var(--spt-text);
}

.spt-guide-card .spt-link {
  margin-top: 1rem;
}

.spt-business-cta {
  padding: 3.1rem;
  border-radius: 22px;
  color: #FFFFFF;
  background: var(--spt-navy);
}

.spt-business-cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.spt-business-cta h2 {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.spt-business-cta p {
  max-width: 780px;
  margin: 0;
  color: #EAF3FF;
  font-size: 1.1rem;
}

.spt-business-cta .spt-button-primary {
  justify-self: start;
}

.spt-page-hero {
  padding: 4rem 0 3rem;
  background: var(--spt-bg);
}

.spt-calculators-page .spt-page-hero {
  padding: 2.25rem 0 1.65rem;
}

.spt-page-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.spt-calculators-page .spt-page-hero h1 {
  margin: 1rem auto 0.55rem;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
}

.spt-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.65;
}

.spt-calculators-page .spt-page-hero p {
  font-size: 1.02rem;
  line-height: 1.55;
}

.spt-calculators-page .spt-section {
  padding-top: 0.95rem;
}

.spt-directory-controls {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  max-width: 840px;
  margin: 0 auto 1.75rem;
}

.spt-directory-search {
  position: relative;
  width: min(100%, 560px);
}

.spt-directory-search svg {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 19px;
  height: 19px;
  color: #2F80ED;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.spt-directory-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem 0 2.85rem;
  border: 1px solid var(--spt-line);
  border-radius: 999px;
  color: var(--spt-text);
  background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(20, 34, 53, 0.04);
  font: inherit;
  font-size: 1rem;
}

.spt-directory-search input:focus {
  border-color: rgba(47, 128, 237, 0.48);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.11);
}

.spt-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.spt-filter-chip {
  min-height: 36px;
  padding: 0.44rem 0.82rem;
  border: 1px solid var(--spt-line);
  border-radius: 999px;
  color: var(--spt-muted);
  background: #FFFFFF;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.spt-filter-chip:hover,
.spt-filter-chip:focus-visible {
  border-color: rgba(47, 128, 237, 0.34);
  color: var(--spt-text);
  outline: none;
}

.spt-filter-chip.is-active {
  border-color: rgba(47, 128, 237, 0.32);
  color: var(--spt-blue-dark);
  background: var(--spt-light-blue);
}

.spt-directory-trust,
.spt-directory-status {
  margin: 0;
  color: var(--spt-muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.spt-directory-status {
  color: var(--spt-soft-navy);
  font-weight: 700;
}

.spt-directory-status:empty {
  display: none;
}

.spt-category-section + .spt-category-section {
  margin-top: 2.2rem;
}

.spt-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spt-category-heading h2 {
  margin: 0;
  font-size: 1.55rem;
}

.spt-category-heading p {
  max-width: 620px;
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.spt-business-directory-section {
  margin-top: 3rem;
  padding-top: 2.3rem;
  border-top: 1px solid var(--spt-line);
}

.spt-business-directory-heading {
  align-items: flex-start;
}

.spt-category-grid {
  display: grid;
  gap: 1rem;
}

.spt-category-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 112px;
  padding: 1.15rem;
  color: var(--spt-text);
  box-shadow: 0 8px 22px rgba(20, 34, 53, 0.05);
}

.spt-category-card:hover {
  color: var(--spt-text);
  border-color: #EAF3FF;
  text-decoration: none;
}

.spt-category-card .spt-icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.spt-category-card .spt-icon-tile svg {
  width: 26px;
  height: 26px;
}

.bt-main {
  color: var(--spt-text);
  background: var(--spt-bg);
}

.bt-hero {
  padding: 3.4rem 0 2.4rem;
}

.bt-back {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1.3rem;
  color: #64748B;
  font-weight: 700;
}

.bt-back:hover {
  color: var(--spt-blue);
  text-decoration: none;
}

.bt-hero h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.bt-hero p {
  max-width: 920px;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
}

.bt-shell-section {
  padding: 0 0 4rem;
}

.bt-shell {
  padding: 2rem;
  border: 1px solid var(--spt-line);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

body.bt-quote-workspace-open .bt-hero {
  display: none;
}

body.bt-quote-workspace-open .bt-shell-section {
  padding-top: 1.15rem;
}

[data-business-tools].is-quote-workspace .bt-tabs,
[data-business-tools].is-quote-workspace .bt-secondary-tools,
[data-business-tools].is-quote-workspace .bt-disclaimer {
  display: none;
}

[data-business-tools].is-quote-workspace .bt-shell {
  padding: 1rem;
}

.bt-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.45rem;
  border: 1px solid var(--spt-line);
  border-radius: 16px;
  background: var(--spt-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  scrollbar-width: none;
}

.bt-tabs::-webkit-scrollbar,
.bt-secondary-tabs::-webkit-scrollbar {
  display: none;
}

.bt-tab {
  display: inline-flex;
  min-width: 148px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 50px;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--spt-muted);
  background: transparent;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.bt-tab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-tab:hover,
.bt-tab:focus-visible {
  color: var(--spt-soft-navy);
  border-color: rgba(47, 128, 237, 0.28);
  background: #FFFFFF;
  outline: none;
}

.bt-tab.is-active {
  color: var(--spt-blue-dark);
  border-color: var(--spt-blue);
  background: var(--spt-light-blue);
  box-shadow: 0 8px 18px rgba(47, 128, 237, 0.14);
}

.bt-secondary-tools {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.85rem;
}

.bt-secondary-label {
  flex: 0 0 auto;
  color: #64748B;
  font-size: 0.83rem;
  font-weight: 850;
}

.bt-secondary-tabs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.bt-secondary-tabs .bt-tab {
  min-width: auto;
  min-height: 42px;
  padding: 0 0.85rem;
  border-color: #EAF3FF;
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 0.9rem;
}

.bt-panel {
  display: none;
  gap: 2rem;
  margin-top: 2rem;
}

.bt-panel[hidden],
[data-quote-mode-panel][hidden] {
  display: none !important;
}

.bt-panel.is-active {
  display: grid;
}

.bt-form-card,
.bt-result-panel {
  min-width: 0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.bt-form-card {
  padding: 1.85rem;
  border: 1px solid var(--spt-line);
  background: #FFFFFF;
}

.bt-form-card h2,
.bt-result-panel h2 {
  margin-bottom: 0.7rem;
  color: var(--spt-text);
  font-size: 1.35rem;
}

.bt-form-card > p {
  margin-bottom: 1.4rem;
  color: var(--spt-muted);
}

.bt-input-grid {
  display: grid;
  gap: 1.15rem 1rem;
}

.bt-form-section {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid #EAF3FF;
}

.bt-form-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bt-form-section h3 {
  margin: 0 0 1rem;
  color: #0F172A;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
}

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

.bt-quote-tool {
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 0;
}

.bt-quote-workspace-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid #DCEBFF;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.bt-quote-back-button {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0 0.6rem;
  border: 1px solid #EAF3FF;
  border-radius: 10px;
  background: #F8FBFF;
  color: #142235;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bt-quote-back-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-quote-back-button:hover,
.bt-quote-back-button:focus-visible {
  border-color: #8AB8FF;
  background: #EAF3FF;
  color: #1764C8;
  outline: none;
}

.bt-quote-workspace-title {
  min-width: 0;
}

.bt-quote-workspace-title h2 {
  margin: 0;
  color: #0F172A;
  font-size: 1.08rem;
  line-height: 1.15;
}

.bt-quote-workspace-title p {
  margin: 0.18rem 0 0;
  color: #64748B;
  font-size: 0.82rem;
  line-height: 1.35;
}

.bt-quote-workspace-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.bt-quote-workspace-actions[hidden] {
  display: none;
}

.bt-quote-workspace-actions .bt-action-button {
  min-height: 38px;
  padding: 0 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.bt-quote-workspace-actions [data-doc-action="download"] {
  border-color: #8AB8FF;
  color: #1764C8;
  background: #EAF3FF;
}

.bt-quote-mode-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.25rem;
  width: fit-content;
  justify-self: center;
  padding: 0.24rem;
  border: 1px solid #DCEBFF;
  border-radius: 12px;
  background: #F8FBFF;
}

.bt-quote-mode-tab {
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #64748B;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.bt-quote-mode-tab:hover,
.bt-quote-mode-tab:focus-visible {
  color: #1764C8;
  outline: none;
}

.bt-quote-mode-tab.is-active {
  border-color: #8AB8FF;
  background: #EAF3FF;
  color: #1764C8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.bt-quote-edit-pane {
  width: min(100%, 980px);
  justify-self: center;
}

.bt-quote-edit-pane .bt-input-grid {
  gap: 1.05rem 1rem;
}

.bt-quote-edit-pane .bt-field input,
.bt-quote-edit-pane .bt-field select,
.bt-quote-edit-pane .bt-money {
  min-height: 48px;
}

.bt-quote-edit-pane .bt-money input {
  min-height: 46px;
}

.bt-quote-edit-pane .bt-field textarea {
  min-height: 104px;
}

.bt-quote-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.45rem;
}

.bt-quote-form-actions .spt-button {
  min-width: 170px;
}

.bt-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--spt-soft-navy);
  font-weight: 750;
}

.bt-money,
.bt-field input,
.bt-field select,
.bt-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--spt-line);
  border-radius: 14px;
  color: var(--spt-text);
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bt-money {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bt-money span {
  padding-left: 1rem;
  color: #2F80ED;
  font-weight: 800;
}

.bt-money input {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bt-money input:focus {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

.bt-field input[type="number"] {
  appearance: textfield;
}

.bt-field input[type="number"]::-webkit-outer-spin-button,
.bt-field input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.bt-field input,
.bt-field select,
.bt-field textarea {
  padding: 0 1rem;
}

.bt-field textarea {
  min-height: 118px;
  padding: 0.9rem 1rem;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.bt-field input:focus,
.bt-field select:focus,
.bt-field textarea:focus,
.bt-money:focus-within {
  border-color: var(--spt-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.14), 0 8px 18px rgba(15, 23, 42, 0.04);
}

.bt-field small {
  display: block;
  margin-top: 0.35rem;
  color: #2F80ED;
}

.bt-form-card .spt-button {
  width: 100%;
  margin-top: 1.4rem;
  border: 0;
}

.bt-job-details {
  margin-top: 1.5rem;
  border: 1px solid #EAF3FF;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  overflow: hidden;
}

.bt-accordion-trigger {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 0;
  color: #0F172A;
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease;
}

.bt-accordion-trigger:hover,
.bt-accordion-trigger:focus-visible {
  background: #EAF3FF;
  outline: none;
}

.bt-accordion-copy {
  min-width: 0;
}

.bt-accordion-title,
.bt-accordion-help,
.bt-job-summary {
  display: block;
}

.bt-accordion-title {
  color: #0F172A;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.25;
}

.bt-accordion-help {
  margin-top: 0.22rem;
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bt-job-summary {
  margin-top: 0.5rem;
  color: #142235;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

.bt-accordion-chevron {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #EAF3FF;
  border-radius: 999px;
  color: #2F80ED;
  background: #EAF3FF;
}

.bt-accordion-chevron svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.bt-accordion-trigger[aria-expanded="true"] .bt-accordion-chevron svg {
  transform: rotate(180deg);
}

.bt-accordion-content {
  padding: 1rem;
  border-top: 1px solid #EAF3FF;
  background: #FFFFFF;
}

.bt-accordion-content[hidden] {
  display: none;
}

.bt-internal-pricing-details {
  margin-top: 1rem;
  border-color: #DCEBFF;
  border-radius: 12px;
  background: #F8FBFF;
  box-shadow: none;
}

.bt-internal-pricing-details .bt-accordion-trigger {
  padding: 0.75rem 0.85rem;
  background: #F8FBFF;
}

.bt-internal-pricing-details .bt-accordion-title {
  font-size: 0.92rem;
}

.bt-internal-pricing-details .bt-accordion-help {
  margin-top: 0.16rem;
  font-size: 0.8rem;
}

.bt-internal-pricing-details .bt-job-summary {
  margin-top: 0.35rem;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 700;
}

.bt-internal-pricing-details .bt-accordion-chevron {
  width: 28px;
  height: 28px;
}

.bt-internal-pricing-details .bt-accordion-content {
  padding: 0.8rem 0.85rem 0.9rem;
  background: #FFFFFF;
}

.bt-internal-note {
  margin: 0 0 0.65rem;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.bt-private-notes-empty {
  margin: 0 0 0.65rem;
  color: #94A3B8;
  font-size: 0.78rem;
  font-style: italic;
}

.bt-internal-pricing-details textarea {
  min-height: 112px;
  color: #142235;
  background: #F8FBFF;
}

.bt-job-header {
  margin: 0;
}

.bt-service-fields {
  display: grid;
  gap: 1rem;
}

.bt-service-fields[hidden] {
  display: none;
}

.bt-checkbox-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.bt-checkbox-field legend {
  margin-bottom: 0.45rem;
  color: #142235;
  font-weight: 750;
}

.bt-checkbox-grid {
  display: grid;
  gap: 0.5rem;
}

.bt-field .bt-check-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.5rem 0.68rem;
  margin: 0;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.025);
  overflow-wrap: normal;
  word-break: normal;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bt-field .bt-check-pill:hover {
  border-color: #EAF3FF;
  background: #FFFFFF;
}

.bt-field .bt-check-pill:has(input:checked) {
  border-color: #EAF3FF;
  background: #EAF3FF;
  box-shadow: 0 8px 18px rgba(47, 128, 237, 0.1);
}

.bt-field .bt-check-pill input[type="checkbox"] {
  width: 15px;
  min-width: 15px;
  height: 15px;
  min-height: 15px;
  flex: 0 0 15px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
  accent-color: var(--spt-blue);
}

.bt-field .bt-check-pill span {
  min-width: 0;
  color: #142235;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.bt-result-panel {
  display: grid;
  align-self: start;
  align-content: start;
  min-height: 0;
  padding: 1.45rem;
  border: 1px solid #EAF3FF;
  color: #0F172A;
  background: #EAF3FF;
}

.bt-result-panel.has-document-preview {
  align-content: start;
}

.bt-result-panel h2,
.bt-result-panel p {
  color: #0F172A;
}

.bt-result-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.bt-result-empty {
  margin: 0;
  padding: 1rem;
  border: 1px solid #EAF3FF;
  border-radius: 14px;
  color: #64748B;
  background: #FFFFFF;
  font-size: 1.08rem;
}

.bt-result-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.bt-result-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #EAF3FF;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.bt-result-card:first-child {
  border-color: #EAF3FF;
  background: #EAF3FF;
}

.bt-result-card span {
  display: block;
  color: #64748B;
  font-size: 0.82rem;
  font-weight: 750;
}

.bt-result-card strong {
  display: block;
  margin-top: 0.28rem;
  color: #142235;
  font-size: 1.45rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.bt-result-note {
  margin-top: 1.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid #EAF3FF;
  border-left: 3px solid #2F80ED;
  border-radius: 14px;
  color: #1764C8;
  background: #FFFFFF;
  line-height: 1.55;
}

.bt-price-recommendation-main {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(47, 128, 237, 0.22);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 14px 28px rgba(47, 128, 237, 0.1);
}

.bt-price-recommendation-main span,
.bt-price-recommendation-grid .bt-result-card span {
  display: block;
  color: #64748B;
  font-size: 0.82rem;
  font-weight: 800;
}

.bt-price-recommendation-main strong {
  color: #1764C8;
  font-size: 2.65rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.bt-price-recommendation-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.bt-price-recommendation-grid .bt-result-card {
  padding: 0.9rem 1rem;
  background: #FFFFFF;
}

.bt-price-recommendation-grid .bt-result-card:first-child {
  border-color: #EAF3FF;
  background: #FFFFFF;
}

.bt-price-recommendation-grid .bt-result-card strong {
  color: #142235;
  font-size: 1.12rem;
}

.bt-price-job-scope,
.bt-price-breakdown {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid #EAF3FF;
  border-radius: 14px;
  color: #142235;
  background: #FFFFFF;
  font-size: 0.94rem;
  line-height: 1.55;
}

.bt-price-job-scope strong,
.bt-price-breakdown strong {
  color: #1764C8;
}

.bt-create-quote-button {
  width: 100%;
  margin-top: 1rem;
  border: 0;
}

.bt-pricing-summary-grid {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.bt-pricing-summary-grid .bt-result-card {
  display: grid;
  min-height: 68px;
  align-content: center;
  padding: 0.58rem 0.68rem;
  border-radius: 10px;
}

.bt-pricing-summary-grid .bt-result-card strong {
  margin-top: 0.14rem;
  font-size: 0.96rem;
  line-height: 1.2;
}

.bt-pricing-summary-grid .bt-result-card:first-child,
.bt-result-card.bt-price-card {
  border-color: rgba(18, 184, 166, 0.32);
  background: #FFFFFF;
}

.bt-result-card.bt-price-card strong {
  color: #0F766E;
  font-size: 1.08rem;
}

.bt-main-result-card,
.bt-range-visual-card,
.bt-pricing-math {
  margin-top: 0.58rem;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.bt-main-result-card.status-below {
  border-color: #FDECC8;
}

.bt-main-result-card.status-within {
  border-color: #C9F3ED;
}

.bt-main-result-card.status-above,
.bt-main-result-card.status-above-range {
  border-color: #D7E9FF;
}

.bt-main-result-card.status-invalid {
  border-color: #F8D7DA;
}

.bt-main-result-card,
.bt-range-visual-card {
  padding: 0.72rem;
}

.bt-main-result-layout {
  display: grid;
  gap: 0.45rem;
  align-items: start;
}

.bt-main-result-left,
.bt-main-result-right {
  display: grid;
  min-width: 0;
}

.bt-main-result-left {
  gap: 0.44rem;
}

.bt-main-result-right {
  gap: 0.45rem;
}

.bt-main-result-title,
.bt-confidence-block {
  min-width: 0;
}

.bt-confidence-block {
  width: 100%;
  min-height: 122px;
  padding: 0.48rem 0.58rem;
  border: 1px solid #EAF3FF;
  border-radius: 10px;
  background: #F8FAFC;
}

.bt-main-result-title > span,
.bt-confidence-block > span {
  display: block;
  margin-bottom: 0.18rem;
  color: #64748B;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
}

.bt-main-result-card h3,
.bt-range-heading h3 {
  margin: 0;
  color: #142235;
  font-size: 1rem;
  line-height: 1.25;
}

.bt-status-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 21px;
  padding: 0.1rem 0.34rem;
  border: 1px solid #EAF3FF;
  border-radius: 999px;
  color: #142235;
  background: #F8FAFC;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
}

.bt-status-pill.status-below {
  color: #7A4F05;
  border-color: #FDECC8;
  background: #FFF7E6;
}

.bt-status-pill.status-within {
  color: #0F766E;
  border-color: #C9F3ED;
  background: #E8FAF7;
}

.bt-status-pill.status-above,
.bt-status-pill.status-above-range {
  color: #1764C8;
  border-color: #D7E9FF;
  background: #EAF3FF;
}

.bt-status-pill.status-invalid {
  color: #8A2C2C;
  border-color: #F8D7DA;
  background: #FFF1F2;
}

.bt-confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.16rem 0.46rem;
  border: 1px solid #EAF3FF;
  border-radius: 999px;
  color: #1764C8;
  background: #EAF3FF;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
}

.bt-confidence-pill.confidence-low {
  color: #1E324A;
  border-color: #E2E8F0;
  background: #F8FAFC;
}

.bt-confidence-pill.confidence-medium {
  color: #1764C8;
  border-color: #D7E9FF;
  background: #EAF3FF;
}

.bt-confidence-pill.confidence-high {
  color: #0F766E;
  border-color: #C9F3ED;
  background: #E8FAF7;
}

.bt-confidence-help {
  display: block;
  max-width: 230px;
  margin-top: 0.18rem;
  color: #64748B;
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1.22;
}

.bt-confidence-help span {
  display: block;
  margin-top: 0.1rem;
  color: #1E324A;
  font-weight: 800;
}

.bt-meaning-label {
  display: block;
  margin: 0;
  color: #64748B;
  font-size: 0.68rem;
  font-weight: 800;
}

.bt-meaning-block p {
  display: block;
  margin: 0.24rem 0 0;
  color: #1E324A;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bt-suggested-action {
  margin-top: 0;
  min-height: 122px;
  padding: 0.48rem 0.58rem;
  border: 1px solid #EAF3FF;
  border-radius: 10px;
  background: #F8FAFC;
}

.bt-suggested-action span {
  display: block;
  margin: 0 0 0.14rem;
  color: #1764C8;
  font-size: 0.68rem;
  font-weight: 850;
}

.bt-suggested-action p {
  display: block;
  margin: 0;
  color: #1E324A;
  font-size: 0.76rem;
  line-height: 1.32;
}

.bt-range-heading {
  margin-bottom: 0.42rem;
}

.bt-range-heading h3 {
  font-size: 0.88rem;
}

.bt-range-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.bt-range-labels span {
  min-width: 0;
  color: #64748B;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.25;
}

.bt-range-labels span:nth-child(2) {
  text-align: center;
}

.bt-range-labels span:nth-child(3) {
  text-align: right;
}

.bt-range-labels strong {
  display: block;
  margin-top: 0.08rem;
  color: #142235;
  font-size: 0.78rem;
}

.bt-range-track {
  position: relative;
  height: 34px;
  margin-top: 0.5rem;
}

.bt-range-track::before,
.bt-range-fill {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 11px;
  height: 6px;
  border-radius: 999px;
}

.bt-range-track::before {
  background: #EAF3FF;
}

.bt-range-fill {
  background: linear-gradient(90deg, rgba(18, 184, 166, 0.26), rgba(47, 128, 237, 0.32));
}

.bt-range-tick {
  position: absolute;
  top: 7px;
  width: 2px;
  height: 15px;
  border-radius: 999px;
  background: #94A3B8;
  transform: translateX(-50%);
}

.bt-range-tick-average {
  width: 3px;
  background: #2F80ED;
}

.bt-price-marker {
  position: absolute;
  top: 14px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  background: #12B8A6;
  box-shadow: 0 0 0 2px rgba(18, 184, 166, 0.22), 0 5px 12px rgba(15, 118, 110, 0.22);
  transform: translate(-50%, -50%);
}

.bt-price-marker > span {
  position: absolute;
  top: 0.92rem;
  left: 50%;
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0.12rem 0.36rem;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  color: #142235;
  background: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.07);
  transform: translateX(-50%);
}

.bt-price-marker.is-start > span {
  left: 0;
  transform: none;
}

.bt-price-marker.is-end > span {
  right: 0;
  left: auto;
  transform: none;
}

.bt-price-marker.is-outside {
  background: #2F80ED;
}

.bt-pricing-math {
  display: grid;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.72);
}

.bt-pricing-math div {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.bt-pricing-math span {
  color: #64748B;
  font-size: 0.7rem;
  font-weight: 750;
}

.bt-pricing-math strong {
  color: #142235;
  font-size: 0.8rem;
}

.bt-range-disclaimer {
  margin: 0.5rem 0 0;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #64748B;
  font-size: 0.68rem;
  line-height: 1.38;
}

.bt-document-preview {
  display: grid;
  gap: 1.1rem;
}

.bt-quote-preview-pane {
  width: 100%;
  padding: 2.35rem;
  border: 1px solid #DCEBFF;
  background: #EAF3FF;
}

.bt-quote-preview-pane .bt-document-preview,
.bt-quote-preview-pane .bt-document-actions,
.bt-quote-preview-pane .bt-template-note {
  width: min(100%, 920px);
  margin-right: auto;
  margin-left: auto;
}

.bt-quote-preview-pane .bt-document-actions {
  margin-top: 1.2rem;
}

.bt-quote-preview-pane .bt-template-note {
  margin-top: 0.75rem;
}

.bt-quote-preview-pane .bt-quote-preview-document {
  padding: 2.15rem;
  border-radius: 18px;
}

.bt-quote-preview-document {
  display: grid;
  gap: 1.05rem;
  padding: 1.25rem;
  border: 1px solid #DCEBFF;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.bt-quote-preview-header {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #EAF3FF;
}

.bt-quote-preview-header span,
.bt-quote-preview-meta span,
.bt-quote-detail-lines span {
  display: block;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.bt-quote-preview-header h2 {
  margin: 0.18rem 0 0;
  color: #0F172A;
  font-size: 1.45rem;
  line-height: 1.12;
}

.bt-quote-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.45rem;
}

.bt-quote-preview-meta p {
  margin: 0;
  min-width: 74px;
}

.bt-quote-preview-meta strong,
.bt-quote-detail-lines strong {
  display: block;
  margin-top: 0.18rem;
  color: #142235;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bt-quote-preview-overview {
  display: grid;
  gap: 1.45rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #EAF3FF;
}

.bt-quote-preview-group {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bt-quote-preview-group h3 {
  margin: 0 0 0.55rem;
  color: #0F172A;
  font-size: 0.92rem;
}

.bt-quote-detail-lines {
  display: grid;
  gap: 0.45rem;
}

.bt-quote-detail-lines p {
  min-width: 0;
  margin: 0;
}

.bt-quote-preview-document .bt-preview-section {
  gap: 0.55rem;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid #EAF3FF;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bt-quote-preview-document .bt-preview-section h3 {
  font-size: 0.95rem;
}

.bt-quote-preview-document .bt-preview-section p {
  color: #142235;
}

.bt-quote-preview-document .bt-preview-total {
  border: 0;
  border-radius: 12px;
  background: #EAF3FF;
  box-shadow: none;
}

.bt-quote-preview-document .bt-preview-disclaimer {
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748B;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bt-preview-header {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #EAF3FF;
}

.bt-preview-header span,
.bt-preview-meta span,
.bt-preview-total span,
.bt-preview-summary span {
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bt-preview-header h2 {
  margin: 0;
}

.bt-preview-meta,
.bt-preview-summary {
  display: grid;
  gap: 0.75rem;
}

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

.bt-preview-meta div,
.bt-preview-summary div,
.bt-preview-section,
.bt-preview-total {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid #EAF3FF;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.bt-preview-meta strong,
.bt-preview-summary strong {
  display: block;
  margin-top: 0.18rem;
  color: #0F172A;
  line-height: 1.35;
}

.bt-preview-section {
  display: grid;
  gap: 0.65rem;
}

.bt-preview-section h3 {
  margin: 0;
  color: #0F172A;
  font-size: 1rem;
}

.bt-preview-section p,
.bt-preview-disclaimer,
.bt-template-note,
.bt-muted {
  margin: 0;
  color: #1764C8;
}

.bt-preview-list {
  display: grid;
  gap: 0.55rem;
}

.bt-preview-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  background: #FFFFFF;
}

.bt-preview-table-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #EAF3FF;
}

.bt-preview-table-row:last-child {
  border-bottom: 0;
}

.bt-preview-table-row span {
  color: #142235;
}

.bt-preview-table-row strong {
  color: #142235;
  white-space: nowrap;
}

.bt-included-addons {
  margin: 0;
  color: #1764C8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bt-preview-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.bt-preview-row span {
  color: #142235;
}

.bt-preview-row small {
  display: block;
  margin-top: 0.15rem;
  color: #64748B;
}

.bt-preview-row strong {
  color: #142235;
  white-space: nowrap;
}

.bt-preview-total {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-color: #EAF3FF;
  background: #EAF3FF;
}

.bt-preview-total strong {
  color: #142235;
  font-size: 1.85rem;
}

.bt-preview-disclaimer,
.bt-template-note {
  padding: 0.9rem 1rem;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  background: #FFFFFF;
}

.bt-document-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.bt-action-button {
  min-height: 44px;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  color: #142235;
  background: #FFFFFF;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bt-action-button:hover,
.bt-action-button:focus-visible {
  border-color: #EAF3FF;
  color: #1764C8;
  background: #EAF3FF;
  outline: none;
}

.bt-disclaimer {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid #EAF3FF;
  border-radius: 14px;
  background: #EAF3FF;
}

.bt-disclaimer p {
  margin: 0;
  color: #1764C8;
}

@media (min-width: 620px) {
  .spt-card-grid,
  .spt-guide-grid,
  .spt-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .bt-checkbox-field {
    grid-column: 1 / -1;
  }

  .bt-checkbox-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

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

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

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

  .bt-main-result-layout {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.95fr);
  }

  .bt-confidence-block {
    justify-self: end;
  }

  .bt-confidence-help {
    max-width: 190px;
  }
  .bt-pricing-math {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bt-pricing-math div {
    display: grid;
    gap: 0.15rem;
    justify-content: start;
  }

  .bt-quote-preview-pane .bt-quote-preview-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .bt-quote-preview-pane .bt-quote-preview-meta {
    justify-content: flex-end;
  }

  .bt-quote-preview-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .bt-quote-workspace-top {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (min-width: 920px) {
  .bt-tabs > .bt-tab {
    min-width: 0;
    flex: 1 1 0;
  }

  .bt-quote-workspace-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .spt-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spt-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .spt-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spt-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spt-business-cta-inner {
    grid-template-columns: auto 1fr auto;
  }

  .bt-panel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-panel.is-active[data-business-panel="quote"] {
    grid-template-columns: 1fr;
  }

  .bt-panel.is-active .bt-pricing-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bt-quote-preview-pane .bt-quote-preview-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .spt-home-page .spt-section {
    padding: 2.15rem 0;
  }

  .spt-hero {
    padding: 3.2rem 0 3.5rem;
  }

  .spt-home-page .spt-hero {
    padding: 1.6rem 0 1.85rem;
  }

  .spt-home-page .spt-hero h1 {
    margin: 0.85rem auto 0.65rem;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .spt-home-page .spt-actions {
    margin-top: 1rem;
  }

  .spt-actions .spt-button,
  .spt-business-cta .spt-button {
    width: 100%;
  }

  .spt-calc-card,
  .spt-category-card {
    grid-template-columns: auto 1fr auto;
  }

  .spt-card-arrow {
    width: 32px;
    height: 32px;
  }

  .spt-guide-card {
    grid-template-columns: 1fr;
  }

  .spt-directory-controls {
    justify-items: stretch;
    margin-bottom: 1.75rem;
  }

  .spt-filter-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .spt-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .spt-filter-chip {
    flex: 0 0 auto;
  }

  .spt-business-cta {
    padding: 2rem;
  }

  .bt-shell {
    padding: 1rem;
  }

  .bt-tab {
    min-width: 142px;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .bt-quote-mode-tabs {
    width: 100%;
  }

  .bt-quote-mode-tab {
    min-height: 38px;
    font-size: 0.86rem;
  }

  .bt-quote-workspace-top {
    padding: 0.85rem;
  }

  .bt-quote-back-button {
    width: fit-content;
  }

  .bt-quote-workspace-actions {
    grid-template-columns: 1fr;
  }

  .bt-quote-form-actions {
    justify-content: stretch;
  }

  .bt-quote-form-actions .spt-button {
    width: 100%;
  }

  .bt-preview-meta,
  .bt-document-actions {
    grid-template-columns: 1fr;
  }

  .bt-quote-preview-pane {
    padding: 1rem;
  }

  .bt-quote-preview-document {
    padding: 1rem;
  }

  .bt-quote-preview-meta {
    gap: 0.5rem 0.95rem;
  }

  .bt-range-labels {
    gap: 0.35rem;
  }

  .bt-range-labels strong {
    font-size: 0.84rem;
  }

  .bt-price-marker > span {
    max-width: 130px;
    white-space: normal;
  }
}
