/* Android — вариант «Сводка». Загружается после стилей веб-интерфейса. */
body.mobile-app{--mobile-blue:#315579;--mobile-line:#dce2e8;--mobile-muted:#66758a;background:#f7f7f4;color:#243044}
.mobile-launch{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:#f7f7f4;color:#263b53;text-align:center;padding:24px}.mobile-launch.is-hidden{display:none}.mobile-launch img{width:104px;height:104px;border-radius:23px;box-shadow:0 10px 24px #192a3d1d}.mobile-launch strong{font:700 22px/1.2 Arial,sans-serif;margin-top:6px}.mobile-launch span{font:400 13px/1.4 Arial,sans-serif;color:#68778a}
.mobile-app #app .tabs-row,.mobile-app #app .topbar .eyebrow,.mobile-app #app .topbar-more,.mobile-app #app #btn-export,.mobile-app #app #btn-logout,.mobile-app #app .who{display:none!important}
.mobile-app #app .topbar{background:#fff;box-shadow:none;border-bottom:1px solid var(--mobile-line);position:relative}
.mobile-app #app .topbar-inner:not(.tabs-row){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;max-width:760px;margin:auto}
.mobile-app #app .topbar h1{font:700 22px/1.2 Arial,sans-serif;color:#243044;letter-spacing:-.03em}
.mobile-app #app .topbar-actions{width:auto;overflow:visible;padding:0}
.mobile-app #app .container{max-width:760px;width:100%;padding:16px 16px calc(92px + env(safe-area-inset-bottom));margin:0 auto}
.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:150;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px max(4px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--mobile-line);box-shadow:0 -3px 14px #24304405}
.mobile-bottom-nav button{border:0;background:none;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:600 11px/1.2 Arial,sans-serif;color:#68778b;padding:2px;cursor:pointer}
.mobile-bottom-nav svg{width:42px;height:27px;padding:3px 10px;border-radius:10px}
.mobile-bottom-nav button.active{color:var(--mobile-blue)}.mobile-bottom-nav button.active svg{background:#e7eff8}
.mobile-app button:focus-visible{outline:3px solid #89a7ca;outline-offset:2px}
.mobile-keyboard-open .mobile-bottom-nav{display:none}
.mobile-today-date{font-size:13px;color:var(--mobile-muted);margin:0 0 16px;text-transform:capitalize}
.mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mobile-stats button{background:#fff;border:1px solid var(--mobile-line);border-radius:14px;padding:14px 10px;min-height:84px;text-align:left;color:var(--mobile-blue)}
.mobile-stats strong{display:block;font-size:27px;line-height:1.1;margin-bottom:7px}.mobile-stats span{font-size:12px;color:var(--mobile-muted)}.mobile-stats .mobile-danger{color:#ad483b}
.mobile-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:12px 0 0;padding:14px 12px;min-height:48px;border:0;border-radius:13px;background:#eaf0f7;color:#365779;text-align:left;font-size:13px}.mobile-notice span{white-space:nowrap;font-size:12px}
.mobile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:23px 0 10px}.mobile-section-heading h2{font:700 17px/1.2 Arial,sans-serif;margin:0;color:#243044}.mobile-section-heading button{border:0;background:none;color:#496381;font-size:12px;min-height:44px;padding:5px}
.mobile-home-list{display:grid;gap:9px}.mobile-home-card{width:100%;padding:14px;text-align:left;background:#fff;border:1px solid var(--mobile-line);border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;color:#243044;cursor:pointer}
.mobile-home-card strong{font-size:15px;overflow-wrap:anywhere}.mobile-home-card>span:not(.status-badge){color:var(--mobile-muted);font-size:13px}.mobile-home-card .status-badge{font-size:11px;white-space:normal}.mobile-home-add{width:100%;margin-top:16px;min-height:46px}
.mobile-empty{font-size:14px;padding:20px 14px;background:#fff;border:1px dashed var(--mobile-line);border-radius:14px;line-height:1.5}.mobile-empty span{font-size:12px;color:var(--mobile-muted)}
.mobile-search{display:block;font-size:12px;color:var(--mobile-muted);margin-bottom:13px}.mobile-search input{display:block;width:100%;margin-top:6px;min-height:46px;border:1px solid var(--mobile-line);border-radius:12px;padding:11px 13px;background:#fff;font-size:15px;color:#243044}
.mobile-app #summary-grid,.mobile-app #tasks-summary-grid{display:none}
.mobile-app #tab-content-cases>.controls-row{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.mobile-app #tab-content-cases #btn-import{display:none}.mobile-app #btn-add{min-height:44px;margin-left:auto;font-size:13px}.mobile-app .checkbox-label{font-size:12px}
.mobile-app #cases-type-filter{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:2px 0 10px;margin-bottom:5px;scrollbar-width:none}.mobile-app .cases-type-btn{flex:none;min-height:42px;border-radius:22px;padding:9px 13px;font-size:12px;background:#fff;border:1px solid var(--mobile-line);color:#52657b}.mobile-app .cases-type-btn.active{background:var(--mobile-blue);color:#fff;border-color:var(--mobile-blue)}
.mobile-app .records-list{gap:10px}.mobile-app .mobile-record{background:#fff;border:1px solid var(--mobile-line);border-left-width:4px;border-radius:15px;overflow:hidden;box-shadow:none;margin-bottom:10px}
.mobile-app .mobile-record-header{display:flex!important;align-items:flex-start!important;justify-content:space-between;gap:10px;width:100%;border:0;background:none;padding:14px 12px!important;color:#243044;text-align:left;cursor:pointer;min-height:94px}
.mobile-record-main{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.mobile-app .record-number{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.mobile-record-sub{font-size:12px;line-height:1.4;color:var(--mobile-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-record-deadline{font-size:12px;color:#53677e}.mobile-record-side{display:flex;flex-direction:column;align-items:flex-end;gap:12px;max-width:43%;flex-shrink:0}.mobile-record-side .status-badge{font-size:11px;white-space:normal;line-height:1.4;text-align:right}.mobile-open-label{font-size:11px;color:#627790}
.mobile-app .tasks-intro{margin:0 0 12px;padding:0;display:flex;justify-content:flex-end}.mobile-app .tasks-intro>div{display:none}.mobile-app #btn-add-task{min-height:44px;font-size:13px}
.mobile-app .day-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:16px;padding:0}.mobile-app .day-strip{flex:1;min-width:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.mobile-app .day-cell{min-width:0;padding:8px 2px;border-radius:10px;min-height:58px}.mobile-app .day-cell.selected{background:var(--mobile-blue);color:#fff}.mobile-app .day-arrow{width:26px;min-width:26px;padding:0;min-height:48px}.mobile-app #day-today-btn{margin-left:auto;min-height:40px}.mobile-app .day-cell .num{font-size:17px}.mobile-app .day-cell .wd{font-size:10px}
.mobile-app .tasks-overdue{padding:12px;border-radius:14px}.mobile-app .task-card{border:1px solid var(--mobile-line);border-radius:14px;background:#fff;box-shadow:none;padding:12px}.mobile-app .task-row{gap:9px;flex-wrap:wrap;align-items:flex-start}.mobile-app .task-content{flex:1;min-width:130px}.mobile-app .task-title{font-size:15px;line-height:1.4}.mobile-app .task-meta{font-size:12px;gap:4px}.mobile-app .task-edit-btn{min-height:40px;font-size:11px;padding:7px}.mobile-app .task-check{min-width:36px;min-height:40px}.mobile-app .tasks-section-head h3{font-size:16px}.mobile-app .task-form-row{grid-template-columns:1fr}.mobile-app input,.mobile-app select,.mobile-app textarea{font-size:16px}
.mobile-menu-list{display:grid;gap:9px}.mobile-menu-list button{position:relative;display:flex;flex-direction:column;gap:6px;text-align:left;padding:17px 35px 17px 15px;background:#fff;border:1px solid var(--mobile-line);border-radius:14px;min-height:55px;color:#243044}.mobile-menu-list strong{font-size:15px}.mobile-menu-list span{font-size:12px;color:var(--mobile-muted)}.mobile-menu-list b{position:absolute;right:16px;top:20px;font-size:20px;color:#698098}.mobile-menu-heading{font-size:17px;margin:25px 0 12px}
.mobile-app #toast-area{display:none}.mobile-app .bell-panel{max-height:calc(100dvh - 100px);overflow:auto}.mobile-app .app-footer{display:none}.mobile-app #tab-content-ai-chat .ai-workspace-copy,.mobile-app #btn-ai-chat-expand{display:none}.mobile-app #tab-content-ai-chat .ai-chat-layout{border-radius:14px}.mobile-app #tab-content-ai-chat .ai-chat-main{padding:10px}.mobile-app #tab-content-ai-chat .ai-workspace-heading{padding:5px 0 10px}.mobile-app #tab-content-ai-chat .ai-chat-greeting-text{font-size:24px}
@media(min-width:760px){.mobile-bottom-nav{left:50%;right:auto;width:760px;transform:translateX(-50%)}.mobile-app #app .container{border-left:1px solid var(--mobile-line);border-right:1px solid var(--mobile-line);min-height:calc(100dvh - 80px)}}
body.mobile-app #app #cases-type-filter{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:10px}
body.mobile-app #app #cases-type-filter .btn{width:auto;min-height:42px;flex:0 0 auto;border-radius:22px}
body.mobile-app #app #cases-type-filter .btn.active{background:#315579;color:#fff;border-color:#315579}
body.mobile-app #app #tab-content-cases>.controls-row{flex-direction:row;margin-top:12px;align-items:center}
body.mobile-app #app .controls-row #btn-add{width:auto;flex:0 0 auto}
body.mobile-app #app .controls-row .checkbox-label{font-size:11px;flex:1;margin:0;gap:6px}
body.mobile-app #app .record-number{font-family:Arial,Helvetica,sans-serif;font-size:15px}
body.mobile-app #app #tab-content-tasks .task-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:0;align-items:start}
body.mobile-app #app #tab-content-tasks .task-content{min-width:0}
body.mobile-app #app #tab-content-tasks .task-meta{font-size:12px;gap:4px 8px}
body.mobile-app #app #tab-content-tasks .task-meta span{padding:0;background:none}
body.mobile-app #app #tab-content-tasks .task-priority{display:none}
body.mobile-app #app #tab-content-tasks .task-edit-btn{grid-column:auto;min-height:44px;font-size:11px;padding:7px}
body.mobile-app #app #tab-content-tasks .task-check{min-width:30px;width:30px;min-height:40px}
body.mobile-app #app #tab-content-tasks .day-nav{padding:0;background:none;border:0;gap:3px}
body.mobile-app #app #tab-content-tasks .day-arrow{width:24px;min-width:24px;padding:0}
body.mobile-app #app #tab-content-tasks .day-cell{min-width:0;padding:8px 1px}
body.mobile-app #app #tab-content-tasks .day-cell.selected{background:#315579;color:#fff;border-color:#315579}
body.mobile-app #app #tab-content-tasks #day-today-btn{width:auto;margin-left:auto}
body.mobile-app #app .tab-enter{animation:none}

body.mobile-app #app #cases-type-filter .btn.active{background:#315579!important;color:#fff!important;border-color:#315579!important}
/* Отдельные мобильные экраны карточки дела и действия. */
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="detail"] .mobile-bottom-nav,
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="action"] .mobile-bottom-nav{display:none}
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="detail"] #app .topbar,
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="action"] #app .topbar{display:none}
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="detail"] #app .container,
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="action"] #app .container{padding-top:14px;padding-bottom:26px}
.mobile-case-back{display:inline-flex;align-items:center;gap:9px;min-height:52px;max-width:100%;border:0;background:none;color:#294a70;font:700 16px/1.25 Arial,sans-serif;padding:0 8px 0 0;margin:0 0 10px;text-align:left;cursor:pointer}
.mobile-case-back svg{width:36px;height:36px;flex:none;padding:7px;background:#e5edf5;border:1px solid #d2deea;border-radius:11px}
.mobile-case-back span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-case-title-row{display:flex;justify-content:space-between;align-items:start;gap:12px;margin:0 0 18px}
.mobile-case-title-row small{font-size:12px;color:#68778a}.mobile-case-title-row h2{font-size:24px;line-height:1.2;margin:5px 0 0;overflow-wrap:anywhere}
.mobile-case-more{background:#fff;border:1px solid #dce2e8;border-radius:11px;width:44px;height:44px;font-size:22px;color:#315579}
.mobile-case-deadline{background:#fff4e4;border:1px solid #ead7b4;border-radius:16px;padding:17px;margin:0 0 12px;display:flex;flex-direction:column;gap:6px;color:#715022}
.mobile-case-deadline.overdue{background:#fff0ec;border-color:#ecc5bd;color:#a44739}.mobile-case-deadline.paused{background:#edf2f7;border-color:#dce2e8;color:#315579}
.mobile-case-deadline span{font-size:12px}.mobile-case-deadline strong{font-size:26px;line-height:1.2}.mobile-case-deadline small{font-size:13px}
.mobile-case-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}.mobile-case-primary-actions .btn{min-height:48px;font-size:13px;padding:8px;white-space:normal}
.mobile-case-primary-actions .btn:only-child{grid-column:1/-1}
.mobile-case-section{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 9px}.mobile-case-section h3{font-size:16px;margin:0}.mobile-case-section button{background:none;border:0;color:#526c89;font-size:12px;min-height:42px}
.mobile-case-info,.mobile-case-menu,.mobile-case-note{background:#fff;border:1px solid #dce2e8;border-radius:14px;padding:5px 13px}
.mobile-case-info-row{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #edf0f3;font-size:13px;line-height:1.4}.mobile-case-info-row:last-child{border:0}.mobile-case-info-row span{color:#68778a;max-width:45%}.mobile-case-info-row strong{text-align:right;max-width:65%;overflow-wrap:anywhere;font-weight:600}
.mobile-case-link{display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;width:100%;min-height:54px;padding:10px 0;background:none;border:0;border-bottom:1px solid #edf0f3;color:#2c4058;font-size:14px}.mobile-case-link:last-child{border:0}.mobile-case-link small{font-size:12px;color:#718197;text-align:right}.mobile-case-link span{min-width:0}.mobile-case-note{font-size:14px;line-height:1.5;padding:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.mobile-case-action-title{font-size:23px;line-height:1.25;margin:2px 0 20px}.mobile-case-current,.mobile-case-hint{background:#edf2f7;border-radius:13px;padding:14px;font-size:13px;line-height:1.5;color:#496078}.mobile-case-current strong{display:block;color:#243d58;margin-top:4px}.mobile-case-hint{margin-top:18px}
.mobile-case-field{display:block;margin:18px 0;font-size:13px;font-weight:600;color:#344960}.mobile-case-field>span{display:block;margin-bottom:8px}.mobile-case-field input,.mobile-case-field textarea,.mobile-case-field select{display:block;width:100%;min-height:49px;background:#fff;color:#28394b;border:1px solid #ccd6e0;border-radius:11px;padding:12px 13px;font:400 16px/1.4 Arial,sans-serif}.mobile-case-field textarea{resize:vertical}.mobile-case-field small{display:block;font-size:12px;line-height:1.4;font-weight:400;color:#758297;margin-top:6px}
.mobile-case-checkbox{display:flex;align-items:center;gap:10px}.mobile-case-checkbox input{width:22px;height:22px;min-height:22px;flex:none}.mobile-case-checkbox>span{margin:0}
.mobile-case-save{position:sticky;bottom:0;z-index:20;background:#f7f7f4;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid #e0e5eb;margin-top:20px}.mobile-case-save .btn{width:100%;min-height:50px;font-size:15px}.mobile-case-error{color:#a53f32;font-size:13px;line-height:1.5;min-height:20px}
body.mobile-app[data-mobile-screen="cases"][data-mobile-case-view="action"] .mobile-case-menu{margin-top:8px}

/* Задачи: выбранный день остаётся главным, формы занимают отдельный экран. */
body.mobile-app #app #tab-content-tasks .day-nav{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px auto;grid-template-areas:"month prev next today" "strip strip strip strip";align-items:center;gap:8px;margin:6px 0 18px}
body.mobile-app #app #mobile-day-month{grid-area:month;font-size:15px;font-weight:700;color:#293d56;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.mobile-app #app #day-prev-week{grid-area:prev}body.mobile-app #app #day-next-week{grid-area:next}
body.mobile-app #app #tab-content-tasks .day-arrow{width:44px;min-width:44px;min-height:44px;height:44px;border:1px solid var(--mobile-line);border-radius:11px;background:#fff;color:#315579;font-size:25px}
body.mobile-app #app #day-today-btn{grid-area:today;grid-column:auto;width:auto;min-height:44px;margin:0;padding:0 10px;border-radius:11px}
body.mobile-app #app #tab-content-tasks .day-strip{grid-area:strip;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;width:100%;overflow:visible}
body.mobile-app #app #tab-content-tasks .day-cell{min-height:62px;padding:7px 2px;border-radius:12px}
body.mobile-app #app #tab-content-tasks .day-cell .wd{font-size:11px}body.mobile-app #app #tab-content-tasks .day-cell .num{font-size:19px}
body.mobile-app #app #tab-content-tasks .task-card{border-radius:14px;margin-bottom:9px}
body.mobile-app #app #tab-content-tasks .task-row{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;padding:12px;gap:9px}
body.mobile-app #app #tab-content-tasks .task-check{width:44px;min-width:44px;height:44px;min-height:44px;font-size:24px}
body.mobile-app #app #tab-content-tasks .task-title{font-size:15px;line-height:1.45;overflow-wrap:anywhere}
body.mobile-app #app #tab-content-tasks .task-priority{display:inline;color:#596b80;font-weight:600}
body.mobile-app #app #tab-content-tasks .task-edit-btn{min-height:44px;padding:0 9px;font-size:12px}
body.mobile-app #app #tab-content-tasks .task-note-preview{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mobile-task-editor-head{display:none}
body.mobile-app.mobile-task-editor-open{overflow:hidden}
body.mobile-app.mobile-task-editor-open .mobile-bottom-nav{display:none}
body.mobile-app #app #tab-content-tasks .task-form:not(.hidden),body.mobile-app #app #tab-content-tasks .task-edit-form{position:fixed;inset:0;left:50%;transform:translateX(-50%);z-index:210;width:min(100%,760px);max-width:760px;height:100dvh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;margin:0;border:0;border-radius:0;background:#f7f7f4;padding:0 18px calc(90px + env(safe-area-inset-bottom));box-shadow:none}
body.mobile-app #app #tab-content-tasks .mobile-task-editor-head{display:flex;align-items:center;gap:13px;position:sticky;top:0;z-index:2;min-height:70px;margin:0 -18px 22px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;background:#fff;border-bottom:1px solid var(--mobile-line)}
body.mobile-app #app #tab-content-tasks .mobile-task-editor-head button{min-width:78px;min-height:44px;padding:0 8px;border:0;background:none;color:#315579;text-align:left;font:600 15px Arial,sans-serif}
body.mobile-app #app #tab-content-tasks .mobile-task-editor-head h2{margin:0;color:#25384e;font-size:20px;line-height:1.2}
body.mobile-app #app #tab-content-tasks .task-form-title,body.mobile-app #app #tab-content-tasks .task-edit-title input{width:100%;min-height:54px;box-sizing:border-box;padding:13px;border:1px solid #cbd6e2;border-radius:11px;background:#fff;color:#27394f;font:400 16px/1.4 Arial,sans-serif}
body.mobile-app #app #tab-content-tasks .task-form-row{display:grid;grid-template-columns:1fr;gap:16px;margin-top:18px}
body.mobile-app #app #tab-content-tasks .task-form-field{min-width:0;color:#344960;font-size:13px;font-weight:600;gap:8px}
body.mobile-app #app #tab-content-tasks .task-form-field input,body.mobile-app #app #tab-content-tasks .task-form-field select,body.mobile-app #app #tab-content-tasks .task-form-field textarea{min-height:49px;box-sizing:border-box;padding:12px 13px;border:1px solid #cbd6e2;border-radius:11px;background:#fff;color:#27394f;font:400 16px/1.4 Arial,sans-serif}
body.mobile-app #app #tab-content-tasks .task-edit-notes{margin-top:18px}
body.mobile-app #app #tab-content-tasks .task-form-actions,body.mobile-app #app #tab-content-tasks .task-edit-actions{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;gap:8px;margin:24px -18px 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--mobile-line)}
body.mobile-app #app #tab-content-tasks .task-form-actions .btn,body.mobile-app #app #tab-content-tasks .task-edit-actions .btn{min-height:48px}
body.mobile-app #app #tab-content-tasks .task-edit-actions{flex-direction:column-reverse;align-items:stretch}
body.mobile-app #app #tab-content-tasks .task-edit-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.mobile-app #app #tab-content-tasks .task-edit-actions>.danger{align-self:flex-start}

/* Месячный обзор: цвет показывает тип записи, подробности открываются по дню. */
.mobile-calendar-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:14px 0;background:#e9edf1;border-radius:13px}
.mobile-calendar-switch button{min-height:42px;border:0;border-radius:10px;background:transparent;color:#53667b;font:600 14px Arial,sans-serif}
.mobile-calendar-switch button.active{background:#fff;color:#274868;box-shadow:0 1px 5px #172a3d16}
.mobile-month-calendar{margin:0 0 20px;padding:14px 10px 12px;background:#fff;border:1px solid var(--mobile-line);border-radius:16px}
.mobile-month-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:12px}
.mobile-month-toolbar button{width:44px;height:44px;border:1px solid var(--mobile-line);border-radius:11px;background:#fff;color:#315579;font-size:25px}
.mobile-month-toolbar h3{margin:0;text-align:center;font-size:18px;line-height:1.2;color:#263b53;text-transform:capitalize}
.mobile-month-weekdays,.mobile-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.mobile-month-weekdays{margin-bottom:5px;color:#738093;font-size:11px;font-weight:600;text-align:center}
.mobile-month-weekdays span{padding:5px 0}
.mobile-month-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:54px;padding:6px 1px;border:1px solid transparent;border-radius:10px;background:#f5f7f9;color:#26384e;font:600 14px Arial,sans-serif}
.mobile-month-day.outside{background:#fafafa;color:#a2acb8}.mobile-month-day.today{border-color:#9aafc7}.mobile-month-day.selected{background:#315579;color:#fff;border-color:#315579}
.mobile-month-number{line-height:19px}.mobile-month-marks{display:flex;justify-content:center;gap:3px;min-height:6px}
.mobile-month-marks i,.mobile-calendar-legend i{display:inline-block;width:8px;height:6px;flex:none;border-radius:99px}
.mobile-month-marks i.case,.mobile-calendar-legend i.case{background:#b35a3b}.mobile-month-marks i.material,.mobile-calendar-legend i.material{background:#3c8886}.mobile-month-marks i.task,.mobile-calendar-legend i.task{background:#5875b4}
.mobile-month-day.selected .mobile-month-marks i{outline:1px solid #fff;outline-offset:1px}
.mobile-calendar-legend{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:12px;color:#596a7e;font-size:11px;line-height:1.3}
.mobile-calendar-legend span{display:inline-flex;align-items:center;gap:5px}.mobile-calendar-legend i{width:8px;height:8px}
.mobile-calendar-legend button{min-height:34px;margin-left:auto;padding:0 9px;border:1px solid var(--mobile-line);border-radius:9px;background:#fff;color:#315579;font:600 11px Arial,sans-serif}
.mobile-day-deadlines{margin:8px 0 16px}.mobile-day-deadlines h4{margin:0 0 8px;color:#344960;font-size:14px}
.mobile-day-deadline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;width:100%;min-height:62px;padding:11px 12px;margin-bottom:7px;border:1px solid var(--mobile-line);border-left:4px solid #b35a3b;border-radius:11px;background:#fff;text-align:left;color:#344960}
.mobile-day-deadline.material{border-left-color:#3c8886}.mobile-day-deadline span{grid-column:1;font-size:11px;color:#697b8e}.mobile-day-deadline strong{grid-column:1;font-size:14px;overflow-wrap:anywhere}.mobile-day-deadline small{grid-column:2;grid-row:1 / 3;align-self:center;color:#657e9a;font-size:11px}
@media(max-width:350px){.mobile-month-calendar{padding-inline:7px}.mobile-month-weekdays,.mobile-month-grid{gap:2px}.mobile-month-day{min-height:51px}}

/* Справочник: список и чтение статьи открываются как отдельные экраны. */
.mobile-reference-detail-bar,.mobile-reference-actions,.mobile-reference-notes-status,.mobile-reference-list-footer{display:none}
body.mobile-app #app #tab-content-reference>.hint{margin:0 0 14px;padding:12px 13px;border-radius:12px;font-size:12px;line-height:1.55}
body.mobile-app #app #tab-content-reference>.row.gap{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0 0 15px!important}
body.mobile-app #app #ref-search{width:100%;min-width:0;min-height:49px;box-sizing:border-box;padding:12px 14px!important;border:1px solid #cbd6e2!important;border-radius:12px!important;background:#fff;font-size:16px}
body.mobile-app #app #ref-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;width:100%;max-width:100%;padding:2px 0 7px;scrollbar-width:none}
body.mobile-app #app #ref-filters .ref-filter{flex:none;min-height:42px;padding:8px 13px;border-radius:22px;font-size:12px}
body.mobile-app #app #ref-doc{width:100%;min-height:48px;max-width:100%;font-size:14px}
body.mobile-app #app #btn-add-reference{align-self:flex-start;min-height:44px;font-size:13px}
body.mobile-app #app .reference-workspace{display:block;min-width:0}
body.mobile-app #app #reference-list.records-list{max-height:none;overflow:visible!important;border-radius:14px}
body.mobile-app #app .mobile-reference-list-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 20px;color:#6b7b8d;font-size:12px}
body.mobile-app #app .mobile-reference-list-footer button{min-height:44px;padding:0 13px;border:1px solid var(--mobile-line);border-radius:10px;background:#fff;color:#315579;font:600 13px Arial,sans-serif}
body.mobile-app #app .ref-row{gap:5px;padding:5px 8px;min-height:68px}
body.mobile-app #app .ref-pin{flex:none;width:44px;height:48px;font-size:25px}
body.mobile-app #app .ref-open{min-height:58px;padding:8px 5px}
body.mobile-app #app .ref-heading{font-size:15px;line-height:1.35}
body.mobile-app #app .ref-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:13px;line-height:1.4}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="list"] #reference-detail{display:none}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] .mobile-bottom-nav,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app .topbar{display:none}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #tab-content-reference>.hint,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #tab-content-reference>.row.gap,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #reference-form,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #reference-list,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #mobile-reference-list-footer,
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app #reference-empty-state{display:none!important}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #app .container{padding-top:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] .mobile-reference-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:20;min-height:62px;margin:0 -16px 14px;padding:calc(7px + env(safe-area-inset-top)) 16px 7px;background:#fff;border-bottom:1px solid var(--mobile-line);color:#77869a;font-size:13px}
body.mobile-app #app .mobile-reference-detail-bar button{min-width:100px;min-height:46px;border:0;background:none;color:#315579;text-align:left;font:600 16px Arial,sans-serif}
body.mobile-app[data-mobile-screen="reference"][data-mobile-reference-view="detail"] #reference-detail{display:block;min-height:0;max-height:none;overflow:visible;padding:21px 18px 26px;border:1px solid var(--mobile-line);border-radius:15px;background:#fff}
body.mobile-app #app .mobile-reference-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}
body.mobile-app #app .mobile-reference-actions .ref-pin{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:120px;height:42px;padding:0 12px;border:1px solid var(--mobile-line);border-radius:10px;font:600 13px Arial,sans-serif;color:#315579}
body.mobile-app #app .mobile-reference-actions .ref-pin.active{color:#a6631a;background:#fff7e9;border-color:#ead5ad}
body.mobile-app #app .mobile-reference-actions a{color:#315579;font-size:13px;font-weight:600;text-decoration:none}
body.mobile-app #app .ref-detail-kicker{font-size:12px;line-height:1.4}
body.mobile-app #app .ref-detail-heading{margin:9px 0 16px;font-size:22px;line-height:1.35;overflow-wrap:anywhere}
body.mobile-app #app .ref-detail-rule{margin-bottom:20px}
body.mobile-app #app .ref-article-text{font-size:17px;line-height:1.78;white-space:pre-wrap;overflow-wrap:anywhere}
body.mobile-app #app .ref-source-note{font-size:12px;line-height:1.6}
body.mobile-app #app .ref-notes-heading{font-size:13px;letter-spacing:0;text-transform:none}
body.mobile-app #app #reference-detail textarea{min-height:125px;padding:13px;border:1px solid #cbd6e2;border-radius:11px;font:400 16px/1.55 Arial,sans-serif}
body.mobile-app #app .mobile-reference-notes-status{display:block;margin-top:7px;color:#697b8e;font-size:12px}

/* Русскоязычный выбор напоминания без системного англоязычного календаря. */
body.mobile-app #app .mobile-reminder-trigger{width:100%;min-height:49px;padding:11px 13px;border:1px solid #cbd6e2;border-radius:11px;background:#fff;color:#315579;text-align:left;font:500 15px/1.4 Arial,sans-serif}
body.mobile-reminder-open{overflow:hidden}
.mobile-reminder-picker{position:fixed;inset:0;z-index:400;display:flex;justify-content:center;background:#f7f7f4;color:#26384e}
.mobile-reminder-panel{display:flex;flex-direction:column;width:min(100%,760px);height:100dvh;box-sizing:border-box;overflow-y:auto;padding:0 18px;background:#f7f7f4}
.mobile-reminder-head{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:2;min-height:66px;margin:0 -18px 22px;padding:calc(7px + env(safe-area-inset-top)) 18px 7px;border-bottom:1px solid #dce2e8;background:#fff}
.mobile-reminder-head button{min-width:78px;min-height:44px;padding:0;border:0;background:none;color:#315579;text-align:left;font:600 15px Arial,sans-serif}
.mobile-reminder-head h2{margin:0;font-size:20px}.mobile-reminder-panel>p{margin:0 0 15px;font-size:14px;color:#596e84}
.mobile-reminder-month{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:12px}
.mobile-reminder-month strong{text-align:center;text-transform:capitalize;font-size:18px}
.mobile-reminder-month button{width:44px;height:44px;border:1px solid #dce2e8;border-radius:11px;background:#fff;color:#315579;font-size:25px}
.mobile-reminder-weekdays,.mobile-reminder-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.mobile-reminder-weekdays{margin-bottom:5px;font-size:12px;color:#6c7d8f}.mobile-reminder-weekdays span{padding:7px 0}
.mobile-reminder-days button{min-width:0;min-height:48px;padding:0;border:1px solid #e4e9ef;border-radius:10px;background:#fff;color:#293d54;font:600 15px Arial,sans-serif}
.mobile-reminder-days button.today{border-color:#8ba7c4}.mobile-reminder-days button.selected{background:#315579;border-color:#315579;color:#fff}
.mobile-reminder-time{display:block;margin:24px 0 0;color:#344960;font-size:13px;font-weight:600}.mobile-reminder-time input{display:block;width:100%;min-height:50px;box-sizing:border-box;margin-top:8px;padding:12px 13px;border:1px solid #cbd6e2;border-radius:11px;background:#fff;color:#27394f;font:400 17px Arial,sans-serif}
.mobile-reminder-hint{margin-top:7px;color:#6d7d90;font-size:12px;line-height:1.4}.mobile-reminder-presets{display:flex;gap:8px;margin-top:13px}
.mobile-reminder-presets button{min-width:70px;min-height:43px;padding:0 10px;border:1px solid #cbd6e2;border-radius:10px;background:#fff;color:#315579;font:600 14px Arial,sans-serif}
.mobile-reminder-error{min-height:18px;margin-top:14px;color:#a33d32;font-size:13px;line-height:1.4}
.mobile-reminder-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;position:sticky;bottom:0;margin:auto -18px 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dce2e8;background:#fff}
.mobile-reminder-actions button{min-height:49px;border:1px solid #cbd6e2;border-radius:11px;background:#fff;color:#315579;font:600 14px Arial,sans-serif}
.mobile-reminder-actions #mobile-reminder-save{background:#315579;border-color:#315579;color:#fff}
@media(max-width:350px){.mobile-reminder-panel>p{margin-bottom:9px}.mobile-reminder-month{margin-bottom:7px}.mobile-reminder-weekdays,.mobile-reminder-days{gap:3px}.mobile-reminder-weekdays{margin-bottom:2px}.mobile-reminder-days button{min-height:42px}.mobile-reminder-time{margin-top:15px}.mobile-reminder-presets{margin-top:9px}}

/* ИИ: переписка — отдельный экран. Параметры не раздвигают поле ввода. */
.ai-mobile-back,.ai-mobile-new,.mobile-ai-settings{display:none}
@media(max-width:720px){
  body.mobile-app[data-mobile-screen="ai-chat"] #app .topbar,
  body.mobile-app[data-mobile-screen="ai-chat"] .mobile-bottom-nav{display:none!important}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat{position:fixed;z-index:180;left:50%;top:0;transform:translateX(-50%);width:min(100%,760px);height:100dvh;box-sizing:border-box;background:#f7f7f4;overflow:hidden}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-layout{display:flex;width:100%;height:100%!important;min-height:0;border:0;border-radius:0!important;box-shadow:none;overflow:hidden}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-main{display:flex;flex-direction:column;min-height:0;padding:0;background:#fff}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-workspace-heading{min-height:62px;box-sizing:border-box;padding:calc(6px + env(safe-area-inset-top)) 12px 7px;margin:0;border-bottom:1px solid #e0e6ed;background:#fff}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-bar{width:100%;gap:7px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-title{font:700 15px/1.3 Arial,sans-serif;color:#263b53;text-align:center}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-btn{min-height:44px;padding:5px 10px;font-size:12px;border-radius:11px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-back,
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-new{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid #d8e2ec;border-radius:11px;background:#f3f6fa;color:#315579;font:700 25px/1 Arial,sans-serif;cursor:pointer}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-drop-area{flex:1 1 auto;min-height:0;padding:0 12px;background:#fff}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-case-bar{margin:8px 0 3px;padding:7px 9px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-messages{min-height:0;max-height:none;height:auto;padding:14px 2px!important;gap:18px;flex:1 1 auto}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-bubble{font-size:15px;line-height:1.65!important}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-bubble.assistant .ai-message-text{color:#243044}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-copy-btn{min-height:36px;font-size:12px;color:#4b6078;opacity:1}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-input-row{flex:0 0 auto;margin:0;padding:7px 0 calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e9edf2}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-input-inner{box-shadow:none;border-radius:15px!important}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-input-inner textarea{min-height:42px;font-size:16px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-tools{flex-wrap:nowrap}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-tools:not(.mobile-tools-open) > .model-picker{display:block!important;min-width:0;max-width:calc(100vw - 174px);margin-right:auto}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-tools .model-picker-btn{width:100%;min-height:44px;padding:7px 10px;font-size:13px;overflow:hidden}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-tools .model-picker-btn > span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-mobile-tools-btn{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;border-radius:12px;font-size:16px;letter-spacing:1px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-tools .tm-send{width:46px;height:46px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-sidebar{z-index:302;width:min(340px,88vw);padding-top:calc(16px + env(safe-area-inset-top))!important}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-list-item{min-height:57px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-list-item .ai-chat-title{min-width:0}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-list-item .ai-chat-rename,
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .ai-chat-list-item .ai-chat-delete{opacity:1;width:40px;height:40px;flex-basis:40px}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .mobile-ai-settings:not(.hidden){display:flex;flex-direction:column;gap:12px;position:absolute;z-index:50;left:10px;right:10px;top:8px;max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain;padding:15px;background:#fff;border:1px solid #d8e2ec;border-radius:16px;box-shadow:0 10px 32px #2434502c}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .mobile-ai-settings .ai-quick-bar{display:flex;flex-wrap:wrap;overflow:visible;padding:0 0 12px;margin:0;border-bottom:1px solid #e9edf2}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .mobile-ai-settings .ai-quick-btn{min-height:42px;white-space:normal;text-align:left}
  body.mobile-app[data-mobile-screen="ai-chat"] #tab-content-ai-chat .mobile-ai-settings .ai-limit-counter{display:block;max-width:none;white-space:normal}
  .mobile-ai-settings-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#263b53;font:700 17px Arial,sans-serif}
  .mobile-ai-settings-head button{width:42px;height:42px;border:1px solid #d8e2ec;border-radius:10px;background:#f5f7fa;color:#315579;font-size:20px}
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .model-picker,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .fs-select,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .ai-chat-case-select,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .files-widget{display:block;width:100%}
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .model-picker-btn,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .fs-trigger,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .ai-chat-case-select,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .files-widget-btn{width:100%;min-height:46px;font-size:14px;text-align:left}
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .ai-chat-reasoning-toggle{display:flex;min-height:46px;font-size:14px}
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .model-picker-menu,
  body.mobile-app #tab-content-ai-chat .mobile-ai-settings .files-widget-panel{position:static;width:100%;max-height:240px;overflow-y:auto;box-shadow:none;margin-top:6px}
}

/* Ошибка загрузки не должна выглядеть как выход из аккаунта. */
.mobile-startup-error { box-sizing: border-box; max-width: 440px; margin: max(40px, 12vh) auto; padding: 24px; }
.mobile-startup-error h1 { font-size: 24px; line-height: 1.3; }
.mobile-startup-error p { color: #5c6f82; font-size: 16px; line-height: 1.6; margin: 20px 0; }
.mobile-startup-error button { width: 100%; min-height: 48px; margin-top: 12px; white-space: normal; }
.mobile-startup-error h1 { font-family: Arial, sans-serif; color: #263b53; }
.mobile-startup-error .btn.ghost { background: #fff; color: #315579; border: 1px solid #cbd6e2; }
.mobile-startup-error .btn:focus-visible { outline: 2px solid #315579; outline-offset: 3px; }
body.mobile-app #settings-panel .checkbox-label { min-height: 44px; gap: 10px; font-size: 14px; }
body.mobile-app #settings-panel .checkbox-label input { width: 22px; height: 22px; flex: 0 0 22px; }

/* Исправления по проверке на физическом Android: читаемый текст и независимые экраны. */
body.mobile-app .mobile-case-title-row > div { min-width:0; flex:1; }
body.mobile-app .mobile-case-title-row h2 { font-size:clamp(19px,5.3vw,24px); line-height:1.35; }
body.mobile-app .mobile-case-more { flex:none; }
body.mobile-app #app #btn-bell { width:44px; height:44px; min-width:44px; min-height:44px; padding:0; flex:0 0 44px; align-self:center; display:grid; place-items:center; position:relative; }
body.mobile-app #app #btn-bell svg { width:20px; height:20px; min-width:20px; flex:none; }
body.mobile-app #bell-panel { inset:0; z-index:400; width:100%; max-width:none; height:100dvh; max-height:none; margin:0; border:0; border-radius:0; overflow:hidden; padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); box-sizing:border-box; }
body.mobile-app #bell-panel .bell-panel-head { flex:none; min-height:60px; box-sizing:border-box; font-size:18px; background:#fff; }
body.mobile-app #bell-close { width:44px; height:44px; font-size:24px; }
body.mobile-app #bell-list { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; padding-bottom:24px; }
body.mobile-app #bell-list .bell-item { padding:16px; }
body.mobile-app #bell-list .bell-item-title { font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
body.mobile-app #app #tab-content-tasks .day-heading { font-size:18px; line-height:1.4; }
body.mobile-app #app #tab-content-tasks h3 { font-size:16px; }
body.mobile-app #app #tasks-day-empty { font-size:15px; padding:24px 16px; }
body.mobile-app #app #tab-content-tasks .tasks-section-head { flex-wrap:wrap; gap:6px; }
body.mobile-app #ai-chat-input { border:0!important; background:transparent!important; box-shadow:none!important; border-radius:0!important; }
body.mobile-app #ai-chat-status:empty { display:none; }
body.mobile-app #tab-content-ai-chat .ai-chat-bubble { overflow-wrap:anywhere; }
@media(prefers-reduced-motion:reduce) { body.mobile-app * { scroll-behavior:auto!important; } }
