.mobile-download-heading { display: flex; gap: 14px; align-items: center; }
.mobile-download-heading img { border-radius: 14px; }
.mobile-download-heading p { margin: 4px 0 0; color: var(--muted); }
.mobile-download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.mobile-download [data-mobile-release] { margin: 16px 0; }
.mobile-download details { margin-top: 16px; }
.mobile-download summary { cursor: pointer; font-weight: 600; }
.mobile-download li { margin: 8px 0; }
.mobile-qr { display: flex; align-items: center; gap: 18px; }
.mobile-qr img { background: #fff; border-radius: 12px; }
.mobile-update { margin: 12px; padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: #fff6e5; border: 1px solid #e3b65c; border-radius: 12px; }
.mobile-app .sidebar, .mobile-app #nav-toggle, .mobile-app .topbar-search, .mobile-app #tour-offer,
.mobile-app .nav-tools, .mobile-app #nav-backdrop { display: none !important; }
.mobile-app .layout { display: block; }
.mobile-app .main { width: 100%; margin: 0 !important; min-width: 0; }
.mobile-app .topbar { position: sticky; top: 0; z-index: 40; padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
.mobile-app .topbar h2 { font-size: 18px; margin-right: auto; }
.mobile-app .topbar .userbox-text { display: none; }
.mobile-app .content { max-width: 960px; width: 100%; box-sizing: border-box; margin: auto; padding: 16px 12px calc(90px + env(safe-area-inset-bottom)); gap: 16px; }
.mobile-app .card { padding: 16px; min-width: 0; }
.mobile-app .profile-grid { grid-template-columns: 1fr; }
.mobile-app .core-tabs { gap: 6px; flex-wrap: wrap; }
.mobile-app #content > .core-tabs { display: none; }
.mobile-app .task-states { overflow: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.mobile-app .task-states button { white-space: nowrap; flex-shrink: 0; min-height: 44px; }
.mobile-app .task-filters > * { min-width: 0; max-width: 100%; }
.mobile-app .task-filters input[type=search] { flex-basis: 100%; min-width: 0; }
.mobile-app .task-chip { white-space: normal; }
.mobile-app .task-title, .mobile-app .core-text, .mobile-app td, .mobile-app .thread-msg { overflow-wrap: anywhere; }
.mobile-app .task-roles { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mobile-app .btn, .mobile-app input:not([type=checkbox]):not([type=radio]), .mobile-app select { min-height: 44px; }
.mobile-app input:not([type=checkbox]):not([type=radio]), .mobile-app textarea, .mobile-app select { font-size: 16px; }
.mobile-app .form-actions { flex-wrap: wrap; }
.mobile-app .mobile-qr { display: none; }
.mobile-app .mobile-bottom-nav { position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--surface, #fff); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px #173b6408; }
.mobile-bottom-nav a { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 2px; text-decoration: none; color: var(--muted); font-size: 11px; border-radius: 12px; }
.mobile-bottom-nav a[hidden], .mobile-nav-badge[hidden] { display: none; }
.mobile-nav-icon { position: relative; display: grid; place-items: center; width: 42px; height: 28px; border-radius: 9px; }
.mobile-nav-icon svg { width: 24px; height: 24px; }
.mobile-nav-label { line-height: 16px; white-space: nowrap; }
.mobile-bottom-nav a[aria-current] { color: #173b64; font-weight: 700; }
.mobile-bottom-nav a[aria-current] .mobile-nav-icon { background: #e0edf7; color: #146d8b; }
.mobile-bottom-nav a:focus-visible { outline: 2px solid #146d8b; outline-offset: -2px; }
.mobile-nav-badge { position: absolute; top: -3px; right: -5px; min-width: 17px; padding: 1px 4px; border-radius: 10px; background: #ba3442; color: white; font-size: 10px; line-height: 15px; text-align: center; }
.mobile-chat-page, .mobile-chat-page body { overflow: hidden; }
.mobile-chat-page .main { display: flex; flex-direction: column; height: var(--mobile-viewport-height, 100dvh); overflow: hidden; }
.mobile-chat-page .topbar { flex-shrink: 0; }
.mobile-chat-page .content { flex: 1; min-height: 0; max-width: none; display: flex; padding: 0 0 var(--mobile-nav-height, 74px); }
.mobile-chat-page .mobile-bottom-nav { bottom: var(--mobile-keyboard-inset, 0px); }
.mobile-chat-frame { display: block; border: 0; width: 100%; height: 100%; min-height: 0; }
.mobile-app .conference-toolbar { margin: 0; }
.mobile-app .conference-toolbar > div { width: 100%; }
.mobile-app .conference-toolbar #conference-new { flex: 1; }
.conference-mobile-list { display: grid; gap: 12px; }
.conference-mobile-heading { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.conference-mobile-heading > :last-child { margin-left: auto; }
.conference-mobile-card h3 { font-size: 18px; margin: 14px 0 8px; overflow-wrap: anywhere; }
.conference-mobile-card p { margin: 8px 0; }
.conference-mobile-time { font-weight: 600; color: #146d8b; }
.conference-mobile-people { margin: 14px 0; font-size: 13px; }
.conference-mobile-card > button { width: 100%; }
.mobile-app .conference-form-grid, .mobile-app .conference-form-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mobile-app .conference-form label, .mobile-app .conference-form fieldset { min-width: 0; overflow-wrap: anywhere; }
.mobile-app .conference-form .conference-pick-list { max-height: 32vh; }
.mobile-app .conference-pick-list .checkbox { min-height: 44px; padding: 6px 0; }
.mobile-app .conference-detail > p:has(.btn) { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-app .dropzone { padding: 14px 10px; }
.mobile-app .dropzone-text > strong { display: none; }
.mobile-app .dropzone-text > span { font-size: 0; }
.mobile-app .dropzone [data-pick] { font-size: 16px; min-height: 44px; }
.mobile-app .dropzone-files li, .mobile-app #task-create-progress { overflow-wrap: anywhere; }
.mobile-app #task-create-progress { padding: 12px; border-radius: 10px; background: #edf5fa; }
.mobile-connection { padding: 10px 16px; background: #fff0ce; color: #694600; }
.mobile-connection[hidden] { display: none; }
.mobile-app .modal.modal-page { inset: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 600px) {
  .mobile-qr { flex-direction: column; align-items: flex-start; }
  .mobile-app .form-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-app .task-form .form-grid > * { min-width: 0; }
  .mobile-app .task-filters select { flex: 1; }
  .mobile-app .task-roles { grid-template-columns: 1fr; }
  .mobile-app .card-header h3 { font-size: 18px; }
}
