.sic-calculator {
	max-width: 520px;
	padding: 24px;
	border: 1px solid #dddddd;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.sic-calculator label {
	display: block;
	margin-top: 14px;
	font-weight: 600;
}

.sic-calculator input {
	box-sizing: border-box;
	width: 100%;
	margin-top: 5px;
	padding: 10px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	font-size: inherit;
}

.sic-calculator button {
	margin-top: 18px;
	padding: 11px 20px;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #ffffff;
	cursor: pointer;
	font-size: inherit;
}

.sic-result,
.sic-error {
	margin: 15px 0;
	padding: 12px;
	border-radius: 4px;
}

.sic-result {
	background: #edfaef;
	color: #145523;
}

.sic-error {
	background: #fff0f0;
	color: #9b1c1c;
}

body.sicw-modal-open { overflow: hidden; }
.sicw-overlay[hidden], .sicw-overlay [hidden], .sicw-toast[hidden] { display: none !important; }
.sicw-trigger-button, .sicw-card-button {
	padding: 14px 30px; border: 0; border-radius: var(--sicw-trigger-radius); background: var(--sicw-trigger-bg); color: var(--sicw-trigger-text); font-size: var(--sicw-trigger-size); font-weight: 700; cursor: pointer;
}
.sicw-image-trigger { display: inline-block; overflow: hidden; max-width: 100%; padding: 0; border: 0; border-radius: var(--sicw-trigger-radius); background: transparent; cursor: pointer; }
.sicw-image-trigger img { display: block; max-width: 100%; height: auto; }
.sicw-card { box-sizing: border-box; width: min(100%, 510px); padding: 26px; border: 1px solid var(--sicw-option-border); border-radius: 16px; background: var(--sicw-card-bg); color: var(--sicw-card-text); box-shadow: 0 6px 16px rgba(32,25,35,.14); }
.sicw-card-image { width: 100%; max-height: 210px; margin-bottom: 22px; border-radius: 10px; object-fit: cover; }
.sicw-card h3 { margin: 0 0 8px; color: var(--sicw-card-heading); font-size: 26px; }
.sicw-card p { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
.sicw-card .sicw-card-button { width: 100%; background: var(--sicw-card-button-bg); color: var(--sicw-card-button-text); text-transform: uppercase; }
.sicw-overlay { position: fixed; z-index: 999990; inset: 0; display: grid; width: 100vw; height: 100vh; height: 100dvh; box-sizing: border-box; place-items: center; padding: 24px; background: rgba(20, 24, 31, .78); }
.sicw-dialog { position: relative; box-sizing: border-box; width: min(calc(100vw - 48px), var(--sicw-modal-width)); height: min(calc(100vh - 48px), var(--sicw-modal-height)); height: min(calc(100dvh - 48px), var(--sicw-modal-height)); overflow: hidden; padding: 22px 28px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; background: var(--sicw-modal-bg); color: var(--sicw-text); font-size: var(--sicw-font-size); box-shadow: 0 12px 36px rgba(0,0,0,.22); }
.sicw-dialog [data-sicw-app] { display: flex; width: 100%; height: 100%; min-height: 0; flex-direction: column; margin: 0 auto; }
.sicw-dialog *, .sicw-card * { box-sizing: border-box; }
.sicw-close { position: absolute; z-index: 6; top: 18px; right: 20px; display: grid; width: 46px; height: 46px; place-items: center; padding: 0; border: 1px solid var(--sicw-option-border); border-radius: 50%; background: #fff; color: var(--sicw-heading); font-size: 29px; line-height: 1; cursor: pointer; }
.sicw-header { display: grid; flex: 0 0 auto; grid-template-columns: minmax(300px, 32%) 1fr; align-items: center; gap: 28px; min-height: 82px; margin-bottom: 12px; padding-right: 58px; }
.sicw-brand { display: flex; min-width: 0; align-items: center; gap: 16px; }
.sicw-brand-mark { width: 44px; height: 44px; flex: 0 0 auto; fill: none; stroke: var(--sicw-accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.sicw-title { margin: 0; color: var(--sicw-heading); font-size: clamp(20px, 1.9vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.sicw-brand p { margin: 4px 0 0; color: #8490a1; font-size: 13px; line-height: 1.3; }
.sicw-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0 0 4px; }
.sicw-progress::before { position: absolute; z-index: 0; top: 18px; right: 12.5%; left: 12.5%; height: 2px; background: #e1e5ea; content: ''; }
.sicw-progress-item { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; color: #8a94a4; font-size: 13px; transition: color .2s; }
.sicw-progress-item span { display: grid; width: 38px; height: 38px; place-items: center; border: 3px solid var(--sicw-modal-bg); border-radius: 50%; background: #e9edf1; color: #697282; font-weight: 800; transition: background .2s, transform .2s; }
.sicw-progress-item.is-active, .sicw-progress-item.is-complete { color: var(--sicw-heading); font-weight: 700; }
.sicw-progress-item.is-active span, .sicw-progress-item.is-complete span { background: var(--sicw-accent); color: #fff; }
.sicw-progress-item.is-active span { transform: scale(1.08); box-shadow: 0 0 0 4px var(--sicw-selected-bg); }
.sicw-form { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.sicw-step { min-height: 0; flex: 1 1 auto; overflow: hidden; }
.sicw-step h3, .sicw-result h3 { margin: 0 0 14px; color: var(--sicw-heading); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.sicw-property-step { display: flex; flex-direction: column; gap: 0; overflow: visible; }
.sicw-property-heading { flex: 0 0 auto; margin-bottom: 10px; }
.sicw-property-heading h3 { margin: 0 0 4px; color: var(--sicw-heading); font-size: clamp(17px, 2.2vw, 23px); line-height: 1.15; letter-spacing: -.02em; }
.sicw-property-heading h3 em { color: var(--sicw-accent); font-style: normal; }
.sicw-property-heading p { margin: 0; color: #8793a1; font-size: 11px; line-height: 1.35; }
.sicw-property-picker { display: flex; min-width: 0; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.sicw-property-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sicw-bhk-group { min-width: 0; }
.sicw-option { position: relative; display: block; padding: 13px 14px; border: 1px solid var(--sicw-option-border); border-radius: 12px; background: var(--sicw-option-bg); cursor: pointer; box-shadow: 0 1px 4px rgba(22,28,38,.035); transition: border-color .12s, background .12s; }
.sicw-option:hover { border-color: var(--sicw-accent); }
.sicw-option:has(input:checked) { border-color: var(--sicw-accent); background: var(--sicw-selected-bg); }
.sicw-option:has(input:checked)::after { position: absolute; top: 9px; right: 10px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--sicw-accent); color: #fff; content: '\2713'; font-size: 13px; font-weight: 900; }
.sicw-option input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.sicw-option strong, .sicw-option small { display: block; padding-right: 24px; }
.sicw-option strong { color: var(--sicw-heading); font-size: 16px; }
.sicw-option small { margin-top: 3px; color: #707780; font-size: 12px; }
.sicw-bhk-option { display: flex; min-height: 112px; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; text-align: center; }
.sicw-bhk-option strong, .sicw-bhk-option small { width: 100%; padding-right: 0; }
.sicw-bhk-option strong { font-size: 14px; line-height: 1.1; }
.sicw-bhk-option small { min-height: 24px; overflow: hidden; color: #8a94a4; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; }
.sicw-bhk-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #f0f4f7; color: #718da0; }
.sicw-bhk-icon svg { display: block; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.1; }
.sicw-bhk-option:has(input:checked) .sicw-bhk-icon { background: var(--sicw-accent); color: #fff; }
.sicw-bhk-option:has(input:checked)::after { top: 5px; right: 5px; width: 17px; height: 17px; font-size: 11px; }
.sicw-size-block { margin-top: 8px; }
.sicw-size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.sicw-size-options .sicw-option { padding: 7px 12px; }
.sicw-size-option { display: flex; min-height: 56px; align-items: center; gap: 14px; }
.sicw-size-option > span:last-child { min-width: 0; }
.sicw-size-option strong { padding-right: 24px; font-size: 12px; }
.sicw-size-option small { color: #8a94a4; font-size: 10px; }
.sicw-size-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #718da0; }
.sicw-size-icon svg { display: block; width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.sicw-size-option:has(input:checked) .sicw-size-icon { color: var(--sicw-accent); }
.sicw-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.sicw-step-heading button { padding: 5px 0; border: 0; background: transparent; color: var(--sicw-accent); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.sicw-room-list { display: grid; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.sicw-room { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid var(--sicw-option-border); border-radius: 11px; background: var(--sicw-option-bg); box-shadow: 0 2px 7px rgba(0,0,0,.04); }
.sicw-room > strong { color: var(--sicw-heading); font-size: 15px; }
.sicw-counter { display: flex; align-items: center; gap: 9px; }
.sicw-counter button { display: grid; width: 31px; height: 31px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--sicw-accent); color: #fff; font-size: 21px; line-height: 1; cursor: pointer; transition: transform .15s, opacity .15s; }
.sicw-counter button:hover { transform: scale(1.08); }
.sicw-counter span { min-width: 16px; color: var(--sicw-heading); font-weight: 800; text-align: center; }
.sicw-package-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; align-items: stretch; }
.sicw-package { min-width: 0; padding: 11px; }
.sicw-package img { width: 100%; height: 88px; margin: 8px 0; border-radius: 8px; object-fit: cover; }
.sicw-package p { min-height: 0; margin: 4px 0; color: #69717b; font-size: 12px; line-height: 1.35; }
.sicw-package ul { margin: 6px 0 0; padding-left: 17px; color: #49515a; font-size: 12px; line-height: 1.3; }
.sicw-package li { margin: 2px 0; }
.sicw-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.sicw-contact-grid label span { display: block; margin-bottom: 4px; color: var(--sicw-heading); font-size: 13px; font-weight: 700; }
.sicw-contact-grid input, .sicw-contact-grid select { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--sicw-option-border); border-radius: 9px; outline: 0; background: #fff; color: #222; font: inherit; transition: border-color .2s, box-shadow .2s; }
.sicw-contact-grid input:focus, .sicw-contact-grid select:focus { border-color: var(--sicw-accent); box-shadow: 0 0 0 3px var(--sicw-selected-bg); }
.sicw-wide { grid-column: 1 / -1; }
.sicw-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; font-size: 13px; line-height: 1.35; }
.sicw-check input { margin-top: 2px; accent-color: var(--sicw-accent); }
.sicw-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.sicw-actions { display: flex; flex: 0 0 auto; justify-content: space-between; gap: 12px; margin: 12px -28px -18px; padding: 12px 28px; border-top: 1px solid var(--sicw-option-border); background: rgba(255,255,255,.96); }
.sicw-actions button { min-width: 120px; min-height: 42px; padding: 7px 20px; border: 0; border-radius: var(--sicw-button-radius); font-size: var(--sicw-button-size); font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.sicw-actions button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(0,0,0,.12); }
.sicw-next, .sicw-submit { margin-left: auto; background: var(--sicw-button-bg); color: var(--sicw-button-text); }
.sicw-back { background: #f3f5f7; color: var(--sicw-heading); }
.sicw-actions button:disabled { opacity: .52; cursor: not-allowed; transform: none; box-shadow: none; }
.sicw-result { display: grid; min-height: 0; flex: 1 1 auto; grid-template-columns: 1.15fr .85fr; overflow: hidden; margin: 0; border: 1px solid var(--sicw-option-border); border-radius: 15px; background: var(--sicw-result-bg); text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.sicw-result-main { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 22px; }
.sicw-result-check { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: var(--sicw-result-check); color: #fff; font-size: 24px; font-weight: 800; }
.sicw-result [data-result-range] { display: block; margin: 6px 0 10px; color: var(--sicw-result-range); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.sicw-result-note { display: inline-block; align-self: center; margin: 0 0 9px; padding: 5px 9px; border: 1px solid #e8e4e1; border-radius: 6px; color: #282231; font-size: 12px; }
.sicw-summary-toggle { display: block; margin: 0 auto; padding: 3px; border: 0; background: transparent; color: #30263a; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.sicw-result-summary { width: 100%; max-height: 120px; margin: 10px auto 0; overflow: auto; padding: 9px 12px; border-radius: 8px; background: #f5f6f7; color: #332b38; font-size: 12px; text-align: left; }
.sicw-result-summary p { margin: 4px 0; }
.sicw-result-action { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border-left: 1px solid #eadfd4; background: var(--sicw-result-action); }
.sicw-result-action h3 { margin-bottom: 8px; font-size: 24px; }
.sicw-result-action p { max-width: 360px; margin: 0 auto 18px; font-size: 15px; line-height: 1.45; }
.sicw-result-action p span { display: inline-block; padding: 2px 7px; border-radius: 5px; background: #35a15a; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sicw-detail-button { display: inline-flex; width: min(100%, 290px); min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 0; border-radius: var(--sicw-button-radius); background: var(--sicw-button-bg); color: var(--sicw-button-text); font-size: var(--sicw-button-size); font-weight: 800; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.sicw-notes-dialog { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.55); }
.sicw-notes-card { position: relative; width: min(100%, 520px); max-height: 80vh; overflow-y: auto; padding: 28px; border-radius: 16px; background: #fff; color: #3f3542; }
.sicw-notes-card > button { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.sicw-notes-card h3 { margin-top: 0; }
.sicw-notes-card p { line-height: 1.55; }
.sicw-toast { position: fixed; z-index: 1000000; top: 28px; right: 28px; max-width: min(420px, calc(100vw - 36px)); padding: 14px 20px; border-radius: 9px; color: var(--sicw-toast-text); box-shadow: 0 8px 30px rgba(0,0,0,.22); }
.sicw-toast.is-success { background: var(--sicw-toast-success); }
.sicw-toast.is-error { background: var(--sicw-toast-error); }

.sicw-progress::after { position: absolute; z-index: 0; top: 18px; left: 12.5%; width: var(--sicw-progress, 0%); height: 2px; background: var(--sicw-accent); content: ''; }
.sicw-dialog[data-current-step="0"] { padding: 14px 20px 10px; }
.sicw-dialog[data-current-step="0"] .sicw-header { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-height: 0; margin-bottom: 9px; padding-right: 34px; }
.sicw-dialog[data-current-step="0"] .sicw-brand { gap: 0; }
.sicw-dialog[data-current-step="0"] .sicw-brand-mark { display: none; }
.sicw-dialog[data-current-step="0"] .sicw-title { font-size: clamp(16px, 1.9vw, 21px); }
.sicw-dialog[data-current-step="0"] .sicw-brand p { margin-top: 3px; font-size: 11px; }
.sicw-dialog[data-current-step="0"] .sicw-progress::before,
.sicw-dialog[data-current-step="0"] .sicw-progress::after { top: 12px; }
.sicw-dialog[data-current-step="0"] .sicw-progress-item { gap: 3px; font-size: 10px; }
.sicw-dialog[data-current-step="0"] .sicw-progress-item span { width: 26px; height: 26px; border-width: 2px; }
.sicw-dialog[data-current-step="0"] .sicw-progress-item.is-active span { transform: none; box-shadow: none; }
.sicw-dialog[data-current-step="0"] .sicw-property-heading { margin-bottom: 11px; }
.sicw-dialog[data-current-step="0"] .sicw-property-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 126px; padding: 8px 5px; }
.sicw-dialog[data-current-step="0"] .sicw-size-block { margin-top: 8px; }
.sicw-dialog[data-current-step="0"] .sicw-actions { margin: 8px -20px -10px; padding: 8px 20px; }
.sicw-dialog[data-current-step="0"] .sicw-actions button { min-width: 82px; min-height: 36px; padding: 5px 14px; border-radius: 24px; font-size: clamp(11px, var(--sicw-button-size), 13px); }

@media (max-width: 720px) {
	.sicw-overlay { padding: 10px; }
	.sicw-dialog { width: 100%; height: calc(100vh - 20px); height: calc(100dvh - 20px); max-height: none; overflow-y: auto; padding: 20px 14px 14px; border-radius: 14px; }
	.sicw-dialog [data-sicw-app] { height: auto; min-height: 100%; }
	.sicw-close { top: 12px; right: 12px; width: 38px; height: 38px; }
	.sicw-header { gap: 14px; min-height: 0; margin-bottom: 18px; padding-right: 0; }
	.sicw-brand { padding-right: 44px; }
	.sicw-brand-mark { width: 38px; height: 38px; }
	.sicw-title { font-size: 20px; }
	.sicw-brand p { font-size: 11px; }
	.sicw-progress { padding-right: 0; padding-left: 0; }
	.sicw-progress-item small { font-size: 11px; }
	.sicw-progress-item span { width: 34px; height: 34px; }
	.sicw-property-step { gap: 0; }
	.sicw-property-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.sicw-bhk-option { min-height: 112px; }
	.sicw-size-options { grid-template-columns: 1fr 1fr; gap: 8px; }
	.sicw-package-list, .sicw-contact-grid { grid-template-columns: 1fr; }
	.sicw-step { overflow: visible; }
	.sicw-wide { grid-column: auto; }
	.sicw-room-list { grid-template-columns: 1fr; }
	.sicw-package p { min-height: 0; }
	.sicw-step-heading { display: block; }
	.sicw-actions { position: sticky; z-index: 4; bottom: -14px; margin: 18px -14px -14px; padding: 12px 14px 14px; background: var(--sicw-modal-bg); }
	.sicw-actions button { min-width: 108px; }
	.sicw-result { grid-template-columns: 1fr; overflow: visible; }
	.sicw-result-action { border-top: 1px solid #eadfd4; border-left: 0; }
	.sicw-toast { top: 18px; right: 18px; }
}

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] { padding: 12px 12px 10px; }
	.sicw-dialog[data-current-step="0"] .sicw-header { gap: 7px; margin-bottom: 8px; padding-right: 26px; }
	.sicw-dialog[data-current-step="0"] .sicw-brand { padding-right: 36px; }
	.sicw-dialog[data-current-step="0"] .sicw-title { font-size: 16px; }
	.sicw-dialog[data-current-step="0"] .sicw-brand p { font-size: 10px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress-item { gap: 2px; font-size: 9px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress-item span { width: 24px; height: 24px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress::before,
	.sicw-dialog[data-current-step="0"] .sicw-progress::after { top: 11px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading { margin-bottom: 11px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 { font-size: 18px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading p { font-size: 10px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-options { gap: 6px; }
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 126px; }
	.sicw-dialog[data-current-step="0"] .sicw-size-options { grid-template-columns: 1fr 1fr; gap: 7px; }
	.sicw-dialog[data-current-step="0"] .sicw-size-option { min-height: 54px; gap: 8px; }
	.sicw-dialog[data-current-step="0"] .sicw-actions { position: static; margin: 8px -12px -10px; padding: 8px 12px; }
}

@media (max-width: 480px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 104px; }
	.sicw-dialog[data-current-step="0"] .sicw-size-options { grid-template-columns: 1fr; }
}

@media (min-width: 721px) and (max-height: 760px) {
	.sicw-dialog { padding-top: 16px; padding-bottom: 14px; }
	.sicw-header { min-height: 65px; margin-bottom: 7px; }
	.sicw-progress-item span { width: 28px; height: 28px; }
	.sicw-progress::before { top: 14px; }
	.sicw-step h3 { margin-bottom: 10px; font-size: 16px; }
	.sicw-step-badge { margin-bottom: 8px; padding: 5px 10px; }
	.sicw-property-options { gap: 8px; }
	.sicw-size-block { margin-top: 8px; }
	.sicw-size-option { min-height: 54px; padding-top: 7px; padding-bottom: 7px; }
	.sicw-package img { height: 70px; }
	.sicw-package p, .sicw-package ul { font-size: 11px; }
	.sicw-actions { margin-bottom: -14px; padding-top: 8px; padding-bottom: 8px; }
}

@media (min-width: 721px) and (max-height: 660px) {
	.sicw-dialog { padding-top: 10px; padding-bottom: 10px; }
	.sicw-header { min-height: 54px; margin-bottom: 4px; }
	.sicw-brand-mark { width: 34px; height: 34px; }
	.sicw-progress-item { gap: 2px; font-size: 11px; }
	.sicw-progress-item span { width: 26px; height: 26px; }
	.sicw-progress::before { top: 13px; }
	.sicw-property-options { gap: 6px; }
	.sicw-size-options { gap: 7px; }
	.sicw-size-option { min-height: 44px; gap: 9px; padding: 5px 9px; }
	.sicw-actions { margin-top: 7px; padding-top: 5px; padding-bottom: 5px; }
	.sicw-actions button { min-width: 110px; min-height: 38px; padding: 5px 16px; }
}

.sicw-dialog[data-current-step="0"] .sicw-close { top: 8px; right: 8px; width: 28px; height: 28px; font-size: 19px; }
.sicw-dialog[data-current-step="0"] .sicw-brand { padding-right: 36px; }
.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 { margin-bottom: 4px; font-size: clamp(17px, 2.2vw, 23px); }
.sicw-dialog[data-current-step="0"] .sicw-property-heading p { margin: 0; font-size: 11px; }
.sicw-dialog[data-current-step="0"] .sicw-property-heading { margin-bottom: 11px; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 126px; padding: 8px 5px; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option strong { font-size: 14px; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option small { min-height: 24px; margin-top: 0; font-size: 9px; }
.sicw-dialog[data-current-step="0"] .sicw-size-option { min-height: 56px; padding: 7px 12px; }
.sicw-dialog[data-current-step="0"] .sicw-size-option strong { font-size: 12px; }
.sicw-dialog[data-current-step="0"] .sicw-size-option small { font-size: 10px; }

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-close { top: 8px; right: 8px; width: 28px; height: 28px; }
	.sicw-dialog[data-current-step="0"] .sicw-brand { padding-right: 36px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 { font-size: 18px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading p { font-size: 10px; }
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 126px; }
	.sicw-dialog[data-current-step="0"] .sicw-actions button { min-width: 82px; min-height: 36px; padding: 5px 14px; font-size: clamp(11px, var(--sicw-button-size), 13px); }
}

@media (max-width: 480px) {
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 104px; }
}

/* Step one: reference-style property selector */
.sicw-dialog[data-current-step="0"] {
	width: min(calc(100vw - 32px), 765px);
	height: 70vh;
	height: 70dvh;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 20px 20px 20px;
	border: 1px solid #d9e2ef;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(19, 45, 82, .2);
}
.sicw-dialog[data-current-step="0"] .sicw-close {
	top: 20px;
	right: 22px;
	width: 40px;
	height: 40px;
	border: 1px solid #ccd7e5;
	border-radius: 50%;
	font-size: 28px;
}
.sicw-dialog[data-current-step="0"] .sicw-header {
	display: block;
	margin-bottom: 28px;
	padding-right: 0;
}
.sicw-dialog[data-current-step="0"] .sicw-brand {
	display: block;
	padding-right: 54px;
}
.sicw-dialog[data-current-step="0"] .sicw-brand-mark { display: none; }
.sicw-dialog[data-current-step="0"] .sicw-title {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.035em;
}
.sicw-dialog[data-current-step="0"] .sicw-brand p {
	margin-top: 5px;
	color: #59708e;
	font-size: 14px;
}
.sicw-dialog[data-current-step="0"] .sicw-progress {
	margin-top: 24px;
}
.sicw-dialog[data-current-step="0"] .sicw-progress::before,
.sicw-dialog[data-current-step="0"] .sicw-progress::after { top: 19px; }
.sicw-dialog[data-current-step="0"] .sicw-progress-item {
	gap: 7px;
	color: #526783;
	font-size: 12px;
}
.sicw-dialog[data-current-step="0"] .sicw-progress-item span {
	width: 32px;
	height: 32px;
	border: 2px solid #fff;
	background: #e8eef6;
	font-size: 15px;
}
.sicw-dialog[data-current-step="0"] .sicw-progress-item.is-active span {
	transform: none;
	box-shadow: 0 0 0 1px var(--sicw-accent);
}
.sicw-dialog[data-current-step="0"] .sicw-property-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}
.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 {
	margin: 0 0 5px;
	font-size: 18px;
	font-weight: 800;
}
.sicw-dialog[data-current-step="0"] .sicw-property-heading p {
	color: #687d98;
	font-size: 13px;
}
.sicw-property-scroll-tools {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
	color: var(--sicw-accent);
	font-size: 11px;
	font-weight: 700;
}
.sicw-property-scroll-tools button {
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sicw-accent);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.sicw-dialog[data-current-step="0"] .sicw-property-options {
	display: grid;
	grid-auto-columns: 132px;
	grid-auto-flow: column;
	grid-template-columns: none;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 4px 10px;
	scroll-behavior: smooth;
	scroll-padding-inline: 4px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.sicw-dialog[data-current-step="0"] .sicw-property-options::-webkit-scrollbar { display: none; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-group { min-width: 0; scroll-margin-left: 4px; scroll-snap-align: start; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option {
	min-height: 100px;
	padding: 8px 8px 10px;
	border-color: #d9e2ee;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(28, 64, 110, .06);
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-option:has(input:checked) {
	border-color: var(--sicw-accent);
	background: #fff;
	box-shadow: 0 0 0 1px var(--sicw-accent);
}

.sicw-bhk-image {
	display: block;
	width: 100%;
	height: 100px;
	margin-bottom: 8px;
	border-radius: 10px;
	object-fit: cover;
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-icon {
	width: 100%;
	height: 100px;
	margin-bottom: 8px;
	border-radius: 10px;
	background: #edf3f9;
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-icon svg { width: 48px; height: 48px; }
.sicw-dialog[data-current-step="0"] .sicw-bhk-option:has(input:checked) .sicw-bhk-icon {
	background: #eaf3ff;
	color: var(--sicw-accent);
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-option strong {
	font-size: 15px;
	line-height: 1.25;
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-option small {
	min-height: 26px;
	margin-top: 4px;
	color: #71829a;
	font-size: 10px;
	line-height: 1.25;
}
.sicw-dialog[data-current-step="0"] .sicw-size-block {
	margin: 14px -28px 0;
	padding: 16px 28px 0;
	border-top: 1px solid #e1e7ef;
}
.sicw-dialog[data-current-step="0"] .sicw-size-block h4 {
	margin: 0 0 10px;
	color: var(--sicw-heading);
	font-size: 15px;
}
.sicw-dialog[data-current-step="0"] .sicw-size-options { gap: 12px; }
.sicw-dialog[data-current-step="0"] .sicw-size-option {
	min-height: 64px;
	padding: 8px 14px;
	border-radius: 12px;
}
.sicw-dialog[data-current-step="0"] .sicw-size-option strong { font-size: 14px; }
.sicw-dialog[data-current-step="0"] .sicw-size-option small { font-size: 11px; }
.sicw-dialog[data-current-step="0"] .sicw-size-icon {
	width: 40px;
	height: 40px;
	flex-basis: 40px;
	border-radius: 50%;
	background: #edf4fd;
}
.sicw-dialog[data-current-step="0"] .sicw-actions {
	justify-content: flex-end;
	gap: 12px;
	margin: 14px -28px -20px;
	padding: 14px 28px 16px;
	background: #fff;
}
.sicw-dialog[data-current-step="0"] .sicw-actions button {
	min-width: 122px;
	min-height: 46px;
	padding: 8px 22px;
	border-radius: 24px;
	font-size: 14px;
}
.sicw-dialog[data-current-step="0"] .sicw-next { margin-left: 0; }
.sicw-dialog[data-current-step="0"] .sicw-back { border: 1px solid #e0e6ee; background: #f7f9fc; }

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] {
		width: 100%;
		height: calc(100dvh - 20px);
		padding: 18px 16px 14px;
		border-radius: 18px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-close { top: 14px; right: 14px; width: 34px; height: 34px; }
	.sicw-dialog[data-current-step="0"] .sicw-title { font-size: 23px; }
	.sicw-dialog[data-current-step="0"] .sicw-brand p { font-size: 12px; }
	.sicw-dialog[data-current-step="0"] .sicw-header { gap: 0; margin-bottom: 22px; padding-right: 0; }
	.sicw-dialog[data-current-step="0"] .sicw-progress { margin-top: 18px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress-item { font-size: 10px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress-item span { width: 32px; height: 32px; }
	.sicw-dialog[data-current-step="0"] .sicw-progress::before,
	.sicw-dialog[data-current-step="0"] .sicw-progress::after { top: 15px; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading { align-items: flex-start; }
	.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 { font-size: 21px; }
	.sicw-property-scroll-tools span { display: none; }
	.sicw-dialog[data-current-step="0"] .sicw-property-options { grid-auto-columns: 126px; }
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option { min-height: 166px; }
	.sicw-dialog[data-current-step="0"] .sicw-size-block { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
	.sicw-dialog[data-current-step="0"] .sicw-size-options { grid-template-columns: 1fr 1fr; }
	.sicw-dialog[data-current-step="0"] .sicw-actions { position: static; margin-right: -16px; margin-bottom: -14px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 480px) {
	.sicw-dialog[data-current-step="0"] .sicw-size-options { grid-template-columns: 1fr; }
	.sicw-dialog[data-current-step="0"] .sicw-actions button { min-width: 104px; }
}
/* Typography always follows the active theme. */
.sic-calculator,
.sic-calculator *,
.sicw-card,
.sicw-card *,
.sicw-overlay,
.sicw-overlay * ,
.sicw-toast {
	font-family: inherit;
}
/* Keep property size and step navigation in one footer. */
.sicw-dialog[data-current-step="0"] .sicw-property-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 22px;
	margin: 14px -20px -20px;
	padding: 16px 20px 18px;
	border-top: 1px solid #e1e7ef;
	background: #fff;
}
.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-block {
	margin: 0;
	padding: 0;
	border: 0;
}
.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-actions {
	grid-column: 2;
	align-self: end;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-options {
	grid-template-columns: repeat(2, minmax(185px, 1fr));
}

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-footer {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-right: -16px;
		margin-bottom: -14px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-actions {
		grid-column: 1;
		justify-content: flex-end;
	}
}
.sicw-dialog[data-current-step="0"] .sicw-bhk-option {
	min-height: 100px;
}
/* Fill the complete step-one modal height from header to footer. */
.sicw-dialog[data-current-step="0"] .sicw-form,
.sicw-dialog[data-current-step="0"] .sicw-property-step,
.sicw-dialog[data-current-step="0"] .sicw-property-picker {
	min-height: 0;
	flex: 1 1 auto;
}
.sicw-dialog[data-current-step="0"] .sicw-property-footer {
	margin-top: auto;
}
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] {
		width: 100%;
		height: calc(100dvh - 140px);
		padding: 18px 16px 14px;
		border-radius: 18px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-title {
		font-size: 24px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 {
		font-size: 18px;
	}
}

.sicw-dialog[data-current-step="0"] .sicw-bhk-option:has(input:checked)::after {
	top: 9px;
	right: 9px;
	width: 24px;
	height: 24px;
	border: 2px solid #fff;
	font-size: 13px;
	box-shadow: 0 1px 4px rgba(0, 72, 190, .25);
}
/* Title, subtitle and close control share one top header row. */
.sicw-dialog[data-current-step="0"] .sicw-brand {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-right: 0;
}
.sicw-dialog[data-current-step="0"] .sicw-brand > div {
	min-width: 0;
}
.sicw-dialog[data-current-step="0"] .sicw-brand .sicw-close {
	position: static;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}
/* Full-width divider below the complete step-one header. */
.sicw-dialog[data-current-step="0"] .sicw-header {
	margin-right: -20px;
	margin-bottom: 20px;
	margin-left: -20px;
	padding-right: 20px;
	padding-bottom: 18px;
	padding-left: 20px;
	border-bottom: 1px solid #d9e2ef;
}
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-header {
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
}
/* Progress sits below the title header and exposes three clear states. */
.sicw-dialog .sicw-header {
	display: block;
	min-height: 0;
	margin-bottom: 0;
	padding-right: 0;
}
.sicw-dialog .sicw-progress {
	margin: 16px 0 22px;
}
.sicw-dialog .sicw-progress-item {
	color: #667085;
	font-weight: 500;
}
.sicw-dialog .sicw-progress-item span {
	background: #e8edf3;
	color: #667085;
}
.sicw-dialog .sicw-progress-item.is-active {
	color: var(--sicw-accent);
	font-weight: 700;
}
.sicw-dialog .sicw-progress-item.is-active span {
	background: var(--sicw-accent);
	color: #fff;
	box-shadow: 0 0 0 3px var(--sicw-selected-bg);
}
.sicw-dialog .sicw-progress-item.is-complete {
	color: #15803d;
	font-weight: 700;
}
.sicw-dialog .sicw-progress-item.is-complete span {
	background: #16a34a;
	color: #fff;
	box-shadow: none;
}
.sicw-dialog[data-current-step="0"] .sicw-header {
	margin-bottom: 0;
}
.sicw-dialog[data-current-step="0"] .sicw-progress {
	margin: 16px 0 20px;
}
/* Step two uses the same modal shell and header sizing as step one. */
.sicw-dialog[data-current-step="1"] {
	width: min(calc(100vw - 32px), 765px);
	height: 70vh;
	height: 70dvh;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 20px;
	border: 1px solid #d9e2ef;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(19, 45, 82, .2);
}
.sicw-dialog[data-current-step="1"] .sicw-header {
	margin-right: -20px;
	margin-bottom: 0;
	margin-left: -20px;
	padding-right: 20px;
	padding-bottom: 18px;
	padding-left: 20px;
	border-bottom: 1px solid #d9e2ef;
}
.sicw-dialog[data-current-step="1"] .sicw-brand {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-right: 0;
}
.sicw-dialog[data-current-step="1"] .sicw-brand-mark { display: none; }
.sicw-dialog[data-current-step="1"] .sicw-title { font-size: 30px; }
.sicw-dialog[data-current-step="1"] .sicw-brand p { margin-top: 5px; font-size: 14px; }
.sicw-dialog[data-current-step="1"] .sicw-brand .sicw-close {
	position: static;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}
.sicw-dialog[data-current-step="1"] .sicw-progress { margin: 16px 0 20px; }
.sicw-dialog[data-current-step="1"] .sicw-progress-item span {
	width: 32px;
	height: 32px;
}
.sicw-dialog[data-current-step="1"] .sicw-progress::before,
.sicw-dialog[data-current-step="1"] .sicw-progress::after { top: 15px; }
.sicw-dialog[data-current-step="1"] .sicw-actions {
	margin-right: -20px;
	margin-bottom: -20px;
	margin-left: -20px;
	padding-right: 20px;
	padding-left: 20px;
}

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="1"] {
		width: 100%;
		height: calc(100dvh - 140px);
		padding: 18px 16px 14px;
		border-radius: 18px;
	}
	.sicw-dialog[data-current-step="1"] .sicw-header {
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
	.sicw-dialog[data-current-step="1"] .sicw-title { font-size: 24px; }
	.sicw-dialog[data-current-step="1"] .sicw-actions {
		margin-right: -16px;
		margin-bottom: -14px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
}
/* Use the step-one navigation button treatment throughout the wizard. */
.sicw-dialog .sicw-actions {
	justify-content: flex-end;
	gap: 12px;
}
.sicw-dialog .sicw-actions button {
	min-width: 122px;
	min-height: 46px;
	padding: 8px 22px;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 800;
}
.sicw-dialog .sicw-next,
.sicw-dialog .sicw-submit {
	margin-left: 0;
}
.sicw-dialog .sicw-back {
	border: 1px solid #e0e6ee;
	background: #f7f9fc;
}
@media (max-width: 480px) {
	.sicw-dialog .sicw-actions button {
		min-width: 104px;
		padding-right: 18px;
		padding-left: 18px;
	}
}
.sicw-notes-card h3 {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
}
.sicw-notes-card p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
}
.sicw-notes-card p:last-child { margin-bottom: 0; }
/* Step three uses the same modal shell as steps one and two. */
.sicw-dialog[data-current-step="2"] {
	width: min(calc(100vw - 32px), 765px);
	height: 70vh;
	height: 70dvh;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 20px;
	border: 1px solid #d9e2ef;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(19, 45, 82, .2);
}
.sicw-dialog[data-current-step="2"] .sicw-header {
	margin-right: -20px;
	margin-bottom: 0;
	margin-left: -20px;
	padding-right: 20px;
	padding-bottom: 18px;
	padding-left: 20px;
	border-bottom: 1px solid #d9e2ef;
}
.sicw-dialog[data-current-step="2"] .sicw-brand {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-right: 0;
}
.sicw-dialog[data-current-step="2"] .sicw-brand-mark { display: none; }
.sicw-dialog[data-current-step="2"] .sicw-title { font-size: 30px; }
.sicw-dialog[data-current-step="2"] .sicw-brand p { margin-top: 5px; font-size: 14px; }
.sicw-dialog[data-current-step="2"] .sicw-brand .sicw-close {
	position: static;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}
.sicw-dialog[data-current-step="2"] .sicw-progress { margin: 16px 0 20px; }
.sicw-dialog[data-current-step="2"] .sicw-progress-item span {
	width: 32px;
	height: 32px;
}
.sicw-dialog[data-current-step="2"] .sicw-progress::before,
.sicw-dialog[data-current-step="2"] .sicw-progress::after { top: 15px; }
.sicw-dialog[data-current-step="2"] .sicw-actions {
	margin-right: -20px;
	margin-bottom: -20px;
	margin-left: -20px;
	padding-right: 20px;
	padding-left: 20px;
}

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="2"] {
		width: 100%;
		height: calc(100dvh - 140px);
		padding: 18px 16px 14px;
		border-radius: 18px;
	}
	.sicw-dialog[data-current-step="2"] .sicw-header {
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
	.sicw-dialog[data-current-step="2"] .sicw-title { font-size: 24px; }
	.sicw-dialog[data-current-step="2"] .sicw-actions {
		margin-right: -16px;
		margin-bottom: -14px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
}
/* Give package cards enough vertical room and prevent content clipping. */
.sicw-dialog[data-current-step="2"] .sicw-step[data-step="2"] {
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 2px 10px;
}
.sicw-dialog[data-current-step="2"] .sicw-package-list {
	align-items: stretch;
}
.sicw-dialog[data-current-step="2"] .sicw-package {
	min-height: 260px;
	height: 100%;
	overflow: visible;
}
.sicw-dialog[data-current-step="2"] .sicw-package img {
	height: 100px;
	object-fit: cover;
}
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="2"] .sicw-package {
		min-height: 230px;
	}
}
/* Extra packages continue into equal-height rows. */
.sicw-dialog[data-current-step="2"] .sicw-package-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
}

/* Step four uses the same modal shell as the earlier steps. */
.sicw-dialog[data-current-step="3"] {
	width: min(calc(100vw - 32px), 765px);
	height: 70vh;
	height: 70dvh;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 20px;
	border: 1px solid #d9e2ef;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(19, 45, 82, .2);
}
.sicw-dialog[data-current-step="3"] .sicw-header {
	margin-right: -20px;
	margin-bottom: 0;
	margin-left: -20px;
	padding-right: 20px;
	padding-bottom: 18px;
	padding-left: 20px;
	border-bottom: 1px solid #d9e2ef;
}
.sicw-dialog[data-current-step="3"] .sicw-brand {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-right: 0;
}
.sicw-dialog[data-current-step="3"] .sicw-brand-mark { display: none; }
.sicw-dialog[data-current-step="3"] .sicw-title { font-size: 30px; }
.sicw-dialog[data-current-step="3"] .sicw-brand p { margin-top: 5px; font-size: 14px; }
.sicw-dialog[data-current-step="3"] .sicw-brand .sicw-close {
	position: static;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}
.sicw-dialog[data-current-step="3"] .sicw-progress { margin: 16px 0 20px; }
.sicw-dialog[data-current-step="3"] .sicw-progress-item span {
	width: 32px;
	height: 32px;
}
.sicw-dialog[data-current-step="3"] .sicw-progress::before,
.sicw-dialog[data-current-step="3"] .sicw-progress::after { top: 15px; }
.sicw-dialog[data-current-step="3"] .sicw-step[data-step="3"] {
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 2px 10px;
}
.sicw-dialog[data-current-step="3"] .sicw-actions {
	margin-right: -20px;
	margin-bottom: -20px;
	margin-left: -20px;
	padding-right: 20px;
	padding-left: 20px;
}

@media (max-width: 720px) {
	.sicw-dialog[data-current-step="2"] .sicw-package-list {
		grid-template-columns: 1fr;
	}
	.sicw-dialog[data-current-step="3"] {
		width: 100%;
		height: calc(100dvh - 140px);
		padding: 18px 16px 14px;
		border-radius: 18px;
	}
	.sicw-dialog[data-current-step="3"] .sicw-header {
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
	.sicw-dialog[data-current-step="3"] .sicw-title { font-size: 24px; }
	.sicw-dialog[data-current-step="3"] .sicw-actions {
		margin-right: -16px;
		margin-bottom: -14px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}
}
/* Tablet and mobile: use the complete viewport for every wizard step. */
@media (max-width: 1024px) {
	.sicw-overlay {
		place-items: stretch;
		padding: 0;
	}
	.sicw-dialog,
	.sicw-dialog[data-current-step="0"],
	.sicw-dialog[data-current-step="1"],
	.sicw-dialog[data-current-step="2"],
	.sicw-dialog[data-current-step="3"] {
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		max-width: none;
		max-height: none;
		padding: 20px;
		overflow-y: auto;
		border: 0;
		border-radius: 0;
	}
	.sicw-dialog .sicw-brand {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 20px;
		padding-right: 0;
	}
	.sicw-dialog .sicw-brand .sicw-close {
		position: static;
		width: 40px;
		height: 40px;
		flex: 0 0 40px;
	}
}

@media (max-width: 720px) {
	.sicw-dialog,
	.sicw-dialog[data-current-step="0"],
	.sicw-dialog[data-current-step="1"],
	.sicw-dialog[data-current-step="2"],
	.sicw-dialog[data-current-step="3"] {
		padding: 16px;
	}
}
.sicw-step h3,
.sicw-result h3 {
	margin: 8px 0 14px;
	color: var(--sicw-heading);
	font-size: clamp(16px, 2.2vw, 26px);
	line-height: 1.2;
	letter-spacing: -.02em;
}

/* Mobile: fixed header/footer with only the active step scrolling. */
@media (max-width: 720px) {
	.sicw-dialog,
	.sicw-dialog[data-current-step="0"],
	.sicw-dialog[data-current-step="1"],
	.sicw-dialog[data-current-step="2"],
	.sicw-dialog[data-current-step="3"] {
		overflow: hidden;
	}
	.sicw-dialog [data-sicw-app] {
		height: 100%;
		min-height: 0;
		overflow: hidden;
	}
	.sicw-dialog .sicw-header {
		position: relative;
		z-index: 6;
		flex: 0 0 auto;
		background: var(--sicw-modal-bg);
	}
	.sicw-dialog .sicw-progress {
		position: relative;
		z-index: 5;
		flex: 0 0 auto;
		background: var(--sicw-modal-bg);
	}
	.sicw-dialog .sicw-form {
		min-height: 0;
		overflow: hidden;
	}
	.sicw-dialog .sicw-step {
		min-height: 0;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		padding-right: 2px;
		padding-bottom: 12px;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.sicw-dialog .sicw-actions {
		position: relative;
		z-index: 7;
		bottom: auto;
		flex: 0 0 auto;
		background: var(--sicw-modal-bg);
	}

	.sicw-dialog[data-current-step="0"] .sicw-property-step {
		display: block;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-picker {
		display: block;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-options {
		display: grid;
		grid-auto-columns: auto;
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		overflow: visible;
		padding: 2px 2px 12px;
		scroll-snap-type: none;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-scroll-tools {
		display: none;
	}
	.sicw-dialog[data-current-step="0"] .sicw-bhk-group {
		width: auto;
		scroll-snap-align: none;
	}
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option {
		width: 100%;
		height: 100%;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer {
		position: sticky;
		z-index: 8;
		bottom: -12px;
		margin-top: 12px;
		background: var(--sicw-modal-bg);
	}

	.sicw-dialog[data-current-step="2"] .sicw-package-list {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
	.sicw-dialog[data-current-step="2"] .sicw-package {
		height: auto;
	}
}
/* Keep the mobile property heading and grid inside the viewport. */
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-step,
	.sicw-dialog[data-current-step="0"] .sicw-property-picker,
	.sicw-dialog[data-current-step="0"] .sicw-property-heading,
	.sicw-dialog[data-current-step="0"] .sicw-property-heading > div,
	.sicw-dialog[data-current-step="0"] .sicw-property-options {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-heading {
		display: block;
		overflow: hidden;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-heading h3 {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: normal;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-options {
		padding-right: 0;
		padding-left: 0;
	}
	.sicw-dialog[data-current-step="0"] .sicw-bhk-group,
	.sicw-dialog[data-current-step="0"] .sicw-bhk-option {
		max-width: 100%;
		min-width: 0;
	}
}
/* Prevent the step-one size and navigation footer from overflowing on mobile. */
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-footer {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 12px 0 0;
		padding: 12px 0 0;
		bottom: 0;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-block,
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-options,
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-actions {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-option {
		min-width: 0;
		gap: 8px;
		padding: 8px 10px;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-actions {
		flex-wrap: nowrap;
		gap: 8px;
		margin: 0;
		padding: 12px 0 0;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-actions button {
		width: auto;
		min-width: 0;
		max-width: 160px;
		flex: 1 1 0;
		padding-right: 12px;
		padding-left: 12px;
	}
}

@media (max-width: 380px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-footer .sicw-size-options {
		grid-template-columns: 1fr;
	}
}
/* Keep the step-one footer at the bottom with or without size choices. */
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="0"] .sicw-property-step {
		display: flex;
		min-height: 100%;
		flex-direction: column;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-picker {
		display: flex;
		min-height: 0;
		flex: 1 1 auto;
		flex-direction: column;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-options {
		flex: 0 0 auto;
	}
	.sicw-dialog[data-current-step="0"] .sicw-property-footer {
		flex: 0 0 auto;
		margin-top: auto;
	}
}
/* Keep the package-step heading visible while package cards scroll. */
@media (max-width: 720px) {
	.sicw-dialog[data-current-step="2"] .sicw-step[data-step="2"] > h3 {
		position: sticky;
		z-index: 6;
		top: 0;
		margin: 0 0 12px;
		padding: 8px 0 10px;
		background: var(--sicw-modal-bg);
	}
}
/* Compact mobile toaster */
@media (max-width: 720px) {
  .sicw-toast {
    top: auto;
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    transform: translateX(-50%);
  }
}

/* Result-only modal: close lives on the consultation card. */
.sicw-dialog.is-result .sicw-form {
  flex: 0 0 auto;
}
.sicw-dialog.is-result .sicw-result {
  width: 100%;
  box-shadow: none;
}
.sicw-dialog.is-result .sicw-result-action {
  position: relative;
  padding-top: 68px;
}
.sicw-dialog.is-result .sicw-result-action .sicw-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-color: rgba(64, 50, 39, .16);
  background: rgba(255, 255, 255, .72);
  font-size: 24px;
}
.sicw-toast {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
}
@media (min-width: 1025px) {
  .sicw-dialog.is-result {
    height: auto;
    max-height: calc(100dvh - 48px);
    padding: 0;
  }
  .sicw-dialog.is-result [data-sicw-app] {
    height: auto;
  }
  .sicw-dialog.is-result .sicw-result {
    min-height: 480px;
    border: 0;
    border-radius: inherit;
  }
}
@media (max-width: 720px) {
  .sicw-dialog.is-result {
    padding: 0;
  }
  .sicw-dialog.is-result .sicw-result {
    height: 100%;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }
  .sicw-dialog.is-result .sicw-result-action {
    min-height: 280px;
    padding-top: 64px;
  }
  .sicw-toast {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .sicw-dialog.is-result .sicw-form {
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
  }
}

/* Clean result summary and repeat quotation action. */
.sicw-result-summary {
  max-height: 190px;
  padding: 6px 12px;
  border: 1px solid #e3e7ec;
  background: #f8f9fb;
}
.sicw-summary-row {
  display: grid;
  grid-template-columns: minmax(105px, .8fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e6e9ee;
  line-height: 1.35;
}
.sicw-summary-row:last-child { border-bottom: 0; }
.sicw-summary-row strong { color: var(--sicw-heading); font-weight: 700; }
.sicw-summary-row span { min-width: 0; overflow-wrap: anywhere; }
.sicw-another-quote {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 16px;
  color: #62584f;
  font-size: 12px;
}
.sicw-another-quote button {
  padding: 3px 5px;
  border: 0;
  background: transparent;
  color: var(--sicw-heading);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 480px) {
  .sicw-summary-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
