/* Guided application panels preserve the original controls and their state. */
#pageRoot[data-application-wizard="true"] {
    --mwa-ink: #183259;
    --mwa-muted: #677d9d;
    --mwa-blue: #1689d6;
    --mwa-pink: #db529c;
    min-height: 100dvh;
    padding: 18px !important;
    align-items: center !important;
}
#pageRoot[data-application-wizard="true"] .mwa-shell {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: min(1320px, 100%);
    max-width: 1320px !important;
    height: min(850px, calc(100dvh - 36px));
    min-height: 570px;
    padding: 0 !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, .95) !important;
    border: 1px solid #d8e5f2 !important;
    box-shadow: 0 24px 75px #24466c1c !important;
    color: var(--mwa-ink);
}
#pageRoot[data-application-wizard="true"] .mwa-legacy,
#pageRoot[data-application-wizard="true"] #mobileApplicationProgress,
#pageRoot[data-application-wizard="true"] #mobileStepNav,
#pageRoot[data-application-wizard="true"] #mobileIdentityTabs,
#pageRoot[data-application-wizard="true"] #pharmacyDetailsNextBtn,
#pageRoot[data-application-wizard="true"] #pharmacyDetailsBackBtn,
#pageRoot[data-application-wizard="true"] #supplierDetailsNextBtn,
#pageRoot[data-application-wizard="true"] #supplierDetailsBackBtn,
#pageRoot[data-application-wizard="true"] #backToHomeLink,
#pageRoot[data-application-wizard="true"] #submitBtn { display: none !important; }
#pageRoot[data-application-wizard="true"] #regForm {
    display: block !important;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.mwa-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 12px; }
.mwa-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: #183259; }
.mwa-brand-mark { display: block; object-fit: contain; width: 31px; height: 33px; }
.mwa-close { border: 0; background: transparent; color: #667c9b; font-size: 12px; font-weight: 650; padding: 8px; border-radius: 8px; }
.mwa-close:hover { color: #1689d6; background: #eef8ff; }
.mwa-progress { display: flex; gap: 9px; padding: 4px 26px 17px; border-bottom: 1px solid #e3ecf5; }
.mwa-progress-step { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; position: relative; border: 1px solid #e1eaf4; border-radius: 12px; padding: 9px 12px; min-height: 42px; background: #f8fafd; color: #6d7e98; font-size: 12px; font-weight: 750; transition: background .2s, border-color .2s, color .2s; }
.mwa-progress-step:disabled { cursor: default; opacity: .65; }
.mwa-progress-number { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #eaf0f7; font-size: 11px; }
.mwa-progress-step.is-active { background: #edf8ff; border-color: #98d5f3; color: #1778b9; opacity: 1; }
.mwa-progress-step.is-active .mwa-progress-number { background: #1689d6; color: white; }
.mwa-progress-step.is-complete { border-color: #b7e1d3; color: #2c8772; background: #f0fbf7; }
.mwa-progress-step.is-complete .mwa-progress-number { background: #e0f5ed; color: #27866f; }
.mwa-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); height: 100%; min-height: 0; }
#pageRoot[data-application-wizard="true"] #regForm > .mwa-layout { padding: 0 !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.mwa-guide { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 32px 22px 22px; border-right: 1px solid #e6edf6; background: linear-gradient(170deg, #eef9ff 0%, #f7faff 52%, #fff1f9 100%); border-radius: 0 0 0 24px; text-align: center; }
.mwa-guide-art { width: 205px; max-width: 100%; height: auto; flex: 0 0 auto; margin: 12px -9px 6px; overflow: visible; }
.mwa-guide-name { font-size: 10px; letter-spacing: .055em; text-transform: uppercase; font-weight: 850; color: #486a92; }
.mwa-guide-copy { margin: 17px 0 0; color: #344d73; font-size: 15px; font-weight: 650; line-height: 1.65; }
.mwa-guide-tip { margin: auto 0 0; padding-top: 20px; font-size: 11px; color: #73829c; line-height: 1.6; }
.mwa-guide-body { transform-origin: center; animation: mwa-float 5s ease-in-out infinite; }
.mwa-guide-orbit { transform-origin: 120px 90px; animation: mwa-orbit 9s ease-in-out infinite; }
.mwa-scene { display: none; transform-origin: 177px 127px; }
[data-wizard-stage="account"] .mwa-scene-account,
[data-wizard-stage="owner"] .mwa-scene-owner,
[data-wizard-stage="business"] .mwa-scene-business,
[data-wizard-stage="documents"] .mwa-scene-documents,
[data-wizard-stage="review"] .mwa-scene-review { display: block; animation: mwa-scene-in .32s ease-out both; }
.mwa-workspace { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mwa-title-block { position: relative; flex: 0 0 auto; padding: 23px 28px 14px; }
.mwa-mobile-guide { display: none; }
.mwa-kicker { margin: 0 0 6px; color: #8490a6; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.mwa-title { margin: 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; color: #183259; outline: none; }
.mwa-description { display: none; margin: 9px 0 0; color: #657c9d; font-size: 12px; line-height: 1.5; }
.mwa-stage { flex: 1 1 auto; min-height: 0; position: relative; padding: 4px 28px 16px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c4d8eb transparent; }
.mwa-panel { min-width: 0; }
#pageRoot[data-application-wizard="true"] .mwa-panel[hidden] { display: none !important; }
.mwa-panel.is-active { display: block; animation: mwa-panel-in .23s ease-out both; }
[data-wizard-direction="back"] .mwa-panel.is-active { animation-name: mwa-panel-back; }
#pageRoot[data-application-wizard="true"] .mwa-panel > [data-wizard-source] { display: block !important; }
.mwa-panel > .relative + .relative { margin-top: 20px; }
.mwa-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), select, textarea) { font-size: 14px; }
.mwa-panel [class*="space-y-"] > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }
.mwa-footer { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 15px 28px; border-top: 1px solid #e6edf5; background: #fff; border-radius: 0 0 24px 0; }
.mwa-back, .mwa-next { min-height: 44px; border-radius: 12px; padding: 10px 20px; font-weight: 750; font-size: 13px; transition: background .2s, box-shadow .2s; }
.mwa-back { background: white; color: #56708f; border: 1px solid #dbe6f0; }
.mwa-next { margin-left: auto; color: white; background: linear-gradient(120deg, #167bd0, #3064c7); border: 1px solid #2675c6; box-shadow: 0 5px 14px #167bd023; }
.mwa-next:hover { box-shadow: 0 7px 18px #167bd039; }
.mwa-back:disabled, .mwa-next:disabled { opacity: .48; cursor: default; box-shadow: none; }
.mwa-panel-counter { color: #8290a5; font-size: 11px; }
.mwa-panel-error { flex: 0 0 auto; margin: 0 28px 10px; border: 1px solid #f0bfd3; border-radius: 10px; padding: 10px 12px; background: #fff3f8; color: #a33364; font-size: 12px; line-height: 1.5; }
.mwa-panel-error[hidden] { display: none; }
.mwa-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mwa-header button:focus-visible, .mwa-progress button:focus-visible, .mwa-footer button:focus-visible, .mwa-review-edit:focus-visible { outline: 3px solid #69b9e8; outline-offset: 3px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-wrap { margin: 8px 0 0; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; overflow: visible; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card { width: 100%; height: clamp(225px, 30vh, 320px); min-height: 0; max-width: none; border-radius: 19px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card img { height: 100%; object-fit: cover; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-content { padding: 14px 11px; gap: 9px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-icon { width: 34px; height: 36px; flex: 0 0 34px; font-size: 18px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-kicker { font-size: 13px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-title { font-size: 10px; line-height: 1.35; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(.org-info-card, .pharmacy-detail-card, .doc-game-card) { padding: 16px; box-shadow: none !important; }
.mwa-panel .org-info-card + .org-info-card { margin-top: 12px; }
.mwa-panel[data-wizard-panel="organization-contact"].is-active { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mwa-panel[data-wizard-panel="organization-contact"] > .org-info-card:first-child { grid-column: 1 / -1; }
.mwa-panel[data-wizard-panel="organization-contact"] > .org-info-card { margin: 0; }
.mwa-panel .org-info-card:has(.org-info-results) { overflow: visible; }
.mwa-panel :is(.org-info-caption, .pharmacy-detail-caption) { font-size: 11px; line-height: 1.4; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(#pharmacyAccountFlow, #organizationAccountFlow) { margin: 15px 0 0; max-width: none; }
#pageRoot[data-application-wizard="true"] .mwa-panel .pharmacy-schedule-card { padding: 19px; }
.mwa-identity-panel > .grid + .grid { margin-top: 18px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-upload-panel { padding: 12px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-stage { min-height: 125px; height: clamp(125px, 19vh, 180px); }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-shell { margin-top: 10px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel :is(.id-scan-empty-title, .id-scan-caption) { font-size: 11px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-empty-copy { font-size: 10px; }
#pageRoot[data-application-wizard="true"] .mwa-map-panel #map { height: clamp(235px, 36vh, 365px) !important; min-height: 220px; }
#pageRoot[data-application-wizard="true"] .mwa-map-panel .supplier-map-stage { height: clamp(240px, 40vh, 395px); min-height: 220px; }
#pageRoot[data-application-wizard="true"] .mwa-panel[data-wizard-panel="supplier-location"] .supplier-map-stage { height: clamp(200px, 27vh, 310px); min-height: 180px; margin-top: 12px; }
.mwa-panel[data-wizard-panel="supplier-location"] > .org-info-card { margin-top: 0; }
#pageRoot[data-application-wizard="true"] .mwa-map-panel #supplierMap { height: 100% !important; }
.mwa-map-panel #pharmacyDetailsPinPage > .grid { gap: 16px; }
.mwa-map-panel #pharmacyDetailsPinPage > .mt-4 { margin-top: 12px; }
.mwa-map-panel .map-location-fallback { max-width: min(100% - 24px, 420px); }
.mwa-supplier-profile.is-active { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.mwa-supplier-profile > .grid { display: flex; flex-direction: column; gap: 9px; }
.mwa-supplier-profile .org-info-card + .org-info-card { margin-top: 0; }
#pageRoot[data-application-wizard="true"] .mwa-supplier-profile .org-info-card { padding: 12px; }
.mwa-supplier-profile .org-info-caption { display: none; }
.mwa-supplier-profile .org-info-label { margin-bottom: 3px; }
.mwa-supplier-profile .supplier-autofill-input-shell { margin-top: 6px; }
.mwa-supplier-profile .org-info-input { padding-top: 9px; padding-bottom: 9px; }
.mwa-supplier-profile .supplier-activity-option { padding: 6px 8px; font-size: 10px; }
.mwa-supplier-profile .supplier-profile-search-shell { grid-template-columns: minmax(0, 1fr); }
.mwa-supplier-profile .supplier-profile-results { max-height: 260px; }
.mwa-document-panel :is(#organizationDocsHint, #supplierDocsHint) { display: none; }
.mwa-document-panel :is(#organizationDocItems, #supplierDocItems) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#pageRoot[data-application-wizard="true"] .mwa-document-outside-page { display: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-document-panel .doc-game-card { padding: 14px; }
.mwa-review-panel.is-active { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; align-items: start; }
.mwa-review-panel #additionalNotesWrap { padding-top: 0; }
.mwa-review-summary { border: 1px solid #e0eaf5; border-radius: 15px; overflow: hidden; }
.mwa-review-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 11px 14px; }
.mwa-review-row + .mwa-review-row { border-top: 1px solid #eaf0f7; }
.mwa-review-row > div { min-width: 0; }
.mwa-review-label { display: block; font-size: 10px; color: #778ca7; font-weight: 650; margin-bottom: 3px; }
.mwa-review-value { display: block; font-size: 12px; font-weight: 750; color: #2b466f; overflow-wrap: anywhere; }
.mwa-review-edit { flex: 0 0 auto; padding: 7px 4px; border: 0; background: transparent; color: #157fc5; font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.mwa-review-panel .notes-chip { display: none; }
.mwa-panel[data-wizard-panel="agreements"] { max-width: 700px; margin: 20px auto; }
.mwa-panel[data-wizard-panel="agreements"] #applicationAgreementsSection { margin: 0; }
@keyframes mwa-panel-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes mwa-panel-back { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes mwa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes mwa-orbit { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes mwa-scene-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1080px) {
    .mwa-layout { grid-template-columns: 175px minmax(0, 1fr); }
    .mwa-guide { padding: 23px 15px 18px; }
    .mwa-guide-copy { font-size: 13px; }
    .mwa-title-block { padding: 20px 20px 12px; }
    .mwa-stage { padding: 4px 20px 14px; }
    .mwa-footer { padding: 13px 20px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { gap: 9px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-icon { display: none; }
}
@media (max-width: 800px) {
    #pageRoot[data-application-wizard="true"] { padding: 10px !important; }
    #pageRoot[data-application-wizard="true"] .mwa-shell { height: calc(100dvh - 20px); min-height: 530px; }
    .mwa-header { padding: 13px 17px 10px; }
    .mwa-progress { padding: 3px 17px 12px; gap: 5px; }
    .mwa-progress-step { padding: 8px 5px; gap: 6px; font-size: 10px; }
    .mwa-layout { grid-template-columns: minmax(0, 1fr); }
    .mwa-guide { display: none; }
    .mwa-mobile-guide { display: block; position: absolute; top: 9px; right: 9px; width: 82px; height: 69px; pointer-events: none; }
    .mwa-mobile-guide .mwa-guide-art { width: 82px; margin: 0; }
    .mwa-title-block { padding-right: 92px; }
    .mwa-footer { border-radius: 0 0 24px 24px; }
    .mwa-title { font-size: 23px; }
    .mwa-description { display: block; font-size: 12px; }
    .mwa-review-panel.is-active { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    #pageRoot[data-application-wizard="true"] { padding: 0 !important; align-items: stretch !important; }
    #pageRoot[data-application-wizard="true"] .mwa-shell { width: 100%; min-height: 480px; height: 100dvh; border-radius: 0 !important; border: 0 !important; }
    .mwa-header { padding: 10px 15px 8px; }
    .mwa-brand { font-size: 12px; gap: 7px; }
    .mwa-brand-mark { width: 25px; height: 25px; font-size: 20px; }
    .mwa-close { font-size: 10px; padding: 8px 0 8px 8px; }
    .mwa-progress { padding: 3px 13px 10px; gap: 4px; }
    .mwa-progress-step { flex-direction: column; gap: 4px; border-radius: 10px; min-height: 48px; padding: 5px 2px; font-size: 9px; }
    .mwa-progress-number { width: 20px; height: 20px; font-size: 10px; }
    .mwa-title-block { padding: 17px 80px 12px 18px; }
    .mwa-mobile-guide { top: 15px; right: 4px; width: 74px; }
    .mwa-mobile-guide .mwa-guide-art { width: 74px; }
    .mwa-kicker { font-size: 9px; }
    .mwa-title { font-size: 22px; }
    .mwa-description { font-size: 11px; line-height: 1.55; }
    .mwa-stage { padding: 2px 18px 16px; }
    .mwa-footer { padding: 12px 18px max(12px, env(safe-area-inset-bottom)); border-radius: 0; gap: 8px; }
    .mwa-back, .mwa-next { min-height: 44px; padding: 10px 16px; font-size: 12px; }
    .mwa-panel-counter { font-size: 10px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-wrap { width: 100%; max-width: none; padding: 0; overflow: visible; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { width: 100%; display: flex !important; flex-direction: column; align-items: stretch; gap: 10px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card { width: 100% !important; inline-size: 100% !important; height: 111px; min-height: 111px; flex: 0 0 111px; display: flex; align-items: center; overflow: visible; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card img { position: static; flex: 0 0 42%; width: 42%; height: 100%; object-fit: cover; object-position: center; border-radius: 18px 0 0 18px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-overlay { display: none; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-content { position: static; width: 58%; height: auto; padding: 11px; background: transparent !important; box-shadow: none !important; border: 0; backdrop-filter: none; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-kicker { font-size: 14px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-title { font-size: 10px; margin-top: 5px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-state { top: 7px; right: 7px; width: 22px; height: 22px; font-size: 12px; }
    .mwa-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), select, textarea) { font-size: 16px; }
    .mwa-identity-panel > .grid { grid-template-columns: minmax(0, 1fr); }
    .mwa-identity-panel > .grid:first-child { grid-template-columns: 1fr 1fr; gap: 10px; }
    #pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-stage { height: 135px; min-height: 135px; }
    .mwa-supplier-profile.is-active { grid-template-columns: minmax(0, 1fr); }
    .mwa-supplier-profile > .grid { gap: 7px; }
    .mwa-supplier-profile:not(:has(#supplierManualReviewBanner:not(.hidden))) > .grid { display: none; }
    .mwa-supplier-profile:has(#supplierManualReviewBanner:not(.hidden)) .supplier-profile-lookup > :is(div:first-child, #supplierProfileSearchWrap, #supplierNotListedBtn) { display: none; }
    .mwa-supplier-profile:has(#supplierManualReviewBanner:not(.hidden)) .supplier-profile-lookup { padding: 0; border: 0; background: transparent; }
    .mwa-supplier-profile #supplierManualReviewBanner { margin-top: 0; }
    .mwa-supplier-profile .supplier-activity-option { min-height: 38px; }
    .mwa-supplier-profile > .grid > .org-info-card:last-child > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mwa-panel[data-wizard-panel="organization-contact"].is-active { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .mwa-document-panel :is(#organizationDocItems, #supplierDocItems) { grid-template-columns: minmax(0, 1fr); }
    .mwa-panel[data-wizard-panel="agreements"] { margin-top: 10px; }
    .mwa-map-panel #pharmacyDetailsPinPage > .grid { grid-template-columns: minmax(0, 1fr); }
    #pageRoot[data-application-wizard="true"] .mwa-map-panel #map { height: 260px !important; }
}
@media (max-height: 620px) {
    #pageRoot[data-application-wizard="true"] { align-items: flex-start !important; }
    #pageRoot[data-application-wizard="true"] .mwa-shell { height: auto; min-height: 100dvh; }
    #pageRoot[data-application-wizard="true"] #regForm { flex: none; }
    .mwa-layout { height: auto; }
    .mwa-stage { max-height: none; overflow: visible; padding-bottom: 20px; }
    .mwa-footer { position: sticky; bottom: 0; z-index: 130; }
    .mwa-title-block { padding-top: 14px; }
    .mwa-guide { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #pageRoot[data-application-wizard="true"] *, #pageRoot[data-application-wizard="true"] *::before, #pageRoot[data-application-wizard="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Cinematic presentation: one luminous stage, without enclosing UI cards. */
body:has(#pageRoot[data-application-wizard="true"]) { background: #f8fcff !important; color: #17375b; min-height: 100dvh; }
body:has(#pageRoot[data-application-wizard="true"])::before,
body:has(#pageRoot[data-application-wizard="true"])::after { display: none !important; content: none !important; }
#pageRoot[data-application-wizard="true"] {
    --mwa-ink: #17375b; --mwa-muted: #667f9d; --mwa-blue: #087be0; --mwa-pink: #dc4698; --mwa-inset: 24px;
    padding: var(--mwa-inset) 32px !important;
    background: radial-gradient(ellipse at 5% 0%, #d7f5ff99, transparent 42%), radial-gradient(ellipse at 97% 87%, #ffe2f18a, transparent 43%), linear-gradient(140deg, #f5fbff, #ffffff 50%, #fff8fc);
    overflow: clip;
}
#pageRoot[data-application-wizard="true"] .mwa-shell {
    isolation: isolate; position: relative; width: min(1280px,100%); max-width: 1280px !important;
    height: calc(100dvh - var(--mwa-inset)*2); min-height: 570px;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important;
}
.mwa-shell::before,.mwa-shell::after { display: none !important; content: none !important; }
#pageRoot[data-application-wizard="true"] #regForm > .mwa-layout { border: 0 !important; background: transparent !important; }
#pageRoot[data-application-wizard="true"][data-wizard-panel] #regForm > [data-mobile-step].mwa-legacy:not(.mwa-panel),
#pageRoot[data-application-wizard="true"][data-wizard-panel] #regForm > [data-mobile-identity-panel].mwa-legacy:not(.mwa-panel) { display: none !important; }
.mwa-header { flex: 0 0 auto; min-height: 44px; padding: 0 0 11px; }
.mwa-brand { gap: 11px; color: #17375b; font-size: 14px; font-weight: 750; letter-spacing: -.02em; }
.mwa-brand-mark { width: 29px; height: 32px; }
.mwa-close { padding: 9px 0 9px 12px; color: #687d97; font-size: 12px; font-weight: 500; }
.mwa-close:hover { background: transparent; color: #087be0; }
.mwa-progress { position: relative; align-items: flex-start; justify-content: space-between; flex: 0 0 auto; width: min(780px,76%); min-height: 53px; margin: 0 0 10px auto; padding: 0 0 12px; gap: 18px; border: 0; }
.mwa-progress-step { flex: none; z-index: 1; gap: 7px; padding: 7px 0 11px; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #8b99ab; font-size: 11px; font-weight: 500; white-space: nowrap; }
.mwa-progress-step:disabled { opacity: .62; }
.mwa-progress-step.is-active { color: #136ab5; font-weight: 750; background: transparent; opacity: 1; }
.mwa-progress-step.is-complete { color: #368c80; background: transparent; opacity: 1; }
.mwa-progress-number { width: 22px; height: 22px; border: 1px solid #d3e0ed; border-radius: 50%; background: #ffffff75; font-size: 10px; }
.mwa-progress-step.is-active .mwa-progress-number { border-color: #489bdc; background: #2187d4; box-shadow: 0 0 0 4px #65bfee16; }
.mwa-progress-step.is-complete .mwa-progress-number { border-color: #9bd5c7; background: #e6f9f2; }
.mwa-progress-line { position: absolute; inset: auto 0 0; height: 2px; overflow: hidden; border-radius: 2px; background: #dce8f180; }
.mwa-progress-line-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg,#49bcd5,#387fd5 60%,#db82bd); transform: scaleX(var(--mwa-progress,0)); transform-origin: left center; transition: transform .65s cubic-bezier(.2,.65,.2,1); }
.mwa-layout { grid-template-columns: 210px minmax(0,1fr); column-gap: 44px; }
.mwa-guide { position: relative; align-items: flex-start; justify-content: center; padding: 0 0 52px; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.mwa-guide-art { width: 242px; max-width: calc(100% + 30px); margin: 0 -16px 8px; filter: drop-shadow(0 16px 25px #7aa5bc0e); }
.mwa-guide-name { color: #6c8aaa; font-size: 9px; font-weight: 700; line-height: 1.8; letter-spacing: .13em; }
.mwa-guide-copy { max-width: 207px; margin: 14px 0 0; color: #456180; font-size: 15px; font-weight: 400; line-height: 1.85; }
.mwa-guide-tip { max-width: 190px; margin: 30px 0 0; padding: 0; color: #8295ab; font-size: 11px; line-height: 1.75; }
.mwa-guide-body { animation-duration: 6s; }
.mwa-guide-orbit { animation-duration: 12s; }
.mwa-title-block { padding: 13px 0 23px; }
.mwa-kicker { margin: 0 0 11px; color: #8598ae; font-size: 9px; font-weight: 650; letter-spacing: .18em; }
.mwa-title { color: #193c61; font-family: 'Poppins','Inter',system-ui,sans-serif; font-size: clamp(26px,2.3vw,35px); font-weight: 600; letter-spacing: -.045em; line-height: 1.22; text-wrap: balance; }
.mwa-description { margin: 12px 0 0; color: #6a8099; font-size: 12px; font-weight: 400; line-height: 1.7; }
.mwa-stage { padding: 6px 4px 15px 0; }
.mwa-panel { width: 100%; }
.mwa-panel.is-active { animation: none; }
[data-wizard-direction="back"] .mwa-panel.is-active { animation: none; }
.mwa-panel[data-wizard-panel^="owner-"] { max-width: 830px; }
.mwa-panel > .relative + .relative { margin-top: 24px; }
.mwa-footer { min-height: 68px; padding: 13px 0 0; gap: 17px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.mwa-back,.mwa-next { padding: 11px 21px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.mwa-back { padding-left: 0; border: 0; background: none; color: #6a819b; }
.mwa-back::before { content: '←'; margin-right: 8px; }
.mwa-back:hover { color: #087be0; }
.mwa-next { border: 1px solid #278bdb; border-radius: 30px; background: linear-gradient(115deg,#1097df,#1b70cc 72%,#4776d6); box-shadow: 0 8px 22px #288ad624; }
.mwa-next:hover { box-shadow: 0 11px 25px #288ad63b; }
.mwa-back:disabled,.mwa-next:disabled { opacity: .4; }
.mwa-footer-status { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; gap: 5px 14px; }
.mwa-panel-counter { color: #93a1b2; font-size: 10px; font-weight: 400; }
.mwa-role-choice { color: #59738e; font-size: 11px; font-weight: 600; }
[data-wizard-panel="account"] .mwa-footer-status .mwa-panel-counter { display: none; }
.mwa-role-choice[hidden],.mwa-role-gallery-nav[hidden] { display: none !important; }
.mwa-panel-error { margin: 0 0 8px; padding: 9px 0 9px 12px; border: 0; border-left: 2px solid #e28fb4; border-radius: 0; background: transparent; color: #a13d69; line-height: 1.6; }
.mwa-role-gallery-nav button:focus-visible { outline: 2px solid #359bdc; outline-offset: 5px; border-radius: 6px; }

/* Role tiles intentionally retain a surface and always show the full image. */
#pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-wrap { width: 100%; max-width: none; margin: 0; padding: 10px 0 0; overflow: visible; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; width: 100%; max-width: none; gap: 20px; margin: 0; padding: 0; overflow: visible; }
.mwa-role-slide { min-width: 0; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card { display: flex; flex-direction: column; width: 100% !important; inline-size: 100% !important; height: auto; min-height: 0; max-width: none; padding: 0; border: 1px solid #d8e7f2; border-radius: 18px; overflow: hidden; background: #fff9 !important; box-shadow: 0 10px 24px #375f8810 !important; transform: none !important; text-align: left; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card:is(:hover,:focus-visible) { border-color: #9ccce8; box-shadow: 0 16px 32px #375f8818 !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card.is-selected { border-color: #68c3e8; box-shadow: 0 0 0 2px #59c7ef23,0 15px 32px #258ac71b !important; background: #fff !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card::before,
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card::after,
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-overlay { display: none !important; content: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card img { display: block; position: static; flex: none; width: 100%; height: auto !important; max-height: none; aspect-ratio: auto; object-fit: contain !important; object-position: center; border-radius: 17px 17px 0 0; background: #fff; opacity: 1; filter: none; transform: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-content { display: flex; align-items: flex-start; position: static; width: 100%; height: auto; min-height: 87px; padding: 19px 17px 21px; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; backdrop-filter: none; transform: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-icon { display: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-copy { display: flex !important; flex-direction: column; gap: 6px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-kicker { color: #244567 !important; font-size: clamp(14px,1.2vw,17px) !important; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-title { display: block !important; color: #7890a7 !important; font-size: 11px !important; font-weight: 400; line-height: 1.5; text-shadow: none; }
#pageRoot[data-application-wizard="true"] .mwa-panel .account-card-state { top: 12px; right: 12px; width: 27px; height: 27px; border-color: #b0deef; background: #fffefa; color: #19a2d1; box-shadow: 0 3px 9px #476b8b0c; font-size: 15px; }
.mwa-role-gallery-nav { display: none; }

/* Field groups become open compositions; inputs, maps and upload targets stay clear. */
#pageRoot[data-application-wizard="true"] .mwa-panel :is(.org-info-card,.pharmacy-detail-card,.doc-game-card,.pharmacy-schedule-card,.pharmacy-time-field,.notes-cine-card,.subflow-card,#organizationDocsCard,#supplierDocsCard) { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(.org-info-card,.pharmacy-detail-card,.doc-game-card,.pharmacy-schedule-card,.notes-cine-card,.subflow-card)::before,
#pageRoot[data-application-wizard="true"] .mwa-panel :is(.org-info-card,.pharmacy-detail-card,.doc-game-card,.pharmacy-schedule-card,.notes-cine-card,.subflow-card)::after { display: none !important; content: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(.org-info-card,.pharmacy-detail-card) { overflow: visible; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),select,textarea) { color: #294868 !important; background: #ffffffb8 !important; border: 1px solid #cddfec !important; border-radius: 11px !important; min-height: 44px; padding: 11px 13px !important; font-size: 14px !important; font-weight: 400; box-shadow: 0 3px 10px #416b9210 !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(input,select,textarea):focus-visible { border-color: #74bde9 !important; outline: 2px solid #85c8eb3b; outline-offset: 2px; box-shadow: none !important; transform: none; }
#pageRoot[data-application-wizard="true"] .mwa-panel input[readonly] { background: #edf5fc75 !important; color: #6a83a0 !important; box-shadow: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel input[type="hidden"] { display: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(label,.org-info-label,.pharmacy-detail-label) { color: #335679 !important; font-size: 13px !important; font-weight: 600; line-height: 1.5; }
.mwa-panel .org-info-label { margin-bottom: 1px; }
.mwa-panel :is(.org-info-caption,.pharmacy-detail-caption) { color: #7d92a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.mwa-panel .org-info-card + .org-info-card { margin-top: 18px; }
.mwa-panel[data-wizard-panel="organization-contact"].is-active { gap: 26px 22px; }
.mwa-panel[data-wizard-panel="organization-contact"] > .org-info-card { margin: 0; }
#pageRoot[data-application-wizard="true"] .mwa-panel :is(#pharmacyAccountFlow,#organizationAccountFlow) { margin: 28px 0 0; max-width: none; }
.mwa-panel[data-wizard-panel="organization-profile"] #organizationAccountFlow { margin-top: 0 !important; margin-bottom: 28px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .pharmacy-operating-day { background: #ffffff80; border-color: #d0e1ed; color: #577391; box-shadow: none; min-height: 43px; }
#pageRoot[data-application-wizard="true"] .mwa-panel .pharmacy-schedule-card > .flex { padding-bottom: 12px; }
.mwa-identity-panel > .grid + .grid { margin-top: 25px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-upload-panel { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-upload-panel::before,
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-upload-panel::after { display: none !important; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-stage { min-height: 138px; height: clamp(138px,20vh,195px); background-color: #ffffff6b; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-shell { margin-top: 12px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-empty-title { font-size: 13px; }
#pageRoot[data-application-wizard="true"] .mwa-identity-panel :is(.id-scan-empty-copy,.id-scan-caption) { font-size: 12px; }
#pageRoot[data-application-wizard="true"] .mwa-map-panel #map { height: clamp(230px,36vh,370px) !important; border-radius: 15px; }
#pageRoot[data-application-wizard="true"] .mwa-map-panel .supplier-map-stage { height: clamp(230px,37vh,370px); border-radius: 15px; }
#pageRoot[data-application-wizard="true"] .mwa-panel[data-wizard-panel="supplier-location"] .supplier-map-stage { height: clamp(200px,29vh,305px); margin-top: 23px; }
.mwa-map-panel #pharmacyDetailsPinPage > .grid { gap: 24px; }
.mwa-map-panel #pharmacyDetailsPinPage > .mt-4 { margin-top: 17px; }
.mwa-supplier-profile.is-active { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 30px; }
.mwa-supplier-profile > .grid { gap: 18px; }
.mwa-supplier-profile .org-info-card + .org-info-card { margin-top: 0; }
.mwa-supplier-profile .supplier-autofill-input-shell { margin-top: 7px; }
#pageRoot[data-application-wizard="true"] .mwa-supplier-profile .supplier-profile-lookup { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.mwa-supplier-profile .supplier-activity-option { min-height: 39px; padding: 6px 8px; font-size: 10px; border: 1px solid #d5e4ef; background: #ffffff8a; box-shadow: none; }
.mwa-document-panel :is(#organizationDocItems,#supplierDocItems) { gap: 21px; }
#pageRoot[data-application-wizard="true"] .mwa-document-panel .doc-mini-card { margin-top: 15px; padding: 19px 13px; border: 1px dashed #adcddd; border-radius: 13px; background: #ffffff85 !important; box-shadow: none; }
.mwa-review-panel.is-active { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 44px; }
.mwa-review-summary { border: 0; border-radius: 0; background: none; overflow: visible; }
.mwa-review-row { min-height: 52px; padding: 10px 0; border-bottom: 1px solid #dbe7f080; }
.mwa-review-row + .mwa-review-row { border-top: 0; }
.mwa-review-row:first-child { padding-top: 0; }
.mwa-review-label { color: #7f95ac; font-size: 11px; font-weight: 400; }
.mwa-review-value { color: #2f5073; font-size: 13px; font-weight: 500; }
.mwa-review-edit { padding: 7px 0 7px 8px; color: #3d88be; font-size: 10px; font-weight: 600; text-underline-offset: 4px; }
.mwa-panel[data-wizard-panel="agreements"] { max-width: 750px; margin: 18px 0; }

/* Persistent scene elements react to stages, without covering active controls. */
.mwa-cinematic-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mwa-orb-blue,.mwa-orb-pink { position: absolute; width: 56vw; height: 68vh; border-radius: 50%; filter: blur(80px); opacity: .45; transition: transform 1.3s cubic-bezier(.2,.65,.2,1),opacity 1.3s; }
.mwa-orb-blue { left: -28%; top: -35%; background: #abebff; }
.mwa-orb-pink { right: -31%; bottom: -34%; background: #f4c3e1; }
.mwa-scene-ribbon { position: absolute; left: -14%; top: 25%; width: 47vw; height: 47vw; border: 1px solid #c7e8ee50; border-radius: 45% 55% 59% 41%; transform: rotate(-20deg); transition: transform 1.2s; }
.mwa-scene-orbit { position: absolute; left: 3%; top: 33%; width: 185px; height: 185px; border: 1px dashed #c8e0eb64; border-radius: 50%; }
.mwa-morph-token { position: absolute; top: 25%; left: max(2%,calc((100vw - 1350px)/2)); width: 152px; height: 152px; opacity: .8; transition: transform .45s cubic-bezier(.2,.65,.2,1); }
.mwa-morph-token::before { content: ''; position: absolute; inset: 0; border: 1px solid #bfdfef75; border-radius: 40% 60% 65% 35%; background: linear-gradient(140deg,#e5f7ff60,#fbe6f34a); transform: rotate(-12deg); transition: transform .45s cubic-bezier(.2,.65,.2,1),border-radius .45s,border-color .45s,background .45s; }
.mwa-morph-symbol { position: absolute; inset: 31%; width: 38%; height: 38%; opacity: 0; color: #72a5c2; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: scale(.75); transition: opacity .4s,transform .45s; }
[data-wizard-stage="account"] .mwa-morph-symbol[data-scene="account"],[data-wizard-stage="owner"] .mwa-morph-symbol[data-scene="owner"],[data-wizard-stage="business"] .mwa-morph-symbol[data-scene="business"],[data-wizard-stage="documents"] .mwa-morph-symbol[data-scene="documents"],[data-wizard-stage="review"] .mwa-morph-symbol[data-scene="review"] { opacity: .85; transform: scale(1); }
[data-wizard-stage="owner"] .mwa-morph-token { transform: translate(18px,30px); }
[data-wizard-stage="owner"] .mwa-morph-token::before { border-radius: 48% 42% 57% 43%; transform: rotate(5deg); }
[data-wizard-stage="business"] .mwa-morph-token { transform: translate(0,20px); }
[data-wizard-stage="business"] .mwa-morph-token::before { border-radius: 50% 50% 15% 50%; transform: rotate(35deg); background: #e7f6fc55; }
[data-wizard-stage="documents"] .mwa-morph-token { transform: translate(20px,5px); }
[data-wizard-stage="documents"] .mwa-morph-token::before { border-radius: 17% 35% 18% 31%; transform: rotate(-7deg); }
[data-wizard-stage="review"] .mwa-morph-token { transform: translate(12px,20px); }
[data-wizard-stage="review"] .mwa-morph-token::before { border-radius: 50%; transform: rotate(0); border-color: #bee6da81; background: #dff5e759; }
[data-wizard-stage="business"] .mwa-scene-ribbon { transform: translateY(-8%) rotate(30deg); }
[data-wizard-stage="documents"] .mwa-orb-pink { transform: translate(-8%,-7%); }
[data-wizard-stage="review"] .mwa-orb-blue { transform: translate(13%,13%); opacity: .33; }
[data-wizard-feedback="error"] .mwa-morph-token::before { border-color: #e8b1ca; }
[data-wizard-feedback="upload"] .mwa-morph-token { animation: mwa-confirm 650ms ease-out; }
[data-wizard-feedback="checking"] .mwa-scene-orbit { animation: mwa-orbit 6s linear infinite; }
[data-motion-paused="true"] * { animation-play-state: paused !important; }
@keyframes mwa-confirm { 0%,100% { filter: brightness(1); } 40% { filter: brightness(1.13); } }

@media (max-width:1100px) {
    #pageRoot[data-application-wizard="true"] { padding-inline: 24px !important; }
    .mwa-layout { grid-template-columns: 160px minmax(0,1fr); column-gap: 30px; }
    .mwa-guide-copy { font-size: 13px; }
    .mwa-guide-name { font-size: 8px; }
    .mwa-progress { width: 80%; }
    .mwa-title { font-size: 28px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { gap: 13px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-content { padding: 15px 12px 17px; }
    .mwa-supplier-profile.is-active { gap: 22px; }
}
@media (max-width:800px) {
    #pageRoot[data-application-wizard="true"] { --mwa-inset:18px; padding-inline:22px !important; }
    .mwa-layout { grid-template-columns:minmax(0,1fr); }
    .mwa-progress { width:100%; margin-bottom:8px; }
    .mwa-title-block { padding:11px 105px 20px 0; }
    .mwa-title { font-size:27px; }
    .mwa-mobile-guide { top:4px; right:0; width:90px; height:74px; }
    .mwa-mobile-guide .mwa-guide-art { width:90px; }
    .mwa-review-panel.is-active { gap:25px; }
    .mwa-morph-token { display:none; }
}
@media (max-width:700px) {
    #pageRoot[data-application-wizard="true"] { --mwa-inset:12px; padding:12px 18px !important; align-items:stretch !important; }
    #pageRoot[data-application-wizard="true"] .mwa-shell { width:100%; height:calc(100dvh - 24px); min-height:490px; }
    .mwa-header { min-height:34px; padding-bottom:12px; }
    .mwa-brand { font-size:12px; gap:8px; }
    .mwa-brand-mark { width:25px; height:27px; }
    .mwa-close { font-size:10px; padding:6px 0 6px 8px; }
    .mwa-progress { min-height:51px; gap:4px; margin-bottom:4px; padding-bottom:8px; }
    .mwa-progress-step { flex-direction:column; flex:1; gap:4px; padding:3px 0 7px; font-size:9px; }
    .mwa-progress-number { width:19px; height:19px; font-size:9px; }
    .mwa-title-block { padding:14px 68px 21px 0; }
    .mwa-kicker { font-size:8px; line-height:1.6; margin-bottom:9px; }
    .mwa-title { font-size:25px; line-height:1.24; font-weight:600; }
    .mwa-description { margin-top:10px; font-size:11px; line-height:1.75; }
    .mwa-mobile-guide { top:11px; right:-5px; width:76px; height:65px; }
    .mwa-mobile-guide .mwa-guide-art { width:76px; }
    .mwa-stage { padding:1px 0 12px; overflow-x:hidden; }
    .mwa-footer { min-height:61px; gap:9px; padding:10px 0 max(0px,env(safe-area-inset-bottom)); }
    .mwa-back,.mwa-next { min-height:42px; padding:10px 17px; font-size:11px; }
    .mwa-back { padding-left:0; padding-right:4px; }
    .mwa-footer-status { align-items:flex-start; flex-direction:column; gap:2px; }
    .mwa-panel-counter { font-size:9px; }
    .mwa-role-choice { font-size:10px; }
    [data-wizard-panel="account"] .mwa-footer-status .mwa-panel-counter { display:none; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-wrap { padding:0; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-selection-grid { display:flex !important; flex-direction:row; flex-wrap:nowrap; align-items:stretch; width:calc(100% + 36px); max-width:none; gap:17px; margin-inline:-18px; padding:6px 18px 20px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scroll-padding-inline:18px; overscroll-behavior-x:contain; scrollbar-width:none; }
    .mwa-role-slide { flex:0 0 min(78vw,300px); width:min(78vw,300px); scroll-snap-align:start; scroll-snap-stop:always; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card { height:auto; flex:none; width:100% !important; min-height:0; border-radius:17px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-game-card img { flex:none; width:100%; height:auto !important; border-radius:16px 16px 0 0; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-content { padding:19px 18px 21px; min-height:91px; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-kicker { font-size:17px !important; }
    #pageRoot[data-application-wizard="true"] .mwa-panel .account-card-title { font-size:11px !important; }
    .mwa-role-gallery-nav { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:41px; margin:0 0 8px; }
    .mwa-role-gallery-prev,.mwa-role-gallery-next { display:grid; place-items:center; flex:0 0 30px; width:30px; height:34px; border:0; background:none; color:#4586b5; font-size:19px; }
    .mwa-role-gallery-prev:disabled,.mwa-role-gallery-next:disabled { opacity:.3; }
    .mwa-role-gallery-dots { display:flex; justify-content:center; flex:1; min-width:0; gap:10px; }
    .mwa-role-gallery-dots button { padding:7px 0; border:0; border-bottom:2px solid transparent; background:none; color:#8b9fb2; font-size:9px; font-weight:500; white-space:nowrap; }
    .mwa-role-gallery-dots button[aria-selected="true"],.mwa-role-gallery-dots button[aria-current="true"],.mwa-role-gallery-dots button.is-active { border-bottom-color:#6bbce1; color:#2b739f; }
    #pageRoot[data-application-wizard="true"] .mwa-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),select,textarea) { min-height:44px; padding:10px 12px !important; font-size:16px !important; }
    #pageRoot[data-application-wizard="true"] .mwa-panel :is(label,.org-info-label,.pharmacy-detail-label) { font-size:12px !important; }
    #pageRoot[data-application-wizard="true"] .mwa-identity-panel .id-scan-stage { height:140px; min-height:140px; }
    .mwa-supplier-profile.is-active { grid-template-columns:minmax(0,1fr); gap:20px; }
    .mwa-supplier-profile > .grid { gap:18px; }
    .mwa-panel[data-wizard-panel="organization-contact"].is-active { grid-template-columns:minmax(0,1fr); gap:25px; }
    .mwa-map-panel #pharmacyDetailsPinPage > .grid { gap:19px; }
    #pageRoot[data-application-wizard="true"] .mwa-map-panel #map { height:260px !important; }
    .mwa-review-panel.is-active { grid-template-columns:minmax(0,1fr); gap:27px; }
    .mwa-review-row { min-height:45px; padding-block:9px; }
    .mwa-scene-ribbon { top:15%; left:-55%; width:85vw; height:110vw; opacity:.5; }
}
@media (max-width:350px) {
    .mwa-title { font-size:23px; }
    .mwa-title-block { padding-right:55px; }
    .mwa-mobile-guide { width:64px; right:-6px; }
    .mwa-mobile-guide .mwa-guide-art { width:64px; }
    .mwa-role-gallery-dots { gap:8px; }
    .mwa-role-gallery-dots button { font-size:8px; }
    .mwa-footer { gap:7px; }
    .mwa-next { padding-inline:14px; }
    .mwa-role-choice { font-size:9px; }
}
@media (max-height:650px) {
    #pageRoot[data-application-wizard="true"] { align-items:flex-start !important; overflow:visible; }
    #pageRoot[data-application-wizard="true"] .mwa-shell { height:auto; min-height:calc(100dvh - var(--mwa-inset)*2); }
    #pageRoot[data-application-wizard="true"] #regForm { flex:none; }
    .mwa-layout { height:auto; }
    .mwa-stage { max-height:none; overflow:visible; padding-bottom:22px; }
    .mwa-footer { position:sticky; bottom:0; z-index:130; background:linear-gradient(0deg,#fafdfff2 75%,#fafdff00); padding-block:15px 10px; }
    .mwa-title-block { padding-top:11px; }
    .mwa-guide { padding-top:0; }
}
@media (prefers-reduced-motion:reduce) {
    #pageRoot[data-application-wizard="true"] *,#pageRoot[data-application-wizard="true"] *::before,#pageRoot[data-application-wizard="true"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* A centered workspace with Medi beside the journey, rather than a guide column. */
.mwa-layout { display: block; width: min(960px, 100%); max-width: 960px; margin-inline: auto; }
#pageRoot[data-application-wizard="true"] #regForm > .mwa-layout { margin-inline: auto !important; }
.mwa-workspace { width: 100%; height: 100%; margin-inline: auto; }
.mwa-progress { width: min(780px, 100%); max-width: 780px; margin-inline: auto; }
.mwa-guide,.mwa-mobile-guide { display: none !important; }
.mwa-title-block { padding: 13px 0 23px; text-align: center; }
.mwa-title,.mwa-kicker { margin-inline: auto; text-align: center; }
.mwa-description { display: none !important; }
.mwa-stage { padding-inline: 4px; }
.mwa-panel { margin-inline: auto; text-align: left; }
.mwa-panel[data-wizard-panel="agreements"] { margin-inline: auto; }
.mwa-panel :is(label,.org-info-label,.pharmacy-detail-label) { text-align: left; }
.mwa-footer { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; }
.mwa-back { justify-self: start; }
.mwa-next { justify-self: end; margin-left: 0; }
.mwa-footer-status { justify-content: center; align-items: center; text-align: center; }
.mwa-owner-progress { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mwa-owner-progress[hidden],.mwa-panel-counter[hidden] { display: none !important; }
.mwa-owner-step { position: relative; display: flex; align-items: center; justify-content: center; }
.mwa-owner-step + .mwa-owner-step::before { content: ''; position: absolute; top: 50%; right: calc(100% + 2px); width: 6px; height: 1px; background: #edcee0; }
.mwa-owner-number { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #edc8dc; border-radius: 50%; color: #b56690; background: #fff7fb; font-size: 11px; font-weight: 650; line-height: 1; transition: color .2s,border-color .2s,background .2s,box-shadow .2s; }
.mwa-owner-step.is-active .mwa-owner-number { color: #fff; background: #df68a9; border-color: #df68a9; box-shadow: 0 0 0 4px #f4c4de4d; }
.mwa-owner-step.is-complete:not(.is-active) .mwa-owner-number { color: #b8377a; background: #f8ddec; border-color: #e9aacb; }
.mwa-owner-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.mwa-medi-dock { position: relative; z-index: 80; display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 10px; flex: 0 0 auto; width: 100%; min-height: 80px; padding: 4px 0 4px 12px; }
.mwa-medi-dock[hidden],.mwa-medi-dock[data-keyboard-hidden="true"],.mwa-medi-dock[data-modal-hidden="true"] { display: none !important; }
.mwa-medi-character { grid-column: 1; grid-row: 1; display: block; align-self: end; width: 76px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; line-height: 0; transform: none !important; animation: none !important; }
.mwa-medi-art { display: block; width: 100%; height: auto; max-height: 94px; overflow: visible; filter: drop-shadow(0 5px 5px #325b7512); transform: none !important; animation: none !important; }
.mwa-medi-bubble { grid-column: 2; grid-row: 1; position: relative; min-width: 0; padding: 10px 12px; border: 1px solid #d5e8f18c; border-radius: 15px 15px 15px 4px; background: #ffffffc4; box-shadow: 0 4px 18px #355b7c0b; }
.mwa-medi-bubble::after { content: ''; position: absolute; left: -5px; bottom: 15px; width: 8px; height: 8px; border-left: 1px solid #d5e8f18c; border-bottom: 1px solid #d5e8f18c; background: #fbfdff; transform: rotate(45deg); }
.mwa-medi-copy { margin: 0; color: #4b6985; font-size: 12px; font-weight: 400; line-height: 1.55; overflow-wrap: anywhere; }
.mwa-medi-dock[data-expanded="false"] .mwa-medi-bubble { display: none; }
.mwa-medi-toggle { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; min-width: 44px; min-height: 36px; padding: 7px 9px; border: 1px solid #d0e4ef; border-radius: 999px; background: #fff9; color: #547f9d; font-size: 11px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.mwa-medi-dock[data-expanded="false"] .mwa-medi-toggle { grid-column: 2 / 4; justify-self: start; }
.mwa-medi-toggle:hover { color: #156fa9; border-color: #91c6e3; background: #fff; }
.mwa-medi-toggle:focus-visible { outline: 2px solid #4daddb; outline-offset: 3px; }
[data-wizard-feedback="error"] .mwa-medi-bubble { border-color: #e7bdd2; }
[data-wizard-feedback="error"] .mwa-medi-copy { color: #9b4c73; }
.mwa-medi-art :is(.medi-breathe,.medi-head,.medi-eyes,.medi-arm-wave,.medi-arm-rest) { transform-box: view-box; }
.mwa-medi-art .medi-breathe { transform-origin: 120px 270px; animation: mwa-medi-breathe 5.4s ease-in-out infinite; }
.mwa-medi-art .medi-head { transform-origin: 120px 156px; animation: mwa-medi-look 8s ease-in-out infinite; }
.mwa-medi-art .medi-eyes { transform-origin: 119px 104px; animation: mwa-medi-blink 6.2s linear infinite; }
.mwa-medi-art .medi-arm-wave { transform-origin: 177px 181px; transform: rotate(0); }
.mwa-medi-art .medi-arm-rest { transform-origin: 63px 197px; }
.mwa-medi-art .medi-mouth-speaking { opacity: 0; }
[data-medi-gesture="welcome"] .mwa-medi-art .medi-arm-wave { animation: mwa-medi-wave .85s ease-in-out 2; }
[data-medi-gesture="point"] .mwa-medi-art .medi-arm-wave { animation: mwa-medi-point 1.1s ease-in-out; }
[data-medi-gesture="nod"] .mwa-medi-art .medi-head { animation: mwa-medi-nod .6s ease-in-out 2; }
[data-medi-gesture="concern"] .mwa-medi-art .medi-head { animation: mwa-medi-concern 1.3s ease-in-out; }
[data-medi-gesture="concern"] .mwa-medi-art .medi-arm-rest { animation: mwa-medi-reassure 1.3s ease-in-out; }
[data-medi-gesture="welcome"] .mwa-medi-art .medi-mouth-speaking,[data-medi-gesture="point"] .mwa-medi-art .medi-mouth-speaking { animation: mwa-medi-speak .5s steps(2,end) 2; }
@keyframes mwa-medi-breathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.006); } }
@keyframes mwa-medi-look { 0%,35%,100% { transform: rotate(0); } 55%,73% { transform: rotate(.8deg); } }
@keyframes mwa-medi-blink { 0%,42%,45%,76%,79%,100% { transform: scaleY(1); } 43%,77% { transform: scaleY(.12); } }
@keyframes mwa-medi-wave { 0%,100% { transform: rotate(0); } 28%,68% { transform: rotate(-10deg); } 48% { transform: rotate(5deg); } }
@keyframes mwa-medi-point { 0%,100% { transform: rotate(0); } 30%,72% { transform: rotate(-14deg); } }
@keyframes mwa-medi-nod { 0%,100% { transform: rotate(0); } 45% { transform: rotate(3deg); } }
@keyframes mwa-medi-concern { 0%,100% { transform: rotate(0); } 40%,70% { transform: rotate(-3deg); } }
@keyframes mwa-medi-reassure { 0%,100% { transform: rotate(0); } 40%,70% { transform: rotate(5deg); } }
@keyframes mwa-medi-speak { 0%,35%,70%,100% { opacity: 0; } 15%,50%,85% { opacity: 1; } }

@media (min-width:1200px) {
    .mwa-layout { width: min(960px,calc(100vw - 460px)); }
    .mwa-medi-dock { position: fixed; left: max(36px,calc((100vw - min(960px,calc(100vw - 460px)))/2 - 194px)); bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 170px; min-height: 0; padding: 0; }
    .mwa-medi-bubble { order: 0; width: 100%; padding: 12px; border-radius: 15px 15px 15px 4px; }
    .mwa-medi-bubble::after { left: calc(50% - 4px); bottom: -5px; transform: rotate(-45deg); }
    .mwa-medi-character { order: 1; align-self: center; width: 170px; }
    .mwa-medi-art { max-height: none; }
    .mwa-medi-toggle { order: 2; align-self: center; min-height: 32px; }
}
@media (max-width:1199px) {
    .mwa-title-block { padding: 11px 0 18px; }
    .mwa-stage { padding-bottom: 10px; }
    .mwa-medi-bubble { max-width: 560px; }
}
@media (max-width:700px) {
    .mwa-title-block { padding: 12px 0 17px; }
    .mwa-stage { padding-inline: 0; }
    .mwa-footer { column-gap: 8px; }
    .mwa-footer-status { align-items: center; }
    .mwa-owner-progress { gap: 9px; }
    .mwa-owner-number { width: 25px; height: 25px; font-size: 10px; }
    .mwa-medi-dock { grid-template-columns: 76px minmax(0,1fr) auto; min-height: 88px; gap: 7px; padding: 2px 0 2px 12px; }
    .mwa-medi-character { width: 76px; }
    .mwa-medi-art { max-height: none; }
    .mwa-medi-bubble { padding: 9px 10px; }
    .mwa-medi-copy { font-size: 11px; line-height: 1.55; }
    .mwa-medi-toggle { min-height: 36px; padding: 7px 8px; font-size: 10px; }
}
@media (max-width:350px) {
    .mwa-title-block { padding-right: 0; }
    .mwa-owner-progress { gap: 7px; }
    .mwa-owner-number { width: 23px; height: 23px; }
    .mwa-owner-step + .mwa-owner-step::before { width: 4px; }
    .mwa-medi-copy { font-size: 10px; }
}
@media (max-height:650px) {
    .mwa-workspace { height: auto; }
    .mwa-medi-dock { flex-shrink: 0; }
}
@media (max-height:650px) and (max-width:1199px) {
    /* Short screens use the accessible document flow so the footer cannot cover
       the reserved Medi row or the last form field. */
    .mwa-footer { position: static; background: transparent; }
}
@media (prefers-reduced-motion:reduce) {
    .mwa-medi-art :is(.medi-breathe,.medi-head,.medi-eyes,.medi-arm-wave,.medi-arm-rest) { animation: none !important; transition: none !important; transform: none !important; }
    .mwa-medi-art .medi-mouth-speaking { opacity: 0 !important; }
}

/* Compact application-map details; dashboard and candidate popups keep their own layout. */
#pageRoot[data-application-wizard="true"] :is(#pharmacyLine,#supplierSelectedPlace) {
    position: relative; top: auto; bottom: auto; left: auto; right: auto; z-index: 24;
    width: max-content; max-width: 100%; margin: 9px auto 0; padding: .42rem .85rem .62rem; transform: none;
    justify-content: center; gap: .48rem; border: 1px solid #ffffffd1; border-radius: .8rem;
    background: #ffffffe0; box-shadow: 0 8px 24px #0f172a24; backdrop-filter: blur(7px);
    color: #a8195a; font-size: clamp(.8rem, 2vw, .95rem); font-weight: 800; line-height: 1.25; text-align: center; pointer-events: none;
}
#pageRoot[data-application-wizard="true"] :is(#pharmacyLineName,#supplierSelectedPlaceName) { overflow-wrap: anywhere; white-space: normal; max-height: 3.8em; overflow-y: auto; pointer-events: auto; }
#pageRoot[data-application-wizard="true"] #claimedOverlay { left: 0 !important; right: 0 !important; margin-inline: 0 !important; top: auto; bottom: calc(var(--pharmacy-selection-height, 0px) + 39px); max-width: none; max-height: 104px; overflow-y: auto; padding: 15px 12px !important; border: 0 !important; border-radius: 0 !important; background: linear-gradient(180deg, #ffffff00, #ffffffe6 30%, #fffffff0 60%, #ffffff00) !important; box-shadow: none !important; font-size: 14px; line-height: 1.5; }
#pageRoot[data-application-wizard="true"] #claimedOverlay .inline-flex { height: 20px; width: 20px; }
#pageRoot[data-application-wizard="true"] .identity-filename { display: block; max-width: 100%; margin: 9px auto 0; padding: 3px 5px; border: 0; background: transparent; color: #076dc5 !important; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; font-size: 12px; text-align: center; cursor: zoom-in; }
#pageRoot[data-application-wizard="true"] .identity-filename:disabled { color: #65829b !important; text-decoration: none; cursor: default; }
.identity-filename:focus-visible { outline: 2px solid #299cf5; outline-offset: 3px; border-radius: 4px; }
#idSampleModalImg { max-height: 68dvh; object-fit: contain; }
#idSampleModalTitle { min-width: 0; overflow-wrap: anywhere; }
#closeIdSampleModalBtn { flex-shrink: 0; }
.customer-location-controls { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #945079; }
.customer-location-keyboard { display: flex; gap: 6px; margin-top: 8px; }
.customer-location-keyboard button { width: 32px; height: 30px; border-radius: 10px; border: 1px solid #f4b6d9; background: #fff5fb; color: #c21375; font-weight: 800; }
.customer-location-keyboard button:focus-visible { outline: 2px solid #e42994; outline-offset: 2px; }
.customer-location-status { margin-top: 5px; min-height: 1.5em; font-size: 11px; }
.application-pharmacy-map-frame { scroll-margin-block: 12px; }
.customer-location-intro { position: absolute; inset: 0 0 calc(var(--pharmacy-selection-height, 0px) + 9px); z-index: 23; pointer-events: none; }
.customer-location-intro__card {
    position: absolute; left: 50%; bottom: calc(50% + 50px); width: max-content; max-width: calc(100% - 20px);
    display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border: 1px solid #f1bdd7; border-radius: 13px;
    background: #fffffff0; box-shadow: 0 8px 24px #8e376927; color: #963163; text-align: center; line-height: 1.4;
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.customer-location-intro__card strong { font-size: 12px; font-weight: 750; }
.customer-location-intro__card span { font-size: 11px; color: #73526b; }
.customer-location-intro.is-visible .customer-location-intro__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
    .customer-location-intro__card { transition: none; }
}
.pharmacy-problem-location { display: inline-flex; vertical-align: middle; color: #e11d48; margin-right: 5px; flex-shrink: 0; }
@media (max-width: 480px) {
    #pageRoot[data-application-wizard="true"] :is(#pharmacyLine,#supplierSelectedPlace) { max-width: 100%; font-size: 11px; padding: 6px 8px 9px; }
}
.medisync-pharmacy-map-popup.application-pharmacy-popup {
    width: min(248px,var(--application-popup-max-width,248px));
    min-width: 0;
    max-width: var(--application-popup-max-width,248px);
    max-height: var(--application-popup-max-height,212px);
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 9px 24px #2e557524;
    transition: none;
}
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__body {
    box-sizing: border-box;
    min-height: min(180px,var(--application-popup-max-height,212px));
    max-height: var(--application-popup-max-height,212px);
    padding: 10px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #b6cede transparent;
}
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__heading { align-items: flex-start; gap: 8px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__cover { flex: 0 0 56px; width: 56px; height: 48px; border-radius: 7px; opacity: 1; }
.application-pharmacy-popup .medisync-pharmacy-map-popup__cover::after { display: none; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__title { flex: 1 1 auto; min-width: 0; padding-right: 20px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__name { font-size: 12px; font-weight: 750; line-height: 16px; }
.application-pharmacy-popup[data-presentation="full"]:not(.is-name-expanded) .medisync-pharmacy-map-popup__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; max-height: 48px; overflow: hidden; }
.application-pharmacy-popup.is-name-expanded .medisync-pharmacy-map-popup__name { display: block; max-height: none; overflow: visible; }
.application-pharmacy-popup__name-toggle { display: block; min-height: 22px; margin: 1px 0 0; padding: 2px 0; border: 0; background: transparent; color: #237eb7; font-size: 10px; line-height: 1.3; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.application-pharmacy-popup__name-toggle[hidden] { display: none !important; }
.application-pharmacy-popup__name-toggle:focus-visible { outline: 2px solid #67b9e4; outline-offset: 2px; border-radius: 2px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__rating { gap: 2px; margin-top: 3px; max-width: none; max-height: none; font-size: 10px; line-height: 13px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__stars { gap: 0; font-size: 10px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__close { top: 5px; right: 5px; width: 24px; height: 24px; font-size: 19px; box-shadow: none; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__address-wrap { margin-top: 8px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__address { min-height: 18px; font-size: 11px; line-height: 16px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__address-text { font-style: normal; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__address-tooltip { position: static; display: none; width: 100%; margin-top: 4px; padding: 6px 7px; border-color: #c9ddea; border-radius: 6px; background: #eff7fc; color: #43637e; box-shadow: none; opacity: 1; transform: none; font-size: 10px; font-style: normal; line-height: 1.45; overflow-wrap: anywhere; pointer-events: auto; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__address-wrap:is(:hover,:focus-within):not(.is-expanded) .medisync-pharmacy-map-popup__address-tooltip { display: block; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__license { margin: 6px 0 0; max-width: none; max-height: none; color: #7287a0; font-size: 10px; line-height: 14px; overflow-wrap: anywhere; }
.application-pharmacy-popup__actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 6px; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__meta { flex: 1 1 auto; min-width: 0; max-width: none; max-height: none; gap: 4px; margin: 0; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__status { min-height: 24px; padding: 4px 7px; gap: 4px; font-size: 10px; line-height: 1.25; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__directions { justify-content: center; min-height: 34px; max-width: none; max-height: none; padding: 7px 9px; border-radius: 8px; font-size: 10px; line-height: 1.2; }
.application-pharmacy-popup[data-presentation="full"] .medisync-pharmacy-map-popup__directions-icon { font-size: 13px; }
.application-pharmacy-popup[data-presentation="preview"] .medisync-pharmacy-map-popup__cover,
.application-pharmacy-popup[data-presentation="preview"] .application-pharmacy-popup__name-toggle,
.application-pharmacy-popup[data-presentation="preview"] .application-pharmacy-popup__actions { display: none !important; }
.application-pharmacy-popup[data-presentation="preview"] .medisync-pharmacy-map-popup__body { max-height: var(--application-popup-max-height,212px); overflow: auto; }
.gm-style .gm-style-iw-c:has(.application-pharmacy-popup),
.medisync-pharmacy-popup-host:has(.application-pharmacy-popup) .leaflet-popup-content-wrapper { border-radius: 12px !important; }

/* Supplier selection shares the pharmacy search/map composition without rebuilding its controls. */
#pageRoot[data-application-wizard="true"] .mwa-supplier-profile.is-active { display: block; }
#pageRoot[data-application-wizard="true"] #supplierDetailsPinPage.supplier-selection-layout { display: grid !important; grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); gap: 14px 20px; }
.supplier-selection-search { min-width: 0; }
#pageRoot[data-application-wizard="true"] .supplier-selection-search .org-info-input { min-height: 43px; font-size: 13px; }
.supplier-selection-map { min-width: 0; }
#pageRoot[data-application-wizard="true"] .mwa-supplier-profile .supplier-map-stage { height: clamp(235px, 34vh, 330px); min-height: 235px; margin: 0; border: 1px solid #ccdeec; border-radius: 16px; overflow: hidden; }
#pageRoot[data-application-wizard="true"] .mwa-supplier-profile #supplierMap { height: 100% !important; min-height: 0; }
#pageRoot[data-application-wizard="true"] .supplier-map-empty { background: #ffffffd9; padding: 14px; }
.supplier-search-status { margin-top: 8px; font-size: 11px; line-height: 1.5; color: #65829b; }
.supplier-activity-panel { margin-top: 16px; }
.supplier-activity-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; font-size: 11px; color: #698498; }
.supplier-activity-primary,.supplier-activity-additional { display: inline-flex; gap: 5px; align-items: center; border-radius: 8px; padding: 5px 8px; }
.supplier-activity-primary { color: #076946; background: #dcf8e8; font-weight: 800; }
.supplier-activity-additional { color: #4e8c6c; background: #f0fbf4; font-weight: 500; }
.supplier-not-listed { grid-column: 1 / -1; justify-self: start; }
#pageRoot[data-application-wizard="true"] #supplierProfileResults { position: absolute; top: 100%; left: 0; right: 0; z-index: 70; margin-top: 6px; border: 1px solid #d7dfee; border-radius: 12px; max-height: min(20rem, 50dvh); overflow-y: auto; background: #fffffff5; box-shadow: 0 14px 30px #20426724; }
#pageRoot[data-application-wizard="true"] .supplier-profile-result { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 0; text-align: left; background: transparent; }
#pageRoot[data-application-wizard="true"] .supplier-profile-result:hover { background: #fceef7; }
.supplier-profile-result:focus-visible { outline: 2px solid #48b9ee; outline-offset: -2px; }
.supplier-profile-result-name { font-size: 12px; font-weight: 700; color: #23456a; }
.supplier-profile-result-address { display: block; margin-top: 3px; font-size: 11px; line-height: 1.5; color: #66809b; font-style: italic; }
.supplier-result-load-more { width: 100%; padding: 9px; font-size: 11px; text-decoration: underline; color: #0b78c3; background: #f7fbff; }
.supplier-compact-popup { position: relative; box-sizing: border-box; width: var(--supplier-popup-width,min(248px,calc(100vw - 80px))); max-width: 100%; max-height: var(--supplier-popup-height,162px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 10px; border: 1px solid #cbd9f0; border-radius: 12px; background: #fffffffC; color: #61759d; box-shadow: 0 8px 22px #32547024; font-family: Inter,Poppins,system-ui,sans-serif; font-size: 12px; line-height: 1.45; }
.supplier-compact-popup__heading { display: flex; align-items: center; gap: 8px; padding-right: 27px; margin-bottom: 9px; }
.supplier-compact-popup__icon { display: grid; flex: 0 0 34px; width: 34px; height: 40px; place-items: center; border-radius: 9px; background: linear-gradient(135deg,#e4f2ff,#fce9f6); color: #2875b8; font-size: 22px; }
.supplier-compact-popup h3 { min-width: 0; margin: 0; color: #06184f; font-size: 13px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.supplier-compact-popup p { margin: 6px 0; overflow-wrap: anywhere; }
.supplier-compact-popup .supplier-compact-popup__close { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; padding: 0; border: 1px solid #d9e1eb; border-radius: 50%; width: 26px; height: 26px; background: white; color: #18263f; font-size: 21px; line-height: 1; cursor: pointer; }
.supplier-compact-popup__license,.supplier-compact-popup__validity { font-size: 11px; }
.supplier-compact-popup__license { font-weight: 700; }
.supplier-compact-popup__claimed { color: #be185d; font-weight: 700; }
.supplier-compact-popup__verification { display: flex; align-items: flex-start; gap: 4px; color: #8a6208; font-size: 11px; }
.supplier-compact-popup__verification i { flex: 0 0 auto; margin-top: 1px; font-size: 14px; }
.supplier-compact-popup__verification.is-verified { color: #127658; }
.supplier-compact-popup__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.supplier-compact-popup__status { max-width: 100%; padding: 4px 7px; border: 1px solid #cbd5e1; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.supplier-compact-popup__status.is-active { border-color: #a7e4cb; background: #ecfdf5; color: #06734b; }
.supplier-compact-popup a.supplier-compact-popup__directions { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin-left: auto; padding: 7px 9px; border: 1px solid #bfd4ff; border-radius: 8px; background: #eaf2ff; color: #06184f; font-size: 11px; font-weight: 800; text-decoration: none; }
.supplier-compact-popup a.supplier-compact-popup__directions:hover { background: #dfeaff; }
.supplier-compact-popup :is(.supplier-compact-popup__close,.supplier-compact-popup__directions):focus-visible { outline: 2px solid #ef3fa5; outline-offset: -2px; }
.discovery-pin-controls { display: flex; gap: 8px; margin-top: 10px; }
.discovery-pin-controls button { width: 34px; height: 32px; border: 1px solid #efb4d6; border-radius: 8px; color: #cf187d; background: #fff5fb; }
@media(max-width:767px) {
    #pageRoot[data-application-wizard="true"] #supplierDetailsPinPage.supplier-selection-layout { grid-template-columns: minmax(0,1fr); }
    #pageRoot[data-application-wizard="true"] .mwa-supplier-profile .supplier-map-stage { height: 260px; }
    .supplier-not-listed { grid-column: 1; }
    .supplier-activity-panel { margin-top: 12px; }
}

/* Google adds its own padding/scroll viewport; keep one bounded scroll area per supplier popup. */
#supplierMap .gm-style-iw-c:has(.supplier-compact-popup) { padding: 0 !important; border-radius: 12px !important; }
#supplierMap .gm-style-iw-d:has(.supplier-compact-popup) { overflow: hidden !important; max-height: none !important; }
#supplierMap .gm-style-iw-c:has(.supplier-compact-popup) .gm-style-iw-chr { display: none !important; }
#supplierMap .medisync-supplier-popup-host .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; }
#supplierMap .medisync-supplier-popup-host .leaflet-popup-content { margin: 0; overflow: hidden; }

.application-owner-privacy { margin: 0; padding: 0; text-align: center; color: #607187; font-size: 12px; line-height: 1.6; font-weight: 400; }
.application-owner-privacy .application-agreement-link { color: #426482; }
.mwa-footer:has(> .application-owner-privacy:not([hidden])) { row-gap: 16px; }
.mwa-footer > .application-owner-privacy { grid-column: 1 / -1; }
.application-owner-privacy[hidden], .application-document-help-description[hidden] { display: none !important; }
.application-document-help-button { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; padding: 0; border: 1px solid #cddfec; border-radius: 50%; background: #ffffffb8; color: #426482; font-size: 13px; font-weight: 650; cursor: pointer; }
.application-document-help-button:focus-visible { outline: 2px solid #299cf5; outline-offset: 3px; }
.application-document-help-description { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #dce8f1; border-radius: 9px; background: #eff7fccc; color: #426482; font-size: 12px; line-height: 1.5; }
