/* Phone workspace: Material-shaped navigation, incumbent e-ink / After Hours. */
.mobile-only { display:none; }
html.mobile-layout[data-theme] { --mobile-surface:#f4f4f1; --mobile-canvas:#ecece8; --mobile-line:#d4d4cf; --mobile-ink:#242522; --mobile-muted:#61635e; --mobile-selection:#dedfd8; --mobile-primary:#272a26; --mobile-on-primary:#fff; }
html.mobile-layout[data-theme][data-theme="after-hours"] { --mobile-surface:#30312f; --mobile-canvas:#252624; --mobile-line:#53554f; --mobile-ink:#f1f2eb; --mobile-muted:#c0c3b9; --mobile-selection:#494b45; --mobile-primary:#d53030; --mobile-on-primary:#fff; }
html.mobile-layout[data-theme] body { height:calc(100dvh / var(--ui-scale,1)); min-height:0; overflow:hidden; font-family:Roboto,"Segoe UI",Arial,sans-serif; font-weight:400; color:var(--mobile-ink); background:var(--mobile-canvas); -webkit-tap-highlight-color:transparent; }
html.mobile-layout[data-theme] body .app-shell { display:block; height:calc(100dvh / var(--ui-scale,1)); min-height:0; padding:0; gap:0; background:var(--mobile-canvas); }
html.mobile-layout[data-theme] body .sidebar { display:none; }
html.mobile-layout[data-theme] body .main-content { width:100%; height:calc(100% - 80px - env(safe-area-inset-bottom,0px)); min-height:0; margin:0; padding:20px 20px 106px; overflow:auto; overscroll-behavior-y:contain; border:0; border-radius:0; box-shadow:none; background:var(--mobile-canvas); -webkit-backdrop-filter:none; backdrop-filter:none; scrollbar-width:thin; scrollbar-color:var(--mobile-muted) transparent; }
html.mobile-layout[data-theme] body .topbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px 8px; align-items:center; margin:0 0 24px; }
html.mobile-layout[data-theme] body .topbar>div:first-child { min-width:0; }
html.mobile-layout[data-theme] body .topbar h2 { margin:0; color:var(--mobile-ink); font-family:inherit; font-size:30px; line-height:1.2; font-weight:650; letter-spacing:-.6px; overflow-wrap:anywhere; }
html.mobile-layout[data-theme] body .eyebrow,html.mobile-layout[data-theme] body .section-kicker { display:none; }
html.mobile-layout[data-theme] .mobile-heading-actions { display:flex; gap:4px; }
html.mobile-layout[data-theme] .mobile-icon { display:grid; place-items:center; width:48px; height:48px; padding:12px; border:0; border-radius:50%; color:var(--mobile-ink); background:transparent; box-shadow:none; }
.mobile-icon svg,.mobile-navigation svg,.mobile-fab svg { width:24px; height:24px; }
html.mobile-layout[data-theme] .mobile-icon:hover,html.mobile-layout[data-theme] .mobile-icon:active,html.mobile-layout[data-theme] .mobile-icon[aria-pressed="true"] { background:var(--mobile-selection); }
html.mobile-layout[data-theme] .mobile-connection { display:block; margin:6px 0 0; color:var(--mobile-muted); font-size:11px; line-height:1.4; }
html.mobile-layout[data-theme] body .topbar-actions { grid-column:1/-1; width:100%; }
html.mobile-layout[data-theme] body .topbar-actions .account-button { display:none; }
html.mobile-layout[data-theme] body .search-box { width:100%; min-width:0; min-height:52px; margin:0; padding:0 16px; border:1px solid var(--mobile-line); border-radius:16px; background:var(--mobile-surface); box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
html.mobile-layout[data-theme] body .search-box input { min-width:0; width:100%; font-size:16px; color:var(--mobile-ink); }
html.mobile-layout[data-theme] body .search-box span { color:var(--mobile-muted); }
html.mobile-layout[data-theme] .mobile-navigation { position:fixed; z-index:5; inset:auto 0 0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); height:calc(80px + env(safe-area-inset-bottom,0px)); padding:6px max(4px,env(safe-area-inset-right,0px)) max(6px,env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px)); background:var(--mobile-surface); border-top:1px solid var(--mobile-line); }
html.mobile-layout[data-theme] .mobile-navigation button { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:64px; padding:0; border:0; background:transparent; color:var(--mobile-muted); font-size:11px; font-weight:500; border-radius:12px; }
html.mobile-layout[data-theme] .mobile-nav-icon { display:grid; place-items:center; width:56px; height:30px; border-radius:18px; }
html.mobile-layout[data-theme] .mobile-navigation [aria-current] { color:var(--mobile-ink); font-weight:700; }
html.mobile-layout[data-theme] .mobile-navigation [aria-current] .mobile-nav-icon { background:var(--mobile-selection); }
html.mobile-layout[data-theme] .mobile-fab { position:fixed; display:flex; align-items:center; justify-content:center; gap:10px; z-index:6; right:20px; bottom:calc(100px + env(safe-area-inset-bottom,0px)); height:56px; padding:0 20px; border:0; border-radius:18px; color:var(--mobile-on-primary); background:var(--mobile-primary); box-shadow:0 5px 16px rgba(0,0,0,.16); font-size:15px; font-weight:650; }
html.mobile-layout[data-theme] .mobile-fab[hidden],html.mobile-layout[data-theme] .mobile-dialog-open .mobile-fab,html.mobile-layout[data-theme] .mobile-dialog-open .mobile-navigation { display:none; }
html.mobile-layout[data-theme] body .notes-toolbar { gap:8px; margin-bottom:16px; color:var(--mobile-muted); font-size:13px; }
html.mobile-layout[data-theme] body .sort-button { min-height:48px; padding:8px; font-size:12px; color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .notes-grid { grid-template-columns:1fr; gap:12px; }
html.mobile-layout[data-theme] body .note-card { min-height:180px; padding:20px; border:1px solid rgba(0,0,0,.09); border-radius:18px; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
html.mobile-layout[data-theme] body .note-card:hover { transform:none; box-shadow:none; }
html.mobile-layout[data-theme] body .note-card h3 { font-size:18px; line-height:1.4; margin-bottom:10px; }
html.mobile-layout[data-theme] body .note-card p { color:#4a4e48; font-size:15px; line-height:1.6; -webkit-line-clamp:4; }
html.mobile-layout[data-theme] body .note-card-footer { flex-wrap:wrap; gap:4px; padding-top:14px; font-size:11px; color:#555a51; }
html.mobile-layout[data-theme] body .card-actions { opacity:1; gap:4px; margin-left:auto; }
html.mobile-layout[data-theme] body .card-action { display:grid; place-items:center; min-width:48px; width:48px; height:48px; padding:12px; border-radius:12px; }
html.mobile-layout[data-theme] body .card-action svg { width:21px; height:21px; }
html.mobile-layout[data-theme] body .section-toolbar { flex-direction:row; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
html.mobile-layout[data-theme] body .section-toolbar p { margin:0; font-family:inherit; font-size:14px; font-weight:500; line-height:1.5; color:var(--mobile-muted); }
html.mobile-layout[data-theme] body #vaultView>.section-toolbar>div:first-child { display:none; }
html.mobile-layout[data-theme] body #newTaskButton { display:none; }
html.mobile-layout[data-theme] body .tasks-list,html.mobile-layout[data-theme] body .vault-list { gap:12px; }
html.mobile-layout[data-theme] body .task-row,html.mobile-layout[data-theme] body .vault-row,html.mobile-layout[data-theme] body .vault-panel,html.mobile-layout[data-theme] body .screenshot-card { padding:16px; border:1px solid var(--mobile-line); border-radius:16px; background:var(--mobile-surface); box-shadow:none; color:var(--mobile-ink); -webkit-backdrop-filter:none; backdrop-filter:none; }
html.mobile-layout[data-theme] body .task-row { align-items:flex-start; gap:10px; flex-wrap:wrap; }
html.mobile-layout[data-theme] body .task-check { width:48px; height:48px; margin-top:0; border-radius:16px; }
html.mobile-layout[data-theme] body .task-main { flex:1 1 140px; padding-top:4px; }
html.mobile-layout[data-theme] body .task-main h3 { color:var(--mobile-ink); font-size:16px; line-height:1.45; }
html.mobile-layout[data-theme] body .task-main p { color:var(--mobile-muted); font-size:14px; }
html.mobile-layout[data-theme] body .task-meta { font-size:12px; color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .vault-row { grid-template-columns:minmax(0,1fr); gap:10px; }
html.mobile-layout[data-theme] body .vault-row :is(.vault-site,.vault-login,.vault-secret,.card-actions,.vault-comment) { grid-column:1; grid-row:auto; }
html.mobile-layout[data-theme] body .vault-row .card-actions { justify-self:end; margin-top:-8px; }
html.mobile-layout[data-theme] body .vault-site,html.mobile-layout[data-theme] body .vault-login { color:var(--mobile-ink); font-size:15px; }
html.mobile-layout[data-theme] body .vault-url,html.mobile-layout[data-theme] body .vault-secret,html.mobile-layout[data-theme] body .vault-comment-label { color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .vault-comment { color:var(--mobile-ink); font-size:14px; }
html.mobile-layout[data-theme] body .vault-toolbar { gap:10px; }
html.mobile-layout[data-theme] body .vault-toolbar .search-box { flex-basis:100%; }
html.mobile-layout[data-theme] body .vault-panel { padding:28px 20px; }
html.mobile-layout[data-theme] body .vault-panel h3 { color:var(--mobile-ink); font-size:22px; }
html.mobile-layout[data-theme] body .vault-panel p { color:var(--mobile-muted); font-size:14px; }
html.mobile-layout[data-theme] body .vault-unlock-form { display:block; }
html.mobile-layout[data-theme] body .vault-unlock-form .password-field { width:100%; margin-bottom:12px; }
html.mobile-layout[data-theme] body .vault-unlock-form .primary-button { width:100%; border-radius:14px; }
html.mobile-layout[data-theme] body :is(.primary-button,.secondary-button,.icon-button,.password-toggle,.file-item-actions button) { min-height:48px; border-radius:12px; font-size:14px; box-shadow:none; }
html.mobile-layout[data-theme] body :is(.primary-button,.secondary-button):hover { transform:none; }
html.mobile-layout[data-theme] body .icon-button { width:48px; min-width:48px; }
html.mobile-layout[data-theme] body :is(.primary-button,.secondary-button,.icon-button) { border:1px solid var(--mobile-line); }
html.mobile-layout[data-theme] body .secondary-button,html.mobile-layout[data-theme] body .icon-button { background:var(--mobile-surface); color:var(--mobile-ink); }
html.mobile-layout[data-theme] body .primary-button { color:var(--mobile-on-primary); background:var(--mobile-primary); border-color:var(--mobile-primary); }
html.mobile-layout[data-theme] body .text-input { min-width:0; min-height:52px; font-size:16px; border-radius:12px; color:var(--mobile-ink); background:var(--mobile-surface); border:1px solid var(--mobile-line); box-shadow:none; }
html.mobile-layout[data-theme] body .text-input::placeholder { color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .field-label { color:var(--mobile-muted); font-size:13px; }
html.mobile-layout[data-theme] body .text-input:focus,html.mobile-layout[data-theme] body .search-box:focus-within { border-color:var(--mobile-ink); box-shadow:0 0 0 2px var(--mobile-selection); }
html.mobile-layout[data-theme] body .modal { align-items:end; padding:24px 0 0; overflow:hidden; background:rgba(0,0,0,.4); -webkit-backdrop-filter:none; backdrop-filter:none; }
html.mobile-layout[data-theme] body .modal-card { width:100%; max-width:100%; max-height:calc(100dvh / var(--ui-scale,1) - 24px); padding:20px 20px max(20px,env(safe-area-inset-bottom,0px)); border:0; border-radius:24px 24px 0 0; color:var(--mobile-ink); background:var(--mobile-canvas); box-shadow:0 -8px 30px rgba(0,0,0,.15); -webkit-backdrop-filter:none; backdrop-filter:none; }
html.mobile-layout[data-theme] body .modal-header { position:sticky; top:-20px; z-index:2; gap:12px; padding:8px 0 12px; margin-bottom:12px; background:var(--mobile-canvas); }
html.mobile-layout[data-theme] body .modal-header h2 { font-family:inherit; color:var(--mobile-ink); font-size:22px; }
html.mobile-layout[data-theme] body .modal-actions { position:sticky; bottom:-20px; z-index:2; padding:12px 0 20px; background:var(--mobile-canvas); }
html.mobile-layout[data-theme] body .color-picker { flex-wrap:wrap; gap:8px; }
html.mobile-layout[data-theme] body .color-option { width:48px; height:48px; }
html.mobile-layout[data-theme] body .password-toggle { padding:8px; font-size:12px; }
html.mobile-layout[data-theme] body .settings-menu { gap:8px; }
html.mobile-layout[data-theme] body .settings-menu button { padding:18px 16px; border-radius:16px; }
html.mobile-layout[data-theme] body .settings-help { color:var(--mobile-muted); font-size:13px; }
html.mobile-layout[data-theme] .mobile-storage { display:block; margin-top:20px; padding-top:16px; border-top:1px solid var(--mobile-line); color:var(--mobile-muted); font-size:14px; }
html.mobile-layout[data-theme] body .files-options { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; align-items:end; margin-bottom:16px; font-size:12px; }
html.mobile-layout[data-theme] body .files-options label { display:grid; gap:6px; min-width:0; }
html.mobile-layout[data-theme] body .files-options label:last-child { grid-column:1/-1; }
html.mobile-layout[data-theme] body .files-options .text-input { width:100%; max-width:none; margin:0; padding:10px; font-size:14px; }
html.mobile-layout[data-theme] body .files-options>button { padding:10px 6px; font-size:12px; }
html.mobile-layout[data-theme] body .files-list.large,html.mobile-layout[data-theme] body .files-list.medium { grid-template-columns:repeat(2,minmax(0,1fr)); }
html.mobile-layout[data-theme] body .file-item { background:var(--mobile-surface); border:1px solid var(--mobile-line); border-radius:16px; box-shadow:none; }
html.mobile-layout[data-theme] body .file-item-actions { gap:4px; }
html.mobile-layout[data-theme] body .file-meta { color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .file-title { color:var(--mobile-ink); }
html.mobile-layout[data-theme] body .screenshots-grid.screenshot-view-medium { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
html.mobile-layout[data-theme] body .screenshots-grid.screenshot-view-large { grid-template-columns:1fr; }
html.mobile-layout[data-theme] body .screenshot-card { overflow:hidden; padding:0; }
html.mobile-layout[data-theme] body .screenshot-card-footer { padding:12px; }
html.mobile-layout[data-theme] body .screenshot-actions { padding:0 10px 10px; gap:6px; }
html.mobile-layout[data-theme] body .screenshot-actions button { flex:1 1 90px; padding:8px; font-size:12px; }
html.mobile-layout[data-theme] body .screenshots-help { color:var(--mobile-muted); font-size:13px; line-height:1.6; }
html.mobile-layout[data-theme] body .empty-state { padding:48px 12px; color:var(--mobile-muted); }
html.mobile-layout[data-theme] body .empty-state h3 { color:var(--mobile-ink); font-family:inherit; }
html.mobile-layout[data-theme] body .empty-state p { font-size:14px; line-height:1.6; }
html.mobile-layout[data-theme] body .security-badge { color:var(--mobile-muted); border-color:var(--mobile-line); }
@media (min-width:560px) { html.mobile-layout[data-theme] body .notes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

@media (prefers-reduced-motion:no-preference) { html.mobile-layout[data-theme] .mobile-nav-icon { transition:background-color 140ms ease-out; } }

/* Compact revision: less chrome, no intrinsic-width overflow, attached voice. */
.mobile-options>summary { display:none; }
html.mobile-layout[data-theme] body .main-content { height:calc(100% - 64px - env(safe-area-inset-bottom,0px)); padding:16px 16px 94px; overflow-x:hidden; }
html.mobile-layout[data-theme] .mobile-navigation { height:calc(64px + env(safe-area-inset-bottom,0px)); padding-top:4px; padding-bottom:max(4px,env(safe-area-inset-bottom,0px)); }
html.mobile-layout[data-theme] .mobile-navigation button { min-height:52px; font-size:10px; gap:2px; }
html.mobile-layout[data-theme] .mobile-nav-icon { width:48px; max-width:100%; height:26px; }
html.mobile-layout[data-theme] .mobile-navigation svg { width:21px; height:21px; }
html.mobile-layout[data-theme] .mobile-create { position:fixed; display:block; right:16px; bottom:calc(80px + env(safe-area-inset-bottom,0px)); z-index:6; }
html.mobile-layout[data-theme] .mobile-create .mobile-fab { position:static; min-width:186px; padding:0 68px 0 20px; border-radius:28px; }
html.mobile-layout[data-theme] .mobile-voice { position:absolute; top:4px; right:4px; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; padding:12px; background:rgba(255,255,255,.2); color:var(--mobile-on-primary); }
html.mobile-layout[data-theme] .mobile-voice svg,html.mobile-layout[data-theme] .mobile-camera svg,.mobile-options summary svg { width:24px; height:24px; flex:none; }
html.mobile-layout[data-theme] .mobile-camera { position:fixed; right:16px; bottom:calc(80px + env(safe-area-inset-bottom,0px)); z-index:6; display:flex; align-items:center; gap:10px; height:56px; padding:0 20px; border-radius:28px; color:var(--mobile-on-primary); background:var(--mobile-primary); box-shadow:0 5px 16px rgba(0,0,0,.16); font-size:15px; font-weight:650; }
html.mobile-layout[data-theme] :is(.mobile-create,.mobile-camera,.mobile-icon)[hidden],html.mobile-layout[data-theme] body.mobile-dialog-open :is(.mobile-create,.mobile-camera) { display:none; }
html.mobile-layout[data-theme] .mobile-only[hidden] { display:none; }
html.mobile-layout[data-theme] body #mobileCameraRetry { display:inline-flex; margin:0 0 16px; }
html.mobile-layout[data-theme] body #mobileCameraRetry[hidden] { display:none; }
html.mobile-layout[data-theme] body .notes-grid { min-width:0; width:100%; grid-template-columns:minmax(0,1fr); }
html.mobile-layout[data-theme] body :is(.note-card,.note-card-footer,.note-card p,.note-card h3,.view) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
html.mobile-layout[data-theme] body .note-card { width:100%; padding:18px; }
html.mobile-layout[data-theme] body .card-actions { flex-wrap:wrap; max-width:100%; }
html.mobile-layout[data-theme] body .note-card img { max-width:100%; height:auto; }
html.mobile-layout[data-theme] body .modal-actions { flex-wrap:wrap; }
html.mobile-layout[data-theme] body .topbar { margin-bottom:16px; }
html.mobile-layout[data-theme] .mobile-options { margin-bottom:12px; }
html.mobile-layout[data-theme] .mobile-options>summary { display:flex; align-items:center; gap:10px; min-height:48px; padding:8px 0; color:var(--mobile-muted); cursor:pointer; font-size:13px; list-style:none; }
html.mobile-layout[data-theme] .mobile-options>summary::after { content:'+'; margin-left:auto; font-size:22px; }
html.mobile-layout[data-theme] .mobile-options[open]>summary::after { content:'−'; }
html.mobile-layout[data-theme] .mobile-options>summary::-webkit-details-marker { display:none; }
html.mobile-layout[data-theme] .mobile-options .files-options { padding-top:10px; }
html.mobile-layout[data-theme] body .files-locations { gap:6px; margin-bottom:8px; }
html.mobile-layout[data-theme] body .files-locations button { padding:6px 14px; }
html.mobile-layout[data-theme] body .files-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; margin:0 0 8px; }
html.mobile-layout[data-theme] body .files-actions button { padding:8px; font-size:13px; }
html.mobile-layout[data-theme] body #filesRefresh { display:none; }
html.mobile-layout[data-theme] body .files-breadcrumbs { min-height:0; margin-bottom:4px; }
html.mobile-layout[data-theme] body .files-breadcrumbs:has(>button:only-child) { display:none; }
html.mobile-layout[data-theme] body #filesStatus:empty { display:none; }
html.mobile-layout[data-theme] body .files-summary { margin-top:8px; }
@media (min-width:560px) { html.mobile-layout[data-theme] body .notes-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Dense Android workspace, 0.6.0. Keep the system safe-area below the bar. */
html.mobile-layout[data-theme] body .main-content { height:calc(100% - 52px - env(safe-area-inset-bottom,0px)); padding:8px 8px 82px; }
html.mobile-layout[data-theme] .mobile-navigation { height:calc(52px + env(safe-area-inset-bottom,0px)); padding:0 max(2px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(2px,env(safe-area-inset-left,0px)); }
html.mobile-layout[data-theme] .mobile-navigation button { min-height:48px; padding:0; gap:0; }
html.mobile-layout[data-theme] .mobile-nav-icon { height:24px; }
html.mobile-layout[data-theme] body .topbar { gap:4px; margin-bottom:6px; }
html.mobile-layout[data-theme] body .topbar h2 { font-size:24px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html.mobile-layout[data-theme] .mobile-heading-actions { gap:0; }
html.mobile-layout[data-theme] .mobile-heading-actions { align-items:center; }
html.mobile-layout[data-theme] .mobile-connection { margin:2px 0 0; font-size:10px; }
html.mobile-layout[data-theme] body .topbar-actions { display:none; }
html.mobile-layout[data-theme] body.mobile-search-open .topbar-actions { display:flex; margin:2px 0 6px; }
html.mobile-layout[data-theme] body[data-mobile-current-view="vault"] .topbar-actions { display:none; }
html.mobile-layout[data-theme] body .search-box { min-height:44px; border-radius:12px; padding:0 12px; }
html.mobile-layout[data-theme] body .vault-toolbar .search-box { display:none; }
html.mobile-layout[data-theme] body.mobile-search-open .vault-toolbar .search-box { display:flex; }
html.mobile-layout[data-theme] .mobile-options { margin:0; }
html.mobile-layout[data-theme] .mobile-options>summary { display:none; }
html.mobile-layout[data-theme] .mobile-options[open] { margin-bottom:8px; padding:4px 0; }
html.mobile-layout[data-theme] .mobile-notes-sort[open] { display:flex; gap:6px; flex-wrap:wrap; }
html.mobile-layout[data-theme] .mobile-notes-sort:not([open]) { display:none; }
html.mobile-layout[data-theme] body .notes-toolbar { min-height:20px; margin:0 0 6px; font-size:12px; }
html.mobile-layout[data-theme] body #sortButton,html.mobile-layout[data-theme] body #exportTasksButton { display:none; }
html.mobile-layout[data-theme] body :is(.notes-grid,.tasks-list,.vault-list) { gap:8px; }
html.mobile-layout[data-theme] body .note-card { min-height:156px; padding:12px; border-radius:14px; }
html.mobile-layout[data-theme] body .note-card h3 { margin-bottom:6px; font-size:17px; }
html.mobile-layout[data-theme] body .note-card-footer { padding-top:6px; }
html.mobile-layout[data-theme] body :is(.task-row,.vault-row) { padding:10px; }
html.mobile-layout[data-theme] body .section-toolbar { margin-bottom:6px; gap:6px; }
html.mobile-layout[data-theme] body #screenshotsView>.section-toolbar,html.mobile-layout[data-theme] body #vaultView>.section-toolbar { display:none; }
html.mobile-layout[data-theme] body .vault-panel { padding:14px; border-radius:14px; }
html.mobile-layout[data-theme] body .vault-mark { display:none; }
html.mobile-layout[data-theme] body .vault-panel h3 { font-size:19px; margin-bottom:6px; }
html.mobile-layout[data-theme] body .vault-panel p { font-size:13px; margin-bottom:12px; }
html.mobile-layout[data-theme] body .vault-toolbar { gap:6px; margin-bottom:8px; }
html.mobile-layout[data-theme] body .vault-toolbar>:is(.primary-button,.secondary-button) { flex:1; }
html.mobile-layout[data-theme] .mobile-create,html.mobile-layout[data-theme] .mobile-camera,html.mobile-layout[data-theme] .mobile-upload { right:10px; bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
html.mobile-layout[data-theme] .mobile-voice { background:#d32f2f; color:#fff; }
html.mobile-layout[data-theme] .mobile-voice svg path { fill:#fff; stroke:#fff; }
html.mobile-layout[data-theme] .mobile-voice:disabled { opacity:.7; }
html.mobile-layout[data-theme] body :is(.files-actions,.files-locations) { display:none; }
html.mobile-layout[data-theme] .mobile-upload { display:flex; position:fixed; z-index:6; align-items:center; gap:10px; height:56px; padding:0 20px; border-radius:28px; background:var(--mobile-primary); color:var(--mobile-on-primary); box-shadow:0 5px 16px rgba(0,0,0,.16); font-size:15px; font-weight:650; }
html.mobile-layout[data-theme] .mobile-upload svg,html.mobile-layout[data-theme] .mobile-upload-menu svg { width:24px; height:24px; }
html.mobile-layout[data-theme] .mobile-upload-menu { display:grid; position:fixed; z-index:7; right:10px; bottom:calc(126px + env(safe-area-inset-bottom,0px)); padding:6px; gap:4px; border:1px solid var(--mobile-line); border-radius:16px; background:var(--mobile-surface); box-shadow:0 8px 24px rgba(0,0,0,.15); }
html.mobile-layout[data-theme] .mobile-upload-menu button { display:flex; align-items:center; gap:10px; text-align:left; padding:8px 12px; }
html.mobile-layout[data-theme] :is(.mobile-upload,.mobile-upload-menu)[hidden],html.mobile-layout[data-theme] body.mobile-dialog-open :is(.mobile-upload,.mobile-upload-menu) { display:none; }
html.mobile-layout[data-theme] #mobileShotCount { min-width:22px; text-align:center; font-size:12px; font-variant-numeric:tabular-nums; color:var(--mobile-muted); }
html.mobile-layout[data-theme] #mobileShotCount[hidden] { display:none; }
html.mobile-layout[data-theme] body :is(.file-item-actions,.screenshot-actions) { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; padding:0; margin:0; flex-wrap:nowrap; }
html.mobile-layout[data-theme] body :is(.file-item-actions,.screenshot-actions) button { display:grid; place-items:center; min-width:0; min-height:48px; height:48px; padding:8px; border:0; background:transparent; border-radius:10px; box-shadow:none; }
html.mobile-layout[data-theme] body :is(.file-item-actions,.screenshot-actions) svg { width:22px; height:22px; }
html.mobile-layout[data-theme] body .file-item { padding:10px 6px 0; border-radius:14px; }
html.mobile-layout[data-theme] body .file-open { gap:8px; }
html.mobile-layout[data-theme] body .file-meta { margin:6px 0 0; }
html.mobile-layout[data-theme] body .screenshots-grid.screenshot-view-medium { gap:8px; }
html.mobile-layout[data-theme] body .screenshot-card-footer { padding:8px 6px 2px; }
html.mobile-layout[data-theme] body #mobileVoiceSettings { display:block; }
@media (max-width:400px) { html.mobile-layout[data-theme] body .screenshots-grid.screenshot-view-medium { grid-template-columns:minmax(0,1fr); } }
html.mobile-layout.mobile-narrow[data-theme] body .topbar { grid-template-columns:minmax(0,1fr); }
html.mobile-layout.mobile-narrow[data-theme] .mobile-heading-actions { justify-content:flex-end; }
