:root{color-scheme:light;font-family:Avenir Next,Segoe UI Variable,Segoe UI,sans-serif;line-height:1.5;font-weight:400;background:radial-gradient(circle at top left,rgba(208,150,71,.18),transparent 28%),linear-gradient(180deg,#f7f2ea,#ece1d1);color:#1d2128;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--panel: rgba(255, 250, 243, .92);--panel-border: rgba(94, 67, 41, .14);--panel-shadow: 0 18px 60px rgba(74, 55, 38, .12);--accent: #c2702d;--accent-muted: #f4d7bf;--text-soft: #5a6473}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}#root{min-height:100vh}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:1rem}.auth-card{width:min(100%,520px);border:1px solid var(--panel-border);background:var(--panel);box-shadow:var(--panel-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:1.5rem;padding:1.5rem}.auth-copy{color:var(--text-soft);margin:.75rem 0 1.25rem}.auth-form,.stack-form,.editor-fields{display:grid;gap:1rem}.form-field{display:grid;gap:.45rem;font-weight:600}.field-input,.editor-textarea{border:1px solid rgba(92,67,41,.18);background:#ffffffd1;border-radius:.95rem;padding:.85rem .95rem;color:inherit}.field-input:focus,.editor-textarea:focus{outline:2px solid rgba(194,112,45,.24);border-color:#c2702d66}.editor-textarea{min-height:360px;resize:vertical}.auth-actions,.editor-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.primary-button,.link-button{border:0;border-radius:999px;cursor:pointer}.primary-button{background:linear-gradient(135deg,#b8611c,#d89d52);color:#fff9f2;padding:.8rem 1.15rem;font-weight:700}.primary-button:disabled{opacity:.6;cursor:progress}.link-button{background:transparent;color:#8d4d1b;padding:.2rem 0;font-weight:700}.install-link{margin-top:.75rem}.error-banner{margin:0;border-radius:.95rem;background:#8c252517;color:#882c2c;padding:.75rem .9rem}.helper-text{margin:0;color:var(--text-soft)}.helper-text-strong{color:#24507b;font-weight:600}.app-shell{display:grid;grid-template-columns:280px 340px 1fr;gap:1rem;min-height:100vh;padding:1rem}.notebook-rail,.note-list-panel,.editor-panel{border:1px solid var(--panel-border);background:var(--panel);box-shadow:var(--panel-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:1.5rem}.notebook-rail,.note-list-panel,.editor-panel{display:flex;flex-direction:column;padding:1.25rem}.notebook-rail{gap:1rem}.rail-section{display:grid;gap:1rem}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.eyebrow{margin:0 0 .25rem;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--text-soft)}h1,h2{margin:0;font-weight:700}.scroll-panel{overflow:auto}.notebook-list,.note-list{display:grid;gap:.75rem;min-height:0}.notebook-card,.note-row{border:1px solid rgba(92,67,41,.12);background:#ffffffb8;color:inherit;padding:.9rem 1rem;border-radius:1rem;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease;text-align:left}.notebook-card:hover,.note-row:hover{transform:translateY(-1px);border-color:#c2702d52}.notebook-card{display:flex;align-items:center;gap:.75rem}.notebook-card-active,.note-row-active{border-color:#c2702d52;background:#fcf4e8fa}.accent{width:.75rem;height:.75rem;border-radius:999px;flex:none}.accent-amber{background:linear-gradient(135deg,#c2702d,#ebbf74)}.notebook-copy,.note-copy{display:grid;gap:.15rem}.notebook-title{font-weight:600}.notebook-copy small,.note-copy small{color:var(--text-soft)}.note-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.install-card{margin-top:auto;border-radius:1.2rem;background:linear-gradient(180deg,#fff3e1f2,#f8e8d2eb);padding:1rem}.install-card p:last-child{margin-bottom:0;color:var(--text-soft)}.status-pill,.presence-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .7rem;font-size:.85rem;font-weight:600}.status-pill{background:var(--accent-muted);color:#713a0d}.status-saving{background:#487eb224;color:#24507b}.presence-chip{background:#2658371f;color:#235136}.editor-meta{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.editor-panel{min-width:0}.editor-surface{flex:1;border-radius:1.25rem;background:linear-gradient(180deg,#ffffffc2,#f8f0e7e0),repeating-linear-gradient(180deg,transparent 0,transparent 1.95rem,rgba(111,129,153,.08) 1.95rem,rgba(111,129,153,.08) 2rem);border:1px solid rgba(92,67,41,.12);padding:1.35rem;min-height:420px}.editor-form-field{flex:1}.empty-state{display:grid;place-items:center;text-align:center;color:var(--text-soft)}@media(max-width:1180px){.app-shell{grid-template-columns:240px 300px 1fr}}@media(max-width:920px){.app-shell{grid-template-columns:260px 1fr}.note-list-panel{order:3;grid-column:1 / -1}}@media(max-width:640px){.app-shell{grid-template-columns:1fr;padding:.75rem}.notebook-rail,.note-list-panel,.editor-panel{padding:1rem;border-radius:1.2rem}.panel-header,.note-row,.editor-toolbar{flex-direction:column;align-items:flex-start}.editor-surface{min-height:320px}}
