
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--fp-bg:#080B14;--fp-sidebar:#0D1322;--fp-panel:#121A2B;--fp-panel2:#192238;--fp-border:#303D57;--fp-soft:#9EACC6;--fp-primary:#B9A6FF;--fp-mint:#80DCC7;--fp-white:#F1F3FF}
body{background:var(--fp-bg);color:var(--fp-white);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
button,input,textarea,select{font-family:inherit}
a,button,input,select,textarea{transition:border-color .16s,background-color .16s,color .16s,transform .16s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #C5B4FF;outline-offset:2px}
.fp-premium .fp-premium-tag{font-size:10px;letter-spacing:1.3px;font-weight:800;color:var(--fp-primary)}
/* F41/F42: Real Visual Studio; original actions and routes are retained */
body:has(.shell){--bg:#080B14;--panel:#121A2B;--line:#303D57;--text:#EDF0FA;--muted:#9EACC6;--accent:#B9A6FF;--teal:#80DCC7}
.shell{grid-template-columns:264px minmax(0,1fr);background:#090e19}
.shell>.side{background:#0d1424;border-inline-end:1px solid #2c3851;padding:20px 14px 12px;gap:11px}
.shell>.side>.brand{padding:4px 7px 16px;position:relative;gap:10px}
.shell>.side>.brand .fp-brand-title{font-family:'Space Grotesk',sans-serif;font-size:21px;letter-spacing:-1px}
.shell>.side>.brand img{height:39px;width:39px}
.fp-create{display:flex;align-items:center;justify-content:space-between;text-decoration:none;border-radius:10px;padding:12px 14px;background:linear-gradient(112deg,#C5B2FF,#A98DF3);color:#1c162e!important;font-size:12px;font-weight:850;border:1px solid #D1C0FF;gap:10px;box-shadow:0 9px 24px #8d6edc25}
.fp-create:hover{background:#D4C5FF;transform:translateY(-1px)}
.fp-create b{font-size:17px}.fp-create span{flex:1}
.fp-toolsearch{display:flex;align-items:center;gap:8px;background:#151f33;border:1px solid #35445f;border-radius:9px;padding:0 11px;color:#94a3c0;min-height:39px}
.fp-toolsearch input{width:100%;min-width:0;border:0!important;outline:0;background:transparent!important;font-size:11px;padding:10px 0!important;color:#fff}
.fp-toolsearch input:focus{box-shadow:none!important}
.fp-toolsearch kbd{font-size:9px;color:#8090ad;white-space:nowrap}
.shell>.side>.nav{display:block;overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#4a5876 transparent;padding:0 2px 12px}
.fp-nav-group{padding:5px 0 10px;border-bottom:1px solid #26324a}
.fp-group-head{display:flex!important;align-items:center;justify-content:space-between;width:100%;font-size:9px!important;font-weight:850!important;color:#8090ae!important;letter-spacing:1.25px!important;padding:11px 9px!important;background:transparent!important;border:0!important;min-height:34px!important;text-align:start}
.fp-group-head:hover{color:#c9b9ff!important;background:#1c263c!important}
.fp-group-head .fp-chevron{font-size:13px;letter-spacing:0}
.fp-group-items{display:grid;gap:3px}
.fp-nav-group.is-closed .fp-group-items{display:none}
.shell>.side>.nav .fp-group-items button{display:flex;align-items:center;gap:10px;width:100%;min-height:37px;padding:10px 11px!important;color:#A9B6CF;font-size:11.5px!important;font-weight:650;border-radius:9px;border:1px solid transparent;background:transparent}
.shell>.side>.nav .fp-group-items button:hover{background:#202b43;color:#fff}
.shell>.side>.nav .fp-group-items button.active{background:#352d5b;color:#F1EAFE;border-color:#7363a5;box-shadow:inset 3px 0 #B8A3FE}
.fp-nav-icon{width:18px;flex:none;color:#b3a1f3;font-size:15px;font-weight:700;text-align:center}
.fp-nav-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
.fp-nav-count{color:#8596b4;font-size:9px}
.fp-collapse{display:grid;place-items:center;border:1px solid #455372!important;border-radius:8px!important;background:#1a243a!important;color:#baaaff!important;font-size:13px;padding:0!important;width:26px;height:26px;flex:none;margin-inline-start:auto}
.fp-mobile-toggle{display:none;border:1px solid #4b5473!important;padding:8px 11px!important;border-radius:9px!important;background:#212844!important}
.fp-premium .shell>.side .fp40-sidebar-dock{padding:12px 2px 2px;border-top:1px solid #303a54;gap:8px}
.fp-premium .fp40-sidebar-dock button,.fp-premium .fp40-sidebar-dock a{border-radius:9px;font-size:11px;padding:10px}
.fp-premium .fp40-save-card{border-color:#364563;background:#131d30}
.fp-premium .shell .top{border-bottom:1px solid #2D3951;background:#0D1424;padding:0 25px}
.fp-premium .shell .main{max-width:1550px;padding:32px 30px}
.fp-premium .shell .hero{background:radial-gradient(ellipse 70% 110% at 95% 10%,#61438b77,transparent 75%),linear-gradient(120deg,#1A2842,#171C31);border-color:#4C476D;border-radius:19px;padding:34px}
.fp-premium .shell .card,.fp-premium .shell section.card{background:#141e31;border:1px solid #34435e;border-radius:14px;box-shadow:none}
.fp-premium .shell button.primary,.fp-premium .shell .primary{background:#AE99FC;border-color:#BCADFF;color:#171329;border-radius:9px;font-weight:800}
.fp-premium .shell button.primary:hover{background:#C6B8FF}
.fp-premium .shell input,.fp-premium .shell textarea,.fp-premium .shell select{background:#111b30;border:1px solid #435371;color:#f4f4ff;border-radius:9px}
.fp-premium .shell table{border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden}
.fp-premium .shell th{background:#222b44;color:#C1CDE4}
.fp-premium .shell tr:hover td{background:#1b2a40}
.fp-premium .shell h1,.fp-premium .shell h2,.fp-premium .shell h3{font-family:'Space Grotesk',system-ui,sans-serif;letter-spacing:-.5px}
body> a[href="/dashboard.html"][style*="position:fixed"],body>a[href="/subscription.html"][style*="position:fixed"]{display:none!important}
body>.fp-plans-link{bottom:12px;right:12px;opacity:.85;padding:9px 13px;z-index:31}
.shell.fp-collapsed{grid-template-columns:78px minmax(0,1fr)}
.fp-collapsed>.side{padding:18px 8px}
.fp-collapsed>.side>.brand{justify-content:center;padding:2px 0 15px}
.fp-collapsed>.side>.brand .fp-brand-title,.fp-collapsed .fp-create span,.fp-collapsed .fp-create b,.fp-collapsed .fp-toolsearch,.fp-collapsed .fp-group-head,.fp-collapsed .fp-nav-name,.fp-collapsed .fp-nav-count,.fp-collapsed .fp40-sidebar-dock{display:none!important}
.fp-collapsed .fp-create{justify-content:center;padding:12px 4px;font-size:21px}
.fp-collapsed .fp-nav-group{border:0;padding:0}
.fp-collapsed .fp-group-items{display:grid!important}
.fp-collapsed .fp-group-items button{justify-content:center!important;padding:10px 0!important}
.fp-collapsed .fp-nav-icon{font-size:18px}
.fp-collapsed>.side>.brand img{width:37px;height:37px}
.fp-collapsed .fp-collapse{position:absolute;inset-inline-end:-2px;top:0;width:19px;height:19px;font-size:10px}
/* F43: Actual account Dashboard — existing IDs and server data still drive the content */
body:has(.dash-shell){background:#090d17}
.dash-shell{grid-template-columns:265px minmax(0,1fr)}
.dash-aside{background:#0D1424;border-inline-end-color:#303c55;padding:22px 15px 13px}
.dash-logo{font-family:'Space Grotesk',system-ui;font-size:21px;padding:6px 7px 18px}
.dash-logo b{color:#BDABFF}
.dash-aside nav{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#4e5979 transparent}
.dash-aside nav a{color:#A8B7D1;border:1px solid transparent;font-size:12px;border-radius:9px;min-height:41px}
.dash-aside nav a.current,.dash-aside nav a:hover{background:#332d59;border-color:#625591;color:#fff}
.fp-dash-create{background:linear-gradient(112deg,#C5B2FF,#A98DF3);color:#1b1430!important;border-radius:10px;padding:13px 12px;text-decoration:none;font-size:12px;font-weight:850;text-align:center;margin:3px 5px 15px}
.fp-dash-create:hover{background:#D3C6FF}
.fp-dash-navlabel{color:#8b9bb8;font-weight:800;letter-spacing:1.3px;font-size:9px;margin:14px 12px 8px}
.fp-dash-search{background:#182236;border:1px solid #394963;border-radius:9px;padding:9px 11px;color:#9cacc8;margin:0 5px 13px;font-size:11px;display:flex;align-items:center;gap:9px}
.fp-dash-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#fff;font:inherit}
.dash-top{background:#0D1424;border-bottom-color:#303a54}
.dash-content{max-width:1530px}
.dash-welcome{background:radial-gradient(ellipse 60% 110% at 92% 7%,#674d9b72,transparent 80%),linear-gradient(120deg,#1a2841,#171c31);border-color:#5e5481;min-height:286px;padding:42px}
.dash-welcome h1{font-family:'Space Grotesk',sans-serif;letter-spacing:-1px;font-size:clamp(29px,3vw,45px)}
.welcome-art{background:#141b32;transform:rotate(-3deg);border-color:#7867aa}
.stat,.panel{background:#141d30;border-color:#35435e;border-radius:15px}
.stat>b,.account-plan{font-family:'Space Grotesk',sans-serif}
.panel h2{font-family:'Space Grotesk',sans-serif}
.btn.main,.goal-grid input:checked+span{background:#BBA7FF;color:#17142c;border-color:#C7B7FF}
.btn.main:hover{background:#D2C4FF}
.project-card{background:#1b263d;border-color:#41516c;transition:transform .18s,border-color .18s}
.project-card:hover{transform:translateY(-2px);border-color:#8e80b6}
.progress-track>div{background:linear-gradient(90deg,#80DCC7,#B9A6FF)}
.session-pill{background:#26223e;color:#C9BFFF}
.fp-dash-hamburger{display:none}
.fp-dash-mobile-head{display:none}
/* F43: Real onboarding and subscription pages */
body:has(.wizard-shell),body:has(.subscription){background:radial-gradient(ellipse 65% 32% at 50% 0%,#4a367066,transparent 78%),#090d18}
body:has(.wizard-shell) .wizard-panel,body:has(.subscription) .glass{background:linear-gradient(145deg,#182238,#131a2c);border-color:#495574;border-radius:17px}
body:has(.wizard-shell) .goal-grid label>span{background:#202c43;border-color:#4a5777;border-radius:13px}
body:has(.wizard-shell) .goal-grid input:checked+span{background:#352c55;border:1px solid #bba6ff}
body:has(.wizard-shell) .button.primary,body:has(.subscription) .btn.primary{background:#BBA7FF;border-color:#BBA7FF;color:#19152a}
body:has(.wizard-shell) h1,body:has(.subscription) h1{font-family:'Space Grotesk',sans-serif}
body:has(.subscription) .sub-top{box-shadow:0 25px 55px #0003}
body:has(.subscription) .metric{background:#192338}
/* F45: shared site polish */
body:has(.help-main) .help-article,body:has(.checklist-main) .review-panel{background:#161f32;border-color:#40506a}
body:has(.help-main) .help-search{background:#192439;border-color:#53617a}
body:has(.pricing) .plan{background:#141d30;border-color:#455472}
body:has(.pricing) .plan.featured{border-color:#BBA7FF;background:linear-gradient(165deg,#24213d,#141c2e)}
body:has(.pricing) .cta.primary{background:#BBA7FF;color:#1b1530}
@media(max-width:1000px){.shell{grid-template-columns:242px minmax(0,1fr)}.dash-shell{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:800px){
.shell{display:block}.shell>.side{position:fixed;inset:0 auto 0 0;width:min(285px,85vw);height:100dvh;z-index:100;transform:translateX(-110%);transition:transform .2s;box-shadow:10px 0 45px #0008}.shell>.side.fp-mobile-open{transform:none}
.fp-mobile-toggle{display:inline-flex;align-items:center;justify-content:center}
.fp-collapse{display:none}.shell.fp-collapsed{display:block}.shell.fp-collapsed>.side{width:min(285px,85vw);padding:20px 14px}.shell.fp-collapsed .fp-group-head,.shell.fp-collapsed .fp-nav-name,.shell.fp-collapsed .fp-nav-count,.shell.fp-collapsed .fp-toolsearch,.shell.fp-collapsed .fp40-sidebar-dock,.shell.fp-collapsed .fp-create span,.shell.fp-collapsed .fp-create b,.shell.fp-collapsed .fp-brand-title{display:initial!important}.shell.fp-collapsed .fp-group-items button{justify-content:initial!important}
.fp-premium .shell .main{padding:22px 16px}.fp-premium .shell .top{padding:0 15px}
.dash-shell{display:block}.dash-aside{display:none;position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(265px,84vw);height:100dvh;z-index:100;box-shadow:15px 0 50px #0008}.dash-aside.fp-mobile-open{display:flex}.fp-dash-hamburger{display:inline-grid;place-items:center;background:#262341;color:#fff;border:1px solid #66588d;border-radius:9px;width:38px;height:36px}
.fp-dash-mobile-head{display:flex;justify-content:space-between;align-items:center;padding:8px 10px}.dash-top{padding:14px 16px}
}
@media(max-width:520px){.dash-content{padding:14px}.dash-welcome{padding:25px}.dash-welcome h1{font-size:29px}.fp-premium .shell .top{height:auto;min-height:65px}.fp-premium .shell .main{padding:14px 12px}.shell .hero{padding:21px!important}.shell .hero h1{font-size:26px}.fp-premium .shell table{display:block;overflow-x:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
