.atlas-nt-fields,.mobile-ticket-options,.hc-stream{display:contents}
.mobile-ticket-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#atlas-settings-title:focus{outline:none}
.mobile-search-toggle,.mobile-filter-header,.mobile-filter-backdrop,.mobile-settings-sections,.mobile-reply-bar,.mobile-copilot-browse-toggle,.mobile-copilot-context,.mobile-ticket-options>button,.mobile-view-icon,.mobile-view-label,.mobile-workspace-actions,.mobile-graph-filters,.mobile-settings-picker,.mobile-ticket-tabs,.mobile-filter-toggle,.mobile-ticket-assignee,.mobile-list-sort{display:none}
.mobile-filter-details,.filter-section-group,.filter-scope-label{display:contents}
.filter-section-group>h3,.mobile-filter-reset{display:none}
.filter-scope-label{font-size:0}
.filter-selections{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px;align-items:center}
.filter-selections[hidden]{display:none}
.filter-selection{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:6px 10px;border-radius:8px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));background:color-mix(in srgb,var(--accent) 8%,var(--bg-2));color:var(--fg);font-size:12px;text-align:left}
.filter-selection>span:first-child{overflow-wrap:anywhere;min-width:0}
.filter-selection>span:last-child{color:var(--fg-dim);font-size:18px;line-height:1}
.filter-reset{border:0;background:transparent;color:var(--accent);font-size:12px;padding:6px 10px}
.filter-selection:focus-visible,.filter-reset:focus-visible,[role=button][aria-pressed]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.mobile-workspace-filter{display:none}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] body{padding-bottom:calc(66px + env(safe-area-inset-bottom));height:100dvh}
  [data-atlas-host="hosted"] .topbar{display:grid;grid-template-columns:24px minmax(0,1fr) 40px auto;gap:8px;padding:8px 12px;min-height:0;z-index:100}
  [data-atlas-host="hosted"] .topbar>.brand{min-width:0;width:28px;gap:0}
  [data-atlas-host="hosted"] .topbar>.brand>div{display:none}
  [data-atlas-host="hosted"] .topbar>.brand img{width:28px;height:32px;max-width:28px}
  [data-atlas-host="hosted"] .topbar>:is(.sep,.spacer,.nav-history,.conn-status,#app-version,#reload,#sound-toggle,#theme-toggle,#refresh-token,#hosted-copilot-launch){display:none!important}
  [data-atlas-host="hosted"] #atlas-workspace-switcher{grid-column:2;grid-row:1;min-width:0;max-width:100%}
  [data-atlas-host="hosted"] .atlas-ws-trigger{width:100%;max-width:none;min-width:0;min-height:44px;padding:7px 8px;gap:7px}
  [data-atlas-host="hosted"] .atlas-ws-org{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
  [data-atlas-host="hosted"] .atlas-ws-avatar{flex:none;width:24px;height:24px}
  [data-atlas-host="hosted"] #new-ticket-btn{grid-column:4;grid-row:1;min-height:44px;padding:8px 10px;font-size:13px}
  [data-atlas-host="hosted"] #new-ticket-btn[hidden]{display:none}
  [data-atlas-host="hosted"] .header-search{display:none;grid-column:1/-1;grid-row:2;width:100%;min-width:0;order:initial}
  [data-atlas-host="hosted"] #jump-input{width:100%;height:44px;font-size:16px;padding:10px 12px;border-radius:8px}
  [data-atlas-host="hosted"] .jump-results{min-width:0;position:fixed;top:112px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(var(--mobile-height,100dvh) - 128px);overflow:auto;z-index:220}
  [data-atlas-host="hosted"] .jump-row{min-height:64px;padding:12px;grid-template-columns:auto minmax(0,1fr);gap:6px 10px}
  [data-atlas-host="hosted"] .jump-summary{white-space:normal;overflow-wrap:anywhere;font-size:14px}
  [data-atlas-host="hosted"] .jump-priority{grid-column:2}
  [data-atlas-host="hosted"] .view-switcher{position:fixed;inset:auto 0 0;z-index:150;display:flex;height:calc(66px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--border);border-radius:0;background:var(--bg-2);gap:4px}
  [data-atlas-host="hosted"] .view-switcher .view-btn{flex:1;min-width:0;border:0;border-radius:8px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;font-size:11px;line-height:1.15;font-weight:550}
  [data-atlas-host="hosted"] .view-switcher .view-btn.active{background:color-mix(in srgb,var(--accent) 13%,var(--bg-2));color:var(--accent)}
  [data-atlas-host="hosted"] .view-btn[data-view="list"]{order:-1}
  [data-atlas-host="hosted"] .desktop-view-label{display:none}
  [data-atlas-host="hosted"] .mobile-view-icon,[data-atlas-host="hosted"] .mobile-view-label{display:block}
  .mobile-view-icon svg{display:block;width:21px;height:21px}
  [data-atlas-host="hosted"] .atlas-ws-menu{position:fixed;inset:64px 12px auto;width:auto;max-width:none;max-height:calc(var(--mobile-height,100dvh) - 80px);overflow:auto;z-index:240;border-radius:12px}
  [data-atlas-host="hosted"] .atlas-ws-item{min-height:48px;white-space:normal;overflow-wrap:anywhere;padding:12px;font-size:14px}
  [data-atlas-host="hosted"] .atlas-ws-user{overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .mobile-workspace-actions{display:block}
  [data-atlas-host="hosted"] .data-view{padding:0}
  [data-atlas-host="hosted"] .data-view-panel{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
  [data-atlas-host="hosted"] .data-view-header{padding:16px;gap:8px;flex-wrap:wrap;text-align:left}
  [data-atlas-host="hosted"] .data-view-header h2{font-size:20px;margin:0}
  [data-atlas-host="hosted"] .data-view-header p{display:none}
  [data-atlas-host="hosted"] .data-view-summary{margin:0;font-size:12px}
  [data-atlas-host="hosted"] .shared-filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0;align-items:center}
  [data-atlas-host="hosted"] .shared-filter{padding:4px 16px 16px}
  [data-atlas-host="hosted"] .shared-filter-input{width:100%;max-width:none;min-width:0;height:44px;padding:10px;font-size:16px;grid-row:1;grid-column:1}
  [data-atlas-host="hosted"] .mobile-filter-toggle{display:block;grid-row:1;grid-column:2;min-height:44px;padding:8px 12px;font-size:14px}
  [data-atlas-host="hosted"] .shared-archive-pill{grid-row:2;grid-column:1/-1;display:flex;width:100%;border-radius:8px}
  [data-atlas-host="hosted"] .archive-pill-btn{flex:1;min-height:40px;padding:8px 12px;font-size:13px}
  [data-atlas-host="hosted"] .mobile-filter-details{display:none;grid-column:1/-1}
  [data-atlas-host="hosted"] .mobile-filters-open>.mobile-filter-details{display:grid;position:fixed;inset:auto 0 calc(100dvh - var(--mobile-height,100dvh) - var(--mobile-top,0px));grid-template-columns:minmax(0,1fr);gap:0;padding:0 20px calc(20px + env(safe-area-inset-bottom));max-height:calc(var(--mobile-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain;z-index:260;background:var(--bg-2);border:1px solid var(--border);border-radius:20px 20px 0 0;box-shadow:0 -16px 60px #0004}
  [data-atlas-host="hosted"] .mobile-filter-details>:is(select,button,.filter-pop){width:100%;min-width:0}
  [data-atlas-host="hosted"] .mobile-filter-details :is(button,select){min-height:44px;white-space:normal;font-size:14px}
  [data-atlas-host="hosted"] .filter-pop-btn{width:100%;justify-content:space-between;padding:8px}
  [data-atlas-host="hosted"] .filter-pop-panel{position:static;width:100%;max-width:none!important;max-height:none;margin:0;padding:0 0 14px;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
  [data-atlas-host="hosted"] .filter-pop-panel>.mobile-filter-header{display:none}
  [data-atlas-host="hosted"] .filter-section-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 0;border-top:1px solid var(--border);min-width:0}
  [data-atlas-host="hosted"] .filter-section-group>h3{display:block;grid-column:1/-1;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-dim);margin:0 0 4px}
  [data-atlas-host="hosted"] .filter-scope-label{display:grid;gap:8px;grid-column:1/-1;font-size:13px;color:var(--fg-dim)}
  [data-atlas-host="hosted"] .filter-scope-label select{width:100%;font-size:16px}
  [data-atlas-host="hosted"] .filter-section-group .filter-pop{grid-column:1/-1;min-width:0;border-bottom:1px solid var(--border)}
  [data-atlas-host="hosted"] .filter-section-group .filter-pop:last-child{border-bottom:0}
  [data-atlas-host="hosted"] .filter-section-group .filter-pop-btn{min-height:48px;padding:10px 0;border:0;background:transparent;border-radius:0;justify-content:flex-start;font-size:15px}
  [data-atlas-host="hosted"] .filter-pop-caret{margin-left:auto}
  [data-atlas-host="hosted"] .filter-pop.open .filter-pop-caret{transform:rotate(180deg)}
  [data-atlas-host="hosted"] .filter-pop-panel :is(.team-chip,.status-chip,.category-chip,.tag-fchip){display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-size:14px;border-radius:8px;white-space:normal;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .filter-pop-panel .cf-chip{min-width:44px;min-height:44px}
  [data-atlas-host="hosted"] .filter-pop-panel :is(.agent-filter,.date-filter-pop){display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  [data-atlas-host="hosted"] .filter-pop-panel select{width:100%;max-width:100%;font-size:16px}
  [data-atlas-host="hosted"] .mobile-filter-reset{display:block;width:100%;min-height:44px;color:var(--accent);border-radius:10px}
  [data-atlas-host="hosted"] .mobile-filter-result{display:block;font-size:12px;color:var(--fg-dim);margin-top:4px}
  [data-atlas-host="hosted"] .filter-selections{gap:8px;padding-top:12px}
  [data-atlas-host="hosted"] .filter-selection,[data-atlas-host="hosted"] .filter-reset{min-height:40px;font-size:13px}
  [data-atlas-host="hosted"] .mobile-workspace-filter{display:block;flex:none}
  [data-atlas-host="hosted"] .view-board>.sidebar>:is(.sidebar-header,.sidebar-filter-summary,.sidebar-color-filter,.sidebar-tag-filter,.filter-panel){display:none}
  [data-atlas-host="hosted"] .view-board>.sidebar{overflow:auto;overscroll-behavior:contain}
  [data-atlas-host="hosted"] .view-board #list{overflow:visible;flex:none}
  [data-atlas-host="hosted"] .mobile-workspace-filter .shared-filter{padding-top:16px}
  [data-atlas-host="hosted"] .shared-list-ctl{display:grid;gap:4px;font-size:12px}
  [data-atlas-host="hosted"] .list-table-wrap{overflow:visible;flex:none;padding:0 16px 16px}
  [data-atlas-host="hosted"] .list-view-table{display:block;width:100%;min-width:0;table-layout:auto}
  [data-atlas-host="hosted"] .list-view-table thead{display:none}
  [data-atlas-host="hosted"] .list-view-table tbody{display:grid;gap:10px;width:100%}
  [data-atlas-host="hosted"] .list-view-table tr[data-id]{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--bg);width:100%;min-width:0}
  [data-atlas-host="hosted"] .list-view-table tr[data-id] td{display:none;border:0;padding:0;white-space:normal;overflow:visible;min-width:0;max-width:none;line-height:1.5;font-size:13px}
  [data-atlas-host="hosted"] .list-view-table tr[data-id] :is(.mobile-ticket-number,.mobile-ticket-reporter,.mobile-ticket-status,.mobile-ticket-priority,.list-summary){display:block}
  [data-atlas-host="hosted"] .mobile-ticket-number{grid-column:1;grid-row:1}
  [data-atlas-host="hosted"] .mobile-ticket-priority{grid-column:2;grid-row:1;justify-self:end}
  [data-atlas-host="hosted"] .list-view-table tr[data-id] .list-summary{grid-column:1/-1;grid-row:2;font-size:16px;font-weight:550;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .mobile-ticket-reporter{grid-column:1;grid-row:3;color:var(--fg-dim);overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .mobile-ticket-assignee{display:block;padding-top:6px;font-size:12px}
  [data-atlas-host="hosted"] .list-view-table tr[data-id] .mobile-ticket-team:not(:empty){display:block;grid-column:1/-1;grid-row:4;color:var(--fg-dim);padding-top:6px;border-top:1px solid var(--border);font-size:12px}
  [data-atlas-host="hosted"] .list-view-table tr[data-id] .mobile-ticket-tags:has(.tag-chip){display:flex;flex-wrap:wrap;gap:4px;grid-column:1/-1;grid-row:5}
  [data-atlas-host="hosted"] .mobile-ticket-status{grid-column:2;grid-row:3;justify-self:end}
  [data-atlas-host="hosted"] .table-ticket-link{padding:0;min-height:24px;font-size:13px}
  [data-atlas-host="hosted"] .list-pagination{flex-wrap:wrap;gap:8px}
  [data-atlas-host="hosted"] .list-pagination :is(button,input,select){min-height:44px;font-size:16px}
  [data-atlas-host="hosted"] .dashboard-cards .dash-cards-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  [data-atlas-host="hosted"] :is(.dashboard-row-charts,.dashboard-breakdowns){grid-template-columns:minmax(0,1fr)}
  [data-atlas-host="hosted"] .dash-section{min-width:0}
  [data-atlas-host="hosted"] .dash-chart-fig{max-width:100%;overflow:auto}
  [data-atlas-host="hosted"] .mobile-graph-filters{display:block;margin:8px 12px;min-height:44px;flex:none}
  [data-atlas-host="hosted"] .view-graph{flex-direction:column;min-height:0}
  [data-atlas-host="hosted"] .graph-sidebar{display:none;min-width:0;max-height:50%;flex:none;width:100%}
  [data-atlas-host="hosted"] .view-graph.mobile-filters-open>.graph-sidebar{display:flex}
  [data-atlas-host="hosted"] .graph-canvas-wrap{flex:1;min-height:140px;width:100%}
  [data-atlas-host="hosted"] #graph-sidebar-resizer{display:none}
  [data-atlas-host="hosted"] .graph-drawer{position:fixed;top:var(--mobile-top,0px);bottom:auto;right:0;height:var(--mobile-height,100dvh);width:100vw;max-width:100vw;z-index:230}
  [data-atlas-host="hosted"] .graph-drawer :is(button,select){min-height:44px}
  [data-atlas-host="hosted"] :is(.atlas-modal-overlay,.ticket-modal-overlay){padding:0;top:var(--mobile-top,0px);bottom:auto;height:var(--mobile-height,100dvh);align-items:stretch;z-index:300}
  [data-atlas-host="hosted"] :is(.atlas-modal,.ticket-modal){width:100%;max-width:100%;height:100%;max-height:100%;margin:0;border:0;border-radius:0;min-width:0}
  [data-atlas-host="hosted"] .atlas-modal-header{padding:12px 16px;min-height:60px;flex:none;gap:10px}
  [data-atlas-host="hosted"] .atlas-modal-header h2{font-size:18px;line-height:1.3}
  [data-atlas-host="hosted"] .atlas-modal-close{min-width:44px;min-height:44px;font-size:24px;flex:none}
  [data-atlas-host="hosted"] .atlas-modal-body{padding:16px;min-width:0;min-height:0;overflow:auto}
  [data-atlas-host="hosted"] .atlas-modal-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
  [data-atlas-host="hosted"] :is(.atlas-modal,.hosted-copilot) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){min-width:0;max-width:100%;font-size:16px;min-height:44px}
  [data-atlas-host="hosted"] .atlas-modal :is(button,summary){min-height:44px}
  [data-atlas-host="hosted"] .atlas-modal-footer{flex-wrap:wrap;gap:10px;padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
  [data-atlas-host="hosted"] .atlas-modal-footer button{flex:1;padding:12px;font-size:14px}
  [data-atlas-host="hosted"] .atlas-modal label{min-width:0;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .atlas-settings-modal>.atlas-modal-header{padding:8px 16px;border-bottom:0}
  [data-atlas-host="hosted"] .atlas-settings-tabs{display:none}
  [data-atlas-host="hosted"] .mobile-settings-picker{display:block;padding:12px 16px;border-bottom:1px solid var(--border);flex:none}
  [data-atlas-host="hosted"] .mobile-settings-picker button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;color:var(--fg);border:1px solid var(--border);border-radius:10px;background:var(--bg);font-size:14px;text-align:left}.mobile-settings-picker button>span{color:var(--fg-dim);font-size:12px}
  [data-atlas-host="hosted"] .atlas-settings-content{padding:20px 16px calc(20px + env(safe-area-inset-bottom));min-height:0;flex:1;overflow:auto}
  [data-atlas-host="hosted"] .atlas-settings-panel :is(h3,h4){text-transform:none;letter-spacing:0;color:var(--fg);line-height:1.4}
  [data-atlas-host="hosted"] .atlas-settings-panel p{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .atlas-settings-inline-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:100%}
  [data-atlas-host="hosted"] .atlas-settings-inline-form>*{width:100%;min-width:0}
  [data-atlas-host="hosted"] .atlas-settings-panel .atlas-row-card{display:flex!important;flex-direction:column;align-items:stretch;gap:12px;padding:16px;min-width:0}
  [data-atlas-host="hosted"] .atlas-row-card .atlas-row-icon{display:none}
  [data-atlas-host="hosted"] .atlas-row-main{width:100%;min-width:0}
  [data-atlas-host="hosted"] .atlas-row-label{font-size:15px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .atlas-row-meta{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6}
  [data-atlas-host="hosted"] .atlas-row-controls{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  [data-atlas-host="hosted"] .atlas-row-controls>*{flex:1;min-width:0;max-width:100%}
  [data-atlas-host="hosted"] .atlas-settings-kv{grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px 16px;align-items:start}
  [data-atlas-host="hosted"] .atlas-settings-kv dd{margin:0;overflow-wrap:anywhere;font-size:14px}
  [data-atlas-host="hosted"] .atlas-settings-toast{max-width:calc(100vw - 32px);width:max-content;bottom:16px;overflow-wrap:anywhere;line-height:1.5}
  [data-atlas-host="hosted"] [data-controls]>button{display:block;width:100%;margin:8px 0;white-space:normal;padding:12px;line-height:1.5}
  [data-atlas-host="hosted"] .atlas-dept-card-head{flex-wrap:wrap;gap:10px}
  [data-atlas-host="hosted"] .atlas-dept-card-head>button{width:100%}
  [data-atlas-host="hosted"] .saas-feedback{height:auto;max-height:100%;margin:auto;overflow:auto;padding:24px 20px;border-radius:12px;width:calc(100% - 24px)}
  [data-atlas-host="hosted"] .pane-header{padding:8px 16px;flex:none}
  [data-atlas-host="hosted"] .hosted-mobile-back{display:block;min-height:44px;margin:0;padding:8px 0}
  [data-atlas-host="hosted"] .pane-title-row{gap:0}
  [data-atlas-host="hosted"] .pane-header .pane-title{font-size:19px;line-height:1.4;margin:0 0 8px}
  [data-atlas-host="hosted"] .pane-open-actions{display:none}
  [data-atlas-host="hosted"] .pane-meta-tail{display:none}
  [data-atlas-host="hosted"] .pane-meta{margin:0;font-size:12px}
  [data-atlas-host="hosted"] .pane-reporter{font-size:13px}
  [data-atlas-host="hosted"] .pane-actions{display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="details"] .pane-actions{display:flex;margin-top:12px}
  [data-atlas-host="hosted"] .pane[data-mobile-section="details"] .pane-actions button:not(.pane-color-swatch){min-height:40px;min-width:32px}
  [data-atlas-host="hosted"] .mobile-ticket-tabs{display:flex;gap:0;padding:0 12px;border-bottom:1px solid var(--border);background:var(--bg-2);flex:none}
  [data-atlas-host="hosted"] .mobile-ticket-tabs button{flex:1;min-width:0;min-height:48px;padding:10px 4px;font-size:12px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--fg-dim)}
  [data-atlas-host="hosted"] .mobile-ticket-tabs button[aria-pressed="true"]{color:var(--accent);border-bottom-color:var(--accent)}
  [data-atlas-host="hosted"] .pane-body>.pane-body-resizer{display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="conversation"] .hosted-ticket-controls{display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="details"] .ticket-detail>:not(.hosted-ticket,.pane-actions),[data-atlas-host="hosted"] .pane[data-mobile-section="details"] :is(.hosted-reply,.hosted-delivery){display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="details"] .hosted-ticket-controls{display:grid;grid-template-columns:minmax(0,1fr);border:0;padding:4px;background:transparent}
  [data-atlas-host="hosted"] .pane-body>.notes-pane{display:none;min-width:0;width:100%;max-width:none;flex:1}
  [data-atlas-host="hosted"] .pane[data-mobile-section="notes"] .ticket-detail{display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="notes"] .notes-pane{display:flex}
  [data-atlas-host="hosted"] .notes-pane :is(button,select){min-height:44px}
  [data-atlas-host="hosted"] .notes-pane :is(textarea,input){font-size:16px}
  [data-atlas-host="hosted"] .notes-sub-tabs{overflow:auto;flex:none}
  [data-atlas-host="hosted"] .notes-pane-body{padding:12px}
  [data-atlas-host="hosted"] .ticket-detail{width:100%!important;min-width:0;padding:16px;gap:12px}
  [data-atlas-host="hosted"] .hosted-reply{padding:16px}
  [data-atlas-host="hosted"] .hosted-copilot,[data-atlas-host="hosted"] .hosted-copilot.expanded{inset:var(--mobile-top,0px) 0 auto;height:var(--mobile-height,100dvh);width:100%;max-width:100%;z-index:310;padding:12px 16px;border:0;gap:12px;overflow:auto}
  [data-atlas-host="hosted"] .hosted-copilot>header{position:sticky;top:-12px;background:var(--bg-2);padding:8px 0;z-index:2;flex:none;flex-wrap:wrap}
  [data-atlas-host="hosted"] .hosted-copilot>header strong{font-size:18px}
  [data-atlas-host="hosted"] .hosted-copilot :is(button,summary){min-height:44px;padding:10px;font-size:14px}
  [data-atlas-host="hosted"] .hosted-copilot .hc-settings{max-height:none;overflow:visible;flex:none}
  [data-atlas-host="hosted"] .hosted-copilot .hc-layout{display:flex;flex-direction:column;flex:1;overflow:hidden;min-height:0}
  [data-atlas-host="hosted"] .hosted-copilot .hc-threads{flex:none;max-height:180px;overflow:auto}
  [data-atlas-host="hosted"] .hosted-copilot .hc-main{display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0}
  [data-atlas-host="hosted"] .hosted-copilot .hc-composer{position:static;flex:none;padding:12px 0 env(safe-area-inset-bottom);border-top:1px solid var(--border)}
  [data-atlas-host="hosted"] .hosted-copilot .hc-controls{display:grid;grid-template-columns:minmax(0,1fr);flex:none}
  [data-atlas-host="hosted"] .hosted-copilot .hc-controls>*{width:100%;min-width:0}
  [data-atlas-host="hosted"] .mobile-keyboard-open{padding-bottom:0}
  [data-atlas-host="hosted"] .mobile-keyboard-open .view-switcher{display:none}
  .market :is(.market-button,.market-plan-cta,.market-menu,.support-operator button,.support-operator select,.pilot-workspace button){min-height:44px}
  .market :is(.support-operator input,.support-operator textarea,.support-operator select){font-size:16px;min-width:0}
  .market :is(.pilot-workspace,.support-inbox-item){min-width:0;overflow-wrap:anywhere}
}
@media(max-width:820px) and (max-height:500px),(pointer:coarse) and (max-width:1024px) and (max-height:500px){
  [data-atlas-host="hosted"] .pane-header .pane-meta{display:none}
  [data-atlas-host="hosted"] .pane-header .pane-title{font-size:16px;margin-bottom:4px}
  [data-atlas-host="hosted"] .hosted-mobile-back{min-height:36px}
  [data-atlas-host="hosted"] .mobile-ticket-tabs button{min-height:40px}
}
@media(prefers-reduced-motion:reduce){.ticket-modal-overlay{animation:none}.atlas-modal-overlay{animation:none}}
.mobile-filter-close{display:none}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .data-view-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:12px 16px}
  [data-atlas-host="hosted"] .data-view-header>div:first-child{flex:1;text-align:left}
  [data-atlas-host="hosted"] .list-view-table tr[data-id]{gap:6px;padding:12px}
  [data-atlas-host="hosted"] .mobile-filter-close{display:block;margin:0;min-height:44px;font-size:14px}
  [data-atlas-host="hosted"] .hosted-copilot .hc-expand{display:none}
  [data-atlas-host="hosted"] .preview-overlay{padding:0;top:var(--mobile-top,0px);bottom:auto;height:var(--mobile-height,100dvh);z-index:400}
  [data-atlas-host="hosted"] .preview-card{width:100%;max-width:100%;height:100%;max-height:100%;border:0;border-radius:0}
  [data-atlas-host="hosted"] .preview-header{flex-wrap:wrap;gap:8px;padding:12px;min-width:0}
  [data-atlas-host="hosted"] .preview-name{width:calc(100% - 60px);max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:15px;order:-2}
  [data-atlas-host="hosted"] .preview-close{order:-1;min-width:44px;min-height:44px;margin-left:auto}
  [data-atlas-host="hosted"] .preview-btn,[data-atlas-host="hosted"] .preview-view-btn{min-height:44px;font-size:14px}
  [data-atlas-host="hosted"] .preview-views{overflow:auto;flex:none}
  [data-atlas-host="hosted"] .preview-body pre{font-size:14px}
  [data-atlas-host="hosted"] .tag-pop,[data-atlas-host="hosted"] .snooze-pop,[data-atlas-host="hosted"] .ticket-ctx-menu{max-width:calc(100vw - 24px);max-height:calc(var(--mobile-height,100dvh) - 24px);overflow:auto}
  [data-atlas-host="hosted"] :is(.tag-pop,.snooze-pop,.ticket-ctx-menu) :is(button,input,select,.tcm-item){min-height:44px;font-size:14px}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  .market-operator-request form{display:flex;flex-direction:column;align-items:stretch;gap:14px}
  .market-operator-request :is(button,input,select,textarea),.market-operator-controls :is(button,select){min-height:44px;font-size:16px;max-width:100%;min-width:0}
  .market-operator-request label{min-width:0}
  .market-operator-request,.market-operator-meta,.pilot-workspace{overflow-wrap:anywhere;min-width:0}
  .pilot-workspace-head{align-items:stretch;gap:14px}
  .pilot-workspace-head label{min-height:44px;display:flex;gap:10px;align-items:center}
  .pilot-workspace-head input[type=checkbox]{width:22px;height:22px;flex:none}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  .market-contact-form :is(input,select,textarea),.market-estimator :is(input,select){font-size:16px}
  .market-footer a{display:inline-flex;min-height:44px;align-items:center}
  .market-operator-toolbar :is(button,select){min-height:44px;font-size:16px}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .atlas-modal-overlay{display:flex;justify-content:center}
  [data-atlas-host="hosted"] .atlas-modal-overlay.hidden{display:none}
  [data-atlas-host="hosted"] .atlas-modal-body{flex:1;overscroll-behavior:contain}
}

@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .shared-list-ctl.mobile-list-sort{display:grid}
  [data-atlas-host="hosted"] .layout:has(.pane.active)>.sidebar,[data-atlas-host="hosted"] .layout:has(.pane.active)>#sidebar-resizer{display:none}
  [data-atlas-host="hosted"] .layout:has(.pane.active)>.main{width:100%;flex:1;min-width:0}
  [data-atlas-host="hosted"] .layout:not(:has(.pane.active))>.sidebar{width:100%!important;max-width:none;flex:1;min-width:0}
  [data-atlas-host="hosted"] .layout:not(:has(.pane.active))>.main,[data-atlas-host="hosted"] .layout:not(:has(.pane.active))>#sidebar-resizer{display:none}
  [data-atlas-host="hosted"] :is(.sidebar,.graph-sidebar) :is(input,select){min-height:44px;font-size:16px;min-width:0}
  [data-atlas-host="hosted"] :is(.sidebar,.graph-sidebar) :is(button,.filter-chip){min-height:44px}
  [data-atlas-host="hosted"] .sidebar-header{flex-wrap:wrap}
  [data-atlas-host="hosted"] .sidebar-header input{flex:1 1 100%}
  [data-atlas-host="hosted"] .filter-compact-row{display:grid;grid-template-columns:minmax(0,1fr)}
  [data-atlas-host="hosted"] :is(.sidebar,.graph-sidebar) .filter-panel:not(.collapsed){max-height:35dvh;overflow:auto;flex:none}
  [data-atlas-host="hosted"] .tabs{min-height:44px;max-height:52px;overflow:auto;flex:none}
  [data-atlas-host="hosted"] .tab{min-height:44px;flex:none;max-width:210px}
  [data-atlas-host="hosted"] .tab .close{min-width:44px;min-height:44px}
  [data-atlas-host="hosted"] .graph-drawer{min-width:0;box-shadow:none;transition:none;transform:none}
  [data-atlas-host="hosted"] .drawer-header{padding:12px;flex:none}
  [data-atlas-host="hosted"] .drawer-title-row{flex-direction:column;align-items:stretch;gap:8px}
  [data-atlas-host="hosted"] .drawer-title{font-size:18px;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .drawer-title-actions{display:flex;gap:8px}
  [data-atlas-host="hosted"] .drawer-title-actions button{flex:1;min-height:44px;font-size:14px}
  [data-atlas-host="hosted"] .drawer-meta{overflow-wrap:anywhere;font-size:12px}
  [data-atlas-host="hosted"] .drawer-resize{display:none}
  [data-atlas-host="hosted"] .drawer-body{min-height:0;overflow:auto}
  [data-atlas-host="hosted"] .drawer-tabs{display:flex;gap:0}
  [data-atlas-host="hosted"] .drawer-tab{flex:1;min-width:0}
  [data-atlas-host="hosted"] .graph-drawer :is(input,textarea){font-size:16px;min-width:0}
  [data-atlas-host="hosted"] :is(.notes-subtabs,.drawer-tabs){overflow:auto;flex:none}
  [data-atlas-host="hosted"] .notes-subtab{min-height:44px;white-space:normal}
  [data-atlas-host="hosted"] .action-attachments a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] #atlas-toasts{max-width:calc(100vw - 24px);bottom:80px!important;overflow-wrap:anywhere}
}

@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .graph-drawer.hidden{display:none!important}
  [data-atlas-host="hosted"] .graph-drawer .open-atlas{display:none}
}

@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .layout>.sidebar{overflow:auto}
  [data-atlas-host="hosted"] .sidebar>#ticket-list{overflow:visible;flex:none}
  [data-atlas-host="hosted"] .sidebar>:not(#ticket-list){flex:none}
  [data-atlas-host="hosted"] .filter-panel.collapsed{display:none}
}

@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .mobile-search-toggle{display:grid;place-items:center;grid-row:1;grid-column:3;width:40px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--fg-dim)}
  [data-atlas-host="hosted"] .mobile-search-open .header-search{display:block}
  [data-atlas-host="hosted"] .topbar{padding:6px 12px;border-bottom:1px solid var(--border)}
  [data-atlas-host="hosted"] .topbar>.brand{width:24px}
  [data-atlas-host="hosted"] .topbar>.brand img{width:24px;max-width:24px}
  [data-atlas-host="hosted"] #new-ticket-btn{border-radius:10px}
  [data-atlas-host="hosted"] .atlas-ws-trigger{border:0;background:transparent;padding-left:0}
  [data-atlas-host="hosted"] .atlas-ws-avatar{display:none}
  [data-atlas-host="hosted"] .view-switcher{gap:8px;padding-left:16px;padding-right:16px}
  [data-atlas-host="hosted"] .view-switcher .view-btn.active{background:color-mix(in srgb,var(--accent) 12%,var(--bg-2));border-radius:12px}
  [data-atlas-host="hosted"] .data-view-header{border:0;padding:20px 16px 14px}
  [data-atlas-host="hosted"] .data-view-header h2{font-size:24px;letter-spacing:-.03em}
  [data-atlas-host="hosted"] .data-view-summary{padding:0}
  [data-atlas-host="hosted"] .data-view-panel>:is(.data-view-header,.shared-filter-mount){position:static;flex:none}
  [data-atlas-host="hosted"] .shared-filter-mount{border:0;background:transparent;padding:0}
  [data-atlas-host="hosted"] .shared-filter .archive-pill.shared-archive-pill .archive-pill-btn{flex:1}
  [data-atlas-host="hosted"] .shared-filter-input{border-radius:10px;background:var(--bg-2)}
  [data-atlas-host="hosted"] .mobile-filter-toggle{border-radius:10px;background:var(--bg-2)}
  [data-atlas-host="hosted"] .mobile-filter-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0008;backdrop-filter:blur(3px);z-index:250}
  [data-atlas-host="hosted"] .mobile-filter-header{display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1/-1;position:sticky;top:0;background:var(--bg-2);padding:18px 0 14px;z-index:1}
  [data-atlas-host="hosted"] .mobile-filter-header strong{font-size:18px;letter-spacing:-.02em}
  [data-atlas-host="hosted"] .mobile-filter-header button{min-height:44px;padding:10px 14px;border-radius:10px;color:var(--accent)}
  [data-atlas-host="hosted"] .filter-pop-panel :is(.filter-chip,.status-chip,.team-chip,.category-chip,.tag-chip,.color-chip){min-height:44px;padding:10px 16px;font-size:14px}
  [data-atlas-host="hosted"] .list-view-table tbody{gap:12px}
  [data-atlas-host="hosted"] .list-view-table tr[data-id]{gap:10px;padding:16px;border-radius:14px;background:var(--bg-2)}
  [data-atlas-host="hosted"] .mobile-ticket-assignee{padding-top:4px}
  [data-atlas-host="hosted"] .table-ticket-link{color:var(--fg-dim)}
  [data-atlas-host="hosted"] :is(.popover-row-preview,.atlas-hover-card){display:none!important}
  [data-atlas-host="hosted"] .mobile-reply-bar{display:flex;flex:none;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg-2)}
  [data-atlas-host="hosted"] .mobile-reply-bar button.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}
  [data-atlas-host="hosted"] .mobile-reply-bar button{flex:1;min-height:44px;border-radius:10px;font-size:13px;padding:10px 8px}
  [data-atlas-host="hosted"] .pane:not([data-mobile-section="conversation"]) .mobile-reply-bar,[data-atlas-host="hosted"] .pane:has(.hosted-reply :focus) .mobile-reply-bar{display:none}
  [data-atlas-host="hosted"] .ticket-detail{scroll-padding:16px;overscroll-behavior:contain}
  [data-atlas-host="hosted"] .hosted-ticket{margin:8px 0;padding-top:0;border-top:0}
  [data-atlas-host="hosted"] .hosted-reply input[type="file"]{font-size:13px}
  [data-atlas-host="hosted"] .hosted-reply button.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}
  [data-atlas-host="hosted"] .atlas-settings-modal{position:relative}
  [data-atlas-host="hosted"] .mobile-settings-sections:not([hidden]){display:block;position:absolute;inset:60px 0 0;z-index:3;background:var(--bg-2);overflow:auto;padding:0 16px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}
  [data-atlas-host="hosted"] .mobile-settings-menu-header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1;background:var(--bg-2);padding:0 0 12px}
  [data-atlas-host="hosted"] .mobile-settings-menu-header h3{font-size:22px;margin:12px 0}
  [data-atlas-host="hosted"] .mobile-settings-menu-header button{padding:10px 16px;color:var(--accent);border-radius:10px}
  [data-atlas-host="hosted"] .mobile-settings-group{margin:8px 0 24px}
  [data-atlas-host="hosted"] .mobile-settings-group h4{font-size:12px;color:var(--fg-dim);font-weight:500;margin:0 0 8px}
  [data-atlas-host="hosted"] .mobile-settings-group button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:12px 14px;border:0;border-bottom:1px solid var(--border);background:var(--bg);font-size:14px;text-align:left}
  [data-atlas-host="hosted"] .mobile-settings-group button:first-of-type{border-radius:12px 12px 0 0}
  [data-atlas-host="hosted"] .mobile-settings-group button:last-child{border-radius:0 0 12px 12px;border-bottom:0}
  [data-atlas-host="hosted"] .mobile-settings-group button[aria-current]{color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--bg))}
  [data-atlas-host="hosted"] #atlas-nt-form{display:flex;flex-direction:column;overflow:hidden;padding:0;gap:0}
  [data-atlas-host="hosted"] .atlas-nt-fields{display:flex;flex-direction:column;gap:18px;overflow:auto;overscroll-behavior:contain;padding:20px 16px;flex:1;min-height:0}
  [data-atlas-host="hosted"] #atlas-nt-form .atlas-modal-footer{flex:none;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg-2)}
  [data-atlas-host="hosted"] #atlas-nt-form .atlas-modal-footer .grow{display:none}
  [data-atlas-host="hosted"] #atlas-nt-form .atlas-modal-msg:not(:empty){flex-basis:100%;line-height:1.5}
  [data-atlas-host="hosted"] #atlas-nt-form label{font-size:13px;color:var(--fg);gap:8px}
  [data-atlas-host="hosted"] #atlas-nt-form textarea{font-family:inherit;line-height:1.6;min-height:130px}
  [data-atlas-host="hosted"] .mobile-ticket-options{display:block;border-top:1px solid var(--border)}
  [data-atlas-host="hosted"] .mobile-ticket-options>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 0;min-height:48px;font-size:14px;background:transparent;border:0;color:var(--fg-dim)}
  [data-atlas-host="hosted"] .mobile-ticket-options>div{display:none}
  [data-atlas-host="hosted"] .mobile-ticket-options.expanded>div{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-top:8px}
  [data-atlas-host="hosted"] .hc-status:empty{display:none}
  [data-atlas-host="hosted"] .hosted-copilot .hc-stream{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding:12px}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]{overflow:hidden}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]>header{position:static;display:grid;grid-template-columns:1fr auto}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]>header>strong{grid-column:1/-1}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]>header>button:nth-of-type(2){display:none}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"] .mobile-copilot-browse-toggle{display:block;text-align:left}
  [data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]:not(.mobile-copilot-browse) :is(.hc-controls,.hc-threads,.hc-settings),[data-atlas-host="hosted"] .hosted-copilot[data-has-thread="true"]>p.hc-muted{display:none}
  [data-atlas-host="hosted"] .hosted-copilot.mobile-copilot-browse{overflow:auto}
  [data-atlas-host="hosted"] .hosted-copilot.mobile-copilot-browse .hc-main{display:none}
  [data-atlas-host="hosted"] .mobile-copilot-context{display:block;flex:none;font-size:13px;line-height:1.6;color:var(--fg-dim);margin:0;padding:0 0 12px;overflow-wrap:anywhere}
  [data-atlas-host="hosted"] .hc-composer textarea{min-height:72px;max-height:160px;resize:vertical;font-family:inherit;line-height:1.5;padding:12px;border-radius:10px}
  [data-atlas-host="hosted"] .hc-composer button{border-radius:10px;min-width:76px}
}
@media(max-width:820px) and (min-width:360px),(pointer:coarse) and (min-width:360px) and (max-width:1024px){
  [data-atlas-host="hosted"] #atlas-nt-form .atlas-modal-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px) and (max-height:500px),(pointer:coarse) and (max-width:1024px) and (max-height:500px){
  [data-atlas-host="hosted"] body{padding-bottom:52px}
  [data-atlas-host="hosted"] .view-switcher{height:52px;padding-top:3px;padding-bottom:3px}
  [data-atlas-host="hosted"] .view-switcher .view-btn{flex-direction:row;gap:8px;min-height:44px}
  [data-atlas-host="hosted"] .data-view-header{padding-top:12px}
  [data-atlas-host="hosted"] .shared-filter-row{grid-template-columns:minmax(0,1fr) auto minmax(210px,1fr)}
  [data-atlas-host="hosted"] .shared-archive-pill{grid-row:1;grid-column:3}
  [data-atlas-host="hosted"] .list-view-table tbody{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-atlas-host="hosted"] .pane-header{padding:4px 16px}
  [data-atlas-host="hosted"] .hosted-mobile-back{min-height:36px}
}
@media(prefers-reduced-motion:no-preference){
  @media(max-width:820px),(pointer:coarse) and (max-width:1024px){
    [data-atlas-host="hosted"] :is(.ticket-modal,.atlas-modal,.mobile-settings-sections:not([hidden])){animation:mobile-surface-in 180ms cubic-bezier(.2,.8,.2,1)}
    [data-atlas-host="hosted"] .mobile-filters-open>.mobile-filter-details{animation:mobile-sheet-in 220ms cubic-bezier(.2,.8,.2,1)}
    [data-atlas-host="hosted"] :is(button,a){transition:background-color 120ms,color 120ms,border-color 120ms}
  }
}
@keyframes mobile-surface-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes mobile-sheet-in{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}
@media(hover:none){
  [data-atlas-host="hosted"] :is(button,a,input,select,textarea,[role="button"]){-webkit-tap-highlight-color:transparent}
}

.mobile-graph-heading,.mobile-graph-tools,.mobile-graph-filter-heading{display:none}
.graph-node:focus-visible{outline:none}
.graph-node:focus-visible>circle:first-child{stroke:var(--accent);stroke-width:5px}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .mobile-graph-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;flex:none}
  .mobile-graph-heading h2{font-size:20px;margin:0 0 6px}
  .mobile-graph-heading p{font-size:12px;color:var(--fg-dim);margin:0}
  [data-atlas-host="hosted"] .mobile-graph-filters{margin:0;padding:10px;max-width:140px;border-radius:10px;font-size:13px}
  [data-atlas-host="hosted"] .view-graph.mobile-filters-open>.graph-sidebar{position:fixed;inset:var(--mobile-top,0px) 0 auto;height:var(--mobile-height,100dvh);max-height:none;width:100%;z-index:260;background:var(--bg-2);padding:0 16px 24px;overflow:auto;border:0}
  [data-atlas-host="hosted"] .mobile-graph-filter-heading{display:flex;position:sticky;top:0;justify-content:space-between;align-items:center;gap:12px;background:var(--bg-2);padding:16px 0;z-index:2}
  .mobile-graph-filter-heading strong{font-size:18px}
  [data-atlas-host="hosted"] .graph-sidebar :is(button,select,input:not([type=checkbox]),.check){min-height:44px;font-size:14px}
  [data-atlas-host="hosted"] .graph-sidebar .check{display:flex;align-items:center;gap:10px}
  [data-atlas-host="hosted"] .graph-sidebar input[type=checkbox]{width:20px;height:20px;flex:none}
  [data-atlas-host="hosted"] .graph-sidebar .sidebar-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  [data-atlas-host="hosted"] #graph-search{grid-column:1/-1;font-size:16px}
  [data-atlas-host="hosted"] #graph-filter-toggle{width:auto;padding:10px 14px}
  [data-atlas-host="hosted"] .graph-sidebar :is(.status-chip,.team-chip,.category-chip,.tag-fchip){display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;font-size:14px}
  [data-atlas-host="hosted"] .graph-sidebar .cf-chip{min-width:44px;min-height:44px}
  [data-atlas-host="hosted"] .graph-sidebar .date-filter-row{display:grid;gap:8px}
  [data-atlas-host="hosted"] .mobile-graph-tools{display:grid;gap:12px;position:absolute;bottom:16px;left:16px;right:16px;pointer-events:none;align-items:center;justify-items:center}
  .mobile-graph-tools>span{font-size:12px;color:var(--fg-dim);padding:6px 10px;background:var(--bg-2);border-radius:8px}
  .mobile-graph-tools>div{display:flex;gap:8px;pointer-events:auto}
  .mobile-graph-tools button{min-width:44px;min-height:44px;padding:10px 14px;border-radius:10px;background:var(--bg-2)}
}

@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .graph-node circle{filter:none}
  [data-atlas-host="hosted"] .graph-node .node-initials{font-size:12px}
  [data-atlas-host="hosted"] .graph-node .node-id-label{font-size:11px}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .pane-header{padding:8px 16px 12px}
  [data-atlas-host="hosted"] .pane-header h2.pane-title{font-size:17px;line-height:1.4;letter-spacing:-.02em;margin:4px 0}
  [data-atlas-host="hosted"] .hosted-mobile-back{font-size:13px;min-height:36px;padding:6px 0;margin:0}
  [data-atlas-host="hosted"] .pane-reporter{font-size:12px;line-height:1.5;font-weight:500;color:var(--fg-dim)}
  [data-atlas-host="hosted"] .tabs:has(.tab:only-child){display:none}
  [data-atlas-host="hosted"] .pane[data-mobile-section="details"] .pane-actions{order:2;display:flex;flex-wrap:wrap;gap:10px 8px;padding:16px 0;margin:0;border-top:1px solid var(--border)}
  [data-atlas-host="hosted"] .pane-actions>.color-swatches{display:flex;gap:2px;flex-wrap:nowrap;order:-1;width:100%}
  [data-atlas-host="hosted"] .pane-actions>.muted:first-child{display:none}
  [data-atlas-host="hosted"] .pane-actions>.color-status:empty{display:none}
  [data-atlas-host="hosted"] .pane-actions>.pane-actions-sep{display:none}
  [data-atlas-host="hosted"] .pane-actions .pane-color-swatch{position:relative;width:36px;height:40px;min-width:36px;min-height:40px;border:0;border-radius:6px;background:transparent!important;transform:none;font-size:14px}
  [data-atlas-host="hosted"] .pane-color-swatch::before{content:"";display:block;width:18px;height:18px;background:var(--swatch);border-radius:50%;box-sizing:border-box}
  [data-atlas-host="hosted"] .pane-color-clear::before{position:absolute;border:1px dashed var(--fg-dim);width:22px;height:22px}
  [data-atlas-host="hosted"] .pane-color-swatch.active::before{outline:2px solid var(--fg);outline-offset:3px}
  [data-atlas-host="hosted"] .pane[data-mobile-section="conversation"] .hosted-ticket-summary{display:none}
  [data-atlas-host="hosted"] .hosted-ticket-summary{border:0;padding:4px 0;background:transparent}
  [data-atlas-host="hosted"] .mobile-notes-picker{display:flex;align-items:center;gap:12px;padding:10px 16px;flex:none;border-bottom:1px solid var(--border);color:var(--fg-dim);font-size:12px}
  [data-atlas-host="hosted"] .mobile-notes-picker select{flex:1;min-width:0;min-height:40px;padding:8px 10px;font-size:14px;background:var(--bg);color:var(--fg);border:1px solid var(--border);border-radius:7px}
  [data-atlas-host="hosted"] .notes-pane>.notes-pane-tabs,[data-atlas-host="hosted"] .notes-pane .notes-subtabs{display:none}
  [data-atlas-host="hosted"] .notes-pane .notes-header{padding:8px 12px;gap:8px}
  [data-atlas-host="hosted"] .notes-pane .notes-header button{min-height:36px;padding:6px 10px;min-width:44px;font-size:12px}
  [data-atlas-host="hosted"] .notes-pane .ai-empty{padding:20px 4px;font-size:14px}
}
@media(max-width:820px) and (max-height:500px),(pointer:coarse) and (max-width:1024px) and (max-height:500px){
  [data-atlas-host="hosted"] .data-view-header{padding:8px 16px}
  [data-atlas-host="hosted"] .data-view-header h2{font-size:20px}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .topbar:has(#hosted-copilot-launch){grid-template-columns:24px minmax(0,1fr) 40px 40px auto;gap:6px}
  [data-atlas-host="hosted"] .topbar>#hosted-copilot-launch{display:inline-flex!important;grid-column:3;grid-row:1;width:40px;height:40px;min-width:40px;padding:0}
  [data-atlas-host="hosted"] .topbar:has(#hosted-copilot-launch) .mobile-search-toggle{grid-column:4;grid-row:1}
  [data-atlas-host="hosted"] .topbar:has(#hosted-copilot-launch) #new-ticket-btn{grid-column:5}
  [data-atlas-host="hosted"] .copilot-launch-label{display:none}
  [data-atlas-host="hosted"] .hosted-ticket-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
  [data-atlas-host="hosted"] .hosted-ticket-copilot{min-height:36px;flex:none}
  [data-atlas-host="hosted"] .hosted-copilot{z-index:9000}
  [data-atlas-host="hosted"] .hosted-copilot.copilot-workspace{inset:var(--mobile-top,0px) 0 auto;height:var(--mobile-height,100dvh);width:100%;padding:0;gap:0;overflow:hidden}
  [data-atlas-host="hosted"] .copilot-workspace>header{position:static;flex-wrap:nowrap;padding:12px 16px 8px}
  [data-atlas-host="hosted"] .copilot-workspace header h2{font-size:18px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-header-actions button{min-height:40px;min-width:36px;padding:4px 6px;font-size:12px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-header-actions :is([data-new],.cp-chat-close){font-size:20px}
  [data-atlas-host="hosted"] .cp-chat-identity p{display:none}
  [data-atlas-host="hosted"] .cp-chat-context{padding:4px 16px 8px}
  [data-atlas-host="hosted"] .cp-chat-context select{font-size:14px;min-height:40px}
  [data-atlas-host="hosted"] .cp-chat-messages{padding:20px 16px}
  [data-atlas-host="hosted"] .cp-chat-composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}
  [data-atlas-host="hosted"] .cp-chat-composer textarea{font-size:16px;min-height:64px}
  [data-atlas-host="hosted"] .cp-chat-compose-actions button{min-height:40px;padding:6px 8px;font-size:11px}
  [data-atlas-host="hosted"] .cp-chat-compose-actions .cp-chat-send{font-size:12px;padding:7px 10px}
  [data-atlas-host="hosted"] .cp-chat-draft textarea{font-size:16px}
  [data-atlas-host="hosted"] .cp-chat-draft-actions button{min-height:40px}
}
@media(max-width:820px) and (max-height:500px),(pointer:coarse) and (max-width:1024px) and (max-height:500px){
  [data-atlas-host="hosted"] .cp-chat-identity p{display:none}
  [data-atlas-host="hosted"] .copilot-workspace>header{padding:4px 12px}
  [data-atlas-host="hosted"] .cp-chat-context{padding:0 12px 4px}
  [data-atlas-host="hosted"] .cp-chat-notice{padding:4px 12px}
  [data-atlas-host="hosted"] .cp-chat-composer textarea{min-height:42px;height:42px}
  [data-atlas-host="hosted"] .cp-chat-composer{padding:6px 12px}
  [data-atlas-host="hosted"] .cp-chat-footer{display:none}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] body.mobile-keyboard-open .cp-chat-composer textarea{min-height:44px;height:44px}
  [data-atlas-host="hosted"] body.mobile-keyboard-open .cp-chat-footer{display:none}
  [data-atlas-host="hosted"] body.mobile-keyboard-open .cp-chat-composer{padding:6px 12px}
}
@media(max-width:820px),(pointer:coarse) and (max-width:1024px){
  [data-atlas-host="hosted"] .copilot-workspace [data-expand]{display:none}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-capabilities{padding:0 16px 8px;gap:6px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-capabilities button{min-height:36px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-settings,[data-atlas-host="hosted"] .copilot-workspace .cp-chat-inspector{padding:20px 16px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-modes select{font-size:16px;min-height:40px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-chat-composer .cp-chat-footer>span:last-child:not([role]){display:none}
  [data-atlas-host="hosted"] .copilot-workspace .hc-threads{max-height:none}
  [data-atlas-host="hosted"] .copilot-workspace .hc-proposal textarea{font-size:16px}
  [data-atlas-host="hosted"] .copilot-workspace .hc-proposal>button,[data-atlas-host="hosted"] .copilot-workspace .cp-document-card>button{min-height:40px}
  [data-atlas-host="hosted"] .copilot-workspace .cp-thread-menu summary{min-height:40px}
  [data-atlas-host="hosted"] body.mobile-keyboard-open .copilot-workspace .cp-chat-composer{padding:6px 12px}
  [data-atlas-host="hosted"] body.mobile-keyboard-open .copilot-workspace .cp-chat-capabilities{display:none}
}
