.mobile-bottom-nav{display:none}
.mobile-home{display:grid;gap:20px;min-width:0;max-width:1200px}
.mobile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mobile-shortcuts a,.mobile-resume,.mobile-timer{padding:18px;border:1px solid #9db9a8;border-radius:14px;background:linear-gradient(145deg,#fff,#dcecdf);color:#174b34;font-weight:750;box-shadow:0 8px 20px #193d2924;overflow-wrap:anywhere}
.mobile-shortcuts a{text-align:center;display:grid;place-items:center;min-height:80px}
.mobile-timer{display:grid;gap:8px;background:#174b34;color:white}
.mobile-timer strong{font-size:2rem;font-variant-numeric:tabular-nums}.mobile-timer small{color:#d4eadc}
.mobile-home-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.mobile-home-panel{min-width:0;min-height:0;overflow:hidden}
.mobile-home-panel .panel-head{padding:20px;display:flex;justify-content:space-between;align-items:center}
.mobile-home-panel h2{font-size:1rem;margin:0}.mobile-home-body{padding:0 20px 20px}
.mobile-ticket,.mobile-customer{display:grid;gap:7px;padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:.9rem}.mobile-ticket strong{color:#174b34}.mobile-ticket span,.mobile-ticket small{color:var(--muted)}
.mobile-customer{display:flex;justify-content:space-between;font-weight:700}.mobile-home-body p{line-height:1.6}
.mobile-home-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:18px 0}.mobile-home-search label{grid-column:1/-1;font-size:.8rem}
.mobile-home-search input{width:100%;min-width:0;padding:12px;border:1px solid var(--line-strong);border-radius:8px;font:inherit}
.mobile-install-help{padding:18px;background:#e5eee8;border:1px solid #b5c9bc;border-radius:12px;font-size:.85rem;line-height:1.6}.mobile-install-help summary{font-weight:750;cursor:pointer}
.device-grant{padding:20px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.device-grant h3{font-size:1rem}.device-grant small{display:block;line-height:1.6;margin:10px 0}
.device-choice{grid-template-columns:18px minmax(0,1fr)!important;line-height:1.5;align-items:start}.device-choice input{width:18px!important;height:18px;padding:0!important;margin:2px 0 0;accent-color:#176b49}
.mobile-ticket-filters>summary,.mobile-shortcut-menu>summary{display:none}
@media(max-width:1100px), (max-width:1400px) and (hover:none) and (pointer:coarse){
 .workspace-shell{display:block}.workspace-shell .sidebar{position:relative;width:auto;height:auto;min-height:0;padding:12px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;overflow:visible}
 .workspace-shell .brand{margin:0;padding:0;border:0;flex:1}.workspace-shell .brand small{display:none}.workspace-shell .brand-mark{width:32px;height:32px}
 .mobile-nav-toggle{display:block;background:#ffffff18;border:1px solid #ffffff50;color:#fff;padding:10px 14px;border-radius:8px;min-height:44px}
 .workspace-shell .sidebar .workspace-navigation{display:none;width:100%;max-height:60dvh;overflow-y:auto;padding:12px 0}.workspace-shell .sidebar .workspace-navigation.mobile-open{display:grid}.sidebar-foot{display:none}
 .workspace-shell main{max-width:none;min-width:0;padding:20px 22px calc(94px + env(safe-area-inset-bottom))}
 .mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60;justify-content:space-around;gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #b4c8bb;background:#f6fbf7;box-shadow:0 -5px 18px #18332624}
 .mobile-bottom-nav a{display:grid;place-items:center;flex:1;min-height:48px;padding:8px 4px;color:#315540;font-size:.8rem;font-weight:750;border-radius:9px}.mobile-bottom-nav a[aria-current=page]{background:#cfe4d5;color:#123b2b}
 .workspace-shell .topbar{flex-wrap:wrap;gap:12px;margin-bottom:16px;padding-bottom:14px}.workspace-shell .topbar h1{font-size:1.35rem}.workspace-shell .operator-avatar,.workspace-shell .operator>div{display:none!important}
 body.workspace-shell input:not([type=checkbox]):not([type=radio]),body.workspace-shell select,body.workspace-shell textarea{font-size:16px}.workspace-shell button,.workspace-shell .button{min-height:44px}
 .assistant-launcher{bottom:calc(82px + env(safe-area-inset-bottom))!important}.assistant-floating{bottom:calc(84px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 180px)}
 .mobile-shortcut-menu{width:100%}.mobile-shortcut-menu>summary{display:block;padding:12px;border:1px solid #abc3b4;border-radius:9px;background:#e7f0e9;color:#234e37;font-weight:750;cursor:pointer;min-height:44px}.mobile-shortcut-menu[open]>summary{margin-bottom:12px}body.workspace-shell .sd-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:8px;gap:8px}body.workspace-shell .sd-tabs a{flex:none;white-space:nowrap;box-shadow:none}
 .sd-app.sd-queue-view{display:block}.sd-queue-view>.sd-queue{margin-bottom:16px}.mobile-ticket-filters>summary{display:block;font-weight:750;cursor:pointer;min-height:32px;line-height:32px}.mobile-ticket-filters[open]>summary{margin-bottom:12px}
 .sd-app.sd-ticket-open{display:grid;grid-template-columns:minmax(0,1fr) 260px}.sd-ticket-open>.sd-queue{display:none}.sd-app.sd-ticket-open>.sd-details{grid-column:auto;display:block;margin:0}.sd-ticket-open .sd-thread{max-height:65dvh}
 .sd-heading>.mobile-ticket-back{display:inline-block;font-size:.85rem;margin-bottom:12px}
 .customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ticket-alert-controls{position:fixed;right:18px;top:130px;max-height:calc(100dvh - 230px);overflow-y:auto}.ticket-alert-popups{top:135px;max-height:calc(100dvh - 230px);overflow-y:auto}
}
@media(min-width:1101px){.mobile-ticket-back{display:none}}
@media(max-width:700px){
 .workspace-shell main{padding:16px 14px calc(94px + env(safe-area-inset-bottom))}.mobile-home-columns{grid-template-columns:1fr}.mobile-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-shortcuts a{min-height:66px;padding:14px}
 .mobile-home-panel .panel-head{padding:18px}.mobile-home-body{padding:0 18px 18px}.customer-profile-grid{grid-template-columns:1fr}
 .sd-app.sd-ticket-open{display:block}.sd-app.sd-ticket-open>.sd-details{margin-top:16px}.sd-ticket-open .sd-thread{max-height:none}
 .sd-queue-view .sd-ticket-table{min-width:0;display:block;width:100%}.sd-queue-view .sd-ticket-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .sd-queue-view .sd-ticket-table tbody{display:grid;gap:14px;padding:14px}.sd-queue-view .sd-ticket-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #afc4b8;border-radius:12px;overflow:hidden;box-shadow:0 6px 15px #18332626;background:#eff5f1}
 .sd-queue-view .sd-ticket-table td{display:block;min-width:0!important;width:auto!important;padding:12px;white-space:normal!important;border-bottom:0;overflow-wrap:anywhere}.sd-queue-view .sd-ticket-table td:first-child,.sd-queue-view .sd-ticket-table td:nth-child(2),.sd-queue-view .sd-ticket-table td:nth-child(6){grid-column:1/-1}
 .sd-queue-view .sd-ticket-table td:first-child a strong{font-size:1rem}.sd-queue-view .sd-ticket-table td:nth-child(3):before{content:'Status';display:block;font-size:12px;margin-bottom:6px;color:#52667b}.sd-queue-view .sd-ticket-table td:nth-child(4):before{content:'Priority';display:block;font-size:12px;margin-bottom:6px;color:#52667b}
 .sd-queue-view .sd-row-status{flex-wrap:wrap}.sd-queue-view .sd-status-control{width:100%;max-width:100%}
 .sd-compose,.sd-heading{padding:16px}.sd-template-work{margin:12px 16px}.sd-bubble{max-width:96%;padding:14px}.sd-meta{font-size:12px}.sd-ticket-open .sd-time-fields{grid-template-columns:1fr}
 .login-shell{padding:18px 14px}.login-card .stack-form input:not([type=checkbox]){font-size:16px}.login-card button{min-height:44px}
}
@media print{.mobile-bottom-nav{display:none!important}}
@media(max-width:1100px), (max-width:1400px) and (hover:none) and (pointer:coarse){body.workspace-shell .ticket-alert-controls{position:fixed;right:18px;top:130px;max-height:calc(100dvh - 230px);overflow-y:auto}body.workspace-shell .ticket-alert-popups{top:135px;max-height:calc(100dvh - 230px);overflow-y:auto}}
