/*
 * The sign-up carts (DEV-1517, DEV-1518) — /cart/per-property and /cart/per-study.
 *
 * Loaded only by app/templates/cart/*.html, on the website layout (base_website.html), from the
 * page's extra_css block: the website's main.css gives the header, footer, fonts and resets, and
 * everything the cart adds is here. Written from the two mock-ups
 * (easyreservestudy-api doc/planned/SKUs/20261107_cart_ezrs-pricing-per-property.html and
 * …-per-study.html), their inline styles turned into classes. Not part of ezrs.min.css and not an
 * ezrs-*.css file: the app's stack never loads on a website page (.claude/rules/website-layout.md).
 *
 * ⚠ main.css sets `section { overflow: hidden }`, which stops `position: sticky` working inside a
 * <section>; the sticky order summary therefore sits in a <div>.
 *
 * The in-app cart (DEV-1520, app/templates/account/cart_*.html) loads this file too, inside the
 * signed-in layout's content column, on the same markup with `.cart-page--in-app` (last section).
 */

.cart-page {
    --cart-ink: #16382b;
    --cart-ink-strong: #17251d;
    --cart-heading: #232a26;
    --cart-muted: #52665c;
    --cart-muted-2: #425d4e;
    --cart-green: #006032;
    --cart-green-bright: #1e9e58;
    --cart-green-soft: #edf8f1;
    --cart-green-tint: #eaf7ef;
    --cart-line: #cbded2;
    --cart-line-soft: #d2e3d8;
    --cart-line-input: #e4e9e7;
    /* A field's own outline: 3.29:1 on white (WCAG 1.4.11); the lighter line above stays for rules and cards. */
    --cart-line-field: #849189;
    --cart-line-card: #e0e8e1;
    --cart-focus: #35c9f6;
    --cart-warn-bg: #fff4e5;
    --cart-warn-line: #f3d29a;
    --cart-warn-ink: #6b4300;
    --cart-error: #b42318;

    font-family: "Inter", system-ui, sans-serif;
    color: var(--cart-ink);
    background: #f6f7f6;
    line-height: 1.5;
}

.cart-page *,
.cart-page *::before,
.cart-page *::after {
    box-sizing: border-box;
}

.cart-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.cart-page a { color: var(--cart-green); }
.cart-page a:hover { color: #004a26; }

/* ---------------------------------------------------------------- sections */

.cart-band { background: #ffffff; padding: 56px clamp(16px, 3vw, 48px) 52px; }
.cart-band--soft { background: #f7f9f8; padding: 48px clamp(16px, 3vw, 36px); }
.cart-wrap { max-width: 1104px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.cart-wrap--wide { max-width: 1128px; }

.cart-hero { max-width: 903px; margin: 0 auto; text-align: center; }
.cart-hero__title {
    margin: 0 auto;
    font: 700 clamp(32px, 3.2vw, 45.5px)/1.2 "Ubuntu", system-ui, sans-serif; color: var(--cart-heading);
}
.cart-hero__lead {
    margin: 8px 0 0;
    font: 400 clamp(17px, 1.6vw, 23.17px)/1.42 "Ubuntu", system-ui, sans-serif; color: #2e3833;
}

.cart-eyebrow {
    margin: 0; font: 700 12px/19.2px "Inter", system-ui, sans-serif; letter-spacing: 1.68px;
    text-transform: uppercase; color: var(--cart-green);
}
.cart-h2 {
    margin: 14px 0 0; font: 700 36px/41.04px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.9px;
    color: var(--cart-ink);
}
.cart-h3 {
    margin: 34px 0 0; font: 700 24px/27.36px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.6px;
    color: var(--cart-ink);
}
.cart-lead { margin: 14px 0 26px; font: 400 16px/25.6px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-text-small { margin: 5px 0 18px; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

/* ---------------------------------------------------------------- the configurator panel */

.cart-panel {
    border: 1px solid #d9d9d9; border-radius: 12px; background: #ffffff;
    padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column; gap: 24px;
}
.cart-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cart-step-title { margin: 0; padding: 0 2px; font: 700 19px/30.4px "Ubuntu", system-ui, sans-serif; color: var(--cart-muted); }
.cart-options { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 24px; }

/* A radio card: the <input> is visually hidden; the card shows the choice. */
.cart-option {
    position: relative; flex: 1 1 300px; display: flex; flex-direction: column;
    padding: 29px 29px 27px; border-radius: 14px; background: #ffffff;
    border: 1px solid var(--cart-line-card); cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cart-option:hover { border-color: var(--cart-green-bright); }
.cart-option:focus-within { outline: 2px solid var(--cart-focus); outline-offset: 2px; }
.cart-option.is-selected,
.cart-option:has(input:checked) {
    padding: 28px 28px 26px; background: var(--cart-green-soft); border: 2px solid var(--cart-green-bright);
    box-shadow: 0 8px 14px rgba(20, 80, 45, 0.1);
}
.cart-option__head { display: flex; align-items: center; gap: 2px; padding-bottom: 6px; }
.cart-option__name { font: 700 20px/31px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink-strong); }
.cart-option__from {
    display: block; padding: 4px 0 18px; border-bottom: 1px solid #d9d9d9;
    font: 500 14.08px/21.8px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink-strong);
}
.cart-option__label { display: block; padding: 8px 0; font: 400 14.4px/22.3px "Ubuntu", system-ui, sans-serif; color: #000000; }
.cart-option__example { display: block; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted-2); }
.cart-option__note { display: block; padding-top: 10px; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: #52645a; }

.cart-radio {
    width: 48px; height: 48px; margin-left: -10px; display: flex; align-items: center; justify-content: center; flex: none;
}
.cart-radio > span {
    width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cart-ink-strong);
    display: flex; align-items: center; justify-content: center;
}
.cart-radio > span > span { width: 12px; height: 12px; border-radius: 50%; background: transparent; }
.is-selected .cart-radio > span,
.cart-option:has(input:checked) .cart-radio > span,
.cart-term:has(input:checked) .cart-radio > span,
.cart-coverage:has(input:checked) .cart-radio > span { border-color: var(--cart-green); }
.is-selected .cart-radio > span > span,
.cart-option:has(input:checked) .cart-radio > span > span,
.cart-term:has(input:checked) .cart-radio > span > span,
.cart-coverage:has(input:checked) .cart-radio > span > span { background: var(--cart-green); }
.cart-radio--small { width: 22px; height: 22px; margin: 0; }
.cart-radio--small > span { width: 22px; height: 22px; }
.cart-radio--small > span > span { width: 10px; height: 10px; }
.cart-radio--tiny { width: 18px; height: 18px; margin: 0; }
.cart-radio--tiny > span { width: 18px; height: 18px; }
.cart-radio--tiny > span > span { width: 8px; height: 8px; }

.cart-pills { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-bottom: 4px; }
.cart-pill {
    padding: 2px 10px; border-radius: 999px; background: #ffffff; border: 1px solid var(--cart-line);
    font: 600 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-green);
}
.cart-pill--small { padding: 0 8px; font-size: 11px; line-height: 17px; }
.cart-plus { font: 700 14px/18px "Inter", system-ui, sans-serif; color: var(--cart-green); }

/* ---------------------------------------------------------------- fields */

.cart-fields { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 24px; }
.cart-field { flex: 1 1 300px; display: flex; flex-direction: column; min-width: 0; }
.cart-field--group { flex: 1 1 160px; }
.cart-field--units { flex: 1 1 150px; }
.cart-label { font: 600 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-help { padding-top: 8px; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

/* The quantity stepper: one framed control, tinted minus and plus either side of a white figure. */
.cart-stepper {
    display: inline-flex; align-self: flex-start; align-items: stretch; margin-top: 6px;
    border: 1px solid var(--cart-line); border-radius: 12px; background: #ffffff;
}
.cart-step {
    flex: none; width: 48px; height: 46px; border: 0; border-radius: 0; background: var(--cart-green-soft);
    color: var(--cart-ink-strong); font: 500 22px/1 "Inter", system-ui, sans-serif; cursor: pointer;
}
.cart-step:first-child { border-radius: 11px 0 0 11px; }
.cart-step:last-child { border-radius: 0 11px 11px 0; }
.cart-step:hover:not(:disabled) { background: #dcf0e3; }
.cart-step:disabled { color: #9fb1a7; cursor: not-allowed; }
.cart-qty {
    flex: none; width: 60px; height: 46px; padding: 0 4px; border: 0; border-radius: 0; background: #ffffff;
    text-align: center; font: 700 18px/22px "Inter", system-ui, sans-serif; color: var(--cart-ink-strong);
}
.cart-qty-static {
    min-width: 60px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
    font: 700 18px/22px "Inter", system-ui, sans-serif; color: var(--cart-ink-strong);
}

.cart-select {
    -webkit-appearance: none; appearance: none; width: 100%; height: 40.4px; margin-top: 6px;
    padding: 0 40px 0 18px; border: 1px solid var(--cart-line-field); border-radius: 10px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2317251d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
    background-size: 10px 6px; font: 400 14px/1.2 "Ubuntu", system-ui, sans-serif; color: #0a1a12; cursor: pointer;
}
.cart-select--small { height: 38.8px; padding: 0 36px 0 12px; background-position: right 12px center; margin: 8px 0; }

.cart-input {
    width: 100%; height: 44.6px; padding: 11px 14px; border: 1px solid var(--cart-line-field); border-radius: 10px;
    background: #ffffff; font: 400 14px/1.2 "Ubuntu", system-ui, sans-serif; color: #1f2a24;
}
.cart-input::placeholder { color: #7c8a83; }
.cart-input[aria-invalid="true"],
.cart-select[aria-invalid="true"] { border-color: var(--cart-error); }

.cart-select:focus, .cart-input:focus, .cart-qty:focus {
    outline: none; border-color: #13893e; box-shadow: 0 0 0 3px rgba(19, 137, 62, 0.18); position: relative; z-index: 1;
}
/* Inside the stepper's frame, focus is drawn inward so it is not cut by its neighbours. */
.cart-stepper .cart-qty:focus { box-shadow: inset 0 0 0 2px #13893e; }
.cart-stepper .cart-step:focus-visible { outline-offset: -3px; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- figures */

.cart-figures { border-top: 1px solid var(--cart-line-soft); padding-top: 23px; }
.cart-figures__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cart-figures__block { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cart-figures__slot { flex: 1 1 360px; min-width: 0; }
.cart-figures__slot > .cart-figures__row { width: 100%; }
.cart-figure-label { font: 400 16px/25.6px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-figure {
    font: 700 40px/62px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.8px; color: var(--cart-ink-strong);
}
.cart-figure-note { padding-top: 6px; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-chip {
    margin-top: 10px; padding: 6px 12px; border-radius: 5px; background: var(--cart-green-soft);
    font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-green);
}
.cart-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-actions__buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.cart-status-line { margin: 0; min-height: 19.2px; text-align: right; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-green); }

/* ---------------------------------------------------------------- buttons and links */

.cart-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 170px;
    padding: 11px 20px; border: 1px solid var(--cart-green); border-radius: 6px;
    font: 650 14px/19.6px "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}
.cart-btn--primary, .cart-page a.cart-btn--primary { background: var(--cart-green); color: #ffffff; }
.cart-btn--outline, .cart-page a.cart-btn--outline { background: #ffffff; color: var(--cart-green); }
.cart-btn--block { width: 100%; min-width: 0; }
.cart-btn:has(> .cart-btn__icon) { gap: 8px; }
.cart-btn__icon { flex: none; }
.cart-btn--compact { min-width: 0; min-height: 40px; padding: 8px 18px; }
.cart-btn:hover { filter: brightness(1.08); }
.cart-page a.cart-btn--primary:hover { color: #ffffff; }
.cart-btn:active { transform: translateY(1px); }
.cart-btn:disabled, .cart-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; transform: none; pointer-events: none; }
.cart-btn:focus-visible, .cart-link:focus-visible, .cart-step:focus-visible { outline: 2px solid var(--cart-focus); outline-offset: 2px; }

.cart-link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
    font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-green); text-decoration: underline; cursor: pointer;
}
.cart-link--small { min-height: 0; font-size: 12px; line-height: 19.2px; padding: 8px 4px; white-space: nowrap; }
/* A property group's Remove: a bin and the word, quiet grey until hovered. */
.cart-link--remove { gap: 8px; font-size: 16px; color: var(--cart-muted); text-decoration: none; }
.cart-link--remove:hover { color: var(--cart-ink); text-decoration: underline; }
.cart-link__icon { flex: none; }

/* ---------------------------------------------------------------- details, tables */

.cart-details { border: 1px solid var(--cart-line); border-radius: 9px; padding: 0 22px; background: #ffffff; }
.cart-details--plain { border: 0; border-bottom: 1px solid var(--cart-line-soft); border-radius: 0; padding: 0; background: none; }
.cart-details > summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 17px 0; font: 600 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-green);
}
.cart-details--plain > summary { font-size: 15px; line-height: 24px; color: var(--cart-ink); }
.cart-details > summary::-webkit-details-marker { display: none; }
.cart-details > summary:focus-visible { outline: 2px solid var(--cart-focus); outline-offset: 2px; border-radius: 6px; }
.cart-details__plus { display: inline-block; color: var(--cart-green); transition: transform .2s ease; }
.cart-details[open] .cart-details__plus { transform: rotate(45deg); }
.cart-details__body { padding-bottom: 26px; display: flex; flex-direction: column; gap: 24px; }
.cart-details__text { margin: 0; padding: 0 0 18px; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

.cart-table-wrap { position: relative; overflow-x: auto; border-radius: 6px; }
.cart-table { border-collapse: collapse; width: 100%; min-width: 640px; font: 500 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-table th, .cart-table td { text-align: left; padding: 17px 18px; }
.cart-table thead tr { background: var(--cart-green); color: #ffffff; }
.cart-table thead th { font-weight: 600; }
.cart-table tbody tr { border-bottom: 1px solid var(--cart-line-soft); }
.cart-table tbody tr:last-child { border-bottom: 0; }
.cart-table tbody th { font-weight: 650; }

.cart-compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--cart-line); border-radius: 10px; background: #ffffff; }
.cart-compare { border-collapse: collapse; width: 100%; min-width: 620px; }
.cart-compare th, .cart-compare td { padding: 17px 18px; border-bottom: 1px solid var(--cart-line-soft); text-align: center; }
.cart-compare tbody tr:last-child th, .cart-compare tbody tr:last-child td { border-bottom: 0; }
.cart-compare thead th { vertical-align: bottom; padding: 24px 18px; background: #f0f5f2; }
.cart-compare thead th:first-child { width: 46%; text-align: left; font: 600 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-compare thead th.cart-compare__strong { background: var(--cart-green); }
.cart-compare__badge { display: block; padding-bottom: 9px; font: 600 10px/16px "Inter", system-ui, sans-serif; letter-spacing: 1.1px; text-transform: uppercase; color: #b7efcf; }
.cart-compare__name { display: block; font: 600 19px/30.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-compare__strong .cart-compare__name { color: #ffffff; }
.cart-compare__sub { display: block; padding-top: 7px; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: #52645a; }
.cart-compare__strong .cart-compare__sub { color: #d3eedf; }
.cart-compare tbody th { text-align: left; }
.cart-compare__row-title { display: block; font: 650 15px/24px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-compare__row-text { display: block; padding-top: 5px; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-compare td.cart-compare__strong { border-left: 1px solid #b7dbc6; border-bottom-color: #b7dbc6; background: var(--cart-green-tint); }
.cart-tick {
    display: inline-flex; width: 33px; height: 33px; border-radius: 50%; background: #d8efe2;
    align-items: center; justify-content: center; font: 700 18px/1 "Inter", system-ui, sans-serif; color: var(--cart-green);
}
.cart-tick--strong { background: var(--cart-green); color: #ffffff; }
.cart-dash { font: 500 25px/40px "Inter", system-ui, sans-serif; color: #6f7d76; }

.cart-tools { display: flex; flex-wrap: wrap; gap: 25px; padding: 28px; border-radius: 12px; background: var(--cart-green-tint); }
.cart-tool { flex: 1 1 240px; }
.cart-tool__icon { display: block; width: 36px; height: 42px; }
.cart-tool__name { margin: 10px 0 0; font: 700 21px/23.94px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.525px; color: var(--cart-ink); }
/* Registered-trademark mark after "EZRS" (the beta pages' .ezrs-reg, which this page does not load). */
.cart-page .ezrs-reg { font-size: 0.6em; vertical-align: super; line-height: 0; margin-left: 1px; }
.cart-tool__text { margin: 7px 0 0; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-soon {
    display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #ffffff;
    border: 1px solid var(--cart-line); font: 600 11px/17px "Inter", system-ui, sans-serif; color: var(--cart-muted);
    vertical-align: middle; letter-spacing: 0;
}

/* ---------------------------------------------------------------- the checkout layout */

.cart-checkout { background: #ffffff; padding: 24px clamp(16px, 3vw, 36px) 0; }
.cart-checkout__inner { max-width: 1128px; margin: 0 auto; padding: 48px 0 64px; }
.cart-checkout__title {
    margin: 14px 0 0; font: 700 clamp(36px, 4vw, 52px)/1.14 "Ubuntu", system-ui, sans-serif; letter-spacing: -1.3px;
    color: var(--cart-ink);
}
.cart-columns { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px; padding-top: 18px; }
.cart-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.cart-card { border: 1px solid var(--cart-line); border-radius: 12px; padding: 28px; background: #ffffff; }
.cart-card--term { padding: 24px 28px; }
.cart-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-card__title { margin: 0; font: 700 23px/26.22px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.575px; color: var(--cart-ink); }
/* A card head led by its step number (cart/_macros.html step_hex), after the app's section head
   (.v3-hex-icon--lg): a 44px hexagon tinted and outlined in green beside the title and its sub-line.
   The number is #048040 on the tint, about 4.8:1. */
.cart-card__stephead { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cart-card__stephead .cart-card__sub { margin-bottom: 0; }
/* A numbered card whose content starts under its title, not under the hexagon (44px + the 16px gap). */
.cart-card--indented > :not(.cart-card__stephead) { margin-left: 60px; width: auto; }
@media (max-width: 575px) { .cart-card--indented > :not(.cart-card__stephead) { margin-left: 0; } }
/* A card that holds cards (the in-app cart's property groups under "License Selection"). */
.cart-card__stack { display: flex; flex-direction: column; gap: 20px; }
.cart-step-hex { flex: 0 0 44px; width: 44px; height: 44px; }
.cart-step-hex polygon { fill: rgba(22, 163, 74, 0.08); stroke: #048040; stroke-width: 1.2; stroke-linejoin: round; }
.cart-step-hex text { font: 700 13px "Ubuntu", system-ui, sans-serif; fill: #048040; dominant-baseline: central; text-anchor: middle; }
.cart-card__sub { margin: 6px 0 16px; font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

.cart-terms { display: flex; flex-wrap: wrap; gap: 12px; }
.cart-term {
    position: relative; flex: 1 1 170px; display: flex; align-items: center; gap: 12px; padding: 16px 18px;
    border-radius: 12px; background: #ffffff; border: 1px solid var(--cart-line-card); cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cart-term:hover { border-color: var(--cart-green-bright); }
.cart-term:focus-within { outline: 2px solid var(--cart-focus); outline-offset: 2px; }
.cart-term:has(input:checked), .cart-term.is-selected {
    padding: 15px 17px; background: var(--cart-green-soft); border: 2px solid var(--cart-green-bright);
    box-shadow: 0 8px 14px rgba(20, 80, 45, 0.1);
}
.cart-term__text { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.cart-term__label { font: 700 15px/22px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink-strong); }
.cart-term__sub { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-term__badge {
    position: absolute; top: -10px; right: 12px; padding: 1px 8px; border-radius: 999px; background: var(--cart-green);
    color: #ffffff; font: 600 11px/17px "Inter", system-ui, sans-serif; white-space: nowrap;
}

.cart-group__fields { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 20px; }
.cart-coverages { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.cart-coverage {
    flex: 1 1 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 44px;
    padding: 11px 14px; border-radius: 10px; background: #ffffff; border: 1px solid var(--cart-line-card); cursor: pointer;
}
.cart-coverage:hover { border-color: var(--cart-green-bright); }
.cart-coverage:focus-within { outline: 2px solid var(--cart-focus); outline-offset: 2px; }
.cart-coverage:has(input:checked), .cart-coverage.is-selected { padding: 10px 13px; background: var(--cart-green-soft); border: 2px solid var(--cart-green-bright); }
.cart-coverage__head { display: flex; align-items: center; gap: 10px; }
/* The pills line up under the name, not under the radio: the tiny radio's 18px plus the head's 10px gap. */
.cart-coverage > .cart-pills { margin-left: 28px; }
.cart-coverage__name { font: 700 14px/20px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink-strong); }

/* DRAFT (design of 2026-11-08, under test): the group's fields in one row — two coverage cards with
   what each covers in words, then the stepper and the units select at the stepper's height. */
.cart-group__fields--cards { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.cart-group__fields--cards .cart-label { font-size: 16px; line-height: 24px; }
.cart-group__fields--cards .cart-coverages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 0; }
.cart-group__fields--cards .cart-coverage {
    gap: 8px; padding: 16px; border: 1px solid var(--cart-line); border-radius: 12px; align-self: stretch;
}
.cart-group__fields--cards .cart-coverage:has(input:checked),
.cart-group__fields--cards .cart-coverage.is-selected { padding: 15px; border: 2px solid var(--cart-green); background: var(--cart-green-soft); }
.cart-group__fields--cards .cart-coverage__head { gap: 12px; }
.cart-group__fields--cards .cart-radio--tiny,
.cart-group__fields--cards .cart-radio--tiny > span { width: 22px; height: 22px; }
.cart-group__fields--cards .cart-radio--tiny > span > span { width: 11px; height: 11px; }
.cart-group__fields--cards .cart-coverage__name { font: 600 19px/26px "Inter", system-ui, sans-serif; }
.cart-coverage__covers { font: 400 15px/22px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-group__fields--cards .cart-stepper { margin-top: 8px; }
.cart-group__fields--cards .cart-select--small { height: 48px; margin: 8px 0 0; padding: 0 40px 0 16px; font: 400 16px/1.2 "Inter", system-ui, sans-serif; border-radius: 12px; }
@media (max-width: 767px) {
    .cart-group__fields--cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cart-group__fields--cards > .cart-field--group { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .cart-group__fields--cards .cart-coverages { grid-template-columns: minmax(0, 1fr); }
}
.cart-group__figures { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 18px; }
.cart-group__figures-text { display: flex; flex-direction: column; min-width: 0; }
.cart-group__label { font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-group__rate { font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-group__total { font: 700 19px/30.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); white-space: nowrap; }

.cart-alert {
    margin: 4px 0 0; padding: 9px 12px; border-radius: 5px; background: var(--cart-warn-bg); border: 1px solid var(--cart-warn-line);
    font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-warn-ink);
}
.cart-alert--error { background: #fdecea; border-color: #f5c2bd; color: #8a1c13; }
.cart-note { margin: 4px 0 0; padding: 9px 12px; border-radius: 5px; background: var(--cart-green-soft); font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-green); }

.cart-empty { border: 1px dashed var(--cart-line); border-radius: 12px; padding: 28px; background: #f7f9f8; text-align: center; }
.cart-empty__title { margin: 0; font: 700 18px/26px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-empty__text { margin: 6px 0 0; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

.cart-row-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 20px; }
.cart-hint { flex: 1 1 260px; margin: 0; font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

/* The study products */
.cart-pack {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0;
    border-top: 1px solid var(--cart-line-input);
}
.cart-pack__text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.cart-pack__name { font: 700 16px/24px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-pack__sub { font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-pack__amount { min-width: 100px; text-align: right; font: 700 15px/22px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-facts { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
/* The last product's own rule, the same line as between the products, before the facts. */
.cart-pack + .cart-facts { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--cart-line-input); }
.cart-facts li { position: relative; padding-left: 24px; font: 400 15px/24px "Inter", system-ui, sans-serif; color: #000000; }
.cart-facts li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--cart-green); }

/* ---------------------------------------------------------------- the order summary */

.cart-summary {
    flex: 1 1 320px; max-width: 407px; position: sticky; top: 100px; border: 1px solid var(--cart-line); border-radius: 12px;
    background: #f5f9f7; padding: 28px; box-shadow: 0 12px 16px rgba(0, 96, 50, 0.04);
}
.cart-summary__title {
    margin: 0; font: 700 clamp(30px, 3vw, 36px)/1.14 "Ubuntu", system-ui, sans-serif; letter-spacing: -0.9px; color: var(--cart-ink);
}
.cart-summary__lines { padding-top: 14px; }
.cart-summary__line {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0;
    border-bottom: 1px solid var(--cart-line-soft);
}
.cart-summary__line-qty { flex: none; font: 600 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); white-space: nowrap; }
.cart-summary__line .cart-summary__line-qty + .cart-summary__line-text { flex: 1 1 auto; margin-left: -6px; }
.cart-summary__line-text { display: flex; flex-direction: column; min-width: 0; }
.cart-summary__line-title { font: 600 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-summary__line-sub { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-summary__amount { font: 700 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); white-space: nowrap; }
.cart-summary__empty { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--cart-line-soft); font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-summary__rows { padding-top: 18px; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-summary__row > span:last-child { font-weight: 700; white-space: nowrap; }
.cart-summary__total {
    margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--cart-line-soft); display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 4px 12px;
}
.cart-summary__total-label { font: 400 16px/25.6px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-summary__total-figure { font: 400 30px/1.2 "Ubuntu", system-ui, sans-serif; color: var(--cart-green); white-space: nowrap; margin-left: auto; text-align: right; }
/* Numbers right-aligned: when the label takes the line, the figure wraps onto the right edge, under the amounts. */
.cart-summary__note { margin: 6px 0 0; font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-summary__foot { margin: 18px 0 0; font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-summary__cta { padding-top: 18px; }
.cart-summary .cart-alert { margin-top: 14px; }
/* A group reached by its #group-N anchor clears the website's fixed header. */
.cart-card[id^="group-"] { scroll-margin-top: 120px; }

/* ---------------------------------------------------------------- the account step */

.cart-account {
    border: .8px solid var(--cart-line-input); border-radius: 16px; background: #ffffff;
    padding: 40px clamp(20px, 4vw, 36px); display: flex; flex-direction: column; align-items: center;
}
.cart-account__sub { margin: 6px 0 0; text-align: center; font: 400 14px/21px "Ubuntu", system-ui, sans-serif; color: #4b5a53; }
.cart-account__prompt { margin: 0; padding-top: 16px; text-align: center; font: 400 13px/19.5px "Ubuntu", system-ui, sans-serif; color: #4b5a53; }
.cart-account__prompt a { font-weight: 700; color: #166534; text-decoration: underline; }
.cart-divider { width: 100%; display: flex; align-items: center; gap: 12px; padding-top: 24px; }
.cart-divider::before, .cart-divider::after { content: ""; flex: 1; height: 1px; background: var(--cart-line-input); }
.cart-divider span { font: 400 11px/16.5px "Ubuntu", system-ui, sans-serif; letter-spacing: 0.44px; text-transform: uppercase; color: #6f7d76; }
.cart-form { width: 100%; max-width: 446px; padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.cart-form__pair { display: flex; flex-wrap: wrap; gap: 12px; }
.cart-form__field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
/* Only side by side in a pair: in the column-direction form a flex-basis would be a height. */
.cart-form__pair > .cart-form__field { flex: 1 1 180px; }
.cart-form .cart-select { margin-top: 0; }
.cart-form__label { font: 500 14px/20px "Ubuntu", system-ui, sans-serif; color: #000000; }
.cart-form__required { color: var(--cart-error); }
.cart-form__optional { font-weight: 400; color: var(--cart-muted); }
.cart-form__legend { width: 100%; margin: 0; padding-top: 16px; font: 400 13px/19.5px "Ubuntu", system-ui, sans-serif; color: var(--cart-muted); }
.cart-form__legend > span { color: var(--cart-error); }
/* The account step's form, and the in-app cart's Checkout card, span the card. */
.cart-account .cart-form,
.cart-form--full { max-width: none; }
.cart-form__error { margin: 0; font: 400 12px/18px "Ubuntu", system-ui, sans-serif; color: var(--cart-error); }
.cart-consents { display: flex; flex-direction: column; gap: 8px; }
.cart-consent { display: flex; align-items: flex-start; gap: 8px; font: 400 13px/19.5px "Ubuntu", system-ui, sans-serif; color: #1f2a24; cursor: pointer; }
.cart-consent.is-invalid { color: var(--cart-error); }
/* A field's own error sentence, under the field (and under a consent, in line with its text). */
.cart-form__field > .cart-form__error { font-size: 13px; line-height: 19.5px; }
.cart-consents > .cart-form__error { margin: -4px 0 0 24px; font-size: 13px; line-height: 19.5px; }
.cart-consent input { accent-color: var(--cart-green); width: 16px; height: 16px; margin: 2px 0 0; flex: none; cursor: pointer; -webkit-appearance: checkbox; appearance: auto; }
.cart-fineprint { margin: 4px 0 0; font: 400 12px/18px "Ubuntu", system-ui, sans-serif; color: #4b5a53; }
.cart-fineprint a, .cart-consent a { font-weight: 500; color: #166534; text-decoration: underline; text-underline-offset: 2px; }
.cart-fineprint a:hover, .cart-consent a:hover { color: var(--cart-ink); }

/* ---------------------------------------------------------------- welcome and cancelled */

.cart-welcome { background: #f6f7f6; padding: 64px clamp(16px, 3vw, 48px) 96px; }
.cart-welcome__card {
    max-width: 1599px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(240, 240, 240, 0.6); border-radius: 24px;
    background: linear-gradient(28.3deg, #a5e9e1 19.5%, #c7f7c6 113.4%);
    box-shadow: 0 84px 34px rgba(0, 0, 0, 0.01), 0 5px 12px rgba(0, 0, 0, 0.1);
}
.cart-welcome__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; min-height: 500px;
    padding: clamp(40px, 6vw, 96px) clamp(24px, 3vw, 48px);
}
/* DEV-1583: the design of 2026-11-11 — a 36-48px title, a quieter 16-18px lead below it. */
.cart-welcome__text { flex: 1 1 340px; max-width: 520px; display: flex; flex-direction: column; gap: 20px; color: var(--cart-heading); }
.cart-welcome__title { margin: 0; font: 700 clamp(36px, 3vw, 44px)/1.2 "Ubuntu", system-ui, sans-serif; color: var(--cart-heading); }
.cart-welcome__lead { margin: 0; font: 400 clamp(16px, 1.3vw, 18px)/1.5 "Ubuntu", system-ui, sans-serif; }
.cart-welcome__title + .cart-welcome__lead { margin-top: 18px; }  /* inside a state block, where the flex gap does not reach */
.cart-welcome__lead + .cart-welcome__note { margin-top: 14px; }
.cart-welcome__box { margin-top: 8px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.8); }
.cart-welcome__box-title { margin: 0 0 6px; font: 700 15px/22px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-welcome__item { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font: 400 14px/22px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-welcome__item > span:last-child { font-weight: 600; white-space: nowrap; }
.cart-welcome__note { margin: 8px 0 0; font: 400 13px/20px "Inter", system-ui, sans-serif; color: var(--cart-muted-2); }
.cart-welcome__image { flex: 0 1 686px; min-width: 0; max-width: 100%; height: auto; border-radius: 16px; }
.cart-welcome__actions { display: flex; flex-wrap: wrap; gap: 12px; }

[data-cart-hidden],
.cart-page [hidden] { display: none !important; }

.cart-team__title { margin: 8px 0 0; font: 700 24px/27.36px "Ubuntu", system-ui, sans-serif; letter-spacing: -0.6px; color: var(--cart-ink); }
.cart-team__text { margin: 5px 0 0; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-row-end--split { justify-content: space-between; }

/* ---------------------------------------------------------------- the toast */

.cart-toast-region { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 50; display: flex; justify-content: flex-end; pointer-events: none; }
.cart-toast {
    pointer-events: auto; max-width: 420px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
    border-radius: 10px; background: var(--cart-green-soft); border: 2px solid var(--cart-green-bright); color: var(--cart-ink-strong);
    box-shadow: 0 8px 14px rgba(20, 80, 45, 0.1); animation: cart-toast-in .25s ease-out;
}
.cart-toast__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cart-green); display: flex; align-items: center; justify-content: center; font: 700 13px/1 "Inter", system-ui, sans-serif; color: #ffffff; }
.cart-toast__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.cart-toast__title { font: 650 14px/20px "Inter", system-ui, sans-serif; }
.cart-toast__sub { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-toast__close { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--cart-muted); font: 400 20px/1 "Inter", system-ui, sans-serif; cursor: pointer; }
@keyframes cart-toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cart-toast { animation: none; } }

.cart-busy { opacity: .6; transition: opacity .2s ease; }

@media (max-width: 767px) {
    .cart-summary { position: static; max-width: none; }
    .cart-actions { align-items: stretch; }
    .cart-actions__buttons { justify-content: stretch; }
    .cart-actions__buttons .cart-btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- the pricing page's design (DEV-1565) */

/* "Tell us about your portfolio": the account step's fields, two to a row. */
.cart-talk__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.cart-talk__wide { grid-column: 1 / -1; }
.cart-talk__message { height: auto; min-height: 88px; resize: vertical; line-height: 1.5; }
.cart-talk__fields .cart-form__error { font-size: 13px; line-height: 19.5px; }
/* The thank-you that replaces the form once HubSpot accepted the submission. */
.cart-talk__thanks { margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--cart-green-soft); }
.cart-talk__thanks:focus { outline: none; }
.cart-talk__thanks:focus-visible { outline: 2px solid #13893E; outline-offset: 2px; }
.cart-talk__thanks-title { margin: 0; font: 700 18px/26px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-input[aria-invalid="true"]:focus, .cart-select[aria-invalid="true"]:focus { border-color: var(--cart-error); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }
.cart-talk__email { margin-top: 16px; text-align: center; }

/* The FAQ: text_page_2 carries no background of its own; white like the website's pricing page. */
.cart-page .section-text-page-2 { background: #ffffff; }

/* The tier cards: the design's "Best For …" eyebrow and the one-line subtitle under the name. */
.cart-option__best {
    display: block; padding-bottom: 8px;
    font: 800 11px/17.6px "Inter", system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--cart-green);
}
.cart-option__sub { display: block; padding-bottom: 4px; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-ink); }

/* The two tier cards share one row grid (subgrid), so the eyebrow, the name, the subtitle, the price and
   its rule, the example and the note sit at the same height in both, however long a text runs. */
.cart-page[data-cart-page="pricing"] .cart-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cart-page[data-cart-page="pricing"] .cart-option { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; align-content: start; }
.cart-page[data-cart-page="pricing"] .cart-option__details { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }

/* The configurator's figure: the monthly price large, its unit smaller beside it. */
.cart-figure__unit { font-size: .45em; font-weight: 600; letter-spacing: 0; margin-left: 2px; }

/* "What's Included?": the legend under the comparison. */
.cart-compare-legend {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; margin: 12px 0 0;
    font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted);
}
.cart-compare-legend .cart-tick, .cart-compare-legend .cart-dash { margin-right: 4px; }

/* "Not sure yet?": the "Let's Talk" card beside the place the HubSpot form will take. */
.cart-talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.cart-talk .item { margin: 0; }
/* The design's "Let's Talk" card is dark green; the website's box draws it white. */
.section-text-block-cta .cart-talk .item { background: var(--cart-green); border-color: var(--cart-green); box-shadow: none; }
.section-text-block-cta .cart-talk .item .title,
.section-text-block-cta .cart-talk .item .description { color: #ffffff; }
/* Larger copy on the green card, and two of the hero's hexagons behind it (section-hero-type-2's
   hex*.png). The text sits above them. */
.section-text-block-cta .cart-talk .item .description { font-size: 18px; line-height: 1.55; }
.section-text-block-cta .cart-talk .item .description .cart-talk__list li { padding: 6px 0; }
.cart-talk__card { position: relative; overflow: hidden; isolation: isolate; }
.cart-talk__card > :not(.cart-talk__hex) { position: relative; z-index: 1; }
.cart-talk__hex { position: absolute; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.cart-talk__hex--top { width: 141px; height: 163px; top: -52px; right: 18%; background-image: url("/static/fromwebsite/img/hex2.png"); }
.cart-talk__hex--bottom { width: 286px; height: 330px; bottom: -110px; right: -40px; background-image: url("/static/fromwebsite/img/hex6.png"); }
/* The design's checkmarks are the box's own (main.css: .section-text-block-cta … ul li:before, icon-bullet.svg),
   whose dark green stroke vanishes on the green card — the same tick, drawn in the design's light green. */
.section-text-block-cta .cart-talk .item .cart-talk__list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M16.6693 5L7.5026 14.1667L3.33594 10' stroke='%230aef7b' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cart-talk__form { padding: 32px; border-radius: 16px; border: 1px solid var(--cart-line); background: #ffffff; }
.cart-talk__form-title { margin: 0; font: 700 21px/26px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-talk__form-text { margin: 8px 0 0; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }

@media (max-width: 991px) {
    .cart-talk { grid-template-columns: minmax(0, 1fr); }
    .cart-talk__fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575px) {
    .cart-talk__hex--top { display: none; }
    .cart-talk__hex--bottom { width: 143px; height: 165px; bottom: -60px; right: -30px; }
}

/* ---------------------------------------------------------------- the in-app cart (DEV-1520) */

/* The same markup inside the signed-in layout's content column: the page's own background, header
   and spacing stand in for the website's bands. */
.cart-page--in-app { background: transparent; }
.cart-page--in-app .cart-columns { padding-top: 4px; }
.cart-page--in-app .cart-welcome { background: transparent; padding: 8px 0 48px; }
.cart-page--in-app .cart-welcome__card { max-width: 960px; margin: 0; }
.cart-page--in-app .cart-welcome__inner { min-height: 0; }
.cart-page--in-app .cart-welcome__title { font-size: clamp(28px, 2.6vw, 36px); }

/* ---------------------------------------------------------------- the sign-in window and a signed-in buyer (DEV-1568) */

/* A native modal <dialog>: the browser keeps focus inside and makes the page behind it inert. The fields
   are the account step's own (.cart-input: a 3:1 outline, the #13893E focus ring). */
.cart-dialog {
    width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
    margin: auto; padding: 0; border: 0; border-radius: 16px; background: #ffffff; color: #1f2a24;
    box-shadow: 0 24px 48px rgba(10, 26, 18, 0.24);
}
.cart-dialog::backdrop { background: rgba(10, 26, 18, 0.55); }
.cart-dialog__inner { padding: 32px clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.cart-dialog__title { margin: 0; font: 700 26px/1.2 "Ubuntu", system-ui, sans-serif; color: var(--cart-ink); }
.cart-dialog__sub { margin: 0; font: 400 14px/21px "Ubuntu", system-ui, sans-serif; color: #4b5a53; }
.cart-dialog .cart-alert { margin: 0; font-size: 13px; line-height: 19.5px; }
.cart-dialog .cart-alert a { color: inherit; font-weight: 700; text-decoration: underline; }
.cart-dialog .cart-form { max-width: none; padding-top: 4px; }
.cart-dialog__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
/* The approved focus colour throughout the window, and on the link that opens it. */
.cart-dialog .cart-btn:focus-visible, .cart-dialog .cart-link:focus-visible, .cart-dialog a:focus-visible,
.cart-account__prompt a:focus-visible { outline: 2px solid #13893e; outline-offset: 2px; }

/* A signed-in buyer's details (D11): the account's, shown as the fields they are, not editable here. */
.cart-input[readonly] { background: #f3f6f4; color: #1f2a24; cursor: default; }
.cart-input[readonly]:focus { border-color: #13893e; box-shadow: 0 0 0 3px rgba(19, 137, 62, 0.18); }

/* ---------------------------------------------------------------- the free trials (/cart/{model}/trial) */

/* The trial's fixed items: the study products' rows, read-only, each led by a heading of its own. */
.cart-trial__name { margin: 0; }
/* "Customize this cart": the sentence and the link-styled button, beside each other where they fit. */
.cart-trial__customize { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin: 16px 0 6px; }

/* The trial page after the design "Free Trial Cart Proposal" (2026-11-12, DEV-1587 / DEV-1588). */
/* The promise under the lead: no card, no automatic charge. */
/* The trial's promise in the hero: white on the hero's green, each line behind a white round check. */
.cart-trial-hero__checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.cart-trial-hero__checks li { display: flex; align-items: center; gap: 10px; font: 600 16px/24px "Inter", system-ui, sans-serif; color: #fff; }
.cart-trial-hero__check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--cart-green); }
.cart-trial__columns { padding-top: 28px; }
.cart-trial__includes { display: flex; flex-direction: column; gap: 4px; }
.cart-trial__includes .cart-card__sub { margin: 2px 0 0; }
.cart-trial__head { flex-wrap: wrap; gap: 8px 16px; }

/* "Included In Your Trial": the pill each of the trial's items carries. */
.cart-trial-badge {
    flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
    background: #e3f4e9; font: 600 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-green);
}
.cart-trial-badge--small { gap: 4px; padding: 1px 8px; border: 1px solid #b7dbc6; background: #ffffff; font-size: 11px; line-height: 17px; }
/* "Fixed for the trial": the study cart's lock, in the card's head. */
.cart-trial-fixed {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
    background: #f3f5f4; border: 1px solid #dfe5e1; font: 600 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted);
}

/* Per property: a card per license group. */
.cart-trial-group { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.cart-trial-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; }
.cart-trial-group__title { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-trial-group__eyebrow { font: 700 11px/17.6px "Inter", system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--cart-green); }
.cart-trial-group__name { margin: 0; font: 700 22px/30px "Ubuntu", system-ui, sans-serif; color: var(--cart-ink-strong); }
.cart-trial-group__covers { margin: 2px 0 0; font: 400 14px/22.4px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-trial-group .cart-pills { padding-bottom: 0; }
.cart-trial-facts {
    margin: 0; padding-top: 16px; border-top: 1px solid var(--cart-line-input);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.cart-trial-facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-trial-facts dt { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-trial-facts dd { margin: 0; font: 700 17px/24px "Inter", system-ui, sans-serif; color: var(--cart-ink-strong); }
.cart-trial-price {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px;
    padding-top: 16px; border-top: 1px solid var(--cart-line-input);
}
.cart-trial-price__text { display: flex; flex-direction: column; min-width: 0; }
.cart-trial-price__label { font: 400 13px/20.8px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-trial-price__then { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-trial-price__figures { display: flex; align-items: baseline; gap: 12px; margin-left: auto; }
.cart-trial__was { font: 400 14px/22px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-trial-price__now { font: 700 26px/32px "Inter", system-ui, sans-serif; color: var(--cart-green); white-space: nowrap; }

/* Per study: the study cart's products, read-only — the trial's own marked, the others dimmed at 0. */
.cart-trial-pack { padding: 14px 16px; }
.cart-trial-pack--included { margin-top: 0; border: 1px solid #b7dbc6; border-radius: 10px; background: var(--cart-green-soft); }
.cart-trial-pack--included + .cart-trial-pack { margin-top: 8px; }
.cart-trial-pack--other .cart-pack__name { color: var(--cart-muted); }
.cart-trial-pack--other .cart-pack__sub,
.cart-trial-pack--other .cart-qty-static,
.cart-trial-pack__none { color: #5f7268; }
.cart-trial-pack__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cart-trial-pack__amount { min-width: 100px; display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.cart-trial-pack__amount .cart-trial__was { font-size: 13px; line-height: 20px; }
.cart-trial-pack__now { font: 700 18px/24px "Inter", system-ui, sans-serif; color: var(--cart-green); white-space: nowrap; }
/* A stepper nobody can use: the study cart's control, greyed, its buttons disabled. */
.cart-stepper--fixed { border-color: #dfe5e1; background: #f3f5f4; }
.cart-stepper--fixed .cart-step {
    display: flex; align-items: center; justify-content: center; background: #eceeed; color: #a3b1a9; cursor: not-allowed;
}

.cart-trial__customize .cart-link { min-height: 44px; }
.cart-trial__details-first { padding-bottom: 12px; }
.cart-trial__back { align-self: flex-start; }

/* The summary's timeline: today, the reminder, the trial's end — top to bottom, each dot joined to the
   next by a line. */
.cart-trial-timeline {
    list-style: none; margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; background: #ffffff;
    border: 1px solid var(--cart-line-soft); display: flex; flex-direction: column;
}
.cart-trial-timeline li { position: relative; display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 12px; padding-bottom: 14px; }
.cart-trial-timeline li:last-child { padding-bottom: 0; }
.cart-trial-timeline li:not(:last-child)::before {
    content: ""; position: absolute; left: 4px; top: 14px; bottom: -4px; width: 2px; background: var(--cart-green); opacity: .3;
}
.cart-trial-timeline__dot { grid-column: 1; grid-row: 1 / span 2; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--cart-green); background: #ffffff; }
.cart-trial-timeline__when, .cart-trial-timeline__what { grid-column: 2; }
.cart-trial-timeline__dot--now { background: var(--cart-green); }
.cart-trial-timeline__when { font: 700 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-ink); }
.cart-trial-timeline__what { font: 400 12px/18px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
.cart-trial__note { margin-top: 14px; }
.cart-trial__foot { margin-top: 14px; }
.cart-trial__next { margin: 12px 0 0; font: 400 12px/19.2px "Inter", system-ui, sans-serif; color: var(--cart-muted); }
