/* ALPLINE 4.0.85 — exact reference finishing layer
   Purpose: match the user-locked Business Command Centre reference geometry,
   density and palette without touching business calculations or permissions. */

/* ---------- global portal tokens ---------- */
body.admin-portal.release-485,
body.member-portal.release-485,
body.franchise-portal.release-485{
  --alp485-bg:#03192b;
  --alp485-bg-2:#06233a;
  --alp485-bg-3:#0a2b46;
  --alp485-side:#06182b;
  --alp485-side-2:#09243d;
  --alp485-border:#174663;
  --alp485-text:#f4fbff;
  --alp485-muted:#93b5c9;
  --alp485-gold:#f4ba28;
  --alp485-cyan:#14cbd1;
  --alp485-green:#11c28b;
  --alp485-blue:#1597e8;
  --alp485-orange:#f17a20;
  --alp485-pink:#ef3d73;
  --alp485-violet:#774ce2;
  --alp485-red:#d22f55;
  font-family:"Segoe UI",Inter,Arial,sans-serif!important;
  background:var(--alp485-bg)!important;
  color:var(--alp485-text)!important;
  font-size:12px!important;
}
body.admin-portal.release-485 *:not(svg):not(path),
body.member-portal.release-485 *:not(svg):not(path),
body.franchise-portal.release-485 *:not(svg):not(path){box-sizing:border-box}

/* ---------- exact desktop rail/header proportions ---------- */
@media(min-width:1241px){
  body.admin-portal.release-485 .portal-shell,
  body.member-portal.release-485 .portal-shell,
  body.franchise-portal.release-485 .portal-shell{grid-template-columns:260px minmax(0,1fr)!important}
  body.admin-portal.release-485 .portal-sidebar,
  body.member-portal.release-485 .portal-sidebar,
  body.franchise-portal.release-485 .portal-sidebar{width:260px!important}
}
body.admin-portal.release-485 .portal-sidebar,
body.member-portal.release-485 .portal-sidebar,
body.franchise-portal.release-485 .portal-sidebar{
  background:linear-gradient(180deg,#07192c 0%,#071f36 47%,#041727 100%)!important;
  border-right:1px solid #0f3a58!important;
  box-shadow:8px 0 26px rgba(0,0,0,.18)!important;
  padding:10px 10px 12px!important;
}
body.admin-portal.release-485 .portal-brand,
body.member-portal.release-485 .portal-brand,
body.franchise-portal.release-485 .portal-brand{
  min-height:58px!important;height:58px!important;padding:6px 8px!important;margin:0 0 8px!important;
  border-radius:8px!important;background:#071b30!important;border:1px solid #163854!important;box-shadow:none!important
}
body.admin-portal.release-485 .portal-brand img,
body.member-portal.release-485 .portal-brand img,
body.franchise-portal.release-485 .portal-brand img{width:40px!important;height:40px!important;object-fit:contain!important}
body.admin-portal.release-485 .portal-brand span b,
body.member-portal.release-485 .portal-brand span b,
body.franchise-portal.release-485 .portal-brand span b{font-family:Georgia,"Times New Roman",serif!important;font-size:22px!important;line-height:1!important;letter-spacing:1.1px!important;color:#fff!important}
body.admin-portal.release-485 .portal-brand span small,
body.member-portal.release-485 .portal-brand span small,
body.franchise-portal.release-485 .portal-brand span small{font-size:7px!important;letter-spacing:1.35px!important;color:#9fc1d4!important;margin-top:4px!important}
body.admin-portal.release-485 .live-data-badge,
body.member-portal.release-485 .live-data-badge,
body.franchise-portal.release-485 .live-data-badge{height:31px!important;min-height:31px!important;margin:0 0 7px!important;border-radius:6px!important;padding:0 9px!important;background:#092b45!important;border:1px solid #174a69!important;font-size:8px!important;letter-spacing:.6px!important;color:#d7eff8!important}
body.admin-portal.release-485 .portal-nav-label,
body.member-portal.release-485 .portal-nav-label,
body.franchise-portal.release-485 .portal-nav-label{font-size:8px!important;line-height:18px!important;margin:2px 8px!important;color:#82a9bd!important;letter-spacing:1px!important}

body.admin-portal.release-485 .portal-nav>a,
body.admin-portal.release-485 .portal-nav>button,
body.admin-portal.release-485 .portal-nav-group>summary,
body.member-portal.release-485 .portal-nav>a,
body.member-portal.release-485 .portal-nav-group>summary,
body.franchise-portal.release-485 .portal-nav>a,
body.franchise-portal.release-485 .portal-nav-group>summary{
  min-height:34px!important;height:34px!important;padding:0 9px!important;margin:1px 0!important;border-radius:6px!important;
  color:#dfeef7!important;font-size:11px!important;line-height:1.05!important;font-weight:650!important;background:transparent!important;border:1px solid transparent!important
}
body.admin-portal.release-485 .portal-nav>a i,
body.admin-portal.release-485 .portal-nav-group>summary i,
body.member-portal.release-485 .portal-nav>a i,
body.member-portal.release-485 .portal-nav-group>summary i,
body.franchise-portal.release-485 .portal-nav>a i,
body.franchise-portal.release-485 .portal-nav-group>summary i{
  width:25px!important;height:25px!important;min-width:25px!important;border-radius:6px!important;display:grid!important;place-items:center!important;
  font-size:12px!important;color:#dff7ff!important;background:#0d4f78!important
}
body.admin-portal.release-485 .portal-nav>a.active,
body.member-portal.release-485 .portal-nav>a.active,
body.franchise-portal.release-485 .portal-nav>a.active{
  background:linear-gradient(90deg,#f7c845,#e8a62a)!important;color:#071b2b!important;border-color:#f9cf59!important;box-shadow:0 4px 12px rgba(243,181,45,.18)!important
}
body.admin-portal.release-485 .portal-nav>a.active i,
body.member-portal.release-485 .portal-nav>a.active i,
body.franchise-portal.release-485 .portal-nav>a.active i{background:rgba(255,255,255,.40)!important;color:#0d3b4f!important}
body.admin-portal.release-485 .portal-nav-group[open]>summary,
body.member-portal.release-485 .portal-nav-group[open]>summary,
body.franchise-portal.release-485 .portal-nav-group[open]>summary{background:#0a2d49!important;color:#fff!important}
body.admin-portal.release-485 .portal-nav-group>a,
body.member-portal.release-485 .portal-nav-group>a,
body.franchise-portal.release-485 .portal-nav-group>a{min-height:29px!important;height:29px!important;font-size:9.6px!important;padding:0 8px 0 38px!important;margin:0!important;color:#a9c3d2!important}
body.admin-portal.release-485 .alp484-favorites{margin:7px 0 0!important;padding:7px 6px 4px!important;border-top:1px solid #123954!important}
body.admin-portal.release-485 .alp484-favorites p{font-size:7.5px!important;margin:0 0 3px!important;color:#7da4ba!important;letter-spacing:.8px!important}
body.admin-portal.release-485 .alp484-favorites a{height:28px!important;padding:0 7px!important;font-size:9.4px!important;border-radius:5px!important;color:#dceaf3!important}
body.admin-portal.release-485 .portal-public-link{height:30px!important;margin-top:6px!important;font-size:8px!important}

body.admin-portal.release-485 .portal-stage,
body.member-portal.release-485 .portal-stage,
body.franchise-portal.release-485 .portal-stage{background:var(--alp485-bg)!important;min-width:0!important}
body.admin-portal.release-485 .portal-topbar,
body.member-portal.release-485 .portal-topbar,
body.franchise-portal.release-485 .portal-topbar{
  height:62px!important;min-height:62px!important;padding:5px 9px!important;gap:8px!important;
  background:#072441!important;border-bottom:1px solid #174a6b!important;box-shadow:0 4px 18px rgba(0,0,0,.16)!important
}
body.admin-portal.release-485 .topbar-identity small{font-size:7px!important;color:#8eb3c8!important;letter-spacing:.7px!important}
body.admin-portal.release-485 .topbar-identity b{font-size:11.5px!important;color:#fff!important}
body.admin-portal.release-485 .vip-command-search{height:36px!important;max-width:430px!important;min-width:300px!important}
body.admin-portal.release-485 .alp484-clock{height:36px!important;min-width:215px!important;padding:0 9px!important;border-radius:6px!important;background:#07192c!important;border:1px solid #174765!important;color:#dff3fb!important;gap:7px!important}
body.admin-portal.release-485 .alp484-clock b{font-size:8px!important;color:#b8d1dd!important}
body.admin-portal.release-485 .alp484-clock strong{font-size:10px!important;color:#fff!important}
body.admin-portal.release-485 .alp484-clock em{font-size:7px!important;color:#35e5a8!important}
body.admin-portal.release-485 .portal-top-actions{gap:5px!important;align-items:center!important}
body.admin-portal.release-485 .portal-top-actions>a,
body.admin-portal.release-485 .portal-top-actions form button,
body.admin-portal.release-485 .portal-top-actions>details>summary{
  min-height:34px!important;height:34px!important;padding:0 9px!important;border-radius:6px!important;background:#0b3150!important;color:#f0f9fd!important;border:1px solid #1b5576!important;font-size:9px!important;font-weight:750!important
}
body.admin-portal.release-485 .portal-top-actions>a:hover,
body.admin-portal.release-485 .portal-top-actions form button:hover{background:#0d4067!important}
body.admin-portal.release-485 .portal-top-actions .alp484-visit-site{background:#0a4659!important;color:#45e2c0!important}
body.admin-portal.release-485 .portal-content{background:linear-gradient(180deg,#03192b,#041d31)!important;padding:0!important;color:#fff!important}

/* ---------- dashboard exact reference composition ---------- */
body.admin-portal.release-485 .alp484-admin-dashboard{padding:7px 8px 8px!important;background:#03192b!important;max-width:none!important;color:#fff!important}
body.admin-portal.release-485 .alp484-command-row{display:grid!important;grid-template-columns:1.02fr 1.02fr 1.08fr 1.52fr 1.45fr!important;gap:6px!important;margin:0 0 6px!important}
body.admin-portal.release-485 .alp484-command-card{height:72px!important;min-height:72px!important;border-radius:7px!important;padding:7px 8px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 5px 16px rgba(0,0,0,.15)!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important}
body.admin-portal.release-485 .alp484-command-card .icon{width:34px!important;height:34px!important;font-size:17px!important;border-radius:7px!important;background:rgba(255,255,255,.11)!important}
body.admin-portal.release-485 .alp484-command-card .content small{font-size:9px!important;font-weight:750!important;color:#fff!important;line-height:1.05!important}
body.admin-portal.release-485 .alp484-command-card .content strong{font-size:17px!important;line-height:1!important;margin-top:3px!important;color:#fff!important}
body.admin-portal.release-485 .alp484-command-card ul{font-size:6.8px!important;line-height:1.45!important;margin:2px 0 0!important;color:#f3fbff!important}
body.admin-portal.release-485 .alp484-command-card p{font-size:6.6px!important;margin:2px 0 0!important;color:#c9dfeb!important}
body.admin-portal.release-485 .mini-actions{grid-template-columns:repeat(4,1fr)!important;gap:4px!important;margin-top:5px!important}
body.admin-portal.release-485 .mini-actions a{height:36px!important;border-radius:5px!important;font-size:11px!important;gap:1px!important;color:#fff!important}
body.admin-portal.release-485 .mini-actions a span{font-size:6.3px!important;font-weight:800!important}
body.admin-portal.release-485 .report-icons{grid-template-columns:repeat(6,1fr)!important;gap:3px!important;margin-top:5px!important}
body.admin-portal.release-485 .report-icons a{height:36px!important;border-radius:5px!important;font-size:10px!important;color:#fff!important;background:rgba(255,255,255,.09)!important}
body.admin-portal.release-485 .report-icons a span{font-size:5.8px!important;margin-top:1px!important}
body.admin-portal.release-485 .alp484-command-card.alert{background:linear-gradient(135deg,#b41442,#7a1640)!important}
body.admin-portal.release-485 .alp484-command-card.approval{background:linear-gradient(135deg,#008f5f,#04634e)!important}
body.admin-portal.release-485 .alp484-command-card.performance{background:linear-gradient(135deg,#0787c8,#085a9a)!important}
body.admin-portal.release-485 .alp484-command-card.quick-create{background:linear-gradient(135deg,#0a466a,#0c3458)!important}
body.admin-portal.release-485 .alp484-command-card.top-reports{background:linear-gradient(135deg,#4c2d8f,#30255f)!important}

body.admin-portal.release-485 .alp484-hero{
  height:76px!important;min-height:76px!important;margin:0 0 6px!important;padding:7px 10px!important;border-radius:7px!important;
  grid-template-columns:48px minmax(280px,1fr) auto!important;gap:10px!important;align-items:center!important;
  background:linear-gradient(90deg,rgba(3,21,35,.98) 0%,rgba(4,33,52,.88) 43%,rgba(4,36,53,.48) 67%,rgba(3,25,40,.90) 100%),url('/assets/alpline-mountain-forest.webp') center 48%/cover no-repeat!important;
  border:1px solid #164963!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;overflow:hidden!important
}
body.admin-portal.release-485 .alp484-hero .brand-mark{width:42px!important;height:42px!important;border:1.5px solid #e8b82f!important;border-radius:6px!important;background:rgba(1,19,31,.65)!important;color:#f3c642!important;font-size:20px!important;display:grid!important;place-items:center!important;box-shadow:0 0 0 1px rgba(242,193,62,.12)!important}
body.admin-portal.release-485 .alp484-hero .hero-copy h1{font-size:25px!important;line-height:1!important;margin:0!important;color:#fff!important;font-weight:800!important;letter-spacing:-.5px!important;text-shadow:0 1px 3px rgba(0,0,0,.45)!important}
body.admin-portal.release-485 .alp484-hero .hero-copy p{font-size:9px!important;line-height:1.25!important;margin:4px 0 0!important;color:#cae1ec!important}
body.admin-portal.release-485 .hero-filters{display:flex!important;gap:4px!important;align-items:center!important;justify-content:flex-end!important;white-space:nowrap!important}
body.admin-portal.release-485 .hero-filters a{height:29px!important;padding:0 8px!important;border-radius:5px!important;font-size:6.8px!important;color:#edf8fc!important;background:#063553!important;border:1px solid #1b6589!important;display:flex!important;align-items:center!important}
body.admin-portal.release-485 .hero-filters a.full{padding:0 12px!important;background:#0b3f61!important;border-color:#2a7ca2!important}

body.admin-portal.release-485 .alp484-primary-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;margin:0 0 5px!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi{height:82px!important;min-height:82px!important;border-radius:6px!important;padding:7px 8px!important;display:grid!important;grid-template-columns:35px minmax(0,1fr)!important;gap:7px!important;align-items:center!important;color:#fff!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 4px 13px rgba(0,0,0,.13)!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi i{width:34px!important;height:34px!important;border-radius:7px!important;background:rgba(255,255,255,.11)!important;font-size:16px!important;display:grid!important;place-items:center!important;font-style:normal!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi small{font-size:7.8px!important;font-weight:800!important;color:#fff!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi strong{font-size:18px!important;line-height:1!important;margin:3px 0 1px!important;color:#fff!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi em{font-size:6.7px!important;color:#4ff0b1!important;font-style:normal!important;font-weight:800!important;margin-left:3px!important}
body.admin-portal.release-485 .alp484-primary-kpis .kpi span{font-size:6px!important;color:#d8ecf4!important;display:block!important;margin-top:2px!important}
body.admin-portal.release-485 .alp484-primary-kpis .green{background:linear-gradient(135deg,#00a76f,#0b755f)!important}
body.admin-portal.release-485 .alp484-primary-kpis .blue{background:linear-gradient(135deg,#169dec,#1275cb)!important}
body.admin-portal.release-485 .alp484-primary-kpis .orange{background:linear-gradient(135deg,#f17c22,#ca5819)!important}
body.admin-portal.release-485 .alp484-primary-kpis .violet{background:linear-gradient(135deg,#7247e5,#4f36b4)!important}
body.admin-portal.release-485 .alp484-primary-kpis .gold{background:linear-gradient(135deg,#eab118,#b77906)!important}
body.admin-portal.release-485 .alp484-primary-kpis .cyan{background:linear-gradient(135deg,#09bcc2,#068996)!important}

body.admin-portal.release-485 .alp484-secondary-kpis{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:5px!important;margin:0 0 6px!important}
body.admin-portal.release-485 .alp484-secondary-kpis .mini-kpi{height:67px!important;min-height:67px!important;border-radius:6px!important;padding:6px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:5px!important;align-items:center!important;color:#fff!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.09)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .mini-kpi i{width:29px!important;height:29px!important;border-radius:6px!important;background:rgba(255,255,255,.11)!important;display:grid!important;place-items:center!important;font-size:13px!important;font-style:normal!important}
body.admin-portal.release-485 .alp484-secondary-kpis .mini-kpi small{font-size:6.5px!important;font-weight:800!important;color:#fff!important}
body.admin-portal.release-485 .alp484-secondary-kpis .mini-kpi strong{font-size:13px!important;line-height:1!important;margin:2px 0!important;color:#fff!important}
body.admin-portal.release-485 .alp484-secondary-kpis .mini-kpi span{font-size:5.6px!important;color:#dcebf3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.admin-portal.release-485 .alp484-secondary-kpis .pink{background:linear-gradient(135deg,#df2d6c,#a82152)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .green{background:linear-gradient(135deg,#00a36f,#067c64)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .blue{background:linear-gradient(135deg,#0b98d3,#176ba7)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .rose{background:linear-gradient(135deg,#e04463,#b72a4f)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .magenta{background:linear-gradient(135deg,#e117a9,#9c1ca3)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .lavender{background:linear-gradient(135deg,#6d62d8,#5143a9)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .red{background:linear-gradient(135deg,#d93a55,#a92946)!important}
body.admin-portal.release-485 .alp484-secondary-kpis .emerald{background:linear-gradient(135deg,#0fb98e,#087761)!important}

body.admin-portal.release-485 .alp484-panel{background:#06243b!important;border:1px solid #174561!important;border-radius:6px!important;box-shadow:0 5px 16px rgba(0,0,0,.12)!important;color:#edf8fd!important;overflow:hidden!important}
body.admin-portal.release-485 .alp484-panel>header{height:33px!important;min-height:33px!important;padding:0 8px!important;border-bottom:1px solid rgba(102,181,221,.12)!important;background:rgba(4,28,46,.52)!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body.admin-portal.release-485 .alp484-panel>header h2{font-size:8.2px!important;line-height:1!important;margin:0!important;color:#dff4fb!important;font-weight:800!important}
body.admin-portal.release-485 .alp484-panel>header h2 i{color:#23d8cf!important;font-style:normal!important;margin-right:4px!important}
body.admin-portal.release-485 .alp484-panel>header a{font-size:6.3px!important;color:#66d8ff!important;font-weight:750!important}
body.admin-portal.release-485 .alp484-intelligence-grid{grid-template-columns:1.12fr 1.16fr .82fr!important;gap:6px!important;margin-bottom:6px!important}
body.admin-portal.release-485 .alp484-panel.growth,
body.admin-portal.release-485 .alp484-panel.map{height:255px!important}
body.admin-portal.release-485 .alp484-chart{top:41px!important;bottom:49px!important;left:9px!important;right:9px!important}
body.admin-portal.release-485 .alp484-chart .bar b{font-size:5.7px!important;color:#a9c7d6!important}
body.admin-portal.release-485 .alp484-chart .bar span{background:linear-gradient(180deg,#66ea92 0%,#0fd2c1 100%)!important;box-shadow:0 0 8px rgba(21,220,183,.15)!important}
body.admin-portal.release-485 .alp484-chart .alp485-member-line{position:absolute!important;inset:8px 4px 20px!important;width:calc(100% - 8px)!important;height:calc(100% - 28px)!important;pointer-events:none!important;z-index:5!important;overflow:visible!important}
body.admin-portal.release-485 .alp484-chart .alp485-member-line polyline{fill:none!important;stroke:#ff9a31!important;stroke-width:2.2!important;vector-effect:non-scaling-stroke!important;filter:drop-shadow(0 0 2px rgba(255,154,49,.35))!important}
body.admin-portal.release-485 .alp484-chart .alp485-member-line circle{fill:#ffd05c!important;stroke:#ff8b2d!important;stroke-width:1.2!important;vector-effect:non-scaling-stroke!important}
body.admin-portal.release-485 .alp485-chart-legend{position:absolute!important;right:9px!important;top:38px!important;z-index:8!important;display:flex!important;gap:8px!important;font-size:5.6px!important;color:#a9c4d3!important}
body.admin-portal.release-485 .alp485-chart-legend i{width:6px!important;height:6px!important;border-radius:50%!important;display:inline-block!important;margin-right:3px!important}.alp485-chart-legend .sales i{background:#16dcc1!important}.alp485-chart-legend .members i{background:#ff9a31!important}
body.admin-portal.release-485 .chart-summary{gap:5px!important;padding:0 8px 7px!important}
body.admin-portal.release-485 .chart-summary span{height:36px!important;border-radius:5px!important;background:#0a304c!important;border:1px solid #194e6d!important}
body.admin-portal.release-485 .chart-summary small{font-size:5.7px!important;color:#8fb1c4!important}.chart-summary b{font-size:10px!important;color:#fff!important}

/* Map: remove the light card inside the dark intelligence panel. */
body.admin-portal.release-485 .alp484-panel.map .map-wrap{background:radial-gradient(circle at 52% 46%,rgba(19,220,183,.16),transparent 50%),#041e33!important;border:0!important}
body.admin-portal.release-485 .alp484-panel.map .india-coverage,
body.admin-portal.release-485 .alp484-panel.map .alp480-india-map,
body.admin-portal.release-485 .alp484-panel.map .alp480-map-visual,
body.admin-portal.release-485 .alp484-panel.map .india-map-viewport,
body.admin-portal.release-485 .alp484-panel.map .territory-summary{background:transparent!important;border:0!important;box-shadow:none!important;color:#e8f7fb!important}
body.admin-portal.release-485 .alp484-panel.map .alp480-map-title,
body.admin-portal.release-485 .alp484-panel.map .alp480-map-totals,
body.admin-portal.release-485 .alp484-panel.map .territory-summary{display:none!important}
body.admin-portal.release-485 .alp484-panel.map .alp480-map-visual{width:100%!important;height:100%!important;padding:0!important;display:block!important}
body.admin-portal.release-485 .alp484-panel.map .india-map-viewport{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;padding:0!important}
body.admin-portal.release-485 .alp484-panel.map .india-map-svg{width:95%!important;height:96%!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 0 10px rgba(21,225,184,.18))!important}
body.admin-portal.release-485 .alp484-panel.map .india-map-svg path:first-of-type{fill:#0a6d68!important;stroke:#17c5af!important;stroke-width:2!important}
body.admin-portal.release-485 .alp484-panel.map .india-map-svg .india-islands{fill:#0a6d68!important;stroke:#17c5af!important}
body.admin-portal.release-485 .alp484-panel.map .india-marker circle{fill:#ffcc38!important;stroke:#fff3a8!important;stroke-width:1.1!important}
body.admin-portal.release-485 .alp484-panel.map .india-marker text{fill:#071b2d!important;font-size:7px!important;font-weight:900!important;text-anchor:middle!important}
body.admin-portal.release-485 .state-rank{background:#041d31!important;border-color:#174762!important}
body.admin-portal.release-485 .state-rank h3{font-size:8px!important;color:#dff6ff!important}.state-rank>div:not(.empty){font-size:6.6px!important;color:#dcecf4!important}.state-rank b{background:#0b5675!important;color:#fff!important}.state-rank em{color:#fff!important}
body.admin-portal.release-485 .map-summary span{background:#0a304c!important;border-color:#194d6c!important}.map-summary b{font-size:10px!important;color:#fff!important}.map-summary small{font-size:5.7px!important;color:#93b5c8!important}

body.admin-portal.release-485 .alp484-right-stack{height:255px!important;gap:6px!important}.member-core{grid-template-columns:100px 1fr!important}.donut{width:88px!important;height:88px!important}.donut:after{inset:13px!important;background:#06243b!important}.donut b{font-size:15px!important}.donut small{font-size:5.5px!important}.member-legend p{font-size:6px!important;margin-bottom:4px!important}.finance-grid{gap:4px!important;padding:5px!important}.finance-grid span{min-height:35px!important}.finance-grid small{font-size:5.5px!important}.finance-grid b{font-size:9px!important}.system-grid a{min-height:27px!important}.system-grid a span,.system-grid a b{font-size:5.5px!important}
body.admin-portal.release-485 .alp484-operational-row{grid-template-columns:.78fr 1.22fr!important;gap:6px!important;margin-bottom:6px!important}.alp484-operational-row .alp484-panel{height:91px!important}.order-cells,.product-cells{gap:4px!important;padding:5px!important}.order-cells a,.product-cells a{height:48px!important}.product-cells b{font-size:6.1px!important}.product-cells small{font-size:5.5px!important}
body.admin-portal.release-485 .alp484-bottom-grid{grid-template-columns:.95fr 1.15fr .92fr 1fr!important;gap:6px!important;margin-bottom:5px!important}.alp484-bottom-grid .alp484-panel{height:126px!important}.income-donut{width:86px!important;height:86px!important}.income-donut span{width:62px!important;height:62px!important}.quick-grid{gap:4px!important;padding:5px!important}.quick-grid a{height:38px!important;font-size:11px!important}.quick-grid a span{font-size:5.6px!important}.system-large a{height:35px!important}.system-large a span,.system-large a b{font-size:5.5px!important}
body.admin-portal.release-485 .alp484-foot-actions{margin-top:3px!important}.alp484-foot-actions a{height:24px!important;font-size:6.5px!important}

/* ---------- member/franchise: same design family, role-specific data ---------- */
body.member-portal.release-485 .portal-content,
body.franchise-portal.release-485 .portal-content{background:linear-gradient(180deg,#03192b,#041f35)!important;color:#f3fbff!important}
body.member-portal.release-485 .network-page,
body.member-portal.release-485 .dashboard,
body.franchise-portal.release-485 .dashboard{background:transparent!important;color:#f3fbff!important}
body.member-portal.release-485 .alp481-command,
body.franchise-portal.release-485 .alp481-command{background:#03192b!important;padding:7px!important}
body.member-portal.release-485 .network-head{background:linear-gradient(135deg,#0a2b52,#0c5a68)!important;border-radius:8px!important;color:#fff!important;box-shadow:0 6px 18px rgba(0,0,0,.16)!important}.network-head h1{font-size:27px!important;line-height:1.05!important}.network-head h1 em{color:#20d6a6!important}.network-head p{color:#d7edf4!important;font-size:9.4px!important}.network-identity{background:#075346!important;border:1px solid rgba(255,255,255,.12)!important}.network-identity small,.network-identity p{color:#d9f1ec!important}
body.member-portal.release-485 .network-metrics article{background:#082840!important;color:#fff!important;border-color:#174a68!important}.network-metrics article small{color:#8fb5c7!important}.network-metrics article span{color:#a9c6d5!important}.network-metrics article b{color:#fff!important}
body.member-portal.release-485 .genealogy-command,
body.member-portal.release-485 .team-section,
body.member-portal.release-485 .invite-card{border-radius:8px!important;box-shadow:0 5px 18px rgba(0,0,0,.14)!important}

/* Member/Franchise India maps must be dark too, while keeping their permission-scoped data. */
body.member-portal.release-485 .india-coverage,
body.franchise-portal.release-485 .india-coverage{background:#061f35!important;border:1px solid #174762!important;color:#eaf7fc!important}
body.member-portal.release-485 .india-coverage .alp480-map-visual,
body.franchise-portal.release-485 .india-coverage .alp480-map-visual,
body.member-portal.release-485 .india-coverage .territory-summary,
body.franchise-portal.release-485 .india-coverage .territory-summary{background:#06243b!important;color:#eaf7fc!important;border-color:#174762!important}
body.member-portal.release-485 .india-coverage .india-map-viewport,
body.franchise-portal.release-485 .india-coverage .india-map-viewport{background:radial-gradient(circle,rgba(20,216,183,.12),transparent 55%),#041d31!important}
body.member-portal.release-485 .india-coverage .india-map-svg path:first-of-type,
body.franchise-portal.release-485 .india-coverage .india-map-svg path:first-of-type{fill:#0b6f69!important;stroke:#18c5ae!important}
body.member-portal.release-485 .india-coverage .india-marker circle,
body.franchise-portal.release-485 .india-coverage .india-marker circle{fill:#ffcc38!important;stroke:#fff3aa!important}
body.member-portal.release-485 .india-coverage .territory-summary article,
body.franchise-portal.release-485 .india-coverage .territory-summary article{background:#082c46!important;border-color:#1a506e!important;color:#fff!important}

/* ---------- responsive preservation ---------- */
@media(max-width:1240px){
  body.admin-portal.release-485 .alp484-command-row{grid-template-columns:repeat(3,1fr)!important}
  body.admin-portal.release-485 .alp484-primary-kpis{grid-template-columns:repeat(3,1fr)!important}
  body.admin-portal.release-485 .alp484-secondary-kpis{grid-template-columns:repeat(4,1fr)!important}
  body.admin-portal.release-485 .alp484-intelligence-grid{grid-template-columns:1fr 1fr!important}
  body.admin-portal.release-485 .alp484-right-stack{grid-column:1/-1!important;grid-template-columns:repeat(3,1fr)!important;height:auto!important}
  body.admin-portal.release-485 .alp484-clock{display:none!important}
}
@media(max-width:760px){
  body.admin-portal.release-485 .portal-topbar,body.member-portal.release-485 .portal-topbar,body.franchise-portal.release-485 .portal-topbar{height:56px!important;min-height:56px!important}
  body.admin-portal.release-485 .alp484-command-row{grid-template-columns:1fr 1fr!important}
  body.admin-portal.release-485 .alp484-primary-kpis{grid-template-columns:1fr 1fr!important}
  body.admin-portal.release-485 .alp484-secondary-kpis{grid-template-columns:1fr 1fr!important}
  body.admin-portal.release-485 .alp484-intelligence-grid,body.admin-portal.release-485 .alp484-operational-row,body.admin-portal.release-485 .alp484-bottom-grid{grid-template-columns:1fr!important}
  body.admin-portal.release-485 .alp484-hero{grid-template-columns:1fr!important;height:auto!important;min-height:94px!important}
  body.admin-portal.release-485 .alp484-hero .brand-mark{display:none!important}
  body.admin-portal.release-485 .hero-filters{justify-content:flex-start!important;overflow:auto!important}
  body.admin-portal.release-485 .alp484-panel.growth,body.admin-portal.release-485 .alp484-panel.map{height:260px!important}
}
