/* Phase 160 — Store Mobile Pixel QA Final Hotfix design system
 * Source of truth: lib/src/core/theme/app_theme.dart + project_store Flutter widgets.
 * This file intentionally avoids the legacy web CSS scale. Mobile web is rebuilt as a Flutter-like renderer.
 */
:root{
  --miras-green:#169B97;
  --miras-teal:#169B97;
  --miras-navy:#18233C;
  --miras-red:#E53935;
  --miras-orange:#F2A33A;
  --miras-bg:#F5F6F7;
  --miras-ink:#16202B;
  --miras-muted:#718096;
  --miras-border:#E2E8EE;
  --miras-soft-teal:#EAF8F7;
  --miras-soft-navy:#F1F4F9;
  --miras-soft-red:#FDEEEE;
  --miras-yellow:#FFD94D;
  --miras-deep-green:#065F46;
  --miras-blue:#2563EB;
  --miras-purple:#4338CA;
  --miras-card:#FFFFFF;
  --miras-radius-card:18px;
  --miras-radius-button:14px;
  --miras-radius-hero:22px;
  --miras-shadow-soft:0 3px 12px rgba(24,35,60,.035);
  --miras-shadow-green:0 8px 18px rgba(22,155,151,.13);
  --miras-page-x:12px;
  --miras-appbar-h:58px;
}

@media (max-width:820px){
  html,body{background:var(--miras-bg)!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%;}
  body.mwp-mobile-store-v2-active{background:var(--miras-bg)!important;margin:0!important;}
  body.mwp-mobile-store-v2-active .mwp-shell,
  body.mwp-mobile-store-v2-active .mwp-topbar,
  body.mwp-mobile-store-v2-active .mwp-footer-nav,
  body.mwp-mobile-store-v2-active .mwp-global-nav,
  body.mwp-mobile-store-v2-active .mwp-store-app,
  body.mwp-mobile-store-v2-active .mwp-store-bottom-nav{display:none!important;}
  body.mwp-mobile-store-v2-active .mwp-root{background:var(--miras-bg)!important;min-height:100vh!important;padding:0!important;margin:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;border:0!important;}
  .mwp-mobile-v2,.mwp-mobile-v2 *{box-sizing:border-box;font-family:Arial!important;}
  .mwp-mobile-v2{direction:rtl;color:var(--miras-ink);background:var(--miras-bg);min-height:100vh;padding-bottom:88px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;}
  .mwp-mobile-v2 button,.mwp-mobile-v2 input,.mwp-mobile-v2 textarea,.mwp-mobile-v2 select{font-family:Arial!important;}
  .mwp-mobile-v2 button{cursor:pointer;-webkit-tap-highlight-color:transparent;}
  .mwp-ms-appbar{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #E7ECF2;min-height:var(--miras-appbar-h);padding:calc(env(safe-area-inset-top,0px) + 5px) 12px 5px;box-shadow:none;}
  .mwp-ms-toolbar{height:52px;display:flex;align-items:center;gap:7px;direction:rtl;overflow:hidden;}
  .mwp-ms-leading{width:42px;min-width:42px;display:flex;justify-content:flex-end;align-items:center;order:1;}
  .mwp-ms-menu,.mwp-ms-back{border:0!important;background:transparent!important;color:#121B2C!important;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;padding:0;box-shadow:none!important;}
  .mwp-ms-back{width:auto;min-width:74px;color:var(--miras-red);font-size:11px;font-weight:900;display:flex;gap:4px;justify-content:center;}
  .mwp-ms-title{flex:1;min-width:0;text-align:right;padding-inline:4px;line-height:1.05;order:2;}
  .mwp-ms-title h1{margin:0;color:#18233C;font-size:18.5px;font-weight:800;letter-spacing:-.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-title small{display:block;color:#718096;font-size:10.5px;font-weight:700;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-actions{display:flex;align-items:center;gap:15px;direction:ltr;order:3;}
  .mwp-ms-icon{position:relative;border:0!important;background:transparent!important;color:#121B2C!important;width:31px;height:38px;border-radius:0;display:grid;place-items:center;padding:0;box-shadow:none!important;}
  .mwp-ms-icon svg{width:24px;height:24px;display:block;stroke:currentColor;}
  .mwp-ms-menu svg,.mwp-ms-back svg{width:24px;height:24px;display:block;stroke:currentColor;}
  .mwp-ms-icon .badge{position:absolute;top:0;right:-1px;background:var(--miras-red);color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 5px;line-height:18px;text-align:center;font-size:9px;font-weight:900;box-shadow:0 2px 8px rgba(229,57,53,.25);}
  .mwp-ms-page{padding:10px var(--miras-page-x) 20px;}
  .mwp-ms-page.is-loading:before{content:"";display:block;height:92px;border-radius:18px;background:linear-gradient(90deg,#eef2f6,#fff,#eef2f6);background-size:200% 100%;animation:mwpMsSk 1.25s ease-in-out infinite;margin-bottom:10px;}
  .mwp-ms-card{background:#fff;border:1px solid var(--miras-border);border-radius:var(--miras-radius-card);box-shadow:var(--miras-shadow-soft);padding:12px;margin-bottom:10px;}
  .mwp-ms-hero{background:#169B97;color:#fff;border-radius:22px;padding:13px 14px;box-shadow:0 8px 18px rgba(22,155,151,.12);margin-bottom:10px;}
  .mwp-ms-hero-head{display:flex;align-items:center;gap:10px;}
  .mwp-ms-hero-icon{width:46px;height:46px;min-width:46px;border-radius:16px;background:rgba(255,255,255,.16);display:grid;place-items:center;color:#fff;}
  .mwp-ms-hero-icon svg{width:27px;height:27px;}
  .mwp-ms-hero h2{margin:0;color:#fff;font-size:15.2px;font-weight:800;line-height:1.36;}
  .mwp-ms-hero p{margin:8px 0 0;color:rgba(255,255,255,.9);font-size:11.7px;font-weight:600;line-height:1.55;}
  .mwp-ms-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
  .mwp-ms-chip{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:10.5px;font-weight:800;}
  .mwp-ms-actions-triplet{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:10px;}
  .mwp-ms-cta{border:0;border-radius:20px;min-height:96px;padding:9px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
  .mwp-ms-cta .ico{width:34px;height:34px;border-radius:13px;background:rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:8px;}
  .mwp-ms-cta svg{width:19px;height:19px;}
  .mwp-ms-cta strong{display:block;font-size:11px;line-height:1.2;font-weight:800;max-width:100%;}
  .mwp-ms-cta small{display:block;margin-top:3px;font-size:9.6px;font-weight:700;line-height:1.2;opacity:.86;}
  .mwp-ms-cta.yellow{background:var(--miras-yellow);color:var(--miras-navy);}
  .mwp-ms-cta.green{background:var(--miras-deep-green);color:#fff;}
  .mwp-ms-cta.red{background:var(--miras-red);color:#fff;}
  .mwp-ms-section-title{display:flex;align-items:center;gap:8px;margin:12px 0 8px;}
  .mwp-ms-section-title h2{margin:0;color:var(--miras-ink);font-size:14.5px;font-weight:900;}
  .mwp-ms-section-title p{margin:0;color:var(--miras-muted);font-size:11.2px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-section-title .spacer{flex:1;}
  .mwp-ms-link{border:0;background:transparent;color:var(--miras-green);font-size:11px;font-weight:900;padding:6px;display:inline-flex;align-items:center;gap:4px;}
  .mwp-ms-quick{background:#fff;border:1px solid #E2E8EE;border-radius:18px;padding:12px;margin-bottom:10px;box-shadow:0 3px 12px rgba(24,35,60,.035);}
  .mwp-ms-quick-label{color:var(--miras-muted);font-size:11.5px;font-weight:800;margin:8px 0 7px;}
  .mwp-ms-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}
  .mwp-ms-quick-tile{border:1px solid var(--tile-border,#D6F0EE)!important;background:var(--tile-bg,#EAF8F7)!important;border-radius:16px;min-height:78px;padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#16202B!important;}
  .mwp-ms-quick-tile .tile-ico{width:27px;height:27px;border-radius:10px;background:var(--tile-ico-bg,#CDEDEA);color:var(--tile-color,#169B97);display:grid;place-items:center;margin-bottom:6px;}
  .mwp-ms-quick-tile svg{width:14px;height:14px;}
  .mwp-ms-quick-tile strong{font-size:10.5px;font-weight:800;line-height:1.15;max-width:100%;color:#16202B!important;}
  .mwp-ms-quick-tile small{font-size:9.6px;color:var(--miras-red);font-weight:800;margin-top:3px;}
  .mwp-ms-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px;}
  .mwp-ms-stat{background:#fff;border:1px solid var(--miras-border);border-radius:16px;min-height:58px;padding:10px 8px;text-align:center;}
  .mwp-ms-stat small{display:block;color:var(--miras-muted);font-size:11px;font-weight:800;line-height:1.2;}
  .mwp-ms-stat strong{display:block;color:var(--miras-green);font-size:14px;font-weight:900;margin-top:4px;}
  .mwp-ms-product{overflow:hidden;padding:0;background:#fff;border:1px solid var(--miras-border);border-radius:18px;box-shadow:var(--miras-shadow-soft);margin-bottom:10px;}
  .mwp-ms-product-media{position:relative;overflow:hidden;border-radius:18px 18px 0 0;background:#e9eef3;aspect-ratio:1/1.03;}
  .mwp-ms-product-media img{width:100%;height:100%;object-fit:cover;display:block;}
  .mwp-ms-overlay-chip{position:absolute;display:inline-flex;align-items:center;gap:4px;border-radius:999px;color:#fff;padding:5px 9px;font-size:10.4px;font-weight:900;background:rgba(22,155,151,.93);}
  .mwp-ms-overlay-chip svg{width:12px;height:12px;}
  .mwp-ms-overlay-chip.region{top:10px;right:10px;background:rgba(22,155,151,.93);}
  .mwp-ms-overlay-chip.age{top:10px;left:10px;background:rgba(229,57,53,.93);}
  .mwp-ms-overlay-chip.type{bottom:10px;right:10px;background:rgba(67,56,202,.93);}
  .mwp-ms-product-body{padding:10px;}
  .mwp-ms-product h3{margin:0;color:var(--miras-navy);font-size:14.8px;line-height:1.35;font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .mwp-ms-product p{margin:5px 0 0;color:var(--miras-muted);font-size:11.4px;line-height:1.45;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .mwp-ms-metrics{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:9px 0 0;}
  .mwp-ms-metric{border:1px solid color-mix(in srgb,var(--metric-color) 16%,#fff);background:color-mix(in srgb,var(--metric-color) 6%,#fff);border-radius:12px;min-height:50px;padding:6px;}
  .mwp-ms-metric small{display:flex;align-items:center;gap:3px;color:var(--metric-color);font-size:9.2px;font-weight:900;line-height:1.1;}
  .mwp-ms-metric svg{width:11px;height:11px;}
  .mwp-ms-metric strong{display:block;margin-top:2px;color:var(--miras-navy);font-size:11.8px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-btn{width:100%;min-height:42px;border:0;border-radius:14px;background:var(--miras-green);color:#fff;font-size:12.5px;font-weight:900;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:6px;}
  .mwp-ms-btn svg{width:16px;height:16px;}
  .mwp-ms-btn.secondary{background:#fff;color:var(--miras-navy);border:1px solid var(--miras-border);}
  .mwp-ms-btn.red{background:var(--miras-red);color:#fff;}
  .mwp-ms-btn.blue{background:var(--miras-blue);color:#fff;}
  .mwp-ms-btn.orange{background:var(--miras-orange);color:var(--miras-navy);}
  .mwp-ms-btn + .mwp-ms-btn{margin-top:8px;}
  .mwp-ms-detail-img{aspect-ratio:1.6/1;min-height:210px;border-radius:18px 18px 0 0;}
  .mwp-ms-notice-yellow{background:#FFF7D6;border:1px solid rgba(250,204,21,.72);border-radius:18px;padding:12px;margin:10px 0;}
  .mwp-ms-notice-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
  .mwp-ms-notice-ico{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.78);color:var(--miras-orange);display:grid;place-items:center;}
  .mwp-ms-notice-yellow h3{margin:0;color:var(--miras-navy);font-size:13.5px;font-weight:900;}
  .mwp-ms-notice-yellow p{margin:0 0 10px;color:var(--miras-ink);font-size:11.6px;line-height:1.55;font-weight:700;}
  .mwp-ms-list{display:flex;flex-direction:column;gap:10px;}
  .mwp-ms-list-item{width:100%;border:1px solid var(--miras-border);background:#fff;border-radius:18px;min-height:76px;padding:12px;display:flex;align-items:center;gap:12px;text-align:right;color:var(--miras-navy);box-shadow:var(--miras-shadow-soft);}
  .mwp-ms-list-icon{width:46px;height:46px;min-width:46px;border-radius:16px;background:var(--miras-soft-navy);color:var(--miras-navy);display:grid;place-items:center;}
  .mwp-ms-list-icon svg{width:23px;height:23px;}
  .mwp-ms-list-copy{flex:1;min-width:0;}
  .mwp-ms-list-copy strong{display:block;color:var(--miras-navy);font-size:14px;font-weight:900;line-height:1.25;}
  .mwp-ms-list-copy small{display:block;color:var(--miras-muted);font-size:11.5px;font-weight:700;line-height:1.45;margin-top:3px;}
  .mwp-ms-chevron{color:var(--miras-navy);width:20px;height:20px;transform:rotate(180deg);}
  .mwp-ms-wallet-hero{background:var(--miras-green);border-color:transparent;color:#fff;box-shadow:var(--miras-shadow-green);}
  .mwp-ms-wallet-hero h2{margin:0;color:#fff;font-size:15px;font-weight:900;}
  .mwp-ms-wallet-hero .balance{font-size:32px;font-weight:900;margin-top:4px;line-height:1.1;}
  .mwp-ms-wallet-hero p{margin:6px 0 0;color:rgba(255,255,255,.88);font-size:12.2px;font-weight:600;line-height:1.55;}
  .mwp-ms-amount-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:10px 0;}
  .mwp-ms-amount-grid button{height:42px;border:1px solid var(--miras-border);background:#fff;border-radius:14px;color:var(--miras-navy);font-size:12px;font-weight:900;}
  .mwp-ms-input{width:100%;height:44px;border:1px solid var(--miras-border);border-radius:14px;background:#fff;padding:0 12px;font-size:13px;font-weight:700;color:var(--miras-ink);outline:none;}
  .mwp-ms-input:focus{border-color:var(--miras-green);box-shadow:0 0 0 2px rgba(22,155,151,.08);}
  .mwp-ms-empty{border:1px dashed var(--miras-border);background:#fff;border-radius:18px;padding:18px;text-align:center;color:var(--miras-muted);font-size:12.4px;font-weight:800;}
  .mwp-ms-bottom{position:fixed;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:45;max-width:520px;margin:0 auto;background:#fff;border:1px solid #E2E8EE;border-radius:22px;box-shadow:0 10px 28px rgba(24,35,60,.12);padding:5px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;}
  .mwp-ms-bottom button{border:0;background:#F7F8FA;color:#718096;border-radius:16px;min-height:56px;font-weight:700;font-size:10.5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;}
  .mwp-ms-bottom button svg{width:21px;height:21px;}
  .mwp-ms-bottom button.active{background:var(--miras-soft-teal);color:var(--miras-green);outline:1px solid #BEEBE8;}
  .mwp-ms-toast{position:fixed;left:18px;right:18px;bottom:104px;z-index:70;background:var(--miras-navy);color:#fff;border-radius:18px;padding:12px 14px;text-align:center;font-size:12.5px;font-weight:900;box-shadow:0 10px 24px rgba(24,35,60,.22);}
  .mwp-ms-busy{position:fixed;inset:0;z-index:80;background:rgba(255,255,255,.72);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:28px;}
  .mwp-ms-busy-inner{background:#fff;border:1px solid var(--miras-border);border-radius:24px;padding:20px;text-align:center;box-shadow:0 10px 24px rgba(24,35,60,.12);font-weight:900;color:var(--miras-navy);font-size:14px;}
  .mwp-ms-busy-inner small{display:block;margin-top:4px;color:var(--miras-muted);font-size:11px;font-weight:700;}
  .mwp-ms-spinner{width:34px;height:34px;border-radius:999px;border:4px solid #dfe7ee;border-top-color:var(--miras-green);animation:mwpMsSpin .8s linear infinite;margin:0 auto 12px;}
  .mwp-ms-preload{position:fixed;inset:0;z-index:78;background:linear-gradient(180deg,rgba(247,249,252,.98),rgba(255,255,255,.94));backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:28px;text-align:center;direction:rtl;}
  .mwp-ms-preload.boot{z-index:79;}
  .mwp-ms-preload-card{width:min(310px,92vw);background:#fff;border:1px solid #E2E8EE;border-radius:28px;padding:26px 20px 22px;box-shadow:0 18px 42px rgba(24,35,60,.14);display:flex;flex-direction:column;align-items:center;gap:10px;}
  .mwp-ms-preload-mark{position:relative;width:74px;height:74px;border-radius:26px;background:linear-gradient(135deg,#169B97,#0F766E);display:grid;place-items:center;color:#fff;font-size:27px;font-weight:900;box-shadow:0 12px 24px rgba(22,155,151,.22);margin-bottom:4px;}
  .mwp-ms-preload-mark span{position:relative;z-index:2;line-height:1;}
  .mwp-ms-preload-ring{position:absolute;inset:-7px;border-radius:31px;border:4px solid rgba(22,155,151,.13);border-top-color:#169B97;border-left-color:#169B97;animation:mwpMsSpin .78s linear infinite;background:transparent;}
  .mwp-ms-preload strong{display:block;color:#18233C;font-size:15.5px;font-weight:900;line-height:1.55;}
  .mwp-ms-preload small{display:block;color:#718096;font-size:11.4px;font-weight:700;line-height:1.7;max-width:240px;}
  .mwp-ms-preload-bar{width:100%;height:8px;border-radius:999px;background:#EEF2F6;overflow:hidden;margin-top:6px;}
  .mwp-ms-preload-bar i{display:block;width:42%;height:100%;border-radius:999px;background:linear-gradient(90deg,#169B97,#EF4444,#169B97);animation:mwpMsPreloadBar 1.15s ease-in-out infinite;}
  @keyframes mwpMsPreloadBar{0%{transform:translateX(145%)}100%{transform:translateX(-245%)}}
  @keyframes mwpMsSpin{to{transform:rotate(360deg)}}
  @keyframes mwpMsSk{0%{background-position:0 0}100%{background-position:-200% 0}}
}
@media (min-width:821px){.mwp-mobile-v2{display:none!important;}}

/* Phase 160 final mobile pixel QA overrides */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-floating-notification,
  body.mwp-mobile-store-v2-active .mwp-floating-notifications,
  body.mwp-mobile-store-v2-active .mwp-notification-float,
  body.mwp-mobile-store-v2-active .mwp-fab,
  body.mwp-mobile-store-v2-active .mwp-float-btn{display:none!important;}
  .mwp-mobile-v2 .mwp-ms-icon,
  .mwp-mobile-v2 .mwp-ms-icon:hover,
  .mwp-mobile-v2 .mwp-ms-icon:focus{background:transparent!important;color:#121B2C!important;border:0!important;box-shadow:none!important;outline:0!important;}
  .mwp-mobile-v2 .mwp-ms-menu{background:transparent!important;color:#121B2C!important;border:0!important;box-shadow:none!important;}
  .mwp-mobile-v2 .mwp-ms-actions svg *{stroke:currentColor;}
}

/* Phase 161 mobile pixel correction */
@media (max-width:820px){body.mwp-mobile-store-v2-active .mwp-float-notification,body.mwp-mobile-store-v2-active .mwp-notification-fab,body.mwp-mobile-store-v2-active .mwp-floating-bell{display:none!important;} .mwp-ms-appbar{padding-inline:12px!important;} .mwp-ms-actions .mwp-ms-icon{flex:0 0 30px;} .mwp-ms-menu{margin-inline-start:0!important;} }


/* Phase 162 — mobile app parity scroll sections + portal entry cards */
@media (max-width:820px){
  .mwp-mobile-v2 .mwp-ms-page{padding-bottom:138px!important;}
  .mwp-ms-appbar{min-height:72px!important;padding-top:2px!important;padding-bottom:6px!important;}
  .mwp-ms-title h1{font-size:17px!important;line-height:1.15!important;}
  .mwp-ms-title p{font-size:10.5px!important;margin-top:1px!important;}
  .mwp-ms-actions{gap:11px!important;}
  .mwp-ms-actions .mwp-ms-icon{width:27px!important;height:27px!important;}
  .mwp-ms-menu{width:31px!important;height:31px!important;}
  .mwp-ms-portal-entries{display:flex;flex-direction:column;gap:8px;margin:10px 0 12px;}
  .mwp-ms-portal-entry{width:100%;min-height:62px;border:0;border-radius:18px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:right;color:#fff;box-shadow:0 8px 18px rgba(24,35,60,.08);}
  .mwp-ms-portal-entry.miras{background:#E53935;}
  .mwp-ms-portal-entry.customer{background:#2196F3;}
  .mwp-ms-portal-entry .entry-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
  .mwp-ms-portal-entry strong{font-size:16px;font-weight:900;line-height:1.1;color:#fff;}
  .mwp-ms-portal-entry small{font-size:11px;font-weight:800;line-height:1.35;color:rgba(255,255,255,.92);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px;}
  .mwp-ms-portal-entry .entry-ico{width:34px;height:34px;border-radius:14px;background:rgba(255,255,255,.14);display:grid;place-items:center;flex:0 0 34px;color:#fff;}
  .mwp-ms-portal-entry .entry-ico svg{width:20px;height:20px;}
  .mwp-ms-quick{padding:10px!important;margin-bottom:10px!important;}
  .mwp-ms-quick-grid{gap:7px!important;}
  .mwp-ms-quick-tile{min-height:72px!important;border-radius:15px!important;padding:6px!important;}
  .mwp-ms-quick-tile .tile-ico{width:25px!important;height:25px!important;margin-bottom:5px!important;}
  .mwp-ms-quick-tile strong{font-size:10px!important;}
  .mwp-ms-quick-tile small{font-size:9px!important;}
  .mwp-ms-rail-section{background:#fff;border:1px solid var(--miras-border);border-radius:18px;padding:11px 0 12px;margin:11px 0;box-shadow:0 3px 12px rgba(24,35,60,.035);overflow:hidden;}
  .mwp-ms-rail-title{display:flex;align-items:center;gap:8px;padding:0 12px 9px;}
  .mwp-ms-rail-title .rail-icon{width:34px;height:34px;border-radius:13px;background:var(--miras-soft-teal);color:var(--miras-green);display:grid;place-items:center;flex:0 0 34px;}
  .mwp-ms-rail-title .rail-icon svg{width:17px;height:17px;}
  .mwp-ms-rail-title h2{margin:0;color:var(--miras-navy);font-size:16px;font-weight:900;line-height:1.2;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-rail-title .mwp-ms-link{font-size:11px;padding:5px 6px;}
  .mwp-ms-rail-scroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 12px 4px;direction:rtl;}
  .mwp-ms-rail-scroll::-webkit-scrollbar{display:none;}
  .mwp-ms-rail-card{scroll-snap-align:start;flex:0 0 72%;max-width:270px;background:#fff;border:1px solid var(--miras-border);border-radius:18px;overflow:hidden;box-shadow:0 3px 12px rgba(24,35,60,.045);}
  .mwp-ms-rail-media{position:relative;aspect-ratio:1.4/1;background:#e9eef3;overflow:hidden;border-radius:18px 18px 0 0;}
  .mwp-ms-rail-media img{width:100%;height:100%;object-fit:cover;display:block;}
  .mwp-ms-rail-body{padding:9px;}
  .mwp-ms-rail-body h3{margin:0;color:var(--miras-navy);font-size:13.6px;font-weight:900;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px;}
  .mwp-ms-rail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0;}
  .mwp-ms-rail-metrics span{border-radius:12px;background:#FDEEEE;border:1px solid #F7CACA;padding:6px;text-align:center;color:var(--miras-navy);font-size:11px;font-weight:900;line-height:1.1;}
  .mwp-ms-rail-metrics span:first-child{background:#EAF8F7;border-color:#BEEBE8;}
  .mwp-ms-rail-metrics b{display:block;color:var(--miras-green);font-size:9px;margin-bottom:3px;}
  .mwp-ms-rail-metrics span + span b{color:var(--miras-red);}
  .mwp-ms-rail-card .mwp-ms-btn{min-height:36px;border-radius:12px;font-size:11.5px;padding:8px;}
  .mwp-ms-bottom{bottom:calc(env(safe-area-inset-bottom,0px) + 7px)!important;}
  body.mwp-mobile-store-v2-active .mwp-floating-notification,
  body.mwp-mobile-store-v2-active .mwp-floating-notifications,
  body.mwp-mobile-store-v2-active .mwp-notification-float,
  body.mwp-mobile-store-v2-active .mwp-float-notification,
  body.mwp-mobile-store-v2-active .mwp-notification-fab,
  body.mwp-mobile-store-v2-active .mwp-floating-bell,
  body.mwp-mobile-store-v2-active .mwp-fab,
  body.mwp-mobile-store-v2-active .mwp-float-btn{display:none!important;visibility:hidden!important;pointer-events:none!important;}
}

/* Phase 165 — Mobile store details/order/tags typography parity
   Rule from Flutter review: headings carry the bold weight; body copy, chips, metrics and helper text stay regular/medium. */
@media (max-width:820px){
  .mwp-mobile-v2{font-weight:400!important;}
  .mwp-mobile-v2 p,
  .mwp-mobile-v2 small,
  .mwp-ms-title small,
  .mwp-ms-hero p,
  .mwp-ms-cta small,
  .mwp-ms-section-title p,
  .mwp-ms-quick-label,
  .mwp-ms-quick-tile small,
  .mwp-ms-product p,
  .mwp-ms-list-copy small,
  .mwp-ms-wallet-hero p,
  .mwp-ms-empty,
  .mwp-ms-notice-yellow p{font-weight:400!important;}
  .mwp-ms-title h1,
  .mwp-ms-hero h2,
  .mwp-ms-section-title h2,
  .mwp-ms-product h3,
  .mwp-ms-rail-title h2,
  .mwp-ms-rail-body h3,
  .mwp-ms-notice-yellow h3,
  .mwp-ms-wallet-hero h2,
  .mwp-ms-card h2{font-weight:800!important;}
  .mwp-ms-btn,
  .mwp-ms-link,
  .mwp-ms-bottom button,
  .mwp-ms-quick-tile strong,
  .mwp-ms-cta strong,
  .mwp-ms-chip,
  .mwp-ms-tag,
  .mwp-ms-overlay-chip,
  .mwp-ms-metric small,
  .mwp-ms-metric strong,
  .mwp-ms-rail-metrics span,
  .mwp-ms-rail-metrics b{font-weight:600!important;}

  .mwp-ms-tag-row{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 6px;}
  .mwp-ms-tag-row.compact{gap:5px;margin:6px 0 2px;}
  .mwp-ms-tag{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:4px 8px;border-radius:999px;border:1px solid #D6F0EE;background:#EAF8F7;color:#169B97;font-size:10.2px;line-height:1;}
  .mwp-ms-tag svg{width:12px;height:12px;stroke:currentColor;}
  .mwp-ms-tag.type{background:#EEF2FF;border-color:#D9DEFF;color:#4338CA;}
  .mwp-ms-tag.age{background:#FDEEEE;border-color:#F7CACA;color:#E53935;}
  .mwp-ms-tag.region{background:#EAF8F7;border-color:#BEEBE8;color:#169B97;}
  .mwp-ms-tag-row.compact .mwp-ms-tag{font-size:9.5px;min-height:21px;padding:3px 6px;}

  .mwp-ms-overlay-chip{font-size:9.8px!important;padding:4px 7px!important;}
  .mwp-ms-overlay-chip.region{top:9px;right:9px;}
  .mwp-ms-overlay-chip.age{top:9px;left:9px;}
  .mwp-ms-overlay-chip.type{bottom:9px;right:9px;}
}

/* Phase 172 — Unified Mobile App Shell
   Keep the public/store bottom tabs separate from contractor, premium and customer portals. */
@media (max-width:820px){
  .mwp-ms-drawer-backdrop{position:fixed;inset:0;z-index:75;background:rgba(15,23,42,.38);backdrop-filter:blur(4px);display:flex;justify-content:flex-start;align-items:stretch;direction:rtl;}
  .mwp-ms-drawer{width:min(86vw,360px);height:100%;background:#fff;border-inline-start:1px solid #E2E8EE;box-shadow:-14px 0 34px rgba(15,23,42,.18);padding:calc(env(safe-area-inset-top,0px) + 14px) 12px 18px;overflow-y:auto;animation:mwpMsDrawerIn .18s ease-out both;}
  @keyframes mwpMsDrawerIn{from{transform:translateX(22px);opacity:.78}to{transform:translateX(0);opacity:1}}
  .mwp-ms-drawer-head{display:flex;align-items:center;gap:10px;padding:6px 4px 14px;border-bottom:1px solid #EEF2F6;margin-bottom:12px;}
  .mwp-ms-drawer-head .brand-mark{width:42px;height:42px;border-radius:16px;background:var(--miras-soft-teal);color:var(--miras-green);display:grid;place-items:center;flex:0 0 42px;}
  .mwp-ms-drawer-head .brand-mark svg{width:23px;height:23px;}
  .mwp-ms-drawer-head span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}
  .mwp-ms-drawer-head strong{color:var(--miras-navy);font-size:16px;font-weight:900;line-height:1.15;}
  .mwp-ms-drawer-head small{color:var(--miras-muted);font-size:11px;font-weight:500;line-height:1.35;}
  .mwp-ms-drawer-head button{width:34px;height:34px;border:0;border-radius:13px;background:#F7F8FA;color:#16202B;font-size:22px;line-height:1;display:grid;place-items:center;}
  .mwp-ms-drawer-label{margin:12px 4px 7px;color:var(--miras-muted);font-size:11px;font-weight:800;}
  .mwp-ms-drawer-section{display:grid;gap:7px;}
  .mwp-ms-drawer-section button{border:1px solid #E2E8EE;background:#fff;border-radius:16px;min-height:48px;padding:9px 11px;display:flex;align-items:center;gap:10px;text-align:right;color:var(--miras-navy);font-size:12.5px;font-weight:800;box-shadow:0 2px 8px rgba(24,35,60,.025);}
  .mwp-ms-drawer-section button svg{width:19px;height:19px;color:var(--miras-green);stroke:currentColor;}
  .mwp-ms-drawer-section.portals button:nth-child(1) svg{color:var(--miras-red);}
  .mwp-ms-drawer-section.portals button:nth-child(2) svg{color:var(--miras-orange);}
  .mwp-ms-drawer-section.portals button:nth-child(3) svg{color:var(--miras-blue);}
  .mwp-ms-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;}
  .mwp-ms-drawer-actions button{min-height:46px;border:0;border-radius:16px;color:#fff;font-size:11.5px;font-weight:900;padding:8px;}
  .mwp-ms-drawer-actions .red{background:var(--miras-red);}
  .mwp-ms-drawer-actions .green{background:var(--miras-green);}

  .mwp-ms-portal-hero{border-radius:22px;padding:12px 13px;margin-bottom:10px;color:#fff;box-shadow:0 8px 18px rgba(24,35,60,.10);background:var(--miras-navy);}
  .mwp-ms-portal-hero.contractor{background:linear-gradient(135deg,#E53935,#B91C1C);}
  .mwp-ms-portal-hero.premium{background:linear-gradient(135deg,#F2A33A,#C77912);}
  .mwp-ms-portal-hero.customer{background:linear-gradient(135deg,#2563EB,#169B97);}
  .mwp-ms-portal-hero.miras{background:linear-gradient(135deg,#18233C,#169B97);}
  .mwp-ms-portal-hero h2{margin:10px 0 5px;color:#fff;font-size:19px;font-weight:900;line-height:1.25;}
  .mwp-ms-portal-hero p{margin:0;color:rgba(255,255,255,.9);font-size:12px;font-weight:500;line-height:1.65;}
  .mwp-ms-return{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.16);color:#fff;border-radius:14px;min-height:36px;padding:7px 10px;display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:800;}
  .mwp-ms-return svg{width:17px;height:17px;stroke:currentColor;}
  .mwp-ms-portal-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-bottom:10px;}
  .mwp-ms-portal-card{background:#fff;border:1px solid #E2E8EE;border-radius:18px;box-shadow:0 3px 12px rgba(24,35,60,.035);min-height:78px;padding:12px;display:grid;grid-template-columns:42px 1fr;grid-template-areas:'ico title' 'ico sub';gap:3px 10px;text-align:right;color:var(--miras-navy);}
  .mwp-ms-portal-card span{grid-area:ico;width:42px;height:42px;border-radius:16px;background:var(--miras-soft-teal);color:var(--miras-green);display:grid;place-items:center;align-self:center;}
  .mwp-ms-portal-card span svg{width:22px;height:22px;stroke:currentColor;}
  .mwp-ms-portal-card strong{grid-area:title;align-self:end;color:var(--miras-navy);font-size:14px;font-weight:900;line-height:1.25;}
  .mwp-ms-portal-card small{grid-area:sub;color:var(--miras-muted);font-size:11px;font-weight:500;line-height:1.45;}
  .mwp-ms-app-notice{display:flex;align-items:flex-start;gap:10px;background:#FFF9EA;border-color:#FBE4BF;}
  .mwp-ms-app-notice .notice-icon{width:36px;height:36px;border-radius:14px;background:#FFF0D3;color:var(--miras-orange);display:grid;place-items:center;flex:0 0 36px;}
  .mwp-ms-app-notice .notice-icon svg{width:19px;height:19px;stroke:currentColor;}
  .mwp-ms-app-notice strong{display:block;color:var(--miras-navy);font-size:13px;font-weight:900;margin-bottom:3px;}
  .mwp-ms-app-notice small{display:block;color:#6B7280;font-size:11px;font-weight:500;line-height:1.6;}
  .mwp-ms-request-card h2,.mwp-ms-notifications-shell h2{margin:0 0 7px;color:var(--miras-navy);font-size:16px;font-weight:900;}
  .mwp-ms-request-card p,.mwp-ms-notifications-shell p{margin:0 0 12px;color:var(--miras-muted);font-size:12px;font-weight:500;line-height:1.75;}
  .mwp-ms-form-preview{display:grid;gap:8px;margin:10px 0 12px;}
  .mwp-ms-form-preview div{height:42px;border-radius:14px;background:#F7F8FA;border:1px dashed #D8E0E8;}
}

/* Phase 173 — Store Full Parity mobile web refinements */
.mwp-ms-auth-card h2,.mwp-ms-card h2{margin:0 0 10px;font-size:15px;font-weight:900;color:var(--miras-navy)}
.mwp-ms-auth-card p,.mwp-ms-muted{margin:0 0 12px;color:var(--miras-muted);font-size:12px;font-weight:700;line-height:1.75}
.mwp-ms-danger-box{margin-top:12px;padding:12px;border:1px solid #F3C9C7;background:#FFF5F5;border-radius:18px;display:grid;gap:8px;color:var(--miras-red)}
.mwp-ms-danger-box small{color:#9B2C2C;font-size:11px;font-weight:700;line-height:1.6}
.mwp-ms-total-line{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--miras-border);border-bottom:1px solid var(--miras-border);padding:12px 0;margin:12px 0;color:var(--miras-navy)}
.mwp-ms-owned-project{background:#fff;border:1px solid var(--miras-border);border-radius:22px;padding:10px;margin:12px 0;box-shadow:0 10px 26px rgba(15,23,42,.06)}
.mwp-ms-client-box{background:var(--miras-soft-teal);border:1px solid #CDEDEA;border-radius:18px;padding:10px 12px;margin:8px 0;display:grid;gap:3px;color:var(--miras-navy)}
.mwp-ms-client-box small{color:var(--miras-muted);font-size:11px;font-weight:800}
.mwp-ms-follow-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}
.mwp-ms-details{margin-top:10px;border:1px solid var(--miras-border);border-radius:18px;padding:10px;background:#FAFCFF}
.mwp-ms-details summary{font-size:12px;font-weight:900;color:var(--miras-navy);cursor:pointer}
.mwp-ms-details[open] summary{margin-bottom:8px}
.mwp-ms-two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px}
.mwp-ms-check{display:flex;align-items:center;gap:8px;border:1px solid var(--miras-border);background:#fff;border-radius:16px;padding:10px;font-size:12px;font-weight:900;color:var(--miras-navy)}
.mwp-ms-check input{width:18px;height:18px;accent-color:var(--miras-green)}
.mwp-ms-card h3{font-size:13px;font-weight:900;color:var(--miras-navy);margin:14px 0 8px}
.mwp-ms-list-item.unread{border-color:#CDEDEA;background:#F0FBFA}
.mwp-ms-list-item.unread .mwp-ms-list-icon{background:var(--miras-soft-teal);color:var(--miras-green)}
textarea.mwp-ms-input{min-height:96px;resize:vertical;line-height:1.7}
@media (min-width:560px){.mwp-ms-follow-grid{grid-template-columns:1fr 1.4fr auto}.mwp-ms-follow-grid .mwp-ms-btn{min-height:44px}}

/* Phase 174 — Notifications + Deep Links parity */
.mwp-ms-bottom-icon{position:relative;display:grid;place-items:center;line-height:0;}
.mwp-ms-bottom-icon .badge{position:absolute;top:-8px;right:-13px;background:var(--miras-red);color:#fff;border-radius:999px;min-width:17px;height:17px;padding:0 4px;line-height:17px;text-align:center;font-size:8.5px;font-weight:900;box-shadow:0 2px 8px rgba(229,57,53,.25);}
.drawer-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-inline-start:5px;padding:0 5px;border-radius:999px;background:var(--miras-red);color:#fff;font-size:9px;font-weight:900;line-height:18px;}
.mwp-ms-unread-pill{margin-inline-start:auto;border:1px solid #CDEDEA;background:var(--miras-soft-teal);color:var(--miras-green);border-radius:999px;padding:5px 9px;font-size:10.5px;font-weight:900;white-space:nowrap;}
.mwp-ms-notification-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px;}
.mwp-ms-notification-actions .mwp-ms-btn{margin:0;min-height:40px;font-size:11.5px;}
.mwp-ms-notification-item{position:relative;align-items:flex-start;min-height:86px;}
.mwp-ms-notification-item .mwp-ms-list-copy em{display:block;margin-top:4px;color:#94A3B8;font-style:normal;font-size:10px;font-weight:800;line-height:1.35;}
.mwp-ms-notification-item.unread:before{content:"";position:absolute;top:14px;right:12px;width:8px;height:8px;border-radius:999px;background:var(--miras-red);box-shadow:0 0 0 3px rgba(229,57,53,.09);}
.mwp-ms-deeplink-chip{border:1px solid #CDEDEA;background:var(--miras-soft-teal);color:var(--miras-green);border-radius:999px;padding:5px 7px;font-size:10px;font-weight:900;align-self:center;white-space:nowrap;}

/* Phase 175 — Contractor Full Parity mobile web */
.mwp-ms-segment{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;}
.mwp-ms-segment button{border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.12);color:#fff;border-radius:14px;min-height:40px;font-size:12px;font-weight:900;}
.mwp-ms-segment button.active{background:#fff;color:var(--miras-red);}
.mwp-ms-portal-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;margin-bottom:4px;scrollbar-width:none;}
.mwp-ms-portal-tabs::-webkit-scrollbar{display:none;}
.mwp-ms-portal-tabs button{flex:0 0 auto;min-width:72px;border:1px solid var(--miras-border);background:#fff;border-radius:16px;padding:9px 8px;display:grid;place-items:center;gap:4px;color:var(--miras-navy);font-size:10.5px;font-weight:900;box-shadow:0 3px 12px rgba(15,23,42,.04);}
.mwp-ms-portal-tabs button svg{width:18px;height:18px;stroke:currentColor;}
.mwp-ms-portal-tabs button.active{background:var(--miras-red);border-color:var(--miras-red);color:#fff;}
.mwp-ms-kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px;}
.mwp-ms-kpi-row span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.20);border-radius:15px;padding:8px 6px;text-align:center;display:grid;gap:2px;min-height:54px;align-content:center;}
.mwp-ms-kpi-row b{color:#fff;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mwp-ms-kpi-row small{color:rgba(255,255,255,.84);font-size:9.5px;font-weight:800;}
.mwp-ms-mini-red,.mwp-ms-link-btn{border:0;background:#F8FAFC;color:var(--miras-navy);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap;}
.mwp-ms-mini-red{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25);color:#fff;}
.mwp-ms-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;}
.mwp-ms-section-title h2{margin:0!important;}
.mwp-ms-star{width:34px;height:34px;border:1px solid var(--miras-border);background:#fff;border-radius:13px;display:grid;place-items:center;color:#CBD5E1;}
.mwp-ms-star svg{width:18px;height:18px;}
.mwp-ms-star.active{color:#F2A33A;background:#FFF7E8;border-color:#FBE4BF;}
.contractor-opp{margin-bottom:10px;}
.mwp-ms-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;}
.mwp-ms-detail-grid span{border:1px solid var(--miras-border);background:#fff;border-radius:16px;padding:10px;display:grid;gap:3px;color:var(--miras-navy);font-size:11.5px;font-weight:800;min-height:58px;}
.mwp-ms-detail-grid b{display:block;color:var(--miras-muted);font-size:10px;font-weight:900;}
.mwp-ms-customer-box{border:1px solid #CDEDEA;background:var(--miras-soft-teal);border-radius:18px;padding:11px;margin:12px 0;color:var(--miras-navy);}
.mwp-ms-customer-box h3{margin-top:0;}
.mwp-ms-customer-box p{margin:4px 0;font-size:12px;font-weight:800;}
.mwp-ms-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 10px;}
.mwp-ms-status-grid button{border:1px solid var(--miras-border);background:#fff;border-radius:15px;min-height:40px;padding:8px;font-size:11.5px;font-weight:900;color:var(--miras-navy);}
.mwp-ms-btn.light{background:#F8FAFC;color:var(--miras-navy);border:1px solid var(--miras-border);}
@media (max-width:380px){.mwp-ms-kpi-row{grid-template-columns:1fr 1fr}.mwp-ms-detail-grid{grid-template-columns:1fr}.mwp-ms-portal-tabs button{min-width:66px}}

/* Phase 176 — Premium Full Parity mobile web */
.mwp-ms-portal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(135deg,#14342F,#235C50);color:#fff;border-color:rgba(255,255,255,.14)}
.mwp-ms-portal-head.premium{background:linear-gradient(135deg,#4A2E00,#B66A00)}
.mwp-ms-portal-head strong{display:block;font-size:14px;font-weight:900;color:#fff;line-height:1.5}
.mwp-ms-portal-head small{display:block;font-size:10.5px;font-weight:800;color:rgba(255,255,255,.86);line-height:1.5}
.mwp-ms-portal-head .mwp-ms-btn{margin:0;min-height:34px;padding:7px 10px;font-size:10.5px;white-space:nowrap}
.mwp-ms-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.mwp-ms-dashboard-grid div{border:1px solid var(--miras-border);background:#fff;border-radius:16px;padding:10px;display:grid;gap:4px;text-align:center;min-height:64px;align-content:center}
.mwp-ms-dashboard-grid b{font-size:13px;font-weight:900;color:var(--miras-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mwp-ms-dashboard-grid small{font-size:10px;font-weight:900;color:var(--miras-muted)}
.mwp-ms-chip-row{display:flex;gap:7px;overflow-x:auto;padding:2px 0 8px;margin-bottom:4px;scrollbar-width:none}
.mwp-ms-chip-row::-webkit-scrollbar{display:none}
.mwp-ms-chip-row button{flex:0 0 auto;border:1px solid var(--miras-border);background:#fff;border-radius:999px;padding:8px 10px;color:var(--miras-navy);font-size:11px;font-weight:900;white-space:nowrap}
.mwp-ms-chip-row button.active{background:#FFF7E8;border-color:#F2A33A;color:#8B4B00}
.mwp-ms-product.premium-card .mwp-ms-btn:not(.secondary){background:#B66A00;box-shadow:0 8px 18px rgba(182,106,0,.18)}
.mwp-ms-login-card.premium{background:linear-gradient(135deg,#4A2E00,#B66A00);color:#fff;border-color:rgba(255,255,255,.18)}
.mwp-ms-login-card.premium h2,.mwp-ms-login-card.premium p{color:#fff}
@media (min-width:560px){.mwp-ms-dashboard-grid{grid-template-columns:repeat(4,1fr)}}

/* Phase 177 — Customer full parity mobile web refinements */
.mwp-ms-login-card.customer{background:linear-gradient(135deg,#2563EB,#169B97);color:#fff;border-color:rgba(255,255,255,.18)}
.mwp-ms-login-card.customer h2,.mwp-ms-login-card.customer p{color:#fff}
.mwp-ms-portal-head.customer{background:linear-gradient(135deg,#1D4ED8,#169B97)}
.mwp-ms-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--miras-border);background:#fff;border-radius:15px;padding:10px 12px;margin:8px 0;color:var(--miras-navy);font-size:12px;font-weight:900}
.mwp-ms-toggle input{width:18px;height:18px;accent-color:var(--miras-green)}
.mwp-ms-product.customer-contractor{box-shadow:none;margin-bottom:10px}
.mwp-ms-product.customer-contractor .mwp-ms-product-body{padding-top:12px}
.mwp-ms-unread-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#FFF7E8;color:#B45309;padding:5px 9px;font-size:10px;font-weight:900;white-space:nowrap}

/* Phase 178 — Contact ticket threads full parity */
.mwp-ms-ticket-origin{border:1px solid #CDEDEA;background:#F0FBFA;border-radius:18px;padding:12px;color:var(--miras-navy);font-size:12px;font-weight:800;line-height:1.8;white-space:pre-wrap;margin-top:10px;}
.mwp-ms-ticket-thread{display:grid;gap:10px;margin-top:8px;}
.mwp-ms-reply{max-width:92%;border:1px solid var(--miras-border);background:#fff;border-radius:18px 18px 6px 18px;padding:11px;box-shadow:0 4px 14px rgba(15,23,42,.04);}
.mwp-ms-reply.staff{margin-inline-start:auto;background:#F8FAFC;border-color:#E2E8F0;border-radius:18px 18px 18px 6px;}
.mwp-ms-reply strong{display:block;color:var(--miras-navy);font-size:12px;font-weight:900;margin-bottom:4px;}
.mwp-ms-reply p{margin:0;color:#475569;font-size:12px;font-weight:800;line-height:1.8;white-space:pre-wrap;}
.mwp-ms-reply small{display:block;color:#94A3B8;font-size:10px;font-weight:800;margin-top:5px;}


/* Phase 179 — Performance, security, and release hardening */
.mwp-ms-alert{position:sticky;top:74px;z-index:8;margin:8px 12px 0;border:1px solid #CDEDEA;background:#F0FBFA;color:#134E4A;border-radius:16px;padding:10px 12px;font-size:11.5px;font-weight:900;line-height:1.7;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.mwp-ms-alert.error{border-color:#FAD1D1;background:#FFF5F5;color:#B42318}


/* Phase 180A — Mobile Home & Store Visual Parity
   Tightens the mobile web home/store screen to the Flutter app proportions while preserving Phase 171 cache fixes. */
@media (max-width:820px){
  :root{
    --miras-page-x:12px;
    --miras-radius-card:22px;
    --miras-shadow-soft:0 5px 16px rgba(24,35,60,.055);
  }
  .mwp-mobile-v2{background:#F5F6F8!important;padding-bottom:112px!important;}
  .mwp-ms-page{padding:10px 12px 24px!important;}

  /* App-like header */
  .mwp-ms-appbar{background:rgba(255,255,255,.96)!important;border-bottom:1px solid #ECF0F4!important;min-height:76px!important;padding:calc(env(safe-area-inset-top,0px) + 6px) 12px 7px!important;box-shadow:0 1px 0 rgba(226,232,238,.65)!important;}
  .mwp-ms-toolbar{height:56px!important;gap:8px!important;}
  .mwp-ms-title{padding-inline:6px!important;text-align:right!important;}
  .mwp-ms-title h1{font-size:20px!important;line-height:1.05!important;font-weight:800!important;letter-spacing:-.35px!important;color:#18233C!important;}
  .mwp-ms-title small{font-size:11.4px!important;line-height:1.25!important;margin-top:5px!important;color:#718096!important;font-weight:500!important;}
  .mwp-ms-actions{gap:13px!important;}
  .mwp-ms-icon{width:34px!important;height:40px!important;color:#121B2C!important;}
  .mwp-ms-icon svg{width:25px!important;height:25px!important;stroke-width:2.25!important;}
  .mwp-ms-menu,.mwp-ms-back{height:42px!important;color:#121B2C!important;}
  .mwp-ms-menu svg,.mwp-ms-back svg{width:27px!important;height:27px!important;stroke-width:2.25!important;}

  /* Section rails like the Flutter project blocks */
  .mwp-ms-rail-section{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:24px!important;padding:15px 0 16px!important;margin:14px 0!important;box-shadow:0 4px 16px rgba(24,35,60,.045)!important;overflow:hidden!important;}
  .mwp-ms-rail-title{padding:0 15px 12px!important;gap:10px!important;min-height:44px!important;}
  .mwp-ms-rail-title .rail-icon{width:42px!important;height:42px!important;border-radius:17px!important;background:#EAF8F7!important;color:#169B97!important;flex-basis:42px!important;}
  .mwp-ms-rail-title .rail-icon svg{width:21px!important;height:21px!important;}
  .mwp-ms-rail-title h2{font-size:20px!important;line-height:1.16!important;font-weight:800!important;letter-spacing:-.25px!important;color:#18233C!important;text-align:right!important;}
  .mwp-ms-show-all,.mwp-ms-rail-title .mwp-ms-link{height:40px!important;min-width:82px!important;border-radius:15px!important;background:#169B97!important;color:#fff!important;padding:0 13px!important;justify-content:center!important;font-size:12px!important;font-weight:800!important;box-shadow:0 4px 12px rgba(22,155,151,.14)!important;}
  .mwp-ms-rail-scroll{gap:12px!important;padding:0 15px 5px!important;scroll-padding-inline:15px!important;}

  /* Store cards */
  .mwp-ms-rail-card{flex:0 0 min(74vw,304px)!important;max-width:304px!important;border-radius:22px!important;border-color:#DDE5EE!important;box-shadow:0 4px 15px rgba(24,35,60,.06)!important;scroll-snap-align:start!important;}
  .mwp-ms-rail-media{border-radius:22px 22px 0 0!important;aspect-ratio:1.42/1!important;}
  .mwp-ms-rail-body{padding:12px!important;}
  .mwp-ms-rail-body h3{font-size:16.4px!important;line-height:1.28!important;font-weight:800!important;letter-spacing:-.15px!important;min-height:42px!important;color:#18233C!important;text-align:right!important;}
  .mwp-ms-product{border-radius:22px!important;border-color:#DDE5EE!important;box-shadow:0 4px 15px rgba(24,35,60,.055)!important;margin-bottom:12px!important;}
  .mwp-ms-product-media{border-radius:22px 22px 0 0!important;aspect-ratio:1.42/1!important;}
  .mwp-ms-product-body{padding:12px!important;}
  .mwp-ms-product h3{font-size:16.6px!important;line-height:1.3!important;font-weight:800!important;color:#18233C!important;letter-spacing:-.15px!important;}
  .mwp-ms-overlay-chip{height:30px!important;padding:5px 10px!important;font-size:11px!important;font-weight:700!important;gap:5px!important;box-shadow:0 4px 12px rgba(0,0,0,.08)!important;backdrop-filter:blur(1px)!important;}
  .mwp-ms-overlay-chip svg{width:13px!important;height:13px!important;}
  .mwp-ms-overlay-chip.region{top:11px!important;right:11px!important;background:rgba(22,155,151,.94)!important;}
  .mwp-ms-overlay-chip.age{top:11px!important;left:11px!important;background:rgba(239,68,68,.95)!important;}
  .mwp-ms-overlay-chip.type{bottom:11px!important;right:11px!important;background:rgba(79,70,229,.94)!important;}
  .mwp-ms-tag-row{gap:7px!important;margin:8px 0 7px!important;}
  .mwp-ms-tag{min-height:28px!important;padding:5px 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:600!important;}
  .mwp-ms-tag svg{width:13px!important;height:13px!important;}
  .mwp-ms-rail-metrics,.mwp-ms-metrics{gap:8px!important;margin:10px 0 0!important;}
  .mwp-ms-rail-metrics span,.mwp-ms-metric{border-radius:16px!important;min-height:58px!important;padding:9px 8px!important;}
  .mwp-ms-rail-metrics b,.mwp-ms-metric small{font-size:10.5px!important;font-weight:600!important;line-height:1.15!important;}
  .mwp-ms-rail-metrics span,.mwp-ms-metric strong{font-size:13px!important;font-weight:700!important;line-height:1.2!important;}
  .mwp-ms-btn{min-height:46px!important;border-radius:16px!important;font-size:13px!important;font-weight:800!important;padding:11px 14px!important;}
  .mwp-ms-rail-card .mwp-ms-btn{margin-top:10px!important;min-height:44px!important;border-radius:15px!important;font-size:13px!important;}
  .mwp-ms-more-strip{margin:9px 15px 0!important;width:calc(100% - 30px)!important;min-height:42px!important;border:1px solid #BEEBE8!important;background:#EAF8F7!important;color:#169B97!important;border-radius:16px!important;font-size:12px!important;font-weight:800!important;}

  /* Quick filters: compact and less dominant than project rails */
  .mwp-ms-quick{border-radius:22px!important;padding:13px!important;margin-bottom:13px!important;border-color:#DDE5EE!important;}
  .mwp-ms-quick-grid{gap:8px!important;}
  .mwp-ms-quick-tile{min-height:74px!important;border-radius:17px!important;}

  /* Floating bottom nav parity */
  .mwp-ms-bottom{left:18px!important;right:18px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 13px)!important;max-width:520px!important;height:78px!important;border-radius:28px!important;padding:8px!important;gap:8px!important;background:rgba(255,255,255,.95)!important;border:1px solid rgba(210,219,229,.95)!important;box-shadow:0 14px 30px rgba(24,35,60,.16)!important;backdrop-filter:blur(10px)!important;}
  .mwp-ms-bottom button{min-height:60px!important;border-radius:22px!important;background:transparent!important;color:#718096!important;font-size:11px!important;font-weight:700!important;gap:5px!important;}
  .mwp-ms-bottom button svg{width:25px!important;height:25px!important;stroke-width:2.25!important;}
  .mwp-ms-bottom button.active{background:#EAF8F7!important;color:#169B97!important;outline:1px solid #BEEBE8!important;box-shadow:inset 0 0 0 1px rgba(190,235,232,.55)!important;}
  .mwp-ms-bottom-icon .badge,.mwp-ms-icon .badge{background:#EF3B3B!important;color:#fff!important;font-weight:800!important;}
}


/* Phase 180B — Full Mobile Home Store UI Parity + Region Count Recovery */
@media (max-width:820px){
  .mwp-mobile-v2{padding-bottom:104px!important;}
  .mwp-ms-page{padding:8px 10px 20px!important;}
  .mwp-ms-appbar{min-height:70px!important;padding:calc(env(safe-area-inset-top,0px) + 4px) 10px 6px!important;}
  .mwp-ms-toolbar{height:52px!important;gap:6px!important;}
  .mwp-ms-title h1{font-size:17px!important;letter-spacing:-.2px!important;}
  .mwp-ms-title small{font-size:10.4px!important;margin-top:3px!important;font-weight:600!important;}
  .mwp-ms-actions{gap:10px!important;}
  .mwp-ms-icon{width:29px!important;height:34px!important;}
  .mwp-ms-icon svg,.mwp-ms-menu svg,.mwp-ms-back svg{width:22px!important;height:22px!important;}

  .mwp-ms-rail-section{border-radius:22px!important;padding:12px 0 12px!important;margin:11px 0!important;}
  .mwp-ms-rail-title{padding:0 12px 9px!important;gap:8px!important;align-items:center!important;}
  .mwp-ms-rail-title .rail-icon{width:38px!important;height:38px!important;border-radius:15px!important;flex:0 0 38px!important;}
  .mwp-ms-rail-title .rail-icon svg{width:18px!important;height:18px!important;}
  .mwp-ms-rail-title h2{font-size:14px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-show-all,.mwp-ms-rail-title .mwp-ms-link{min-width:88px!important;height:34px!important;padding:0 12px!important;border-radius:14px!important;font-size:9px!important;font-weight:900!important;box-shadow:none!important;}

  .mwp-ms-rail-filters{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 12px 8px;direction:rtl;scrollbar-width:none;}
  .mwp-ms-rail-filters::-webkit-scrollbar{display:none;}
  .mwp-ms-rail-filter{border:1px solid #BFE7E5;background:#F6FBFB;color:#18233C;border-radius:999px;min-height:34px;padding:0 13px;font-size:8px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;}
  .mwp-ms-rail-filter.active{background:#169B97;color:#fff;border-color:#169B97;}

  .mwp-ms-rail-scroll{gap:10px!important;padding:0 12px 4px!important;scroll-padding-inline:12px!important;}
  .mwp-ms-rail-card{flex:0 0 min(63vw,248px)!important;max-width:248px!important;border-radius:18px!important;}
  .mwp-ms-rail-media{border-radius:18px 18px 0 0!important;aspect-ratio:1.28/1!important;}
  .mwp-ms-rail-body{padding:8px!important;}
  .mwp-ms-rail-body h3{font-size:11px!important;line-height:1.25!important;min-height:28px!important;font-weight:900!important;}
  .mwp-ms-product{border-radius:18px!important;margin-bottom:10px!important;}
  .mwp-ms-product-media{border-radius:18px 18px 0 0!important;aspect-ratio:1.28/1!important;}
  .mwp-ms-product-body{padding:8px!important;}
  .mwp-ms-product h3{font-size:11.6px!important;line-height:1.26!important;font-weight:900!important;}
  .mwp-ms-product p{font-size:10.2px!important;line-height:1.45!important;margin-top:4px!important;}

  .mwp-ms-overlay-chip{height:28px!important;padding:4px 9px!important;font-size:8.6px!important;font-weight:900!important;gap:4px!important;box-shadow:none!important;}
  .mwp-ms-overlay-chip svg{width:11px!important;height:11px!important;}
  .mwp-ms-overlay-chip.region{top:8px!important;right:8px!important;}
  .mwp-ms-overlay-chip.age{top:8px!important;left:8px!important;}
  .mwp-ms-overlay-chip.type{bottom:8px!important;right:8px!important;}

  .mwp-ms-tag-row{gap:5px!important;margin:6px 0 5px!important;}
  .mwp-ms-tag-row.compact{gap:4px!important;margin:5px 0 3px!important;}
  .mwp-ms-tag{min-height:22px!important;padding:3px 8px!important;font-size:8.7px!important;font-weight:800!important;}
  .mwp-ms-tag svg{width:10px!important;height:10px!important;}
  .mwp-ms-tag-row.compact .mwp-ms-tag{min-height:21px!important;font-size:8.4px!important;padding:3px 7px!important;}

  .mwp-ms-rail-metrics,.mwp-ms-metrics{gap:6px!important;margin:7px 0 0!important;}
  .mwp-ms-rail-metrics span,.mwp-ms-metric{border-radius:14px!important;min-height:49px!important;padding:7px 6px!important;}
  .mwp-ms-rail-metrics b,.mwp-ms-metric small{font-size:8.5px!important;font-weight:900!important;margin-bottom:2px!important;}
  .mwp-ms-rail-metrics span,.mwp-ms-metric strong{font-size:10px!important;font-weight:900!important;}

  .mwp-ms-btn{min-height:40px!important;border-radius:14px!important;font-size:10.5px!important;padding:9px 11px!important;font-weight:900!important;}
  .mwp-ms-rail-card .mwp-ms-btn{min-height:38px!important;border-radius:13px!important;font-size:10.2px!important;margin-top:8px!important;padding:8px 10px!important;}
  .mwp-ms-more-strip{margin:8px 12px 0!important;width:calc(100% - 24px)!important;min-height:38px!important;border-radius:14px!important;font-size:10px!important;}

  .mwp-ms-quick{border-radius:18px!important;padding:10px!important;margin-bottom:11px!important;}
  .mwp-ms-section-title h2{font-size:12px!important;}
  .mwp-ms-section-title p,.mwp-ms-quick-label{font-size:9.5px!important;}
  .mwp-ms-quick-grid{gap:7px!important;}
  .mwp-ms-quick-tile{min-height:68px!important;border-radius:14px!important;padding:6px!important;}
  .mwp-ms-quick-tile strong{font-size:9.2px!important;}
  .mwp-ms-quick-tile small{font-size:8.5px!important;}

  .mwp-ms-bottom{left:14px!important;right:14px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important;height:70px!important;border-radius:24px!important;padding:6px!important;gap:6px!important;}
  .mwp-ms-bottom button{min-height:56px!important;border-radius:18px!important;font-size:8.9px!important;gap:3px!important;padding:4px 1px!important;}
  .mwp-ms-bottom button svg{width:21px!important;height:21px!important;}
  .mwp-ms-bottom .badge,.mwp-ms-icon .badge{min-width:16px!important;height:16px!important;line-height:16px!important;font-size:8px!important;padding:0 4px!important;}

  body.mwp-mobile-store-v2-active > [class*="floating"],
  body.mwp-mobile-store-v2-active > [class*="float"],
  body.mwp-mobile-store-v2-active > [class*="fab"],
  body.mwp-mobile-store-v2-active > [class*="chat"],
  body.mwp-mobile-store-v2-active > [class*="widget"],
  body.mwp-mobile-store-v2-active > [class*="bubble"],
  body.mwp-mobile-store-v2-active > [class*="launcher"],
  body.mwp-mobile-store-v2-active > [class*="sticky"],
  body.mwp-mobile-store-v2-active > [class*="whatsapp"],
  body.mwp-mobile-store-v2-active > [class*="cart"],
  body.mwp-mobile-store-v2-active > #chat-widget,
  body.mwp-mobile-store-v2-active > #chatwoot-widget,
  body.mwp-mobile-store-v2-active > #crisp-chatbox,
  body.mwp-mobile-store-v2-active > .mwp-external-hidden{display:none!important;}
}


/* Phase 180C — Secondary Store Screens Visual Polish + Live Data QA */
@media (max-width:820px){
  .mwp-ms-card{border-radius:18px!important;padding:11px!important;margin-bottom:10px!important;border-color:#DDE5EE!important;box-shadow:0 3px 12px rgba(24,35,60,.04)!important;}
  .mwp-ms-card h2{margin:0 0 9px!important;color:#18233C!important;font-size:13.2px!important;line-height:1.25!important;font-weight:900!important;}
  .mwp-ms-card h3{color:#18233C!important;font-size:12px!important;line-height:1.3!important;font-weight:900!important;margin:10px 0 7px!important;}
  .mwp-ms-muted,.mwp-ms-card p{font-size:10.5px!important;line-height:1.65!important;color:#718096!important;font-weight:700!important;}
  .mwp-ms-input{min-height:41px!important;height:auto!important;border-radius:13px!important;font-size:11px!important;font-weight:800!important;padding:9px 11px!important;line-height:1.45!important;margin-bottom:8px!important;}
  textarea.mwp-ms-input{min-height:86px!important;}
  .mwp-ms-list{gap:8px!important;}
  .mwp-ms-list-item{min-height:64px!important;border-radius:16px!important;padding:10px!important;gap:10px!important;box-shadow:0 2px 10px rgba(24,35,60,.035)!important;}
  .mwp-ms-list-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:14px!important;}
  .mwp-ms-list-icon svg{width:19px!important;height:19px!important;}
  .mwp-ms-list-copy strong{font-size:11.8px!important;line-height:1.3!important;font-weight:900!important;}
  .mwp-ms-list-copy small,.mwp-ms-list-copy em{font-size:9.7px!important;line-height:1.45!important;color:#718096!important;font-weight:700!important;font-style:normal!important;display:block!important;margin-top:2px!important;}
  .mwp-ms-detail-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:9px 0!important;}
  .mwp-ms-detail-grid span{background:#F7FAFC!important;border:1px solid #E2E8EE!important;border-radius:14px!important;padding:8px!important;color:#18233C!important;font-size:10.5px!important;font-weight:900!important;line-height:1.35!important;}
  .mwp-ms-detail-grid b{display:block!important;color:#718096!important;font-size:8.8px!important;font-weight:800!important;margin-bottom:3px!important;}
  .mwp-ms-wallet-hero{border-radius:20px!important;padding:14px!important;}
  .mwp-ms-wallet-hero h2{font-size:13px!important;}
  .mwp-ms-wallet-hero .balance{font-size:26px!important;}
  .mwp-ms-amount-grid{grid-template-columns:repeat(3,1fr)!important;gap:7px!important;}
  .mwp-ms-amount-grid button{height:39px!important;border-radius:13px!important;font-size:10.5px!important;font-weight:900!important;}
  .mwp-ms-notification-item.unread{border-color:#BEEBE8!important;background:#F2FBFA!important;}
  .mwp-ms-unread-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;padding:3px 9px!important;border-radius:999px!important;background:#EAF8F7!important;color:#169B97!important;font-size:9px!important;font-weight:900!important;}
  .mwp-ms-customer-box,.mwp-ms-notice-yellow{border-radius:17px!important;padding:11px!important;}
  .mwp-ms-notice-yellow h3{font-size:12px!important;}
  .mwp-ms-notice-yellow p{font-size:10.3px!important;}
  .mwp-ms-product.mwp-ms-detail-card,.mwp-ms-detail-img{border-radius:18px!important;}
  .mwp-ms-product .mwp-ms-btn.secondary{background:#F1F4F9!important;color:#18233C!important;border:1px solid #DDE5EE!important;}

  .mwp-ms-qa-page .mwp-ms-card{padding:12px!important;}
  .mwp-ms-qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;}
  .mwp-ms-qa-grid.regions{grid-template-columns:1fr 1fr;}
  .mwp-ms-qa-metric{border:1px solid #DDE5EE;background:#F7FAFC;border-radius:15px;padding:9px;text-align:right;min-height:70px;}
  .mwp-ms-qa-metric small{display:block;color:#718096;font-size:9px;font-weight:900;margin-bottom:4px;}
  .mwp-ms-qa-metric strong{display:block;color:#18233C;font-size:12px;font-weight:900;line-height:1.25;word-break:break-word;}
  .mwp-ms-qa-metric em{display:block;color:#169B97;font-size:8.5px;font-style:normal;font-weight:800;margin-top:4px;}
  .mwp-ms-qa-link{width:100%;border:1px solid #E2E8EE;background:#fff;border-radius:15px;min-height:46px;padding:0 12px;margin-top:7px;display:flex;align-items:center;justify-content:space-between;color:#18233C;font-size:11px;font-weight:900;text-decoration:none;}
  .mwp-ms-qa-link span{width:18px;height:18px;color:#718096;transform:rotate(180deg);display:grid;place-items:center;}
  .mwp-ms-qa-link span svg{width:18px;height:18px;}
}


/* Phase 180D — Flutter home screenshot parity */
@media (max-width:820px){
  .mwp-ms-home{padding-top:4px!important;}
  .mwp-ms-home .mwp-ms-hero{display:none!important;}
  .mwp-ms-rail-section{border-radius:18px!important;padding:10px 10px 10px!important;margin:10px 0!important;border:1px solid var(--region-border,#DDE5EE)!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;}
  .mwp-ms-rail-title{padding:0!important;margin-bottom:6px!important;gap:8px!important;align-items:center!important;}
  .mwp-ms-rail-title .rail-icon{width:30px!important;height:30px!important;border-radius:10px!important;background:var(--region-icon-bg,#DFF5F3)!important;color:var(--region-color,#169B97)!important;flex:0 0 30px!important;box-shadow:none!important;}
  .mwp-ms-rail-title .rail-icon svg{width:16px!important;height:16px!important;}
  .mwp-ms-rail-title h2{font-size:15.5px!important;font-weight:900!important;line-height:1.2!important;color:#18233C!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-rail-title .mwp-ms-link,
  .mwp-ms-rail-title .mwp-ms-show-all{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#169B97!important;font-size:12px!important;font-weight:800!important;min-height:auto!important;}
  .mwp-ms-rail-filters{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:0 0 2px!important;margin:0 0 8px!important;scrollbar-width:none;direction:rtl;}
  .mwp-ms-rail-filters::-webkit-scrollbar{display:none!important;}
  .mwp-ms-rail-filter{height:34px!important;border-radius:999px!important;padding:7px 10px!important;background:var(--region-light,#EAF8F7)!important;border:1px solid var(--region-border,#C8EEEE)!important;color:#18233C!important;display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:11.5px!important;font-weight:900!important;white-space:nowrap!important;min-height:34px!important;}
  .mwp-ms-rail-filter .ico{width:13px!important;height:13px!important;color:var(--pill-color,#169B97)!important;display:inline-grid!important;place-items:center!important;}
  .mwp-ms-rail-filter .ico svg{width:13px!important;height:13px!important;}
  .mwp-ms-rail-filter.active{background:var(--pill-color,#169B97)!important;border-color:var(--pill-color,#169B97)!important;color:#fff!important;}
  .mwp-ms-rail-filter.active .ico{color:#fff!important;}
  .mwp-ms-rail-scroll{padding:0!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;direction:rtl!important;}
  .mwp-ms-rail-card{width:168px!important;min-width:168px!important;max-width:168px!important;flex:0 0 168px!important;border-radius:18px!important;border:1px solid #E2E8EE!important;box-shadow:none!important;overflow:hidden!important;background:#fff!important;}
  .mwp-ms-rail-media{aspect-ratio:1.25!important;border-radius:18px 18px 0 0!important;background:#F1F4F9!important;}
  .mwp-ms-rail-placeholder{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;color:#718096!important;background:#F1F4F9!important;}
  .mwp-ms-rail-placeholder svg{width:24px!important;height:24px!important;}
  .mwp-ms-overlay-chip{border-radius:999px!important;padding:4px 8px!important;font-size:9.8px!important;font-weight:900!important;gap:3px!important;line-height:1!important;box-shadow:none!important;}
  .mwp-ms-overlay-chip svg{width:10px!important;height:10px!important;}
  .mwp-ms-overlay-chip.age{top:8px!important;right:8px!important;left:auto!important;background:#EF4444!important;}
  .mwp-ms-overlay-chip.type{bottom:8px!important;right:8px!important;left:auto!important;background:#4338CA!important;}
  .mwp-ms-overlay-chip.region{display:none!important;}
  .mwp-ms-rail-body{padding:8px!important;display:flex!important;flex-direction:column!important;min-height:122px!important;}
  .mwp-ms-rail-body h3{font-size:12.8px!important;line-height:1.28!important;min-height:34px!important;margin:0!important;color:#18233C!important;font-weight:900!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .mwp-ms-rail-body .mwp-ms-tag-row{display:none!important;}
  .mwp-ms-rail-metrics{margin:6px 0 8px!important;gap:5px!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
  .mwp-ms-rail-metrics span{padding:5px!important;border-radius:10px!important;background:#EAF8F7!important;border:1px solid #C8EEEE!important;color:#18233C!important;font-size:10.8px!important;font-weight:900!important;line-height:1.1!important;text-align:center!important;}
  .mwp-ms-rail-metrics span.expire{background:#FDEEEE!important;border-color:#F8CACA!important;}
  .mwp-ms-rail-metrics b{display:block!important;font-size:8.8px!important;margin-bottom:2px!important;color:#169B97!important;font-weight:900!important;}
  .mwp-ms-rail-metrics span.expire b{color:#E53935!important;}
  .mwp-ms-rail-card .mwp-ms-btn.region{width:100%!important;min-height:38px!important;height:38px!important;border-radius:14px!important;padding:8px 6px!important;background:var(--region-color,#169B97)!important;border-color:var(--region-color,#169B97)!important;font-size:11.4px!important;font-weight:900!important;line-height:1!important;margin-top:auto!important;}
  .mwp-ms-more-strip{display:none!important;}

  .mwp-ms-numbers-block{background:#fff!important;border:1px solid #E2E8EE!important;border-radius:18px!important;padding:12px!important;margin:10px 0 12px!important;box-shadow:none!important;}
  .mwp-ms-numbers-title{display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:12px!important;}
  .mwp-ms-numbers-title h2{margin:0!important;color:#18233C!important;font-size:17px!important;font-weight:900!important;line-height:1.2!important;}
  .mwp-ms-numbers-title-icon{width:18px!important;height:18px!important;color:#169B97!important;display:grid!important;place-items:center!important;flex:0 0 18px!important;}
  .mwp-ms-numbers-title-icon svg{width:18px!important;height:18px!important;}
  .mwp-ms-numbers-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .mwp-ms-numbers-card{background:var(--numbers-bg,#F1F5F9)!important;border:1px solid var(--numbers-border,#D6DEE9)!important;border-radius:18px!important;padding:12px!important;min-height:156px!important;display:flex!important;flex-direction:column!important;box-shadow:none!important;}
  .mwp-ms-numbers-head{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:auto!important;}
  .mwp-ms-numbers-icon{width:30px!important;height:30px!important;border-radius:11px!important;background:rgba(255,255,255,.72)!important;color:var(--numbers-accent,#64748B)!important;display:grid!important;place-items:center!important;flex:0 0 30px!important;}
  .mwp-ms-numbers-icon svg{width:17px!important;height:17px!important;}
  .mwp-ms-numbers-head h3{margin:0!important;font-size:12.4px!important;font-weight:900!important;color:#18233C!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-numbers-caption{margin-top:10px!important;color:#718096!important;font-size:11.3px!important;font-weight:700!important;}
  .mwp-ms-numbers-value{margin-top:2px!important;color:#18233C!important;font-size:22px!important;font-weight:900!important;line-height:1.1!important;}
  .mwp-ms-numbers-meta{margin-top:6px!important;color:#718096!important;font-size:10.5px!important;font-weight:700!important;line-height:1.28!important;}
  .mwp-ms-numbers-meta .red{color:#E53935!important;font-weight:900!important;}
  .mwp-ms-numbers-meta .accent{color:var(--numbers-accent,#64748B)!important;font-weight:900!important;}
  .mwp-ms-total-estimate{margin-top:8px!important;padding:18px 16px!important;border-radius:20px!important;background:#0F172A!important;display:flex!important;align-items:center!important;gap:12px!important;box-shadow:none!important;}
  .mwp-ms-total-icon{width:42px!important;height:42px!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;display:grid!important;place-items:center!important;flex:0 0 42px!important;}
  .mwp-ms-total-icon svg{width:22px!important;height:22px!important;}
  .mwp-ms-total-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;}
  .mwp-ms-total-copy small{color:rgba(255,255,255,.7)!important;font-size:12.2px!important;font-weight:800!important;line-height:1.2!important;}
  .mwp-ms-total-copy strong{color:#fff!important;font-size:24px!important;font-weight:900!important;line-height:1.12!important;}
}


/* Phase 180E — Header + Flutter home block distribution recovery */
@media (max-width:820px){
  /* App header distribution: menu/title on the right, action icons on the left, exact app-like top spacing. */
  .mwp-mobile-v2{background:#F5F6F7!important;}
  .mwp-ms-appbar{
    position:sticky!important;
    top:0!important;
    z-index:70!important;
    background:#fff!important;
    min-height:74px!important;
    padding:calc(env(safe-area-inset-top,0px) + 3px) 12px 6px!important;
    border-bottom:1px solid #E7ECF2!important;
    box-shadow:none!important;
  }
  .mwp-ms-toolbar{
    height:54px!important;
    display:flex!important;
    align-items:center!important;
    direction:rtl!important;
    gap:8px!important;
    overflow:hidden!important;
  }
  .mwp-ms-leading{
    order:1!important;
    width:38px!important;
    min-width:38px!important;
    display:flex!important;
    justify-content:flex-start!important;
  }
  .mwp-ms-menu,.mwp-ms-back{
    width:38px!important;
    height:38px!important;
    border:0!important;
    background:transparent!important;
    color:#121B2C!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }
  .mwp-ms-title{
    order:2!important;
    flex:1 1 auto!important;
    min-width:0!important;
    padding-inline:3px!important;
    text-align:right!important;
    line-height:1.05!important;
  }
  .mwp-ms-title h1{
    font-size:17.5px!important;
    line-height:1.08!important;
    font-weight:800!important;
    letter-spacing:-.15px!important;
    color:#18233C!important;
    margin:0!important;
  }
  .mwp-ms-title small{
    display:block!important;
    font-size:10.8px!important;
    line-height:1.25!important;
    margin-top:4px!important;
    color:#718096!important;
    font-weight:600!important;
  }
  .mwp-ms-actions{
    order:3!important;
    display:flex!important;
    align-items:center!important;
    gap:13px!important;
    direction:ltr!important;
    flex:0 0 auto!important;
  }
  .mwp-ms-icon{
    width:30px!important;
    height:36px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#121B2C!important;
    box-shadow:none!important;
  }
  .mwp-ms-icon svg,.mwp-ms-menu svg,.mwp-ms-back svg{width:23px!important;height:23px!important;}

  /* Correct Flutter home block order and spacing: hero, CTA triplet, quick filters, login/portal, regional rails, numbers. */
  .mwp-ms-home{
    padding:10px 12px 18px!important;
  }
  .mwp-ms-home .mwp-ms-hero{
    display:block!important;
    margin:0 0 10px!important;
    border-radius:18px!important;
    padding:14px 14px!important;
    background:linear-gradient(135deg,#169B97,#065F46)!important;
    color:#fff!important;
    border:0!important;
    box-shadow:none!important;
  }
  .mwp-ms-hero h2{font-size:15.5px!important;line-height:1.3!important;font-weight:900!important;margin:0!important;color:#fff!important;}
  .mwp-ms-hero p{font-size:11px!important;line-height:1.45!important;color:rgba(255,255,255,.88)!important;margin:6px 0 8px!important;}
  .mwp-ms-hero .mwp-ms-chips{gap:6px!important;}
  .mwp-ms-hero .mwp-ms-chip{font-size:10px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;}

  .mwp-ms-actions-triplet{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;margin:0 0 10px!important;}
  .mwp-ms-cta{min-height:78px!important;border-radius:17px!important;padding:8px 6px!important;box-shadow:none!important;}
  .mwp-ms-cta .ico{width:30px!important;height:30px!important;border-radius:12px!important;margin-bottom:5px!important;}
  .mwp-ms-cta strong{font-size:10.5px!important;line-height:1.2!important;font-weight:900!important;}
  .mwp-ms-cta small{font-size:8.8px!important;line-height:1.15!important;margin-top:2px!important;}

  .mwp-ms-quick{display:block!important;margin:0 0 12px!important;padding:10px!important;border-radius:18px!important;border:1px solid #E2E8EE!important;background:#fff!important;box-shadow:none!important;}
  .mwp-ms-portal-entries{margin:0 0 12px!important;}
  .mwp-ms-portal-entry{min-height:54px!important;border-radius:18px!important;}

  /* Regional blocks keep the screenshot colors/cards, but live after the intro blocks like Flutter. */
  .mwp-ms-rail-section{margin:0 0 10px!important;}
  .mwp-ms-numbers-block{margin:2px 0 14px!important;}
}


/* Phase 181 — Categories screen app parity. Home page is intentionally untouched. */
@media (max-width:820px){
  .mwp-ms-categories{
    padding:10px 12px 138px!important;
  }
  .mwp-ms-categories .mwp-ms-card,
  .mwp-ms-categories .mwp-ms-cat-card,
  .mwp-ms-categories .mwp-ms-cat-summary{
    box-shadow:none!important;
  }
  .mwp-ms-cat-card{
    background:#fff!important;
    border:1px solid #DDE5EE!important;
    border-radius:22px!important;
    padding:14px 12px!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
  }
  .mwp-ms-cat-head{
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    direction:rtl!important;
    text-align:right!important;
  }
  .mwp-ms-cat-head-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:15px!important;
    display:grid!important;
    place-items:center!important;
    color:#169B97!important;
    background:#EAF8F7!important;
  }
  .mwp-ms-cat-head-icon.green{color:#169B97!important;background:#EAF8F7!important;}
  .mwp-ms-cat-head-icon svg{width:20px!important;height:20px!important;}
  .mwp-ms-cat-head h2{
    margin:0!important;
    color:#18233C!important;
    font-size:19px!important;
    line-height:1.18!important;
    font-weight:900!important;
    letter-spacing:-.2px!important;
  }
  .mwp-ms-cat-head p{
    margin:7px 0 0!important;
    color:#718096!important;
    font-size:11.5px!important;
    line-height:1.55!important;
    font-weight:700!important;
  }
  .mwp-ms-country-actions{
    display:flex!important;
    justify-content:flex-start!important;
    margin-top:18px!important;
  }
  .mwp-ms-country-actions button{
    min-width:126px!important;
    min-height:44px!important;
    border:0!important;
    border-radius:15px!important;
    background:#169B97!important;
    color:#fff!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:900!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:9px 14px!important;
  }
  .mwp-ms-country-actions button span{
    width:34px!important;
    height:34px!important;
    border-radius:50%!important;
    background:rgba(24,35,60,.22)!important;
    display:grid!important;
    place-items:center!important;
    transform:rotate(180deg)!important;
  }
  .mwp-ms-country-actions button svg{width:18px!important;height:18px!important;}

  .mwp-ms-cat-summary{
    background:#FFF8DE!important;
    border:1px solid #FAD84B!important;
    border-radius:22px!important;
    padding:13px 12px!important;
    margin:0 0 12px!important;
    text-align:right!important;
  }
  .mwp-ms-cat-summary h2{
    margin:0 0 11px!important;
    color:#18233C!important;
    font-size:13.7px!important;
    line-height:1.35!important;
    font-weight:900!important;
  }
  .mwp-ms-cat-summary-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .mwp-ms-cat-summary-grid span{
    min-height:38px!important;
    border:1px solid #F7D54E!important;
    background:rgba(255,255,255,.66)!important;
    border-radius:999px!important;
    padding:7px 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    min-width:0!important;
  }
  .mwp-ms-cat-summary-grid span.wide{grid-column:1 / -1!important;max-width:100%!important;justify-self:center!important;padding-inline:16px!important;}
  .mwp-ms-cat-summary-grid b{
    color:#718096!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:900!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .mwp-ms-cat-summary-grid strong{
    color:#E53935!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:900!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  .mwp-ms-category-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-top:14px!important;
  }
  .mwp-ms-category-tile{
    min-height:66px!important;
    border:1px solid var(--cat-border,#DDE5EE)!important;
    background:var(--cat-light,#F7FAFC)!important;
    color:#18233C!important;
    border-radius:20px!important;
    padding:10px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    direction:rtl!important;
    text-align:right!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .mwp-ms-category-icon{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:14px!important;
    background:var(--cat-icon-bg,#EDF2F7)!important;
    color:var(--cat-color,#169B97)!important;
    display:grid!important;
    place-items:center!important;
  }
  .mwp-ms-category-icon svg{width:18px!important;height:18px!important;}
  .mwp-ms-category-copy{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .mwp-ms-category-copy strong{
    color:#18233C!important;
    font-size:12.4px!important;
    line-height:1.15!important;
    font-weight:900!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .mwp-ms-category-copy small{
    color:#E53935!important;
    font-size:10.2px!important;
    line-height:1.15!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  .mwp-ms-category-chevron{
    width:18px!important;
    min-width:18px!important;
    color:#718096!important;
    display:grid!important;
    place-items:center!important;
    transform:rotate(180deg)!important;
  }
  .mwp-ms-category-chevron svg{width:17px!important;height:17px!important;}
  .mwp-ms-categories .types .mwp-ms-cat-head-icon{color:#18233C!important;background:#F1F4F9!important;}
}


/* Phase 181B — auto-load project rails; no manual refresh card on the home screen */
@media (max-width:820px){
  .mwp-ms-projects-autoload{
    margin:8px 0 10px!important;
    padding:14px!important;
    border:1px solid #DDE5EE!important;
    border-radius:18px!important;
    background:#fff!important;
    color:#718096!important;
    font-size:11.5px!important;
    font-weight:800!important;
    text-align:center!important;
  }
}


/* Phase 181D — Product detail header + scroll reset polish */
@media (max-width:820px){
  .mwp-ms-product-appbar{
    min-height:76px!important;
    padding:calc(env(safe-area-inset-top,0px) + 4px) 12px 7px!important;
    background:#fff!important;
    border-bottom:1px solid #E7ECF2!important;
    box-shadow:none!important;
  }
  .mwp-ms-product-appbar .mwp-ms-toolbar{
    height:56px!important;
    gap:8px!important;
    align-items:center!important;
    direction:rtl!important;
  }
  .mwp-ms-product-appbar .mwp-ms-leading{
    width:64px!important;
    min-width:64px!important;
    justify-content:flex-start!important;
    order:1!important;
  }
  .mwp-ms-product-appbar .mwp-ms-back{
    width:auto!important;
    min-width:58px!important;
    height:34px!important;
    padding:0 0 0 4px!important;
    color:#EF4444!important;
    font-size:11.4px!important;
    font-weight:900!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:3px!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .mwp-ms-product-appbar .mwp-ms-back svg{
    width:16px!important;
    height:16px!important;
    stroke-width:2.7!important;
  }
  .mwp-ms-product-appbar .mwp-ms-title{
    order:2!important;
    text-align:right!important;
    padding-inline:2px 6px!important;
    min-width:0!important;
  }
  .mwp-ms-product-appbar .mwp-ms-title h1{
    font-size:20px!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:-.25px!important;
    color:#18233C!important;
  }
  .mwp-ms-product-appbar .mwp-ms-title small{
    font-size:10.9px!important;
    line-height:1.25!important;
    margin-top:4px!important;
    color:#718096!important;
    font-weight:700!important;
  }
  .mwp-ms-product-appbar .mwp-ms-actions{
    order:3!important;
    gap:14px!important;
    flex:0 0 auto!important;
  }
  .mwp-ms-product-appbar .mwp-ms-icon{
    width:30px!important;
    height:36px!important;
  }
  .mwp-ms-product-appbar .mwp-ms-icon svg{
    width:23px!important;
    height:23px!important;
  }
  .mwp-ms-product-appbar + .mwp-ms-page{
    padding-top:12px!important;
  }
}


/* Phase 181E — Account tab app parity. Scoped to #/store/account only. */
@media (max-width:820px){
  .mwp-ms-account-page{padding:12px 12px 142px!important;background:#F5F6F7!important;}
  .mwp-ms-account-profile-card{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:22px!important;min-height:92px!important;padding:14px 16px!important;display:flex!important;align-items:center!important;gap:12px!important;direction:rtl!important;box-shadow:none!important;margin:0 0 12px!important;}
  .mwp-ms-account-avatar{width:56px!important;height:56px!important;border-radius:18px!important;background:#EAF8F7!important;color:#169B97!important;display:grid!important;place-items:center!important;flex:0 0 56px!important;}
  .mwp-ms-account-avatar svg{width:27px!important;height:27px!important;stroke-width:2.35!important;}
  .mwp-ms-account-profile-copy{flex:1!important;min-width:0!important;text-align:right!important;}
  .mwp-ms-account-profile-copy strong{display:block!important;color:#18233C!important;font-size:14.5px!important;line-height:1.25!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-profile-copy small{display:block!important;color:#718096!important;font-size:11px!important;line-height:1.35!important;font-weight:800!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-refresh{width:68px!important;height:30px!important;border:0!important;border-radius:999px!important;background:#169B97!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:none!important;flex:0 0 68px!important;}
  .mwp-ms-account-refresh svg{width:18px!important;height:18px!important;}
  .mwp-ms-account-menu{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0 0 10px!important;}
  .mwp-ms-account-menu-item{width:100%!important;min-height:74px!important;border:0!important;border-radius:18px!important;background:#169B97!important;color:#18233C!important;padding:10px 13px!important;display:flex!important;align-items:center!important;gap:12px!important;text-align:right!important;direction:rtl!important;box-shadow:none!important;}
  .mwp-ms-account-item-icon{width:48px!important;height:48px!important;border-radius:15px!important;background:#F3F7FB!important;color:#18233C!important;display:grid!important;place-items:center!important;flex:0 0 48px!important;}
  .mwp-ms-account-item-icon svg{width:24px!important;height:24px!important;stroke-width:2.35!important;}
  .mwp-ms-account-item-copy{flex:1!important;min-width:0!important;}
  .mwp-ms-account-item-copy strong{display:block!important;font-size:13.8px!important;line-height:1.25!important;font-weight:900!important;color:#12213A!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-item-copy small{display:block!important;margin-top:3px!important;font-size:10.2px!important;line-height:1.35!important;font-weight:800!important;color:rgba(113,128,150,.95)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-arrow{width:24px!important;height:24px!important;color:#12213A!important;display:grid!important;place-items:center!important;flex:0 0 24px!important;transform:rotate(180deg)!important;}
  .mwp-ms-account-arrow svg{width:22px!important;height:22px!important;}
  .mwp-ms-account-portal-shortcut{min-height:72px!important;border-radius:18px!important;border:1px solid #BEEBE8!important;background:#EAF8F7!important;color:#169B97!important;padding:11px 13px!important;display:flex!important;align-items:center!important;gap:12px!important;direction:rtl!important;margin:8px 0 10px!important;box-shadow:none!important;}
  .mwp-ms-account-portal-shortcut span{width:44px!important;height:44px!important;border-radius:14px!important;background:#DFF5F3!important;color:#169B97!important;display:grid!important;place-items:center!important;flex:0 0 44px!important;}
  .mwp-ms-account-portal-shortcut svg{width:22px!important;height:22px!important;}
  .mwp-ms-account-portal-shortcut strong{display:block!important;color:#169B97!important;font-size:13px!important;line-height:1.2!important;font-weight:900!important;}
  .mwp-ms-account-portal-shortcut small{display:block!important;color:#718096!important;font-size:9.7px!important;font-weight:800!important;margin-top:3px!important;}
  .mwp-ms-account-auth-panel{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:22px!important;padding:13px!important;margin:0 0 10px!important;box-shadow:none!important;}
  .mwp-ms-account-auth-head{display:grid!important;grid-template-columns:44px 1fr!important;gap:10px!important;align-items:center!important;text-align:right!important;direction:rtl!important;margin-bottom:10px!important;}
  .mwp-ms-account-auth-head span{grid-row:1/3;width:44px!important;height:44px!important;border-radius:14px!important;background:#F1F4F9!important;color:#18233C!important;display:grid!important;place-items:center!important;}
  .mwp-ms-account-auth-head span svg{width:22px!important;height:22px!important;}
  .mwp-ms-account-auth-head strong{font-size:13.6px!important;font-weight:900!important;color:#18233C!important;line-height:1.25!important;}
  .mwp-ms-account-auth-head small{font-size:10px!important;font-weight:800!important;color:#718096!important;line-height:1.4!important;}
  .mwp-ms-account-auth-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}
  .mwp-ms-account-register{margin-top:8px!important;border-top:1px solid #EDF2F7!important;padding-top:8px!important;}
  .mwp-ms-account-register summary{cursor:pointer!important;color:#169B97!important;font-size:11px!important;font-weight:900!important;margin-bottom:8px!important;}
  .mwp-ms-account-danger{background:#fff!important;border:1px solid #F8CACA!important;border-radius:18px!important;padding:11px!important;margin-top:8px!important;box-shadow:none!important;}
  .mwp-ms-account-danger details{margin-top:8px!important;color:#E53935!important;font-size:11px!important;font-weight:900!important;}
  .mwp-ms-account-danger small{display:block;color:#718096!important;font-size:10px!important;font-weight:800!important;line-height:1.5!important;margin:6px 0!important;}
}


/* Phase 181F — Account exact app colors + header parity */
@media (max-width:820px){
  .mwp-ms-appbar.mwp-ms-account-appbar{padding-top:calc(env(safe-area-inset-top,0px) + 8px)!important;padding-bottom:8px!important;background:#fff!important;border-bottom:1px solid #E8EDF3!important;}
  .mwp-ms-appbar.mwp-ms-account-appbar .mwp-ms-toolbar{min-height:72px!important;align-items:center!important;}
  .mwp-ms-appbar.mwp-ms-account-appbar .mwp-ms-menu{width:34px!important;height:34px!important;border-radius:10px!important;background:transparent!important;color:#18233C!important;}
  .mwp-ms-appbar.mwp-ms-account-appbar .mwp-ms-title h1{font-size:18px!important;font-weight:900!important;color:#18233C!important;}
  .mwp-ms-appbar.mwp-ms-account-appbar .mwp-ms-title small{font-size:11px!important;font-weight:700!important;color:#7B8CA5!important;}
  .mwp-ms-appbar.mwp-ms-account-appbar .mwp-ms-actions .mwp-ms-icon{width:30px!important;height:34px!important;color:#18233C!important;}
  .mwp-ms-account-page{padding:12px 12px 142px!important;background:#F7F9FC!important;}
  .mwp-ms-account-profile-card{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:22px!important;min-height:96px!important;padding:14px 16px!important;display:flex!important;align-items:center!important;gap:12px!important;direction:rtl!important;box-shadow:none!important;margin:0 0 12px!important;}
  .mwp-ms-account-avatar{width:58px!important;height:58px!important;border-radius:18px!important;background:#EAF8F7!important;color:#169B97!important;display:grid!important;place-items:center!important;flex:0 0 58px!important;}
  .mwp-ms-account-avatar svg{width:28px!important;height:28px!important;stroke-width:2.35!important;}
  .mwp-ms-account-profile-copy strong{font-size:14.5px!important;color:#18233C!important;font-weight:900!important;}
  .mwp-ms-account-profile-copy small{font-size:11.2px!important;color:#7B8CA5!important;font-weight:800!important;}
  .mwp-ms-account-refresh{width:32px!important;height:32px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#364152!important;display:grid!important;place-items:center!important;box-shadow:none!important;flex:0 0 32px!important;padding:0!important;}
  .mwp-ms-account-refresh svg{width:23px!important;height:23px!important;stroke-width:2.2!important;}
  .mwp-ms-account-menu{gap:10px!important;margin:0 0 10px!important;}
  .mwp-ms-account-menu-item{width:100%!important;min-height:74px!important;border:1px solid #DDE5EE!important;border-radius:22px!important;background:#fff!important;color:#18233C!important;padding:12px 14px!important;display:flex!important;align-items:center!important;gap:12px!important;text-align:right!important;direction:rtl!important;box-shadow:none!important;}
  .mwp-ms-account-item-icon{width:48px!important;height:48px!important;border-radius:16px!important;background:#F1F4F9!important;color:#18233C!important;display:grid!important;place-items:center!important;flex:0 0 48px!important;border:0!important;}
  .mwp-ms-account-item-icon svg{width:24px!important;height:24px!important;stroke-width:2.25!important;}
  .mwp-ms-account-item-copy strong{display:block!important;font-size:14px!important;line-height:1.25!important;font-weight:900!important;color:#18233C!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-item-copy small{display:block!important;margin-top:4px!important;font-size:10.8px!important;line-height:1.35!important;font-weight:800!important;color:#7B8CA5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .mwp-ms-account-arrow{width:26px!important;height:26px!important;color:#18233C!important;display:grid!important;place-items:center!important;flex:0 0 26px!important;transform:rotate(180deg)!important;opacity:1!important;}
  .mwp-ms-account-arrow svg{width:22px!important;height:22px!important;stroke-width:2.35!important;}
  .mwp-ms-account-portal-shortcut{min-height:72px!important;border-radius:22px!important;border:1px solid #DDE5EE!important;background:#fff!important;color:#18233C!important;padding:12px 14px!important;display:flex!important;align-items:center!important;gap:12px!important;direction:rtl!important;margin:8px 0 10px!important;box-shadow:none!important;}
  .mwp-ms-account-portal-shortcut span{width:46px!important;height:46px!important;border-radius:16px!important;background:#EAF8F7!important;color:#169B97!important;display:grid!important;place-items:center!important;flex:0 0 46px!important;}
  .mwp-ms-account-portal-shortcut strong{display:block!important;color:#18233C!important;font-size:13.4px!important;line-height:1.2!important;font-weight:900!important;}
  .mwp-ms-account-portal-shortcut small{display:block!important;color:#7B8CA5!important;font-size:10px!important;font-weight:800!important;margin-top:3px!important;}
  .mwp-ms-account-auth-panel,.mwp-ms-account-danger{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:22px!important;padding:13px!important;box-shadow:none!important;}
  .mwp-ms-account-auth-head span{background:#F1F4F9!important;color:#18233C!important;}
  .mwp-ms-account-auth-head strong{color:#18233C!important;}
  .mwp-ms-account-auth-head small,.mwp-ms-account-danger small{color:#7B8CA5!important;}
  .mwp-ms-account-register summary{color:#169B97!important;}
  .mwp-ms-account-danger details{color:#E53935!important;}
}

/* Phase 182 — All projects screen app parity. Scoped to #/store/projects only. */
@media (max-width:820px){
  .mwp-ms-projects-page{padding:12px 12px 148px!important;background:#F5F7FA!important;}
  .mwp-ms-project-filter-card{background:#fff!important;border:1px solid #DDE5EE!important;border-radius:22px!important;padding:12px!important;box-shadow:none!important;margin:0 0 12px!important;direction:rtl!important;overflow:hidden!important;}
  .mwp-ms-project-search{height:54px!important;border:1px solid #DDE5EE!important;border-radius:18px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 12px!important;margin-bottom:10px!important;}
  .mwp-ms-project-search input{border:0!important;outline:0!important;background:transparent!important;flex:1!important;min-width:0!important;text-align:right!important;font-family:Arial!important;color:#18233C!important;font-size:13px!important;font-weight:800!important;}
  .mwp-ms-project-search input::placeholder{color:#7B8CA5!important;font-weight:700!important;}
  .mwp-ms-project-search button{width:34px!important;height:34px!important;border:0!important;background:transparent!important;color:#718096!important;display:grid!important;place-items:center!important;padding:0!important;}
  .mwp-ms-project-search button svg{width:23px!important;height:23px!important;}

  .mwp-ms-project-stats{width:100%!important;background:#FFF7D6!important;border:1px solid rgba(250,204,21,.72)!important;border-radius:18px!important;padding:10px!important;margin:0 0 12px!important;}
  .mwp-ms-project-stats h2{margin:0 0 7px!important;color:#18233C!important;font-size:12.2px!important;font-weight:900!important;line-height:1.25!important;text-align:right!important;}
  .mwp-ms-project-stat-pills{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:flex-start!important;justify-content:flex-start!important;}
  .mwp-ms-project-stat-pills span{display:inline-flex!important;align-items:center!important;gap:3px!important;max-width:100%!important;background:rgba(255,255,255,.72)!important;border:1px solid #FDE68A!important;border-radius:999px!important;padding:7px 10px!important;color:#718096!important;font-size:10.3px!important;line-height:1.2!important;font-weight:800!important;white-space:nowrap!important;}
  .mwp-ms-project-stat-pills strong{color:#E53935!important;font-weight:900!important;}

  .mwp-ms-project-choice-row{margin-top:10px!important;}
  .mwp-ms-project-choice-row h3{margin:0 0 6px!important;color:#718096!important;font-size:11.4px!important;line-height:1.2!important;font-weight:900!important;text-align:right!important;}
  .mwp-ms-project-choice-scroll{display:flex!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;padding-bottom:2px!important;direction:rtl!important;}
  .mwp-ms-project-choice-scroll::-webkit-scrollbar{display:none!important;}
  .mwp-ms-project-choice{min-height:36px!important;border-radius:16px!important;border:1px solid #DDE5EE!important;background:#F3F6FA!important;color:#18233C!important;padding:7px 13px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;font-size:12px!important;line-height:1!important;font-weight:900!important;font-family:Arial!important;box-shadow:none!important;}
  .mwp-ms-project-choice svg{width:18px!important;height:18px!important;stroke-width:2.8!important;}
  .mwp-ms-project-choice.selected{background:#EAF8F7!important;border-color:#C8EEEE!important;color:#18233C!important;}
  .mwp-ms-project-choice.selected svg{color:#364152!important;}

  .mwp-ms-project-loading{background:#fff!important;border:1px dashed #DDE5EE!important;border-radius:18px!important;padding:18px!important;text-align:center!important;color:#718096!important;font-size:12px!important;font-weight:800!important;margin:0 0 12px!important;}
  .mwp-ms-project-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start!important;}
  .mwp-ms-project-grid .mwp-ms-product{margin:0!important;border-radius:18px!important;border:1px solid #DDE5EE!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;min-width:0!important;}
  .mwp-ms-project-grid .mwp-ms-product-media{aspect-ratio:1/1.03!important;border-radius:18px 18px 0 0!important;background:#F1F4F9!important;}
  .mwp-ms-project-grid .mwp-ms-product-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .mwp-ms-project-grid .mwp-ms-project-image-placeholder{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;color:#718096!important;background:#F1F4F9!important;}
  .mwp-ms-project-grid .mwp-ms-project-image-placeholder svg{width:26px!important;height:26px!important;}
  .mwp-ms-project-grid .mwp-ms-overlay-chip{height:28px!important;border-radius:999px!important;padding:5px 9px!important;color:#fff!important;font-size:9.6px!important;font-weight:900!important;gap:4px!important;line-height:1!important;box-shadow:none!important;}
  .mwp-ms-project-grid .mwp-ms-overlay-chip svg{width:11px!important;height:11px!important;}
  .mwp-ms-project-grid .mwp-ms-overlay-chip.region{top:9px!important;right:9px!important;left:auto!important;background:#169B97!important;max-width:calc(100% - 58px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .mwp-ms-project-grid .mwp-ms-overlay-chip.age{top:9px!important;left:9px!important;right:auto!important;background:#EF4444!important;}
  .mwp-ms-project-grid .mwp-ms-overlay-chip.type{bottom:9px!important;right:9px!important;left:auto!important;background:#4338CA!important;}
  .mwp-ms-project-grid .mwp-ms-product-body{padding:10px!important;display:flex!important;flex-direction:column!important;min-height:202px!important;}
  .mwp-ms-project-grid .mwp-ms-product h3{font-size:14.4px!important;line-height:1.34!important;color:#18233C!important;font-weight:900!important;letter-spacing:-.08px!important;min-height:38px!important;margin:0!important;-webkit-line-clamp:2!important;}
  .mwp-ms-project-grid .mwp-ms-product p{margin:5px 0 0!important;color:#718096!important;font-size:11.2px!important;line-height:1.45!important;font-weight:700!important;-webkit-line-clamp:2!important;min-height:31px!important;}
  .mwp-ms-project-grid .mwp-ms-metrics{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:9px 0 0!important;}
  .mwp-ms-project-grid .mwp-ms-metric{min-height:48px!important;border-radius:12px!important;padding:6px!important;border:1px solid #DDE5EE!important;background:#F7FAFC!important;}
  .mwp-ms-project-grid .mwp-ms-metric.expire{background:#FDEEEE!important;border-color:#F8CACA!important;}
  .mwp-ms-project-grid .mwp-ms-metric.remain{background:#EAF8F7!important;border-color:#C8EEEE!important;}
  .mwp-ms-project-grid .mwp-ms-metric small{font-size:9.2px!important;font-weight:900!important;line-height:1.1!important;color:inherit!important;display:flex!important;align-items:center!important;gap:3px!important;}
  .mwp-ms-project-grid .mwp-ms-metric.expire small{color:#E53935!important;}
  .mwp-ms-project-grid .mwp-ms-metric.remain small{color:#169B97!important;}
  .mwp-ms-project-grid .mwp-ms-metric svg{width:11px!important;height:11px!important;}
  .mwp-ms-project-grid .mwp-ms-metric strong{display:block!important;margin-top:3px!important;color:#18233C!important;font-size:11.4px!important;font-weight:900!important;line-height:1.1!important;}
  .mwp-ms-project-grid .mwp-ms-btn{min-height:38px!important;border-radius:13px!important;padding:8px 6px!important;font-size:11px!important;font-weight:900!important;margin-top:8px!important;line-height:1!important;}
  .mwp-ms-project-grid .mwp-ms-btn.secondary{background:#fff!important;color:#18233C!important;border:1px solid #DDE5EE!important;}
  .mwp-ms-project-grid .mwp-ms-btn:not(.secondary){background:#169B97!important;color:#fff!important;border:0!important;}
  .mwp-ms-project-grid .mwp-ms-btn svg{width:15px!important;height:15px!important;}
  .mwp-ms-load-more{margin-top:12px!important;background:#fff!important;color:#18233C!important;border:1px solid #DDE5EE!important;}
}


/* Phase 182B — iOS Safari input zoom guard / app-like keyboard behavior */
@media (max-width:820px){
  html,
  body,
  .mwp-mobile-v2,
  body.mwp-mobile-store-v2-active{
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
    touch-action:manipulation;
    overscroll-behavior-y:contain;
  }
  .mwp-mobile-v2 input,
  .mwp-mobile-v2 textarea,
  .mwp-mobile-v2 select,
  .mwp-mobile-v2 .mwp-ms-input,
  body.mwp-mobile-store-v2-active input,
  body.mwp-mobile-store-v2-active textarea,
  body.mwp-mobile-store-v2-active select,
  body.mwp-mobile-store-v2-active .mwp-ms-input{
    font-size:16px!important;
    line-height:1.35!important;
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
    transform:translateZ(0);
  }
  .mwp-mobile-v2 input::placeholder,
  .mwp-mobile-v2 textarea::placeholder,
  body.mwp-mobile-store-v2-active input::placeholder,
  body.mwp-mobile-store-v2-active textarea::placeholder{
    font-size:16px!important;
    line-height:1.35!important;
  }
  .mwp-mobile-v2 select,
  body.mwp-mobile-store-v2-active select{
    min-height:44px!important;
  }
  body.mwp-ios-keyboard-active .mwp-ms-bottom{
    transform:translateY(125%)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .18s ease, opacity .18s ease!important;
  }
  body.mwp-ios-keyboard-active .mwp-ms-page{
    scroll-padding-bottom:24px!important;
    padding-bottom:24px!important;
  }
}

/* Phase 183 — Secondary store screens visual parity QA
 * Scope: notifications, wallet, purchased projects, orders, contact. Home/categories/projects/product/account remain untouched.
 */
@media (max-width:820px){
  .mwp-ms-notifications-page,
  .mwp-ms-wallet-page,
  .mwp-ms-my-projects-page,
  .mwp-ms-orders-page,
  .mwp-ms-contact-page{
    padding:12px 12px calc(156px + env(safe-area-inset-bottom,0px))!important;
    background:#F5F6F7!important;
  }
  .mwp-ms-screen-card{
    background:#fff!important;
    border:1px solid #DDE5EE!important;
    border-radius:22px!important;
    padding:12px!important;
    box-shadow:none!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
  }
  .mwp-ms-screen-card>h2,
  .mwp-ms-screen-head h2,
  .mwp-ms-notifications-shell h2{
    margin:0!important;
    color:#18233C!important;
    font-size:16px!important;
    line-height:1.25!important;
    font-weight:900!important;
    text-align:right!important;
  }
  .mwp-ms-screen-card>p,
  .mwp-ms-screen-head p,
  .mwp-ms-notifications-shell p{
    margin:7px 0 12px!important;
    color:#718096!important;
    font-size:11.5px!important;
    line-height:1.65!important;
    font-weight:700!important;
    text-align:right!important;
  }
  .mwp-ms-screen-head{margin:0 0 10px!important;text-align:right!important;}
  .mwp-ms-card-list{display:flex!important;flex-direction:column!important;gap:8px!important;}

  /* Remove accidental full-teal pressed/focus cards in Safari while preserving links. */
  .mwp-ms-list-item,
  .mwp-ms-list-item:focus,
  .mwp-ms-list-item:active,
  .mwp-ms-list-item:visited{
    -webkit-tap-highlight-color:transparent!important;
    outline:0!important;
    width:100%!important;
    min-height:72px!important;
    border:1px solid #DDE5EE!important;
    background:#fff!important;
    color:#18233C!important;
    border-radius:18px!important;
    padding:10px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    text-align:right!important;
    direction:rtl!important;
    box-shadow:none!important;
  }
  .mwp-ms-list-icon{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:15px!important;
    background:#F1F4F9!important;
    color:#18233C!important;
    display:grid!important;
    place-items:center!important;
    position:relative!important;
  }
  .mwp-ms-list-icon svg{width:22px!important;height:22px!important;stroke-width:2.25!important;}
  .mwp-ms-list-copy{flex:1!important;min-width:0!important;text-align:right!important;}
  .mwp-ms-list-copy strong{
    display:block!important;
    color:#18233C!important;
    font-size:13.6px!important;
    line-height:1.3!important;
    font-weight:900!important;
    white-space:normal!important;
  }
  .mwp-ms-list-copy small,
  .mwp-ms-list-copy em{
    display:block!important;
    margin-top:3px!important;
    color:#718096!important;
    font-size:10.8px!important;
    line-height:1.45!important;
    font-weight:800!important;
    font-style:normal!important;
  }
  .mwp-ms-chevron{width:24px!important;height:24px!important;color:#18233C!important;display:grid!important;place-items:center!important;flex:0 0 24px!important;transform:rotate(180deg)!important;}
  .mwp-ms-chevron svg{width:22px!important;height:22px!important;stroke-width:2.4!important;}

  /* Notifications: Flutter-like white cards, soft icons, red unread dot on the icon only. */
  .mwp-ms-notification-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:8px 0 12px!important;}
  .mwp-ms-notification-actions .mwp-ms-btn{margin:0!important;min-height:42px!important;}
  .mwp-ms-notification-item{position:relative!important;align-items:flex-start!important;min-height:82px!important;}
  .mwp-ms-notification-item.unread,
  .mwp-ms-notification-item.unread:focus,
  .mwp-ms-notification-item.unread:active{background:#fff!important;border-color:#DDE5EE!important;}
  .mwp-ms-notification-item.unread:before{display:none!important;}
  .mwp-ms-notification-item.unread .mwp-ms-list-icon{background:#EAF8F7!important;color:#169B97!important;}
  .mwp-ms-notification-item.unread .mwp-ms-list-icon:after{content:"";position:absolute;top:-2px;inset-inline-end:-2px;width:10px;height:10px;border-radius:999px;background:#E53935;box-shadow:0 0 0 3px rgba(229,57,53,.08);}
  .mwp-ms-notification-item .mwp-ms-list-copy small{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .mwp-ms-unread-pill{margin-inline-start:auto!important;border:1px solid #CDEDEA!important;background:#EAF8F7!important;color:#169B97!important;border-radius:999px!important;padding:5px 10px!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;}

  /* Wallet: app-like white balance card instead of heavy green block. */
  .mwp-ms-wallet-balance{
    background:#fff!important;
    border:1px solid #DDE5EE!important;
    border-radius:22px!important;
    padding:12px!important;
    box-shadow:none!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin:0 0 12px!important;
    direction:rtl!important;
  }
  .mwp-ms-wallet-balance .mwp-ms-list-icon{background:#EAF8F7!important;color:#169B97!important;}
  .mwp-ms-wallet-balance small{display:block!important;color:#718096!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;}
  .mwp-ms-wallet-balance strong{display:block!important;color:#169B97!important;font-size:25px!important;font-weight:900!important;line-height:1.15!important;margin-top:3px!important;}
  .mwp-ms-wallet-balance p{margin:5px 0 0!important;color:#718096!important;font-size:11px!important;line-height:1.45!important;font-weight:700!important;}
  .mwp-ms-amount-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important;direction:rtl!important;}
  .mwp-ms-amount-grid button{
    min-height:42px!important;
    border:1px solid #DDE5EE!important;
    background:#fff!important;
    color:#18233C!important;
    border-radius:16px!important;
    font-size:12px!important;
    font-weight:900!important;
    font-family:Arial!important;
    box-shadow:none!important;
  }
  .mwp-ms-ledger-item{min-height:70px!important;}

  /* Inputs/buttons for these form-heavy screens. Keep iOS 16px to prevent Safari zoom while reducing visual heaviness. */
  .mwp-ms-wallet-page .mwp-ms-input,
  .mwp-ms-contact-page .mwp-ms-input,
  .mwp-ms-my-projects-page .mwp-ms-input{
    width:100%!important;
    min-height:50px!important;
    height:auto!important;
    border:1px solid #DDE5EE!important;
    border-radius:16px!important;
    background:#fff!important;
    padding:11px 13px!important;
    color:#18233C!important;
    font-size:16px!important;
    font-weight:800!important;
    line-height:1.35!important;
    text-align:right!important;
    margin:0 0 8px!important;
    box-shadow:none!important;
  }
  .mwp-ms-contact-page textarea.mwp-ms-input,
  .mwp-ms-my-projects-page textarea.mwp-ms-input{min-height:94px!important;resize:vertical!important;}
  .mwp-ms-btn{box-shadow:none!important;}
  .mwp-ms-btn.orange{background:#F2A33A!important;color:#18233C!important;border:0!important;}
  .mwp-ms-btn.secondary{background:#F8FAFC!important;color:#18233C!important;border:1px solid #DDE5EE!important;}

  /* Purchased projects: match Flutter card hierarchy: title row, tags, reveal/client, follow-up form. */
  .mwp-ms-owned-project-v183{
    background:#fff!important;
    border:1px solid #DDE5EE!important;
    border-radius:22px!important;
    padding:0!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
    box-shadow:none!important;
  }
  .mwp-ms-owned-media{aspect-ratio:16/8!important;background:#F1F4F9!important;overflow:hidden!important;}
  .mwp-ms-owned-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .mwp-ms-owned-body{padding:12px!important;}
  .mwp-ms-owned-title-row{display:flex!important;align-items:flex-start!important;gap:10px!important;direction:rtl!important;text-align:right!important;margin-bottom:8px!important;}
  .mwp-ms-owned-title-row h3{margin:0!important;color:#18233C!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important;}
  .mwp-ms-owned-title-row small{display:block!important;margin-top:2px!important;color:#718096!important;font-size:10.5px!important;font-weight:800!important;}
  .mwp-ms-tags{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:4px 0 10px!important;direction:rtl!important;}
  .mwp-ms-tags span{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:5px 9px!important;font-size:10.5px!important;font-weight:900!important;line-height:1!important;}
  .mwp-ms-tags .green{background:#EAF8F7!important;color:#169B97!important;}
  .mwp-ms-tags .navy{background:#F1F4F9!important;color:#18233C!important;}
  .mwp-ms-tags .orange{background:#FFF7E8!important;color:#B45309!important;}
  .mwp-ms-note.warning{background:#FFF7E8!important;border:1px solid #FBD38D!important;border-radius:16px!important;padding:10px!important;color:#92400E!important;font-size:11px!important;font-weight:800!important;line-height:1.6!important;margin:0 0 8px!important;text-align:right!important;}
  .mwp-ms-follow-block{border-top:1px solid #EDF2F7!important;margin-top:12px!important;padding-top:10px!important;}
  .mwp-ms-follow-block>strong{display:block!important;color:#18233C!important;font-size:13px!important;font-weight:900!important;line-height:1.2!important;margin:0 0 8px!important;}
  .mwp-ms-problem-details{margin-top:10px!important;background:#F8FAFC!important;border:1px solid #DDE5EE!important;border-radius:16px!important;}

  /* Orders/contact consistency. */
  .mwp-ms-order-item .mwp-ms-list-icon{background:#F1F4F9!important;color:#18233C!important;}
  .mwp-ms-contact-page .mwp-ms-card-list .mwp-ms-list-icon{background:#EAF8F7!important;color:#169B97!important;}
}

/* Phase 184 — Cart, checkout and Stripe top-up functional hardening */
@media (max-width:820px){
  .mwp-ms-cart-page .mwp-ms-screen-card,
  .mwp-ms-checkout-page .mwp-ms-screen-card{padding-bottom:18px!important;}
  .mwp-ms-cart-item{display:flex;align-items:center;gap:10px;direction:rtl;background:#fff;border:1px solid #DDE5EE;border-radius:18px;padding:10px 12px;margin-bottom:8px;min-height:74px;}
  .mwp-ms-cart-item .mwp-ms-list-copy{min-width:0;flex:1;text-align:right;}
  .mwp-ms-cart-item .mwp-ms-list-copy strong{display:block;font-size:12.8px;font-weight:900;color:#18233C;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .mwp-ms-cart-item .mwp-ms-list-copy small{display:block;margin-top:4px;font-size:10.8px;font-weight:800;color:#718096;}
  .mwp-ms-cart-actions{display:flex;gap:6px;align-items:center;flex:0 0 auto;}
  .mwp-ms-cart-actions button{height:32px;border:1px solid #DDE5EE;background:#F8FAFC;color:#18233C;border-radius:12px;padding:0 10px;font-size:11px;font-weight:900;}
  .mwp-ms-cart-actions button.delete{background:#FDEEEE;border-color:#F8CACA;color:#E53935;}
  .mwp-ms-cart-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#F8FAFC;border:1px solid #DDE5EE;border-radius:16px;padding:12px 14px;margin:12px 0;direction:rtl;}
  .mwp-ms-cart-total span{font-size:12px;font-weight:900;color:#718096;}
  .mwp-ms-cart-total strong{font-size:17px;font-weight:900;color:#18233C;}
  .mwp-ms-cart-buttons{display:grid;gap:8px;}
  .mwp-ms-btn[disabled]{opacity:.45;pointer-events:none;filter:grayscale(.15);}
  .mwp-ms-amount-grid button.selected{background:#169B97!important;color:#fff!important;border-color:#169B97!important;box-shadow:0 8px 18px rgba(22,155,151,.18)!important;}
  .mwp-ms-wallet-page .mwp-ms-screen-head p{margin:4px 0 0;color:#718096;font-size:11.4px;font-weight:800;line-height:1.55;}
}


/* Phase 185F — mobile-only strict font scope
 * Important: do not apply Arial to desktop/web portal.
 * Mobile web app only: body/sub text/buttons/cards = Arial; main page/block headings = Cairo 600.
 */
:root{
  --mwp-mobile-font-body: Arial;
  --mwp-mobile-font-title: "Cairo";
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 *{
  font-family: Arial!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 button,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 input,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 select,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 textarea,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 ::placeholder{
  font-family: Arial!important;
}
/* Mobile main headings only */
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h1,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-title h1,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-hero h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-rail-title h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-section-title h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-screen-head h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-numbers-title h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-card > h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-card > header h2{
  font-family: "Cairo"!important;
  font-weight:600!important;
}
/* Mobile secondary titles and all regular text stay Arial. */
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h3,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h4,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h5,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h6,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 p,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 small,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 span,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 b,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 strong,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product h3,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-rail-body h3,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-numbers-head h3,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-list-title,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-item-title,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-order-title,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-notification-title,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-title,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-contact-title{
  font-family: Arial!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 p,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 small,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-title small,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-hero p,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-chip,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-tag,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-rail-filter,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-quick-tile small,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-account-item-copy small,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product p{
  font-weight:500!important;
}

/* Phase 185E — Bottom tabs attached footer lock */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-mobile-v2{
    padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-page{
    padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    height:calc(74px + env(safe-area-inset-bottom,0px))!important;
    margin:0!important;
    padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px))!important;
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:8px!important;
    border-radius:18px 18px 0 0!important;
    border:1px solid #DDE5EE!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -8px 18px rgba(24,35,60,.10)!important;
    backdrop-filter:blur(12px)!important;
    z-index:80!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom button{
    min-height:56px!important;
    height:56px!important;
    border-radius:16px!important;
    background:transparent!important;
    color:#718096!important;
    font-size:10.5px!important;
    font-weight:500!important;
    gap:3px!important;
    padding:4px 2px!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom button.active{
    background:#EAF8F7!important;
    color:#169B97!important;
    outline:1px solid #BEEBE8!important;
    box-shadow:none!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom button svg{
    width:23px!important;
    height:23px!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-toast{
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  }
  body.mwp-ios-keyboard-active .mwp-ms-bottom{
    display:none!important;
  }
}


/* Phase 185G — iOS mobile Arial font size polish
 * iOS Safari does not reliably render Tahoma as a system font.
 * Mobile web app only: regular text/buttons/cards = Arial; main headings = Cairo at a non-heavy weight.
 */
:root{
  --mwp-mobile-font-body: Arial;
  --mwp-mobile-font-title: "Cairo";
}
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 *{
    font-family: Arial!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 button,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 input,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 select,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 textarea,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 ::placeholder{
    font-family: Arial!important;
  }

  /* Main headings only: Cairo, but not extra-bold. */
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h1,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-title h1,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-hero h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-rail-title h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-section-title h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-screen-head h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-numbers-title h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-card > h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-card > header h2{
    font-family: "Cairo"!important;
    font-weight:600!important;
    letter-spacing:0!important;
  }

  /* Slightly larger regular reading scale for iOS Safari. */
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2{
    font-size:15px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-title h1{
    font-size:19px!important;
    line-height:1.15!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-title small{
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:500!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-hero h2{
    font-size:16px!important;
    line-height:1.45!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-hero p{
    font-size:13px!important;
    line-height:1.75!important;
    font-weight:500!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-chip,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-tag,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pill{
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:600!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-action-tile strong,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-quick-tile strong,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-menu-card strong,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-filter-card strong,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-region-card strong,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-type-card strong{
    font-size:14.5px!important;
    line-height:1.35!important;
    font-weight:700!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-action-tile small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-quick-tile small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-menu-card small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-filter-card small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-region-card small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-type-card small{
    font-size:12px!important;
    line-height:1.45!important;
    font-weight:500!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product h3,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product-title,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-title{
    font-family: Arial!important;
    font-size:15.5px!important;
    line-height:1.42!important;
    font-weight:700!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product p,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-product small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-card p,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-list-copy small{
    font-size:12.5px!important;
    line-height:1.55!important;
    font-weight:500!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-btn,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 button{
    font-weight:700!important;
  }
}

/* Phase 186 — Contractor / Premium mobile app parity
 * Rebuilds the mobile web contractor portal shell to mirror the Flutter app screens:
 * native appbar titles, app-like cards, two-tier portal footer, opportunities, VIP, usage, and account surfaces.
 */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-actions.is-hidden{visibility:hidden;pointer-events:none;width:0;gap:0;overflow:hidden;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar .mwp-ms-title{text-align:center;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar.compact .mwp-ms-actions{display:none!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar.compact .mwp-ms-leading{min-width:84px;width:84px;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar .mwp-ms-title h1{font-size:21px!important;font-weight:700!important;letter-spacing:-.2px;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar .mwp-ms-title small{font-size:12.5px!important;font-weight:600!important;color:#718096!important;}

  body.mwp-mobile-store-v2-active .mwp-mobile-v2:has(.portal-two-tier){padding-bottom:calc(152px + env(safe-area-inset-bottom,0px))!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2:has(.portal-two-tier) .mwp-ms-page{padding:14px 12px calc(176px + env(safe-area-inset-bottom,0px))!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier{
    height:calc(146px + env(safe-area-inset-bottom,0px))!important;
    padding:7px 10px calc(8px + env(safe-area-inset-bottom,0px))!important;
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:62px 62px!important;gap:8px!important;
    border-radius:0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -6px 18px rgba(15,23,42,.10)!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-portal-bottom-row,
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-main-bottom-row{display:grid!important;gap:6px!important;align-items:stretch;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-portal-bottom-row{grid-template-columns:1fr 1fr 1fr 1.1fr 1.2fr!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-main-bottom-row{grid-template-columns:.75fr 1.45fr 1.45fr!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier.premium .mwp-ms-main-bottom-row{grid-template-columns:.68fr 1.15fr 1.15fr 1.15fr!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button{min-height:58px!important;height:58px!important;border:1px solid transparent!important;border-radius:16px!important;background:#fff!important;color:#718096!important;display:grid!important;place-items:center!important;gap:2px!important;font-size:10.5px!important;font-weight:600!important;padding:4px!important;box-shadow:none!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button svg{width:21px!important;height:21px!important;stroke:currentColor;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button.active,
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-main-bottom-row button.active{background:#EAF8F7!important;border-color:#BEEBE8!important;color:#169B97!important;outline:none!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button.return{background:#FDEEEE!important;border-color:#F8CACA!important;color:#E53935!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier.premium button.active,
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier.premium .mwp-ms-main-bottom-row button.active{background:#FDEEEE!important;border-color:#F8CACA!important;color:#E53935!important;}

  .mwp-ms-contractor-profile{min-height:96px;border-radius:22px!important;display:grid!important;grid-template-columns:64px 1fr!important;gap:13px!important;align-items:center!important;text-align:right!important;background:#fff!important;border-color:#DDE6EF!important;box-shadow:none!important;}
  .mwp-ms-contractor-profile.compact{min-height:86px;}
  .mwp-ms-profile-icon{width:64px;height:64px;border-radius:18px;background:#169B97;color:#fff;display:grid;place-items:center;}
  .mwp-ms-profile-icon svg{width:32px;height:32px;stroke:currentColor;}
  .mwp-ms-contractor-profile h2{margin:0!important;font-size:20px!important;font-weight:700!important;line-height:1.35!important;color:#16202B!important;}
  .mwp-ms-contractor-profile p{margin:2px 0 0;color:#718096;font-size:14px;font-weight:500;line-height:1.5;}
  .mwp-ms-contractor-profile small{display:block;color:#718096;font-size:13px;font-weight:500;line-height:1.45;direction:ltr;text-align:right;}
  .mwp-ms-contractor-profile b{display:block;color:#169B97;font-size:13px;font-weight:800;margin-top:2px;}

  .mwp-ms-shortcuts-card{border-radius:22px!important;padding:18px 14px!important;}
  .mwp-ms-shortcuts-card h2{font-size:22px!important;text-align:right!important;margin:0 0 14px!important;color:#16202B!important;}
  .mwp-ms-shortcut-row{position:relative;width:100%;min-height:80px!important;border:1px solid #BEEBE8!important;background:#EAF8F7!important;border-radius:20px!important;margin-bottom:10px!important;padding:12px 74px 12px 48px!important;display:grid!important;text-align:right!important;align-content:center!important;color:#169B97!important;box-shadow:none!important;}
  .mwp-ms-shortcut-row > span:first-child{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:17px;background:#fff;color:#169B97;display:grid;place-items:center;}
  .mwp-ms-shortcut-row > span:first-child svg{width:25px;height:25px;stroke:currentColor;}
  .mwp-ms-shortcut-row > svg:last-child{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#718096;}
  .mwp-ms-shortcut-row strong{display:block;font-size:18px!important;font-weight:700!important;line-height:1.35!important;color:#169B97!important;}
  .mwp-ms-shortcut-row small{display:block;font-size:13px!important;font-weight:500!important;line-height:1.45!important;color:#718096!important;}
  .mwp-ms-shortcut-row.premium{background:#FDEEEE!important;border-color:#F8CACA!important;color:#E53935!important;}
  .mwp-ms-shortcut-row.premium > span:first-child{color:#E53935;background:#fff;}
  .mwp-ms-shortcut-row.premium strong{color:#E53935!important;}

  .mwp-ms-app-entry-note{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:14px;border:1px solid #F8CACA;background:#FDEEEE;border-radius:24px;padding:16px;margin:4px 0 18px;text-align:right;}
  .mwp-ms-app-entry-note span{width:58px;height:58px;border-radius:18px;background:#E53935;color:#fff;display:grid;place-items:center;}
  .mwp-ms-app-entry-note svg{width:30px;height:30px;stroke:currentColor;}
  .mwp-ms-app-entry-note strong{display:block;color:#16202B;font-size:20px;font-weight:700;line-height:1.4;}
  .mwp-ms-app-entry-note small{display:block;color:#718096;font-size:13.5px;font-weight:500;line-height:1.5;}
  .mwp-ms-login-card.app-dark{background:linear-gradient(135deg,#111C33,#18233C)!important;border-color:#25324D!important;color:#fff!important;border-radius:24px!important;padding:24px 14px!important;box-shadow:0 14px 30px rgba(15,23,42,.12)!important;}
  .mwp-ms-login-card.app-dark h2{color:#fff!important;font-size:22px!important;margin:0 0 8px!important;}
  .mwp-ms-login-card.app-dark p{color:#B8C3D5!important;font-size:14px!important;font-weight:500!important;line-height:1.7!important;margin:0 0 14px!important;}
  .mwp-ms-segment.app{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0 14px!important;}
  .mwp-ms-segment.app button{min-height:74px!important;border-radius:18px!important;border:1px solid #40506F!important;background:#25324D!important;color:#D9E1EE!important;display:grid!important;grid-template-columns:34px 1fr!important;grid-template-areas:'ico title' 'ico sub'!important;gap:2px 8px!important;text-align:right!important;padding:10px!important;}
  .mwp-ms-segment.app button.active{background:rgba(229,57,53,.12)!important;border-color:#E53935!important;color:#E53935!important;}
  .mwp-ms-segment.app svg{grid-area:ico;width:27px!important;height:27px!important;align-self:center;}
  .mwp-ms-segment.app strong{grid-area:title;font-size:15px;line-height:1.3;}
  .mwp-ms-segment.app small{grid-area:sub;font-size:11px;color:inherit;opacity:.8;line-height:1.3;}

  .mwp-ms-contract-filter-card{border-radius:22px!important;padding:18px 14px!important;}
  .mwp-ms-contract-filter-card h2{font-size:21px!important;text-align:right!important;margin:0 0 8px!important;color:#16202B!important;}
  .mwp-ms-contract-filter-card p{margin:0 0 16px;color:#718096;font-size:14px;font-weight:500;line-height:1.7;text-align:right;}
  .mwp-ms-contract-filter-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;direction:rtl;}
  .mwp-ms-contract-filter-row button{min-height:48px;border:1px solid #DDE6EF;background:#F8FAFC;border-radius:16px;color:#16202B;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;font-weight:700;padding:8px;}
  .mwp-ms-contract-filter-row button svg{width:19px;height:19px;stroke:currentColor;}
  .mwp-ms-contract-filter-row button.active{background:#EAF8F7;border-color:#BEEBE8;color:#169B97;}

  .mwp-ms-contractor-opportunity{border-radius:22px!important;padding:10px!important;overflow:hidden;}
  .mwp-ms-contract-card-grid{display:grid;grid-template-columns:88px 1fr;gap:10px;position:relative;direction:ltr;}
  .mwp-ms-contract-card-media{width:88px;height:88px;border-radius:17px;overflow:hidden;background:#EEF2F6;border:1px solid #DDE6EF;direction:rtl;}
  .mwp-ms-contract-card-media img{width:100%;height:100%;object-fit:cover;display:block;}
  .mwp-ms-contract-card-media.fallback{display:grid;place-items:center;color:#169B97;background:#EAF8F7;}
  .mwp-ms-contract-card-media.fallback svg{width:36px;height:36px;stroke:currentColor;}
  .mwp-ms-contract-card-main{direction:rtl;text-align:right;min-width:0;padding-inline-end:42px;}
  .mwp-ms-contract-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;}
  .mwp-ms-contract-card-head small{color:#718096;font-size:13px;font-weight:700;white-space:nowrap;}
  .mwp-ms-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 12px;border-radius:999px;background:#EAF8F7;color:#169B97;border:1px solid #BEEBE8;font-size:12px;font-weight:800;white-space:nowrap;}
  .mwp-ms-status-pill.closed{background:#FDEEEE;color:#E53935;border-color:#F8CACA;}
  .mwp-ms-contractor-opportunity h3{font-size:18px!important;line-height:1.35!important;font-weight:700!important;margin:0 0 8px!important;color:#16202B!important;text-align:right!important;}
  .mwp-ms-contract-tags{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0;}
  .mwp-ms-contract-tags span{min-height:34px;display:inline-flex;align-items:center;gap:5px;border:1px solid #DDE6EF;background:#F8FAFC;color:#16202B;border-radius:999px;padding:6px 11px;font-size:12.5px;font-weight:700;line-height:1.2;}
  .mwp-ms-contract-tags svg{width:16px;height:16px;color:#718096;stroke:currentColor;}
  .mwp-ms-contractor-opportunity p{margin:8px 0 0!important;color:#718096!important;font-size:13px!important;line-height:1.55!important;font-weight:500!important;text-align:right!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .mwp-ms-contractor-opportunity .mwp-ms-star{position:absolute;left:2px;bottom:0;width:48px;height:48px;border-radius:50%;background:#F8FAFC!important;}
  .mwp-ms-contractor-opportunity .mwp-ms-star svg{width:22px;height:22px;}
  .mwp-ms-contract-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;}
  .mwp-ms-btn.whatsapp,.mwp-ms-btn.secondary,.mwp-ms-contract-actions a{min-height:48px;border-radius:17px!important;text-decoration:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;}
  .mwp-ms-btn.whatsapp{background:#169B97!important;color:#fff!important;border:1px solid #169B97!important;}
  .mwp-ms-btn.secondary{background:#fff!important;color:#18233C!important;border:1px solid #DDE6EF!important;box-shadow:none!important;}

  .mwp-ms-contractor-detail-sheet{border-radius:28px 28px 22px 22px!important;padding:12px!important;background:#F7FBFA!important;}
  .mwp-ms-detail-media{height:172px;border-radius:20px;overflow:hidden;margin-bottom:14px;border:1px solid #DDE6EF;background:#EEF2F6;}
  .mwp-ms-detail-media img{width:100%;height:100%;object-fit:cover;display:block;}
  .mwp-ms-detail-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
  .mwp-ms-detail-title-row small{font-size:15px;font-weight:700;color:#718096;}
  .mwp-ms-contractor-detail-sheet > h2{font-size:22px!important;line-height:1.4!important;text-align:right!important;margin:0 0 10px!important;color:#16202B!important;}
  .mwp-ms-detail-desc{color:#718096;font-size:14px!important;line-height:1.7!important;font-weight:500!important;text-align:right!important;margin:12px 0!important;}
  .mwp-ms-detail-grid.app{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;}
  .mwp-ms-detail-grid.app span{min-height:80px;border-radius:18px;background:#fff;border:1px solid #DDE6EF;padding:12px;}
  .mwp-ms-detail-grid.app span:nth-child(3){grid-column:1 / -1;width:46%;justify-self:end;}
  .mwp-ms-detail-grid.app b{font-size:12px;color:#718096;font-weight:500;}
  .mwp-ms-customer-box.app{background:#fff!important;border:1px solid #DDE6EF!important;border-radius:20px!important;padding:16px!important;}
  .mwp-ms-customer-box.app h3{font-size:19px!important;margin:0 0 12px!important;text-align:right!important;color:#16202B!important;}
  .mwp-ms-customer-box.app p{display:grid;grid-template-columns:80px 1fr;margin:8px 0!important;gap:8px;align-items:center;}
  .mwp-ms-customer-box.app b{color:#718096;font-weight:500;}
  .mwp-ms-customer-box.app span{font-size:15px;color:#16202B;font-weight:700;direction:ltr;text-align:right;}
  .mwp-ms-follow-card{background:#fff!important;border-radius:20px!important;margin-top:12px!important;padding:14px!important;}
  .mwp-ms-follow-card h3{font-size:19px!important;margin:0 0 10px!important;color:#16202B!important;}
  .mwp-ms-status-grid.app{grid-template-columns:1fr 1fr!important;}
  .mwp-ms-status-grid.app button{font-size:13px!important;min-height:44px!important;border-radius:16px!important;background:#F8FAFC!important;}

  .mwp-ms-details-list-card{border-radius:22px!important;padding:22px!important;}
  .mwp-ms-details-list-card h2{font-size:22px!important;margin:0 0 18px!important;text-align:right!important;}
  .mwp-ms-details-list{display:grid;grid-template-columns:1.25fr 1fr;gap:13px 20px;align-items:start;}
  .mwp-ms-details-list b{color:#16202B;font-size:15.5px;font-weight:500;text-align:right;line-height:1.45;}
  .mwp-ms-details-list span{color:#16202B;font-size:16px;font-weight:700;text-align:center;line-height:1.45;word-break:break-word;}
  .mwp-ms-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
  .mwp-ms-stat-grid > div{min-height:132px;background:#fff;border:1px solid #DDE6EF;border-radius:22px;padding:16px;display:grid;grid-template-columns:60px 1fr;grid-template-areas:'ico num' 'ico lbl';align-content:center;align-items:center;box-shadow:none;}
  .mwp-ms-stat-grid > div > span{grid-area:ico;width:52px;height:52px;border-radius:17px;background:#EAF8F7;color:#169B97;display:grid;place-items:center;}
  .mwp-ms-stat-grid > div > span.red{background:#FDEEEE;color:#E53935;}
  .mwp-ms-stat-grid > div > span.orange{background:#FFF7E8;color:#F2A33A;}
  .mwp-ms-stat-grid > div > span.gray{background:#EEF2F6;color:#18233C;}
  .mwp-ms-stat-grid svg{width:25px;height:25px;stroke:currentColor;}
  .mwp-ms-stat-grid strong{grid-area:num;font-size:23px;font-weight:800;color:#16202B;line-height:1;text-align:center;}
  .mwp-ms-stat-grid small{grid-area:lbl;font-size:13.5px;font-weight:500;color:#718096;text-align:center;line-height:1.4;}

  .mwp-ms-account-hero.contractor{display:grid;grid-template-columns:74px 1fr 62px;gap:12px;align-items:center;background:#169B97!important;color:#fff!important;border:0!important;border-radius:24px!important;padding:18px!important;}
  .mwp-ms-account-hero.contractor .status{background:#fff;color:#169B97;border-radius:999px;padding:9px 16px;font-size:13px;font-weight:800;justify-self:start;}
  .mwp-ms-account-hero.contractor h2{font-size:22px!important;color:#fff!important;margin:0!important;}
  .mwp-ms-account-hero.contractor p,.mwp-ms-account-hero.contractor small{color:rgba(255,255,255,.86);font-size:15px;line-height:1.45;}
  .mwp-ms-account-hero.contractor .ico{width:62px;height:62px;border-radius:18px;background:rgba(255,255,255,.16);display:grid;place-items:center;color:#fff;}
  .mwp-ms-account-hero.contractor .ico svg{width:34px;height:34px;}
  .mwp-ms-info-stack{border-radius:22px!important;padding:18px!important;}
  .mwp-ms-info-stack h2{font-size:21px!important;margin:0 0 14px!important;text-align:right!important;}
  .mwp-ms-info-row{display:grid;grid-template-columns:48px 1fr;grid-template-areas:'ico label' 'ico value';gap:2px 12px;align-items:center;margin:12px 0;}
  .mwp-ms-info-row > span{grid-area:ico;width:44px;height:44px;border-radius:15px;background:#EAF8F7;color:#169B97;display:grid;place-items:center;}
  .mwp-ms-info-row svg{width:22px;height:22px;stroke:currentColor;}
  .mwp-ms-info-row small{grid-area:label;color:#718096;font-size:13.5px;font-weight:500;line-height:1.35;}
  .mwp-ms-info-row strong{grid-area:value;color:#16202B;font-size:16px;font-weight:700;line-height:1.4;word-break:break-word;}

  .mwp-ms-vip-intro{display:grid!important;grid-template-columns:62px 1fr!important;gap:14px!important;align-items:center!important;border-radius:22px!important;}
  .mwp-ms-vip-intro > span{width:58px;height:58px;border-radius:18px;background:#EAF8F7;color:#169B97;display:grid;place-items:center;}
  .mwp-ms-vip-intro svg{width:30px;height:30px;}
  .mwp-ms-vip-intro h2{font-size:20px!important;line-height:1.35!important;margin:0 0 6px!important;}
  .mwp-ms-vip-intro p{font-size:14px!important;color:#718096!important;line-height:1.65!important;margin:0!important;font-weight:500!important;}
  .mwp-ms-note{border-radius:18px;padding:14px 16px;margin:10px 0;border:1px solid #DDE6EF;font-size:15px;font-weight:700;line-height:1.65;color:#18233C;background:#EEF2F6;}
  .mwp-ms-note.danger{background:#FDEEEE;color:#E53935;border-color:#F8CACA;}
  .mwp-ms-note.info{background:#EEF2F6;color:#18233C;border-color:#CBD5E1;}
}
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-mobile-v2.mwp-portal-mode{padding-bottom:calc(152px + env(safe-area-inset-bottom,0px))!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2.mwp-portal-mode .mwp-ms-page{padding-bottom:calc(176px + env(safe-area-inset-bottom,0px))!important;}
}
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier.entry .mwp-ms-portal-bottom-row.login-row{grid-template-columns:1fr 1fr!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier.entry .mwp-ms-main-bottom-row.two{grid-template-columns:.85fr 1.65fr!important;}
  .mwp-ms-login-card.premium{background:linear-gradient(135deg,#111C33,#18233C)!important;border-color:#25324D!important;color:#fff!important;border-radius:24px!important;padding:24px 14px!important;box-shadow:0 14px 30px rgba(15,23,42,.12)!important;}
  .mwp-ms-login-card.premium h2{color:#fff!important;font-size:22px!important;margin:0 0 8px!important;}
  .mwp-ms-login-card.premium p,.mwp-ms-login-card.premium .mwp-ms-muted{color:#B8C3D5!important;font-size:14px!important;font-weight:500!important;line-height:1.7!important;}
  .mwp-ms-login-card.premium .mwp-ms-segment{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0 14px!important;}
  .mwp-ms-login-card.premium .mwp-ms-segment button{min-height:60px!important;border-radius:18px!important;border:1px solid #40506F!important;background:#25324D!important;color:#D9E1EE!important;}
  .mwp-ms-login-card.premium .mwp-ms-segment button.active{background:rgba(229,57,53,.12)!important;border-color:#E53935!important;color:#E53935!important;}
}


/* Phase 186B — Contractor / Premium portal RTL menu order fix
 * The portal footer is a two-tier app menu. Keep text/buttons RTL,
 * but place the menu cells in the same visual order as the Flutter app:
 * left-to-right: account, usage, VIP, opportunities, return home.
 */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier{direction:ltr!important;}
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-portal-bottom-row,
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-main-bottom-row{
    direction:ltr!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button{
    direction:rtl!important;
    text-align:center!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier button span{
    direction:rtl!important;
    unicode-bidi:plaintext!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-portal-bottom-row.login-row{
    grid-template-columns:1fr 1fr!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-bottom.portal-two-tier .mwp-ms-main-bottom-row.two{
    grid-template-columns:1fr 1fr!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar .mwp-ms-back{
    direction:rtl!important;
    flex-direction:row-reverse!important;
    gap:5px!important;
    color:#E53935!important;
  }
  body.mwp-mobile-store-v2-active .mwp-mobile-v2 .mwp-ms-portal-appbar .mwp-ms-title{
    direction:rtl!important;
  }
}


/* Phase 193 — Product detail CTA spacing polish */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 main.mwp-ms-page > article.mwp-ms-product > .mwp-ms-product-body > .mwp-ms-tags{
    margin:8px 0 14px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 main.mwp-ms-page > article.mwp-ms-product > .mwp-ms-product-body > .mwp-ms-metrics{
    margin:12px 0 0!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 main.mwp-ms-page > article.mwp-ms-product > .mwp-ms-product-body > .mwp-ms-metrics + .mwp-ms-btn{
    margin-top:14px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 main.mwp-ms-page > .mwp-ms-btn.red[data-wallet-buy]{
    margin-top:12px!important;
  }
}


/* Phase 194 — Pricing and registration screen fixes */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-hero,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-hero{
    display:flex!important;gap:14px!important;align-items:flex-start!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-hero h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-hero h2{
    margin:0 0 6px!important;color:#18233C!important;font-size:22px!important;font-weight:900!important;line-height:1.25!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-hero p,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-hero p{
    margin:0!important;color:#718096!important;font-size:14px!important;line-height:1.75!important;font-weight:600!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-grid{
    display:grid!important;gap:14px!important;margin:14px 0!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card{
    background:#fff!important;border:1px solid #DDE6EF!important;border-radius:24px!important;padding:18px!important;box-shadow:0 8px 24px rgba(24,35,60,.06)!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card.orange{border-color:#F7D89A!important;background:linear-gradient(180deg,#FFF8EA 0%,#fff 42%)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card.green{border-color:#BFEDEA!important;background:linear-gradient(180deg,#EAF8F7 0%,#fff 42%)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card.premium{border-color:#D8C8FF!important;background:linear-gradient(180deg,#F3EEFF 0%,#fff 42%)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card.premium .mwp-ms-plan-head span{background:#18233C!important;color:#fff!important;border-color:#18233C!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-head span{
    display:inline-flex!important;border-radius:999px!important;background:#fff!important;border:1px solid #DDE6EF!important;padding:6px 10px!important;color:#718096!important;font-size:11px!important;font-weight:900!important;margin-bottom:10px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-head h3{margin:0!important;font-size:20px!important;font-weight:900!important;color:#18233C!important;line-height:1.35!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-head strong{display:block!important;margin-top:8px!important;font-size:25px!important;font-weight:900!important;color:#18233C!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-head small{display:block!important;margin-top:4px!important;color:#718096!important;font-size:13px!important;font-weight:700!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-quota{margin:14px 0!important;padding:12px!important;background:#F7FAFC!important;border:1px solid #E2E8EE!important;border-radius:18px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-quota b{display:block!important;color:#18233C!important;font-size:15px!important;font-weight:900!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-quota small{display:block!important;margin-top:4px!important;color:#718096!important;font-size:12px!important;font-weight:700!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card ul{list-style:none!important;padding:0!important;margin:0 0 14px!important;display:grid!important;gap:8px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card li{display:flex!important;align-items:flex-start!important;gap:8px!important;color:#18233C!important;font-size:13.5px!important;font-weight:700!important;line-height:1.55!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-card li svg{width:16px!important;height:16px!important;color:#169B97!important;flex:0 0 auto!important;margin-top:2px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-help h3,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-steps h3{font-size:18px!important;margin:0 0 10px!important;color:#18233C!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-options{display:grid!important;gap:10px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-options a{text-decoration:none!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-steps{display:grid!important;gap:10px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-steps div{display:flex!important;gap:10px!important;align-items:flex-start!important;background:#F7FAFC!important;border:1px solid #E2E8EE!important;border-radius:16px!important;padding:10px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-steps b{width:28px!important;height:28px!important;border-radius:50%!important;background:#169B97!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-register-steps span{font-size:13px!important;color:#18233C!important;font-weight:700!important;line-height:1.6!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-file-picker{display:grid!important;gap:8px!important;border:1px solid #DDE6EF!important;border-radius:18px!important;background:#fff!important;padding:10px!important;margin:10px 0!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-file-picker input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-file-picker label{min-height:48px!important;border-radius:15px!important;background:#F7FAFC!important;border:1px dashed #C8D5E2!important;color:#18233C!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:14px!important;font-weight:900!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-file-picker span{text-align:center!important;color:#718096!important;font-size:12px!important;font-weight:700!important;}
}


/* Phase 195 — Contractor registration wizard + home subscriptions strip */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip{
    margin:12px 0 14px!important;
    border-radius:22px!important;
    padding:16px!important;
    background:linear-gradient(135deg,#6B7280 0%,#4B5563 100%)!important;
    border:1px solid rgba(255,255,255,.16)!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    text-align:right!important;
    direction:rtl!important;
    box-shadow:0 14px 32px rgba(31,41,55,.18)!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip small,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip p{
    color:#fff!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip small{
    display:block!important;font-size:11px!important;font-weight:900!important;opacity:.86!important;margin-bottom:4px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip h2{
    margin:0!important;font-size:16px!important;line-height:1.35!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip p{
    margin:5px 0 0!important;font-size:11.5px!important;line-height:1.5!important;font-weight:700!important;opacity:.82!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-action{
    flex:0 0 auto!important;
    min-width:96px!important;
    border-radius:16px!important;
    padding:10px 12px!important;
    background:rgba(255,255,255,.15)!important;
    border:1px solid rgba(255,255,255,.28)!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    font-size:11.2px!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-action svg{
    width:15px!important;height:15px!important;
  }

  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-contractor-wizard-page{
    padding-bottom:160px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero{
    display:flex!important;align-items:center!important;gap:14px!important;
    border-radius:28px!important;
    padding:18px!important;
    background:linear-gradient(135deg,#18233C 0%,#263653 100%)!important;
    color:#fff!important;
    box-shadow:0 16px 38px rgba(24,35,60,.18)!important;
    text-align:right!important;
    direction:rtl!important;
    margin-bottom:12px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero-ico{
    width:62px!important;height:62px!important;border-radius:22px!important;
    background:#E53935!important;color:#fff!important;
    display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero-ico svg{
    width:30px!important;height:30px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero small{
    display:block!important;color:#D9E1EE!important;font-size:12px!important;font-weight:900!important;margin-bottom:4px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero h2{
    margin:0!important;color:#fff!important;font-size:26px!important;font-weight:900!important;line-height:1.2!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-hero p{
    margin:6px 0 0!important;color:#D9E1EE!important;font-size:12.4px!important;line-height:1.55!important;font-weight:700!important;
  }

  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps{
    display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:7px!important;margin:0 0 12px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button{
    border:1px solid #DDE6EF!important;background:#fff!important;border-radius:16px!important;padding:8px 5px!important;
    color:#718096!important;text-align:center!important;min-height:58px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button b{
    width:24px!important;height:24px!important;border-radius:999px!important;background:#F1F4F9!important;color:#718096!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;margin-bottom:4px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button span{
    display:block!important;font-size:10.2px!important;font-weight:900!important;line-height:1.1!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button.active{
    border-color:#169B97!important;background:#EAF8F7!important;color:#169B97!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button.active b,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-steps button.done b{
    background:#169B97!important;color:#fff!important;
  }

  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-current-plan{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
    border-radius:18px!important;background:#F8FAFC!important;border:1px solid #DDE6EF!important;padding:11px 13px!important;margin-bottom:12px!important;
    text-align:right!important;direction:rtl!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-current-plan span{
    color:#718096!important;font-size:11px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-current-plan strong{
    color:#18233C!important;font-size:12.2px!important;font-weight:900!important;text-align:left!important;
  }

  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-card{
    border-radius:24px!important;padding:18px!important;text-align:right!important;direction:rtl!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-grid{
    display:grid!important;gap:10px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan{
    width:100%!important;border-radius:20px!important;border:1px solid #DDE6EF!important;background:#fff!important;
    padding:14px!important;text-align:right!important;display:grid!important;gap:5px!important;color:#18233C!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan.orange{
    background:linear-gradient(180deg,#FFF8EA 0%,#fff 58%)!important;border-color:#F7D89A!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan.green{
    background:linear-gradient(180deg,#EAF8F7 0%,#fff 58%)!important;border-color:#C8EEEE!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan.premium{
    background:linear-gradient(180deg,#F3EEFF 0%,#fff 58%)!important;border-color:#D8C8FF!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan.active{
    border-color:#E53935!important;box-shadow:0 0 0 2px rgba(229,57,53,.12)!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan span{
    justify-self:start!important;border-radius:999px!important;padding:5px 9px!important;background:#18233C!important;color:#fff!important;font-size:10.2px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan strong{
    font-size:16px!important;font-weight:900!important;color:#18233C!important;line-height:1.35!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan b{
    font-size:20px!important;font-weight:900!important;color:#E53935!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan small{
    color:#718096!important;font-size:11.2px!important;line-height:1.45!important;font-weight:800!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-chip-grid{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:8px 0 14px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-chip-grid button{
    min-height:44px!important;border-radius:15px!important;border:1px solid #DDE6EF!important;background:#fff!important;color:#18233C!important;font-size:12px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-chip-grid button.active{
    background:#169B97!important;border-color:#169B97!important;color:#fff!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-review{
    display:grid!important;gap:8px!important;margin-bottom:12px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-review span{
    display:grid!important;gap:4px!important;border:1px solid #DDE6EF!important;background:#F8FAFC!important;border-radius:15px!important;padding:10px!important;color:#18233C!important;font-size:12px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-review b{
    color:#718096!important;font-size:10px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-nav{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-nav .mwp-ms-btn{
    margin:0!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-help{
    border-radius:22px!important;padding:14px!important;
  }
}

/* Phase 198 — Engine plan card official subscribe/interest flow */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px;width:100%;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions.compact{grid-template-columns:1fr 1fr;gap:7px;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions.compact .mwp-ms-btn{min-height:42px;font-size:11px;padding:9px 8px;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-subscribe{background:var(--miras-green,#1d9f96)!important;color:#fff!important;border-color:transparent!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-interest{background:#fff!important;color:var(--miras-green,#1d9f96)!important;border:1px solid rgba(29,159,150,.24)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan{display:block;text-align:inherit;border-radius:22px;padding:0;background:#fff;border:1px solid rgba(226,232,240,.96);box-shadow:0 8px 22px rgba(15,23,42,.05);overflow:hidden;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan.active{border-color:var(--miras-red,#ef3434);box-shadow:0 0 0 2px rgba(239,52,52,.08),0 10px 26px rgba(15,23,42,.08);}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-select{width:100%;display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:6px;background:transparent;border:0;padding:16px;color:#18233c;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-select span{align-self:flex-start;background:#17233f;color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-select strong{font-size:15px;font-weight:900;line-height:1.45;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-select b{font-size:20px;font-weight:950;color:var(--miras-red,#ef3434);}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan-select small{font-size:11px;color:#718096;line-height:1.6;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cw-plan .mwp-ms-plan-actions{padding:0 12px 12px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-modal{position:fixed;inset:0;z-index:999999;background:rgba(15,23,42,.58);display:flex;align-items:flex-end;justify-content:center;padding:14px 10px calc(14px + env(safe-area-inset-bottom));direction:rtl;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-box{width:min(520px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:26px 26px 20px 20px;padding:16px;box-shadow:0 -18px 70px rgba(15,23,42,.26);}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f7;padding-bottom:12px;margin-bottom:12px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-head small{display:block;color:#718096;font-weight:800;font-size:11px;margin-bottom:4px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-head h2{margin:0;color:#18233c;font-size:18px;font-weight:950;line-height:1.45;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-head p{margin:3px 0 0;color:#718096;font-size:11px;font-weight:700;line-height:1.6;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-head button{border:0;background:#f3f4f6;color:#18233c;border-radius:14px;width:38px;height:38px;font-size:24px;font-weight:900;line-height:1;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-panel{display:flex;flex-direction:column;gap:10px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-panel p{margin:0;color:#4a5568;font-size:12px;font-weight:700;line-height:1.8;text-align:right;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-msg{border-radius:14px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.7;margin-bottom:10px;text-align:right;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-msg.error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-msg.success{background:#ecfdf3;color:#067647;border:1px solid #abefc6;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contractor-card{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:12px;display:grid;grid-template-columns:1fr;gap:8px;text-align:right;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contractor-card h3{margin:0;color:#18233c;font-size:15px;font-weight:950;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contractor-card div div{background:#fff;border:1px solid #edf2f7;border-radius:12px;padding:8px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contractor-card span{display:block;color:#718096;font-size:10px;font-weight:800;margin-bottom:2px;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contractor-card strong{display:block;color:#18233c;font-size:12px;font-weight:900;word-break:break-word;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-contract-doc{border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;padding:12px;max-height:32vh;overflow:auto;font-size:11px;line-height:1.75;color:#18233c;}
  body.mwp-mobile-store-v2-active .mwp-ms-plan-flow-official{display:flex;justify-content:center;align-items:center;margin-top:12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#718096;text-decoration:none;font-size:11px;font-weight:900;min-height:40px;}
}


/* Phase 199 — Contractor register is separate from pricing/subscriptions */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-contractor-register-page{padding-top:14px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-hero{background:linear-gradient(135deg,#17233D,#253657)!important;color:#fff!important;border:0!important;box-shadow:0 18px 42px rgba(23,35,61,.18)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-hero h2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-hero p,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-hero small{color:#fff!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-card .mwp-ms-screen-head{margin-bottom:12px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-form{display:grid!important;gap:10px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-form .mwp-ms-input{min-height:52px!important;text-align:right!important;direction:rtl!important;font-weight:800!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-after{background:#F8FAFC!important;border:1px solid #DDE6F1!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-after h3{margin:0 0 8px!important;color:#17233D!important;font-size:15px!important;font-weight:900!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cr-after p{margin:0 0 12px!important;color:#66758A!important;font-size:12px!important;font-weight:700!important;line-height:1.7!important;}
}


/* Phase 200 — Customer request form save/submit QA */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-customer-request-page{
    padding-bottom:calc(178px + env(safe-area-inset-bottom,0px))!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-card{
    margin-bottom:96px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-head{
    display:flex!important;align-items:flex-start!important;gap:10px!important;margin-bottom:14px!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-head h2{
    margin:0 0 5px!important;font-size:22px!important;font-weight:900!important;color:#18233C!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-head p{
    margin:0!important;color:#718096!important;font-size:13px!important;line-height:1.8!important;font-weight:700!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-form-grid{
    display:grid!important;gap:10px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-form-grid label{
    display:grid!important;gap:5px!important;margin:0!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-form-grid label small{
    color:#718096!important;font-size:11px!important;font-weight:900!important;padding-inline-start:8px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-form-grid .wide textarea{
    min-height:118px!important;resize:vertical!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-note{
    background:#FFF8E2!important;border:1px solid #F5D46B!important;color:#8A5A00!important;border-radius:16px!important;padding:10px 12px!important;font-size:12px!important;font-weight:800!important;line-height:1.8!important;margin:12px 0!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-actions{
    display:grid!important;gap:10px!important;margin-top:12px!important;padding-bottom:34px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-actions .mwp-ms-btn{
    min-height:58px!important;border-radius:18px!important;font-size:15px!important;font-weight:900!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-success-card{
    text-align:center!important;padding:24px 16px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-success-icon{
    width:64px!important;height:64px!important;border-radius:22px!important;background:#EAF8F7!important;color:#169B97!important;display:inline-grid!important;place-items:center!important;font-size:32px!important;font-weight:900!important;margin-bottom:12px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-number{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border:1px solid #DDE6EF!important;border-radius:16px!important;padding:12px!important;margin:14px 0!important;background:#F8FAFC!important;text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-request-number strong{font-size:22px!important;color:#E53935!important;direction:ltr!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-save-map{display:grid!important;gap:8px!important;margin:12px 0!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-save-map span{display:grid!important;grid-template-columns:36px 1fr!important;gap:4px 9px!important;align-items:center!important;border:1px solid #DDE6EF!important;border-radius:16px!important;background:#F8FAFC!important;padding:10px!important;text-align:right!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-save-map svg{grid-row:1/3;width:28px!important;height:28px!important;color:#169B97!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-save-map b{font-size:13px!important;color:#18233C!important;direction:ltr!important;text-align:right!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-save-map small{font-size:11px!important;color:#718096!important;font-weight:800!important;}
}


/* Phase 201 — Mobile pricing route opens official Miras Engine plan flow */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-page{
    padding-bottom:calc(140px + env(safe-area-inset-bottom))!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
    border-radius:28px!important;padding:20px 18px!important;text-align:right!important;color:#fff!important;
    background:linear-gradient(135deg,#9E1028 0%,#B82136 48%,#78101F 100%)!important;
    box-shadow:0 16px 36px rgba(158,16,40,.18)!important;margin:0 0 12px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero small{
    display:block!important;font-size:12px!important;font-weight:900!important;opacity:.9!important;margin-bottom:5px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero h2{
    margin:0 0 6px!important;color:#fff!important;font-size:25px!important;font-weight:950!important;line-height:1.3!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero p{
    margin:0!important;color:rgba(255,255,255,.92)!important;font-size:13px!important;font-weight:800!important;line-height:1.8!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero > span{
    width:58px!important;height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    border-radius:22px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;flex:0 0 auto!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-official-hero > span svg{width:28px!important;height:28px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-sync-note{
    display:grid!important;gap:4px!important;margin-bottom:12px!important;background:#F8FAFC!important;border-color:#DDE6EF!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-sync-note b{
    font-size:13px!important;color:#18233C!important;font-weight:950!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-pricing-sync-note small{
    font-size:10.8px!important;color:#718096!important;font-weight:800!important;line-height:1.6!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions{
    grid-template-columns:1fr 1fr!important;gap:9px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions .mwp-ms-btn{
    min-height:45px!important;padding:10px 8px!important;font-size:11.5px!important;border-radius:15px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-plan-actions .mwp-ms-btn svg{
    width:16px!important;height:16px!important;margin-inline-start:4px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-home-packages-strip *{
    cursor:pointer!important;
  }
}

/* Phase 202 — Official contractor registration wizard parity */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-page{
    padding-bottom:calc(160px + env(safe-area-inset-bottom,0px))!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero{
    display:flex!important;align-items:center!important;gap:16px!important;direction:rtl!important;text-align:right!important;
    margin:16px 14px 12px!important;padding:26px 22px!important;border-radius:28px!important;
    background:linear-gradient(135deg,#18233c,#24365a)!important;color:#fff!important;box-shadow:0 16px 36px rgba(15,23,42,.16)!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero .mwp-ms-mcr-ico{
    flex:0 0 72px!important;width:72px!important;height:72px!important;border-radius:24px!important;background:#ef3535!important;color:#fff!important;display:grid!important;place-items:center!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero .mwp-ms-mcr-ico svg{width:34px!important;height:34px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero small{display:block!important;font-size:13px!important;font-weight:800!important;opacity:.9!important;margin-bottom:4px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero h2{margin:0!important;font-size:34px!important;line-height:1.1!important;font-weight:1000!important;color:#fff!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-hero p{margin:8px 0 0!important;font-size:15px!important;line-height:1.7!important;font-weight:800!important;color:rgba(255,255,255,.9)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-progress{
    margin:0 14px 12px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:12px!important;text-align:right!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-progressbar{height:10px!important;border-radius:999px!important;background:#eef2f7!important;overflow:hidden!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-progressbar span{display:block!important;height:100%!important;border-radius:999px!important;background:#18a19c!important;transition:width .22s ease!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-progress small{display:block!important;margin-top:8px!important;color:#64748b!important;font-size:12px!important;font-weight:900!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps{
    display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;margin:0 14px 14px!important;padding-bottom:4px!important;-webkit-overflow-scrolling:touch!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button{
    flex:0 0 104px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:12px 8px!important;color:#7a879b!important;font-weight:900!important;text-align:center!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button b{display:inline-grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:999px!important;background:#edf2f7!important;color:#7a879b!important;margin-bottom:5px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button span{display:block!important;font-size:11px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button.active{background:#e8fbfa!important;border-color:#1aa19c!important;color:#14918c!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button.active b{background:#1aa19c!important;color:#fff!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-steps button.done b{background:#dbeafe!important;color:#2563eb!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-card{margin:0 14px 14px!important;padding:20px!important;border-radius:26px!important;text-align:right!important;direction:rtl!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-info-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:12px 0!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-info-grid div{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:14px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-info-grid b{display:block!important;color:#18233c!important;font-size:15px!important;font-weight:1000!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-info-grid small{display:block!important;margin-top:5px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.7!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:14px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-nav .mwp-ms-btn{width:100%!important;margin:0!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-region-note{background:#f8fafc!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;padding:14px!important;margin-top:12px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-region-note b{display:block!important;color:#18233c!important;font-weight:1000!important;font-size:15px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-region-note small{display:block!important;margin-top:5px!important;color:#64748b!important;font-weight:800!important;line-height:1.8!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-chip-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:8px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-chip-grid button{border:1px solid #dbe4ee!important;background:#fff!important;color:#18233c!important;border-radius:16px!important;padding:14px 10px!important;font-weight:1000!important;font-size:14px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-chip-grid button.active{background:#e8fbfa!important;color:#12918c!important;border-color:#1aa19c!important;box-shadow:0 8px 16px rgba(26,161,156,.12)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-projects{display:grid!important;gap:10px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-project{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;padding:12px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-project b{display:block!important;color:#18233c!important;font-weight:1000!important;font-size:14px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-project small{display:block!important;margin-top:4px!important;color:#718096!important;font-size:11px!important;font-weight:800!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan-grid{display:grid!important;gap:12px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan{border:1px solid #e2e8f0!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan.active{border-color:#ef3535!important;box-shadow:0 0 0 3px rgba(239,53,53,.08)!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan>button{width:100%!important;border:0!important;background:#fff!important;text-align:right!important;padding:16px!important;display:grid!important;gap:6px!important;color:#18233c!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan>button span{justify-self:start!important;background:#18233c!important;color:#fff!important;border-radius:999px!important;padding:5px 10px!important;font-size:11px!important;font-weight:900!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan>button strong{font-size:18px!important;font-weight:1000!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan>button b{color:#ef3535!important;font-size:21px!important;font-weight:1000!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-plan>button small{color:#64748b!important;font-weight:800!important;line-height:1.6!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-file{display:block!important;border:1px dashed #cbd5e1!important;background:#f8fafc!important;border-radius:18px!important;padding:16px!important;text-align:center!important;margin:10px 0!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-file input{display:block!important;width:100%!important;margin-bottom:8px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-file span{display:block!important;font-weight:1000!important;color:#18233c!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-file small{display:block!important;color:#718096!important;font-weight:800!important;margin-top:5px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-review{display:grid!important;gap:8px!important;margin-top:12px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-review span{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:15px!important;padding:10px 12px!important;color:#64748b!important;font-weight:800!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-review b{display:block!important;color:#18233c!important;font-weight:1000!important;margin-bottom:4px!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-error{margin:0 14px 12px!important;background:#fff1f2!important;border:1px solid #fecdd3!important;color:#9f1239!important;border-radius:16px!important;padding:12px 14px!important;font-weight:900!important;text-align:right!important;}
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-ms-mcr-saved{margin:0 14px!important;border-radius:20px!important;color:#718096!important;text-align:right!important;}
}


/* Phase 203 — Cairo font standardization for mobile web app
 * Only font-family is changed. All sizes remain inherited from previous phases.
 * Icon-font classes are excluded to avoid broken glyphs.
 */
@media (max-width:820px){
  :root{--mwp-mobile-font-body:"Cairo",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--mwp-mobile-font-title:"Cairo",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;}
  body.mwp-mobile-store-v2-active,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2,
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 :where(button,input,select,textarea),
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 *:not(svg):not(path):not([class^="dashicons"]):not([class*=" dashicons"]):not([class^="fa-"]):not([class*=" fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.material-icons){font-family:"Cairo",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}
}

/* Phase 249 — mobile received/direct purchase opportunity summary */
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-summary-v249{
  background:#FFF8DE!important;
  border:1px solid #F7D54E!important;
  border-radius:22px!important;
  padding:13px!important;
  display:grid!important;
  gap:11px!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-title>span{
  width:44px!important;
  height:44px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  color:#F59E0B!important;
  background:#FFF0C2!important;
  flex:none!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-title svg{
  width:22px!important;
  height:22px!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-title small{
  display:block!important;
  color:#DC2626!important;
  font-size:13.5px!important;
  line-height:1.3!important;
  font-weight:1000!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-title h2{
  margin:2px 0 0!important;
  color:#18233C!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:1000!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-grid span{
  background:rgba(255,255,255,.78)!important;
  border:1px solid #F7D54E!important;
  border-radius:17px!important;
  padding:10px!important;
  text-align:right!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-grid b{
  display:block!important;
  color:#718096!important;
  font-size:10.6px!important;
  line-height:1.55!important;
  font-weight:900!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-opportunity-grid strong{
  display:block!important;
  color:#E53935!important;
  font-size:21px!important;
  line-height:1.1!important;
  font-weight:1000!important;
  margin-top:4px!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-mini-subscribe-v249{
  border:0!important;
  border-radius:999px!important;
  background:#F59E0B!important;
  color:#18233C!important;
  padding:7px 12px!important;
  font-size:10.8px!important;
  font-weight:1000!important;
  white-space:nowrap!important;
}
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-cat-summary-v249 h2,
body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-stats-v249 h2{
  color:#DC2626!important;
  font-size:13.5px!important;
  font-weight:1000!important;
}

/* Phase 250 — mobile all-projects subscription CTA icon polish */
@media (max-width:820px){
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-stats-v250{
    padding:13px!important;
    border-radius:20px!important;
    background:#FFF8DE!important;
    border:1px solid #F7D54E!important;
    overflow:hidden!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-stats-v250 h2{
    font-size:18px!important;
    line-height:1.25!important;
    margin:0 0 10px!important;
    color:#DC2626!important;
    text-align:right!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-stats-v250 .mwp-ms-project-stat-pills{
    display:grid!important;
    gap:8px!important;
    margin-bottom:10px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-stats-v250 .mwp-ms-project-stat-pills span{
    width:100%!important;
    border-radius:999px!important;
    justify-content:flex-start!important;
    padding:8px 12px!important;
    background:rgba(255,255,255,.78)!important;
    border:1px solid #F5D04B!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-subscribe-v250{
    width:100%!important;
    min-height:58px!important;
    border:1px solid #F4C145!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#FFF6D7 0%,#FFE9A3 100%)!important;
    color:#18233C!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    padding:10px 12px!important;
    text-align:right!important;
    box-shadow:0 8px 18px rgba(245,158,11,.12)!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-subscribe-v250 i{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    border-radius:14px!important;
    background:#F59E0B!important;
    color:#18233C!important;
    display:grid!important;
    place-items:center!important;
    font-style:normal!important;
    font-size:20px!important;
    line-height:1!important;
    font-weight:1000!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-subscribe-v250 span{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-subscribe-v250 b{
    display:block!important;
    font-size:13.5px!important;
    line-height:1.25!important;
    font-weight:1000!important;
    color:#18233C!important;
  }
  body.mwp-mobile-store-v2-active #miras-web-portal-root.mwp-root .mwp-mobile-v2 .mwp-ms-project-subscribe-v250 small{
    display:block!important;
    font-size:11.3px!important;
    line-height:1.35!important;
    font-weight:900!important;
    color:#6B7890!important;
  }
}
