/* ALPLINE 4.0.56 — approved master visual correction.
   Human-readable, additive, route-safe presentation layer. */
:root{--a456-ink:#11261f;--a456-muted:#65766f;--a456-line:#e5ece8;--a456-paper:#fff;--a456-canvas:#f8faf9;--a456-green:#075445;--a456-green2:#0b8a67;--a456-gold:#d8aa32;--a456-blue:#1686ee;--a456-violet:#963be8;--a456-rose:#ee4774;--a456-shadow:0 8px 24px rgba(18,57,45,.055);--a456-max:1160px}
body.release-456{background:var(--a456-canvas)!important;color:var(--a456-ink)!important}
body.release-456 .portal-shell{grid-template-columns:210px minmax(0,1fr)!important}
body.release-456 .portal-content{padding:12px 14px 30px!important}
body.release-456 .portal-content>main,body.release-456 .portal-content>.dashboard,body.release-456 .portal-content>.network-page{width:min(100%,var(--a456-max))!important;margin-inline:auto!important}
body.release-456 .portal-topbar{min-height:54px!important;padding:6px 14px!important}
body.release-456 .portal-sidebar{font-size:11px!important}
body.release-456 .portal-nav>a,body.release-456 .portal-nav-group>summary,body.release-456 .admin-member-preview-menu button{min-height:36px!important;font-size:11px!important}
body.release-456 .portal-brand{min-height:64px!important}
body.release-456 .portal-brand img{width:34px!important;height:34px!important}
body.release-456 .portal-brand b{font-size:17px!important}

/* shared page cleanliness */
body.release-456 .control-card,body.release-456 .command-panel,body.release-456 .glass-panel,body.release-456 .team-section,body.release-456 .invite-card,body.release-456 .network-head,body.release-456 .dash-head{border:1px solid var(--a456-line)!important;background:#fff!important;border-radius:10px!important;box-shadow:var(--a456-shadow)!important}
body.release-456 .control-card,body.release-456 .command-panel,body.release-456 .glass-panel{padding:14px!important;margin:10px 0!important}
body.release-456 h1{font-size:26px!important;line-height:1.08!important}
body.release-456 h2{font-size:17px!important;line-height:1.18!important}
body.release-456 h3{font-size:14px!important}
body.release-456 p,body.release-456 label,body.release-456 input,body.release-456 select,body.release-456 textarea{font-size:11.5px!important;line-height:1.48!important}
body.release-456 table{font-size:11px!important}
body.release-456 th{font-size:9.5px!important}
body.release-456 .table-wrap{border:1px solid var(--a456-line);border-radius:9px;background:#fff}
body.release-456 .table-wrap table{min-width:720px}

/* Admin approved dashboard */
.alp456-admin-dashboard{display:block}
.alp456-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px;padding:4px 2px 10px;border-bottom:1px solid var(--a456-line)}
.alp456-page-head h1{margin:3px 0 4px!important}.alp456-page-head p{margin:0;color:var(--a456-muted)}
.alp456-kicker{margin:0!important;font-size:8.5px!important;font-weight:850;letter-spacing:.14em;color:var(--a456-green)!important}
.alp456-page-meta{text-align:right}.alp456-page-meta span{display:block;font-size:11px}.alp456-page-meta small{color:var(--a456-muted);font-size:9.5px}
.alp456-note{padding:9px 11px;margin-bottom:10px;border:1px solid #f0dfaa;border-radius:8px;background:#fffaf0;font-size:10.5px}
.alp456-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}
.alp456-kpi{position:relative;min-height:104px;padding:13px 14px;border-radius:10px;color:#fff!important;text-decoration:none;overflow:hidden;box-shadow:0 7px 18px rgba(14,52,41,.09)}
.alp456-kpi span,.alp456-kpi small{display:block;color:rgba(255,255,255,.92)}.alp456-kpi span{font-size:10px;font-weight:750}.alp456-kpi b{display:block;margin:5px 0 4px;font-size:24px;line-height:1}.alp456-kpi small{font-size:9px}.alp456-kpi i{position:absolute;right:12px;top:28px;font-style:normal;font-size:28px;opacity:.92}
.alp456-kpi.green{background:linear-gradient(135deg,#0b9c67,#067547)}.alp456-kpi.amber{background:linear-gradient(135deg,#e4aa22,#c88608)}.alp456-kpi.blue{background:linear-gradient(135deg,#1d95f3,#066fd1)}.alp456-kpi.coral{background:linear-gradient(135deg,#ef5b79,#d93760)}.alp456-kpi.teal{background:linear-gradient(135deg,#0aa18b,#08776b)}.alp456-kpi.violet{background:linear-gradient(135deg,#a143e9,#7920ce)}.alp456-kpi.rose{background:linear-gradient(135deg,#ef4c86,#cc2b66)}.alp456-kpi.indigo{background:linear-gradient(135deg,#5367f2,#3449ca)}
.alp456-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.alp456-panel{min-width:0;padding:14px;border:1px solid var(--a456-line);border-radius:10px;background:#fff;box-shadow:var(--a456-shadow)}.alp456-panel.span-2{grid-column:span 2}.alp456-panel>header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}.alp456-panel header small{display:block;font-size:8px;font-weight:850;letter-spacing:.1em;color:var(--a456-green)}.alp456-panel header h2{margin:3px 0 0!important}.alp456-panel header a{font-size:9px;color:#1677c8;text-decoration:none;font-weight:750}
.alp456-bars{height:180px;display:flex;align-items:end;gap:7px;padding-top:12px}.alp456-bars>div{flex:1;min-width:0;text-align:center}.alp456-bars b{display:block;height:16px;font-size:7px;color:var(--a456-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alp456-bars span{display:flex;align-items:end;height:125px;border-bottom:1px solid var(--a456-line);background:linear-gradient(180deg,#fff,#f9fbfa);border-radius:4px 4px 0 0}.alp456-bars i{display:block;width:72%;margin:0 auto;background:linear-gradient(180deg,#11a16c,#08734f);border-radius:4px 4px 0 0;min-height:4px}.alp456-bars small{display:block;margin-top:5px;font-size:8px}
.alp456-donut{--active:0;width:148px;height:148px;margin:8px auto 12px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#079a65 calc(var(--active)*1%),#e9efec 0);position:relative}.alp456-donut:after{content:"";position:absolute;inset:19px;background:#fff;border-radius:50%}.alp456-donut span{position:relative;z-index:1;text-align:center}.alp456-donut b{display:block;font-size:20px}.alp456-donut small{font-size:8.5px;color:var(--a456-muted)}.alp456-legend{display:flex;justify-content:center;gap:12px;font-size:9px}.alp456-legend span{display:flex;gap:5px;align-items:center}.alp456-legend i{width:7px;height:7px;border-radius:50%}.green-dot{background:#079a65}.grey-dot{background:#cdd7d2}
.alp456-mix{display:grid;gap:9px}.alp456-mix>div{display:grid;grid-template-columns:90px minmax(0,1fr) 28px;gap:7px;align-items:center;font-size:9px}.alp456-mix i{height:7px;background:#eef3f0;border-radius:20px;overflow:hidden}.alp456-mix em{display:block;height:100%;background:linear-gradient(90deg,#0a9a65,#e0a526);border-radius:20px}.alp456-mix b{text-align:right;font-size:10px}
.alp456-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.alp456-actions a{min-height:66px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--a456-ink);border:1px solid var(--a456-line);border-radius:8px;background:linear-gradient(180deg,#fff,#f8faf9)}.alp456-actions i{font-style:normal;font-size:19px}.alp456-actions span{font-size:8.5px;font-weight:750;text-align:center}.alp456-actions a:nth-child(4n+1){background:#f2fbf6}.alp456-actions a:nth-child(4n+2){background:#fff9ec}.alp456-actions a:nth-child(4n+3){background:#f1f7ff}.alp456-actions a:nth-child(4n){background:#fff1f5}
.alp456-stat-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.alp456-stat-list span{padding:10px;border:1px solid var(--a456-line);border-radius:8px;background:#fafcfa}.alp456-stat-list small{display:block;font-size:8.5px;color:var(--a456-muted)}.alp456-stat-list b{display:block;margin-top:3px;font-size:17px}.alp456-recent{margin-top:10px}.alp456-empty{color:var(--a456-muted);font-size:10px!important}

/* Member dashboard — approved compact enterprise visual */
body.release-456 .seller-command{width:min(100%,var(--a456-max));margin:auto;display:block}
body.release-456 .seller-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:10px!important;padding:15px!important;margin-bottom:9px!important;border:1px solid var(--a456-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:var(--a456-shadow)!important}
body.release-456 .seller-hero h1{margin:2px 0 4px!important;font-size:25px!important}.seller-id{border:1px solid var(--a456-line)!important;background:#fafcfa!important;border-radius:9px!important;padding:11px!important}.seller-id b{font-size:20px!important}
body.release-456 .sale-only-banner{padding:8px 11px!important;margin:8px 0!important;border-radius:8px!important;font-size:9.5px!important}
body.release-456 .seller-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.seller-kpis article{min-height:100px!important;padding:12px!important;border:1px solid var(--a456-line)!important;background:#fff!important;box-shadow:none!important}.seller-kpis article:nth-child(4n+1){background:#f1fbf6!important}.seller-kpis article:nth-child(4n+2){background:#fff8e9!important}.seller-kpis article:nth-child(4n+3){background:#f1f7ff!important}.seller-kpis article:nth-child(4n){background:#f8f1ff!important}.seller-kpis b{font-size:20px!important}.seller-kpis small{font-size:8.5px!important}.seller-kpis a,.seller-kpis span{font-size:9px!important}
body.release-456 .executive-intelligence{grid-template-columns:1fr 1fr!important;gap:9px!important}.executive-intelligence .wide{grid-column:1/-1!important}.seller-layout{gap:9px!important}.command-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}.command-grid a{min-height:70px!important;padding:8px!important;border-radius:8px!important}.command-grid b{font-size:10px!important}.command-grid small{font-size:8px!important}

/* Franchise portal: dashboard-like top, clean operational sections */
body.release-456.franchise-portal .portal-content>main{width:min(100%,var(--a456-max))!important}.franchise-console .dash-head,.franchise-command .dash-head{padding:13px 15px!important}.franchise-kpis,.franchise-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.franchise-kpis article,.franchise-stats article{min-height:94px!important;border:1px solid var(--a456-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}.franchise-console details.control-card,.franchise-command details.control-card{margin:8px 0!important}.franchise-console summary,.franchise-command summary{font-size:10px!important}

/* Genealogy — exactly the approved one-level paper-clean method */
body.release-456 .network-head{padding:11px 14px!important;margin-bottom:8px!important}.network-head h1{font-size:22px!important}.network-metrics,.invite-card,.network-report-link{display:none!important}.genealogy-command{padding:0!important;border:1px solid #e6ece9!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}.genealogy-command__head{padding:10px 12px!important;min-height:50px!important;border-bottom:1px solid var(--a456-line)!important}.genealogy-command__head h2{font-size:15px!important;margin:0!important}.genealogy-command__head>div>p:not(.eyebrow){display:none}.genealogy-command__search{max-width:340px!important}.genealogy-command__search label{font-size:7.5px!important}.genealogy-command__nav{padding:6px 12px!important;border-bottom:1px solid var(--a456-line)!important;background:#fbfcfb!important}.genealogy-command__nav a,.genealogy-command__nav span{font-size:8.5px!important}.genealogy-one-level{padding:28px 14px 14px!important;min-height:480px!important}.genealogy-sponsor{width:112px!important;min-height:156px!important;padding:8px!important;margin:0 auto!important;border:1px solid #dbe5e0!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}.genealogy-person-photo,.genealogy-person-initials{width:72px!important;height:72px!important;border-radius:7px!important}.genealogy-sponsor strong,.genealogy-direct-card strong{max-width:92px!important;margin-top:5px!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.genealogy-sponsor b,.genealogy-direct-card b{font-size:9px!important;color:#61736c!important}.genealogy-sponsor .status,.genealogy-direct-card .status{margin-top:5px!important;padding:3px 8px!important;font-size:7.5px!important}.genealogy-sponsor-line{height:44px!important;width:1px!important;background:#6c7c76!important;margin:0 auto!important}.genealogy-direct-shell{width:100%!important;min-height:235px!important;padding:20px 44px 20px!important;border:1px solid #e8eeeb!important;border-radius:8px!important;background:#fff!important}.genealogy-direct-shell:before{display:none!important}.genealogy-direct-scroll{width:100%!important;overflow-x:auto!important;padding:0 0 12px!important;scrollbar-color:#ccd6d1 #f5f7f6;scrollbar-width:thin}.genealogy-direct-track{width:max-content!important;min-width:100%!important;display:flex!important;justify-content:center!important;align-items:start!important;gap:52px!important;padding:0 22px!important}.genealogy-direct-track.is-overflowing{justify-content:flex-start!important;gap:18px!important}.genealogy-direct-card{flex:0 0 106px!important;width:106px!important;min-height:166px!important;padding:8px!important;border:1px solid #dfe7e3!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}.genealogy-direct-card:before{display:none!important}.genealogy-direct-card .genealogy-person-photo,.genealogy-direct-card .genealogy-person-initials{width:70px!important;height:70px!important;border-radius:7px!important}.genealogy-leg{display:none!important}.genealogy-summary-line{margin:10px auto 0!important;padding:6px 10px!important;background:#fafcfa!important;border:1px solid var(--a456-line)!important;border-radius:8px!important;font-size:8.5px!important}.genealogy-scroll-arrow{width:30px!important;height:30px!important;border:1px solid var(--a456-line)!important;background:#fff!important;color:#61736c!important;box-shadow:none!important}

/* Public website — screen-fit, narrower and taller as approved */
body.release-456.public-body{background:#fff!important}.public-body .alp-shell,.public-body .alp435-shell,.public-body .site-shell{width:min(calc(100% - 32px),1120px)!important;margin-inline:auto!important}.public-body .alp-public-header,.public-body .public-header,.public-body .site-header{font-size:11px!important}.public-body .alp-hero,.public-body .alp435-hero{min-height:470px!important}.public-body .alp-hero-grid,.public-body .alp435-hero-grid{grid-template-columns:1fr 1.05fr!important;gap:26px!important}.public-body .alp-hero h1,.public-body .alp435-hero h1{font-size:clamp(38px,4vw,58px)!important;line-height:1.02!important}.public-body .alp-product-grid,.public-body .alp435-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.public-body .alp-section,.public-body .alp435-section{padding-block:34px!important}.public-body .alp-story-grid,.public-body .alp-band,.public-body .alp-care-grid{gap:16px!important}.public-body .alp-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

@media(max-width:1050px){.alp456-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.alp456-dashboard-grid{grid-template-columns:1fr 1fr}.alp456-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.seller-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.release-456 .portal-shell{grid-template-columns:1fr!important}.alp456-page-head{align-items:flex-start;flex-direction:column}.alp456-page-meta{text-align:left}.alp456-dashboard-grid{grid-template-columns:1fr}.alp456-panel.span-2{grid-column:auto}.alp456-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.alp456-kpi-grid{grid-template-columns:1fr 1fr}.alp456-kpi{min-height:92px}.alp456-kpi b{font-size:20px}.seller-hero{grid-template-columns:1fr!important}.seller-kpis{grid-template-columns:1fr 1fr!important}.executive-intelligence{grid-template-columns:1fr!important}.command-grid{grid-template-columns:1fr 1fr!important}.genealogy-direct-track{gap:22px!important}.public-body .alp-hero-grid,.public-body .alp435-hero-grid{grid-template-columns:1fr!important}.public-body .alp-product-grid,.public-body .alp435-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.public-body .alp-portal-grid{grid-template-columns:1fr!important}}
@media(max-width:480px){.alp456-kpi-grid{grid-template-columns:1fr}.alp456-actions{grid-template-columns:1fr 1fr}.seller-kpis{grid-template-columns:1fr!important}.genealogy-command__head{display:block!important}.genealogy-command__search{margin-top:8px!important}.genealogy-direct-shell{padding-inline:34px!important}.public-body .alp-product-grid,.public-body .alp435-product-grid{grid-template-columns:1fr!important}}
