:root {
  --bg: #0c0d14;
  --bg-elevated: #141622;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --card: #171925;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f0eb;
  --text-muted: #9a98a8;
  --accent: #ff6b4a;
  --accent-2: #7c6cff;
  --accent-soft: rgba(255, 107, 74, 0.15);
  --accent-2-soft: rgba(124, 108, 255, 0.18);
  --danger: #ff4d6d;
  --danger-soft: rgba(255, 77, 109, 0.15);
  --success: #3dd68c;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --tap-min: 44px;
  --toolbar-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

body.modal-open {
  overflow: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.bg-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #ff6b4a 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.bg-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #7c6cff 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.bg-orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #3dd68c 0%, transparent 70%);
  top: 40%;
  left: 50%;
  opacity: 0.25;
}

#app {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 18px 64px;
  min-height: 100vh;
  min-height: 100dvh;
}

.view {
  display: none;
  animation: fadeIn 0.35s var(--ease);
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden { display: none !important; }
.muted { color: var(--text-muted); }

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: var(--tap-min);
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  color: var(--text);
}

.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; min-height: 36px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff8f6b);
  color: #1a0f0c;
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 107, 74, 0.5);
}

.btn-secondary {
  background: var(--accent-2-soft);
  color: #cfc8ff;
  border-color: rgba(124, 108, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(124, 108, 255, 0.28);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.btn-danger {
  background: var(--danger-soft);
  color: #ffb3c1;
  border-color: rgba(255, 77, 109, 0.4);
}

.btn-danger:hover {
  background: rgba(255, 77, 109, 0.28);
}

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1.1rem;
  line-height: 1;
}

/* Circular icon buttons (back / trash) */
.icon-btn {
  appearance: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}

.icon-btn:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.22);
}

.icon-btn:active { transform: scale(0.94); }

.icon-btn-danger {
  color: #ffb3c1;
  border-color: rgba(255, 77, 109, 0.35);
  background: var(--danger-soft);
}

.icon-btn-danger:hover {
  background: rgba(255, 77, 109, 0.28);
}

/* Menu */
.menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 30px rgba(124, 108, 255, 0.35);
}

.brand h1 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h2 { margin: 0 0 8px; font-weight: 700; }
.empty-state p { margin: 0; color: var(--text-muted); }

.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.note-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  min-height: var(--tap-min);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s var(--ease);
  text-align: left;
  width: 100%;
  color: inherit;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.note-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.note-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.note-card-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.note-card-chevron {
  color: var(--text-muted);
  font-size: 1.25rem;
  opacity: 0.6;
}

.fab { display: none; }
.mobile-fab-spacer,
.mobile-bottom-spacer,
.modal-sheet-handle {
  display: none;
}

/* Chrome bar: back | title pill | trash */
.chrome-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 0;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}

.title-pill {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.title-pill::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.title-pill:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.title-pill-static {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

.save-row {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 10px;
  min-height: 18px;
}

.save-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  opacity: 0.85;
}

.save-status.saving { color: var(--text-muted); }
.save-status.dirty { color: #ffc857; }

.read-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.btn-edit-cta {
  min-height: 40px;
  padding: 8px 18px;
}

.read-bottom-bar {
  display: none;
}

/* Blocks stack */
.blocks-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-blocks {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.block-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.block-read {
  padding: 18px 18px;
}

.block-trash {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(12, 13, 20, 0.75);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  touch-action: manipulation;
}

.block-trash:hover {
  color: #ffb3c1;
  border-color: rgba(255, 77, 109, 0.45);
  background: var(--danger-soft);
}

.block-body {
  min-width: 0;
}

.block-textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.55;
  outline: none;
  padding: 4px 28px 4px 4px;
}

.block-textarea::placeholder {
  color: var(--text-muted);
}

.read-text {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1.05rem;
  padding-right: 4px;
}

.block-img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.block-draw-img {
  object-fit: contain;
  background: #1a1c26;
}

.img-placeholder {
  padding: 48px 16px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.block-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 180px;
}

.block-table td {
  border: 1px solid var(--border);
  padding: 0;
  min-width: 72px;
  vertical-align: top;
}

.block-table tr:first-child td {
  background: var(--accent-2-soft);
}

.block-table .table-cell {
  display: block;
  width: 100%;
  min-width: 96px;
  min-height: 44px;
  height: auto;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 10px 12px;
  outline: none;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
  field-sizing: content;
}

.block-table .table-cell:focus {
  background: rgba(124, 108, 255, 0.12);
}

.block-read .block-table td,
.block-table .table-cell-ro {
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 40px;
  height: auto;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
  vertical-align: top;
}

.table-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.table-controls .btn {
  width: 100%;
  border-radius: 12px;
}

/* Draw block */
.draw-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-right: 36px;
}

.draw-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.draw-canvas {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #1a1c26;
  border: 1px solid var(--border);
  cursor: crosshair;
  touch-action: none;
  margin: 0 auto;
}

/* Fixed bottom block toolbar */
.block-toolbar {
  position: fixed;
  z-index: 40;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + var(--safe-bottom));
  width: min(680px, calc(100% - 24px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(18, 20, 32, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.block-tool {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 16px;
  padding: 10px 6px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.block-tool:hover,
.block-tool:focus-visible {
  background: var(--surface-hover);
  outline: none;
}

.block-tool:active {
  background: var(--accent-soft);
  color: #ffb59f;
}

.block-tool-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.block-tool-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.block-tool:hover .block-tool-label,
.block-tool:active .block-tool-label {
  color: inherit;
}

.editor-bottom-spacer {
  height: calc(var(--toolbar-h) + 28px + var(--safe-bottom));
}

body:not([data-view="editor"]) .block-toolbar {
  display: none;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 12, 0.72);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #1a1c2a, #12141f);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s var(--ease);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 750;
}

.modal-hint {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* Photo sheet */
.sheet-title {
  text-align: center;
  margin-bottom: 16px !important;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.sheet-btn {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  touch-action: manipulation;
}

.sheet-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.sheet-btn-icon {
  font-size: 1.35rem;
  width: 28px;
  text-align: center;
}

.sheet-close {
  margin-top: 4px;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  body.is-mobile {
    overscroll-behavior-y: contain;
  }

  .bg-orb-1 { width: 280px; height: 280px; opacity: 0.4; }
  .bg-orb-2 { width: 240px; height: 240px; opacity: 0.4; }
  .bg-orb-3 { display: none; }

  #app {
    max-width: none;
    width: 100%;
    margin: 0;
    padding:
      calc(10px + var(--safe-top))
      calc(12px + var(--safe-right))
      calc(16px + var(--safe-bottom))
      calc(12px + var(--safe-left));
  }

  .btn-create-desktop { display: none !important; }

  .menu-header {
    margin-bottom: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .brand h1 { font-size: 1.45rem; }
  .subtitle { font-size: 0.875rem; }

  .note-card {
    padding: 16px;
    min-height: 64px;
    border-radius: 14px;
  }

  .note-card:hover { transform: none; }
  .note-card:active {
    background: var(--surface-hover);
    transform: scale(0.985);
  }

  .mobile-fab-spacer {
    display: block;
    height: calc(72px + var(--safe-bottom));
  }

  .fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    z-index: 40;
    right: calc(16px + var(--safe-right));
    bottom: calc(16px + var(--safe-bottom));
    min-height: 56px;
    min-width: 56px;
    padding: 0 22px 0 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ff8f6b);
    color: #1a0f0c;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 32px rgba(255, 107, 74, 0.5);
    cursor: pointer;
    touch-action: manipulation;
  }

  .fab:active { transform: scale(0.96); }
  .fab-icon { font-size: 1.6rem; line-height: 1; font-weight: 400; }

  body:not([data-view="menu"]) .fab { display: none; }

  /* Read: bottom action bar */
  .read-actions-row { display: none; }

  .read-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding:
      12px
      calc(12px + var(--safe-right))
      calc(12px + var(--safe-bottom))
      calc(12px + var(--safe-left));
    background: rgba(12, 13, 20, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-strong);
  }

  .read-bottom-bar .btn {
    min-height: 48px;
    padding: 12px 8px;
    font-size: 0.9rem;
    border-radius: 14px;
    width: 100%;
  }

  body:not([data-view="read"]) .read-bottom-bar { display: none; }

  .mobile-bottom-spacer {
    display: block;
    height: calc(72px + var(--safe-bottom));
  }

  body[data-view="read"] .mobile-bottom-spacer {
    display: block;
  }

  .chrome-bar {
    margin-bottom: 8px;
    padding-top: 4px;
  }

  .title-pill {
    font-size: 0.95rem;
    height: 42px;
    padding: 0 14px;
  }

  .block-toolbar {
    width: calc(100% - 16px);
    bottom: calc(10px + var(--safe-bottom));
    border-radius: 20px;
    padding: 8px;
    gap: 4px;
  }

  .block-tool {
    min-height: 58px;
    padding: 8px 4px;
  }

  .block-tool-label { font-size: 0.68rem; }

  .table-controls {
    grid-template-columns: 1fr 1fr;
  }

  .table-controls .btn {
    min-height: 42px;
    font-size: 0.78rem;
    padding: 8px 6px;
  }

  .block-table .table-cell,
  .block-read .block-table td,
  .block-table .table-cell-ro {
    font-size: clamp(12px, 0.9rem, 0.95rem);
  }

  /* Modals as bottom sheets */
  .modal {
    place-items: end center;
    padding: 0;
    align-content: end;
  }

  .modal-sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 16px;
  }

  .modal-card {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding:
      12px
      calc(20px + var(--safe-right))
      calc(20px + var(--safe-bottom))
      calc(20px + var(--safe-left));
    max-height: min(92dvh, 100%);
    animation: sheetUp 0.32s var(--ease);
  }

  @keyframes sheetUp {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
  }

  .modal-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .modal-actions .btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .field-input {
    min-height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .read-bottom-bar .btn {
    font-size: 0.8rem;
    padding: 12px 4px;
  }

  .fab-label { display: none; }
  .fab {
    padding: 0;
    width: 56px;
    border-radius: 50%;
  }

  .block-tool-label { font-size: 0.62rem; }
}

/* Desktop: also show read bottom actions as row under chrome when wide? keep top edit CTA */
@media (min-width: 769px) {
  body[data-view="read"] .read-bottom-bar {
    display: none;
  }
}
