/* ALPLINE 4.0.57 — finalisation pass 1
   Human-readable authority layer loaded after all legacy styles.
   It does not alter business logic; it normalises the approved visual system. */

:root {
    --alp457-ink: #102a2a;
    --alp457-muted: #657774;
    --alp457-deep: #064737;
    --alp457-deep-2: #03392f;
    --alp457-green: #0b9565;
    --alp457-gold: #e1ae30;
    --alp457-blue: #188be3;
    --alp457-purple: #8f35dd;
    --alp457-pink: #df3d6b;
    --alp457-teal: #118e82;
    --alp457-indigo: #4656dc;
    --alp457-paper: #ffffff;
    --alp457-canvas: #f7faf9;
    --alp457-line: #e2ebe8;
    --alp457-shadow: 0 8px 24px rgba(13, 58, 48, .06);
    --alp457-radius: 14px;
}

.release-457,
.release-457 button,
.release-457 input,
.release-457 select,
.release-457 textarea {
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

.release-457 {
    color: var(--alp457-ink);
    background: var(--alp457-canvas);
}

/* ---------------- Shared portal shell ---------------- */
.release-457.portal-body .portal-shell {
    min-height: 100vh;
    background: var(--alp457-canvas);
}

.release-457.portal-body .portal-sidebar {
    width: 246px !important;
    min-width: 246px !important;
    background: linear-gradient(180deg, #06483a 0%, #03382f 58%, #04382f 100%) !important;
    border-right: 0 !important;
    color: #fff;
    box-shadow: none !important;
}

.release-457.portal-body .portal-brand {
    min-height: 86px;
    padding: 16px 18px !important;
    gap: 11px !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
}
.release-457.portal-body .portal-brand img { width: 46px !important; height: 46px !important; object-fit: contain; }
.release-457.portal-body .portal-brand b { font-size: 21px !important; letter-spacing: .5px; color:#fff !important; }
.release-457.portal-body .portal-brand small { font-size: 9px !important; letter-spacing: .8px; color:rgba(255,255,255,.72) !important; }
.release-457.portal-body .live-data-badge {
    margin: 10px 14px 8px !important;
    padding: 9px 12px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,.04) !important;
    font-size: 9px !important;
}
.release-457.portal-body .portal-nav-label { margin: 16px 18px 7px !important; color: rgba(255,255,255,.48) !important; font-size: 9px !important; letter-spacing: 1.2px !important; }
.release-457.portal-body .portal-nav { padding: 0 10px !important; gap: 2px !important; }
.release-457.portal-body .portal-nav > a,
.release-457.portal-body .portal-nav-group > summary,
.release-457.portal-body .admin-member-preview-menu button {
    min-height: 39px !important;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    color: rgba(255,255,255,.94) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 0 !important;
    background: transparent !important;
}
.release-457.portal-body .portal-nav > a i,
.release-457.portal-body .portal-nav-group > summary i,
.release-457.portal-body .admin-member-preview-menu i { width: 22px !important; font-style: normal; opacity: .92; }
.release-457.portal-body .portal-nav > a:hover,
.release-457.portal-body .portal-nav-group > summary:hover,
.release-457.portal-body .admin-member-preview-menu button:hover { background: rgba(255,255,255,.08) !important; }
.release-457.portal-body .portal-nav > a.active {
    background: linear-gradient(135deg, #f2cc62, #e7b83c) !important;
    color: #203329 !important;
    box-shadow: none !important;
}
.release-457.portal-body .portal-nav-group[open] { background: rgba(0,0,0,.08) !important; border-radius: 10px; padding-bottom:4px; }
.release-457.portal-body .portal-nav-group > a { color:rgba(255,255,255,.74)!important; padding:7px 15px 7px 42px!important; font-size:11px!important; }
.release-457.portal-body .portal-stage { margin-left: 246px !important; width: calc(100% - 246px) !important; min-width: 0; background: var(--alp457-canvas) !important; }
.release-457.portal-body .portal-topbar {
    min-height: 68px !important;
    height: 68px !important;
    padding: 0 24px !important;
    border-bottom: 1px solid var(--alp457-line) !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: none !important;
}
.release-457.portal-body .portal-content {
    padding: 18px 22px 30px !important;
    max-width: none !important;
    background: var(--alp457-canvas) !important;
    overflow-x: hidden;
}
.release-457.portal-body .topbar-identity small { color:var(--alp457-green)!important; font-size:9px!important; letter-spacing:1px!important; }
.release-457.portal-body .topbar-identity b { color:var(--alp457-ink)!important; font-size:13px!important; }
.release-457.portal-body .portal-top-actions a,
.release-457.portal-body .portal-top-actions summary { border:1px solid var(--alp457-line)!important; background:#fff!important; border-radius:9px!important; color:var(--alp457-ink)!important; font-size:11px!important; }

/* All inner pages receive a clean paper system without changing functions. */
.release-457.portal-body .control-card,
.release-457.portal-body .glass-panel,
.release-457.portal-body .command-panel,
.release-457.portal-body details.control-card,
.release-457.portal-body .dashboard > section,
.release-457.portal-body .dashboard > article {
    border: 1px solid var(--alp457-line) !important;
    background: #fff !important;
    border-radius: var(--alp457-radius) !important;
    box-shadow: none !important;
}
.release-457.portal-body table { width:100%; border-collapse:collapse; font-size:12px; }
.release-457.portal-body th { background:#f5f8f7!important; color:#57706b!important; font-size:9px!important; letter-spacing:.55px; text-transform:uppercase; padding:10px!important; }
.release-457.portal-body td { padding:10px!important; border-bottom:1px solid #edf2f0!important; vertical-align:middle; }
.release-457.portal-body input,
.release-457.portal-body select,
.release-457.portal-body textarea { border:1px solid #dbe6e2!important; border-radius:9px!important; background:#fff!important; min-height:39px; }
.release-457.portal-body .btn { border-radius:9px!important; min-height:38px; font-weight:700!important; letter-spacing:.15px!important; }
.release-457 .flash { border-radius:10px!important; margin:12px 22px!important; }

/* ---------------- Common approved dashboard pieces ---------------- */
.alp457-kicker { margin:0 0 5px; font-size:9px; font-weight:800; letter-spacing:1.1px; color:#0a8261; }
.alp457-muted { color:var(--alp457-muted); font-size:12px; }
.alp457-paper { background:#fff; border:1px solid var(--alp457-line); border-radius:14px; box-shadow:none; padding:15px; min-width:0; }
.alp457-paper > header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.alp457-paper > header h2 { margin:1px 0 0; font-size:16px; line-height:1.2; color:var(--alp457-ink); font-weight:750; }
.alp457-paper > header a,.alp457-text-link { font-size:11px; color:#087b61; text-decoration:none; font-weight:700; white-space:nowrap; }
.alp457-status { display:inline-flex; align-items:center; border-radius:999px; padding:4px 9px; font-size:9px; font-weight:800; line-height:1; }
.alp457-status.active { color:#06764b; background:#dcf7e8; }
.alp457-status.pending { color:#9a6810; background:#fff2cf; }
.alp457-button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 18px; border-radius:10px; font-size:12px; font-weight:750; text-decoration:none; }
.alp457-button.primary { color:#fff; background:#07644d; }
.alp457-button.secondary { color:#075440; background:#fff; border:1px solid #9bc4b8; }
.alp457-kpi-grid { display:grid; gap:10px; margin:0 0 12px; }
.alp457-kpi-grid.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.alp457-kpi-grid.six { grid-template-columns:repeat(6,minmax(0,1fr)); }
.alp457-kpi-grid.eight { grid-template-columns:repeat(4,minmax(0,1fr)); }
.alp457-kpi-grid > article,
.alp457-kpi-grid > a { position:relative; min-height:94px; padding:15px 16px; border-radius:12px; color:#fff; text-decoration:none; overflow:hidden; box-shadow:none; border:0; }
.alp457-kpi-grid small { display:block; font-size:10px; opacity:.9; }
.alp457-kpi-grid strong { display:block; margin-top:6px; font-size:24px; line-height:1; color:inherit; }
.alp457-kpi-grid span { display:block; margin-top:7px; font-size:9px; opacity:.88; }
.alp457-kpi-grid i { position:absolute; right:15px; top:30px; font-size:30px; font-style:normal; opacity:.9; }
.alp457-kpi-grid .green { background:linear-gradient(135deg,#07965c,#087b54); }
.alp457-kpi-grid .gold { background:linear-gradient(135deg,#d99a09,#e9b22d); }
.alp457-kpi-grid .blue { background:linear-gradient(135deg,#168de6,#0c70d0); }
.alp457-kpi-grid .blue2 { background:linear-gradient(135deg,#1fa3e8,#1780d5); }
.alp457-kpi-grid .purple { background:linear-gradient(135deg,#8d31d8,#a63de8); }
.alp457-kpi-grid .pink { background:linear-gradient(135deg,#e53f6c,#d83166); }
.alp457-kpi-grid .teal { background:linear-gradient(135deg,#0e9a83,#087c76); }
.alp457-kpi-grid .indigo { background:linear-gradient(135deg,#4e62e5,#3e50cd); }
.alp457-action-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:9px; }
.alp457-action-grid a { min-height:70px; border-radius:11px; text-decoration:none; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:6px; color:#1e3733; border:1px solid #edf1f0; background:#f9fbfa; font-size:10px; font-weight:700; text-align:center; }
.alp457-action-grid a:nth-child(4n+1){background:#fff5df}.alp457-action-grid a:nth-child(4n+2){background:#f5eaff}.alp457-action-grid a:nth-child(4n+3){background:#e9f5ff}.alp457-action-grid a:nth-child(4n){background:#e9f8f1}
.alp457-action-grid i { font-style:normal; font-size:24px; }
.alp457-table-wrap { overflow:auto; border:1px solid #edf1f0; border-radius:10px; }

/* ---------------- Member dashboard ---------------- */
.alp457-member-dashboard { max-width:1320px; margin:0 auto; }
.alp457-member-head,.alp457-admin-head,.alp457-franchise-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:13px; }
.alp457-member-head h1,.alp457-admin-head h1,.alp457-franchise-head h1 { margin:0; font-size:25px; line-height:1.1; color:#14292a; font-weight:780; }
.alp457-member-head p:not(.alp457-kicker),.alp457-admin-head p:not(.alp457-kicker),.alp457-franchise-head p:not(.alp457-kicker){margin:5px 0 0;color:#74817f;font-size:11px;}
.alp457-member-head__meta,.alp457-admin-head__meta { display:flex; align-items:center; gap:10px; font-size:10px; color:#6d7a78; }
.alp457-alert-row,.alp457-readiness { display:flex; align-items:center; gap:12px; min-height:40px; padding:9px 12px; margin-bottom:12px; border:1px solid #e9dfba; border-radius:10px; background:#fffaf0; font-size:10px; }
.alp457-alert-row a,.alp457-readiness a{color:#08775e;text-decoration:none;font-weight:700;}
.alp457-member-overview { display:grid; grid-template-columns:1.15fr .85fr; gap:12px; margin-bottom:12px; }
.alp457-profile-card__identity { display:flex; gap:13px; align-items:center; }
.alp457-avatar { width:72px; height:72px; border-radius:14px; background:#edf7f3; border:1px solid #dce9e5; overflow:hidden; display:grid; place-items:center; font-size:22px; color:#076348; font-weight:800; flex:0 0 auto; }
.alp457-avatar img { width:100%;height:100%;object-fit:cover; }
.alp457-profile-card h2 { margin:0 0 2px; font-size:18px; }.alp457-profile-card p{margin:0 0 7px;color:#72817f;font-size:11px}
.alp457-profile-meta { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:14px 0 10px; }
.alp457-profile-meta div { padding:9px; border:1px solid #edf1f0; border-radius:9px; background:#fbfcfc; }
.alp457-profile-meta small { display:block;color:#84918e;font-size:9px}.alp457-profile-meta b{font-size:12px}
.alp457-kyc-card__placeholder{}
.alp457-kyc-body { display:grid;grid-template-columns:130px 1fr;align-items:center;gap:16px; }
.alp457-progress-ring,.alp457-donut { --value:60; width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#0a9a63 calc(var(--value)*1%),#edf2f0 0);position:relative;margin:auto; }
.alp457-progress-ring:before,.alp457-donut:before { content:"";position:absolute;inset:13px;border-radius:50%;background:#fff; }
.alp457-progress-ring span,.alp457-donut span { position:relative;z-index:1;text-align:center;display:grid; }.alp457-progress-ring b,.alp457-donut b{font-size:20px}.alp457-progress-ring small,.alp457-donut small{font-size:9px;color:#7c8a87}
.alp457-kyc-body ul { list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:11px;color:#71817e; }.alp457-kyc-body li:before{content:"○";margin-right:8px;color:#a6b2af}.alp457-kyc-body li.done:before{content:"✓";color:#0a9561;font-weight:900}
.alp457-member-charts { display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin-bottom:12px; }
.alp457-bar-chart { height:185px; display:flex; align-items:flex-end; gap:8px; padding:14px 6px 0; border-bottom:1px solid #e8efec; }
.alp457-bar-chart > div { height:100%; flex:1; min-width:14px; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:6px; }
.alp457-bar-chart span { width:min(25px,70%); max-height:145px; min-height:4px; background:#0d9562; border-radius:6px 6px 2px 2px; }.alp457-bar-chart b{font-size:8px;color:#7c8987;font-weight:600}
.alp457-income-total { border-radius:11px;background:#f3f8f6;padding:12px;margin-bottom:9px; }.alp457-income-total small{display:block;color:#788582;font-size:9px}.alp457-income-total strong{display:block;font-size:25px;margin-top:3px}
.alp457-income-lines { display:grid; gap:5px; }.alp457-income-lines div{display:flex;justify-content:space-between;gap:8px;padding:7px 2px;border-bottom:1px solid #eff3f2;font-size:10px}.alp457-income-lines b{font-size:10px}
.alp457-quick-actions { margin-bottom:12px; }
.alp457-member-bottom { display:grid;grid-template-columns:1.25fr .9fr .75fr;gap:12px;margin-bottom:12px; }
.alp457-dashboard-products { display:grid;grid-template-columns:repeat(4,1fr);gap:8px; }.alp457-dashboard-products article{border:1px solid #edf1f0;border-radius:10px;padding:9px;text-align:center;min-width:0}.alp457-dashboard-products img,.alp457-product-fallback{width:70px;height:70px;object-fit:contain;margin:auto;display:grid;place-items:center}.alp457-dashboard-products b{display:block;font-size:9px;line-height:1.25;min-height:24px}.alp457-dashboard-products small{display:block;font-size:8px;color:#71807d;margin:3px 0}.alp457-dashboard-products a{font-size:8px;color:#087a60;text-decoration:none;font-weight:700}
.alp457-wallet-value { padding:12px;border-radius:10px;background:#eef8f4;margin-bottom:8px; }.alp457-wallet-value.secondary{background:#fff7e7}.alp457-wallet-value small{display:block;font-size:9px;color:#71817e}.alp457-wallet-value strong{display:block;font-size:22px;margin:4px 0 9px}.alp457-wallet-value .alp457-button{width:100%;min-height:34px;font-size:10px}
.alp457-member-notice { display:flex;gap:15px;align-items:center;font-size:10px;color:#71817d; }.alp457-member-notice b{color:#16352f}

/* ---------------- Admin dashboard ---------------- */
.alp457-admin-dashboard { max-width:1450px; margin:0 auto; }
.alp457-admin-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px; }.alp457-admin-grid .span-2{grid-column:span 2}
.alp457-donut { --value:var(--active); background:conic-gradient(#0a9b63 calc(var(--active)*1%),#edf2f0 0); }
.alp457-donut-legend { display:flex;justify-content:center;gap:14px;margin-top:10px;font-size:9px;color:#687875 }.alp457-donut-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#b7c4c0;margin-right:4px}.alp457-donut-legend i.active{background:#0a9b63}
.alp457-map-panel .india-coverage-map,.alp457-map-panel .india-map-shell { min-height:180px!important; max-height:235px; overflow:hidden; }
.alp457-order-mix { display:grid;gap:9px; }.alp457-order-mix div{display:grid;grid-template-columns:90px 1fr 35px;gap:7px;align-items:center;font-size:9px}.alp457-order-mix i{height:7px;border-radius:999px;background:#eef2f1;overflow:hidden}.alp457-order-mix em{display:block;height:100%;background:#0b9763;border-radius:999px}.alp457-order-mix b{text-align:right}
.alp457-stat-quad { display:grid;grid-template-columns:repeat(2,1fr);gap:8px }.alp457-stat-quad div,.alp457-stat-list div{padding:11px;border-radius:10px;background:#f7faf9;border:1px solid #edf1f0}.alp457-stat-quad small,.alp457-stat-list small{display:block;font-size:8px;color:#7b8886}.alp457-stat-quad b,.alp457-stat-list b{display:block;font-size:18px;margin-top:3px}
.alp457-stat-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.admin-actions{grid-template-columns:repeat(6,minmax(0,1fr))}

/* ---------------- Franchise dashboard ---------------- */
.alp457-franchise-dashboard { max-width:1400px;margin:0 auto; }
.alp457-franchise-identity{padding:10px 13px;border:1px solid var(--alp457-line);border-radius:10px;background:#fff;min-width:180px}.alp457-franchise-identity small{display:block;font-size:8px;color:#73817e}.alp457-franchise-identity b{display:block;font-size:16px;margin:3px 0 6px}
.alp457-franchise-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:12px}.alp457-franchise-products,.alp457-franchise-activity{display:grid;gap:6px}.alp457-franchise-products div,.alp457-franchise-activity div{display:grid;grid-template-columns:70px 1fr auto;gap:8px;align-items:center;padding:8px;border-bottom:1px solid #eef2f0;font-size:9px}.alp457-franchise-products b,.alp457-franchise-activity b{font-size:10px}.alp457-franchise-products strong{font-size:11px;color:#0c825e}
.alp457-workspace-divider{margin-bottom:12px}.alp457-workspace-divider h2{margin:0 0 4px;font-size:17px}.alp457-workspace-divider p:last-child{margin:0;font-size:10px;color:#71817e}
.release-457 .alp457-franchise-dashboard > details.control-card,.release-457 .alp457-franchise-dashboard > section.control-card{margin-bottom:10px!important;padding:14px!important}.release-457 .alp457-franchise-dashboard details summary{cursor:pointer;font-size:11px;font-weight:800;color:#15443a;padding:2px 0 8px}

/* ---------------- Genealogy approved one-level model ---------------- */
.release-457 .genealogy-command { max-width:1400px;margin:0 auto;background:#fff;border:1px solid var(--alp457-line);border-radius:14px;padding:14px 14px 18px;box-shadow:none; }
.release-457 .genealogy-command__head { display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border:0!important;padding:0 0 10px!important;margin:0!important; }
.release-457 .genealogy-command__head h2 { font-size:17px!important;margin:1px 0 2px!important;color:#17352f!important; }.release-457 .genealogy-command__head p{font-size:9px!important;margin:0!important;color:#7b8986!important}.release-457 .genealogy-command__head .eyebrow{font-size:8px!important;letter-spacing:1px!important;color:#0a8462!important}
.release-457 .genealogy-command__search{max-width:310px}.release-457 .genealogy-command__search label{font-size:8px!important;color:#6d7c79!important}.release-457 .genealogy-command__search span{display:flex;gap:5px}.release-457 .genealogy-command__search input{min-height:34px!important;font-size:10px!important}.release-457 .genealogy-command__search button{min-height:34px!important;border:0;border-radius:8px;background:#075b47;color:#fff;font-size:9px;font-weight:800;padding:0 13px}
.release-457 .genealogy-command__nav{display:flex;gap:6px!important;align-items:center;padding:6px 0 10px!important;border:0!important}.release-457 .genealogy-command__nav a,.release-457 .genealogy-command__nav span{font-size:8px!important;border:1px solid #e3ebe8!important;background:#fff!important;border-radius:7px!important;padding:6px 9px!important;color:#48625d!important;text-decoration:none}
.release-457 .genealogy-one-level{padding:22px 0 0!important;background:#fff!important;min-height:470px;border:0!important}
.release-457 .genealogy-sponsor{width:112px!important;min-height:156px!important;margin:0 auto!important;padding:9px!important;border:1px solid #d8e5e1!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important}
.release-457 .genealogy-person-photo,.release-457 .genealogy-person-initials{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;border-radius:9px!important;overflow:hidden!important;background:#eef7f4!important;border:1px solid #dbe8e4!important;color:#075c47!important;font-weight:800!important;font-size:17px!important;flex:0 0 auto!important}.release-457 .genealogy-person-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.release-457 .genealogy-sponsor strong,.release-457 .genealogy-direct-card strong{display:block!important;width:100%!important;font-size:10px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#142c28!important}.release-457 .genealogy-sponsor b,.release-457 .genealogy-direct-card b{font-size:8px!important;font-weight:600!important;color:#70817d!important}.release-457 .genealogy-sponsor .status,.release-457 .genealogy-direct-card .status{font-size:7px!important;padding:4px 7px!important;margin-top:1px!important}
.release-457 .genealogy-sponsor-line{width:1px!important;height:36px!important;background:#8da9a1!important;margin:0 auto!important;border:0!important}
.release-457 .genealogy-direct-shell{position:relative!important;width:100%!important;min-height:235px!important;border:1px solid #e0e9e6!important;border-radius:11px!important;background:#fff!important;padding:18px 38px 28px!important;box-shadow:none!important;overflow:hidden!important}
.release-457 .genealogy-direct-scroll{width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-color:#c7d4d0 #f1f5f3;scrollbar-width:thin;padding:0 0 14px!important}
.release-457 .genealogy-direct-track{display:flex!important;align-items:flex-start!important;justify-content:center!important;gap:42px!important;width:max-content!important;min-width:100%!important;padding:0 max(24px,calc((100% - 280px)/2))!important;box-sizing:border-box!important}.release-457 .genealogy-direct-track.is-overflowing{justify-content:flex-start!important;padding:0 25px!important;gap:18px!important}
.release-457 .genealogy-direct-card{width:112px!important;min-width:112px!important;height:158px!important;padding:9px!important;border:1px solid #dfe8e5!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important}.release-457 .genealogy-direct-card:hover{border-color:#96c2b6!important;transform:none!important}
.release-457 .genealogy-leg{display:none!important}.release-457 .genealogy-scroll-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;border-radius:50%!important;border:1px solid #e0e8e5!important;background:#f7faf9!important;color:#5b716d!important;z-index:3!important}.release-457 .genealogy-scroll-arrow.left{left:8px!important}.release-457 .genealogy-scroll-arrow.right{right:8px!important}.release-457 .genealogy-summary-line{display:flex!important;justify-content:center!important;gap:7px!important;margin-top:10px!important}.release-457 .genealogy-summary-line span{font-size:8px!important;border:1px solid #e5ece9!important;background:#fff!important;border-radius:999px!important;padding:5px 8px!important;color:#6a7a77!important}

/* ---------------- Public website ---------------- */
.release-457.public-body { background:#fff!important;color:var(--alp457-ink); }
.release-457 .alp435-utility-bar{height:30px!important;min-height:30px!important;background:#064a3d!important;padding:0 max(28px,calc((100vw - 1420px)/2))!important;font-size:8px!important}.release-457 .alp435-utility-bar nav{gap:18px!important}.release-457 .alp435-main-header{min-height:74px!important;height:74px!important;max-width:1420px!important;margin:auto!important;padding:0 20px!important;background:#fff!important}.release-457 .alp435-brand .crest img{width:48px!important;height:48px!important}.release-457 .alp435-brand b{font-size:20px!important}.release-457 .alp435-brand small{font-size:8px!important}.release-457 .alp435-brand em{font-size:7px!important}.release-457 .alp435-primary-nav{gap:4px!important;padding:6px!important;background:#f7f9f8!important;border:1px solid #e6ecea!important;border-radius:999px!important}.release-457 .alp435-primary-nav a{font-size:9px!important;padding:8px 10px!important;border-radius:999px!important}.release-457 .alp435-primary-nav a.active{background:#fff!important;color:#08644e!important;box-shadow:0 1px 4px rgba(0,0,0,.05)!important}.release-457 .alp435-header-actions{gap:6px!important}.release-457 .alp435-header-actions summary,.release-457 .header-join{min-height:38px!important;font-size:9px!important;border-radius:10px!important}
.alp457-public-home{max-width:1420px;margin:0 auto;background:#fff}.alp457-public-hero{min-height:445px;display:grid;grid-template-columns:.95fr 1.05fr;gap:24px;align-items:stretch;padding:34px 34px 20px;background:linear-gradient(100deg,#fff 0%,#fbfdfc 50%,#f1f8f4 100%);border-bottom:1px solid #e6edea;overflow:hidden}.alp457-public-hero__copy{padding:22px 0 0 18px;z-index:2}.alp457-public-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:44px;line-height:1.04;margin:8px 0 14px;color:#102a25;font-weight:700}.alp457-public-hero h1 strong{color:#ad7417;font-weight:700}.alp457-lead{max-width:620px;font-size:13px;line-height:1.62;color:#516661}.alp457-public-actions{display:flex;gap:10px;margin:20px 0}.alp457-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px}.alp457-trust-row div{display:grid;grid-template-columns:32px 1fr;column-gap:7px;align-items:center;padding:8px;border:1px solid #e8eeec;border-radius:11px;background:rgba(255,255,255,.82)}.alp457-trust-row span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf7f1;color:#08805c}.alp457-trust-row b{font-size:9px}.alp457-trust-row small{font-size:7px;color:#74827f}.alp457-public-hero__visual{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:390px}.alp457-mountain-art{position:absolute;inset:0;background:linear-gradient(180deg,#eaf5f1 0,#f8f6e9 52%,#dbe9db 100%);clip-path:polygon(0 70%,18% 38%,30% 58%,49% 23%,61% 49%,78% 16%,100% 58%,100% 100%,0 100%);opacity:.9}.alp457-mountain-art i{position:absolute;bottom:0;width:100%;height:38%;background:linear-gradient(180deg,transparent,#a7c59f);opacity:.5}.alp457-hero-product{position:relative;z-index:2;width:46%;min-width:250px;min-height:315px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:12px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.9);border-radius:18px;box-shadow:0 16px 35px rgba(28,73,57,.10)}.alp457-hero-product img{width:88%;height:245px;object-fit:contain}.alp457-hero-product div{width:100%;padding:8px}.alp457-hero-product small{display:block;font-size:7px;letter-spacing:.8px;color:#80908d}.alp457-hero-product b{font-size:13px}.alp457-hero-mini-products{position:relative;z-index:2;display:grid;gap:8px;width:36%;margin-left:8px;margin-bottom:14px}.alp457-hero-mini-products article{height:86px;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e6ece9;border-radius:12px;background:rgba(255,255,255,.9)}.alp457-hero-mini-products img,.alp457-mini-fallback{width:58px;height:65px;object-fit:contain;display:grid;place-items:center}.alp457-hero-mini-products span{font-size:9px;font-weight:700}.alp457-hero-seal{position:absolute;right:12px;top:4px;z-index:3;width:105px;height:105px;border-radius:50%;border:5px double #d9ab36;background:#fff6d7;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:9px;color:#4d3d13;text-align:center}.alp457-public-section,.alp457-public-grid,.alp457-public-final{padding:20px 34px}.alp457-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.alp457-section-heading h2{font-family:Georgia,serif;font-size:22px;margin:2px 0}.alp457-section-heading a{font-size:10px;color:#087259;text-decoration:none;font-weight:700}.alp457-product-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.alp457-product-tile{border:1px solid #e7edea;border-radius:12px;padding:10px;text-align:center;background:#fff}.alp457-product-tile__image{height:128px;display:grid;place-items:center}.alp457-product-tile img{width:100%;height:120px;object-fit:contain}.alp457-product-tile h3{font-size:10px;margin:6px 0 2px}.alp457-product-tile p{font-size:9px;color:#788682;margin:0 0 6px}.alp457-product-tile a{font-size:8px;color:#08765d;text-decoration:none;font-weight:700}.alp457-public-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;padding-top:0}.alp457-opportunity-card,.alp457-strength-card,.alp457-benefits-card,.alp457-franchise-card{border:1px solid #e5ece9;border-radius:14px;padding:20px;background:linear-gradient(135deg,#fbfff9,#f4faef);min-height:220px}.alp457-opportunity-card{display:grid;grid-template-columns:1.1fr .9fr}.alp457-opportunity-card h2,.alp457-strength-card h2,.alp457-benefits-card h2,.alp457-franchise-card h2{font-family:Georgia,serif;font-size:22px;margin:3px 0 9px}.alp457-opportunity-card ul{list-style:none;padding:0;margin:0 0 15px;font-size:10px;line-height:1.8}.alp457-opportunity-card li:before{content:"✓";margin-right:7px;color:#07805a;font-weight:900}.alp457-growth-graphic{display:flex;align-items:end;justify-content:center;gap:8px;padding:25px}.alp457-growth-graphic span{width:26px;background:linear-gradient(#a9d78e,#489d58);border-radius:5px 5px 0 0}.alp457-growth-graphic span:nth-child(1){height:40px}.alp457-growth-graphic span:nth-child(2){height:65px}.alp457-growth-graphic span:nth-child(3){height:90px}.alp457-growth-graphic span:nth-child(4){height:120px}.alp457-growth-graphic span:nth-child(5){height:155px}.alp457-strength-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.alp457-strength-grid div{padding:12px;border-radius:11px;background:#fff;border:1px solid #e8eeec;display:grid;grid-template-columns:30px 1fr;gap:2px 8px;align-items:center}.alp457-strength-grid i{grid-row:1/3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e9f6ef;color:#08765a;font-style:normal}.alp457-strength-grid b{font-size:12px}.alp457-strength-grid small{font-size:8px;color:#758480}.alp457-public-grid.lower{grid-template-columns:.9fr 1.1fr}.alp457-benefit-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.alp457-benefit-row div{text-align:center;padding:10px 5px}.alp457-benefit-row i{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 6px;border-radius:50%;background:#fff4cf;color:#b37b10;font-style:normal;font-size:18px}.alp457-benefit-row b{display:block;font-size:9px}.alp457-benefit-row small{font-size:7px;color:#798682}.alp457-franchise-card{display:grid;grid-template-columns:1.1fr .9fr;background:linear-gradient(135deg,#fff,#f0f8ff)}.alp457-franchise-card p{font-size:10px;color:#657570;line-height:1.6}.alp457-building-graphic{display:flex;align-items:end;gap:5px;justify-content:center;padding:20px}.alp457-building-graphic span{width:42px;background:linear-gradient(180deg,#438b79,#0c5949);border:5px solid #dfeae6}.alp457-building-graphic span:nth-child(1){height:80px}.alp457-building-graphic span:nth-child(2){height:125px}.alp457-building-graphic span:nth-child(3){height:100px}.alp457-public-final{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#07483b;color:#fff}.alp457-public-final h2{margin:0;font-family:Georgia,serif;font-size:18px}.alp457-public-final .alp457-kicker{color:#f3cd64}.alp457-public-final__links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.alp457-public-final__links a,.alp457-public-final__links span{font-size:8px;color:#dcebe5;text-decoration:none}.release-457 .alp435-site-footer{margin-top:0!important}

/* ---------------- Responsive safety ---------------- */
@media (max-width: 1180px) {
    .alp457-kpi-grid.six{grid-template-columns:repeat(3,1fr)}
    .alp457-member-bottom{grid-template-columns:1fr 1fr}.alp457-wallet-panel{grid-column:1/-1}
    .alp457-franchise-grid{grid-template-columns:1fr 1fr}.alp457-franchise-grid > :last-child{grid-column:1/-1}
    .alp457-action-grid,.admin-actions{grid-template-columns:repeat(4,1fr)}
    .alp457-public-hero h1{font-size:37px}
}
@media (max-width: 900px) {
    .release-457.portal-body .portal-sidebar{width:260px!important;min-width:260px!important;transform:translateX(-100%)}
    .release-457.portal-body.sidebar-open .portal-sidebar{transform:translateX(0)}
    .release-457.portal-body .portal-stage{margin-left:0!important;width:100%!important}
    .release-457.portal-body .portal-content{padding:14px!important}
    .alp457-kpi-grid.four,.alp457-kpi-grid.eight{grid-template-columns:repeat(2,1fr)}
    .alp457-member-overview,.alp457-member-charts,.alp457-admin-grid,.alp457-franchise-grid{grid-template-columns:1fr}.alp457-admin-grid .span-2{grid-column:auto}.alp457-franchise-grid > :last-child{grid-column:auto}
    .alp457-member-bottom{grid-template-columns:1fr}.alp457-wallet-panel{grid-column:auto}
    .alp457-profile-meta{grid-template-columns:1fr 1fr}.alp457-dashboard-products{grid-template-columns:1fr 1fr}
    .alp457-public-hero{grid-template-columns:1fr;padding:25px 20px}.alp457-public-hero__copy{padding:0}.alp457-public-grid,.alp457-public-grid.lower{grid-template-columns:1fr}.alp457-product-strip{grid-template-columns:repeat(2,1fr)}.alp457-trust-row{grid-template-columns:1fr 1fr}.release-457 .alp435-primary-nav{display:none!important}
}
@media (max-width: 600px) {
    .alp457-kpi-grid.four,.alp457-kpi-grid.six,.alp457-kpi-grid.eight{grid-template-columns:1fr 1fr}.alp457-kpi-grid > article,.alp457-kpi-grid > a{min-height:82px;padding:12px}.alp457-kpi-grid strong{font-size:20px}.alp457-kpi-grid i{font-size:24px;top:27px}
    .alp457-member-head,.alp457-admin-head,.alp457-franchise-head{display:block}.alp457-member-head__meta,.alp457-admin-head__meta{margin-top:8px}.alp457-member-head h1,.alp457-admin-head h1,.alp457-franchise-head h1{font-size:22px}
    .alp457-action-grid,.admin-actions{grid-template-columns:repeat(2,1fr)}.alp457-kyc-body{grid-template-columns:1fr}.alp457-member-notice{display:block}.alp457-member-notice b{display:block;margin-bottom:5px}
    .release-457 .genealogy-command{padding:10px}.release-457 .genealogy-command__head{display:block}.release-457 .genealogy-command__search{max-width:none;margin-top:8px}.release-457 .genealogy-command__nav{overflow:auto}.release-457 .genealogy-one-level{min-height:410px}.release-457 .genealogy-direct-shell{padding:16px 34px 24px}.release-457 .genealogy-direct-track{gap:28px!important}
    .alp457-public-hero h1{font-size:32px}.alp457-public-hero__visual{min-height:330px}.alp457-hero-product{min-width:190px}.alp457-hero-mini-products{display:none}.alp457-product-strip{grid-template-columns:1fr 1fr}.alp457-public-section,.alp457-public-grid,.alp457-public-final{padding:16px}.alp457-public-final{display:block}.alp457-public-final__links{justify-content:flex-start;margin-top:12px}.alp457-benefit-row{grid-template-columns:1fr 1fr}.alp457-opportunity-card,.alp457-franchise-card{grid-template-columns:1fr}.alp457-growth-graphic,.alp457-building-graphic{display:none}.release-457 .alp435-utility-bar{display:none!important}.release-457 .alp435-main-header{height:68px!important;min-height:68px!important;padding:0 12px!important}.release-457 .alp435-brand em{display:none!important}
}

/* E-Shop and form-heavy inner pages — clean paper layout, functions unchanged. */
.release-457 .shop-command { max-width:1400px!important; margin:0 auto!important; background:transparent!important; }
.release-457 .shop-command .dash-head { padding:15px!important; margin-bottom:10px!important; border:1px solid var(--alp457-line)!important; border-radius:14px!important; background:#fff!important; display:flex!important; justify-content:space-between!important; gap:16px!important; }
.release-457 .shop-command .dash-head h1 { font-size:22px!important; line-height:1.12!important; margin:2px 0 5px!important; color:#14352e!important; }
.release-457 .shop-command .dash-head h1 br { display:none!important; }
.release-457 .shop-command .dash-head p { font-size:10px!important; margin:0!important; color:#70807c!important; }
.release-457 .shop-command .identity { min-width:210px!important; padding:10px 12px!important; border-radius:10px!important; background:#f7faf9!important; border:1px solid #e5ece9!important; }
.release-457 .shop-toolbar { position:sticky!important; top:68px!important; z-index:5!important; display:grid!important; grid-template-columns:minmax(220px,.7fr) 1.3fr!important; gap:10px!important; padding:10px!important; border:1px solid var(--alp457-line)!important; border-radius:12px!important; background:rgba(255,255,255,.97)!important; box-shadow:0 7px 18px rgba(14,66,52,.05)!important; }
.release-457 .shop-toolbar label { font-size:9px!important; }
.release-457 .live-cart { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr)) auto!important; align-items:center!important; gap:5px!important; }
.release-457 .live-cart span { padding:6px 8px!important; border-radius:8px!important; background:#f7faf9!important; min-width:0!important; }
.release-457 .live-cart small { font-size:7px!important; }.release-457 .live-cart b { font-size:10px!important; }
.release-457 .live-cart a { font-size:8px!important; padding:8px!important; border-radius:8px!important; background:#075c48!important; color:#fff!important; text-decoration:none!important; }
.release-457 .shop-products { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:10px!important; margin:10px 0!important; }
.release-457 .shop-products > article { border:1px solid #e4ece9!important; border-radius:12px!important; padding:10px!important; background:#fff!important; box-shadow:none!important; min-width:0!important; }
.release-457 .shop-products .product-image { height:145px!important; display:grid!important; place-items:center!important; border-radius:9px!important; background:#fbfcfc!important; overflow:hidden!important; }
.release-457 .shop-products .product-image img { width:100%!important; height:138px!important; object-fit:contain!important; }
.release-457 .shop-products h3 { font-size:11px!important; min-height:28px!important; margin:6px 0!important; }
.release-457 .shop-products p { font-size:8px!important; line-height:1.45!important; }
.release-457 .shop-products .product-price strong { font-size:16px!important; }
.release-457 .product-add,.release-457 .quantity-stepper { min-height:35px!important; border-radius:8px!important; }
.release-457 .checkout-card { display:grid!important; grid-template-columns:.85fr 1.15fr!important; gap:18px!important; padding:16px!important; margin:12px 0!important; border:1px solid var(--alp457-line)!important; border-radius:14px!important; background:#fff!important; box-shadow:none!important; }
.release-457 .checkout-card h2 { font-size:18px!important; margin:3px 0 6px!important; }.release-457 .checkout-card p { font-size:9px!important; line-height:1.55!important; }
.release-457 .checkout-fields { display:grid!important; grid-template-columns:1fr 1fr!important; gap:9px!important; }.release-457 .checkout-fields .wide{grid-column:1/-1!important}
.release-457 .checkout-fields label,.release-457 .checkout-location label { font-size:8px!important; color:#667a75!important; }
.release-457 .checkout-location { display:grid!important; grid-template-columns:repeat(3,1fr)!important; gap:9px!important; padding:12px!important; border:1px solid var(--alp457-line)!important; border-radius:12px!important; background:#fff!important; }
.release-457 .wallet-only { border:1px solid #d8e9e3!important; border-radius:9px!important; background:#eef8f4!important; padding:8px 10px!important; }.release-457 .wallet-only small{font-size:7px!important}.release-457 .wallet-only b{font-size:11px!important}.release-457 .wallet-only span{font-size:8px!important}
.release-457 .order-review > section { border-radius:14px!important; box-shadow:0 20px 70px rgba(0,0,0,.18)!important; }

@media (max-width:1180px){.release-457 .shop-products{grid-template-columns:repeat(4,1fr)!important}.release-457 .live-cart{grid-template-columns:repeat(3,1fr)!important}}
@media (max-width:900px){.release-457 .shop-toolbar{position:static!important;grid-template-columns:1fr!important}.release-457 .shop-products{grid-template-columns:repeat(3,1fr)!important}.release-457 .checkout-card{grid-template-columns:1fr!important}}
@media (max-width:600px){.release-457 .shop-products{grid-template-columns:1fr 1fr!important}.release-457 .live-cart{grid-template-columns:1fr 1fr!important}.release-457 .checkout-fields,.release-457 .checkout-location{grid-template-columns:1fr!important}.release-457 .checkout-fields .wide{grid-column:auto!important}.release-457 .shop-command .dash-head{display:block!important}.release-457 .shop-command .identity{margin-top:8px!important}}
