*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;overflow-x:hidden}body{background:#09090f;line-height:1.5;-webkit-font-smoothing:antialiased}:root{--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);--sal: env(safe-area-inset-left, 0px);--sar: env(safe-area-inset-right, 0px)}html,body{overflow-x:hidden;-webkit-text-size-adjust:100%}*,*:before,*:after{box-sizing:border-box}img,video,iframe,canvas,svg{max-width:100%;height:auto;display:block}input,textarea,select{font-size:max(16px,1em)}@media(pointer:coarse){button,a,select,[role=button]{min-height:44px;min-width:44px}input,textarea{font-size:16px!important;min-height:44px}}.analytics-cards~div,.pmo-detail h1,.pmo-sidebar h1{font-size:clamp(1.25rem,2.5vw + .5rem,2.25rem)}.stat-cards,.cat-filters,.toolbar-row,.project-actions-bar,.kanban-board,.tenant-tabs,.chat-main .quick-prompts,.pmo-detail .project-stats-row,.filter-pills{scrollbar-width:none;-webkit-overflow-scrolling:touch}.stat-cards::-webkit-scrollbar,.cat-filters::-webkit-scrollbar,.toolbar-row::-webkit-scrollbar,.project-actions-bar::-webkit-scrollbar,.kanban-board::-webkit-scrollbar,.tenant-tabs::-webkit-scrollbar,.chat-main .quick-prompts::-webkit-scrollbar,.pmo-detail .project-stats-row::-webkit-scrollbar,.filter-pills::-webkit-scrollbar{display:none}.stat-cards{display:flex!important;gap:6px;overflow-x:auto;flex-wrap:nowrap}.stat-cards>*{flex:1 1 0;min-width:min(120px,28vw);flex-shrink:0}.analytics-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr))!important;gap:clamp(8px,2vw,14px)!important}.analytics-charts{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr))!important;gap:clamp(12px,2vw,20px)!important}.projects-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;gap:clamp(8px,1.5vw,14px)!important}.overview-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))!important}.analytics-cards .health-grid,.pmo-detail .health-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))!important}.tenant-form-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))!important}.cat-filters{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px}.cat-filters>button{flex-shrink:0!important;white-space:nowrap!important}.project-actions-bar{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.project-actions-bar>button{flex:0 0 auto;white-space:nowrap}.toolbar-row{overflow-x:auto!important;flex-wrap:nowrap!important;gap:6px!important;padding-bottom:4px}.toolbar-row>*{flex-shrink:0!important}.kanban-board{overflow-x:auto!important;display:flex!important;gap:12px;padding-bottom:12px;scroll-snap-type:x mandatory}.kanban-col{flex-shrink:0!important;min-width:min(85vw,320px);scroll-snap-align:start}@media(min-width:80em){.kanban-col{min-width:280px;flex:1}}.chat-toggle-sidebar,.chat-sidebar-close{display:none!important}.chat-sidebar{min-height:0;overflow-y:auto}.chat-main .chat-msg-content{max-width:min(85%,640px);overflow-wrap:anywhere;word-break:break-word}.chat-main .quick-prompts{overflow-x:auto;flex-wrap:nowrap!important}.chat-main .quick-prompts>button{flex-shrink:0!important}.chat-main .quick-prompts::-webkit-scrollbar{display:none}.pmo-detail{overflow-wrap:anywhere;word-break:break-word}.pmo-detail .project-stats-row{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:8px!important}.pmo-detail .project-stats-row>div{min-width:100px;flex-shrink:0!important}.pmo-detail .action-btns{flex-wrap:wrap!important;gap:6px!important}.pmo-modal-content{max-width:min(540px,calc(100vw - 32px));max-height:min(90vh,90dvh);overflow-y:auto}.admin-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.admin-table-wrap table{min-width:700px}.admin-table-wrap td:first-child,.admin-table-wrap th:first-child{position:sticky;left:0;z-index:2}.tenant-tabs{overflow-x:auto}.tenant-tabs>button{flex-shrink:0!important;white-space:nowrap;min-height:44px}.ambient-orbs>div{width:clamp(100px,30vw,400px)!important;height:clamp(100px,30vw,400px)!important;filter:blur(clamp(30px,5vw,60px))!important}@media(max-width:48em){.mobile-menu-btn{display:flex!important}.pmo-nav,.header-divider,.header-role,.header-theme-btn,.header-search,.header-gear-wrap,.header-usage-btn,.header-invite-btn,.header-trash-btn,.header-notify-btn{display:none!important}header.pmo-header{padding:0 clamp(8px,2vw,14px)!important;height:56px!important;gap:8px!important}.mobile-menu-dropdown{top:56px!important;animation:slideDown .2s ease-out}.mobile-menu-dropdown button{min-height:48px!important}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.pmo-sidebar{width:100%!important;border-right:none!important;padding:clamp(8px,2vw,14px)!important;overflow-x:hidden!important}.pmo-detail{padding:clamp(8px,3vw,16px)!important}.view-mode-btns{display:none!important}.mobile-filter-toggle{display:flex!important}.add-project-btn{width:48px!important;height:48px!important;min-width:48px!important;font-size:20px!important;padding:0!important;position:fixed!important;bottom:calc(20px + var(--sab))!important;right:16px!important;z-index:50!important;border-radius:50%!important;box-shadow:0 4px 16px #e4002b66!important}.pmo-detail .project-hero{flex-direction:column!important;text-align:center;gap:12px!important}.pmo-detail .project-hero>div:first-child{align-self:center}.pmo-detail .project-badges{flex-wrap:wrap!important;justify-content:center!important;gap:4px!important}.pmo-detail .project-meta{flex-wrap:wrap!important;justify-content:center!important;gap:6px!important}.pmo-detail .project-meta>span{font-size:10px!important;white-space:nowrap!important}.pmo-footer{display:none!important}.chat-layout{flex-direction:column!important;position:relative!important;height:calc(100dvh - 56px)!important;overflow:hidden!important}.chat-sidebar{display:none!important}.chat-sidebar-backdrop{display:block!important}.chat-sidebar.chat-sidebar-open{display:flex!important;position:fixed!important;inset:0!important;width:100%!important;height:100%!important;z-index:200!important;flex-direction:column!important;border-right:none!important;padding:60px 16px 16px!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.chat-main{flex:1!important;min-width:0!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important}.chat-main>div:first-child{flex:1!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding-top:52px!important}.chat-input-wrap{padding-bottom:calc(8px + var(--sab))!important;flex-shrink:0!important}.chat-main .chat-msg-content{max-width:85vw!important}.chat-toggle-sidebar{display:flex!important;position:absolute!important;top:8px!important;left:8px!important;z-index:10!important}.chat-sidebar-close{display:flex!important}.pmo-modal-overlay{align-items:flex-end!important}.pmo-modal-content{max-width:100%!important;width:100%!important;max-height:95vh!important;max-height:95dvh!important;border-radius:20px 20px 0 0!important;margin:0!important;padding:20px 16px calc(20px + var(--sab))!important;animation:slideUp .25s ease-out}.pmo-modal-content .modal-header{position:sticky;top:0;z-index:5;padding-bottom:16px}.pmo-modal-content .modal-close{width:44px!important;height:44px!important;font-size:18px!important}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.admin-users-table{display:none!important}.admin-users-cards{display:grid!important}.users-page{padding:clamp(8px,2vw,14px)!important}.analytics-cards>div{padding:clamp(12px,3vw,24px)!important}}@media(min-width:48.01em)and (max-width:64em){.mobile-menu-btn{display:flex!important}.pmo-nav,.header-divider,.header-role,.header-theme-btn{display:none!important}header.pmo-header{padding:0 14px!important;height:56px!important;gap:8px!important}.header-search{flex:1!important}.header-search input{width:100%!important}.chat-sidebar{width:200px!important}.ambient-orbs>div{opacity:.5!important}}@media(min-width:64.01em)and (max-width:90em){.header-search{max-width:140px!important}.header-search input{width:100px!important}.header-role,.header-theme-btn{display:none!important}.pmo-nav button{padding:8px 12px!important;font-size:13px!important}}@media(min-width:48em)and (max-width:64em)and (orientation:landscape){html,body,#root{overflow:hidden;height:100%;height:100dvh}.ambient-orbs{background:none!important}.ambient-orbs>div{width:25vw!important;height:25vw!important;filter:blur(30px)!important;opacity:.5!important}}@supports (-webkit-touch-callout: none){.chat-input-wrap{padding-bottom:env(safe-area-inset-bottom,0px)!important}.chat-layout{height:calc(100dvh - 56px)!important}}@media print{header,.mobile-menu-btn,.mobile-menu-dropdown,.ambient-orbs,.chat-sidebar,.add-project-btn,.project-actions-bar{display:none!important}.pmo-sidebar,.pmo-detail{padding:0!important}*{background:transparent!important;color:#000!important;box-shadow:none!important}}
