/* SIMI 2.4: task-focused phones and tablets. */
.mobile-workspace,.mobile-page-title,.drawer-close{display:none}
.drawer-logout{background:#ffffff0d;color:#e5efff;border:1px solid #ffffff30;min-height:44px;font-size:12px;width:100%;box-shadow:none}
.menu-search{padding:18px 18px 0}.menu-search label{font-size:11px;color:#bdcce4}.menu-search input{margin-top:8px;background:#ffffff0d;border:1px solid #ffffff30;color:#fff;font-size:13px;padding:12px;min-width:0;width:100%}.menu-search input::placeholder{color:#b8cae5;font-size:11px}.menu-search p{color:#dce8fa;font-size:12px}
.sidebar a[hidden],.sidebar .navlabel[hidden]{display:none!important}.device-preferences{padding:18px;color:#c5d4eb;border-top:1px solid #ffffff20}.device-preferences label{display:flex;align-items:center;gap:10px;font-size:12px;color:inherit;min-height:44px}.device-preferences input{width:19px;height:19px;min-height:0;margin:0;accent-color:#76acff}.device-preferences small{font-size:10px;line-height:1.5;display:block}.device-preferences>a{display:block;padding:14px 0;font-size:12px;color:#fff}
button:active,.btn:active,.workspace-shortcuts a:active,.mobile-dock a:active{filter:brightness(.88)}
.connection-banner{position:fixed;z-index:100;bottom:calc(85px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:520px;margin:auto;background:#fff4d7;border:1px solid #d2ad48;color:#664b16;border-radius:12px;padding:14px 18px;font-size:13px;box-shadow:0 8px 24px #172f4520}
@media(max-width:1100px){
 .shell{display:block}.sidebar{position:fixed;inset:0 auto 0 0;width:min(340px,calc(100% - 32px));height:100dvh;z-index:60;transform:translateX(-105%);visibility:hidden;overflow-y:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom);transition:transform .22s ease,visibility .22s}.nav-open .sidebar{transform:none;visibility:visible}.nav-overlay{position:fixed;inset:0;background:#142d5266;backdrop-filter:blur(3px);z-index:55;border:0;border-radius:0;width:100%;height:100%;margin:0}.nav-overlay[hidden]{display:none}.drawer-close{display:grid;place-items:center;position:absolute;top:14px;right:12px;width:44px;height:44px;padding:0;background:#ffffff15;color:#fff;font-size:28px;box-shadow:none}.sidebar .brand{padding-right:50px}.sidebar nav a{min-height:48px;font-size:14px}.sidebar .navlabel{font-size:10px;margin-top:25px}.menu-toggle{display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;color:#244371;padding:10px}.mobile-page-title{display:block;font-size:14px;line-height:1.2;max-width:36vw}.breadcrumb{display:none}.topbar{position:sticky;top:0;z-index:30;height:68px;padding:8px max(16px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:8px;background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid #e3eaf4}.topbar .accountname,.topbar .logout{display:none}.topbar .account{margin-left:0;gap:6px}.topbar .avatar,.topbar .topicon{min-width:44px;min-height:44px}.online-pill{margin-left:auto}.main{padding:24px max(20px,env(safe-area-inset-right)) calc(108px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
 .mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:40;bottom:0;left:0;right:0;background:#ffffffef;backdrop-filter:blur(18px);border-top:1px solid #dce5f2;box-shadow:0 -6px 32px #294f7b0c;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:4px}.mobile-dock a,.mobile-dock button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:54px;font-size:10px;line-height:1.3;background:transparent;color:#687c98;border-radius:15px;padding:6px 2px;box-shadow:none;font-weight:600}.mobile-dock .icon{width:23px;height:23px}.mobile-dock [aria-current=page]{background:#e9f1ff;color:#215ebd}.mobile-dock button[aria-expanded=true]{background:#e9f1ff;color:#215ebd}
 .desktop-dashboard-head{display:none}.mobile-workspace{display:block;background:radial-gradient(ellipse at 100% 0,#2c66a9 0,transparent 70%),#143b70;border:1px solid #284e82;border-radius:24px;padding:24px;color:#fff;margin-bottom:24px;box-shadow:0 14px 36px #153c7512}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px;color:#c2d7f2}.workspace-heading>span{background:#ffffff14;border:1px solid #ffffff26;border-radius:30px;padding:7px 11px}.mobile-workspace h1{font-size:clamp(25px,3.5vw,36px);line-height:1.22;letter-spacing:-.9px;max-width:620px;margin:20px 0 10px;color:#fff}.mobile-workspace>p{font-size:14px;line-height:1.7;color:#c8daf3;max-width:560px;margin-bottom:20px}.workspace-primary{display:flex;align-items:center;gap:10px;background:#fff;color:#17447e;min-height:50px;font-size:13px;padding:12px 16px;border:0;border-radius:13px;width:fit-content;box-shadow:none}.workspace-primary .icon:last-child{margin-left:auto}.workspace-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #ffffff26;margin-top:24px;padding-top:20px}.workspace-shortcuts a{color:#e1edfc;text-align:center;font-size:11px;line-height:1.4;padding:4px;min-height:74px;border-radius:12px}.workspace-shortcuts a>span{display:grid;place-items:center;width:43px;height:43px;margin:0 auto 8px;background:#ffffff13;border:1px solid #ffffff20;border-radius:14px}.workspace-shortcuts b{font-weight:500}.workspace-shortcuts .icon{width:21px;height:21px}
 button,.btn,summary{min-height:44px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:48px}.formgrid{gap:18px}.cardhead{gap:12px}.cardhead>a{display:inline-flex;align-items:center;min-height:44px}.pagehead h1{font-size:clamp(25px,3vw,34px);line-height:1.2}.pagehead .actions{width:100%;margin:8px 0}.pagehead{flex-wrap:wrap}.view-tabs{max-width:100%;overflow-x:auto;white-space:nowrap}.view-tabs a{flex-shrink:0;min-height:44px}.formfooter{gap:10px}.formfooter button,.formfooter .btn{min-height:48px}.tablewrap{overscroll-behavior-x:contain}.table-tools input{min-height:44px}.pagefooter{padding-bottom:12px}.keyboard-open .mobile-dock{display:none}
}
@media(min-width:801px) and (max-width:1100px){
 .mobile-workspace{display:grid;grid-template-columns:1.3fr 1fr;column-gap:30px}.workspace-heading,.mobile-workspace h1,.mobile-workspace>p,.workspace-primary{grid-column:1}.workspace-shortcuts{grid-column:2;grid-row:1/5;border-top:0;border-left:1px solid #ffffff26;padding:8px 0 8px 24px;margin:0;grid-template-columns:1fr 1fr;align-content:center;gap:20px}.mobile-dock{left:50%;right:auto;transform:translateX(-50%);width:620px;max-width:100%;border:1px solid #dce5f2;border-radius:22px 22px 0 0}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{padding:18px}.kpi strong{font-size:32px}.kpihead{font-size:11px}.kpi small{font-size:11px}.tablewrap{overflow-x:auto}.gridmain{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
 .main{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.topbar .online-pill{font-size:0;gap:0;padding:10px;min-height:40px}.online-pill [data-online-count]{display:none}.mobile-page-title{flex:1;max-width:none}.mobile-workspace{padding:20px;border-radius:22px}.mobile-workspace h1{font-size:28px}.workspace-primary{width:100%}.workspace-shortcuts{gap:4px}.workspace-shortcuts a{font-size:10px}.kpis{gap:10px}.kpihead{font-size:11px}.kpi strong{font-size:30px}.kpi small{font-size:11px}.kpiicon{width:30px;height:30px}.kpiicon .icon{width:17px;height:17px}.cardhead h2,.insight-heading h2{font-size:18px}.table-tools{padding:14px}.responsive-table tbody{padding:12px;gap:12px}.responsive-table tr[hidden]{display:none}.responsive-table tr{box-shadow:0 3px 14px #284e8205}.responsive-table td{padding:10px 14px!important}.responsive-table td:first-child{border-left:3px solid #4d7cc6}.responsive-table td:before{font-size:10px;color:#627994}.row-actions{gap:8px}.row-actions a,.row-actions button{flex-grow:1;justify-content:center}.formfooter{align-items:stretch}.formfooter button,.formfooter>.btn{flex-basis:140px}.filters{gap:12px}.pagehead .actions .btn{min-height:46px}.chart-card{overflow:hidden}.workflowstrip{line-height:1.8;gap:8px}.auth-shell{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.auth-panel{width:100%;box-sizing:border-box}.auth-form{min-width:0}.auth-form input{box-sizing:border-box}.auth-form .password-toggle{min-height:0}.auth-wordmark{line-height:1.4}.auth-form h2{margin-top:8px}
}
@media(min-width:480px) and (max-width:800px){.responsive-table tr{grid-template-columns:1fr 1fr}.responsive-table td:first-child,.responsive-table td:last-child,.responsive-table td[colspan]{grid-column:1/-1}.workspace-shortcuts{gap:16px}.online-grid{grid-template-columns:1fr 1fr}}
@media(max-width:360px){.mobile-workspace{padding:16px}.mobile-workspace h1{font-size:25px}.workspace-heading{font-size:10px}.mobile-dock a,.mobile-dock button{font-size:9px}.main{padding-left:12px;padding-right:12px}.topbar{gap:3px;padding-left:6px;padding-right:6px}.topbar .account{gap:0}.topbar .online-pill{display:none}.mobile-page-title{font-size:13px}}
@media(max-height:500px) and (max-width:1100px) and (orientation:landscape){.topbar{height:56px}.mobile-dock a,.mobile-dock button{flex-direction:row;gap:7px;min-height:42px}.mobile-dock{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.main{padding-top:16px;padding-bottom:85px}.workspace-heading{font-size:10px}.mobile-workspace h1{font-size:25px}.auth-shell{padding:16px}.auth-wordmark{padding-bottom:12px}.auth-panel{padding:22px;max-width:580px}}
@media(prefers-reduced-motion:no-preference){.workspace-shortcuts a,.mobile-dock a{transition:background .16s,transform .16s}.workspace-shortcuts a:active{transform:scale(.96)}.mobile-workspace{animation:soft-enter .3s ease-out}}
@media print{.mobile-workspace,.mobile-page-title,.mobile-dock,.connection-banner,.device-preferences,.menu-search,.drawer-close{display:none!important}.desktop-dashboard-head{display:flex!important}}
