.meex-location-switcher{
  margin-left:auto;
  margin-right:12px;
  max-width:min(480px,42vw);
}
.meex-location-switcher form{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
}
.meex-location-switcher label{
  color:rgba(255,255,255,.75);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}
.meex-location-switcher select{
  min-width:220px;
  max-width:360px;
  padding:8px 32px 8px 10px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:9px;
  background:#fff;
  color:#17212b;
  font-weight:700;
}
.meex-location-missing{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:9px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.meex-mobile-location-bar{display:none}
.meex-mobile-account-bar{display:none}
.meex-core-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.meex-core-hero h1{margin:4px 0 8px}
.meex-core-hero p{margin:0;color:var(--muted);line-height:1.5}
.meex-core-eyebrow{
  display:block;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.meex-core-metrics{margin-top:0}
.meex-core-subline{
  display:block;
  margin-top:6px;
  color:var(--muted);
}
.meex-core-subline a{
  color:var(--muted);
  text-decoration:none;
}
.meex-core-subline a:hover{color:var(--blue)}
.meex-core-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
}
.meex-core-tile{
  padding:16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f8fafc;
}
.meex-core-tile strong,.meex-core-tile span{display:block}
.meex-core-tile span{margin-top:6px;color:var(--muted)}
.meex-active-location-card{
  border-left:6px solid var(--blue);
  margin-bottom:18px;
}
.meex-active-location-card>span{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.meex-active-location-card h2{margin:7px 0}
.meex-active-location-card p{margin:0;color:var(--muted)}
@media(max-width:900px){
  .meex-location-switcher{max-width:46vw}
  .meex-location-switcher label{display:none}
  .meex-location-switcher select{min-width:170px;max-width:270px}
}
@media(max-width:680px){
  header .meex-location-switcher{display:none!important}
  .meex-mobile-location-bar{
    position:sticky;
    top:112px;
    z-index:1350;
    display:block;
    width:100%;
    padding:8px 10px;
    border-bottom:1px solid #bfdbfe;
    background:#eff6ff;
    box-shadow:0 4px 12px rgba(15,23,42,.08);
  }
  .meex-mobile-location-bar form{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:8px;
    margin:0;
  }
  .meex-mobile-location-bar label{
    color:#1e3a8a;
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
    white-space:nowrap;
  }
  .meex-mobile-location-bar select{
    width:100%;
    min-width:0;
    height:38px;
    padding:6px 30px 6px 10px;
    border:1px solid #60a5fa;
    border-radius:10px;
    background:#fff;
    color:#0f172a;
    font-size:12px;
    font-weight:850;
  }
  .meex-mobile-account-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    padding:8px 10px;
    border-bottom:1px solid #cbd5e1;
    background:#fff;
    box-shadow:0 4px 12px rgba(15,23,42,.06);
  }
  .meex-mobile-account-identity{
    min-width:0;
    display:flex;
    flex-direction:column;
    line-height:1.15;
  }
  .meex-mobile-account-identity small{
    color:#64748b;
    font-size:9px;
    font-weight:850;
    text-transform:uppercase;
  }
  .meex-mobile-account-identity strong{
    max-width:54vw;
    overflow:hidden;
    color:#0f172a;
    font-size:12px;
    font-weight:950;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .meex-mobile-account-identity span{
    color:#2563eb;
    font-size:9px;
    font-weight:850;
  }
  .meex-mobile-account-bar form{margin:0}
  .meex-mobile-account-bar button,
  .meex-mobile-account-bar>a{
    flex:0 0 auto;
    min-height:38px;
    margin:0;
    padding:8px 11px;
    border:1px solid #dc2626;
    border-radius:11px;
    background:#dc2626;
    color:#fff;
    font-size:10px;
    font-weight:950;
    text-decoration:none;
    white-space:nowrap;
  }
  .meex-mobile-account-bar>a{
    border-color:#2563eb;
    background:#2563eb;
    display:inline-flex;
    align-items:center;
  }
  .meex-location-switcher{
    max-width:55vw;
    margin-right:4px;
  }
  .meex-location-switcher select{
    min-width:0;
    width:100%;
    max-width:100%;
    font-size:12px;
  }
  .meex-core-hero{flex-direction:column}
}

.meex-onboarding-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}
.meex-onboarding-steps>div{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted)}
.meex-onboarding-steps strong{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8eef7;color:var(--blue)}
.meex-onboarding-steps .active{border-color:#8eb7ed;background:#eef6ff;color:var(--ink)}
.meex-upload-card{max-width:820px}
.meex-form-stack{display:grid;gap:16px}
.meex-form-stack .field{display:grid;gap:7px}
.meex-form-stack label{font-weight:800}
.meex-form-stack input[type="text"],.meex-form-stack input[type="file"]{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.checkbox-field{grid-template-columns:auto 1fr;align-items:start}
.checkbox-field input{margin-top:4px}
.meex-note{padding:13px 15px;border-radius:10px;margin:16px 0 0}
.meex-note.warning{background:#fff7db;border:1px solid #ead27b}
.meex-note.error{background:#fff0f0;border:1px solid #e6a0a0}
.meex-issues.error{border-left:6px solid #c0392b}
.meex-issues.warning{border-left:6px solid #d39e00}
.meex-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.meex-preview-list>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.meex-preview-list span,.meex-preview-list strong{display:block}.meex-preview-list span{font-size:12px;color:var(--muted);text-transform:uppercase;font-weight:800}.meex-preview-list strong{margin-top:6px}
.meex-confirm-card{border:2px solid #4a90e2}
.meex-cancel-form{margin-top:12px}
.meex-result-success{border-left:6px solid #2e8b57}
.btn.danger{background:#fff0f0;border-color:#d99;color:#922}
@media(max-width:720px){.meex-onboarding-steps{grid-template-columns:1fr 1fr}.meex-preview-list{grid-template-columns:1fr}}


.meex-inline-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.meex-inline-actions form{margin:0}
.btn.danger{background:#fff;border-color:#ef4444;color:#b91c1c}
.pill.warning{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
