:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f3f4;
  --surface-3: #e8eaed;
  --text: #202124;
  --muted: #5f6368;
  --border: #dadce0;
  --accent: #fbbc04;
  --accent-hover: #f9ab00;
  --accent-soft: #fef7e0;
  --danger: #d93025;
  --danger-soft: #fce8e6;
  --success: #188038;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --shadow-2: 0 4px 12px rgba(60, 64, 67, 0.25);
  --shadow-3: 0 8px 28px rgba(60, 64, 67, 0.3);
  --note-default: #ffffff;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #202124;
    --surface: #2d2e30;
    --surface-2: #3c4043;
    --surface-3: #4a4d50;
    --text: #e8eaed;
    --muted: #9aa0a6;
    --border: #5f6368;
    --accent-soft: #413a1a;
    --danger-soft: #4a1f1c;
    --success: #81c995;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 3px 1px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.55);
    --shadow-3: 0 12px 36px rgba(0, 0, 0, 0.65);
    --note-default: #2d2e30;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.editor-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.sprite {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.brand-icon {
  width: 30px;
  height: 30px;
  flex: none;
  fill: var(--accent);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

/* ---------- Auth ---------- */

.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(251, 188, 4, 0.28), transparent 65%),
    radial-gradient(700px 500px at 100% 100%, rgba(66, 133, 244, 0.12), transparent 60%),
    var(--bg);
}

.auth-card {
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-3);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.auth-lead {
  margin: 10px 0 24px;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--surface-2);
}

.auth-tabs button {
  flex: 1;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.auth-tabs button.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field > span {
  font-size: 13px;
  color: var(--muted);
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
}

.field input:focus {
  border-color: var(--accent-hover);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-error {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 13px;
}

.auth-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--surface-2);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #202124;
  font-weight: 600;
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.danger {
  border-color: var(--danger);
  background: transparent;
  color: var(--danger);
}

.button.danger:hover {
  background: var(--danger-soft);
}

.button.small {
  min-height: 30px;
  padding: 3px 10px;
  font-size: 13px;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  opacity: 0.55;
  cursor: default;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.icon-button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.icon-button.active {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* ---------- Topbar ---------- */

.app {
  min-height: 100vh;
  min-height: 100dvh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.menu-button {
  display: none;
}

.search {
  position: relative;
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
}

.search .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text);
}

.search input:focus {
  border-color: var(--border);
  outline: 2px solid var(--accent);
  background: var(--surface);
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.sync-status.syncing .sync-dot {
  background: var(--accent);
  animation: pulse 1s ease-in-out infinite;
}

.sync-status.offline .sync-dot {
  background: #9aa0a6;
}

.sync-status.error .sync-dot {
  background: var(--danger);
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--accent);
  color: #202124;
  font-weight: 700;
}

.avatar:hover {
  background: var(--accent-hover);
}

/* ---------- Layout / sidebar ---------- */

.layout {
  display: flex;
  align-items: flex-start;
}

.sidebar {
  position: sticky;
  top: 64px;
  width: 244px;
  flex: none;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  padding: 12px 10px 24px;
  overflow-y: auto;
  border-right: 1px solid var(--border);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.nav-item:hover {
  background: var(--surface-2);
}

.nav-item.active {
  background: var(--accent-soft);
  font-weight: 600;
}

.nav-item .icon {
  color: var(--muted);
}

.nav-item.active .icon {
  color: var(--accent-hover);
}

.nav-item span:first-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.sidebar-title {
  margin: 22px 14px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.labels-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-empty {
  margin: 4px 14px;
  color: var(--muted);
  font-size: 13px;
}

.sidebar-backdrop {
  position: fixed;
  inset: 64px 0 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.35);
}

.main {
  flex: 1;
  min-width: 0;
  max-width: 1420px;
  margin: 0 auto;
  padding: 24px 28px 96px;
}

.main-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 auto 18px;
  max-width: 100%;
}

.main-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.view-count {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Notes ---------- */

.notes-grid {
  columns: 240px;
  column-gap: 16px;
}

.note-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 14px 16px 10px;
  break-inside: avoid;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  vertical-align: top;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.note-card.color-default {
  border-color: var(--border);
}

@media (hover: hover) {
  .note-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
  }
}

.note-card:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

.note-card.is-deleted {
  opacity: 0.8;
}

.note-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.note-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.note-pin {
  width: 30px;
  height: 30px;
  margin: -5px -7px 0 0;
  color: inherit;
  opacity: 0.55;
}

.note-card.is-pinned .note-pin,
.note-pin.active {
  opacity: 1;
}

.note-body {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.note-checklist {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.note-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 2px 0;
  overflow-wrap: anywhere;
}

.note-checklist li.checked .item-text {
  color: currentColor;
  opacity: 0.55;
  text-decoration: line-through;
}

.mini-check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.75;
}

.mini-check.checked {
  border-color: currentColor;
  background: currentColor;
}

.mini-check.checked::after {
  content: "";
  width: 3px;
  height: 6px;
  margin-top: -2px;
  border: solid var(--note-default);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.color-red .mini-check.checked::after,
.color-orange .mini-check.checked::after,
.color-yellow .mini-check.checked::after,
.color-green .mini-check.checked::after,
.color-teal .mini-check.checked::after,
.color-blue .mini-check.checked::after,
.color-darkblue .mini-check.checked::after,
.color-purple .mini-check.checked::after,
.color-pink .mini-check.checked::after,
.color-brown .mini-check.checked::after,
.color-gray .mini-check.checked::after {
  border-color: #202124;
}

.note-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.label-chip {
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(32, 33, 36, 0.1);
  color: inherit;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.note-footer .button.small {
  color: inherit;
  border-color: currentColor;
}

/* ---------- Note colors ---------- */

.color-default {
  background: var(--note-default);
  color: var(--text);
}

.color-red {
  background: #f28b82;
  color: #202124;
}

.color-orange {
  background: #fbbc04;
  color: #202124;
}

.color-yellow {
  background: #fff475;
  color: #202124;
}

.color-green {
  background: #ccff90;
  color: #202124;
}

.color-teal {
  background: #a7ffeb;
  color: #202124;
}

.color-blue {
  background: #cbf0f8;
  color: #202124;
}

.color-darkblue {
  background: #aecbfa;
  color: #202124;
}

.color-purple {
  background: #d7aefb;
  color: #202124;
}

.color-pink {
  background: #fdcfe8;
  color: #202124;
}

.color-brown {
  background: #e6c9a8;
  color: #202124;
}

.color-gray {
  background: #e8eaed;
  color: #202124;
}

/* ---------- Empty state ---------- */

.empty-state {
  max-width: 420px;
  margin: 14vh auto 0;
  text-align: center;
  color: var(--muted);
}

.empty-icon {
  width: 72px;
  height: 72px;
  fill: var(--accent);
  opacity: 0.7;
}

.empty-state h2 {
  margin: 12px 0 4px;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
}

.empty-state p {
  margin: 0;
}

/* ---------- FAB ---------- */

.fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #202124;
  box-shadow: var(--shadow-2);
}

.fab:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-3);
}

.fab .icon {
  width: 26px;
  height: 26px;
}

/* ---------- Editor ---------- */

.editor {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.editor-panel {
  width: min(680px, 100%);
  max-height: min(88vh, 900px);
  max-height: min(88dvh, 900px);
  padding: 14px 20px 16px;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-3);
}

.editor-panel.color-default {
  border: 1px solid var(--border);
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: -4px -8px 6px;
}

.editor-toolbar .icon-button {
  color: inherit;
  opacity: 0.7;
}

.editor-toolbar .icon-button:hover {
  background: rgba(32, 33, 36, 0.12);
  color: inherit;
  opacity: 1;
}

.editor-toolbar .icon-button.active {
  background: rgba(32, 33, 36, 0.16);
  color: inherit;
  opacity: 1;
}

.toolbar-spacer {
  flex: 1;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(6, 34px);
  gap: 8px;
  justify-content: start;
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.color-dot {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
}

.color-dot.color-default {
  border-color: var(--border);
  background: var(--surface);
}

.color-dot.active {
  border-color: #202124;
  box-shadow: 0 0 0 2px #fff;
}

.editor-title {
  display: block;
  width: 100%;
  padding: 2px 0 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 23px;
  font-weight: 600;
}

.editor-title::placeholder,
.editor-content::placeholder,
.editor-label-row input::placeholder,
.checklist-text::placeholder {
  color: currentColor;
  opacity: 0.55;
}

.editor-title:focus,
.editor-content:focus,
.editor-label-row input:focus,
.checklist-text:focus {
  outline: none;
}

.editor-types {
  display: flex;
  gap: 4px;
  margin: 2px 0 10px;
}

.type-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 3px 11px;
  border: 1px solid rgba(32, 33, 36, 0.22);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 13px;
}

.type-button.active {
  border-color: transparent;
  background: rgba(32, 33, 36, 0.12);
  font-weight: 600;
}

.type-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.editor-content {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.55;
  resize: vertical;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 4px;
}

.checklist-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
}

.checklist-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #202124;
}

.checklist-text {
  flex: 1;
  min-width: 0;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: inherit;
}

.checklist-row.checked .checklist-text {
  opacity: 0.55;
  text-decoration: line-through;
}

.checklist-row .icon-button {
  width: 30px;
  height: 30px;
  color: inherit;
  opacity: 0.55;
}

.checklist-row .icon-button:hover {
  background: rgba(32, 33, 36, 0.12);
  opacity: 1;
}

.checklist-empty {
  margin: 4px 0;
  color: currentColor;
  opacity: 0.6;
  font-size: 13px;
}

.text-button {
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  opacity: 0.75;
}

.text-button:hover {
  opacity: 1;
}

.editor-label-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(32, 33, 36, 0.14);
  color: inherit;
}

.editor-label-row .icon {
  opacity: 0.65;
}

.editor-label-row input {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: inherit;
  opacity: 0.7;
}

.editor-footer .button.small {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

/* ---------- Settings ---------- */

.settings-dialog {
  width: min(660px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-3);
}

.settings-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px 22px;
  border-bottom: 1px solid var(--border);
}

.settings-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.settings-body {
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  padding: 4px 22px 22px;
  overflow-x: hidden;
  overflow-y: auto;
}

.settings-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.settings-section:last-child {
  border-bottom: 0;
}

.settings-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.settings-email {
  margin: 0 0 2px;
  font-size: 16px;
}

#settings-id {
  overflow-wrap: anywhere;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.session-info {
  flex: 1;
  min-width: 0;
}

.session-agent {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.password-form {
  max-width: 360px;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 18px;
  border-radius: 10px;
  background: #323232;
  color: #fff;
  box-shadow: var(--shadow-2);
  font-size: 14px;
  transform: translateX(-50%);
}

.toast.ok {
  background: #1e8e3e;
}

.toast.warn {
  background: #b26a00;
}

.toast.error {
  background: #b3261e;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .sidebar {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: 280px;
    height: auto;
    background: var(--bg);
    box-shadow: var(--shadow-3);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    padding: 18px 18px 96px;
  }

  .notes-grid {
    columns: 220px;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 6px;
    padding: 0 8px;
  }

  .brand span {
    display: none;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .sync-text {
    display: none;
  }

  .search input {
    height: 42px;
    padding-left: 38px;
  }

  .notes-grid {
    columns: 1;
  }

  .main {
    padding: 14px 12px 96px;
  }

  .main-head {
    margin-bottom: 12px;
  }

  .main-head h1 {
    font-size: 21px;
  }

  .fab {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .editor {
    padding: 0;
  }

  .editor-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 10px 16px 18px;
    border: 0;
    border-radius: 0;
  }

  .editor-content {
    min-height: 36vh;
  }

  .auth-card {
    padding: 26px 22px;
  }

  .settings-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .settings-body {
    max-height: none;
  }

  .session-row {
    align-items: stretch;
    flex-direction: column;
  }

  .session-row .button {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
