/* SG Cockpit — style.css */

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}

button { font-family: inherit; }

/* --- Portail code d'accès --- */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gate-card h1 { font-size: 28px; color: var(--rose); }
.gate-card p { margin: 0; color: var(--ink-soft); }
.gate-card input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 16px;
}
.gate-card input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.gate-card button {
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.gate-card button:hover { background: var(--rose-dk); }
.gate-error { color: var(--danger); font-size: 14px; }

/* --- Structure générale --- */
.app { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar h1 { font-size: 20px; color: var(--rose); white-space: nowrap; }

.icon-btn {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.icon-btn:hover { background: var(--hover-bg); }

.search-wrap { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
#search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
}
#search-input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--focus-ring); }

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  padding: 8px;
  z-index: 30;
}
.search-group { margin-bottom: 8px; }
.search-group:last-child { margin-bottom: 0; }
.search-group-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-mute);
  padding: 4px 8px;
}
.search-result {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}
.search-result:hover { background: var(--hover-bg); }
.search-result .muted { color: var(--ink-mute); font-size: 12px; }
.search-empty { padding: 12px; color: var(--ink-mute); font-size: 14px; }

/* --- Shell : sidebar + contenu --- */
.shell { display: flex; flex: 1; min-height: 0; }

.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--panel);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  width: 100%;
}
.nav-item:hover { background: var(--hover-bg); }
.nav-item.active { background: var(--accent-soft); border-color: var(--accent-line); font-weight: 600; }
.nav-item span.nav-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-mute);
  padding: 12px 10px 2px;
}

.nav-group { display: flex; flex-direction: column; gap: 2px; }

.nav-app-row { display: flex; align-items: center; gap: 4px; }
.nav-app-row .nav-item { flex: 1; }

.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--rose);
}
.nav-commande { border: 1px solid var(--accent-line); }
.nav-badge {
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
}
.nav-reorder {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-reorder button {
  border: none;
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
}
.nav-reorder button:hover { color: var(--rose); }

.nav-new-app {
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 14px;
}
.nav-new-app:hover { border-color: var(--rose); color: var(--rose); }

.nav-archivees { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.nav-archivees summary {
  font-size: 12px;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px 10px;
}
.nav-archivee-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--ink-mute);
}
.nav-archivee-row button {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--rose);
  cursor: pointer;
  font-size: 12px;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 64px;
  overflow-y: auto;
}
.main-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

.main h2 { font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.section-title { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }

.empty { color: var(--ink-mute); font-size: 14px; }

/* --- Cartes génériques --- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

/* --- Dashboard --- */
.dash-taches { display: flex; flex-direction: column; gap: 6px; }
.dash-tache {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.dash-tache:hover { border-color: var(--accent-line); }
.dash-tache.retard { border-left: 4px solid var(--danger); }
.dash-tache.aujourdhui { border-left: 4px solid var(--c4); }
.dash-tache.prioritaire { border-left: 4px solid var(--rose); }
.dash-tache .titre { flex: 1; font-size: 14px; }
.dash-tache .echeance { font-size: 12px; color: var(--ink-mute); }
.dash-tache.retard .echeance { color: var(--danger); font-weight: 600; }

.badge-commande {
  font-size: 11px;
  background: var(--accent-soft);
  color: var(--rose-dk);
  padding: 1px 6px;
  border-radius: 999px;
}

.dash-snippets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.dash-snippet-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: var(--panel);
}
.dash-snippet-card:hover { border-color: var(--accent-line); }

/* --- Fiche d'identité --- */
.identite {
  padding: 0;
  overflow: hidden;
}
.identite-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.identite-head h2 { flex: 1; font-size: 19px; }
.identite-body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.identite-row { display: flex; gap: 8px; font-size: 14px; align-items: baseline; flex-wrap: wrap; }
.identite-row .label { color: var(--ink-mute); min-width: 90px; }
.identite-row a { color: var(--rose); }
.identite-cmd {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.identite-cmd pre {
  flex: 1;
  margin: 0;
  font-family: monospace;
  font-size: 13px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}
.identite-notes textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.identite-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* --- Boutons --- */
.btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}
.btn:hover { border-color: var(--accent-line); background: var(--hover-bg); }
.btn-primary { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dk); }
.btn-danger { color: var(--danger); border-color: var(--danger-bg); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-copy { font-weight: 600; }
.btn-copy.copied { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-icon { padding: 4px 8px; border: none; background: transparent; cursor: pointer; color: var(--ink-mute); }
.btn-icon:hover { color: var(--danger); }

/* --- To-do --- */
.todo-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.todo-add input[type="text"] {
  flex: 1;
  min-width: 160px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
}
.todo-add input[type="date"] {
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 13px;
}
.todo-star {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 14px;
}
.todo-star.active { background: var(--accent-soft); border-color: var(--rose); }

.todo-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13px; color: var(--ink-soft); }
.todo-toolbar label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.todo-list { display: flex; flex-direction: column; gap: 6px; }
.todo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.todo-item.terminee { opacity: .55; }
.todo-item.terminee .todo-titre { text-decoration: line-through; }
.todo-item.retard { border-left: 4px solid var(--danger); }
.todo-item .todo-titre { flex: 1; font-size: 14px; }
.todo-item .todo-echeance { font-size: 12px; color: var(--ink-mute); }
.todo-item.retard .todo-echeance { color: var(--danger); font-weight: 600; }
.todo-item input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; }
.todo-star-mark { color: var(--rose); }

/* --- Notes --- */
.notes-list { display: flex; flex-direction: column; gap: 10px; }
.note-card textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.note-preview {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}
.note-preview ul { margin: 4px 0; padding-left: 20px; }
.note-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.note-meta { font-size: 11px; color: var(--ink-mute); margin-top: 4px; }

/* --- Snippets --- */
.snippet-add { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.snippet-add input[type="text"] {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
}
.snippet-add textarea {
  min-height: 90px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-family: monospace;
  font-size: 13px;
  resize: vertical;
}
.snippets-list { display: flex; flex-direction: column; gap: 10px; }
.snippet-card { display: flex; flex-direction: column; gap: 8px; }
.snippet-card.utilise { opacity: .65; }
.snippet-head { display: flex; align-items: center; gap: 8px; }
.snippet-head strong { flex: 1; font-size: 14px; }
.snippet-statut { cursor: pointer; border: none; background: transparent; font-size: 15px; }
.snippet-code {
  margin: 0;
  font-family: monospace;
  font-size: 13px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow-y: auto;
}
.snippet-foot { display: flex; align-items: center; gap: 8px; }
.snippet-date { font-size: 11px; color: var(--ink-mute); margin-left: auto; }

/* --- Terminal --- */
.terminal-group { margin-bottom: 24px; }
.terminal-cards { display: flex; flex-direction: column; gap: 10px; }
.terminal-card { display: flex; flex-direction: column; gap: 8px; }
.terminal-card-head { display: flex; align-items: center; gap: 8px; }
.terminal-card-head strong { flex: 1; font-size: 14px; }
.terminal-code {
  margin: 0;
  font-family: monospace;
  font-size: 13px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-foot { display: flex; gap: 8px; }

/* --- Captures --- */
.captures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.capture-thumb {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
}
.capture-thumb:hover { border-color: var(--accent-line); }
.capture-thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--input-bg) center / cover no-repeat;
}
.capture-thumb-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
}
.capture-titre {
  font-size: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.capture-date { font-size: 11px; color: var(--ink-mute); }

[data-add-capture] { position: relative; cursor: pointer; }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Lightbox --- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 150;
}
.lightbox {
  position: relative;
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: var(--panel);
  color: var(--ink);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--input-bg);
  border-radius: 10px;
  overflow: hidden;
}
.lightbox-img { max-width: 100%; max-height: 70vh; display: block; }
.lightbox-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lightbox-info input[type="text"] {
  flex: 1;
  min-width: 140px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
}
.lightbox-date { font-size: 12px; color: var(--ink-mute); }

/* --- Saisie vocale --- */
.mic-wrap { display: flex; gap: 6px; align-items: flex-start; }
.mic-wrap > input, .mic-wrap > textarea { flex: 1; }
.todo-add .mic-wrap { flex: 1; min-width: 160px; }
.mic-btn {
  flex-shrink: 0;
  background: var(--panel);
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 38px;
  min-width: 40px;
  font-size: 1rem;
  cursor: pointer;
}
.mic-btn:hover { color: var(--rose-dk); border-color: var(--rose); }
.mic-btn.rec { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); animation: mic-pulse 1s ease-in-out infinite; }
@keyframes mic-pulse { 50% { opacity: .5; } }

/* --- Boutons flottants (thème + capture rapide) --- */
.theme-toggle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  z-index: 90;
}
.theme-toggle:hover { border-color: var(--rose); }

.fab-capture {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--rose);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  z-index: 90;
}
.fab-capture:hover { background: var(--rose-dk); }

/* --- Dashboard : ajout rapide --- */
.dash-quickadd select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
}

/* --- Modale capture rapide : champs fichier --- */
[data-qc-fields] input[type="file"] {
  width: 100%;
  padding: 8px 0;
  color: var(--ink);
  font-size: 13px;
}
[data-qc-fields] input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
  margin-top: 4px;
}

/* --- Modales --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal h2 { font-size: 19px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--ink-soft); }
.field input[type="text"], .field input[type="url"], .field input[type="color"], .field textarea, .field select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}
.field textarea { min-height: 70px; font-family: monospace; resize: vertical; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.type-toggle { display: flex; gap: 8px; }
.type-toggle button {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  font-size: 13px;
}
.type-toggle button.active { background: var(--accent-soft); border-color: var(--rose); font-weight: 600; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }

/* --- Responsive : barre d'onglets horizontale scrollable --- */
@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar {
    width: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .nav-item, .nav-new-app { white-space: nowrap; width: auto; }
  .nav-item span.nav-label { overflow: visible; }
  .nav-section-label {
    padding: 0 6px;
    white-space: nowrap;
    align-self: center;
    border-left: 1px solid var(--line);
    margin-left: 4px;
  }
  .nav-group { flex-direction: row; }
  .nav-app-row { flex-shrink: 0; }
  .nav-reorder { flex-direction: row; }
  .nav-archivees { margin-top: 0; padding-top: 0; border-top: none; border-left: 1px solid var(--line-soft); flex-shrink: 0; }
  .main { padding: 16px; }
  .search-wrap { max-width: none; }
  .topbar h1 { display: none; }

  /* Zones tactiles confortables */
  .btn { min-height: 40px; padding: 9px 14px; }
  .btn-sm { min-height: 36px; padding: 7px 12px; }
  .btn-copy { min-height: 44px; padding: 10px 18px; font-size: 14px; }
  .btn-icon { min-width: 40px; min-height: 40px; }
  .mic-btn { min-height: 42px; min-width: 44px; }
  .todo-item input[type="checkbox"], .dash-tache input[type="checkbox"] { width: 20px; height: 20px; }
  .snippet-statut { min-width: 40px; min-height: 40px; }
  .capture-thumb { min-height: 44px; }

  .fab-capture { right: 16px; bottom: 16px; }
  .theme-toggle { left: 16px; bottom: 16px; }
}
