/* AETHRION Workspace v6 — unified corporate workspace */
:root{--a6-sidebar:286px;--a6-ink:#172b43;--a6-muted:#60738a;--a6-line:#dce5ef;--a6-blue:#24558d;--a6-bg:#f3f6fa}
body.ae-shell-on{background:var(--a6-bg)!important;color:var(--a6-ink)!important;font-family:"DM Sans","Segoe UI",sans-serif!important}
body.ae-shell-on #mainSite{display:none!important}
body.ae-shell-on #aethrionFeaturesTrigger,body.ae-shell-on #aethrionFeaturesButton,body.ae-shell-on #aethrionExperienceDrawer,body.ae-shell-on #aethrionExperienceBackdrop,body.ae-shell-on #aethrionFeaturesPanel,body.ae-shell-on #aethrionExperienceBackdrop,body.ae-shell-on .aethrion-sidebar,body.ae-shell-on .aethrion-sidebar-toggle,body.ae-shell-on .aethrion-sidebar-backdrop{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.ae-shell-on #aeWorkspaceSidebar{position:fixed!important;inset:0 auto 0 0!important;width:var(--a6-sidebar)!important;height:100dvh!important;z-index:100100!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important;padding:22px 15px 14px!important;background:linear-gradient(180deg,#10243a 0%,#0c1b2d 100%)!important;border-right:1px solid rgba(177,204,229,.14)!important;box-shadow:12px 0 38px rgba(12,29,48,.10)!important;transform:translateX(0);transition:transform .24s ease!important;box-sizing:border-box!important}
body.ae-shell-on .aews-brand{display:flex!important;align-items:center!important;gap:12px!important;flex:0 0 auto!important;padding:4px 8px 20px!important;margin:0 0 16px!important;border-bottom:1px solid rgba(210,228,245,.13)!important}
body.ae-shell-on .aews-logo{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;overflow:hidden!important;flex:0 0 44px!important;border-radius:13px!important;background:#0d2034!important;border:1px solid rgba(154,195,224,.35)!important;box-shadow:0 5px 18px rgba(0,0,0,.16)!important;color:#fff!important;font-size:0!important}
body.ae-shell-on .aews-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:1px!important;filter:none!important}
body.ae-shell-on .aews-brand strong{display:block!important;color:#f3f7fc!important;font:800 13px/1.35 Manrope,"Segoe UI",sans-serif!important;letter-spacing:.14em!important}
body.ae-shell-on .aews-brand small{display:block!important;margin-top:5px!important;color:#91a9bf!important;font-size:8px!important;letter-spacing:.12em!important;line-height:1.5!important}
body.ae-shell-on .aews-search{display:block!important;flex:0 0 auto!important;padding:0 1px 13px!important}
body.ae-shell-on .aews-search span{display:none!important}
body.ae-shell-on .aews-search input{display:block!important;width:100%!important;height:40px!important;box-sizing:border-box!important;padding:0 12px!important;border:1px solid rgba(183,207,229,.18)!important;border-radius:10px!important;outline:none!important;background:#142b43!important;color:#f4f8fc!important;font:500 12px/1.4 "DM Sans","Segoe UI",sans-serif!important;box-shadow:none!important}
body.ae-shell-on .aews-search input::placeholder{color:#91a5b9!important}
body.ae-shell-on .aews-search input:focus{border-color:#6597c4!important;box-shadow:0 0 0 3px rgba(89,151,202,.16)!important}
body.ae-shell-on .aews-nav{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:0 2px 14px!important;scrollbar-width:thin!important;scrollbar-color:#38536e transparent!important}
body.ae-shell-on .aews-section{margin:16px 0 6px!important;padding:0 9px!important;color:#7f9ab5!important;font-size:9px!important;font-weight:800!important;letter-spacing:.14em!important;line-height:1.6!important;text-transform:uppercase!important}
body.ae-shell-on .aews-link{width:100%!important;min-height:40px!important;display:flex!important;align-items:center!important;gap:11px!important;margin:2px 0!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#c2d1df!important;text-align:left!important;font:600 11.5px/1.35 "DM Sans","Segoe UI",sans-serif!important;box-shadow:none!important;cursor:pointer!important;transition:background .16s,border-color .16s,color .16s!important}
body.ae-shell-on .aews-link>span:last-child{min-width:0!important;overflow-wrap:anywhere!important}
body.ae-shell-on .aews-link .aews-icon{width:26px!important;height:26px!important;flex:0 0 26px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:rgba(213,231,247,.09)!important;color:#a9c8e4!important;font-size:13px!important}
body.ae-shell-on .aews-link:hover{background:rgba(194,219,242,.09)!important;border-color:rgba(194,219,242,.12)!important;color:#fff!important;transform:none!important}
body.ae-shell-on .aews-link.is-active{background:linear-gradient(100deg,rgba(58,118,174,.34),rgba(44,92,139,.16))!important;border-color:rgba(118,169,211,.28)!important;color:#fff!important;box-shadow:inset 3px 0 #70b5e8!important}
body.ae-shell-on .aews-link.is-active .aews-icon{background:#2a5277!important;color:#fff!important}
body.ae-shell-on .aews-footer{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;padding:13px 7px 3px!important;margin-top:8px!important;border-top:1px solid rgba(210,228,245,.13)!important}
body.ae-shell-on .aews-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;border:1px solid rgba(162,196,226,.26)!important;border-radius:10px!important;background:#1d3d5a!important;color:#e6f2ff!important;font-size:13px!important;font-weight:800!important}
body.ae-shell-on .aews-user{min-width:0!important}
body.ae-shell-on .aews-user strong{display:block!important;max-width:175px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#edf4fb!important;font-size:11px!important;font-weight:750!important}
body.ae-shell-on .aews-user small{display:block!important;margin-top:4px!important;color:#8da5bc!important;font-size:9px!important}
body.ae-shell-on #aewsMobileToggle{display:none!important}
body.ae-shell-on #aewsMobileShade{display:none!important}
body.ae-shell-on.logged-in-user #dashboardArea{display:block!important;position:relative!important;width:calc(100% - var(--a6-sidebar))!important;min-height:100dvh!important;margin:0 0 0 var(--a6-sidebar)!important;padding:28px clamp(18px,3.2vw,48px)!important;box-sizing:border-box!important;background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%)!important;color:var(--a6-ink)!important;overflow:visible!important}
body.ae-shell-on.logged-in-user #dashboardArea .dashboard-content-wrapper,body.ae-shell-on.logged-in-user #dashboardArea .dashboard-content{width:100%!important;max-width:1380px!important;min-height:calc(100dvh - 56px)!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important}
body.ae-shell-on #aethrionExperienceWelcome{position:relative!important;isolation:isolate!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;width:100%!important;max-width:1280px!important;min-height:calc(100dvh - 56px)!important;margin:0 auto!important;padding:clamp(28px,5vw,76px)!important;box-sizing:border-box!important;overflow:hidden!important;border:1px solid #dce5ef!important;border-radius:24px!important;background:radial-gradient(ellipse at 90% 8%,rgba(83,139,191,.12),transparent 39%),radial-gradient(ellipse at 5% 100%,rgba(188,164,119,.08),transparent 38%),linear-gradient(145deg,#fff 0%,#f8fbff 100%)!important;box-shadow:0 22px 65px rgba(20,46,76,.075)!important;color:#172b43!important}
body.ae-shell-on #aethrionExperienceWelcome:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 0%,rgba(61,113,165,.035) 47%,transparent 72%)!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-eyebrow{display:inline-flex!important;align-items:center!important;gap:9px!important;margin:0 0 24px!important;padding:9px 13px!important;border:1px solid #dce6f0!important;border-radius:999px!important;background:#f7faff!important;color:#526f8e!important;font-size:9px!important;font-weight:850!important;letter-spacing:.14em!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#269c8d!important;box-shadow:0 0 0 4px rgba(38,156,141,.12)!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-greeting{margin:0 0 8px!important;color:#59738e!important;font-size:clamp(13px,1.4vw,16px)!important;font-weight:650!important;line-height:1.7!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-name{max-width:850px!important;margin:0!important;color:#132b45!important;font:850 clamp(39px,6.2vw,76px)/1.03 Manrope,"Segoe UI",sans-serif!important;letter-spacing:-.065em!important;overflow-wrap:anywhere!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-name em{display:inline-block!important;margin-top:7px!important;color:#2c6398!important;font-style:normal!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-role{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:24px 0 0!important;padding:8px 11px!important;border:1px solid #dce6ef!important;border-radius:9px!important;background:#fff!important;color:#456583!important;font-size:10px!important;font-weight:750!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-copy{max-width:640px!important;margin:22px 0 0!important;color:#61758b!important;font-size:clamp(14px,1.4vw,17px)!important;line-height:1.95!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-grid,body.ae-shell-on #aethrionExperienceWelcome .aew-actions,body.ae-shell-on #aethrionExperienceWelcome .aews-home-cta{display:none!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-v6-hint{display:flex!important;align-items:center!important;gap:12px!important;margin-top:34px!important;padding-top:18px!important;border-top:1px solid #e2eaf2!important;color:#6c8095!important;font-size:11px!important;line-height:1.7!important}
body.ae-shell-on #aethrionExperienceWelcome .aew-v6-hint b{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:9px!important;background:#eaf2fa!important;color:#275a8d!important;font-size:16px!important}
body.ae-shell-on .aew-authenticated-panel,body.ae-shell-on #dashboardArea .dashboard-card{color:#243b53}
body.ae-shell-on #dashboardArea p,body.ae-shell-on #dashboardArea li{color:inherit;line-height:1.75}
body.ae-shell-on #dashboardArea button{font-family:"DM Sans","Segoe UI",sans-serif}
body.ae-shell-on .aethrion-features-panel,body.ae-shell-on #aethrionFeaturesPanel,body.ae-shell-on #aethrionExperienceDrawer,body.ae-shell-on #aethrionFeaturesTrigger{display:none!important}
#splashScreen{width:100vw!important;height:100dvh!important;min-height:100dvh!important;padding:22px 18px!important;box-sizing:border-box!important;background:radial-gradient(ellipse at 50% 38%,#183d5c 0%,#0b1d30 44%,#06101d 100%)!important}
#splashScreen .splash-logo{width:clamp(132px,24vw,178px)!important;height:clamp(132px,24vw,178px)!important;padding:0!important;margin:0!important;border:1px solid rgba(157,205,236,.48)!important;border-radius:30px!important;background:#0b1d30!important;box-shadow:0 18px 48px rgba(0,0,0,.32),0 0 0 9px rgba(97,160,204,.08)!important;overflow:hidden!important}
#splashScreen .splash-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0!important;object-fit:contain!important;display:block!important;filter:none!important;opacity:1!important}
#splashScreen .splash-logo-shimmer{display:none!important}
#splashScreen .splash-logo-outer-ring,#splashScreen .splash-logo-inner-ring{opacity:.24!important}
#splashScreen .splash-title{margin-top:26px!important;color:#f4f8fc!important;font-size:clamp(26px,5.4vw,38px)!important;font-weight:850!important;letter-spacing:.2em!important;text-align:center!important}
#splashScreen .splash-sub{max-width:90vw!important;color:#a6bfd4!important;font-size:clamp(10px,2.8vw,13px)!important;letter-spacing:.1em!important;text-align:center!important}
#splashScreen .splash-progress-wrap{width:min(360px,86vw)!important}
#splashScreen .splash-progress{height:5px!important;background:rgba(224,240,252,.15)!important;border-radius:999px!important}
#splashScreen .splash-progress-bar{background:linear-gradient(90deg,#4c9bd2,#7bcbd1)!important;box-shadow:0 0 12px rgba(95,194,214,.18)!important;border-radius:999px!important}
#authModal .modal{width:min(460px,calc(100vw - 28px))!important;max-width:460px!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;box-sizing:border-box!important;padding:clamp(20px,4vw,32px)!important;border:1px solid #dce5ef!important;border-radius:20px!important;background:#fff!important;color:#203851!important;box-shadow:0 28px 90px rgba(12,31,54,.22)!important}
#authModal .form-input{width:100%!important;min-height:46px!important;box-sizing:border-box!important;padding:12px 13px!important;border:1px solid #dce5ef!important;border-radius:10px!important;background:#fbfcfe!important;color:#203851!important;font-size:14px!important}
#authModal .form-input::placeholder{color:#7e8fa2!important}
#authModal .modal-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:5px!important;border-radius:12px!important;background:#f1f5fa!important}
#authModal .modal-tab{min-width:0!important;padding:10px 5px!important;border-radius:8px!important;color:#63768b!important;font-size:11px!important}
#authModal .modal-tab.active{background:#fff!important;color:#214f87!important;box-shadow:0 2px 8px rgba(26,51,82,.08)!important}
#authModal .btn-primary{min-height:46px!important;border-radius:10px!important;background:#214f87!important;color:#fff!important}
#aethrionGoogleFallback{display:none;width:100%;margin:8px 0}
#aethrionGoogleFallback.is-visible{display:flex!important;justify-content:center!important;align-items:center!important;min-height:44px!important}
#aethrionGoogleFallback iframe{max-width:100%!important}
@media(max-width:1000px){
 body.ae-shell-on #aeWorkspaceSidebar{width:286px!important;transform:translateX(-105%)!important}
 body.ae-shell-on.aews-nav-open #aeWorkspaceSidebar{transform:translateX(0)!important}
 body.ae-shell-on #aewsMobileToggle{display:grid!important;place-items:center!important;position:fixed!important;left:12px!important;top:12px!important;z-index:100130!important;width:44px!important;height:44px!important;border:1px solid #d9e4ef!important;border-radius:12px!important;background:#fff!important;color:#214f85!important;box-shadow:0 6px 20px rgba(20,44,75,.14)!important;font-size:20px!important}
 body.ae-shell-on #aewsMobileShade{display:block!important;position:fixed!important;inset:0!important;z-index:100090!important;background:rgba(8,24,42,.48)!important;backdrop-filter:blur(3px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .2s ease!important}
 body.ae-shell-on.aews-nav-open #aewsMobileShade{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
 body.ae-shell-on.logged-in-user #dashboardArea{width:100%!important;margin:0!important;padding:70px 14px 18px!important}
 body.ae-shell-on #aethrionExperienceWelcome{min-height:calc(100dvh - 90px)!important;padding:clamp(24px,6vw,42px)!important;border-radius:18px!important}
 body.ae-shell-on #aethrionExperienceWelcome .aew-name{font-size:clamp(36px,9vw,58px)!important}
}
@media(max-width:420px){
 #splashScreen .splash-logo{width:126px!important;height:126px!important;border-radius:24px!important}
 #splashScreen .splash-title{font-size:24px!important;letter-spacing:.14em!important}
 body.ae-shell-on #aethrionExperienceWelcome{padding:22px!important}
 body.ae-shell-on #aethrionExperienceWelcome .aew-name{font-size:36px!important}
}
@media(prefers-reduced-motion:reduce){body.ae-shell-on *,body.ae-shell-on *:before,body.ae-shell-on *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Feature stage: one selected workspace at a time */
body.ae-shell-on #aethrionWorkspaceStage{display:flex!important;flex-direction:column!important;width:100%!important;min-height:calc(100dvh - 56px)!important;max-width:1380px!important;margin:0 auto!important;overflow:hidden!important;border:1px solid #dce5ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 52px rgba(20,46,76,.065)!important}
body.ae-shell-on .ae-ws-stage-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex:0 0 auto!important;padding:20px 25px!important;border-bottom:1px solid #e5ebf2!important;background:linear-gradient(100deg,#fff,#f8fbff)!important}
body.ae-shell-on .ae-ws-stage-head h2{margin:5px 0 0!important;color:#18334f!important;font:800 clamp(19px,2.5vw,27px)/1.25 Manrope,"Segoe UI",sans-serif!important;letter-spacing:-.035em!important}
body.ae-shell-on .ae-ws-stage-head p{margin:6px 0 0!important;color:#718399!important;font-size:11px!important;line-height:1.6!important}
body.ae-shell-on .ae-ws-stage-kicker{color:#6684a1!important;font-size:9px!important;font-weight:850!important;letter-spacing:.15em!important}
body.ae-shell-on .ae-ws-open-tab{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;min-height:38px!important;padding:0 12px!important;border:1px solid #dce5ef!important;border-radius:9px!important;background:#fff!important;color:#355d84!important;font-size:10px!important;font-weight:750!important;text-decoration:none!important}
body.ae-shell-on .ae-ws-open-tab:hover{background:#f0f6fc!important;border-color:#b7cbe0!important}
body.ae-shell-on .ae-ws-stage-state{display:inline-flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;color:#6b8196!important;font-size:10px!important;font-weight:700!important}
body.ae-shell-on .ae-ws-stage-state i{width:7px!important;height:7px!important;border-radius:50%!important;background:#289985!important}
body.ae-shell-on .ae-ws-stage-frame{display:block!important;flex:1 1 auto!important;width:100%!important;min-height:calc(100dvh - 165px)!important;border:0!important;background:#f5f8fc!important}
body.ae-shell-on .ae-ws-stage-empty{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:420px!important;padding:28px!important;text-align:center!important;background:radial-gradient(ellipse at 50% 30%,rgba(64,126,180,.08),transparent 55%),#fbfcfe!important}
body.ae-shell-on .ae-ws-stage-emblem{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;margin-bottom:18px!important;border:1px solid #d9e6f2!important;border-radius:18px!important;background:linear-gradient(145deg,#f1f7fd,#e5eef8)!important;color:#24598d!important;font:850 24px/1 Manrope,sans-serif!important;box-shadow:0 10px 28px rgba(29,70,109,.08)!important}
body.ae-shell-on .ae-ws-stage-empty h3{margin:0 0 10px!important;color:#203c59!important;font:800 22px/1.35 Manrope,sans-serif!important}
body.ae-shell-on .ae-ws-stage-empty p{max-width:480px!important;margin:0!important;color:#718399!important;font-size:12px!important;line-height:1.9!important}
@media(max-width:1000px){body.ae-shell-on #aethrionWorkspaceStage{min-height:calc(100dvh - 88px)!important;border-radius:15px!important}body.ae-shell-on .ae-ws-stage-head{padding:17px!important;align-items:flex-start!important}body.ae-shell-on .ae-ws-stage-frame{min-height:calc(100dvh - 185px)!important}}
@media(max-width:480px){body.ae-shell-on .ae-ws-stage-head{flex-direction:column!important;gap:12px!important}body.ae-shell-on .ae-ws-open-tab{min-height:36px!important}body.ae-shell-on .ae-ws-stage-frame{min-height:calc(100dvh - 230px)!important}body.ae-shell-on .ae-ws-stage-empty{min-height:340px!important;padding:20px!important}}

/* Public landing readability correction — preserve dark media/code surfaces */
#mainSite{color:#243950!important}
#mainSite .hero-sub,#mainSite .section-header p,#mainSite .section-subtitle,#mainSite .section-desc{color:#5f7288!important;line-height:1.85!important}
#mainSite .hero-title{color:#142942!important}
#mainSite .hero-title .line2{color:#2e435d!important}
#mainSite .feature-title,#mainSite .category-title,#mainSite .model-mini-name,#mainSite .model-tile-name{color:#203851!important}
#mainSite .feature-desc,#mainSite .category-desc,#mainSite .feature-card p,#mainSite .category-card p,#mainSite .ecosystem-card p{color:#5e7187!important;line-height:1.8!important}
#mainSite .section-tag{color:#876b42!important}
#mainSite .stat-label,#mainSite .model-mini-provider,#mainSite .model-tile-provider{color:#6c7f94!important}
#mainSite .nav-links a{color:#425870!important}
#mainSite .nav-links a:hover{color:#194e87!important}
#mainSite .hero-actions .btn-secondary,#mainSite .btn-secondary{background:#fff!important;color:#2e4b68!important;border-color:#d7e1ec!important}
#mainSite .feature-card,#mainSite .category-card,#mainSite .ecosystem-card,#mainSite .tech-item,#mainSite .price-card,#mainSite .model-card{color:#263b54!important}
#authModal .modal-header h3{color:#183653!important}
#authModal label span{color:#52677e!important;font-size:12px!important;line-height:1.65!important}
#authModal label a{color:#245b94!important;text-decoration:underline!important;text-underline-offset:2px!important}
#authModal .btn-google,#authModal .btn-facebook{width:100%!important;min-height:44px!important;border-radius:10px!important;box-shadow:none!important}
#authModal .form-input:focus{outline:3px solid rgba(36,89,168,.13)!important;border-color:#7399c2!important}
/* Workspace v6.1 — reliable active-stage and mobile behavior */
body.ae-shell-on.aews-feature-view #aethrionWorkspaceStage{display:flex!important}
body.ae-shell-on.aews-feature-view #aethrionExperienceWelcome{display:none!important}
body.ae-shell-on #aethrionWorkspaceStage{width:100%;min-width:0;min-height:calc(100dvh - 56px);box-sizing:border-box;flex-direction:column;overflow:hidden;border:1px solid #dce5ef;border-radius:18px;background:#fff;box-shadow:0 12px 38px rgba(23,43,67,.06)}
body.ae-shell-on .ae-ws-stage-frame{min-width:0!important;min-height:calc(100dvh - 165px)!important;flex:1 1 auto!important}
body.ae-shell-on .ae-ws-stage-head{min-width:0!important;flex-wrap:wrap!important}
body.ae-shell-on .ae-ws-stage-head>div{min-width:0!important}
body.ae-shell-on .ae-ws-stage-head h2{overflow-wrap:anywhere!important}
@media(max-width:1000px){
 body.ae-shell-on #dashboardArea{width:100%!important;margin-left:0!important;padding:72px 14px 20px!important}
 body.ae-shell-on #aethrionWorkspaceStage{min-height:calc(100dvh - 94px)!important}
 body.ae-shell-on .ae-ws-stage-frame{min-height:calc(100dvh - 200px)!important}
}
@media(max-width:480px){
 body.ae-shell-on #dashboardArea{padding:70px 10px 14px!important}
 body.ae-shell-on #aethrionWorkspaceStage{border-radius:13px!important}
 body.ae-shell-on .ae-ws-stage-head{padding:15px!important}
 body.ae-shell-on .ae-ws-stage-head p{font-size:12px!important}
 body.ae-shell-on .ae-ws-stage-frame{min-height:calc(100dvh - 230px)!important}
}


/* AETHRION Workspace v6.1 — sidebar search position and typography collision repair */
body.ae-shell-on #aeWorkspaceSidebar{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;min-height:100dvh!important;overflow:hidden!important;
}
body.ae-shell-on #aeWorkspaceSidebar .aews-brand{flex:0 0 auto!important;min-width:0!important}
body.ae-shell-on #aeWorkspaceSidebar .aews-search{
  position:relative!important;inset:auto!important;order:0!important;flex:0 0 auto!important;
  display:block!important;width:100%!important;min-width:0!important;margin:0!important;
  padding:12px 14px 14px!important;box-sizing:border-box!important;
  transform:none!important;float:none!important;
}
body.ae-shell-on #aeWorkspaceSidebar .aews-search input{
  display:block!important;width:100%!important;max-width:100%!important;height:42px!important;
  margin:0!important;box-sizing:border-box!important;white-space:nowrap!important;
  text-overflow:ellipsis!important;overflow:hidden!important;
}
body.ae-shell-on #aeWorkspaceSidebar .aews-nav{
  order:1!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
}
body.ae-shell-on #aeWorkspaceSidebar .aews-footer{order:2!important;flex:0 0 auto!important}
body.ae-shell-on #dashboardArea,
body.ae-shell-on #dashboardArea *{min-width:0}
body.ae-shell-on #dashboardArea h1,
body.ae-shell-on #dashboardArea h2,
body.ae-shell-on #dashboardArea h3,
body.ae-shell-on #dashboardArea h4,
body.ae-shell-on #dashboardArea p,
body.ae-shell-on #dashboardArea small,
body.ae-shell-on #dashboardArea strong,
body.ae-shell-on #dashboardArea button,
body.ae-shell-on #dashboardArea a{
  max-width:100%;overflow-wrap:anywhere;word-break:normal;text-wrap:pretty;
}
body.ae-shell-on #dashboardArea h1,
body.ae-shell-on #dashboardArea h2,
body.ae-shell-on #dashboardArea h3{line-height:1.18!important}
body.ae-shell-on #dashboardArea p{line-height:1.65!important}
body.ae-shell-on #aethrionWorkspaceStage .ae-ws-stage-head{gap:14px!important}
body.ae-shell-on #aethrionWorkspaceStage .ae-ws-stage-head>div{flex:1 1 260px!important;min-width:0!important}
body.ae-shell-on #aethrionWorkspaceStage .ae-ws-open-tab,
body.ae-shell-on #aethrionWorkspaceStage .ae-ws-stage-state{flex:0 0 auto!important;max-width:100%!important}
body.ae-shell-on .aed-search,
body.ae-shell-on #aethrionFeaturesPanel .feature-search,
body.ae-shell-on #aethrionFeaturesPanel input[type="search"]{display:none!important}
@media(max-width:768px){
 body.ae-shell-on #aeWorkspaceSidebar{min-height:100dvh!important;height:100dvh!important}
 body.ae-shell-on #aeWorkspaceSidebar .aews-search{padding:10px 12px 12px!important}
 body.ae-shell-on #dashboardArea h1{font-size:clamp(26px,7vw,42px)!important}
}

/* Consolidated navigation: keep exactly one visible search field inside the left sidebar. */
body.ae-shell-on #aeWorkspaceSidebar{box-sizing:border-box!important;min-height:0!important}
body.ae-shell-on #aeWorkspaceSidebar .aews-search{display:block!important;visibility:visible!important;pointer-events:auto!important;position:relative!important;inset:auto!important;order:0!important;flex:0 0 auto!important;width:100%!important;margin:0!important;padding:12px 14px 14px!important;transform:none!important;float:none!important}
body.ae-shell-on #aeWorkspaceSidebar .aews-search span{display:block!important;position:absolute!important;left:26px!important;top:50%!important;transform:translateY(-50%)!important;color:#91a5b9!important;font-size:17px!important;line-height:1!important;pointer-events:none!important}
body.ae-shell-on #aeWorkspaceSidebar #aewsSearch{display:block!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;height:42px!important;max-width:100%!important;margin:0!important;padding:0 12px 0 36px!important;box-sizing:border-box!important}
body.ae-shell-on .aed-search,body.ae-shell-on #aedSearch{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.ae-shell-on #aeWorkspaceSidebar #aewsNav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}
body.ae-shell-on #aeWorkspaceSidebar .aews-footer{flex:0 0 auto!important;margin-top:auto!important;max-width:100%!important}
body.ae-shell-on #aeWorkspaceSidebar .aews-user,body.ae-shell-on #aeWorkspaceSidebar .aews-user strong,body.ae-shell-on #aeWorkspaceSidebar .aews-user small{min-width:0!important;overflow-wrap:anywhere!important}
body.ae-shell-on #aethrionWorkspaceStage,body.ae-shell-on .ae-ws-stage-head,body.ae-shell-on .ae-ws-stage-frame{min-width:0!important;max-width:100%!important}
body.ae-shell-on .ae-ws-stage-head h2,body.ae-shell-on .ae-ws-stage-head p,body.ae-shell-on .ae-ws-stage-empty h3,body.ae-shell-on .ae-ws-stage-empty p{overflow-wrap:anywhere!important;word-break:normal!important}


/* Compact, collapsible workspace navigation — GitHub/Cloudflare-inspired */
body.ae-shell-on .aews-section-toggle{
 width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
 padding:7px 9px!important;margin:13px 0 5px!important;border:0!important;border-radius:7px!important;
 background:transparent!important;text-align:left!important;cursor:pointer!important;user-select:none!important;
}
body.ae-shell-on .aews-section-toggle:hover{background:rgba(194,219,242,.07)!important;color:#eaf4ff!important}
body.ae-shell-on .aews-section-meta{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
body.ae-shell-on .aews-group-count{display:inline-grid!important;place-items:center!important;min-width:20px!important;height:18px!important;padding:0 5px!important;border:1px solid rgba(176,203,229,.18)!important;border-radius:5px!important;color:#9bb3ca!important;font-size:9px!important;line-height:1!important;font-weight:700!important}
body.ae-shell-on .aews-group-chevron{display:inline-block!important;width:12px!important;color:#86a1ba!important;font-size:14px!important;text-align:center!important}
body.ae-shell-on .aews-group-items[hidden]{display:none!important}
body.ae-shell-on .aews-group-items{display:block!important}
body.ae-shell-on .aews-search input{font-size:12px!important}
@media(max-width:760px){
 body.ae-shell-on #aeWorkspaceSidebar{width:min(300px,86vw)!important}
 body.ae-shell-on #aewsMobileToggle{display:grid!important}
}


/* Workspace v7 — authenticated experience is a true app viewport, not the legacy dashboard page. */
html:has(body.ae-shell-on),body.ae-shell-on{width:100%!important;height:100%!important;min-height:100%!important;overflow:hidden!important}
body.ae-shell-on #dashboardArea{position:fixed!important;inset:0 0 0 var(--a6-sidebar,286px)!important;width:auto!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:24px clamp(16px,3vw,42px)!important;overflow:auto!important;overscroll-behavior:contain!important;box-sizing:border-box!important}
body.ae-shell-on #dashboardArea>.dashboard-content-wrapper,body.ae-shell-on #dashboardArea .dashboard-content-wrapper{width:100%!important;max-width:none!important;min-height:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body.ae-shell-on #aethrionExperienceWelcome{min-height:calc(100dvh - 48px)!important}
body.ae-shell-on #aethrionWorkspaceStage{width:100%!important;min-height:calc(100dvh - 48px)!important;max-width:none!important;margin:0!important}
body.ae-shell-on .aews-search{display:block!important;position:relative!important;flex:0 0 auto!important;width:100%!important;padding:0 1px 13px!important;box-sizing:border-box!important}
body.ae-shell-on .aews-search span{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;color:#91a5b9!important;font-size:18px!important;pointer-events:none!important}
body.ae-shell-on .aews-search input{display:block!important;width:100%!important;height:42px!important;padding:0 12px 0 36px!important;border:1px solid rgba(183,207,229,.18)!important;border-radius:10px!important;background:#142b43!important;color:#f4f8fc!important;box-sizing:border-box!important;font:500 12px/1.4 "DM Sans","Segoe UI",sans-serif!important}
body.ae-shell-on .aews-search input::placeholder{color:#91a5b9!important}
body.ae-shell-on .aews-search input:focus{outline:none!important;border-color:#6597c4!important;box-shadow:0 0 0 3px rgba(89,151,202,.16)!important}
@media(max-width:1000px){
 body.ae-shell-on #dashboardArea{inset:0!important;width:100%!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:70px 14px 18px!important}
 body.ae-shell-on #aethrionExperienceWelcome{min-height:calc(100dvh - 88px)!important}
 body.ae-shell-on #aethrionWorkspaceStage{min-height:calc(100dvh - 90px)!important}
}
@media(max-width:480px){body.ae-shell-on #dashboardArea{padding:68px 10px 12px!important}}
