/* Approved direction: Spectrum layout + Jade palette. Scoped to the dashboard. */
.dashboard-spectrum{--dash-ink:#183b30;--dash-muted:#5b7066;--dash-line:#dce7df;--dash-green:#1c6b53;--dash-paper:#f0f5ef;--dash-soft:#eaf2e9;background:var(--dash-paper);color:var(--dash-ink);font:17px/1.55 'Segoe UI',Arial,sans-serif;overflow-x:clip}
.dashboard-spectrum [hidden]{display:none!important}
.dashboard-spectrum h1,.dashboard-spectrum h2,.dashboard-spectrum h3,.dashboard-spectrum button,.dashboard-spectrum input,.dashboard-spectrum .btn{font-family:'Segoe UI',Arial,sans-serif}
.dashboard-spectrum h1{font-size:clamp(29px,3vw,44px);line-height:1.16;letter-spacing:-.035em;font-weight:700;overflow-wrap:anywhere}
.dashboard-spectrum h2{font-size:23px;line-height:1.3;font-weight:700;letter-spacing:-.02em}
.dashboard-spectrum h3{font-size:18px;line-height:1.4;font-weight:650}
.dashboard-spectrum p{margin:0;color:var(--dash-muted)}
.dashboard-spectrum a{color:inherit;text-decoration:none}
.dashboard-spectrum button{cursor:pointer}
.dashboard-spectrum :is(a,button,summary):focus-visible{outline:3px solid #b18a28;outline-offset:4px}
.dashboard-spectrum .btn{min-height:46px;border-radius:12px;font-size:15px;font-weight:650;white-space:normal;box-shadow:none;padding:12px 18px}
.dashboard-spectrum .btn-primary{background:#1d6a51;color:white}
.dashboard-spectrum .btn-outline,.dashboard-spectrum .btn-ghost{background:#fff;border-color:var(--dash-line);color:var(--dash-ink)}
.dashboard-spectrum .btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #163e3315}
.dashboard-spectrum .app-shell{padding:20px;gap:26px;grid-template-columns:242px minmax(0,1fr);background:linear-gradient(120deg,#e1eee2,#f1f5ed 65%,#e9f0dc);min-height:100dvh}
.dashboard-spectrum .app-sidebar{background:#fff;color:var(--dash-ink);border:1px solid var(--dash-line);border-radius:24px;top:20px;height:calc(100dvh - 40px);padding:26px 0 14px;scrollbar-color:#b7c9be #fff;box-shadow:0 12px 35px #224d3710}
.dashboard-spectrum .app-sidebar__logo{display:flex;gap:12px;padding:0 22px 26px;font:700 20px/1.2 'Segoe UI',Arial,sans-serif;color:var(--dash-ink);margin:0;letter-spacing:-.03em}
.dash-brand-mark{flex:0 0 40px;height:40px;display:grid;place-items:center;background:#164c38;color:#e0edb4;border-radius:13px;font:24px Georgia,serif}
.app-sidebar__logo small{display:block;font:10px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:.14em;margin-top:6px;color:var(--dash-muted)}
.dashboard-spectrum .sidebar-nav{padding:0 14px;gap:5px}
.dashboard-spectrum .sidebar-nav a,.dashboard-spectrum .sidebar-nav .sidebar-support-link{color:var(--dash-muted);font-size:15px;font-weight:600;min-height:46px;padding:12px;line-height:1.3;border-radius:12px}
.dashboard-spectrum .sidebar-nav a:hover,.dashboard-spectrum .sidebar-nav button:hover{background:#f0f5ed;color:var(--dash-ink)}
.dashboard-spectrum .sidebar-nav a.is-active{color:#234d35;background:#deebbc;box-shadow:none}
.dashboard-spectrum .sidebar-nav__section{font-size:10px;letter-spacing:.13em;color:#61786a;padding:20px 12px 6px}
.dashboard-spectrum .cabinet-new{background:#eee6bd;color:#544416;border-radius:6px;font-size:10px;padding:3px 5px}
.dashboard-spectrum .sidebar-nav [data-admin-link]{border:1px solid #b4cba9;background:#f1f5e9;color:#295439}
.dashboard-spectrum .app-sidebar__footer{margin:22px 18px 0;padding:20px 0 4px;border-top:1px solid var(--dash-line);gap:10px}
.dashboard-spectrum .user-avatar{background:#e5efe2;color:#234d35;width:36px;height:36px;font-size:14px;flex-shrink:0}
.dashboard-spectrum .user-info{min-width:0;flex:1}
.dashboard-spectrum .user-info__name{font:650 14px/1.4 'Segoe UI',Arial,sans-serif;color:var(--dash-ink);overflow-wrap:anywhere;white-space:normal}
.dashboard-spectrum .user-info a{font-size:12px;color:var(--dash-muted)}
.dash-signout{border:0;background:none;min-height:44px;min-width:28px;font-size:23px;color:var(--dash-green)}
.dash-calculators{margin-top:12px;border-top:1px solid var(--dash-line);padding-top:10px}
.dash-calculators summary{font-size:15px;font-weight:650;padding:12px;min-height:46px;cursor:pointer;color:var(--dash-ink)}
.dashboard-spectrum .dash-calculators a{font-size:14px;padding-left:16px}
.dashboard-spectrum .app-main{padding:14px 10px 10px 0;max-width:1550px;width:100%;margin:0 auto}
.dash-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}
.dash-breadcrumb{font-size:13px;color:var(--dash-muted)}.dash-breadcrumb span{margin:0 9px;color:#8ba093}
.dashboard-spectrum .app-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.dashboard-spectrum .app-header p{font-size:16px}.dashboard-spectrum .app-header h1{margin:9px 0 10px}
.dashboard-spectrum .app-header__actions{gap:10px}
.dash-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:.13em;color:var(--dash-muted)}
#dashboardDate{font-size:13px;text-align:right;max-width:140px;text-transform:capitalize;color:var(--dash-muted)}
.dash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}
.dash-metric{display:flex;align-items:center;gap:17px;background:#226f53;color:#fff!important;border-radius:20px;padding:23px;min-width:0;box-shadow:0 10px 22px #254d3d0c;transition:transform .2s,box-shadow .2s}
.dash-metric:nth-child(2){background:#355f49}.dash-metric:nth-child(3){background:#dce9b9;color:#294630!important}
.dash-metric:hover{transform:translateY(-3px);box-shadow:0 12px 28px #254d3d20}
.dash-metric>div{min-width:0;flex:1}.dash-metric>span:last-child{align-self:flex-start}
.dash-metric strong{font-size:36px;font-weight:700;line-height:1.1;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.dash-metric div>span{display:block;font-size:14px;margin-top:6px;font-weight:600}
.dash-metric small{display:block;font-size:12px;line-height:1.4;margin-top:6px;color:#dfebe3}
.dash-metric:nth-child(3) small{color:#4e6747}
.dash-metric-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#ffffff20;font-size:25px;flex-shrink:0}
.dash-primary-grid,.dash-secondary-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:22px;align-items:stretch}
.dash-secondary-grid{margin-top:22px}
.dash-panel{padding:26px;background:#fff;border:1px solid var(--dash-line);border-radius:23px;min-width:0;box-shadow:0 8px 25px #21452f07}
.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.dash-panel-head h2{margin:0;font-size:22px}
.dash-panel-head a{font-size:14px;font-weight:650;color:var(--dash-green);padding:9px 0;min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}
.dash-feature{position:relative;overflow:hidden;min-height:335px;display:flex;align-items:center;padding:32px;border:1px solid #d9e5d7;border-radius:23px;background:#fff}
.dash-feature-copy{position:relative;z-index:1;max-width:68%}
.dash-chip{display:inline-flex;padding:5px 10px;border-radius:100px;background:#e7f0e6;color:#33664d;font-size:12px;font-weight:650;line-height:1.4}
.dash-feature h2{font-size:clamp(27px,2.4vw,35px);line-height:1.18;margin:18px 0 14px;letter-spacing:-.035em}
.dash-feature p{font-size:16px;line-height:1.65;margin-bottom:25px}
.dash-orbit{position:absolute;right:-16px;top:50%;transform:translateY(-50%);width:270px;height:270px;color:#7fa98e;opacity:.65;pointer-events:none}
.dash-orbit-lines{transform-origin:150px 150px;animation:dash-orbit 4s ease-out both}
.dashboard-spectrum .dash-access-panel{background:#183e30;color:#fff;border-color:#183e30}
.dash-access-panel h2,.dash-access-panel h3{color:#fff}
.dash-access-panel .dash-panel-head>a{color:#d7e9b1}
.dashboard-spectrum .dashboard-purchases{display:block}
.dashboard-spectrum .dashboard-purchase{padding:0;border:0;border-radius:0;background:transparent;min-width:0}
.dashboard-spectrum .dashboard-purchase h3{font-family:inherit;font-size:19px;line-height:1.3;margin:0;color:#fff}
.dashboard-spectrum .dash-access-panel p{font-size:14px;line-height:1.6;color:#d2e1d7}
.dashboard-spectrum .dash-access-panel .btn-primary{background:#deebbb;color:#193b29;box-shadow:none;margin-top:18px;width:100%}
.dashboard-purchase-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.dashboard-spectrum .dashboard-purchase-heading .dash-eyebrow{color:#b4cbb9}
.dash-access-panel .dash-chip{background:#315940;color:#e4edc6}
.dash-access-meter{display:flex;align-items:center;gap:18px;margin:12px 0}
.dash-access-ring{--remaining:0%;width:100px;height:100px;flex:0 0 100px;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:4px;background:radial-gradient(closest-side,#183e30 80%,transparent 82%),conic-gradient(#d9e9a5 var(--remaining),#3b604a 0);font-variant-numeric:tabular-nums}
.dash-access-ring strong{font-size:31px;line-height:1}.dash-access-ring small{font-size:12px;color:#b5cfbd}
.dash-access-facts{min-width:0}.dashboard-spectrum .dash-access-facts p{margin:4px 0;font-size:14px}
.dashboard-spectrum .dashboard-purchase .dash-expiry{font-size:12px;margin:0}
.dashboard-spectrum .dashboard-purchase .dash-purchase-note{font-size:13px;margin-top:12px}
.dash-more-purchases{border-top:1px solid #3e5e4b;margin-top:18px}.dash-more-purchases summary{cursor:pointer;padding:14px 0;color:#e0edb5;font-size:14px;min-height:44px}
.dash-more-purchases .dashboard-purchase{border-top:1px solid #3e5e4b!important;padding-top:18px!important;margin-top:8px}
.dash-chart-row{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--dash-line)}
.dash-chart-row:first-child{padding-top:0}.dash-chart-row:last-child{border-bottom:0;padding-bottom:0}
.dash-chart-symbol{display:grid;place-items:center;flex:0 0 48px;height:56px;border-radius:12px;background:#e6f0e5;color:#387458;font:27px Georgia,serif}
.dash-chart-row:nth-child(2n) .dash-chart-symbol{background:#eef0d9;color:#747041}
.dash-chart-info{flex:1;min-width:0}.dash-chart-info h3{margin:0 0 3px;font-size:17px;overflow-wrap:anywhere}
.dash-chart-info p{font-size:14px}.dash-chart-status{display:block;font-size:12px;color:var(--dash-muted);margin-top:4px}
.dash-chart-status.is-ready{color:#276d48}.dash-chart-status.is-pending{color:#895d16}
.dash-chart-link{font-size:14px;font-weight:650;color:#286b50!important;min-height:44px;min-width:65px;display:flex;align-items:center}
.dash-recent>.btn{margin-top:20px}
.dash-actions{display:grid;gap:12px}
.dash-actions>a,.dash-actions>button{display:flex;align-items:center;gap:12px;border:0;width:100%;text-align:left;background:#edf4e9;padding:15px;border-radius:14px;color:var(--dash-ink);font:inherit;transition:background .2s,transform .2s}
.dash-actions>a:hover,.dash-actions>button:hover{background:#e3eddc;transform:translateX(3px)}
.dash-actions strong{display:block;font-size:15px;line-height:1.4}.dash-actions small{display:block;font-size:12px;line-height:1.4;color:var(--dash-muted);margin-top:4px}
.dash-actions>*>span:nth-child(2){flex:1;min-width:0}.dash-action-symbol{font-size:23px;color:#367454;flex:0 0 30px;text-align:center}
.dash-services{margin-top:24px;padding:27px 30px;border:1px solid #d9e4ca;border-radius:21px;background:#e7efdb;display:flex;align-items:center;justify-content:space-between;gap:24px}
.dash-services h2{margin:7px 0 9px}.dash-services p{font-size:15px}.dash-services .btn{flex-shrink:0}
.dash-footer{display:flex;justify-content:space-between;gap:14px;padding:22px 0;font-size:12px;color:var(--dash-muted)}
.dash-footer button{font:inherit;background:none;border:0;color:var(--dash-green);min-height:44px}
.dash-footer a{display:flex;align-items:center;min-height:44px}
.dash-bottom-nav{display:none}
.dash-skip{position:fixed;z-index:300;top:-100px;left:20px;background:#fff;padding:12px 20px;border:2px solid #2c6b49;border-radius:8px}
.dash-skip:focus{top:12px}
.dashboard-spectrum .sidebar-toggle{width:auto;flex-shrink:0;min-width:80px}
.dashboard-spectrum .dash-access-panel .dash-panel-head{margin-bottom:12px}
.dashboard-spectrum .dash-access-panel .btn-primary{margin-top:12px}
.dash-more-purchases{margin-top:12px}
.dashboard-spectrum dialog{border:1px solid var(--dash-line);border-radius:24px;background:#fff;color:var(--dash-ink);padding:30px;width:min(560px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-shadow:0 25px 100px #123b3033}
.dashboard-spectrum dialog::backdrop{background:#123b3077;backdrop-filter:blur(4px)}
.dash-dialog-close{float:right;width:44px;height:44px;border:0;border-radius:50%;background:var(--dash-soft);color:var(--dash-ink);font-size:24px;margin:-10px -10px 10px 10px}
.dash-system-list{display:grid;gap:9px;margin:22px 0}.dash-system-list a{padding:12px 16px;border-radius:12px;background:var(--dash-soft);min-height:60px}.dash-system-list strong{display:block;font-size:16px}.dash-system-list span{display:block;font-size:13px;color:var(--dash-muted)}
.dash-metrics,.dash-primary-grid,.dash-secondary-grid,.dash-services{animation:dash-enter .55s ease-out both}
.dash-primary-grid{animation-delay:.08s}.dash-secondary-grid{animation-delay:.16s}.dash-services{animation-delay:.22s}
@keyframes dash-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes dash-orbit{from{transform:rotate(-45deg)}to{transform:rotate(0)}}
@media(min-width:1800px){.dashboard-spectrum .app-main{padding:22px 22px 0}.dash-feature{min-height:365px}.dash-orbit{right:5px;width:300px;height:300px}}
@media(max-width:1250px){.dashboard-spectrum .app-shell{grid-template-columns:220px minmax(0,1fr);gap:20px;padding:16px}.dashboard-spectrum .app-main{padding:10px 0}.dash-metric{padding:18px;gap:12px}.dash-metric-icon{display:none}.dash-primary-grid,.dash-secondary-grid{grid-template-columns:minmax(0,1.25fr) minmax(290px,1fr);gap:18px}.dash-feature{padding:25px}.dash-feature-copy{max-width:100%}.dash-orbit{opacity:.14}.dash-panel{padding:22px}.dash-panel-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:1024px){.dashboard-spectrum .app-shell{display:block;padding:24px}.dashboard-spectrum .app-main{padding:0}.dashboard-spectrum .app-sidebar{position:fixed;inset:0 auto 0 0;top:0;width:min(305px,88vw);height:100dvh;border-radius:0;transform:translateX(-105%);z-index:101}.dashboard-spectrum .app-sidebar.is-open{transform:none}.dashboard-spectrum .sidebar-toggle{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:10px 12px;background:#fff;border:1px solid var(--dash-line);color:var(--dash-ink);border-radius:12px;font-size:14px}.dash-shade{position:fixed;inset:0;background:#123b3077;z-index:100;backdrop-filter:blur(3px)}.dash-menu-open{overflow:hidden}.dashboard-spectrum .cabinet-nav-close{display:block;border:1px solid var(--dash-line);background:#edf3e8;color:var(--dash-ink);margin:0 14px 18px;min-height:44px}.dashboard-spectrum .app-header{align-items:flex-start}.dash-top{margin-bottom:24px}.dash-breadcrumb{display:none}.dash-top .app-header__actions{width:100%}.dash-top .app-header__actions>button:last-child{margin-left:auto}}
@media(max-width:700px){.dashboard-spectrum .app-shell{padding:18px 16px 85px}.dashboard-spectrum .app-header{margin-bottom:22px}.dashboard-spectrum .app-header h1{font-size:31px}.dashboard-spectrum .app-header p:not(.dash-eyebrow){font-size:15px}#dashboardDate{display:none}.dash-metrics{gap:8px;margin-bottom:16px}.dash-metric{display:block;padding:15px 10px;border-radius:15px}.dash-metric>span:last-child{display:none}.dash-metric strong{font-size:29px}.dash-metric div>span{font-size:12px;line-height:1.35}.dash-metric small{display:none}.dash-primary-grid,.dash-secondary-grid{grid-template-columns:1fr;gap:16px}.dash-secondary-grid{margin-top:16px}.dash-feature{min-height:300px;padding:25px}.dash-feature h2{font-size:30px;max-width:280px}.dash-feature p{max-width:31ch}.dash-feature-copy{max-width:100%}.dash-panel{padding:22px}.dash-panel-head h2{font-size:21px}.dash-services{flex-direction:column;align-items:flex-start;padding:23px}.dash-services .btn{width:100%}.dash-chart-row{gap:12px;flex-wrap:wrap}.dash-chart-info{min-width:150px}.dash-chart-link{margin-left:60px;min-height:44px}.dash-chart-symbol{flex-basis:45px}.dash-bottom-nav{position:fixed;display:flex;justify-content:space-around;bottom:0;left:0;right:0;z-index:25;background:#fffffff5;border-top:1px solid var(--dash-line);padding:7px 10px max(7px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.dash-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:60px;min-height:48px;font-size:11px;color:var(--dash-muted)}.dash-bottom-nav a span{font-size:23px;line-height:1}.dash-bottom-nav a[aria-current]{color:#236e4e;font-weight:700}.dash-top .btn{padding:10px 13px;font-size:14px}.dash-footer{flex-wrap:wrap}.dashboard-purchase-heading .dash-chip{font-size:11px}}
@media(prefers-reduced-motion:reduce){.dashboard-spectrum *,.dashboard-spectrum *::before,.dashboard-spectrum *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
