:root {
  color-scheme: dark;
  --bg: #191b1e; --surface: #222529; --field: #1c1f22; --line: #363a3e;
  --text: #e7e9e7; --muted: #a0a6a2; --soft-text: #c1c9b9;
  --accent: #c2d5a6; --accent-ink: #26331e; --surface-raised: #2a2d31;
  --card: #222529; --card-line: #40454a; --header-height: 64px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-synthesis: none;
  color: var(--text); background: var(--bg); text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-color: #545b54 var(--bg); }
body { min-width: 320px; min-height: 100svh; margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-user-select: none; user-select: none; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: inherit; }
svg { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
::selection { background: #8da86a66; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input, textarea, select { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--field); color: var(--text); font-size: 14px; line-height: 1.6; }
input, textarea { width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
textarea { resize: vertical; }
label { display: block; margin-bottom: 8px; font-size: 13px; }
h1, h2, p { overflow-wrap: anywhere; }
.icon-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.icon-button:hover:enabled { background: #ffffff14; color: var(--text); }
.icon-button[aria-pressed="true"] { color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.button svg { width: 18px; height: 18px; }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover:enabled { background: #d5e6bb; }
.secondary { border-color: var(--line); background: transparent; color: var(--text); }
.secondary:hover:enabled, .subtle:hover:enabled { background: #ffffff0f; }
.subtle { background: transparent; color: var(--text); }
.danger { background: #d6a49a; color: #321e18; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: var(--header-height); padding: 0 16px 0 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.brand-group { display: flex; flex: 0 0 238px; align-items: center; gap: 12px; }
.brand-group > .icon-button { width: 48px; height: 48px; padding: 12px; color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 24px; font-weight: 650; letter-spacing: -1px; white-space: nowrap; }
.brand-light { font-weight: 400; }
.brand-dot { color: var(--accent); }
.brand-icon { width: 32px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.brand-icon svg { width: 23px; height: 23px; stroke-width: 1.65; }
.search-wrap { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 722px; height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: var(--surface); color: var(--muted); }
.search-wrap input { height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 16px; outline: 0; }
.search-wrap:focus-within { background: var(--surface-raised); border-color: #85966f; color: var(--accent); box-shadow: 0 0 0 2px #c2d5a60d; }
.search-wrap:focus-within input { color: var(--text); }
.search-wrap input:focus-visible { outline: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-left: 24px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 12px; border: 1px solid #4c5b3d; border-radius: 11px; background: #30392c; color: var(--accent); font-size: 15px; }
.locked-caption { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 12px; }
.locked-caption svg { width: 18px; height: 18px; }
.display-settings { position: relative; }
.display-settings summary { list-style: none; cursor: pointer; }
.display-settings summary::-webkit-details-marker { display: none; }
.display-settings[open] > summary { background: #ffffff14; }
.settings-panel { position: absolute; top: 48px; right: 0; width: 260px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 4px 12px #0005; }
.settings-panel select { width: 100%; }
.settings-panel p { margin-bottom: 0; }
.app-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: calc(100svh - var(--header-height)); }
.sidebar { position: sticky; top: var(--header-height); align-self: start; display: flex; flex-direction: column; height: calc(100svh - var(--header-height)); padding: 8px 0 16px; overflow-x: hidden; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0 25px 25px 0; background: transparent; color: var(--text); text-align: left; font-size: 14px; font-weight: 500; }
.nav-item > svg, .nav-item > [data-icon] { flex: 0 0 24px; color: var(--muted); }
.nav-item > span:not([data-icon]) { min-width: 0; overflow-wrap: anywhere; }
.nav-item:hover { background: var(--surface); }
.nav-item.active { background: #b9cf921a; color: #d2e1ba; }
.nav-item.active svg { color: var(--accent); }
.nav-count { margin-left: auto; color: var(--muted); font-size: 12px; }
.labels-hint { display: none; }
.sidebar-bottom { margin-top: 24px; }
.access-card { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0 25px 25px 0; background: transparent; text-align: left; }
.access-card:hover { background: var(--surface); }
.access-card [data-icon] { flex: 0 0 24px; color: var(--muted); }
.access-card strong { display: block; font-size: 13px; font-weight: 400; }
.access-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.access-card > [data-icon]:last-child { display: none; }
.workspace { --board-columns: 1; min-width: 0; width: 100%; padding: 32px 32px 16px; display: flex; flex-direction: column; }
.quick-composer { display: flex; align-items: center; width: 100%; max-width: 600px; min-height: 46px; margin: 0 auto 48px; padding: 0 8px 0 16px; border: 1px solid #484d45; border-radius: 10px; background: var(--surface); box-shadow: 0 3px 12px #0002; }
.quick-composer > button:first-child { flex: 1; align-self: stretch; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: var(--soft-text); text-align: left; font-size: 16px; }
.quick-composer > .icon-button { width: 40px; height: 40px; margin-left: 12px; }
.board-toolbar { width: min(100%, calc(var(--board-columns) * 256px - 16px)); margin: -24px auto 24px; color: var(--muted); font-size: 12px; }
.note-group { width: min(100%, calc(var(--board-columns) * 256px - 16px)); margin: 0 auto 48px; }
.group-title { margin: 0 16px 12px; color: var(--muted); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .8px; }
.notes-grid { display: grid; grid-template-columns: repeat(var(--board-columns), minmax(0, 1fr)); grid-auto-rows: 1px; grid-auto-flow: dense; column-gap: 16px; align-items: start; }
.note-card { position: relative; align-self: start; height: max-content; min-height: 104px; padding: 12px 16px 4px; border: 1px solid var(--card-line); border-radius: 10px; background: var(--card); cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.note-card:hover, .note-card:focus-within { border-color: #a2b58b; box-shadow: 0 3px 12px #0003; }
.note-card h3 { margin: 0 20px 12px 0; color: var(--text); font-size: 20px; line-height: 28px; font-weight: 500; overflow-wrap: anywhere; }
.card-body { display: -webkit-box; margin: 0; overflow: hidden; -webkit-line-clamp: 25; -webkit-box-orient: vertical; color: var(--soft-text); font-size: 14px; line-height: 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.card-body a { color: inherit; text-underline-offset: 2px; }
.card-pin { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; padding: 6px; opacity: 0; }
.card-pin svg { width: 20px; height: 20px; }
.card-pin[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.note-card:hover .card-pin, .note-card:focus-within .card-pin, .card-pin[aria-pressed="true"] { opacity: 1; }
.card-checklist { display: grid; gap: 6px; margin: 0; }
.card-check { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; font-size: 14px; line-height: 24px; }
.card-check > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.check-square { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; border: 2px solid #9da591; border-radius: 3px; }
.card-check[aria-checked="true"] { color: var(--muted); text-decoration: line-through; }
.check-square svg { display: block; width: 12px; height: 12px; }
.card-more { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.card-labels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.label-chip { display: inline-flex; max-width: 100%; padding: 3px 8px; border: 1px solid #c2d5a621; border-radius: 12px; background: #c2d5a60b; color: #b7c5a8; font-size: 11px; line-height: 16px; overflow-wrap: anywhere; }
.card-footer { display: flex; align-items: center; min-height: 36px; margin-top: 12px; }
.card-date { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.card-actions { display: flex; justify-content: space-between; width: 100%; opacity: 0; transition: opacity .15s; }
.card-actions .icon-button { width: 28px; height: 28px; padding: 6px; color: var(--muted); }
.card-actions svg { width: 16px; height: 16px; }
.note-card:hover .card-actions, .note-card:focus-within .card-actions { opacity: 1; }
[data-color="sage"] { --card: #26352e; --card-line: #3d5548; }
[data-color="sand"] { --card: #373226; --card-line: #554d38; }
[data-color="rose"] { --card: #3a2b2c; --card-line: #584043; }
[data-color="blue"] { --card: #26333e; --card-line: #3d5061; }
[data-color="lavender"] { --card: #322d3d; --card-line: #4b435e; }
.note-group:has(.is-list) { max-width: 600px; }
.notes-grid.is-list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
.is-list .note-card { grid-row: auto !important; }
.empty-state { margin: auto; max-width: 430px; padding: 32px 12px 80px; text-align: center; }
.empty-state > [data-icon] { margin-bottom: 24px; color: #8b9e79; }
.empty-state > [data-icon] svg { width: 96px; height: 96px; stroke-width: 1; }
.empty-state h2 { margin: 0 0 12px; color: var(--muted); font-size: 22px; line-height: 1.4; font-weight: 400; }
.empty-state p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.empty-state .button { margin-top: 12px; }
dialog { width: calc(100% - 32px); max-height: calc(100svh - 32px); padding: 24px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 4px 12px #0009; }
dialog::backdrop { background: #0009; }
.small-dialog { max-width: 430px; }
dialog h2 { margin: 0; font-size: 20px; font-weight: 500; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading .icon-button { margin: -8px -8px -8px 0; }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.dialog-actions > span { margin-right: auto; }
.form-message { margin: 12px 0; padding: 10px 12px; border: 1px solid #c8846a40; border-radius: 6px; background: #c8846a0a; color: #edb2a4; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.confirm-symbol { display: flex; margin-bottom: 20px; color: #d6aa96; }
.note-dialog { position: fixed; max-width: 600px; padding: 0; background: var(--card); border-color: var(--card-line); }
.editor-pin { position: absolute; top: 8px; right: 10px; z-index: 1; }
.editor-pin[aria-pressed="true"] svg { fill: var(--accent); color: var(--accent); }
.editor-title { min-height: 54px; padding: 12px 56px 8px 16px; border: 0; border-radius: 0; background: transparent; font-size: 22px; font-weight: 500; line-height: 28px; }
.editor-title:focus-visible, .editor-body:focus-visible { outline: 0; }
.editor-body { display: block; min-height: 260px; max-height: 55svh; padding: 0 16px 16px; border: 0; border-radius: 0; background: transparent; font-size: 14px; line-height: 24px; resize: none; }
.editor-option-panel { margin: 8px 16px; padding: 12px; border: 1px solid #ffffff24; border-radius: 8px; background: #0000000a; }
.editor-type { display: flex; gap: 8px; }
.type-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 12px; }
.type-button.active { background: #ffffff16; color: var(--text); }
.type-button svg { width: 18px; height: 18px; }
.editor-labels { display: flex; align-items: center; gap: 12px; }
.editor-labels svg { width: 18px; height: 18px; color: var(--muted); }
.editor-labels input { padding: 4px 0; border: 0; background: transparent; font-size: 13px; }
.color-picker legend { padding: 0 4px; color: var(--muted); font-size: 12px; }
#colorOptions { display: flex; flex-wrap: wrap; gap: 12px; }
.color-option { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff50; border-radius: 50%; background: var(--card); color: var(--text); }
.color-option svg { width: 18px; height: 18px; }
.color-option[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.editor-meta { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 40px; padding: 8px 16px; color: var(--muted); font-size: 12px; }
#editorReadBadge { margin-right: auto; color: var(--muted); font-size: 11px; }
.note-dialog form > .form-message { margin-inline: 16px; }
.editor-bottom { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px 8px; border-radius: 0 0 12px 12px; background: var(--card); }
.editor-tools, .editor-save-actions { display: flex; align-items: center; gap: 2px; }
.editor-tools { flex: 1; justify-content: space-between; max-width: 280px; }
.editor-tools .icon-button { width: 36px; height: 36px; padding: 9px; }
.editor-tools svg { width: 18px; height: 18px; }
.editor-tools .icon-button[aria-expanded="true"] { background: #ffffff18; color: var(--text); }
.editor-save-actions .button { padding-inline: 12px; }
.save-note { color: var(--accent); }
.checklist-editor { min-height: 260px; padding: 0 16px 16px; }
.checklist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.checklist-row input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; accent-color: var(--accent); }
.checklist-row input[type="text"] { padding: 6px 0; border: 0; border-bottom: 1px solid #ffffff0a; border-radius: 0; background: transparent; }
.checklist-row.done input[type="text"] { color: var(--muted); text-decoration: line-through; }
.checklist-row .icon-button { width: 28px; height: 28px; padding: 5px; }
.checklist-row svg { width: 18px; height: 18px; }
.add-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 0; border: 0; background: transparent; color: var(--muted); text-align: left; font-size: 14px; }
.add-item svg { width: 18px; height: 18px; }
.auth-page { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 400px); align-items: center; justify-content: center; gap: 80px; min-height: calc(100svh - var(--header-height)); padding: 32px 24px; }
.auth-intro h1 { margin: 20px 0; font-size: 42px; line-height: 1.25; font-weight: 400; letter-spacing: -1px; }
.auth-intro > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.auth-features { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--soft-text); font-size: 12px; }
.auth-features svg { width: 18px; height: 18px; }
.auth-card { padding: 28px; border: 1px solid #3a4136; border-radius: 15px; background: var(--surface); box-shadow: 0 16px 56px #0000001a; }
.auth-lock { width: 40px; height: 40px; margin-bottom: 16px; color: var(--accent); }
.auth-card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 400; }
.auth-card > p.muted { margin: 0 0 24px; }
.password-field { position: relative; }
.password-field input { padding-right: 60px; }
.password-field > button { position: absolute; top: 4px; right: 4px; padding: 10px; border: 0; border-radius: 4px; background: transparent; color: var(--soft-text); font-size: 12px; }
.full-width { width: 100%; margin-top: 18px; justify-content: space-between; }
#confirmPasswordField { margin-top: 16px; }
.auth-footnote { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.8; }
.auth-footnote svg { width: 14px; height: 14px; margin-right: 4px; }
.toast { position: fixed; bottom: 24px; left: 24px; z-index: 100; display: flex; align-items: center; gap: 16px; max-width: min(520px, calc(100vw - 48px)); padding: 10px 12px 10px 20px; border: 1px solid #4c5b3d; border-radius: 8px; background: #283122; color: var(--text); box-shadow: 0 3px 8px #0006; font-size: 14px; line-height: 1.5; }
.toast .icon-button { width: 32px; height: 32px; }
.toast[data-type="error"] { border-color: #765043; background: #42302c; color: #edb2a4; }
.sidebar-backdrop { position: fixed; inset: var(--header-height) 0 0; z-index: 29; border: 0; background: #0007; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 120; padding: 12px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { top: 10px; }
.noscript { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 100; padding: 16px; background: var(--surface-raised); }
@media (min-width: 961px) {
  body.sidebar-collapsed .app-layout { grid-template-columns: 72px minmax(0, 1fr); }
  body.sidebar-collapsed .sidebar { padding-inline: 12px; }
  body.sidebar-collapsed .nav-item { justify-content: center; width: 48px; padding: 12px; border-radius: 50%; }
  body.sidebar-collapsed .nav-item > span:not([data-icon]) { display: none; }
  body.sidebar-collapsed .access-card { justify-content: center; width: 48px; padding: 12px; border-radius: 50%; }
  body.sidebar-collapsed .access-card > span:not(:first-child) { display: none; }
}
@media (max-width: 1100px) {
  .brand-group { flex-basis: 210px; }
  .header-actions { gap: 2px; padding-left: 12px; }
  .avatar { margin-left: 6px; }
}
@media (max-width: 960px) {
  .brand-group { flex-basis: 190px; gap: 4px; }
  .app-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; top: var(--header-height); bottom: 0; left: 0; z-index: 30; width: 280px; background: var(--bg); transform: translateX(-100%); transition: transform .18s; box-shadow: 4px 0 12px #0005; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .avatar { display: none; }
  .workspace { padding-inline: 24px; }
  .auth-page { gap: 40px; }
  .auth-intro h1 { font-size: 36px; }
}
@media (max-width: 660px) {
  :root { --header-height: 113px; }
  .topbar { flex-wrap: wrap; height: auto; min-height: 56px; padding: 0 12px; }
  .brand-group { flex: 1; height: 56px; gap: 4px; }
  .brand-group > .icon-button { width: 40px; height: 40px; padding: 8px; }
  .brand { gap: 6px; font-size: 20px; }
  .brand-icon { width: 28px; height: 30px; border-radius: 8px; }
  .brand-icon svg { width: 21px; height: 21px; }
  .header-actions { height: 56px; gap: 0; padding-left: 4px; }
  .header-actions .icon-button { width: 34px; height: 34px; padding: 7px; }
  #refreshBtn { display: none; }
  .search-wrap { order: 3; flex-basis: 100%; max-width: none; height: 44px; margin-bottom: 12px; padding-inline: 14px; }
  body.is-unlocked .topbar { min-height: var(--header-height); }
  .workspace { padding: 24px 12px 12px; }
  .quick-composer { margin-bottom: 32px; }
  .note-group { width: 100%; margin-bottom: 32px; }
  .group-title { margin-left: 8px; }
  .notes-grid { column-gap: 12px; }
  .note-card { padding: 12px 12px 4px; }
  .note-card h3 { margin-right: 16px; margin-bottom: 8px; font-size: 16px; line-height: 24px; }
  .card-body, .card-check { font-size: 14px; line-height: 22px; }
  .card-body { -webkit-line-clamp: 18; }
  .card-pin { top: 5px; right: 3px; width: 28px; height: 28px; }
  .card-actions { flex-wrap: wrap; justify-content: flex-start; gap: 0; opacity: 1; }
  .card-actions .icon-button { width: 24px; height: 28px; padding: 5px; }
  .card-actions svg { width: 14px; height: 14px; }
  .card-footer { margin-top: 8px; }
  .card-pin { opacity: 1; }
  .board-toolbar { width: 100%; margin-top: -12px; }
  .empty-state { padding-bottom: 24px; }
  .empty-state h2 { font-size: 20px; }
  .empty-state > [data-icon] svg { width: 72px; height: 72px; }
  .locked-caption { max-width: 110px; font-size: 10px; }
  .locked-caption svg { display: none; }
  .auth-page { min-height: calc(100svh - 56px); grid-template-columns: minmax(0, 380px); gap: 20px; padding: 24px; }
  .auth-intro { text-align: center; }
  .auth-intro h1 { margin: 12px 0; font-size: 30px; }
  .auth-intro h1 br { display: none; }
  .auth-intro > p, .auth-features { display: none; }
  .auth-card { padding: 24px; }
  input, textarea, .editor-labels input { font-size: 16px; }
  .note-dialog { width: calc(100% - 24px); }
  .editor-title { font-size: 20px; }
  .editor-body { min-height: 180px; max-height: 40svh; font-size: 16px; }
  .checklist-editor { min-height: 180px; }
  .editor-bottom { flex-wrap: wrap; padding: 4px 8px 8px; }
  .editor-tools { max-width: none; flex-basis: 100%; }
  .editor-save-actions { justify-content: flex-end; width: 100%; }
  .settings-panel { right: -34px; }
  .toast { bottom: 12px; left: 12px; max-width: calc(100vw - 24px); padding-left: 12px; font-size: 13px; }
}
@media (max-height: 740px) and (max-width: 660px) {
  .auth-intro { display: none; }
  .workspace { padding-top: 20px; }
  .quick-composer { margin-bottom: 28px; }
}
@media (hover: none) { .card-actions, .card-pin { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
