/* Consistent operational surfaces; preserve the owner's saved theme colours. */
html body.portal-body .portal-content :is(.control-card,.glass-panel,.ao-card,.plan-studio-card){background:#fff!important;border:1px solid #e2e5ea!important;box-shadow:0 4px 16px #1c2f4410!important;border-radius:14px!important;padding:20px!important}
html body.portal-body .portal-content :is(h1,h2,h3){letter-spacing:0;overflow-wrap:anywhere;color:#243247}
html body.portal-body .portal-content h1{font-size:clamp(24px,2.5vw,34px)!important;line-height:1.2!important}
html body.portal-body .portal-content h2{font-size:20px!important;line-height:1.35!important}
html body.portal-body .portal-content p{line-height:1.6}
html body.portal-body .portal-content :is(table,.table-wrap){font-size:14px;font-variant-numeric:tabular-nums}
html body.portal-body .portal-content th{background:#f5f7fa!important;color:#445166!important;font-size:11px!important;letter-spacing:.05em;padding:12px!important}
html body.portal-body .portal-content td{border-bottom:1px solid #edf0f3!important;padding:14px 12px!important;vertical-align:top}
html body.portal-body .portal-content input:not([type=checkbox]):not([type=radio]),html body.portal-body .portal-content select{min-height:42px;border:1px solid #cbd3de;border-radius:8px;background:#fff;color:#263447;font:inherit;max-width:100%;box-sizing:border-box}
html body.portal-body .portal-content .btn{min-height:40px;border-radius:8px!important;font-size:13px!important;letter-spacing:.015em!important}
.alp-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:16px 0}
.alp-stage-grid>article{background:#fff;border:1px solid #e2e7ed;border-radius:12px;padding:16px;min-width:0}
.alp-stage-grid small{display:block;color:#66748a;font-size:11px;letter-spacing:.05em;text-transform:uppercase}.alp-stage-grid strong{display:block;font-size:24px;color:#20344b;margin:6px 0;font-variant-numeric:tabular-nums}.alp-stage-grid p{margin:4px 0;font-size:13px}.alp-stage-grid .attention{border-left:4px solid var(--brand-accent,#c8a346)}
html body.portal-body .native-workspace-nav{background:#fff;border:1px solid #e2e7ed;border-radius:12px;padding:14px;margin:0 0 20px;box-shadow:none!important}
.function-guide-page .module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}.function-guide-page .module-grid>a{display:flex;align-items:center;gap:14px;min-width:0;min-height:72px;padding:16px;border:1px solid #e4e8ed;border-radius:10px;color:#233449;background:#fbfcfe;box-shadow:none}.function-guide-page .module-grid>a>span{font-size:12px;color:#63738a}.function-guide-page .module-grid>a>div{flex:1;min-width:0}.function-guide-page .module-grid h3{font-size:16px!important;margin:0 0 5px}.function-guide-page [hidden]{display:none!important}
.vip-command__panel{z-index:2300!important;width:min(720px,calc(100vw - 32px))!important;max-height:80dvh!important}.vip-command__results{max-height:60dvh!important;overflow:auto!important;overscroll-behavior:contain}.vip-command__results a{min-height:52px!important;padding:12px!important}.vip-command__results small{color:#65738b}.vip-command__results[hidden],.alp-mobile-backdrop[hidden]{display:none!important}
.alp-mobile-backdrop{position:fixed;inset:0;border:0;background:#14223870;z-index:1990;touch-action:manipulation;cursor:pointer}.alp477-sidebar-close{min-width:44px;min-height:44px}
@media(min-width:1100px){.alp-mobile-backdrop{display:none!important}}
@media(max-width:1099px){
 html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell{display:block!important}
 html body.portal-body.alpline-human-os.release-496.design-lock-457 .portal-shell>#alpline-navigation{display:block!important;position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,320px)!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .18s!important;z-index:2000!important;pointer-events:auto!important;touch-action:pan-y!important}
 html body.portal-body.alpline-human-os.release-496.design-lock-457.sidebar-open .portal-shell>#alpline-navigation{transform:translateX(0)!important}
 html body.portal-body.sidebar-open:after{display:none!important;pointer-events:none!important}
 html body.portal-body .sidebar-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important;position:relative!important;z-index:2001!important;pointer-events:auto!important;touch-action:manipulation!important;color:#233247!important;background:#fff!important;border:1px solid #ccd5df!important;border-radius:9px!important;flex-shrink:0!important}
 html body.portal-body .portal-topbar{overflow:visible!important}.vip-command__panel{position:fixed!important;top:72px!important;left:12px!important;right:12px!important;width:auto!important;z-index:2300!important}.vip-command__results{max-height:65dvh!important}
 html body.portal-body .portal-content{padding:16px!important}.portal-content :is(main,.dashboard,.plan-studio){min-width:0!important;width:100%!important;box-sizing:border-box!important}.alp-stage-grid strong{font-size:22px}
}
