.onb-short-order {
    --onb-short-brand: #079447;
    --onb-short-brand-dark: #05743a;
    --onb-short-ink: #17212b;
    --onb-short-muted: #5e6b78;
    --onb-short-line: #dce3e8;
    --onb-short-danger: #b42318;
    width: 100%; margin: 36px 0 48px; color: var(--onb-short-ink); line-height: 1.5;
}
.onb-short-order, .onb-short-order * { box-sizing: border-box; }
.onb-short-order button, .onb-short-order input, .onb-short-order select,
.onb-short-order textarea, .onb-short-order summary { font: inherit; }
.onb-short-order button, .onb-short-order summary, .onb-short-order label[for],
.onb-short-order__plan, .onb-short-order__file-picker { cursor: pointer; }

.onb-short-order__intro { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.onb-short-order__eyebrow, .onb-short-order__kicker {
    margin: 0 0 7px; color: var(--onb-short-brand-dark); font-size: 13px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.onb-short-order__intro h2 { margin: 0; color: var(--onb-short-ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.onb-short-order__lead { max-width: 650px; margin: 13px auto 0; color: var(--onb-short-muted); font-size: 17px; }
.onb-short-order__facts {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none;
}
.onb-short-order__facts li {
    padding: 7px 12px; border: 1px solid #cfe2d6; border-radius: 999px;
    color: #255337; background: #f7fbf8; font-size: 14px; font-weight: 700;
}

.onb-short-order__card {
    max-width: 820px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(17, 70, 42, .13);
    border-radius: 16px; background: #fff; box-shadow: 0 16px 42px rgba(27, 48, 38, .12);
}
.onb-short-order__card-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 27px 34px 20px;
}
.onb-short-order__card-header h3 { margin: 0; color: var(--onb-short-ink); font-size: 27px; line-height: 1.2; }
.onb-short-order__step-count { flex: 0 0 auto; margin: 4px 0 0; color: var(--onb-short-muted); font-weight: 700; }

.onb-short-order__progress {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0 34px 25px; list-style: none;
}
.onb-short-order__progress li { position: relative; min-width: 0; color: #7a8793; font-size: 14px; }
.onb-short-order__progress button {
    display: flex; width: 100%; min-width: 0; padding: 0; align-items: center; gap: 9px;
    border: 0; color: inherit; background: transparent; text-align: left;
}
.onb-short-order__progress li::after {
    position: absolute; right: 8px; bottom: -12px; left: 0; height: 3px;
    border-radius: 999px; background: #e8edef; content: "";
}
.onb-short-order__progress span {
    display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center;
    border: 1px solid #d2dade; border-radius: 50%; background: #fff; font-weight: 700;
}
.onb-short-order__progress strong { overflow: hidden; text-overflow: ellipsis; }
.onb-short-order__progress li.is-current, .onb-short-order__progress li.is-complete { color: var(--onb-short-brand-dark); }
.onb-short-order__progress li.is-current::after, .onb-short-order__progress li.is-complete::after { background: var(--onb-short-brand); }
.onb-short-order__progress li.is-current span, .onb-short-order__progress li.is-complete span {
    border-color: var(--onb-short-brand); color: #fff; background: var(--onb-short-brand);
}

.onb-short-order__form { border-top: 1px solid var(--onb-short-line); }
.onb-short-order__step { min-width: 0; margin: 0; padding: 30px 34px 16px; border: 0; }
.onb-short-order__step[hidden] { display: none; }
.onb-short-order__step legend {
    display: block; width: 100%; margin: 0; padding: 0; color: var(--onb-short-ink); font-size: 24px;
    font-weight: 700; line-height: 1.25;
}
.onb-short-order__step legend:focus { outline: none; }
.onb-short-order__note { margin: 8px 0 24px; color: var(--onb-short-muted); }

.onb-short-order__field { min-width: 0; margin-bottom: 20px; }
.onb-short-order__field label { display: block; margin-bottom: 7px; color: var(--onb-short-ink); font-weight: 700; }
.onb-short-order__field label span[aria-hidden] { color: var(--onb-short-danger); }
.onb-short-order__optional { color: var(--onb-short-muted); font-size: 13px; font-weight: 400; }
.onb-short-order__field input, .onb-short-order__field select, .onb-short-order__field textarea {
    display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #bbc6cc;
    border-radius: 8px; color: var(--onb-short-ink); background: #fff; outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.onb-short-order__field textarea { resize: vertical; }
.onb-short-order__field input:focus, .onb-short-order__field select:focus,
.onb-short-order__field textarea:focus, .onb-short-order__optional-fields summary:focus-visible,
.onb-short-order__progress button:focus-visible, .onb-short-order__button:focus-visible,
.onb-short-order__plan:has(input:focus-visible), .onb-short-order__file-picker:focus-within {
    border-color: var(--onb-short-brand); box-shadow: 0 0 0 3px rgba(7, 148, 71, .16); outline: none;
}
.onb-short-order__field .was-invalid {
    border-color: var(--onb-short-danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1);
}
.onb-short-order__help { margin: 6px 0 0; color: var(--onb-short-muted); font-size: 13px; }
.onb-short-order__grid { display: grid; gap: 18px; }
.onb-short-order__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.onb-short-order__file-picker {
    display: flex !important; min-height: 70px; padding: 14px 16px; align-items: center; justify-content: space-between;
    gap: 18px; border: 1px dashed #8db69d; border-radius: 10px; color: var(--onb-short-brand-dark) !important;
    background: #f5f9f6;
}
.onb-short-order__file-picker span { color: var(--onb-short-muted); font-size: 13px; }
.onb-short-order__file-list {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none;
}
.onb-short-order__file-list li {
    position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--onb-short-line);
    border-radius: 9px; background: #f2f5f3;
}
.onb-short-order__file-preview { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; }
.onb-short-order__file-list img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e5ebe7; }
.onb-short-order__file-meta {
    display: block; overflow: hidden; padding: 6px 8px; color: var(--onb-short-muted); font-size: 10px;
    text-overflow: ellipsis; white-space: nowrap;
}
.onb-short-order__file-remove {
    position: absolute; top: 5px; right: 5px; display: grid; width: 28px; height: 28px; padding: 0;
    place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(23, 33, 43, .82);
    font-size: 19px; line-height: 1;
}
.onb-short-order__file-remove:hover, .onb-short-order__file-remove:focus-visible { background: var(--onb-short-danger); }

.onb-short-order__dialog {
    width: min(92vw, 900px); max-height: 90vh; padding: 0; overflow: hidden; border: 0;
    border-radius: 14px; color: var(--onb-short-ink); background: #101713; box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.onb-short-order__dialog:not([open]) { display: none; }
.onb-short-order__dialog::backdrop { background: rgba(9, 17, 13, .78); }
.onb-short-order__dialog img { display: block; width: 100%; max-height: calc(90vh - 48px); object-fit: contain; }
.onb-short-order__dialog p { margin: 0; padding: 12px 52px 12px 16px; color: #fff; background: #101713; font-size: 13px; }
.onb-short-order__dialog-close {
    position: absolute; top: 10px; right: 10px; display: grid; width: 38px; height: 38px; padding: 0;
    place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .72);
    font-size: 26px; line-height: 1;
}
.onb-short-order__dialog-close:hover, .onb-short-order__dialog-close:focus-visible { background: var(--onb-short-danger); }

.onb-short-order__optional-fields {
    margin: 2px 0 12px; padding: 14px 16px 0; border: 1px solid var(--onb-short-line);
    border-radius: 10px; background: #fbfcfb;
}
.onb-short-order__optional-fields summary { margin-bottom: 14px; color: var(--onb-short-brand-dark); font-weight: 700; }

.onb-short-order__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.onb-short-order__plan {
    display: block; min-width: 0; padding: 16px; border: 2px solid var(--onb-short-line);
    border-radius: 12px; color: var(--onb-short-ink); background: #fff;
    transition: border-color .15s, background .15s, transform .15s;
}
.onb-short-order__plan:hover { border-color: #92bba1; transform: translateY(-1px); }
.onb-short-order__plan.is-selected { border-color: var(--onb-short-brand); background: #f3faf6; }
.onb-short-order__plan input { position: absolute; opacity: 0; pointer-events: none; }
.onb-short-order__plan-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.onb-short-order__plan-top strong { font-size: 18px; }
.onb-short-order__plan-top b { white-space: nowrap; }
.onb-short-order__plan > span:last-child { display: block; color: var(--onb-short-muted); font-size: 13px; }

.onb-short-order__summary { margin-top: 20px; padding: 18px; border-radius: 12px; background: #f4f7f5; }
.onb-short-order__summary h4 { margin: 0 0 12px; color: var(--onb-short-ink); font-size: 18px; }
.onb-short-order__summary dl { margin: 0; }
.onb-short-order__summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; }
.onb-short-order__summary dt { color: var(--onb-short-muted); font-weight: 400; }
.onb-short-order__summary dd { margin: 0; font-weight: 700; }
.onb-short-order__summary-total {
    margin-top: 7px; padding-top: 13px !important; border-top: 1px solid #d2dcd6; font-size: 20px;
}
.onb-short-order__summary-total dd { color: var(--onb-short-brand-dark); }
.onb-short-order__consent { margin: 18px 0 0; color: var(--onb-short-muted); font-size: 13px; }
.onb-short-order__consent a { color: var(--onb-short-brand-dark); }

.onb-short-order__actions { display: flex; justify-content: flex-end; gap: 12px; padding: 20px 34px 28px; }
.onb-short-order__button {
    min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; font-weight: 700;
}
.onb-short-order__button--primary { color: #fff; background: var(--onb-short-brand); }
.onb-short-order__button--primary:hover { color: #fff; background: var(--onb-short-brand-dark); }
.onb-short-order__button--secondary { border-color: #bcc8ce; color: #3f4d59; background: #fff; }
.onb-short-order__result {
    display: flex; flex-direction: column; gap: 4px; margin: 0 34px 28px; padding: 14px 16px;
    border: 1px solid #9dc9ad; border-radius: 8px; color: #18552f; background: #edf8f1;
}
.onb-short-order__result[hidden] { display: none; }
.onb-short-order__result span { font-size: 14px; }
.onb-short-order__visually-hidden {
    position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
    clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important;
}

@media (max-width: 680px) {
    .onb-short-order { margin: 26px 0 38px; }
    .onb-short-order__intro { text-align: left; }
    .onb-short-order__lead { font-size: 16px; }
    .onb-short-order__facts { justify-content: flex-start; }
    .onb-short-order__card { border-radius: 12px; }
    .onb-short-order__card-header { padding: 22px 18px 18px; }
    .onb-short-order__card-header h3 { font-size: 23px; }
    .onb-short-order__step-count { font-size: 13px; }
    .onb-short-order__progress { padding: 0 18px 24px; }
    .onb-short-order__progress li { font-size: 11px; }
    .onb-short-order__progress button { display: block; }
    .onb-short-order__progress span { margin-bottom: 6px; }
    .onb-short-order__step { padding: 26px 18px 10px; }
    .onb-short-order__step legend { font-size: 22px; }
    .onb-short-order__grid--two, .onb-short-order__plans { grid-template-columns: 1fr; }
    .onb-short-order__file-picker { align-items: flex-start; flex-direction: column; gap: 3px; }
    .onb-short-order__file-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .onb-short-order__actions {
        position: sticky; bottom: 0; z-index: 2; padding: 14px 18px;
        border-top: 1px solid var(--onb-short-line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    }
    .onb-short-order__actions .onb-short-order__button { flex: 1 1 auto; padding-right: 14px; padding-left: 14px; }
    .onb-short-order__result { margin: 14px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .onb-short-order *, .onb-short-order *::before, .onb-short-order *::after {
        scroll-behavior: auto !important; transition: none !important;
    }
}
