.application-wizard { background: #f4f8fc; padding: 58px 24px 76px; color: #1c293c; }
.application-wizard * { box-sizing: border-box; }
.application-wizard [hidden] { display: none !important; }
.application-wizard__inner { width: 100%; max-width: 1160px; margin: 0 auto; }
.application-wizard__heading { text-align: center; margin-bottom: 36px; }
.application-wizard__eyebrow { margin: 0 0 9px; color: #2b76d3; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.application-wizard__heading h2 { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.25; color: #142440; }
.application-wizard__stepper { display: flex; justify-content: center; margin: 0 auto 48px; padding: 0; max-width: 830px; list-style: none; }
.application-wizard__stepper li { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; color: #9ba8b9; font-size: 13px; text-align: center; }
.application-wizard__stepper li:not(:last-child)::after { position: absolute; top: 16px; left: calc(50% + 21px); width: calc(100% - 42px); height: 2px; background: #d8e0e9; content: ''; }
.application-wizard__stepper span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border: 1px solid #d8e0e9; border-radius: 50%; background: #fff; font-weight: 700; }
.application-wizard__stepper strong { font-weight: 500; white-space: nowrap; }
.application-wizard__stepper .is-active, .application-wizard__stepper .is-complete { color: #1f70cf; }
.application-wizard__stepper .is-active span { border-color: #1f70cf; background: #1f70cf; color: #fff; box-shadow: 0 5px 12px rgba(31,112,207,.22); }
.application-wizard__stepper .is-complete span { border-color: #93bced; background: #e8f2ff; }
.application-wizard__stepper .is-complete:not(:last-child)::after { background: #93bced; }
.application-wizard__panel { min-height: 466px; }
.application-wizard__intro { margin: 0 auto 30px; text-align: center; }
.application-wizard__intro--left { margin-left: 0; text-align: left; }
.application-wizard__intro h3 { margin: 0 0 10px; color: #172943; font-size: 25px; font-weight: 700; }
.application-wizard__intro p { margin: 0; color: #718097; font-size: 15px; }
.application-wizard__service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 850px; margin: 0 auto; }
.wizard-service-card { position: relative; min-height: 254px; padding: 35px 36px; border: 1px solid #d9e1eb; border-radius: 14px; background: #fff; color: #26364d; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.wizard-service-card:hover { border-color: #8ab7ed; box-shadow: 0 10px 24px rgba(30,73,127,.10); transform: translateY(-2px); }
.wizard-service-card.is-selected { border: 2px solid #2477d8; padding: 34px 35px; background: #f7fbff; box-shadow: 0 10px 25px rgba(31,112,207,.15); }
.wizard-service-card.is-unavailable { border-style: dashed; opacity: .7; cursor: not-allowed; }
.wizard-service-card__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 23px; border-radius: 12px; background: #eaf3ff; color: #2477d8; font-size: 24px; }
.wizard-service-card strong { display: block; margin-bottom: 6px; font-size: 22px; }
.wizard-service-card em { display: block; color: #337bd0; font-size: 13px; font-style: normal; }
.wizard-service-card p { margin: 18px 0 0; color: #718097; font-size: 14px; line-height: 1.55; }
.wizard-service-card small { display: block; margin-top: 14px; color: #a16f21; }
.wizard-service-card__check { position: absolute; top: 25px; right: 25px; display: none; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #2477d8; color: #fff; font-size: 14px; font-weight: 700; }
.wizard-service-card.is-selected .wizard-service-card__check { display: flex; }
.application-wizard__notice { max-width: 850px; margin: 20px auto 0; padding: 15px 18px; border: 1px solid #d8e9fc; border-radius: 9px; background: #edf6ff; color: #42749d; font-size: 14px; }
.application-wizard__notice::before { margin-right: 8px; color: #2477d8; content: '✓'; }
.application-wizard__product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 25px; align-items: start; }
.application-wizard__product-column { display: grid; gap: 18px; }
.wizard-card, .wizard-summary { border: 1px solid #dce4ee; border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(22,52,89,.04); }
.wizard-card { padding: 25px 28px; }
.wizard-card__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wizard-card h4, .wizard-summary h4 { margin: 0; color: #1b2c45; font-size: 18px; font-weight: 700; }
.wizard-card__title > span { color: #3179d2; font-size: 14px; }
.wizard-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wizard-product-card { position: relative; display: grid; min-height: 164px; padding: 16px 16px 14px; border: 1px solid #d7e0eb; border-radius: 9px; background: #fff; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 10px; cursor: pointer; transition: border-color .18s, background-color .18s, box-shadow .18s; }
.wizard-product-card:hover { border-color: #89b6ed; }
.wizard-product-card.is-selected { padding: 15px 15px 13px; border: 2px solid #2477d8; background: #f5faff; box-shadow: 0 5px 14px rgba(31,112,207,.10); }
.wizard-product-card input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #2477d8; }
.wizard-product-card__content { display: block; min-width: 0; }
.wizard-product-card__content strong { display: block; margin: 0 0 4px; color: #1d2f49; font-size: 14px; line-height: 1.35; word-break: keep-all; }
.wizard-product-card__content em { display: block; margin-bottom: 11px; color: #65758d; font-size: 12px; font-style: normal; }
.wizard-product-card__content small { display: block; color: #7c8b9f; font-size: 11px; line-height: 1.45; word-break: keep-all; }
.wizard-product-card > b { align-self: end; margin-top: 13px; color: #146bd1; font-size: 14px; text-align: right; grid-column: 1 / -1; }
.wizard-product-selection.is-invalid { border-color: #d55252; }
.wizard-product-selection > .wizard-field-error { margin-bottom: 0; }
.wizard-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }
.wizard-form-grid label { position: relative; display: block; color: #586981; font-size: 13px; font-weight: 600; }
.wizard-required { color: #d13d3d; font-weight: 700; }
.wizard-input, .wizard-select { display: block; width: 100%; height: 47px; margin-top: 8px; padding: 0 13px; border: 1px solid #d6dfe9; border-radius: 7px; background: #fff; color: #26364d; font-family: inherit; font-size: 14px; }
.wizard-input:focus, .wizard-select:focus { border-color: #2477d8; outline: 2px solid rgba(36,119,216,.13); }
.wizard-form-grid small { position: absolute; top: 46px; right: 13px; color: #8391a3; font-size: 13px; font-weight: 400; transform: translateY(-50%); }
.wizard-form-grid label:first-child .wizard-input { padding-right: 35px; }
.wizard-field-hint { display: block; margin-top: 6px; color: #8290a2; font-size: 12px; font-weight: 400; line-height: 1.4; }
.wizard-input-action { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
.wizard-input-action .wizard-input { min-width: 0; margin-top: 0; }
.wizard-inline-button { flex: 0 0 92px; border: 1px solid #2477d8; border-radius: 7px; background: #fff; color: #2477d8; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.wizard-inline-button:hover { background: #f1f7ff; }
.wizard-inline-button:disabled { border-color: #c9d5e1; color: #8a98aa; cursor: wait; }
.wizard-business-verification-message { display: block; min-height: 17px; margin-top: 6px; font-size: 12px; font-weight: 500; line-height: 1.4; word-break: keep-all; }
.wizard-business-verification-message:empty { display: none; }
.wizard-business-verification-message.is-success { color: #2477d8; }
.wizard-business-verification-message.is-error { color: #bf3434; }
.wizard-card--included { display: flex; align-items: center; justify-content: space-between; border-color: #d7e8fb; background: #f6fbff; }
.wizard-card--included > div { display: flex; align-items: center; gap: 14px; }
.wizard-included-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #297bd9; color: #fff; font-weight: 700; }
.wizard-card--included p { margin: 5px 0 0; color: #718097; font-size: 13px; }
.wizard-card--included strong { color: #2876cf; font-size: 14px; }
.wizard-option-list { display: grid; gap: 10px; }
.wizard-option-list label { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid #e0e7ef; border-radius: 8px; cursor: pointer; }
.wizard-option-list input { width: 18px; height: 18px; accent-color: #2477d8; }
.wizard-option-list strong, .wizard-option-list small { display: block; }
.wizard-option-list strong { color: #2b3b52; font-size: 14px; }
.wizard-option-list small { margin-top: 3px; color: #8290a2; font-size: 12px; }
.wizard-card__help { margin: 15px 0 0; color: #8491a2; font-size: 12px; }
.wizard-summary { position: sticky; top: 24px; padding: 25px 24px; }
.wizard-summary h4 { padding-bottom: 19px; border-bottom: 1px solid #e4e9ef; }
.wizard-summary dl { margin: 0; padding: 15px 0; border-bottom: 1px solid #e4e9ef; }
.wizard-summary dl > div, .wizard-summary__amounts > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
.wizard-summary dt, .wizard-summary__amounts span { color: #718096; }
.wizard-summary dd, .wizard-summary__amounts strong { margin: 0; color: #2a3b53; font-weight: 500; text-align: right; }
.summary-options .summary-option-item { display: block; }
.summary-options .summary-option-item + .summary-option-item { margin-top: 4px; }
.wizard-summary__amounts { padding-top: 13px; }
.wizard-summary__total { margin-top: 11px; padding-top: 17px !important; border-top: 1px solid #dce5ef; }
.wizard-summary__total span, .wizard-summary__total strong { color: #1f70cf !important; font-size: 16px; font-weight: 700 !important; }
.wizard-summary__source { margin: 16px 0 0; color: #8b98a8; font-size: 11px; line-height: 1.45; }
.application-wizard__actions { display: flex; justify-content: space-between; margin-top: 39px; }
.application-wizard__actions-right { display: flex; gap: 10px; }
.wizard-button { min-width: 124px; height: 49px; border: 1px solid #cfd9e5; border-radius: 7px; background: #fff; color: #4b5d73; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.wizard-button--primary { border-color: #2477d8; background: #2477d8; color: #fff; }
.wizard-button--primary:disabled { border-color: #c9d5e1; background: #c9d5e1; cursor: not-allowed; }
@media (max-width: 900px) { .application-wizard { padding: 42px 18px 58px; } .application-wizard__product-layout { grid-template-columns: 1fr; } .wizard-summary { position: static; } }
@media (max-width: 620px) { .application-wizard { padding-right: 14px; padding-left: 14px; } .application-wizard__heading h2 { font-size: 29px; } .application-wizard__stepper { margin-bottom: 34px; } .application-wizard__stepper strong { font-size: 11px; white-space: normal; } .application-wizard__stepper span { width: 29px; height: 29px; } .application-wizard__stepper li:not(:last-child)::after { top: 14px; left: calc(50% + 18px); width: calc(100% - 36px); } .application-wizard__service-grid, .wizard-product-grid, .wizard-form-grid { grid-template-columns: 1fr; } .wizard-product-card { min-height: 138px; } .wizard-service-card { min-height: 210px; padding: 28px; } .wizard-card { padding: 21px 18px; } .application-wizard__actions { gap: 12px; } .wizard-button { min-width: 0; width: 92px; } }

/* Step 1 follows the supplied desktop composition without changing the shared portal shell. */
body.application-wizard-page .wrap { min-height: calc(100vh - 118px); padding-bottom: 0; background: #fff; }
.application-wizard { padding: 182px 24px 34px; background: #fff; }
.application-wizard__inner { max-width: 1280px; }
.application-wizard__heading { max-width: 1280px; margin: 0 auto 22px; padding-bottom: 14px; border-bottom: 2px solid #142b66; text-align: center !important; }
.application-wizard__heading h2 { display: block; float: none; width: 100% !important; max-width: none !important; margin: 0 !important; font-size: 47px; font-weight: 800; letter-spacing: -3px; text-align: center !important; }
.application-wizard__stepper { max-width: 820px; margin-bottom: 44px; }
.application-wizard__stepper li { font-size: 16px; }
.application-wizard__stepper span { width: 43px; height: 43px; margin-bottom: 11px; font-size: 17px; }
.application-wizard__stepper li:not(:last-child)::after { top: 21px; left: calc(50% + 27px); width: calc(100% - 54px); }
.application-wizard__stepper strong { font-weight: 700; }
.application-wizard__panel { min-height: 0; }
.application-wizard__intro { width: 100%; max-width: none; margin-bottom: 30px; text-align: center; }
.application-wizard__intro h3 { display: block; float: none; width: 100% !important; max-width: none !important; margin: 0 0 10px !important; font-size: 34px; letter-spacing: -2.2px; text-align: center !important; }
.application-wizard__intro p { display: block; float: none; width: 100% !important; max-width: none !important; margin: 0 !important; font-size: 18px; text-align: center !important; }
.application-wizard__intro--left { margin: 0 auto 30px; text-align: center; }
.application-wizard__validation { max-width: 960px; margin: 0 auto 18px; padding: 14px 18px; border: 1px solid #f1c4c4; border-radius: 8px; background: #fff7f7; color: #bf3434; font-size: 14px; line-height: 1.5; }
.application-wizard__validation.is-info { border-color: #c9dcf7; background: #f5f9ff; color: #286dc4; }
.application-wizard__validation p { margin: 0; line-height: 1.5; word-break: keep-all; }
.application-wizard__validation p + p { margin-top: 4px; }
.wizard-form-grid label.is-invalid .wizard-input, .wizard-form-grid label.is-invalid .wizard-select { border-color: #d55252; }
.wizard-field-error { display: block; min-height: 17px; margin-top: 6px; color: #bf3434; font-size: 12px; font-weight: 500; line-height: 1.4; word-break: keep-all; }
.application-wizard__service-grid { max-width: none; gap: 24px; }
.wizard-service-card { display: flex; align-items: center; min-height: 236px; padding: 34px; border-color: #b7c4dc; border-radius: 14px; }
.wizard-service-card.is-selected { padding: 33px; border: 3px solid #1375ff; background: linear-gradient(135deg, #fff 0%, #edf6ff 100%); box-shadow: none; }
.wizard-service-card:hover { transform: none; box-shadow: none; }
.wizard-service-card__icon { flex: 0 0 auto; width: 100px; height: 100px; margin: 0 28px 0 0; border-radius: 50%; background: #e9f3ff; color: #105cc2; font-size: 42px; }
.wizard-service-card__content { display: block; min-width: 0; }
.wizard-service-card strong { margin: 0 0 12px; color: #10275c; font-size: 31px; font-weight: 800; letter-spacing: -2px; }
.wizard-service-card p { margin: 0; color: #52688c; font-size: 18px; line-height: 1.5; }
.wizard-service-card__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wizard-service-card__tags em { display: inline-flex; align-items: center; min-height: 35px; padding: 0 18px; border-radius: 20px; background: #edf1f7; color: #657391; font-size: 14px; font-style: normal; font-weight: 700; }
.wizard-service-card.is-selected .wizard-service-card__tags em { background: #dcecff; color: #1375e7; }
.wizard-service-card__check { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 24px; }
.application-wizard__notice { display: flex; align-items: center; gap: 14px; max-width: none; min-height: 90px; margin-top: 20px; padding: 18px 34px; border-color: #d5dfef; border-radius: 14px; background: #f6f9fd; color: #687998; font-size: 17px; }
.application-wizard__notice::before { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; border: 2px solid #647593; border-radius: 50%; color: #647593; content: 'i'; font-weight: 800; }
.application-wizard__notice strong { color: #142b5c; font-size: 20px; }
.application-wizard__actions { justify-content: center; gap: 18px; margin: 26px 0 0; }
.application-wizard__actions-right { gap: 18px; }
.wizard-button { display: inline-flex; align-items: center; justify-content: center; min-width: 202px; height: 56px; border-radius: 28px; font-size: 18px; line-height: 1; }
.wizard-button--primary { background: linear-gradient(90deg, #065de9, #348bff); box-shadow: 0 8px 16px rgba(20,103,230,.2); }
.wizard-button--secondary:hover { border-color: #8ea4c4; background: #f6f9fd; }
.wizard-button:focus-visible { outline: 3px solid rgba(19, 117, 255, .28); outline-offset: 3px; }
.wizard-payment-layout { display: grid; max-width: 860px; margin: 0 auto; gap: 18px; }
.wizard-payment-method, .wizard-agreement-list label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 16px; border: 1px solid #e0e7ef; border-radius: 8px; cursor: pointer; }
.wizard-payment-method input, .wizard-agreement-list input { width: 18px; height: 18px; margin: 0; accent-color: #2477d8; }
.wizard-payment-method strong, .wizard-payment-method small { display: block; }
.wizard-payment-method strong { color: #2b3b52; font-size: 15px; }
.wizard-payment-method small { margin-top: 5px; color: #8290a2; font-size: 13px; }
.wizard-quote-request { border-color: #d7e8fb; background: #f8fbff; }
.wizard-quote-request p { margin: 0; color: #586981; font-size: 14px; line-height: 1.6; }
.wizard-quote-request dl { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #dce8f5; }
.wizard-quote-request dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; color: #718096; font-size: 13px; }
.wizard-quote-request dd { margin: 0; color: #2a3b53; font-weight: 600; text-align: right; }
.wizard-agreement-list { display: grid; gap: 10px; }
.wizard-agreement-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; }
.wizard-agreement-item > a { display: inline-flex; align-items: center; justify-content: center; min-width: 82px; padding: 0 13px; border: 1px solid #cfd9e7; border-radius: 8px; color: #356ba9; font-size: 13px; font-weight: 700; text-decoration: none; }
.wizard-agreement-item > a:hover { border-color: #2477d8; background: #f5f9ff; color: #1769c8; }
.wizard-agreement-policy { justify-self: end; color: #5c6f88; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wizard-agreement-list em { color: #2477d8; font-style: normal; }
.wizard-payment-method .wizard-field-error, .wizard-agreement-list .wizard-field-error { grid-column: 2; }
.wizard-agreement-list label.is-invalid, .wizard-payment-method.is-invalid { border-color: #d55252; }
.application-wizard__complete { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.application-wizard__complete-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%; background: #2477d8; color: #fff; font-size: 25px; font-weight: 700; }
.application-wizard__complete h3 { display: block; float: none; width: 100% !important; max-width: none !important; margin: 0 0 10px !important; color: #172943; font-size: 30px; text-align: center !important; }
.application-wizard__complete p { display: block; float: none; width: 100% !important; max-width: none !important; margin: 0 !important; color: #718097; font-size: 16px; text-align: center !important; }
.wizard-complete-summary { max-width: 960px; margin: 0 auto; padding: 0; overflow: hidden; }
.wizard-complete-summary__head { display: flex; min-height: 62px; padding: 0 26px; border-bottom: 1px solid #e4e9ef; align-items: center; justify-content: space-between; gap: 20px; }
.wizard-complete-summary h4 { padding: 0; border: 0; }
.wizard-complete-summary__number { display: inline-flex; padding: 7px 12px; border-radius: 6px; align-items: center; background: #eef6ff; color: #1769c8; font-size: 12px; gap: 8px; }
.wizard-complete-summary__number em { font-style: normal; font-weight: 500; }
.wizard-complete-summary__number strong { font-weight: 700; }
.wizard-complete-summary__body { display: grid; padding: 22px 26px 24px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.wizard-complete-summary dl { margin: 0; }
.wizard-complete-summary__service { padding-right: 30px; border-right: 1px solid #e4e9ef; }
.wizard-complete-summary__payment { padding-left: 30px; }
.wizard-complete-summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14px; }
.wizard-complete-summary dt { color: #718096; }
.wizard-complete-summary dd { max-width: 68%; margin: 0; color: #2a3b53; font-weight: 600; line-height: 1.45; text-align: right; word-break: keep-all; }
.wizard-complete-summary__total { margin-top: 8px; padding-top: 18px !important; border-top: 1px solid #dce5ef; }
.wizard-complete-summary__total dt, .wizard-complete-summary__total dd { color: #1f70cf; font-size: 18px; font-weight: 700; }
.wizard-complete-notice { display: flex; max-width: 960px; min-height: 82px; margin: 14px auto 0; padding: 17px 22px; border: 1px solid #d8e8fa; border-radius: 10px; box-sizing: border-box; align-items: flex-start; background: #f3f8ff; color: #536a87; gap: 14px; }
.wizard-complete-notice > span { display: inline-flex; width: 23px; height: 23px; border-radius: 50%; flex: 0 0 23px; align-items: center; justify-content: center; background: #2477d8; color: #fff; font-size: 14px; font-weight: 700; }
.wizard-complete-notice strong { display: block; color: #233a5b; font-size: 14px; }
.wizard-complete-notice p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.application-history { min-height: 620px; }
.application-history__filters { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(190px, .7fr) auto; max-width: 980px; margin: 0 auto 22px; padding: 22px 26px; align-items: end; gap: 18px; }
.application-history__filters label { float: none; color: #586981; font-size: 13px; font-weight: 600; }
.application-history__filters .wizard-input, .application-history__filters .wizard-select { margin-top: 8px; }
.application-history__date-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; }
.application-history__date-range > span { padding-bottom: 16px; color: #8492a5; }
.application-history__search-button { min-width: 112px; height: 47px; }
.application-history__filter-error { max-width: 980px; margin: -8px auto 18px; color: #bf3434; font-size: 13px; text-align: center; }
.application-history__empty { display: flex; width: 100%; max-width: 760px; min-height: 260px; margin: 0 auto; padding: 68px 34px; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.application-history__empty h3 { margin: 0 0 12px; color: #172943; font-size: 25px; }
.application-history__empty p { margin: 0 0 28px; color: #718097; font-size: 15px; }
.application-history__empty .wizard-button { text-decoration: none; }
.application-history__list { display: grid; max-width: 980px; margin: 0 auto; gap: 18px; }
.application-history__item { padding: 28px 32px; }
.application-history__item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.application-history__item-head > div { min-width: 0; flex: 1; }
.application-history__item-controls { display: flex; flex: 0 0 auto !important; align-items: center; gap: 10px; }
.application-history__number { display: block; margin-bottom: 8px; color: #718097; font-size: 13px; }
.application-history__item h3 { width: auto; max-width: none; margin: 0; color: #172943; font-size: 22px; text-align: left; }
.application-history__status { display: inline-flex; min-width: 86px; padding: 8px 13px; border-radius: 18px; flex: 0 0 auto; justify-content: center; background: #edf1f7; color: #53657f; font-size: 13px; }
.application-history__status.is-quote { background: #fff5df; color: #8a5a00; }
.application-history__status.is-payment { background: #eaf3ff; color: #1268ca; }
.application-history__status.is-complete { background: #e9f8f0; color: #18764a; }
.application-history__detail-button { min-width: 76px; padding: 7px 12px; border: 1px solid #cbd8e8; border-radius: 18px; background: #fff; color: #356ba9; font-size: 13px; font-weight: 700; cursor: pointer; }
.application-history__detail-button:hover, .application-history__detail-button:focus { border-color: #2477d8; color: #1769c8; outline: none; }
.application-history__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #e2e8f0; gap: 18px; }
.application-history__summary div { min-width: 0; }
.application-history__summary dt { margin-bottom: 7px; color: #718097; font-size: 13px; }
.application-history__summary dd { margin: 0; color: #243650; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.application-history__actions { display: flex; max-width: 980px; margin: 28px auto 0; justify-content: flex-end; }
.application-history__actions .wizard-button { text-decoration: none; }
.application-history__pagination { display: flex; max-width: 980px; margin: 26px auto 0; align-items: center; justify-content: center; gap: 8px; }
.application-history__pagination a { display: inline-flex; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #d7e0eb; border-radius: 19px; align-items: center; justify-content: center; color: #5b6c83; font-size: 13px; font-weight: 600; text-decoration: none; }
.application-history__pagination a:hover { border-color: #2477d8; color: #2477d8; }
.application-history__pagination .is-current { border-color: #2477d8; background: #2477d8; color: #fff; pointer-events: none; }
.application-modal-open { overflow: hidden; }
.application-detail-modal[hidden] { display: none; }
.application-detail-modal { position: fixed; z-index: 1100; inset: 0; display: flex; padding: 40px 20px; box-sizing: border-box; align-items: center; justify-content: center; }
.application-detail-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 25, 48, .58); }
.application-detail-modal__dialog { position: relative; display: flex; width: min(820px, 100%); max-height: 90vh; border-radius: 18px; background: #fff; box-shadow: 0 22px 70px rgba(13, 35, 67, .28); flex-direction: column; overflow: hidden; outline: none; }
.application-detail-modal__header { display: flex; padding: 24px 28px 20px; border-bottom: 1px solid #e3eaf2; align-items: flex-start; justify-content: space-between; background: #f8fbff; }
.application-detail-modal__header span { display: block; margin-bottom: 5px; color: #718097; font-size: 13px; }
.application-detail-modal__header h2 { margin: 0; color: #172943; font-size: 27px; }
.application-detail-modal__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #40536c; font-size: 30px; line-height: 1; cursor: pointer; }
.application-detail-modal__close:hover, .application-detail-modal__close:focus { background: #e9f2ff; color: #1769c8; outline: none; }
.application-detail-modal__loading, .application-detail-modal__error { min-height: 260px; padding: 70px 28px; box-sizing: border-box; color: #718097; text-align: center; }
.application-detail-modal__error { color: #bf3434; }
.application-detail-modal__content { padding: 26px 28px 12px; overflow-y: auto; }
.application-detail-modal__overview { position: relative; padding: 0 0 22px; }
.application-detail-modal__overview > strong { color: #172943; font-size: 24px; }
.application-detail-modal__overview > .application-history__status { position: absolute; top: 0; right: 0; }
.application-detail-modal__overview p { margin: 7px 0 0; color: #718097; font-size: 13px; }
.application-detail-modal__section { padding: 22px 0; border-top: 1px solid #e4eaf1; }
.application-detail-modal__section h3 { width: auto; max-width: none; margin: 0 0 17px; color: #233650; font-size: 18px; text-align: left; }
.application-detail-modal__grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; gap: 17px 28px; }
.application-detail-modal__grid > div { min-width: 0; }
.application-detail-modal__grid > .is-wide { grid-column: 1 / -1; }
.application-detail-modal__grid dt, .application-detail-modal__prices dt { margin-bottom: 5px; color: #78869a; font-size: 12px; }
.application-detail-modal__grid dd { margin: 0; color: #263951; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.application-detail-modal__items, .application-detail-modal__agreements { display: grid; margin: 0; padding: 0; list-style: none; gap: 9px; }
.application-detail-modal__items li { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; padding: 12px 14px; border-radius: 9px; align-items: center; background: #f6f9fc; gap: 12px; }
.application-detail-modal__items span { color: #718097; font-size: 12px; }
.application-detail-modal__items strong { color: #263951; font-size: 14px; }
.application-detail-modal__items em { color: #2477d8; font-size: 13px; font-style: normal; font-weight: 700; }
.application-detail-modal__prices { margin: 0; }
.application-detail-modal__prices > div { display: flex; padding: 8px 0; align-items: center; justify-content: space-between; }
.application-detail-modal__prices dt { margin: 0; }
.application-detail-modal__prices dd { margin: 0; color: #263951; font-size: 14px; font-weight: 600; }
.application-detail-modal__prices .is-total { margin-top: 7px; padding-top: 16px; border-top: 1px solid #dce5ef; }
.application-detail-modal__prices .is-total dt, .application-detail-modal__prices .is-total dd { color: #1769c8; font-size: 17px; font-weight: 700; }
.application-detail-modal__agreements li { display: flex; padding: 11px 14px; border-radius: 9px; align-items: center; justify-content: space-between; background: #f6f9fc; gap: 14px; }
.application-detail-modal__agreements strong { color: #263951; font-size: 14px; }
.application-detail-modal__agreements span { color: #718097; font-size: 12px; text-align: right; }
.application-detail-modal__footer { display: flex; padding: 18px 28px 22px; border-top: 1px solid #e3eaf2; justify-content: flex-end; background: #fff; }
.application-detail-modal__footer .wizard-button { min-width: 110px; }
@media (max-width: 760px) {
	.application-history__filters { grid-template-columns: 1fr; padding: 20px; align-items: stretch; }
	.application-history__search-button { width: 100%; }
	.application-history__item { padding: 24px 20px; }
	.application-history__item-head { align-items: stretch; flex-direction: column; gap: 14px; }
	.application-history__item-controls { justify-content: space-between; }
	.application-history__status { align-self: flex-start; }
	.application-history__summary { grid-template-columns: 1fr 1fr; }
	.application-detail-modal { padding: 14px; align-items: flex-end; }
	.application-detail-modal__dialog { max-height: 94vh; border-radius: 16px 16px 0 0; }
	.application-detail-modal__header, .application-detail-modal__content { padding-right: 20px; padding-left: 20px; }
	.application-detail-modal__footer { padding-right: 20px; padding-left: 20px; }
}
@media (max-width: 520px) { .application-history__date-range { grid-template-columns: 1fr; } .application-history__date-range > span { display: none; } .application-detail-modal__grid { grid-template-columns: 1fr; } .application-detail-modal__grid > .is-wide { grid-column: auto; } .application-detail-modal__items li { grid-template-columns: 72px minmax(0, 1fr); } .application-detail-modal__items em { grid-column: 2; } .application-detail-modal__agreements li { align-items: flex-start; flex-direction: column; } .application-detail-modal__agreements span { text-align: left; } }
@media (max-width: 900px) { .application-wizard { padding-top: 145px; } .application-wizard__heading h2 { font-size: 39px; } .application-wizard__intro h3 { font-size: 29px; } .wizard-service-card { min-height: 210px; padding: 27px; } .wizard-service-card.is-selected { padding: 26px; } .wizard-service-card__icon { width: 76px; height: 76px; margin-right: 20px; font-size: 32px; } .wizard-service-card strong { font-size: 25px; } .wizard-service-card p { font-size: 15px; } .wizard-service-card__tags em { min-height: 29px; padding: 0 12px; font-size: 12px; } }
@media (max-width: 620px) { .application-wizard { padding-top: 118px; } .application-wizard__heading { margin-bottom: 20px; } .application-wizard__heading h2 { font-size: 34px; } .application-wizard__intro h3 { font-size: 25px; } .application-wizard__intro p { font-size: 15px; } .wizard-service-card { align-items: flex-start; min-height: 0; } .wizard-service-card__icon { width: 56px; height: 56px; margin-right: 15px; font-size: 25px; } .wizard-service-card strong { font-size: 22px; } .wizard-service-card p { font-size: 14px; } .application-wizard__notice { align-items: flex-start; flex-direction: column; gap: 7px; padding: 18px; font-size: 14px; } .application-wizard__notice strong { font-size: 16px; } .application-wizard__actions { justify-content: space-between; } .wizard-button { width: 46%; min-width: 0; } }
@media (max-width: 620px) { .wizard-agreement-item { grid-template-columns: 1fr; } .wizard-agreement-item > a { min-height: 42px; } .wizard-complete-summary__head { padding: 16px 18px; align-items: flex-start; flex-direction: column; gap: 10px; } .wizard-complete-summary__number { max-width: 100%; box-sizing: border-box; } .wizard-complete-summary__body { grid-template-columns: 1fr; padding: 10px 18px 18px; } .wizard-complete-summary__service { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #e4e9ef; } .wizard-complete-summary__payment { padding: 12px 0 0; } .wizard-complete-summary dd { max-width: 62%; } .wizard-complete-notice { padding: 16px 18px; } }
