:root {
  color-scheme: dark;
  --ink: #181818;
  --paper: #f0f0f0;
  --muted: rgba(240, 240, 240, .53);
  --faint: rgba(240, 240, 240, .32);
  --line: rgba(240, 240, 240, .105);
  --glass: rgba(17, 25, 39, .49);
  --glass-strong: rgba(16, 23, 35, .7);
  --blue: #a6d6ff;
  --blue-bright: #c3e5ff;
  --danger: #ff797d;
  --serif: 'Crimson Pro', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--ink); }
body { min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--paper); background: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, [contenteditable="true"]:focus-visible { outline: 2px solid rgba(170, 217, 255, .82); outline-offset: 3px; }
::selection { color: #101923; background: rgba(196, 228, 255, .85); }

#wallpaper, .wallpaper-wash, .noise-layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#wallpaper { z-index: 0; display: block; background: radial-gradient(ellipse at 72% 18%, #173f72 0, transparent 42%), linear-gradient(145deg, #0a1527, #101c31 55%, #0b182b); }
.wallpaper-wash { z-index: 1; background: linear-gradient(180deg, rgba(4, 9, 18, .13), rgba(5, 12, 22, .23) 54%, rgba(5, 11, 20, .52)); }
.noise-layer { z-index: 2; opacity: .095; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); }

.app-frame { position: relative; z-index: 3; width: min(1470px, calc(100% - 52px)); min-height: calc(100vh - 52px); margin: 26px auto; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 17px; }
.glass-panel { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(145deg, rgba(24, 24, 24, .64), rgba(15, 22, 33, .56)); border: 1px solid rgba(239, 247, 255, .17); box-shadow: 0 22px 70px rgba(0, 5, 16, .2), inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 -1px 0 rgba(255, 255, 255, .035); backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5); }
.glass-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(132deg, rgba(255,255,255,.105), transparent 25%, transparent 66%, rgba(181,221,255,.045)); opacity: .8; }
.sidebar { min-height: calc(100vh - 52px); border-radius: 25px; padding: 25px 15px 18px; display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; margin: 2px 0 44px 7px; }
.brand-mark { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; gap: 2px; border-radius: 9px; background: linear-gradient(145deg, rgba(212, 237, 255, .24), rgba(90, 157, 218, .16)); border: 1px solid rgba(231, 246, 255, .24); box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 4px 17px rgba(72, 147, 215, .15); }
.brand-mark span { width: 2px; border-radius: 5px; background: #d4edff; box-shadow: 0 0 6px rgba(177, 223, 255, .7); }
.brand-mark span:nth-child(1) { height: 9px; opacity: .68; }.brand-mark span:nth-child(2) { height: 14px; }.brand-mark span:nth-child(3) { height: 7px; opacity: .78; }
.brand-word { font-family: var(--serif); font-size: 29px; letter-spacing: -.7px; line-height: 1; color: var(--paper); }
.brand-period { color: #a8d8ff; }
.nav-label { padding: 0 11px; margin-bottom: 11px; color: rgba(230, 241, 252, .37); font-size: 9px; font-weight: 700; letter-spacing: 1.65px; text-transform: uppercase; }
.main-nav { display: grid; gap: 6px; }
.nav-link { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 11px; color: rgba(239, 245, 251, .61); border: 1px solid transparent; border-radius: 13px; font-size: 12px; transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s ease; }
.nav-link:hover { color: var(--paper); background: rgba(231, 242, 255, .07); transform: translateX(2px); }
.nav-link.active { color: #f7fbff; background: linear-gradient(110deg, rgba(192, 226, 255, .15), rgba(171, 213, 250, .07)); border-color: rgba(217, 237, 255, .15); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 16px rgba(0, 7, 19, .11); }
.nav-icon { width: 16px; height: 16px; object-fit: contain; opacity: .67; filter: brightness(0) invert(1); }
.nav-link.active .nav-icon { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(178,223,255,.3)); }
.nav-link > span:nth-of-type(1) { flex: 1; }
.nav-hint { color: rgba(235, 245, 255, .39); font-family: var(--sans); font-size: 9px; }
.nav-count { min-width: 20px; text-align: center; color: rgba(233, 244, 255, .55); font-size: 10px; }
.sidebar-bottom { margin-top: auto; padding: 15px 10px 1px; border-top: 1px solid rgba(237, 247, 255, .09); }
.storage-indicator { display: flex; align-items: center; gap: 8px; color: rgba(239, 246, 252, .53); font-size: 10px; }
.storage-dot, .save-state-dot { width: 6px; height: 6px; border-radius: 50%; background: #9bd8b9; box-shadow: 0 0 9px rgba(143, 230, 187, .55); }
.sidebar-caption { margin-top: 10px; color: rgba(236, 245, 252, .27); font-family: var(--serif); font-size: 15px; font-style: italic; }

.main-area { min-width: 0; min-height: calc(100vh - 52px); display: flex; flex-direction: column; }
.topbar { height: 58px; flex: 0 0 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 8px 0 10px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: rgba(235, 244, 252, .42); font-size: 10px; letter-spacing: .15px; }
.breadcrumbs strong { color: rgba(246, 250, 255, .85); font-weight: 500; }
.crumb-separator { color: rgba(232, 244, 255, .26); }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.save-state { display: inline-flex; align-items: center; gap: 7px; color: rgba(234, 244, 251, .47); font-size: 10px; }
.save-state-dot { width: 5px; height: 5px; }
.profile-orb { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(235, 246, 255, .3); border-radius: 50%; color: rgba(244, 249, 255, .95); background: linear-gradient(145deg, rgba(222, 241, 255, .28), rgba(101, 166, 226, .15)); box-shadow: inset 0 1px 1px rgba(255,255,255,.2); font-family: var(--serif); font-size: 17px; }
.mobile-menu-button { display: none !important; }
.page-view { flex: 1; min-width: 0; padding: 26px 23px 30px; }
.editor-page { width: min(900px, 100%); margin: 0 auto; }
.editor-heading-row, .page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 3px 22px; }
.eyebrow { margin-bottom: 8px; color: rgba(217, 235, 251, .57); font-size: 9px; font-weight: 650; letter-spacing: 1.8px; text-transform: uppercase; }
.page-title { margin: 0; color: #f0f0f0; font-family: var(--serif); font-size: clamp(35px, 4.5vw, 51px); font-weight: 500; letter-spacing: -1.05px; line-height: .98; }
.subtle-action { height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(235, 246, 255, .16); border-radius: 11px; background: rgba(238, 247, 255, .065); color: rgba(243, 249, 255, .77); font-size: 10px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.subtle-action:hover { background: rgba(238, 247, 255, .12); border-color: rgba(235, 246, 255, .27); transform: translateY(-1px); }
.plus-mark { font-size: 17px; font-weight: 300; line-height: 1; }
.editor-card { min-height: min(680px, calc(100vh - 245px)); padding: 0 35px 17px; border-radius: 21px; }
.editor-meta-row { height: 48px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(239, 247, 255, .085); }
.document-mark { width: 17px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(205, 231, 252, .39); border-radius: 4px; }
.document-mark span { width: 7px; height: 1px; margin-top: 3px; background: rgba(215, 237, 255, .6); box-shadow: 0 3px 0 rgba(215, 237, 255, .6); }
.editor-meta-label, .autosave-label { color: rgba(230, 242, 253, .48); font-size: 9px; letter-spacing: .25px; }
.meta-spacer { flex: 1; }
.autosave-label { color: rgba(230, 242, 253, .35); font-size: 9px; }
.note-title-input { width: 100%; margin: 28px 0 4px; padding: 0; border: 0; outline: 0; color: #f0f0f0; background: transparent; font-family: var(--serif); font-size: clamp(29px, 3vw, 37px); font-weight: 500; letter-spacing: -.45px; line-height: 1.12; }
.note-title-input::placeholder { color: rgba(240, 240, 240, .37); }
.tag-entry-row { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.tag-symbol { color: rgba(180, 219, 250, .75); font-family: var(--serif); font-size: 16px; }
.tag-input { flex: 1; min-width: 0; border: 0; outline: 0; color: rgba(238, 246, 253, .68); background: transparent; font-size: 10px; }
.tag-input::placeholder { color: rgba(228, 240, 250, .33); }
.tag-hint { color: rgba(228, 240, 250, .25); font-size: 9px; }
.editor-divider { height: 1px; margin-top: 18px; background: rgba(239, 247, 255, .085); }
.format-toolbar { min-height: 49px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid rgba(239, 247, 255, .085); }
.toolbar-group { display: flex; align-items: center; gap: 4px; }
.format-button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; color: rgba(239, 246, 252, .62); background: transparent; cursor: pointer; font-size: 12px; transition: color .18s, background .18s, border-color .18s; }
.format-button:hover, .format-button.is-active { color: #eff8ff; background: rgba(213, 237, 255, .105); border-color: rgba(225, 242, 255, .12); }
.format-button svg, .search-field svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.italic-format { font-family: Georgia, serif; font-style: italic; }.underline-format { text-decoration: underline; text-underline-offset: 2px; }.strike-format { text-decoration: line-through; }
.text-style-button { font-family: var(--serif); font-size: 15px; }
.toolbar-separator { width: 1px; height: 17px; background: rgba(238, 246, 255, .13); }
.toolbar-spacer { flex: 1; }
.history-group .format-button { color: rgba(233, 244, 253, .43); }
.editor-content-wrap { position: relative; min-height: 295px; padding: 24px 1px 26px; }
.note-editor { min-height: 295px; outline: none; color: rgba(242, 246, 251, .83); font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.58; overflow-wrap: anywhere; }
.note-editor:focus { outline: none; }
.note-editor p { margin: 0 0 12px; }.note-editor h2 { margin: 20px 0 10px; color: #f0f0f0; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }.note-editor blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-left: 2px solid rgba(173, 216, 252, .66); color: rgba(231, 241, 250, .67); }.note-editor ul, .note-editor ol { padding-left: 24px; }.note-editor a { color: #b6dcff; text-decoration: underline; }
.editor-placeholder { position: absolute; top: 24px; left: 1px; color: rgba(229, 239, 248, .28); font-family: var(--serif); font-size: 19px; line-height: 1.58; pointer-events: none; }
.editor-placeholder.hidden { display: none; }
.editor-footer { display: flex; align-items: center; gap: 15px; padding-top: 13px; border-top: 1px solid rgba(239, 247, 255, .08); color: rgba(228, 240, 250, .35); font-size: 9px; }
.footer-center { margin: 0 auto; color: rgba(228, 240, 250, .25); }
.editor-delete-button { padding: 4px 0; border: 0; color: rgba(238, 240, 244, .35); background: none; font-size: 9px; cursor: pointer; transition: color .18s; }.editor-delete-button:hover { color: var(--danger); }
.editor-bottom-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; color: rgba(227, 239, 250, .35); font-size: 9px; }.tiny-lock { font-size: 13px; color: rgba(200, 228, 250, .48); }

.notes-page, .settings-page { width: min(1000px, 100%); margin: 0 auto; }.hidden { display: none !important; }
.page-heading-row { align-items: flex-end; margin: 0 3px 24px; }.page-description { margin: 9px 0 0; color: rgba(231, 241, 250, .49); font-family: var(--serif); font-size: 17px; }
.title-dot { color: #acd8fc; }
.primary-button { height: 39px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(225, 241, 255, .28); border-radius: 12px; background: linear-gradient(145deg, rgba(221, 240, 255, .25), rgba(132, 190, 240, .13)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 5px 18px rgba(0, 7, 18, .12); color: #f5f9fd; font-size: 10px; cursor: pointer; transition: transform .2s, background .2s; }.primary-button:hover { transform: translateY(-2px); background: rgba(201, 229, 251, .25); }.primary-button span { font-size: 17px; font-weight: 300; line-height: 1; }
.notes-controls { height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 16px; border-radius: 15px; }
.search-field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; color: rgba(227, 240, 251, .45); }.search-field input { width: 100%; min-width: 0; padding: 8px 0; outline: 0; border: 0; background: transparent; color: #f0f0f0; font-size: 11px; }.search-field input::placeholder { color: rgba(230, 241, 250, .35); }.search-field kbd { flex: 0 0 auto; padding: 3px 5px; border: 1px solid rgba(235, 245, 253, .13); border-radius: 5px; color: rgba(229, 241, 251, .36); font-size: 9px; }
.notes-sort-label { color: rgba(234, 244, 252, .47); font-size: 9px; }.notes-sort-label span { margin-left: 5px; color: rgba(191, 226, 255, .8); }
.notes-summary { min-height: 37px; display: flex; align-items: center; padding: 0 3px; color: rgba(229, 241, 251, .38); font-size: 9px; }.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.note-card { min-height: 174px; position: relative; display: flex; flex-direction: column; padding: 17px 17px 14px; border: 1px solid rgba(236, 246, 255, .14); border-radius: 16px; background: linear-gradient(145deg, rgba(34, 50, 70, .55), rgba(13, 21, 34, .47)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0, 7, 20, .08); backdrop-filter: blur(23px) saturate(1.3); -webkit-backdrop-filter: blur(23px) saturate(1.3); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }.note-card:hover { transform: translateY(-3px); border-color: rgba(204, 232, 255, .3); background: linear-gradient(145deg, rgba(43, 63, 86, .65), rgba(13, 21, 34, .52)); }
.note-card-top { display: flex; align-items: center; gap: 8px; }.note-card-mark { width: 7px; height: 7px; border-radius: 2px; background: rgba(183, 220, 251, .7); box-shadow: 0 0 8px rgba(153, 204, 245, .35); }.note-card-date { color: rgba(225, 239, 251, .38); font-size: 9px; }.note-card-delete { width: 25px; height: 25px; margin-left: auto; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: rgba(235, 243, 250, .34); cursor: pointer; font-size: 16px; }.note-card-delete:hover { color: var(--danger); background: rgba(255,255,255,.06); }
.note-card h3 { margin: 18px 0 7px; overflow: hidden; color: rgba(245, 249, 253, .92); font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }.note-card-preview { max-height: 43px; overflow: hidden; color: rgba(230, 240, 249, .48); font-family: var(--serif); font-size: 14px; line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.note-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }.tag-chip { padding: 4px 7px; border: 1px solid rgba(210, 232, 251, .13); border-radius: 6px; color: rgba(212, 234, 251, .64); background: rgba(198, 226, 250, .055); font-size: 8px; }
.empty-notes { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.empty-orbit { width: 53px; height: 53px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(225, 241, 255, .2); border-radius: 50%; box-shadow: 0 0 30px rgba(105, 174, 237, .1), inset 0 1px 10px rgba(255,255,255,.06); }.empty-orbit span { width: 16px; height: 22px; border: 1px solid rgba(204, 230, 253, .7); border-radius: 4px; transform: rotate(8deg); }.empty-notes h2 { margin: 0; color: var(--paper); font-family: var(--serif); font-size: 28px; font-weight: 500; }.empty-notes p { margin: 5px 0 12px; color: rgba(229, 240, 250, .45); font-family: var(--serif); font-size: 16px; }.text-action { padding: 4px 0; border: 0; color: #b7ddff; background: none; font-size: 10px; cursor: pointer; }.text-action span { margin-left: 4px; }

.settings-heading { margin-bottom: 27px; }.settings-layout { width: min(720px, 100%); display: grid; gap: 12px; margin: 0 auto; }.settings-card { padding: 21px 23px 18px; border-radius: 17px; }.settings-card-heading { display: flex; justify-content: space-between; align-items: flex-start; }.settings-kicker { margin-bottom: 5px; color: rgba(210, 232, 251, .42); font-size: 8px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }.settings-card h2 { margin: 0; color: rgba(244, 248, 252, .93); font-family: var(--serif); font-size: 24px; font-weight: 500; }.settings-index { color: rgba(225, 240, 252, .23); font-family: var(--serif); font-size: 17px; }.setting-row { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(237, 246, 255, .09); }.setting-copy { display: grid; gap: 4px; }.setting-copy strong { color: rgba(242, 247, 251, .83); font-size: 11px; font-weight: 550; }.setting-copy span { color: rgba(226, 239, 250, .4); font-size: 9px; line-height: 1.5; }
.switch { position: relative; flex: 0 0 auto; width: 38px; height: 22px; cursor: pointer; }.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }.switch-track { position: absolute; inset: 0; border: 1px solid rgba(225, 242, 255, .17); border-radius: 20px; background: rgba(228, 240, 250, .1); transition: background .2s, border-color .2s; }.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: rgba(242, 247, 251, .74); box-shadow: 0 1px 3px rgba(0,0,0,.23); transition: transform .2s, background .2s; }.switch input:checked + .switch-track { border-color: rgba(180, 221, 255, .4); background: rgba(124, 188, 244, .4); }.switch input:checked + .switch-track::after { transform: translateX(16px); background: #fff; }.switch input:focus-visible + .switch-track { outline: 2px solid #a6d6ff; outline-offset: 3px; }
.settings-card-description { margin: 7px 0 15px; color: rgba(227, 239, 250, .41); font-family: var(--serif); font-size: 14px; }.shortcut-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }.shortcut-row { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(236, 246, 255, .07); }.shortcut-name { color: rgba(238, 245, 251, .66); font-size: 10px; }.shortcut-key { min-width: 78px; padding: 5px 8px; border: 1px solid rgba(230, 243, 254, .15); border-radius: 6px; color: rgba(235, 245, 253, .57); background: rgba(235, 246, 255, .045); font-size: 9px; text-align: center; cursor: pointer; }.shortcut-key:hover, .shortcut-key.recording { border-color: rgba(183, 222, 255, .45); color: #d3ebff; background: rgba(163, 211, 251, .12); }.shortcut-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 7px; border-top: 1px solid rgba(237, 246, 255, .08); color: rgba(224, 238, 249, .33); font-size: 9px; }
.danger-card { border-color: rgba(251, 136, 142, .19); }.danger-card .settings-kicker { color: rgba(255, 159, 164, .6); }.danger-button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(255, 121, 125, .24); border-radius: 8px; color: #ff9c9e; background: rgba(255, 105, 113, .075); font-size: 9px; cursor: pointer; transition: background .2s, border-color .2s; }.danger-button:hover { background: rgba(255, 105, 113, .15); border-color: rgba(255, 121, 125, .4); }.settings-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 5px 0 13px; color: rgba(228, 239, 249, .3); font-size: 9px; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(4, 9, 16, .44); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); }.confirm-card { width: min(380px, 100%); padding: 27px; border-radius: 21px; text-align: center; }.confirm-symbol { width: 37px; height: 37px; display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid rgba(255, 125, 130, .31); border-radius: 50%; color: #ff9b9e; background: rgba(255, 117, 123, .08); font-family: var(--serif); font-size: 22px; }.confirm-card .eyebrow { margin-bottom: 7px; }.confirm-card h2 { margin: 0; color: #f4f7fa; font-family: var(--serif); font-size: 28px; font-weight: 500; }.confirm-card p { margin: 7px 0 22px; color: rgba(230, 240, 250, .48); font-family: var(--serif); font-size: 16px; }.confirm-actions { display: flex; justify-content: center; gap: 9px; }.secondary-button { padding: 9px 15px; border: 1px solid rgba(235, 245, 253, .15); border-radius: 8px; color: rgba(240, 247, 252, .7); background: rgba(235, 246, 255, .06); font-size: 10px; cursor: pointer; }.toast { position: fixed; z-index: 30; left: 50%; bottom: 26px; max-width: calc(100vw - 36px); padding: 10px 15px; border: 1px solid rgba(230, 243, 255, .2); border-radius: 11px; color: rgba(245, 249, 253, .9); background: rgba(19, 30, 45, .82); box-shadow: 0 10px 35px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(20px); font-size: 10px; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .22s, transform .22s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-nav { display: none; }

@media (max-width: 1050px) {
  .app-frame { position: relative; z-index: 3; width: min(100% - 34px, 1050px); grid-template-columns: 205px minmax(0, 1fr); gap: 13px; margin: 17px auto; }
  .sidebar, .main-area { min-height: calc(100vh - 34px); }.sidebar { padding-inline: 12px; }.page-view { padding: 22px 17px 25px; }.editor-card { padding-inline: 25px; }.notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .app-frame { position: relative; z-index: 3; width: 100%; min-height: 100vh; margin: 0; display: block; padding: 0 0 83px; }.sidebar { display: none; }.main-area { min-height: 100vh; }.topbar { height: 54px; padding: 0 20px; }.page-view { padding: 24px 17px 30px; }.mobile-menu-button { display: none !important; }.profile-orb { width: 27px; height: 27px; }.save-state { font-size: 9px; }.editor-heading-row, .page-heading-row { margin-inline: 2px; }.page-title { font-size: 39px; }.editor-card { min-height: calc(100vh - 270px); padding-inline: 19px; }.format-toolbar { gap: 8px; }.format-button { width: 26px; height: 27px; }.toolbar-group { gap: 1px; }.toolbar-separator { margin: 0 1px; }.editor-content-wrap, .note-editor { min-height: 280px; }.footer-center { display: none; }.notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.note-card { min-height: 165px; padding: 14px 13px 12px; }.note-card h3 { font-size: 20px; }.page-heading-row { align-items: flex-end; }.page-description { max-width: 270px; font-size: 15px; }.notes-controls { height: 53px; }.settings-layout { gap: 10px; }.settings-card { padding: 18px 17px 15px; }.shortcut-list { column-gap: 15px; }
  .mobile-nav { position: fixed; z-index: 10; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); width: min(340px, calc(100% - 34px)); height: 61px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 19px; transform: translateX(-50%); background: linear-gradient(145deg, rgba(38, 54, 74, .78), rgba(15, 24, 38, .79)); box-shadow: 0 12px 40px rgba(0, 5, 15, .36), inset 0 1px 0 rgba(255,255,255,.17); }
  .mobile-nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 14px; color: rgba(234, 244, 252, .48); font-size: 8px; }.mobile-nav-link img { width: 15px; height: 15px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; }.mobile-nav-link.active { color: #f1f8ff; background: rgba(211, 236, 255, .12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }.mobile-nav-link.active img { opacity: 1; }
}
@media (max-width: 440px) {
  .page-view { padding-inline: 13px; }.editor-heading-row { align-items: center; }.editor-heading-row .page-title { font-size: 34px; }.subtle-action { height: 33px; padding-inline: 9px; font-size: 9px; }.editor-card { padding-inline: 15px; }.format-toolbar { flex-wrap: wrap; padding: 7px 0; row-gap: 2px; }.format-button { width: 25px; }.toolbar-separator { height: 14px; }.history-group { margin-left: auto; }.notes-grid { grid-template-columns: 1fr; }.note-card { min-height: 147px; }.notes-page .page-title, .settings-page .page-title { font-size: 41px; }.page-heading-row .primary-button { padding-inline: 10px; }.notes-controls { padding-inline: 11px; }.notes-sort-label { display: none; }.shortcut-list { grid-template-columns: 1fr; }.setting-row { align-items: flex-start; }.danger-card .setting-row { align-items: center; }.editor-meta-row { height: 43px; }.note-title-input { margin-top: 23px; }.editor-content-wrap { min-height: 275px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
