:root {
    --rb-navy: #010a35;
    --rb-teal: #54c1bf;
    --rb-teal-soft: #e9f6f5;
    --rb-yellow: #ffc93c;
    --rb-ink-soft: rgba(1, 10, 53, 0.68);
    --rb-line: rgba(1, 10, 53, 0.12);
    --rb-paper: #ffffff;
    --rb-canvas: #f5f8f8;
    --rb-danger: #9f2f2f;
    --rb-danger-soft: #fff2f1;
    --rb-shadow: 0 24px 70px rgba(1, 10, 53, 0.1);
}

body[data-page="range-builder"] {
    background: var(--rb-canvas);
}

body[data-page="range-builder"] #main-nav[data-nav-state="top"],
body[data-page="range-builder"] #main-nav[data-nav-state="hiding"] {
    --nav-color: #ffffff;
}

.rb-skip-link {
    position: fixed;
    z-index: 500;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--rb-paper);
    background: var(--rb-navy);
    transform: translateY(-160%);
}

.rb-skip-link:focus {
    transform: translateY(0);
}

.rb-page {
    min-height: 100vh;
    background: var(--rb-canvas);
}

.rb-masthead {
    position: relative;
    overflow: hidden;
    color: var(--rb-paper);
    background: var(--rb-navy);
    padding: 9rem 1.5rem 8rem;
}

.rb-masthead::before,
.rb-masthead::after {
    display: none;
}

.rb-masthead-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 72rem);
    margin: 0 auto;
}

.rb-masthead h1 {
    max-width: none;
    margin: 0;
}

.rb-masthead-title-line {
    display: block;
}

.rb-masthead > .rb-masthead-inner > p:last-child {
    max-width: 47rem;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.rb-kicker {
    margin: 0 0 0.7rem;
    color: var(--rb-teal);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-workspace {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: min(calc(100% - 2rem), 78rem);
    height: min(58rem, calc(100dvh - 2.5rem));
    min-height: min(38rem, calc(100dvh - 2.5rem));
    margin: -4rem auto 6rem;
    overflow: hidden;
    border: 1px solid rgba(1, 10, 53, 0.08);
    border-radius: 4px;
    background: var(--rb-paper);
    box-shadow: var(--rb-shadow);
    scroll-margin-top: 4.5rem;
}

.rb-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: 0.8rem 1.35rem;
    border-bottom: 1px solid var(--rb-line);
}

.rb-app-title {
    margin: 0;
    color: var(--rb-navy);
}

.rb-app-tools {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rb-save-state {
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
}

.rb-count {
    display: inline-grid;
    min-width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    place-items: center;
    border-radius: 999px;
    color: var(--rb-paper);
    background: var(--rb-navy);
    font-size: var(--ui-meta-size);
}

.rb-progress {
    padding: 1.25rem 1.5rem 1.1rem;
    border-bottom: 1px solid var(--rb-line);
    background: #fbfdfd;
}

.rb-progress ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rb-progress-item {
    position: relative;
    min-width: 0;
    padding-top: 0.7rem;
    color: rgba(1, 10, 53, 0.46);
    font-size: var(--ui-meta-size);
    font-weight: 600;
    line-height: 1.25;
}

.rb-progress-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(1, 10, 53, 0.1);
}

.rb-progress-item.is-current,
.rb-progress-item.is-complete {
    color: var(--rb-navy);
}

.rb-progress-item.is-current::before {
    background: var(--rb-yellow);
}

.rb-progress-item.is-complete::before {
    background: var(--rb-teal);
}

.rb-progress-number {
    display: block;
    margin-bottom: 0.2rem;
    font-size: var(--ui-meta-size);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    min-height: 0;
    overflow: hidden;
}

.rb-journey {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3.25rem);
}

.rb-screen {
    flex: 1;
    min-height: 0;
    padding-right: 0.35rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    outline: none;
}

.rb-screen-header {
    max-width: 47rem;
    margin-bottom: 2rem;
}

.rb-screen-header h2 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: var(--ui-title-size);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rb-screen-header h2:focus {
    outline: none;
}

.rb-screen-intro {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-welcome {
    display: grid;
    align-content: center;
    min-height: 29rem;
}

.rb-welcome .rb-screen-header {
    margin-bottom: 1.4rem;
}

.rb-welcome-note {
    max-width: 42rem;
    margin: 1.25rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--rb-teal);
    color: var(--rb-ink-soft);
    background: var(--rb-teal-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-welcome-actions,
.rb-dialog-actions,
.rb-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.rb-actions {
    flex: 0 0 auto;
    justify-content: space-between;
    margin-top: 2.2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rb-line);
}

.rb-button,
.rb-quiet-button,
.rb-text-button,
.rb-icon-button {
    min-height: 2.75rem;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.rb-button {
    display: inline-flex;
    min-width: 8.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--rb-navy);
    border-radius: 4px;
    font-size: var(--ui-label-size);
    font-weight: 600;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.rb-button:hover {
    transform: translateY(-1px);
}

.rb-button-primary {
    color: var(--rb-paper);
    background: var(--rb-navy);
}

.rb-button-primary:hover,
.rb-button-primary:focus-visible {
    border-color: var(--rb-yellow);
    color: var(--rb-navy);
    background: var(--rb-yellow);
}

.rb-button-secondary {
    color: var(--rb-navy);
    background: var(--rb-paper);
}

.rb-button-secondary:hover,
.rb-button-secondary:focus-visible {
    background: var(--rb-teal-soft);
}

.rb-button[disabled] {
    transform: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.rb-quiet-button,
.rb-text-button {
    padding: 0.5rem;
    color: var(--rb-navy);
    background: transparent;
    font-size: var(--ui-label-size);
    font-weight: 600;
}

.rb-text-button {
    min-height: 2.75rem;
    text-decoration: underline;
    text-decoration-color: rgba(1, 10, 53, 0.3);
    text-underline-offset: 0.25rem;
}

.rb-quiet-button:hover,
.rb-text-button:hover {
    color: #207f7d;
}

.rb-button:focus-visible,
.rb-quiet-button:focus-visible,
.rb-text-button:focus-visible,
.rb-icon-button:focus-visible,
.rb-choice input:focus-visible + .rb-choice-content {
    outline: 3px solid var(--rb-yellow);
    outline-offset: 3px;
}

.rb-fieldset {
    margin: 0 0 1.65rem;
    padding: 0;
    border: 0;
}

.rb-legend {
    display: block;
    width: 100%;
    margin: 0 0 0.8rem;
    color: var(--rb-navy);
    font-size: var(--ui-label-size);
    font-weight: 600;
}

.rb-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.8rem;
}

.rb-choice-grid.rb-choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rb-choice {
    position: relative;
    display: block;
    min-width: 0;
    height: 100%;
    cursor: pointer;
}

.rb-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rb-choice-content {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    height: 100%;
    min-height: 5.35rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.rb-choice:hover .rb-choice-content {
    transform: translateY(-2px);
    border-color: rgba(84, 193, 191, 0.6);
    box-shadow: 0 12px 28px rgba(1, 10, 53, 0.08);
}

.rb-choice input:checked + .rb-choice-content {
    border-color: var(--rb-teal);
    background: var(--rb-teal-soft);
    box-shadow: inset 0 0 0 1px var(--rb-teal);
}

.rb-choice-icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border-radius: 50%;
    color: var(--rb-navy);
    background: #f2f5f7;
    font-size: 1.35rem;
}

.rb-choice-icon i {
    font-size: 1.15rem;
}

.rb-material-icon {
    font-family: "Material Symbols Outlined";
    font-size: 1.35rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.rb-icon-fallback {
    display: none;
}

.rb-icon-missing [data-rb-fa-icon] {
    display: none;
}

.rb-icon-missing .rb-icon-fallback {
    display: block;
}

.rb-brief-toggle,
#rb-brief-close {
    display: none;
}

.rb-choice input:checked + .rb-choice-content .rb-choice-icon {
    background: var(--rb-yellow);
}

.rb-choice-copy {
    min-width: 0;
}

.rb-choice-title {
    display: block;
    color: var(--rb-navy);
    font-size: var(--ui-label-size);
    font-weight: 600;
    line-height: 1.35;
}

.rb-choice-description {
    display: block;
    margin-top: 0.25rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    font-weight: 400;
    line-height: 1.4;
}

.rb-choice-check {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 1px solid rgba(1, 10, 53, 0.25);
    border-radius: 50%;
    color: transparent;
    background: var(--rb-paper);
    font-size: var(--ui-meta-size);
}

.rb-choice input[type="checkbox"] + .rb-choice-content .rb-choice-check {
    border-radius: 0.25rem;
}

.rb-choice input:checked + .rb-choice-content .rb-choice-check {
    border-color: var(--rb-navy);
    color: var(--rb-paper);
    background: var(--rb-navy);
}

.rb-selected-count,
.rb-role-progress {
    margin: -0.5rem 0 1.4rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
}

.rb-assumption-list,
.rb-review-list {
    display: grid;
    gap: 0.75rem;
}

.rb-assumption-card,
.rb-review-card,
.rb-foundation-card {
    padding: 1.1rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
}

.rb-assumption-card,
.rb-review-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.rb-assumption-card h3,
.rb-review-card h3,
.rb-foundation-card h3 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: var(--ui-heading-size);
    font-weight: 500;
}

.rb-assumption-card p,
.rb-review-card p,
.rb-foundation-card p {
    margin: 0.35rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-status {
    display: inline-flex;
    margin-top: 0.55rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    color: var(--rb-navy);
    background: var(--rb-teal-soft);
    font-size: var(--ui-meta-size);
    font-weight: 600;
}

.rb-status-manual {
    background: #fff4cf;
}

.rb-review-card ul {
    margin: 0.45rem 0 0;
    padding: 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
    list-style: none;
}

.rb-error-summary {
    position: relative;
    margin: 1.25rem 0 0;
    padding: 1rem 3rem 1rem 1rem;
    border-left: 4px solid var(--rb-danger);
    color: var(--rb-danger);
    background: var(--rb-danger-soft);
    font-size: var(--ui-body-size);
}

.rb-error-dismiss {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 4px;
    color: inherit;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
}

.rb-error-dismiss:hover,
.rb-error-dismiss:focus-visible {
    background: rgba(159, 47, 47, 0.08);
}

.rb-error-summary p {
    margin: 0 0 0.45rem;
    font-weight: 600;
}

.rb-error-summary ul {
    margin: 0;
    padding-left: 1.2rem;
}

.rb-error-summary a {
    color: inherit;
    text-decoration: underline;
}

.rb-evaluating {
    display: grid;
    min-height: 24rem;
    align-content: center;
    justify-items: start;
}

.rb-loading-mark {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.4rem;
    border: 3px solid var(--rb-teal-soft);
    border-top-color: var(--rb-teal);
    border-radius: 50%;
    animation: rb-spin 0.8s linear infinite;
}

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

.rb-section-heading {
    max-width: 46rem;
    margin-bottom: 1.2rem;
}

.rb-section-heading h3,
.rb-role-section > h4,
.rb-quote-section > .rb-section-heading h3 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
}

.rb-section-heading h3 {
    font-size: var(--ui-heading-size);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.rb-section-heading > p:last-child {
    margin: 0.55rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-warning-panel {
    margin-bottom: 2rem;
    padding: 1.15rem;
    border-left: 4px solid var(--rb-yellow);
    background: #fff9e9;
}

.rb-warning-panel h3,
.rb-warning-panel p {
    margin: 0;
}

.rb-warning-panel h3 {
    font-size: var(--ui-heading-size);
}

.rb-warning-panel ul {
    margin: 0.8rem 0;
    padding-left: 1.2rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-warning-panel p {
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
}

.rb-range-paths,
.rb-result-products,
.rb-addon-section,
.rb-quote-section {
    margin-top: 2.5rem;
}

.rb-range-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rb-range-path {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
}

.rb-range-path.is-selected {
    border-color: var(--rb-teal);
    box-shadow: inset 0 0 0 1px var(--rb-teal);
}

.rb-range-path-unavailable {
    background: #f7f8f9;
}

.rb-range-path-heading,
.rb-product-card-heading,
.rb-order-row-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.rb-range-path h4,
.rb-range-path h5,
.rb-product-card h4,
.rb-quote-card h4 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
}

.rb-range-path h4,
.rb-product-card h4,
.rb-quote-card h4 {
    font-size: var(--ui-heading-size);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.rb-range-path > p,
.rb-range-path li,
.rb-range-path-detail,
.rb-tradeoff {
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-range-path ul {
    margin: 0.4rem 0 1rem;
    padding-left: 1.1rem;
}

.rb-range-path .rb-button {
    margin-top: auto;
}

.rb-fact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.5rem 0 1rem;
}

.rb-fact-row span {
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    background: var(--rb-teal-soft);
    font-size: var(--ui-meta-size);
    font-weight: 600;
}

.rb-button-quiet {
    border: 1px solid var(--rb-line);
    color: var(--rb-navy);
    background: #f3f6f7;
}

.rb-button-quiet:disabled {
    opacity: 0.75;
}

.rb-range-note {
    margin: 1rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    line-height: 1.55;
}

.rb-role-section {
    margin-top: 1.5rem;
}

.rb-role-section > h4 {
    margin-bottom: 0.7rem;
    font-size: var(--ui-heading-size);
}

.rb-product-list,
.rb-addon-grid,
.rb-quote-sections,
.rb-order-rows {
    display: grid;
    gap: 0.8rem;
}

.rb-product-stack {
    display: grid;
    gap: 0.45rem;
}

.rb-inline-addons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0.6rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
}

.rb-inline-addon-product {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
}

.rb-inline-addon-product img {
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 auto;
    border-radius: 4px;
    object-fit: cover;
}

.rb-inline-addon-product > div {
    min-width: 0;
}

.rb-inline-addon-product h4 {
    margin: 0;
    color: var(--rb-navy);
    font-family: "DM Sans", sans-serif;
    font-size: var(--ui-heading-size);
    font-weight: 500;
}

.rb-inline-addon-product p:not(.rb-kicker),
.rb-inline-addon-product small {
    display: block;
    margin: 0.18rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    line-height: 1.4;
}

.rb-inline-addons .rb-button {
    min-height: 2.4rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem;
}

.rb-product-card,
.rb-quote-card,
.rb-addon-card {
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
}

.rb-addon-card.rb-addon-card-selected {
    justify-content: space-between;
    cursor: default;
}

.rb-product-card,
.rb-quote-card {
    padding: 1rem;
}

.rb-product-card.is-shared {
    border-color: rgba(84, 193, 191, 0.7);
}

.rb-product-card.is-uncovered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-color: rgba(159, 47, 47, 0.35);
    background: var(--rb-danger-soft);
}

.rb-product-card-heading img,
.rb-quote-heading img {
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 auto;
    border-radius: 4px;
    object-fit: cover;
}

.rb-product-card-heading > div,
.rb-quote-heading > div {
    min-width: 0;
    flex: 1;
}

.rb-product-card-heading p,
.rb-quote-heading p {
    margin: 0.3rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-status-matched {
    background: var(--rb-teal-soft);
}

.rb-status-confirm {
    background: #fff4cf;
}

.rb-shared-win,
.rb-condition-note,
.rb-included-lid,
.rb-quantity-guidance {
    margin: 0.85rem 0 0;
    padding: 0.7rem 0.8rem;
    color: var(--rb-ink-soft);
    background: var(--rb-teal-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-condition-note {
    background: #fff9e9;
}

.rb-assignment-list {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.rb-assignment-list > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--rb-line);
    font-size: var(--ui-body-size);
}

.rb-assignment-list li span {
    display: block;
    margin-top: 0.15rem;
    color: var(--rb-ink-soft);
}

.rb-assignment-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.rb-assignment-actions details {
    position: relative;
}

.rb-assignment-actions summary {
    cursor: pointer;
    color: var(--rb-navy);
    font-weight: 600;
    list-style: none;
}

.rb-alternative-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.4rem);
    right: 0;
    display: grid;
    width: min(18rem, 75vw);
    padding: 0.4rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: var(--rb-paper);
    box-shadow: 0 16px 45px rgba(1, 10, 53, 0.16);
}

.rb-alternative {
    min-height: 2.75rem;
    padding: 0.6rem;
    color: var(--rb-navy);
    background: transparent;
    text-align: left;
}

.rb-alternative:hover:not(:disabled),
.rb-alternative:focus-visible {
    background: var(--rb-teal-soft);
}

.rb-alternative:disabled {
    color: var(--rb-ink-soft);
}

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

.rb-addon-card {
    position: relative;
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem;
    cursor: pointer;
}

.rb-addon-card strong,
.rb-addon-card small {
    display: block;
}

.rb-addon-card small {
    margin-top: 0.2rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    line-height: 1.4;
}

.rb-quote-section + .rb-quote-section {
    padding-top: 2rem;
    border-top: 1px solid var(--rb-line);
}

.rb-quote-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.rb-order-row {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    background: #fbfdfd;
}

.rb-order-row-heading {
    margin-bottom: 0.8rem;
    font-size: var(--ui-label-size);
}

.rb-select-field,
.rb-quantity-field {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.8rem;
    color: var(--rb-navy);
    font-size: var(--ui-label-size);
    font-weight: 600;
}

.rb-select-field select,
.rb-quantity-field input {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem;
    border: 1px solid rgba(1, 10, 53, 0.24);
    border-radius: 4px;
    color: var(--rb-navy);
    background: var(--rb-paper);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: var(--ui-body-size);
    font-weight: 400;
    line-height: 1.55;
}

.rb-quantity-suggestion {
    margin-top: 0.8rem;
    padding: 0.9rem;
    border-left: 3px solid var(--rb-teal);
    background: var(--rb-teal-soft);
}

.rb-quantity-suggestion > div:first-child > strong {
    font-size: var(--ui-heading-size);
}

.rb-quantity-suggestion > p {
    margin: 0.45rem 0 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-quantity-suggestion .rb-quantity-facts {
    font-size: var(--ui-meta-size);
}

.rb-quantity-suggestion .rb-text-button {
    margin-top: 0.65rem;
}

.rb-shared-quantity-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.rb-shared-quantity-heading > div > strong {
    font-size: var(--ui-heading-size);
}

.rb-allocation-list {
    display: grid;
    gap: 0;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(1, 10, 53, 0.12);
}

.rb-allocation-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.4rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(1, 10, 53, 0.12);
    color: var(--rb-navy);
}

.rb-allocation-line strong,
.rb-allocation-line small {
    display: block;
}

.rb-allocation-line strong {
    font-size: var(--ui-label-size);
}

.rb-allocation-line small {
    margin-top: 0.1rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
}

.rb-allocation-line .rb-text-button {
    flex: 0 0 auto;
    margin-top: 0;
}

.rb-order-row.is-resized-line {
    border-color: rgba(84, 193, 191, 0.65);
}

.rb-resized-line-note {
    margin: 0 0 0.7rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    line-height: 1.4;
}

.rb-resized-quantity-guidance strong {
    color: var(--rb-navy);
    font-size: inherit;
}

.rb-shared-quantity-suggestion .rb-quantity-facts strong {
    font-size: inherit;
}

.rb-quote-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--rb-line);
}

.rb-quote-progress {
    margin: 0 0 0.7rem;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-quote-next {
    margin-left: auto;
}

.rb-quote-final {
    margin-left: auto;
    color: var(--rb-ink-soft);
    font-size: var(--ui-meta-size);
    font-weight: 600;
}

.rb-brief {
    min-height: 0;
    padding: 2rem 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    border-left: 1px solid var(--rb-line);
    background: #fbfdfd;
}

.rb-brief-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rb-brief-heading h2 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: var(--ui-heading-size);
    font-weight: 500;
}

.rb-icon-button {
    display: grid;
    width: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: var(--rb-navy);
    background: #eef2f4;
    font-size: 1.35rem;
}

.rb-brief-section {
    padding: 0.85rem 0;
    border-top: 1px solid var(--rb-line);
}

.rb-brief-section h3 {
    margin: 0 0 0.25rem;
    color: var(--rb-navy);
    font-size: var(--ui-label-size);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-brief-section p {
    margin: 0;
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-brief-empty {
    color: var(--rb-ink-soft);
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

.rb-dialog {
    width: min(calc(100% - 2rem), 43rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 4px;
    color: var(--rb-navy);
    background: var(--rb-paper);
    box-shadow: 0 30px 90px rgba(1, 10, 53, 0.3);
}

.rb-dialog::backdrop {
    background: rgba(1, 10, 53, 0.7);
    backdrop-filter: blur(4px);
}

.rb-dialog form {
    display: flex;
    max-height: calc(100dvh - 2rem);
    flex-direction: column;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.rb-dialog form > p:not(.rb-kicker) {
    font-size: var(--ui-body-size);
    line-height: 1.55;
}

#rb-exception-fields {
    min-height: 0;
    padding-right: 0.3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.rb-dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.rb-dialog-heading h2 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: var(--ui-title-size);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.rb-dialog-actions {
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rb-line);
}

.rb-select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.rb-select-field {
    display: grid;
    gap: 0.35rem;
    color: var(--rb-navy);
    font-size: var(--ui-label-size);
    font-weight: 600;
}

.rb-select-field select {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.6rem 2.2rem 0.6rem 0.7rem;
    border: 1px solid var(--rb-line);
    border-radius: 4px;
    color: var(--rb-navy);
    background: var(--rb-paper);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: var(--ui-body-size);
    font-weight: 400;
    line-height: 1.55;
}

.rb-foundation-card {
    border-color: rgba(84, 193, 191, 0.5);
    background: var(--rb-teal-soft);
}

.rb-foundation-card .rb-button {
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .rb-layout {
        grid-template-columns: 1fr;
    }

    .rb-brief {
        position: fixed;
        z-index: 310;
        inset: auto 0 0;
        max-height: 82vh;
        overflow: auto;
        border: 0;
        border-radius: 1rem 1rem 0 0;
        box-shadow: 0 -20px 60px rgba(1, 10, 53, 0.22);
        transform: translateY(105%);
        transition: transform 200ms ease;
    }

    .rb-brief.is-open {
        transform: translateY(0);
    }

    .rb-brief-toggle {
        display: inline-flex;
        align-items: center;
    }

    #rb-brief-close {
        display: grid;
    }
}

@media (max-width: 720px) {
    .rb-masthead {
        padding: 7.2rem 1.25rem 6rem;
    }

    .rb-workspace {
        width: calc(100% - 1rem);
        height: calc(100dvh - 4.75rem);
        min-height: min(32rem, calc(100dvh - 4.75rem));
        margin: -2.2rem auto 2rem;
        border-radius: 4px;
        box-shadow: none;
    }

    .rb-app-header {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0.65rem;
        padding: 0.8rem 1rem;
    }

    .rb-save-state {
        display: none;
    }

    .rb-app-title {
        font-size: 0.9375rem;
        line-height: 1.25;
    }

    .rb-app-tools {
        width: 100%;
        justify-content: space-between;
    }

    .rb-progress {
        padding: 1rem;
        overflow: hidden;
    }

    .rb-progress ol {
        gap: 0.35rem;
    }

    .rb-progress-item {
        font-size: 0;
    }

    .rb-progress-item.is-current {
        font-size: 0;
    }

    .rb-progress-number {
        font-size: 0;
    }

    .rb-progress-item.is-current .rb-progress-number {
        font-size: 0.5625rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .rb-journey {
        min-height: 0;
        padding: 1.2rem 1rem 1rem;
    }

    .rb-screen-header {
        margin-bottom: 1.4rem;
    }

    .rb-choice-grid,
    .rb-choice-grid.rb-choice-grid-three,
    .rb-select-grid,
    .rb-range-path-grid,
    .rb-addon-grid {
        grid-template-columns: 1fr;
    }

    .rb-assignment-list > li,
    .rb-product-card.is-uncovered {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .rb-product-card-heading {
        display: grid;
        grid-template-columns: 3.75rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .rb-product-card-heading img,
    .rb-quote-heading img {
        width: 3.75rem;
        height: 3.75rem;
    }

    .rb-product-card-heading .rb-status {
        grid-column: 2;
        justify-self: start;
        margin-top: 0;
    }

    .rb-quote-heading {
        display: grid;
        grid-template-columns: 3.75rem minmax(0, 1fr);
        align-items: start;
        gap: 0.75rem;
    }

    .rb-assignment-actions {
        width: 100%;
        justify-content: space-between;
    }

    .rb-quote-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rb-inline-addons {
        margin: 0 0.25rem;
        align-items: stretch;
        flex-direction: column;
    }

    .rb-inline-addons .rb-button {
        width: 100%;
    }

    .rb-shared-quantity-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rb-quote-card-actions .rb-button,
    .rb-quote-next,
    .rb-quote-final {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .rb-alternative-list {
        right: auto;
        left: 0;
    }

    .rb-choice-grid {
        gap: 0.55rem;
    }

    .rb-choice-content {
        grid-template-columns: 2.25rem minmax(0, 1fr) auto;
        gap: 0.6rem;
        min-height: 4.25rem;
        padding: 0.68rem 0.75rem;
        border-radius: 4px;
    }

    .rb-choice-icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    .rb-choice-title {
        font-size: var(--ui-label-size);
    }

    .rb-choice-description {
        margin-top: 0.12rem;
        font-size: var(--ui-meta-size);
        line-height: 1.4;
    }

    .rb-actions {
        position: sticky;
        bottom: 0;
        z-index: 4;
        margin: 0 -1rem;
        padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
    }

    .rb-actions .rb-button {
        min-width: 7.25rem;
    }

    .rb-assumption-card,
    .rb-review-card {
        display: grid;
    }

    .rb-assumption-card .rb-text-button,
    .rb-review-card .rb-text-button {
        justify-self: start;
        padding-left: 0;
    }
}

@media (max-width: 380px) {
    .rb-app-tools {
        gap: 0.25rem;
    }

    .rb-choice-content {
        grid-template-columns: 2.35rem minmax(0, 1fr) auto;
        padding: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-choice-content,
    .rb-button,
    .rb-brief {
        transition: none;
    }

    .rb-choice:hover .rb-choice-content,
    .rb-button:hover {
        transform: none;
    }

    .rb-loading-mark {
        animation: none;
    }
}

@media (forced-colors: active) {
    .rb-choice input:checked + .rb-choice-content,
    .rb-progress-item::before,
    .rb-status {
        border: 2px solid CanvasText;
    }
}

.rb-search-support {
    padding: 4rem 146px;
    color: var(--rb-navy);
    background: #ffffff;
}

.rb-search-support-inner {
    width: 100%;
}

.rb-search-support h2 {
    max-width: 24ch;
    margin: 0;
}

.rb-search-support-inner > p:nth-of-type(2) {
    max-width: 50rem;
    margin: 1.25rem 0 0;
    color: rgba(1, 10, 53, 0.7);
}

.rb-search-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.rb-search-support-grid article {
    padding: 1.5rem;
    border: 1px solid rgba(1, 10, 53, 0.12);
    border-radius: 4px;
    background: #f8faf9;
}

.rb-search-support-grid h3 {
    margin: 0;
}

.rb-search-support-grid p {
    margin: 0.75rem 0 0;
    color: rgba(1, 10, 53, 0.68);
}

@media (max-width: 720px) {
    .rb-search-support {
        padding: 2.5rem 1.5rem;
    }

    .rb-search-support-grid {
        grid-template-columns: 1fr;
    }
}
