:root {
  --canvas: #e9e7e1;
  --surface: #f7f6f2;
  --surface-high: #fffefa;
  --ink: #23282a;
  --muted: #7b817f;
  --line: #d9d8d1;
  --line-strong: #c7c8c1;
  --accent: #f06b4f;
  --accent-deep: #cc4e37;
  --accent-soft: #fae1d9;
  --graphite: #1e2325;
  --display: 'Libre Baskerville', Georgia, serif;
  --body: 'DM Sans', -apple-system, sans-serif;
  --mono: 'DM Mono', monospace;
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); font-family: var(--body); }
body { -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.app-frame { display: grid; grid-template-columns: 250px minmax(0, 1fr) 292px; min-height: 100vh; }
.app-frame.is-hidden { display: none; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--canvas); }
.auth-shell.is-hidden { display: none; }
.auth-card { width: min(100%, 390px); padding: 37px 38px 28px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-high); box-shadow: 0 18px 50px rgba(35, 40, 42, .08); }
.auth-brand { display: flex; align-items: center; gap: 10px; color: var(--graphite); font-size: 16px; font-weight: 700; margin-bottom: 57px; }.auth-brand .brand-mark { transform: scale(.9); transform-origin: left center; }
.auth-kicker { color: #a1766b; letter-spacing: 1.3px; font: 9px var(--mono); }.auth-card h1 { margin: 11px 0 8px; font: 700 28px/1.23 var(--display); letter-spacing: -.6px; }.auth-intro { color: var(--muted); font-size: 12px; margin: 0 0 28px; }
.login-form { display: flex; flex-direction: column; }.login-form label:not(.trust-row) { color: #6e7672; font-size: 10px; font-weight: 600; margin: 0 0 7px; }.login-form input:not([type=checkbox]) { width: 100%; height: 39px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fbfaf6; color: var(--ink); font-size: 12px; margin-bottom: 16px; }.login-form input:not([type=checkbox]):focus { border-color: var(--accent); }
.trust-row { position: relative; display: flex; align-items: center; gap: 9px; color: #858c87; font-size: 10px; margin: 1px 0 19px; cursor: pointer; }.trust-row input { position: absolute; opacity: 0; }.fake-checkbox { width: 14px; height: 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fbfaf6; }.trust-row input:checked + .fake-checkbox { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fbfaf6; }
.login-button { display: flex; align-items: center; justify-content: center; gap: 9px; height: 40px; border-radius: 5px; background: var(--graphite); color: #fff; font-size: 11px; font-weight: 600; }.login-button:hover { background: #353d3f; }.login-button svg { width: 15px; }.login-error { min-height: 15px; color: var(--accent-deep); font-size: 10px; margin: 11px 0 0; text-align: center; }.auth-foot { display: flex; align-items: center; justify-content: center; gap: 6px; color: #a1a59f; font: 9px var(--mono); margin-top: 24px; }.auth-foot svg { width: 13px; color: #71a68b; }
.sidebar { display: flex; flex-direction: column; background: var(--graphite); color: #f4f3ed; padding: 26px 16px 16px; min-height: 100vh; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 9px 27px; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; width: 22px; height: 22px; }
.brand-mark span { width: 5px; border-radius: 2px; background: var(--accent); display: block; }
.brand-mark span:nth-child(1) { height: 10px; opacity: .72; }.brand-mark span:nth-child(2) { height: 17px; }.brand-mark span:nth-child(3) { height: 22px; opacity: .84; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.3px; }.brand-caption { font-family: var(--mono); color: #929998; font-size: 8px; margin-top: 2px; letter-spacing: .4px; }
.sidebar-close { display: none !important; margin-left: auto; color: #9ea4a2; }
.icon-button { width: 32px; height: 32px; display: inline-grid; place-items: center; background: transparent; color: inherit; border-radius: 6px; }.icon-button:hover { background: rgba(35,40,42,.08); }.sidebar .icon-button:hover { background: rgba(255,255,255,.09); }
.icon-button svg { width: 16px; height: 16px; stroke-width: 1.8; }
.new-pad-button { height: 38px; border-radius: 6px; display: flex; align-items: center; gap: 9px; padding: 0 11px; background: var(--accent); color: white; font-size: 12px; font-weight: 600; margin-bottom: 19px; }.new-pad-button:hover { background: var(--accent-deep); }.new-pad-button svg { width: 15px; }.new-pad-button kbd { margin-left: auto; font: 9px var(--mono); color: #ffd8d0; }
.sidebar-search { height: 33px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #3a4141; background: #252b2d; border-radius: 5px; color: #7d8683; }.sidebar-search svg { width: 14px; }.sidebar-search input { min-width: 0; flex: 1; border: 0; color: #f2f1eb; background: transparent; outline: 0; font-size: 11px; }.sidebar-search input::placeholder { color: #7d8583; }.sidebar-search kbd { color: #7e8584; font: 9px var(--mono); }
.pad-nav { overflow: auto; padding: 26px 1px 16px; flex: 1; }.nav-section { margin-bottom: 24px; }.nav-section-title { display: flex; align-items: center; justify-content: space-between; padding: 0 9px 8px; color: #7e8784; text-transform: uppercase; font: 9px var(--mono); letter-spacing: .8px; }.nav-section-title span { color: #596361; }.nav-empty { padding: 8px 9px; color: #5f6865; font: 10px var(--mono); }
.pad-item { width: 100%; display: flex; align-items: center; gap: 9px; color: #b7bfbb; background: transparent; border-radius: 5px; padding: 9px; text-align: left; font-size: 12px; }.pad-item:hover { background: #2a3133; color: #f5f4ef; }.pad-item.active { background: #323a3b; color: #fff; }.pad-item svg { width: 14px; color: #828b87; }.pad-item.active svg { color: var(--accent); }.pad-item span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.pad-item .item-count { margin-left: auto; color: #68716f; font: 10px var(--mono); }.pad-item.active .item-count { color: #aab3b0; }
.sidebar-footer { padding: 15px 8px 0; border-top: 1px solid #343a3a; }.sync-status { display: flex; align-items: center; gap: 7px; color: #7f8986; font: 9px var(--mono); margin-bottom: 15px; }.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #68b68e; box-shadow: 0 0 0 3px rgba(104,182,142,.12); }.profile-button { display: flex; align-items: center; gap: 9px; width: 100%; background: transparent; color: #b9c0bc; text-align: left; padding: 0; }.profile-button > svg { margin-left: auto; width: 14px; color: #737c79; }.avatar, .activity-avatar { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font: 9px var(--mono); background: #c8d7d1; color: #30423d; }.profile-copy { display: flex; flex-direction: column; gap: 2px; }.profile-copy strong { color: #e7e8e3; font-size: 11px; font-weight: 600; }.profile-copy small { color: #77817d; font-size: 9px; }.signout-button { display: flex; align-items: center; gap: 7px; margin: 15px 0 0 34px; padding: 0; background: transparent; color: #7d8783; font-size: 10px; }.signout-button:hover { color: #f2a08e; }.signout-button svg { width: 13px; }

.main-content { background: var(--surface); min-width: 0; }.topbar { height: 67px; display: flex; align-items: center; padding: 0 40px; border-bottom: 1px solid var(--line); }.menu-trigger { display: none; }.crumbs { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }.crumbs svg { width: 12px; }.crumbs strong { color: var(--ink); font-weight: 600; }.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }.quiet-button, .filter-button, .tool-button { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: #636c69; border-radius: 5px; font-size: 11px; }.quiet-button { border: 1px solid var(--line-strong); padding: 8px 11px; }.quiet-button:hover { background: #eeece6; color: var(--ink); }.quiet-button svg, .filter-button svg, .tool-button svg { width: 14px; }.topbar-actions .icon-button { color: #78807e; }
.content-wrap { max-width: 820px; margin: 0 auto; padding: 52px 50px 70px; }.pad-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }.eyebrow { display: flex; align-items: center; gap: 7px; color: #a1766b; font: 9px var(--mono); letter-spacing: 1px; }.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }.eyebrow-separator { color: #cbc3bd; }.pad-heading h1 { margin: 10px 0 7px; font: 700 34px/1.18 var(--display); letter-spacing: -.8px; }.pad-heading p { margin: 0; color: var(--muted); font-size: 12px; }.filter-button { border: 1px solid var(--line); padding: 8px 10px; background: #f1f0eb; white-space: nowrap; }.filter-button:hover { border-color: var(--line-strong); color: var(--ink); }.filter-button svg:last-child { width: 12px; margin-left: 4px; }
.capture-box { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-high); padding: 17px 18px 13px; margin-bottom: 43px; transition: border-color .2s, box-shadow .2s; }.capture-box.dragging { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.capture-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }.capture-label { color: var(--ink); font-size: 11px; font-weight: 700; }.capture-hint { color: #9a9e99; font-size: 10px; }.capture-box textarea { resize: vertical; min-height: 69px; width: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font: 14px/1.5 var(--body); }.capture-box textarea::placeholder { color: #adb0aa; }.capture-controls { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ededE7; padding-top: 11px; }.capture-actions { display: flex; gap: 13px; }.tool-button { padding: 3px 0; color: #7f8580; }.tool-button:hover { color: var(--accent-deep); }.capture-submit { display: flex; align-items: center; gap: 11px; }.capture-shortcut { color: #a6aaa5; font: 9px var(--mono); }.add-button { display: inline-flex; align-items: center; gap: 7px; border-radius: 5px; background: var(--graphite); color: #fff; padding: 8px 11px; font-size: 11px; font-weight: 600; }.add-button:hover { background: #353d3f; }.add-button svg { width: 14px; }.drop-hint { display: none; align-items: center; gap: 7px; position: absolute; inset: 0; place-content: center; background: rgba(247,246,242,.9); border-radius: 7px; color: var(--accent-deep); font-size: 12px; font-weight: 600; }.dragging .drop-hint { display: flex; }
.section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }.section-heading h2 { margin: 0; font: 700 18px var(--display); letter-spacing: -.35px; }.section-rule { height: 1px; background: var(--line); flex: 1; }.section-date { color: #a1a39e; font: 9px var(--mono); }
.memo-list { display: flex; flex-direction: column; gap: 8px; }.memo-card { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 12px; border: 1px solid #e2e1db; border-radius: 6px; background: #fbfaf6; padding: 15px 13px 14px; transition: border-color .15s, transform .15s; }.memo-card:hover { border-color: #cacbc4; transform: translateY(-1px); }.memo-type { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 5px; background: #f2e8e3; color: var(--accent-deep); }.memo-type.file { background: #e8edeb; color: #4b7268; }.memo-type.audio { background: #ece8f0; color: #6f5c7d; }.memo-type.video { background: #e8edf1; color: #547087; }.memo-type svg { width: 14px; }.memo-body { min-width: 0; }.memo-body p { margin: 0 0 8px; font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.memo-body a { color: #b74d3d; text-decoration: none; }.memo-body a:hover { text-decoration: underline; }.memo-meta { display: flex; align-items: center; gap: 8px; color: #a0a39d; font: 9px var(--mono); }.memo-meta .tag { padding: 3px 6px; border-radius: 3px; color: #7f7770; background: #f0eee8; }.memo-actions { display: flex; align-items: flex-start; gap: 2px; opacity: 0; transition: opacity .15s; }.memo-card:hover .memo-actions, .memo-actions:focus-within { opacity: 1; }.memo-actions .icon-button { color: #8a908d; width: 28px; height: 28px; }.memo-actions .icon-button:hover { color: var(--accent-deep); background: #f1ece7; }.audio-bar { display: flex; align-items: center; gap: 10px; padding: 6px 0 3px; }.audio-play { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }.audio-play svg { width: 12px; fill: currentColor; }.waveform { display: flex; align-items: center; gap: 2px; height: 23px; flex: 1; max-width: 170px; }.waveform i { width: 2px; border-radius: 2px; background: #d9b6ad; }.audio-duration { color: #858d89; font: 9px var(--mono); }.file-preview { display: flex; align-items: center; gap: 9px; padding: 8px 10px; background: #f3f4ef; border: 1px solid #e2e3dc; border-radius: 5px; }.file-preview svg { width: 17px; color: #5c7b72; }.file-preview strong { display: block; font-size: 11px; font-weight: 600; }.file-preview small { color: #929995; font: 9px var(--mono); }.empty-state { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: 6px; }.empty-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); }.empty-icon svg { width: 17px; }.empty-state h3 { margin: 13px 0 5px; font: 700 16px var(--display); }.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }

.inspector { border-left: 1px solid var(--line); background: #eeede8; padding: 27px 23px; }.inspector-header { display: flex; align-items: center; justify-content: space-between; color: #717974; text-transform: uppercase; letter-spacing: .9px; font: 9px var(--mono); margin-bottom: 24px; }.inspector-header .icon-button { color: #939a96; }.share-panel { padding-bottom: 22px; border-bottom: 1px solid #d9d8d2; }.share-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--accent-deep); background: var(--accent-soft); border-radius: 6px; margin-bottom: 14px; }.share-icon svg { width: 16px; }.share-copy h3 { margin: 0 0 7px; font: 700 17px var(--display); letter-spacing: -.3px; }.share-copy p { color: #808681; font-size: 11px; line-height: 1.5; margin: 0 0 16px; }.url-field { height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 6px 0 9px; border: 1px solid var(--line-strong); border-radius: 5px; background: #f7f6f2; color: #737b77; }.url-field > svg { width: 13px; }.url-field span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; font: 10px var(--mono); }.copy-url { width: 25px; height: 25px; color: #737b77; }.share-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; color: #929791; font-size: 9px; }.share-meta span { display: inline-flex; align-items: center; gap: 5px; }.share-meta svg { width: 12px; }.text-button { padding: 0; background: transparent; color: var(--accent-deep); font-size: 9px; }.text-button:hover { text-decoration: underline; }.inspector-section { padding: 22px 0; border-bottom: 1px solid #d9d8d2; }.inspector-section-title { color: #9b9f9a; text-transform: uppercase; letter-spacing: .8px; font: 9px var(--mono); margin-bottom: 15px; }.activity-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 14px; }.activity-row:last-child { margin-bottom: 0; }.activity-avatar { flex: 0 0 auto; width: 24px; height: 24px; font-size: 8px; }.muted-avatar { background: #dbddd6; color: #77827b; }.activity-row p { margin: 0 0 3px; color: #78807b; font-size: 10px; line-height: 1.35; }.activity-row p strong { color: #4a544f; font-weight: 600; }.activity-row small { color: #a0a39e; font: 9px var(--mono); }.setting-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; background: transparent; color: #69716d; font-size: 10px; }.setting-row > span { display: flex; align-items: center; gap: 9px; }.setting-row svg { width: 14px; }.setting-row > svg { color: #a0a5a0; width: 13px; }.setting-row:hover { color: var(--accent-deep); }.color-swatch { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.toast { position: fixed; left: 50%; bottom: 25px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 5px; background: var(--graphite); color: #f5f4ef; font-size: 11px; box-shadow: 0 5px 25px rgba(20,26,26,.16); transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }.toast.visible { opacity: 1; transform: translate(-50%, 0); }.toast svg { width: 14px; color: #77c69e; }
.mobile-backdrop { display: none; }

@media (max-width: 1120px) { .app-frame { grid-template-columns: 230px minmax(0,1fr); }.inspector { display: none; }.content-wrap { max-width: 840px; } }
@media (max-width: 720px) { .app-frame { display: block; }.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: min(290px, 86vw); transform: translateX(-100%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(20,26,26,.2); }.sidebar.open { transform: translateX(0); }.sidebar-close { display: inline-grid !important; }.mobile-backdrop { position: fixed; z-index: 19; inset: 0; background: rgba(19,24,24,.35); opacity: 0; pointer-events: none; display: block; transition: opacity .2s; }.mobile-backdrop.visible { opacity: 1; pointer-events: auto; }.topbar { height: 58px; padding: 0 17px; }.menu-trigger { display: inline-grid; color: #68716f; margin-right: 8px; }.crumbs { font-size: 10px; }.crumbs span, .crumbs svg { display: none; }.topbar-actions { gap: 1px; }.quiet-button { border: 0; padding: 7px; }.quiet-button span { display: none; }.content-wrap { padding: 34px 17px 55px; }.pad-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 22px; }.pad-heading h1 { font-size: 28px; margin-top: 8px; }.pad-heading p { font-size: 11px; }.heading-tools { align-self: stretch; }.filter-button { width: 100%; justify-content: space-between; }.capture-box { padding: 14px 14px 11px; margin-bottom: 32px; }.capture-hint { display: none; }.capture-box textarea { font-size: 13px; min-height: 78px; }.capture-shortcut { display: none; }.memo-card { grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding: 13px 11px; }.memo-actions { grid-column: 2; opacity: 1; margin-top: -3px; }.memo-body p { font-size: 11px; }.section-heading { gap: 8px; }.section-heading h2 { font-size: 16px; }.section-date { font-size: 8px; }.toast { bottom: 18px; max-width: calc(100vw - 34px); white-space: nowrap; } }
@media (max-width: 480px) { .auth-card { padding: 28px 23px 23px; }.auth-brand { margin-bottom: 43px; }.auth-card h1 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
