.quote-main { padding-top: 3rem; }
body { --quote-secondary: var(--magenta); --quote-accent: var(--cyan); --quote-card-accent: var(--green); }
.quote-theme-redesign { --quote-secondary: var(--teal); --quote-accent: var(--magenta); --quote-card-accent: var(--cyan); }
.quote-theme-service { --quote-secondary: var(--cyan); --quote-accent: var(--magenta); --quote-card-accent: var(--teal); }
.quote-path-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }
.quote-path-nav a { padding: 0.5rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--purple-soft); color: var(--quote-accent); }
.quote-path-nav a[aria-current] { border-color: var(--quote-secondary); color: var(--quote-secondary); }
.integration-options summary { cursor: pointer; color: var(--quote-secondary); font-weight: 700; min-height: 44px; padding-block: 0.6rem; }
.mobile-estimate { display: none; }
.brief-group { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin: 1.5rem 0; }
.brief-group legend { color: var(--magenta); font-weight: 700; padding: 0 0.5rem; }
.palette-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: end; gap: 0.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.palette-row .btn { grid-column: 2; justify-self: start; min-height: 40px; padding: 0.4rem 0.8rem; }
.palette-row label { margin: 0; }
.quote-panel .palette-row input[type="color"] { height: 48px; padding: 0.2rem; cursor: pointer; }
.preset-palettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.quote-panel .preset-palette { margin: 0; padding: 0.8rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-width: 0; }
.preset-palette:has(input:checked) { border-color: var(--magenta); background: rgba(232, 121, 249, 0.08); }
.preset-palette input { accent-color: var(--magenta); width: 20px; height: 20px; margin-right: 0.5rem; vertical-align: middle; }
.palette-swatches { display: flex; height: 32px; border-radius: 6px; overflow: hidden; margin-top: 0.6rem; }
.palette-swatches span { flex: 1; }
@media (max-width: 540px) { .preset-palettes { grid-template-columns: 1fr; } }
.action-split { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.action-split .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.quote-actions-preview { margin-top: 2rem; border-top: 1px solid var(--line); }
#package-details-modal { width: min(580px, calc(100% - 2rem)); height: min(820px, calc(100dvh - 2rem)); max-height: none; padding: 0; border: 1px solid var(--line-strong); border-radius: 26px; background: var(--bg); color: var(--text); box-shadow: 0 20px 70px rgba(124, 92, 255, 0.3); overflow: hidden; }
#package-details-modal[open] { display: flex; flex-direction: column; }
#package-details-modal::backdrop { background: rgba(2, 6, 14, 0.7); backdrop-filter: blur(5px); }
.package-details-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; background: rgba(124, 92, 255, 0.22); }
#package-details-close { min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--text); font-size: 1.5rem; cursor: pointer; }
#package-details-frame { width: 100%; flex: 1; min-height: 0; border: 0; }
.quote-embedded header.top, .quote-embedded footer { display: none; }
.quote-embedded .quote-summary { top: 1rem; }
.quote-embedded .wizard-step { scroll-margin-top: 1rem; }
.quote-main h1 { font: 700 clamp(2.3rem, 5vw, 3.8rem)/1.1 "Space Grotesk", sans-serif; margin: 0; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.quote-panel { padding: 1.5rem; margin-bottom: 1rem; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(145deg, rgba(124, 92, 255, 0.18), rgba(12, 20, 33, 0.88)); backdrop-filter: blur(16px); min-width: 0; }
.quote-panel h2 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
.quote-panel h3, .quote-summary .eyebrow { color: var(--magenta); }
.quote-panel p, .quote-note { color: var(--muted); font-size: 0.92rem; }
.quote-panel a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.quote-panel a:hover { color: #f5b5ff; }
.quote-panel label { display: block; margin: 0.8rem 0 0.4rem; font-weight: 600; }
.quote-panel input:not([type="checkbox"]):not([type="radio"]), .quote-panel select, .quote-panel textarea { width: 100%; min-height: 48px; padding: 0.7rem; font: inherit; color: var(--text); background: #0c1421; border: 1px solid var(--line); border-radius: 10px; }
.quote-panel textarea { resize: vertical; }
.quote-panel .addon-choice { display: flex; gap: 0.8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.addon-choice:hover, .addon-choice:has(input:checked) { border-color: var(--magenta); background: rgba(232, 121, 249, 0.08); }
.quote-card { padding: 1rem; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 16px; }
.brief-group, .quote-card { min-width: 0; }
.quantity-grid > .quote-card { margin: 0; }
#addon-options .addon-choice, .brief-group, .quote-card {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.04);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.14), inset 0 0 12px rgba(52, 211, 153, 0.04);
}
#addon-options .addon-choice { transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
#addon-options .addon-choice:hover, #addon-options .addon-choice:has(input:checked), #addon-options .addon-choice:focus-within, .brief-group:focus-within, .quote-card:focus-within {
  border-color: var(--green);
  background: rgba(52, 211, 153, 0.09);
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.28), inset 0 0 14px rgba(52, 211, 153, 0.06);
}
.addon-choice input { accent-color: var(--magenta); flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.2rem; }
.addon-suboptions { min-width: 0; margin: 0.75rem 0 1rem 1rem; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.addon-suboptions legend { padding: 0 0.5rem; font-weight: 700; }
.addon-suboptions[hidden] { display: none; }
.addon-choice small { display: block; color: var(--muted); margin-top: 0.4rem; font-weight: 400; }
.quantity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.wizard-progress { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; color: var(--muted); }
.wizard-progress [aria-current] { color: var(--magenta); font-weight: 700; border-bottom: 2px solid var(--magenta); }
.wizard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.25rem 0; }
.wizard-toolbar .wizard-progress { flex: 1; min-width: 0; margin: 0; }
.wizard-toolbar .wizard-navigation { flex: 0 0 auto; justify-content: flex-end; }
.wizard-navigation.wizard-mobile-navigation { display: none; }
.wizard-navigation.wizard-main-navigation { display: flex; width: 100%; justify-content: space-between; margin-top: 1.25rem; }
.wizard-main-navigation [data-wizard-back] { order: -1; }
.wizard-main-navigation [data-wizard-next] { margin-left: auto; }
.quote-edit-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.quote-edit-actions > span { flex-basis: 100%; color: var(--muted); }
.quote-edit-actions .btn { padding: 0.6rem 0.8rem; font-size: 0.85rem; }
.quote-next-options { margin-top: 2rem; }
.quote-next-option { margin: 1rem 0; padding: 1.25rem; border: 1px solid var(--line-strong); border-radius: 16px; }
.quote-next-option > h3 { margin-top: 0; }
.quote-payment-option { border-color: var(--green); background: rgba(52, 211, 153, 0.06); }
.quote-review-palette { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; break-inside: avoid; }
.quote-review-color { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-size: 0.85rem; }
.quote-review-color svg { display: block; width: 64px; height: 40px; border: 1px solid #888; border-radius: 5px; }
.wizard-step { scroll-margin-top: 160px; }
.wizard-navigation { display: flex; justify-content: space-between; gap: 1rem; }
.quote-main .wizard-navigation .btn:hover { transform: none; }
.quote-main button { color: var(--text); font: inherit; cursor: pointer; }
.quote-summary { position: sticky; top: 110px; }
.summary-total { font-size: 2.5rem !important; color: var(--green) !important; font-weight: 800; margin: 0.6rem 0; }
.quote-summary dl div { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.quote-summary dt { font-size: 0.85rem; color: var(--muted); }
.quote-summary dd { margin: 0.3rem 0 0; font-weight: 700; }
#type-message { color: var(--green); }
#wizard-error { color: #ffb7b7; border-left: 3px solid #ffb7b7; padding: 0.8rem; }
#quote-review { overflow-wrap: anywhere; }
#quote-review table { width: 100%; border-collapse: collapse; }
#quote-review caption { text-align: left; color: var(--muted); padding-bottom: 1rem; }
#quote-review th, #quote-review td { border-bottom: 1px solid var(--line); padding: 0.7rem 0; text-align: left; }
#quote-review th { font-weight: 500; }
#quote-review td { text-align: right; padding-left: 0.7rem; white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
.addons-modal .addons-modal-bar h2, .addons-modal .addons-modal-content h3 { color: var(--magenta); }
.addons-modal .addons-modal-bar { background: rgba(232, 121, 249, 0.12); }
.addons-modal :focus-visible { outline-color: var(--magenta); }
.addons-modal .included-build-features strong { color: var(--teal); }
.quote-main .brief-group legend, .quote-main .quote-panel h3, .quote-main .quote-panel a, .quote-main .quote-summary .eyebrow, .quote-main .mobile-estimate-label { color: var(--quote-secondary); }
.quote-main .wizard-progress [aria-current] { color: var(--quote-secondary); border-color: var(--quote-secondary); }
.quote-main .included-build-features strong { color: var(--quote-accent); }
.quote-main .btn-primary { background: linear-gradient(135deg, #7c5cff, #3b5bdb); border-color: var(--quote-secondary); color: #fff; box-shadow: 0 0 12px color-mix(in srgb, var(--quote-secondary) 25%, transparent); }
.quote-main input[type="checkbox"], .quote-main input[type="radio"] { accent-color: var(--quote-secondary); }
.quote-main :focus-visible { outline-color: var(--quote-secondary); }
.quote-main .brief-group, .quote-main .quote-card { border-color: var(--quote-card-accent); }
.quote-main .addon-choice:hover, .quote-main .addon-choice:has(input:checked) { border-color: var(--quote-secondary); }
.quote-theme-service #addon-options .addon-choice { border-color: var(--quote-accent); background: rgba(232, 121, 249, 0.04); box-shadow: 0 0 16px rgba(232, 121, 249, 0.12); }
.quote-theme-service .addons-modal .addons-modal-bar h2, .quote-theme-service .addons-modal .addons-modal-content h3 { color: var(--quote-secondary); }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } .quote-summary { position: static; } .wizard-navigation.wizard-main-navigation { width: 100%; } }
@media (max-width: 900px) {
  .mobile-estimate { display: flex; position: sticky; top: var(--quote-header-height, 0px); z-index: 30; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.65rem 0.85rem; margin-bottom: 1rem; border: 1px solid rgba(52, 211, 153, 0.5); border-radius: 12px; background: #0c1421; box-shadow: 0 0 16px rgba(52, 211, 153, 0.18); }
  .mobile-estimate.is-summary-visible { visibility: hidden; }
  .mobile-estimate-label { color: var(--magenta); font-size: 0.85rem; font-weight: 700; }
  .mobile-estimate-amounts { text-align: right; }
  .mobile-estimate-amounts strong { display: block; color: var(--green); font-size: 1.15rem; }
  .wizard-step, .quote-embedded .wizard-step { scroll-margin-top: calc(var(--quote-header-height, 0px) + 100px); }
  #website-quote-form:has(.wizard-step[data-step="1"]:not([hidden])) .wizard-toolbar .wizard-navigation { display: none; }
  #website-quote-form:has(.wizard-step[data-step="1"]:not([hidden])) > .wizard-mobile-navigation { display: flex; }
  .wizard-mobile-navigation { justify-content: space-between; margin: 0.5rem 0 1.25rem; }
  .wizard-mobile-navigation-bottom { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
}
@media (max-width: 540px) { .quantity-grid { grid-template-columns: 1fr; } .quote-panel { padding: 1rem; } }
@media (max-width: 600px) { .wizard-toolbar { align-items: flex-start; gap: 0.65rem; } .wizard-toolbar .wizard-progress { gap: 0.55rem 0.75rem; } .wizard-toolbar .wizard-navigation { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .addon-choice, #addon-options .addon-choice { transition: none; } }
.quote-main .print-document-title, .quote-main .quote-print-logo { display: none; }
.quote-submit-panel { padding: 1.25rem; margin: 1.5rem 0; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(12, 20, 33, 0.6); }
.quote-submit-panel h3 { margin-top: 0; color: var(--magenta); }
.quote-submit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quote-submit-fields label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.quote-submit-fields input { width: 100%; min-height: 44px; padding: 0.6rem; color: var(--text); background: #0c1421; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.quote-submit-status { min-height: 1.5em; margin-bottom: 0; color: var(--green); }
.quote-submit-status[data-error="true"] { color: #ffb7b7; }
.quote-submit-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media print {
  .quote-main { padding-top: 0; }
  .quote-main .print-document-title {
    display: block;
    margin: 0 0 1.1rem;
    text-align: center;
    font-weight: 700;
  }
  .quote-main .quote-heading-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .quote-main .quote-print-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
  .quote-main .quote-heading-copy .eyebrow { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
  .quote-main .quote-heading-copy h1 { margin: 0; font-size: 1.65rem; }
  .quote-main .print-brand { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; text-align: right; white-space: nowrap; }
  .mobile-estimate { display: none !important; }
  .quote-path-nav { display: none !important; }
  #existing-site-quote-form .wizard-step { display: none !important; }
  #existing-site-quote-form .wizard-step[data-step="2"] { display: block !important; }
  .quote-main .included-build-features strong, .quote-main .quote-panel a { color: black; }
  #package-details-modal { display: none !important; }
  body { background: white; color: black; }
  header.top, footer, .page-glow, .quote-main > .lede, .quote-main > .quote-note, .wizard-toolbar, .wizard-progress, .wizard-navigation, .quote-summary, .quote-actions-preview, .quote-next-options, .quote-edit-actions, #website-quote-form > .quote-panel:not(.wizard-step), .wizard-step:not([data-step="3"]), .quote-submit-panel, button { display: none !important; }
  .wrap { width: 100%; }
  .quote-layout { display: block; }
  .wizard-step[data-step="3"] { display: block !important; }
  .quote-panel { background: white; color: black; border: 1px solid #aaa; backdrop-filter: none; }
  .quote-panel p, .quote-note, #quote-review caption { color: #333; }
  .quote-panel h3, .quote-panel legend, .quote-panel a { color: black; }
  #addon-options .addon-choice, .brief-group, .quote-card { background: white; border-color: #aaa; box-shadow: none; }
  #quote-review th, #quote-review td { border-color: #ccc; }
}
@media (max-width: 540px) { .quote-submit-fields { grid-template-columns: 1fr; } }
.print-brand { display: none; }
.quote-streamlined .quote-layout { margin-top: 1rem; }
.quote-streamlined .quote-panel { padding: 1.15rem; }
.quote-streamlined .quote-panel > p { margin-block: 0.6rem; }
.quote-streamlined .brief-group, .quote-streamlined .quote-card { margin: 0.75rem 0; padding: 0.85rem; box-shadow: none; }
.quote-flow-group { margin: 0.65rem 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 20, 33, 0.55); min-width: 0; }
.quote-flow-group > summary { padding: 0.85rem 1rem; min-height: 48px; cursor: pointer; color: var(--quote-secondary); font-weight: 700; }
.quote-group-status { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 400; padding-left: 1rem; }
.quote-group-status:empty { display: none; }
.quote-flow-group[open] > summary { border-bottom: 1px solid var(--line); }
.quote-flow-content { padding: 0.8rem; min-width: 0; }
.quote-flow-content > .brief-group, .quote-flow-content > .quote-card { margin: 0; border: 0; background: none; padding: 0; box-shadow: none; }
.quote-flow-content > .brief-group > legend { padding: 0; }
.quote-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-block: 0.75rem; align-items: start; }
.quote-option-grid > div { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 0.65rem; background: rgba(52, 211, 153, 0.04); }
.quote-streamlined .quote-option-grid .addon-choice { margin: 0; padding: 0.35rem; border: 0; background: none; box-shadow: none; font-size: 0.9rem; }
.quote-option-grid label span { overflow-wrap: anywhere; }
.quote-option-grid > .quote-card { margin: 0; padding: 0.65rem; }
.quote-streamlined .quantity-grid > div { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 0.4rem 0.65rem; align-items: center; }
.quote-streamlined .quantity-grid > div > label { margin: 0; grid-column: 1; font-size: 0.85rem; }
.quote-streamlined .quantity-grid > div > input { grid-column: 2; grid-row: 1; }
.quote-streamlined .quantity-grid > div > a, .quote-streamlined .quantity-grid > div > details { grid-column: 1 / -1; font-size: 0.8rem; }
.quote-streamlined .quantity-grid > div > label:has(input) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 0.65rem; align-items: center; }
.quote-streamlined .quote-option-grid input[type="number"] { width: 78px; }
.quote-option-scope { margin-top: 0.4rem; font-size: 0.85rem; }
.quote-option-scope > summary { cursor: pointer; color: var(--quote-accent); padding-block: 0.35rem; min-height: 36px; }
.quote-option-scope > p { margin: 0.4rem 0; overflow-wrap: anywhere; }
.quote-streamlined .integration-options { padding: 0; background: rgba(12, 20, 33, 0.55); }
.quote-streamlined .integration-options > p, .quote-streamlined .integration-options > #addon-options { margin-inline: 0.8rem; }
.quote-recurring-note { font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.quote-streamlined .quote-summary { padding: 1.1rem; }
.quote-streamlined #quote-review { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .quote-option-grid { grid-template-columns: 1fr; }
  .quote-streamlined .quote-flow-content { padding: 0.7rem; }
}
@media print {
  .quote-flow-group { border-color: #aaa; background: white; }
  .quote-flow-group > summary, .quote-option-scope > summary { color: black; }
}
/* Package-only quote cards & print step fix */
.package-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.package-picker-card { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem; margin: 0 !important; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(12, 20, 33, 0.72); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.package-picker-card > input[type="radio"] { position: absolute; top: 1rem; right: 1rem; width: 20px; height: 20px; margin: 0; accent-color: var(--quote-secondary); }
.package-picker-card:hover, .package-picker-card.is-selected { border-color: var(--green); background: rgba(52, 211, 153, 0.08); box-shadow: 0 0 22px rgba(52, 211, 153, 0.22); }
.package-picker-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-right: 2rem; }
.package-picker-badge { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(124, 92, 255, 0.28); color: var(--cyan); }
.package-picker-price { font-size: 1.25rem; color: var(--green); }
.package-picker-card h3 { margin: 0.2rem 0 0; font-size: 1.1rem; color: var(--text) !important; }
.package-picker-card p { margin: 0; font-size: 0.88rem; }
.package-picker-meta { color: var(--cyan) !important; font-weight: 600; font-size: 0.82rem !important; }
.package-picker-features { margin: 0.5rem 0 0; padding-left: 1.15rem; font-size: 0.82rem; color: var(--muted); }
.package-picker-features li { margin-bottom: 0.3rem; }
.custom-services-callout { margin-top: 1.5rem; }
@media (max-width: 720px) { .package-picker-grid { grid-template-columns: 1fr; } }
@media print {
  .wizard-step:not([data-review-step]) { display: none !important; }
  .wizard-step[data-review-step] { display: block !important; }
}