.mobile-nav,.mobile-shift-create{display:none}.mobile-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,560px);max-width:100%;max-height:calc(100dvh - 16px - env(safe-area-inset-top));padding:0;border:1px solid var(--line);border-radius:20px 20px 0 0;background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain}.mobile-dialog::backdrop{background:rgb(8 17 31/38%)}.mobile-dialog-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:var(--paper);border-bottom:1px solid var(--line)}.mobile-dialog-header h2{margin:0;font-size:20px}.mobile-dialog-header button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:12px;background:var(--paper-2)}.mobile-dialog-content{padding:12px 16px calc(20px + env(safe-area-inset-bottom))}.mobile-menu-links{display:grid;gap:4px}.mobile-menu-links a{min-height:48px;white-space:normal;overflow-wrap:anywhere}.mobile-menu-links a[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.mobile-menu-links .sidebar-nav-link{justify-content:flex-start;width:100%;padding:12px}.mobile-menu-links .sidebar-nav-link>span{display:block}.mobile-profile{display:grid;gap:6px;margin-top:16px;border-top:1px solid var(--line);padding-top:16px;overflow-wrap:anywhere}.mobile-profile>span{color:var(--muted)}.mobile-profile button{display:flex;gap:8px;align-items:center;min-height:44px;border:0;background:transparent}.mobile-shift-form{display:grid;gap:16px}.mobile-shift-form label{display:grid;gap:6px}.mobile-shift-form input,.mobile-shift-form select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--paper);font-size:16px}.mobile-shift-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width:920px){.cabinet-shell,html[data-sidebar-collapsed=true] .cabinet-shell{grid-template-columns:minmax(0,1fr);transition:none}.cabinet-shell>.sidebar{display:none}.cabinet-shell>.main-shell{min-width:0;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(88px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow-wrap:anywhere}.mobile-nav{position:fixed;z-index:1100;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--paper);border-top:1px solid var(--line)}.mobile-nav>a,.mobile-nav>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;gap:4px;padding:4px 0;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:11px;line-height:1.25}.mobile-nav [aria-current=page],.mobile-nav [aria-expanded=true],.mobile-nav [data-active=true]{background:var(--accent-soft);color:var(--accent)}.mobile-nav-warning{position:absolute;top:4px;left:calc(50% + 9px);width:7px;height:7px;border-radius:50%;background:var(--warn)}:is(.mobile-nav,.mobile-dialog) :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.cabinet-shell .main-shell :is(section,article,form,header,footer,.grid,.stack),.cabinet-shell .main-shell>*{min-width:0;max-width:100%}.cabinet-shell .main-shell :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),.login-panel input{min-width:0;max-width:100%;font-size:16px}.cabinet-shell .main-shell :is(button,[role=combobox],select,input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range])),.mobile-dialog :is(button,select,input:not([type=hidden])),:is(.location-create-dialog,.telegram-connect-dialog) :is(button,input,select){min-height:44px}.cabinet-shell .main-shell button:not(.shift-event):not(.dashboard-calendar-day),:is(.location-create-close,.telegram-connect-close){min-width:44px}.cabinet-shell .main-shell :is(.date-stepper a,.pagination-actions a,.dashboard-segmented a,.location-settings-tabs a){min-height:44px}.cabinet-shell .main-shell :is(.date-stepper,.pagination-actions){flex-wrap:wrap}.cabinet-shell .analytics-context-bar{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.cabinet-shell .analytics-context-bar>*{width:100%;min-width:0}.cabinet-shell .cabinet-context-header{width:100%}.cabinet-shell .report-controls{grid-template-columns:minmax(0,1fr)}.cabinet-shell :is(.dashboard-toolbar-main,.report-page-header,.catalog-items-head,.catalog-save-bar,.location-people-toolbar){flex-wrap:wrap}.cabinet-shell :is(.dashboard-custom-period,.dashboard-period-control){min-width:0;max-width:100%;flex-wrap:wrap}.cabinet-shell :is(.dashboard-chart-box,.report-chart-box,.recharts-responsive-container){min-width:0;max-width:100%}.cabinet-shell .chart-tooltip{max-width:min(240px,calc(100vw - 64px));white-space:normal;overflow-wrap:anywhere}.cabinet-shell :is(.dialogue-report-grid,.order-card,.training-item-body){min-width:0}.cabinet-shell :is(.dialogue-timeline-plain-text,.dialogue-timeline-list,.catalog-file-list,.device-token-row){overflow-wrap:anywhere}.cabinet-shell audio{width:100%;max-width:100%}.cabinet-shell .dialogue-timeline-transport{grid-template-columns:44px minmax(0,1fr) 44px}.cabinet-shell .dialogue-timeline-transport :is(button,.dialogue-timeline-mute){width:44px;height:44px}.cabinet-shell .dialogue-waveform input[type=range]{min-height:44px}.cabinet-shell .shift-timeline{min-width:0;max-width:100%}.cabinet-shell .shift-timeline-day{touch-action:pan-x pan-y;cursor:default}.cabinet-shell .shift-event-resize-handle{display:none}.mobile-shift-create{display:inline-flex;margin-bottom:12px}.cabinet-shell .shift-event-panel{display:none}.cabinet-shell .shift-event{min-height:44px}:is(.location-create-modal,.telegram-connect-modal){padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));overflow-y:auto}:is(.location-create-dialog,.telegram-connect-dialog){max-width:100%;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}:is(.location-create-dialog,.telegram-connect-dialog) :is(input,select,textarea){min-width:0;max-width:100%;font-size:16px}.telegram-connect-body{grid-template-columns:minmax(0,1fr)}.access-invite-link-row,.telegram-connect-code,.telegram-connect-link{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}.telegram-connect-body img{max-width:100%;height:auto}.location-create-actions{flex-wrap:wrap}.login-page{position:relative;min-height:100dvh;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));overflow-y:auto}.login-panel{max-width:100%;padding:20px}.login-panel :is(button,input){min-height:44px}[data-mobile-select]{max-width:calc(100vw - 24px);max-height:min(24rem,var(--radix-select-content-available-height))}[data-mobile-select] [role=option]{min-height:44px;white-space:normal;overflow-wrap:anywhere}}@media (max-width:560px){.cabinet-shell .analytics-context-bar{grid-template-columns:minmax(0,1fr)}.cabinet-shell .page-header h1{font-size:28px}.cabinet-shell .dialogue-breadcrumb-header{flex-wrap:wrap}.cabinet-shell .dialogues-responsive-table,.cabinet-shell .dialogues-responsive-table>tbody{display:block;width:100%;min-width:0}.cabinet-shell .dialogues-responsive-table>colgroup,.cabinet-shell .dialogues-responsive-table>thead{display:none}.cabinet-shell .dialogue-data-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px;border-bottom:1px solid var(--line)}.cabinet-shell .dialogue-data-row>td{display:block;min-width:0;padding:0;border:0}.cabinet-shell .dialogue-data-row>td:before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;padding:0 4px}.cabinet-shell .dialogue-data-row>td:last-child{grid-column:1/-1}.cabinet-shell .dialogue-data-row .dialogue-cell-link{display:flex;align-items:center;min-height:44px;padding:4px;white-space:normal;overflow-wrap:anywhere}.cabinet-shell .dialogue-data-row :is(.dialogue-issues-list,.dashboard-issue-badge){white-space:normal}.cabinet-shell .dialogue-group-table-row,.cabinet-shell .dialogue-group-table-row>td{display:block;width:100%;padding:0}.cabinet-shell .dialogue-group summary{min-height:48px;padding:12px}.cabinet-shell .catalog-items-row{gap:8px;padding:12px 0}.cabinet-shell .catalog-items-row input{width:100%}.cabinet-shell .dashboard-segmented{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.mobile-dialog *,.mobile-nav *{animation:none;transition:none}}@media (max-width:920px){.cabinet-shell .dialogue-report-tabs{display:flex;height:auto;flex-wrap:wrap}.cabinet-shell .dialogue-report-tabs a{min-height:44px;flex:1 1 auto;white-space:normal}.cabinet-shell .dialogue-timeline-desktop-player{display:none}.cabinet-shell .dialogue-timeline-mobile{display:grid;gap:14px;padding:12px;background:#fbfbfc}.dashboard-calendar-popover-floating{padding:0;overflow-y:auto;overscroll-behavior:contain}.dashboard-calendar-header{grid-template-columns:44px minmax(0,1fr) 44px;padding:4px}.dashboard-calendar-nav{width:44px;height:44px}.dashboard-calendar-grid{gap:0}.dashboard-calendar-day{height:44px}.cabinet-shell button{transition-property:background-color,color,border-color,opacity,transform}}@media (hover:none){.cabinet-shell button:hover{translate:none}}@media (max-width:920px){.cabinet-shell [data-slot=button],.login-panel [data-slot=button]{min-height:44px;min-width:44px}.cabinet-shell .date-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px}.cabinet-shell .date-stepper a{width:44px}.cabinet-shell .location-settings-tabs-list{display:grid;width:100%;height:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-shell .location-settings-tabs-list button{white-space:normal}.cabinet-shell .device-connection-row{flex-wrap:wrap}}@media (min-width:921px) and (max-width:1100px){.cabinet-shell .dialogue-report-grid,.cabinet-shell .locations-layout{grid-template-columns:minmax(0,1fr)}.cabinet-shell .locations-side-column{position:static;max-height:none}}@media (max-width:920px){.login-panel .login-content input:not(.auth-role-toggle input){font-size:16px;min-height:44px}}