/* Phase 03B visual-consistency layer. Keeps legacy business logic intact. */
.msq-legacy-main{padding-block:clamp(32px,5vw,72px);background:linear-gradient(180deg,#fff 0%,#f7faff 100%)}
.msq-legacy-main>.wp-block-post-content{max-width:none!important;margin:0!important}
.msq-legacy-preserved{width:min(1280px,calc(100% - 32px));margin-inline:auto;overflow:clip;border-radius:28px}
.msq-legacy-note{display:flex;align-items:center;width:fit-content;max-width:100%;margin:0 auto 22px;padding:9px 14px;border:1px solid #d8e5f7!important;border-inline-start:3px solid #1769e0!important;border-radius:999px!important;background:#f3f7fd!important;color:#516987!important;font:600 12px/1.65 Cairo,system-ui,sans-serif!important;box-shadow:0 8px 24px rgba(11,37,83,.06)}
.msq-legacy-preserved>div[dir],.msq-legacy-preserved>section{box-shadow:0 24px 70px rgba(11,37,83,.08)}
.msq-legacy-preserved a:focus-visible,.msq-legacy-preserved button:focus-visible,.msq-legacy-preserved input:focus-visible,.msq-legacy-preserved select:focus-visible,.msq-legacy-preserved textarea:focus-visible{outline:3px solid rgba(23,105,224,.35)!important;outline-offset:3px!important}
.msq-legacy-preserved table{max-width:100%}
.msq-legacy-preserved input,.msq-legacy-preserved select,.msq-legacy-preserved textarea,.msq-legacy-preserved button{font-family:inherit}
.msq-legacy-empty{max-width:900px;margin-inline:auto;padding:clamp(42px,7vw,84px) clamp(24px,6vw,72px);border:1px solid #d8e5f7;border-radius:28px;background:radial-gradient(circle at 90% 10%,rgba(23,105,224,.14),transparent 32%),linear-gradient(145deg,#fff,#f3f7fd);text-align:center;box-shadow:0 24px 70px rgba(11,37,83,.1)}
.msq-legacy-empty__mark{display:grid;width:64px;height:64px;margin:0 auto 22px;place-items:center;border-radius:20px;background:linear-gradient(135deg,#1769e0,#55a5ff);color:#fff;font:800 28px/1 Inter,sans-serif;box-shadow:0 18px 34px rgba(23,105,224,.22)}
.msq-legacy-empty h1{margin:0;color:#0b2553;font-size:clamp(2rem,5vw,3.8rem);line-height:1.15}
.msq-legacy-empty p{max-width:680px;margin:18px auto 0;color:#64748b;font-size:1.05rem}
.msq-legacy-empty a{display:inline-flex;min-height:48px;margin-top:26px;padding:11px 22px;align-items:center;justify-content:center;border-radius:14px;background:#1769e0;color:#fff!important;font-weight:800;text-decoration:none;box-shadow:0 12px 28px rgba(23,105,224,.2)}
.msq-commerce-page{width:min(1180px,calc(100% - 32px));max-width:none!important;margin-inline:auto}
.msq-commerce-page .wc-block-checkout{font-family:Cairo,Inter,system-ui,sans-serif}
.msq-commerce-page .wc-block-components-text-input input,.msq-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input{border-radius:12px!important}
.msq-commerce-page .wc-block-components-order-summary,.msq-commerce-page .wc-block-checkout__main{border-radius:18px}
.msq-header{background:rgba(255,255,255,.94)!important;border-color:#dbe5f2!important;color:#17243a!important}
.msq-header .msq-nav a,.msq-header .msq-brand{color:#17243a!important}
.msq-header .msq-icon-button,.msq-header .msq-menu-toggle{background:#fff!important;border-color:#dbe5f2!important;color:#17243a!important}
.msq-footer{background:#07152e!important;color:#c7d5e7!important}
.msq-footer h2,.msq-footer .msq-brand{color:#fff!important}.msq-footer a:not(.msq-brand){color:#c7d5e7!important}.msq-footer p{color:#9eb1cb!important}
html[data-theme="dark"] .msq-legacy-main{background:#07152e}
html[data-theme="dark"] .msq-legacy-note{background:#102442!important;border-color:#29456c!important;color:#c5d2e5!important}
html[data-theme="dark"] .msq-legacy-empty{background:radial-gradient(circle at 90% 10%,rgba(85,165,255,.15),transparent 34%),linear-gradient(145deg,#0b2553,#07152e);border-color:#29456c}
html[data-theme="dark"] .msq-legacy-empty h1{color:#fff}html[data-theme="dark"] .msq-legacy-empty p{color:#c5d2e5}
@media(max-width:767px){.msq-legacy-main{padding-block:24px}.msq-legacy-preserved{width:min(100% - 20px,1280px);border-radius:20px}.msq-legacy-note{width:100%;border-radius:14px!important;text-align:start}.msq-legacy-preserved>div[dir],.msq-legacy-preserved>section{border-radius:20px!important}.msq-commerce-page{width:min(100% - 20px,1180px)}.msq-legacy-empty{padding:42px 20px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){.msq-legacy-preserved *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
