:root {
    color-scheme: light;
    --ink: #1E293B;
    --muted: #64748B;
    --soft: #94A3B8;
    --line: var(--brand-border);
    --panel: #FFFFFF;
    --page: #FAFAFA;
    --accent: var(--brand-blue);
    --accent-soft: var(--brand-blue-light);
    --success: var(--brand-green);
    --success-soft: var(--brand-green-light);
    --warning-bg: var(--brand-yellow-light);
    --warning-line: #d4c090;
}

* {
    box-sizing: border-box;
}

body.guest-order-page {
    margin: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--page);
    line-height: 1.7;
}

#jp-header {
    flex: 0 0 auto;
}

.guest-shell {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
    padding: 78px 0 72px;
}

.guest-main,
.status-shell {
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 13px;
}

.brand img {
    width: 24px;
    height: 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 5px 12px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.source-referral-note {
    max-width: 720px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.source-referral-note strong {
    color: var(--ink);
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

h1 {
    margin: 0;
    max-width: 720px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.guest-main > h1,
.guest-main > .lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h2 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 18px;
    font-weight: 700;
}

.lead {
    max-width: 720px;
    margin: 12px 0 22px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.split-lines span {
    display: block;
}

.sample-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: baseline;
    margin: 0 0 0 8px;
    white-space: nowrap;
    padding: 3px 12px;
    border: 1px solid var(--accent);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--muted);
    box-shadow: 0 1px 0 0 var(--soft);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.sample-report-btn:hover {
    border-color: var(--success);
    background: #FFFFFF;
}

.sample-pdf-frame {
    display: none;
    max-width: 760px;
    margin: 0 0 22px;
    position: relative;
    z-index: 2;
}

.sample-pdf-frame.is-visible {
    display: block;
}

.sample-pdf-container {
    background: #e5e7eb;
    border: 1px solid var(--ink);
    border-radius: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: min(92vh, 980px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.sample-pdf-page {
    display: block;
    width: calc(100% - 16px);
    height: auto;
    margin: 6px auto;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.order-form,
.report-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.order-form {
    max-width: 720px;
    padding: 14px 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: 0.72fr 0.95fr 1fr;
    gap: 8px;
}

label {
    display: grid;
    gap: 4px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.wide {
    grid-column: 1 / -1;
}

input {
    width: 100%;
    min-height: 30px;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 4px 8px;
    color: var(--ink);
    background: #FFFFFF;
    font: inherit;
    font-size: 13px;
}

input:focus {
    outline: 3px solid rgba(104, 145, 179, 0.18);
    border-color: var(--accent);
}

.suggest-field {
    position: relative;
    display: block;
}

.suggest-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.suggest-item {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.suggest-item:last-child {
    border-bottom: 0;
}

.suggest-item:hover,
.suggest-item:focus {
    outline: 0;
    background: var(--accent-soft);
}

.suggest-item strong {
    font-weight: 800;
}

.suggest-status {
    display: block;
    padding: 11px 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.suggest-item span {
    color: var(--muted);
}

.email-hint {
    margin: 5px 0 -2px;
    padding: 8px 10px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.email-hint.is-hidden {
    display: none;
}

.email-hint span {
    display: block;
}

.email-field {
    padding: 8px;
    border: 1px solid var(--success);
    border-radius: 10px;
    background: #FFFFFF;
}

.email-field input {
    border-color: var(--success);
}

.email-field input:focus {
    outline-color: rgba(126, 159, 116, 0.22);
    border-color: var(--success);
}

.email-field--pro {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.email-field--pro input {
    border-color: var(--accent);
}

.email-field--pro input:focus {
    outline-color: rgba(104, 145, 179, 0.22);
    border-color: var(--accent);
}

.parcel-field input {
    border-color: var(--accent);
    background: #FFFFFF;
}

.parcel-field input:focus {
    outline-color: rgba(104, 145, 179, 0.22);
    border-color: var(--accent);
}

.parcel-derived-field input {
    border-color: var(--brand-border);
    background: #FFFFFF;
}

.parcel-derived-field input:focus {
    border-color: var(--accent);
}

.alert,
.form-error {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-line);
    color: #7a6040;
    font-size: 13px;
}

.form-error {
    margin-top: 14px;
    background: #fff0ef;
    border-color: #f2b7b1;
    color: #8f352e;
}

.summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0;
}

.summary > div,
.summary-product {
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #F8FAFC;
}

.product-section-title {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.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;
}

.summary-product {
    margin: 0;
    padding: 10px;
}

.summary > div > span,
.summary-product legend {
    display: block;
    width: 100%;
    padding: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summary-product legend {
    float: left;
    margin-bottom: 2px;
}

.summary-product legend + .product-option {
    clear: both;
}

.summary > div > strong {
    display: block;
    margin-top: 2px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.product-option {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-option:has(input:checked),
.product-option.is-selected {
    border-color: var(--success);
    background: var(--success-soft);
    box-shadow: 0 0 0 2px rgba(126, 159, 116, 0.16);
}

.product-option:has(input[value="preview"]:checked),
.product-option.is-preview-selected {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow-light);
    box-shadow: 0 0 0 2px rgba(200, 178, 122, 0.16);
}

.product-option:has(input[value="full"]:checked),
.product-option.is-full-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 2px rgba(104, 145, 179, 0.16);
}

.product-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-option-copy,
.product-option-head,
.product-option small {
    display: block;
}

.product-option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.product-option strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.product-option b {
    flex: 0 0 auto;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.product-option small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.product-detail {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(100, 116, 139, 0.18);
}

.product-option.is-expanded .product-detail {
    display: block;
}

.product-detail-intro {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.report-detail-location {
    font-weight: 400;
}

.report-detail-location--mobile {
    display: none;
}

.product-detail-list {
    display: grid;
    gap: 6px;
}

.product-detail-list span {
    position: relative;
    display: block;
    padding-left: 15px;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.42;
}

.product-detail-list span::before {
    content: "";
    position: absolute;
    top: 0.63em;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--success);
}

.product-option:has(input[value="full"]:checked) .product-detail-list span::before,
.product-option.is-full-selected .product-detail-list span::before {
    background: var(--accent);
}

.summary > .account-cta,
.summary-product .product-benefit {
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #F8FAFC;
}

.summary > .account-cta > span {
    margin-bottom: 4px;
}

.account-cta p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.account-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-left: 6px;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #F8FAFC;
    color: var(--ink);
    box-shadow: 0 1px 0 0 var(--line);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.account-cta a:hover {
    border-color: var(--success);
}

.account-cta strong {
    color: var(--ink);
    font-weight: 800;
}

.payment-note {
    margin: 4px 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #F8FAFC;
    color: #475569;
    font-size: 13px;
}

.check {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 9px;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.45;
}

.check-optional {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #F8FAFC;
}

.check input {
    min-height: 0;
    height: 17px;
    margin-top: 2px;
}

#submit-order,
.status-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 18px;
    border: 1px solid var(--brand-yellow);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--ink);
    background: var(--warning-bg);
    box-shadow: 0 1px 0 0 var(--brand-yellow);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

#submit-order {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#submit-order[data-product="preview"] {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow-light);
    box-shadow: 0 1px 0 0 var(--brand-yellow);
}

#submit-order[data-product="light"] {
    border-color: var(--brand-green);
    background: var(--brand-green-light);
    box-shadow: 0 1px 0 0 var(--brand-green);
}

#submit-order[data-product="full"] {
    border-color: var(--brand-blue);
    background: var(--brand-blue-light);
    box-shadow: 0 1px 0 0 var(--brand-blue);
}

#submit-order[data-product="preview"]:hover { background: var(--brand-yellow-light); }
#submit-order[data-product="light"]:hover { background: var(--brand-green-light); }
#submit-order[data-product="full"]:hover { background: var(--brand-blue-light); }

.status-link {
    width: 100%;
}

.status-link:hover {
    background: #fff8e6;
    border-color: #b79b53;
}

#submit-order:disabled {
    background: #F8FAFC;
    color: var(--soft);
    border-color: #CBD5E1;
    cursor: wait;
}

.fineprint {
    margin: 10px 0 0;
    color: var(--soft);
    font-size: 12px;
    line-height: 1.45;
}

.guest-aside {
    align-self: start;
}

.report-panel {
    padding: 20px 22px;
}

.report-panel h2 {
    font-size: 24px;
    line-height: 1.15;
    color: var(--ink);
}

.panel-intro {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.pillar-list {
    display: grid;
    gap: 8px;
}

.pillar-list div {
    display: grid;
    gap: 2px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.pillar-list div:nth-child(1)  { border-bottom-color: var(--brand-blue); }
.pillar-list div:nth-child(2)  { border-bottom-color: var(--brand-red); }
.pillar-list div:nth-child(3)  { border-bottom-color: var(--brand-violet); }
.pillar-list div:nth-child(4)  { border-bottom-color: var(--brand-yellow); }
.pillar-list div:nth-child(5)  { border-bottom-color: var(--brand-green); }
.pillar-list div:nth-child(6)  { border-bottom-color: var(--brand-violet); }
.pillar-list div:nth-child(7)  { border-bottom-color: var(--brand-yellow); }
.pillar-list div:nth-child(8)  { border-bottom-color: var(--brand-green); }
.pillar-list div:nth-child(9)  { border-bottom-color: var(--brand-violet); }
.pillar-list div:nth-child(10) { border-bottom-color: var(--brand-red); }
.pillar-list div:nth-child(11) { border-bottom-color: var(--brand-blue); }
.pillar-list div:nth-child(12) { border-bottom-color: var(--brand-green); }
.pillar-list div:nth-child(13) { border-bottom-color: var(--brand-yellow); }

.pillar-list div:last-child {
    border-bottom: 0;
}

.pillar-list strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.pillar-list span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.status-shell {
    width: min(760px, calc(100% - 48px));
    flex: 1 0 auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 96px 0 72px;
}

.status-shell .eyebrow {
    align-self: flex-start;
}

.status-shell--thanks h1 {
    color: var(--brand-yellow);
}

.status-link {
    width: auto;
    align-self: flex-start;
    min-height: 30px;
    margin-top: 16px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-link--blue {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.75);
    color: var(--muted);
    box-shadow: 0 1px 0 0 var(--soft);
}

.status-link--blue:hover {
    background: #FFFFFF;
    border-color: var(--success);
}

.status-card {
    display: grid;
    gap: 0;
    width: min(620px, 100%);
    margin: 4px 0 2px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.status-card div {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.status-card div:last-child {
    border-bottom: 0;
}

.status-card strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.status-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.status-register {
    width: min(620px, 100%);
    margin: 12px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FFFFFF;
}

.status-register p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.status-register-btn {
    display: inline-flex;
    vertical-align: baseline;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-left: 6px;
    padding: 3px 10px;
    border: 1px solid var(--success);
    border-radius: 20px;
    background: var(--success-soft);
    color: var(--ink);
    box-shadow: 0 1px 0 0 var(--success);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.status-register-btn:hover {
    background: #FFFFFF;
}

.footer {
    flex: 0 0 auto;
    border-top: 1px solid var(--line);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1296px;
    margin: 40px auto 0;
}

.footer span {
    font-size: 13px;
    color: var(--soft);
}

.footer a {
    font-size: 13px;
    color: var(--soft);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--ink);
}

.footer-payment-logos {
    width: 260px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 940px) {
    .guest-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .order-form {
        max-width: none;
    }

    .sample-report-btn {
        margin-left: 0;
        margin-top: 8px;
    }

    .report-detail-location--desktop {
        display: none;
    }

    .report-detail-location--mobile {
        display: inline;
    }
}

@media (max-width: 768px) {
    .guest-shell {
        padding-top: 104px;
    }
}

@media (max-width: 620px) {
    .guest-shell,
    .status-shell {
        width: 100%;
        max-width: 100vw;
        padding-left: 14px;
        padding-right: 14px;
    }

    .field-grid,
    .summary {
        grid-template-columns: 1fr;
    }

    .order-form,
    .report-panel {
        padding: 18px;
    }

    h1 {
        font-size: 25px;
        max-width: 100%;
    }

    .lead,
    .order-form,
    .report-panel,
    .sample-pdf-frame {
        max-width: 100%;
    }

    .account-cta a {
        white-space: nowrap;
    }

}

/* Guest order redesign */
.guest-order-page .guest-shell {
    display: block;
    width: min(1240px, calc(100% - 48px));
    padding: 72px 0 64px;
}

.guest-order-page .guest-main {
    width: 100%;
}

.guest-order-page .source-referral-note {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.guest-order-page .guest-main > h1 {
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.12;
}

.guest-order-page .guest-main > .lead {
    max-width: 760px;
    margin-top: 14px;
    margin-bottom: 32px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 680px);
    gap: 40px;
    align-items: start;
}

.guest-order-page .order-form {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.parcel-summary {
    margin: 0 0 14px;
    padding: 9px 10px;
    border: 1px solid var(--brand-blue);
    border-radius: 10px;
    background: var(--brand-blue-light);
}

.parcel-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.parcel-summary-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.parcel-summary-actions .outline-pill {
    min-height: 22px;
    margin: 0;
    padding: 3px 8px;
    font-size: 10px;
}

.parcel-summary-status {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.3;
}

.parcel-summary-status a {
    color: var(--brand-blue);
    font-weight: 700;
    text-decoration: none;
}

.parcel-summary-status a:hover {
    color: var(--ink);
}

.parcel-summary-main {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 5px;
    padding: 6px 8px;
    border: 1px solid var(--brand-border);
    border-radius: 7px;
    background: #FFFFFF;
}

.parcel-summary-main p {
    display: flex;
    gap: 4px;
    min-width: 0;
    margin: 0;
    color: var(--ink);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.parcel-summary-main p span {
    flex: 0 0 auto;
    color: var(--muted);
}

.parcel-summary-main strong {
    min-width: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.outline-pill,
.tier-detail-link,
.guest-order-page .sample-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid var(--brand-blue);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--ink);
    box-shadow: none;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.outline-pill {
    flex: 0 0 auto;
    margin-left: auto;
}

.parcel-edit-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.parcel-edit-actions .outline-pill {
    margin-left: 0;
}

.minicheck-label,
.minicheck-status {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.minicheck-label {
    padding: 4px 7px;
    background: var(--brand-blue);
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.minicheck-status {
    padding: 3px 7px;
    border: 1px solid var(--brand-green);
    background: var(--brand-green-light);
    color: var(--ink);
    white-space: nowrap;
}

.minicheck-panel.is-loading .minicheck-status {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow-light);
}

.minicheck-panel.has-error .minicheck-status {
    border-color: var(--brand-red);
    background: var(--brand-red-light);
}

.minicheck-scope,
.minicheck-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.minicheck-scope {
    margin: 5px 0;
}

.minicheck-scope strong {
    color: var(--ink);
}

.minicheck-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.minicheck-facts strong {
    color: var(--ink);
    font-weight: 800;
}

.minicheck-more {
    border-top: 1px solid var(--brand-border);
    padding-top: 5px;
}

.minicheck-more summary {
    width: fit-content;
    color: var(--ink);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.minicheck-pillar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 7px;
}

.minicheck-pillar-list span {
    display: inline-flex;
    padding: 3px 7px;
    border: 1px solid var(--brand-blue);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--ink);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.3;
}

.minicheck-note {
    margin: 7px 0 0;
}

.minicheck-retry {
    margin-top: 10px;
    margin-left: 0;
}

.minicheck-retry[hidden] {
    display: none;
}

.outline-pill:hover,
.tier-detail-link:hover,
.guest-order-page .sample-report-btn:hover {
    border-color: var(--ink);
    background: #FFFFFF;
}

.guest-order-page .alert {
    margin: 0 0 16px;
    padding: 11px 13px;
    border-color: var(--brand-blue);
    border-radius: 10px;
    background: var(--brand-blue-light);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.5;
}

.guest-order-page .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-bottom: 18px;
}

.guest-order-page .field-grid[hidden] {
    display: none;
}

.guest-order-page .field-grid label {
    font-size: 11px;
    font-weight: 600;
}

.guest-order-page input {
    min-height: 36px;
    border-radius: 8px;
    padding: 6px 10px;
}

.guest-order-page .summary {
    display: block;
    margin: 0;
}

.guest-order-page .product-section-title {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

.guest-order-page .summary-product {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.guest-order-page .product-option {
    display: block;
    margin: 0;
    padding: 13px 14px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: none;
    cursor: default;
}

.guest-order-page .product-option-select {
    display: block;
    cursor: pointer;
}

.guest-order-page .product-option input[type="radio"],
.guest-order-page .summary-product legend.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.guest-order-page .product-option-select:focus-within {
    outline: 3px solid rgba(104, 145, 179, 0.18);
    outline-offset: 4px;
    border-radius: 8px;
}

.guest-order-page .product-option:has(input:checked),
.guest-order-page .product-option.is-selected {
    box-shadow: none;
}

.guest-order-page .product-option:has(input[value="preview"]:checked),
.guest-order-page .product-option.is-preview-selected {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow-light);
    box-shadow: none;
}

.guest-order-page .product-option:has(input[value="light"]:checked),
.guest-order-page .product-option.is-report-selected {
    border-color: var(--brand-green);
    background: var(--brand-green-light);
    box-shadow: none;
}

.guest-order-page .product-option:has(input[value="full"]:checked),
.guest-order-page .product-option.is-full-selected {
    border-color: var(--brand-blue);
    background: var(--brand-blue-light);
    box-shadow: none;
}

.guest-order-page .product-option-copy {
    display: block;
}

.guest-order-page .product-option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.guest-order-page .product-title {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.guest-order-page .product-title em {
    color: var(--brand-green);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.guest-order-page .product-option strong,
.guest-order-page .product-option b {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
}

.guest-order-page .product-option small {
    margin-top: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.guest-order-page .tier-detail-link {
    display: flex;
    width: fit-content;
    min-height: 24px;
    margin-top: 9px;
    margin-left: auto;
    padding: 3px 10px;
    border-color: var(--brand-border);
    font-size: 10px;
}

.guest-order-page .product-option:has(input[value="preview"]:checked) .tier-detail-link,
.guest-order-page .product-option.is-preview-selected .tier-detail-link {
    border-color: var(--brand-yellow);
}

.guest-order-page .product-option:has(input[value="light"]:checked) .tier-detail-link,
.guest-order-page .product-option.is-report-selected .tier-detail-link {
    border-color: var(--brand-green);
}

.guest-order-page .product-option:has(input[value="full"]:checked) .tier-detail-link,
.guest-order-page .product-option.is-full-selected .tier-detail-link {
    border-color: var(--brand-blue);
}

.guest-order-page .delivery-summary {
    display: flex;
    gap: 5px;
    align-items: baseline;
    margin: 10px 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 11px;
}

.guest-order-page .delivery-summary span {
    color: #475569;
    letter-spacing: 0;
    text-transform: none;
}

.guest-order-page .delivery-summary strong {
    margin: 0;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
}

.guest-order-page .email-hint {
    margin: 0 0 8px;
    padding: 9px 11px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 11px;
}

.guest-order-page .email-hint.is-transferred-parcel {
    display: none;
}

.guest-order-page .email-field {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 12px;
    font-size: 11px;
}

.guest-order-page .payment-note {
    margin: 0 0 12px;
    padding: 10px 11px;
    border-radius: 10px;
    color: #475569;
    font-size: 11px;
    line-height: 1.5;
}

.consent-group {
    display: grid;
    gap: 7px;
}

.guest-order-page .check {
    grid-template-columns: 18px 1fr;
    gap: 7px;
    margin: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.guest-order-page .check input {
    width: 16px;
    height: 16px;
    min-height: 0;
    padding: 0;
}

.guest-order-page .check-optional {
    padding: 8px 9px;
    border-radius: 9px;
}

.guest-order-page .consent-group .fineprint {
    margin: 0 0 0 25px;
    color: #475569;
    font-size: 11px;
}

.guest-order-page #submit-order {
    width: 100%;
    min-height: 44px;
    margin: 16px 0 0;
    border-radius: 999px;
    padding: 9px 18px;
    color: var(--ink);
    font-size: 13px;
}

.guest-order-page .checkout-caption {
    margin: 7px 0 0;
    color: var(--ink);
    font-size: 11px;
    text-align: center;
}

.guest-order-page .free-preview-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.guest-order-page .free-preview-note a {
    color: var(--ink);
    font-weight: 700;
    text-underline-offset: 2px;
}

.report-preview {
    min-width: 0;
}

.report-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.report-preview-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.guest-order-page .report-preview-head .sample-report-btn {
    flex: 0 0 auto;
    margin: 0;
}

.report-preview-pages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.report-preview-pages img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 596 / 842;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.10);
    object-fit: cover;
}

.guest-order-page .sample-pdf-frame {
    width: 100%;
    max-width: 1240px;
    margin: 28px 0 0;
}

.guest-order-page .sample-pdf-container {
    border-color: var(--line);
}

@media (max-width: 1260px) {
    .guest-order-page .guest-shell {
        width: min(760px, calc(100% - 40px));
    }

    .order-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .guest-order-page .order-form {
        width: min(560px, 100%);
        margin: 0 auto;
    }

    .report-preview {
        width: min(560px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .guest-order-page .guest-shell {
        padding-top: 124px;
    }
}

@media (max-width: 620px) {
    .guest-order-page .guest-shell {
        width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .guest-order-page .guest-main > h1 {
        font-size: 28px;
    }

    .guest-order-page .guest-main > .lead {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .parcel-summary-head {
        align-items: flex-start;
    }

    .parcel-summary-actions {
        gap: 4px;
    }

    .minicheck-status {
        max-width: none;
    }

    .outline-pill {
        margin-top: 3px;
        margin-left: 0;
    }

    .guest-order-page .field-grid {
        grid-template-columns: 1fr;
    }

    .report-preview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .guest-order-page .report-preview-head .sample-report-btn {
        align-self: flex-end;
    }
}
