.flow-shell { max-width: 1240px; margin: 0 auto; padding: 34px 36px 64px; }
.flow-back { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--s2c-graphite); margin-bottom: 34px; }
.flow-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 32px; }
.flow-heading > .eyebrow, .flow-heading > h1, .flow-heading > p { width: 100%; }
.flow-heading .eyebrow { margin-bottom: 10px; }
.flow-heading h1 { font-size: 38px; letter-spacing: -1.5px; line-height: 1.15; }
.flow-heading p { color: var(--s2c-graphite); font-size: 14px; margin-top: 12px; }
.flow-heading .file-name { overflow-wrap: anywhere; }
.upload-page .flow-heading { gap: 0; }
.upload-page .flow-heading h1 { font-size: 49px; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 58px; align-items: start; }
.upload-card { background: white; border: 1px solid var(--s2c-border); padding: 25px; border-radius: 16px; }
.guest-dropzone { position: relative; min-height: 335px; padding: 35px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; border: 1.5px dashed #93b9ed; border-radius: 11px; background: #f5f9ff; transition: background .2s, border-color .2s; }
.guest-dropzone:hover { background: #e8f1ff; border-color: var(--s2c-blue); }
.guest-dropzone:focus-within { outline: 3px solid var(--s2c-blue); outline-offset: 4px; }
.guest-dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.guest-dropzone.upload-busy input { cursor: wait; }
.large-file-icon { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid var(--s2c-border); background: white; border-radius: 18px; margin-bottom: 8px; color: var(--s2c-action); }
.large-file-icon .mud-icon-root { font-size: 37px; }
.guest-dropzone h2 { font-size: 20px; max-width: 100%; overflow-wrap: anywhere; }
.guest-dropzone p { font-size: 12px; color: var(--s2c-muted); max-width: 100%; overflow-wrap: anywhere; }
.upload-picker { display: inline-flex; gap: 20px; padding: 11px 20px; border-radius: 7px; color: white; background: var(--s2c-action); font-size: 12px; font-weight: 600; margin: 8px 0; }
.file-types { font-size: 10px; color: var(--s2c-muted); }
.upload-reassurance { display: flex; align-items: flex-start; gap: 10px; color: var(--s2c-muted); font-size: 11px; line-height: 1.8; padding: 20px 8px 0; }
.upload-reassurance > svg { flex: none; margin-top: 4px; }
.upload-status { font-size: 12px; margin-top: 10px; color: var(--s2c-graphite); }
.upload-next { padding: 18px 0; }
.upload-next ol { list-style: none; padding: 0; margin: 30px 0; }
.upload-next li { display: flex; gap: 18px; padding-bottom: 27px; }
.upload-next li > span { font-family: 'Space Grotesk', sans-serif; font-size: 23px; color: var(--s2c-blue); line-height: 1.2; }
.upload-next h3 { font-size: 14px; margin-bottom: 8px; }
.upload-next p { font-size: 12px; color: var(--s2c-graphite); line-height: 1.8; }
.upload-tip { display: flex; gap: 13px; padding: 20px; background: #edf6fa; border: 1px solid #d6e9ee; border-radius: 9px; }
.upload-tip > svg { flex: none; color: #008c94; }
.upload-tip p { color: var(--s2c-graphite); font-size: 11px; }
.flow-steps { display: flex; align-items: center; gap: 15px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--s2c-border); }
.flow-steps span { display: inline-flex; align-items: center; gap: 9px; color: var(--s2c-muted); font-size: 11px; white-space: nowrap; }
.flow-steps b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--s2c-border); border-radius: 50%; font-size: 10px; }
.flow-steps i { flex: 1; height: 1px; background: var(--s2c-border); }
.flow-steps .complete { color: #13868e; }
.flow-steps .complete b { background: #e4f3f5; }
.flow-steps .current { font-weight: 600; color: var(--s2c-action); }
.flow-steps .current b { background: var(--s2c-action); border-color: var(--s2c-action); color: white; }
.guest-session-badge { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 5px; color: var(--s2c-graphite); font-size: 10px; background: var(--s2c-tint); }
.guest-session-badge svg { font-size: 13px; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1fr); gap: 27px; align-items: start; }
.drawing-stage { background: white; border: 1px solid var(--s2c-border); border-radius: 12px; overflow: hidden; position: sticky; top: 24px; }
.drawing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--s2c-border); }
.drawing-toolbar > span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--s2c-graphite); min-width: 0; overflow-wrap: anywhere; }
.drawing-toolbar .mud-button { font-size: 10px; flex: none; }
.drawing-paper { background-color: var(--s2c-paper); background-image: linear-gradient(#dfe6ef 1px, transparent 1px), linear-gradient(90deg, #dfe6ef 1px, transparent 1px); background-size: 24px 24px; min-height: 440px; display: grid; place-items: center; padding: 28px; }
.drawing-paper img { display: block; width: 100%; max-height: 570px; object-fit: contain; box-shadow: 0 3px 18px #0d1b2a14; background: white; }
.source-document { width: 100%; min-width: 0; }
.source-document object { display: block; width: 100%; height: 520px; max-height: 65vh; border: 0; background: white; }
.source-document > a { display: block; font-size: 12px; color: var(--s2c-action); margin-top: 15px; text-decoration: underline; }
.source-document > small { display: block; font-size: 10px; color: var(--s2c-graphite); line-height: 1.7; margin-top: 8px; }
.source-document object p { padding: 25px; color: var(--s2c-graphite); font-size: 13px; }
.drawing-caption-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--s2c-muted); font-size: 8px; padding: 13px 16px; }
.drawing-caption-bar span:last-child { font-size: 7px; letter-spacing: 1px; }
.review-controls { background: white; padding: 26px; border: 1px solid var(--s2c-border); border-radius: 12px; }
.review-controls h2 { font-size: 23px; letter-spacing: -.7px; }
.review-intro { font-size: 11px; color: var(--s2c-graphite); line-height: 1.8; margin: 12px 0 22px; }
.selection-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; }
.selection-tools .mud-button { font-size: 10px; padding: 6px 0; }
.selection-tools > span { font-size: 10px; color: var(--s2c-muted); }
.view-list { display: flex; flex-direction: column; gap: 10px; }
.view-choice { border: 1px solid var(--s2c-border); border-radius: 8px; background: #ffffff; overflow: hidden; }
.view-choice.selected { border-color: #78aaf1; background: #f1f7ff; }
.view-choice-heading { display: flex; align-items: center; padding: 5px 7px 5px 0; gap: 0; }
.view-choice-heading > .mud-input-control { flex: none; margin: 0; }
.view-focus { background: none; border: none; display: flex; align-items: center; text-align: left; gap: 11px; padding: 8px 0; flex: 1; min-width: 0; cursor: pointer; color: var(--s2c-action); font-family: inherit; }
.view-focus > svg { font-size: 18px; flex: none; }
.view-focus > span { min-width: 0; flex: 1; }
.view-focus strong { display: block; color: var(--s2c-navy); font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.view-focus small { display: block; font-size: 9px; color: var(--s2c-muted); margin-top: 4px; }
.view-focus > svg:last-child { width: 14px; color: var(--s2c-muted); }
.view-fields { padding: 0 14px 16px; border-top: 1px solid #d8e6f7; }
.view-fields .mud-input { font-size: 12px; }
.view-fields .mud-input-label { font-size: 12px; }
.view-fields > small { display: block; color: var(--s2c-graphite); font-size: 10px; line-height: 1.7; margin-top: 8px; }
.view-fields details { margin-top: 12px; }
.view-fields summary { font-size: 11px; color: var(--s2c-graphite); cursor: pointer; }
.view-fields details small { display: block; color: var(--s2c-muted); font-size: 10px; line-height: 1.7; margin-top: 8px; }
.selection-summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 10px; font-size: 11px; gap: 12px; }
.selection-summary strong { font-size: 13px; font-weight: 600; }
.review-controls > .mud-input-control .mud-typography { font-size: 10px; line-height: 1.6; }
.review-controls > .mud-button { font-size: 11px; margin-top: 12px; }
.subtle { color: var(--s2c-muted); font-size: 10px; line-height: 1.8; margin-top: 14px; }
.processing-status { padding: 20px 2px; }
.processing-orbit { display: block; margin: 0 0 26px; }
.processing-status h2 { font-size: 26px; margin: 13px 0 16px; }
.processing-status > p { color: var(--s2c-graphite); font-size: 12px; line-height: 1.8; }
.processing-status > .subtle { font-size: 11px; }
.retention-note { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; color: var(--s2c-muted); margin-top: 25px; line-height: 1.8; }
.retention-note svg { flex: none; font-size: 15px; margin-top: 2px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, 1fr); gap: 44px; align-items: start; }
.checkout-preview { border-radius: 13px; background: var(--s2c-tint); padding: 35px; border: 1px solid var(--s2c-border); }
.checkout-preview img { width: 100%; max-height: 400px; object-fit: contain; display: block; background: white; border-radius: 5px; }
.checkout-preview > .checkout-confirmed { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: #087d89; font-size: 13px; line-height: 1.8; }
.checkout-preview > .checkout-confirmed svg { font-size: 30px; }
.checkout-card { border: 1px solid var(--s2c-border); border-radius: 13px; background: white; padding: 33px; }
.checkout-card h2 { margin: 12px 0 24px; font-size: 25px; }
.checkout-line { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 12px; padding: 15px 0; border-bottom: 1px solid var(--s2c-border); }
.checkout-line > span { color: var(--s2c-graphite); }
.checkout-line > strong { font-weight: 500; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; padding: 25px 0 20px; font-size: 13px; gap: 12px; }
.checkout-total > strong { font-size: 22px; letter-spacing: -.5px; text-align: right; }
.checkout-notice { padding: 15px; border-radius: 7px; background: #f5f3e6; color: #79734c; font-size: 11px; line-height: 1.8; margin: 0 0 20px; }
.mollie-note { display: flex; gap: 7px; align-items: center; justify-content: center; font-size: 10px; color: var(--s2c-muted); margin: 20px 0 10px; }
.mollie-note strong { color: var(--s2c-navy); font-weight: 700; font-size: 17px; letter-spacing: -.6px; }
.checkout-smallprint { color: var(--s2c-muted); font-size: 10px; line-height: 1.8; text-align: center; }
.payment-complete { text-align: center; padding: 55px 28px; border-radius: 15px; background: white; border: 1px solid var(--s2c-border); display: flex; flex-direction: column; align-items: center; gap: 17px; }
.paid-check { border-radius: 50%; width: 70px; height: 70px; background: #d9f4f2; color: #007d80; display: grid; place-items: center; margin-bottom: 12px; }
.payment-complete h2 { font-size: 34px; letter-spacing: -1px; }
.payment-complete p { font-size: 14px; line-height: 1.8; color: var(--s2c-graphite); }
.payment-complete .mud-button { margin-top: 15px; }
.payment-complete small { font-size: 11px; color: var(--s2c-muted); }
.flow-empty { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 25px; }
.flow-empty h1 { font-size: 32px; }
.flow-empty p { color: var(--s2c-graphite); font-size: 14px; }
.guest-help { max-width: 850px; }
.help-card { padding: 20px 28px; border: 1px solid var(--s2c-border); border-radius: 12px; background: white; }
.help-card .mud-expand-panel-header { padding: 20px 0; font-size: 14px; }
.help-card .mud-expand-panel-content { padding: 0 0 25px; font-size: 13px; color: var(--s2c-graphite); line-height: 1.9; }
@media (max-width: 980px) {
    .upload-layout { gap: 28px; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); }
    .review-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
    .review-controls { padding: 20px; }
    .drawing-paper { padding: 18px; min-height: 340px; }
    .checkout-layout { gap: 22px; }
    .checkout-card { padding: 25px; }
}
@media (max-width: 760px) {
    .flow-shell { padding: 26px 20px 45px; }
    .flow-back { margin-bottom: 27px; font-size: 11px; }
    .flow-heading h1 { font-size: 32px; }
    .upload-page .flow-heading h1 { font-size: 39px; }
    .flow-heading p { font-size: 12px; line-height: 1.8; }
    .upload-layout, .review-layout, .checkout-layout { grid-template-columns: 1fr; gap: 25px; }
    .upload-card { padding: 18px; }
    .guest-dropzone { min-height: 310px; padding: 28px 17px; }
    .guest-dropzone h2 { font-size: 19px; }
    .guest-dropzone p { font-size: 11px; }
    .upload-next { padding: 6px; }
    .upload-next ol { margin: 22px 0; }
    .upload-next li { padding-bottom: 22px; }
    .flow-steps { gap: 6px; margin-bottom: 25px; padding-bottom: 23px; }
    .flow-steps span { white-space: normal; flex-direction: column; align-items: center; text-align: center; gap: 7px; font-size: 9px; flex: 1; }
    .flow-steps i { min-width: 5px; max-width: 15px; }
    .flow-steps b { width: 22px; height: 22px; }
    .guest-session-badge { font-size: 9px; }
    .drawing-stage { position: static; }
    .drawing-paper { min-height: 270px; padding: 20px; }
    .drawing-paper img { max-height: 430px; }
    .drawing-caption-bar { font-size: 7px; }
    .drawing-caption-bar span:last-child { font-size: 6px; }
    .review-controls { padding: 24px; }
    .view-focus strong { font-size: 12px; }
    .view-fields .mud-input, .view-fields .mud-input-label { font-size: 13px; }
    .checkout-preview { padding: 25px; }
    .checkout-preview img { max-height: 250px; }
    .checkout-preview > div { font-size: 12px; }
    .checkout-card { padding: 27px; }
    .checkout-total > strong { font-size: 21px; }
    .payment-complete h2 { font-size: 29px; }
    .payment-complete p { font-size: 12px; }
    .retention-note { font-size: 9px; }
    .help-card { padding: 12px 22px; }
    .help-card .mud-expand-panel-header { font-size: 13px; }
    .help-card .mud-expand-panel-content { font-size: 12px; }
}
