:root { color-scheme: light dark; --paper:#f6f2eb; --surface:#fffdfa; --ink:#20211e; --muted:#76746d; --line:#dcd7ce; --accent:#276052; --accent-ink:#e9f0d8; --warm:#e9b17a; --shadow:0 12px 30px #20211e12; }
@media (prefers-color-scheme: dark) { :root { --paper:#171918; --surface:#202321; --ink:#f3f0e9; --muted:#afada6; --line:#393d39; --accent:#b7d59e; --accent-ink:#183d35; --warm:#d9975b; --shadow:0 12px 30px #00000030; } }
:root[data-theme="light"] { color-scheme:light; --paper:#f6f2eb; --surface:#fffdfa; --ink:#20211e; --muted:#76746d; --line:#dcd7ce; --accent:#276052; --accent-ink:#e9f0d8; --warm:#e9b17a; --shadow:0 12px 30px #20211e12; }
:root[data-theme="dark"] { color-scheme:dark; --paper:#171918; --surface:#202321; --ink:#f3f0e9; --muted:#afada6; --line:#393d39; --accent:#b7d59e; --accent-ink:#183d35; --warm:#d9975b; --shadow:0 12px 30px #00000030; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; background:var(--paper); color:var(--ink); font-family:ui-rounded,"SF Pro Rounded","Avenir Next",system-ui,sans-serif; } button,input,textarea { font:inherit; } button { cursor:pointer; } button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid var(--warm); outline-offset:2px; }
.app-shell { min-height:100dvh; display:grid; grid-template-columns:238px 1fr; }.sidebar { padding:25px 17px 19px; border-right:1px solid var(--line); display:flex; flex-direction:column; min-height:100dvh; position:sticky; top:0; background:color-mix(in srgb,var(--paper) 92%, transparent); }.brand { display:flex; align-items:center; gap:8px; margin:0 10px 42px; color:var(--ink); font-family:Georgia,serif; font-size:29px; letter-spacing:-1.8px; text-decoration:none; }.brand-mark { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; background:var(--accent); color:var(--accent-ink); font-family:ui-rounded,sans-serif; font-size:18px; }
.nav-list { display:grid; gap:4px; }.nav-item,.quiet-button { border:0; background:transparent; color:var(--ink); padding:11px 12px; text-align:left; border-radius:10px; font-size:14px; }.nav-item span { display:inline-block; width:26px; font-size:18px; color:var(--muted); }.nav-item small { float:right; border:1px solid var(--line); min-width:20px; text-align:center; border-radius:9px; padding:1px 5px; color:var(--muted); }.nav-item.active { background:var(--surface); box-shadow:var(--shadow); }.nav-item.active span { color:var(--accent); }.sidebar-bottom { margin-top:auto; display:grid; gap:2px; }.quiet-button { color:var(--muted); }.quiet-button:hover,.nav-item:hover { background:color-mix(in srgb,var(--surface) 70%, transparent); }.privacy-note { margin:15px 10px 3px; color:var(--muted); font-size:11px; line-height:1.45; }
main { min-width:0; }.topbar { min-height:128px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px clamp(24px,5vw,76px); border-bottom:1px solid var(--line); }.eyebrow { margin:0 0 5px; color:var(--accent); font-size:10px; font-weight:800; letter-spacing:1.6px; }.topbar h1,.dialog h2 { margin:0; font-family:Georgia,serif; letter-spacing:-1px; font-weight:500; }.topbar h1 { font-size:33px; }.header-actions { display:flex; align-items:center; gap:12px; }.search { height:42px; width:min(320px,30vw); display:flex; align-items:center; gap:7px; border:1px solid var(--line); border-radius:12px; padding:0 12px; background:var(--surface); color:var(--muted); }.search input { border:0; outline:0; width:100%; background:transparent; color:var(--ink); font-size:13px; }.primary-button,.secondary-button { min-height:42px; border-radius:11px; border:1px solid transparent; padding:0 15px; font-size:13px; font-weight:700; }.primary-button { color:var(--accent-ink); background:var(--accent); }.primary-button span { font-size:19px; vertical-align:-1px; margin-right:4px; }.secondary-button { color:var(--ink); border-color:var(--line); background:transparent; }.content { padding:36px clamp(24px,5vw,76px) 70px; }.view-description { max-width:580px; margin:0 0 30px; color:var(--muted); font-size:14px; line-height:1.6; }
.collection-strip { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 34px; }.collection-filter { border:1px solid var(--line); border-radius:20px; background:transparent; color:var(--ink); padding:8px 13px; font-size:12px; }.collection-filter.selected { border-color:var(--accent); background:var(--accent); color:var(--accent-ink); }.entries { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:15px; }.entry-card { position:relative; min-height:245px; overflow:hidden; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:17px; background:var(--surface); box-shadow:0 2px 0 #00000005; }.entry-image { height:73px; background:linear-gradient(118deg,color-mix(in srgb,var(--accent) 80%,var(--paper)),var(--warm)); background-size:cover; background-position:center; }.entry-main { padding:15px 16px 18px; flex:1; }.entry-topline { display:flex; justify-content:space-between; gap:5px; margin-bottom:9px; color:var(--muted); font-size:10px; }.source-pill { max-width:180px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:700; letter-spacing:.3px; }.entry-card h3 { margin:0 0 7px; font-family:Georgia,serif; font-size:19px; line-height:1.2; font-weight:500; letter-spacing:-.3px; }.entry-note { margin:0; color:var(--muted); font-size:12px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }.entry-collections { display:flex; flex-wrap:wrap; gap:5px; margin-top:13px; }.tag { background:color-mix(in srgb,var(--accent) 12%, transparent); color:var(--accent); border-radius:12px; padding:4px 7px; font-size:10px; font-weight:700; }.entry-actions { display:flex; gap:3px; padding:0 12px 12px; align-items:center; }.status-button { border:0; background:transparent; padding:5px; color:var(--muted); font-size:11px; margin-right:auto; }.icon-button { width:34px; height:34px; border:0; background:transparent; color:var(--ink); border-radius:9px; font-size:20px; }.icon-button:hover { background:color-mix(in srgb,var(--paper) 75%,transparent); }.empty { padding:48px 25px; border:1px dashed var(--line); border-radius:17px; text-align:center; }.empty h2 { margin:0 0 9px; font-family:Georgia,serif; font-weight:500; }.empty p { color:var(--muted); max-width:390px; margin:0 auto 20px; font-size:14px; line-height:1.5; }.collection-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }.collection-tile { min-height:129px; padding:17px; border:1px solid var(--line); background:var(--surface); border-radius:14px; text-align:left; color:var(--ink); }.collection-tile strong { display:block; margin:11px 0 3px; font-family:Georgia,serif; font-size:21px; font-weight:500; }.collection-tile small { color:var(--muted); }.collection-dot { display:block; width:18px; height:18px; border-radius:50%; background:var(--tile-color,var(--warm)); }
dialog { color:var(--ink); background:var(--surface); border:1px solid var(--line); box-shadow:0 18px 80px #00000045; border-radius:19px; width:min(560px,calc(100vw - 28px)); padding:0; }.dialog::backdrop { background:#12171280; backdrop-filter:blur(3px); }.dialog form { padding:25px; }.dialog-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:12px; }.dialog h2 { font-size:26px; }.dialog-intro { margin:0 0 20px; color:var(--muted); font-size:13px; line-height:1.5; }.dialog label { display:grid; gap:7px; margin:15px 0; color:var(--muted); font-size:12px; font-weight:700; }.dialog input:not([type=file]),.dialog textarea { width:100%; color:var(--ink); background:var(--paper); border:1px solid var(--line); padding:11px; border-radius:10px; resize:vertical; }.upload-control { display:inline-grid !important; width:max-content; color:var(--accent)!important; cursor:pointer; }.upload-control input { position:absolute; width:1px; height:1px; opacity:0; }.file-name,.small-print { margin:0; color:var(--muted); font-size:11px; line-height:1.45; }.url-preview { background:color-mix(in srgb,var(--accent) 10%,transparent); color:var(--accent); padding:9px 10px; border-radius:9px; font-size:12px; }.dialog fieldset { border:0; padding:0; margin:20px 0; }.dialog legend { font-size:12px; font-weight:800; }.suggestion-copy { margin:7px 0 10px; color:var(--muted); font-size:12px; }.collection-picker { display:flex; flex-wrap:wrap; gap:7px; }.collection-choice { border:1px solid var(--line); color:var(--ink); background:transparent; border-radius:18px; padding:7px 10px; font-size:11px; }.collection-choice.selected { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }.dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:23px; }.setting-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:13px 0; border-top:1px solid var(--line); }.setting-row strong,.setting-row small { display:block; }.setting-row small { margin-top:3px; color:var(--muted); font-size:11px; }.mobile-menu { display:none; }
.sync-notice { margin:0 0 18px; padding:10px 12px; border-radius:10px; background:color-mix(in srgb,var(--warm) 24%,transparent); color:var(--ink); font-size:12px; line-height:1.4; }.auth-gate { min-height:100dvh; display:grid; align-content:center; justify-items:center; gap:34px; padding:28px; background:var(--paper); }.auth-gate .brand { margin:0; }.auth-gate section { width:min(460px,100%); padding:32px; border:1px solid var(--line); border-radius:18px; background:var(--surface); }.auth-gate h1 { margin:0 0 12px; font-family:Georgia,serif; font-size:34px; font-weight:500; letter-spacing:-1px; }.auth-gate p { color:var(--muted); line-height:1.55; }.auth-gate form { display:grid; gap:9px; margin-top:25px; }.auth-gate label { font-size:12px; font-weight:800; }.auth-gate input { width:100%; border:1px solid var(--line); border-radius:10px; padding:12px; color:var(--ink); background:var(--paper); }.auth-gate button { justify-self:start; margin-top:7px; }.auth-message { min-height:24px; font-size:13px; }
@media (max-width:720px) { .app-shell { display:block; }.sidebar { display:none; position:fixed; z-index:10; inset:0 22% 0 0; min-height:100dvh; box-shadow:var(--shadow); }.sidebar.open { display:flex; }.topbar { min-height:100px; padding:18px 20px; align-items:center; }.mobile-menu { display:block; border:0; background:transparent; color:var(--ink); font-size:22px; }.topbar h1 { font-size:27px; }.header-actions { margin-left:auto; }.search { display:none; }.primary-button { padding:0 12px; }.content { padding:28px 20px 50px; }.entries { grid-template-columns:1fr; }.entry-card { min-height:210px; }.collection-grid { grid-template-columns:repeat(2,1fr); }.dialog form { padding:20px; } }
