:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#07080d;color:#f6f7fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #07080d;--panel: rgba(19, 22, 31, .78);--panel-strong: rgba(31, 34, 47, .92);--line: rgba(255, 255, 255, .1);--muted: #9fa6ba;--text: #f6f7fb;--cyan: #42e8d4;--pink: #ff5d8f;--yellow: #ffcf5c;--green: #9dff6e;--violet: #9f8cff;--orange: #ff8a4c}*{box-sizing:border-box}html,body,#root{min-height:100%}body{width:100%;margin:0;overflow-x:hidden;background:radial-gradient(circle at top left,rgba(66,232,212,.18),transparent 28rem),radial-gradient(circle at 82% 18%,rgba(255,93,143,.13),transparent 22rem),linear-gradient(145deg,#07080d,#111018 48%,#07080d)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;color:inherit;cursor:pointer}input,textarea{min-width:0;color:var(--text);border:0;outline:0;background:transparent}textarea{resize:vertical}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.boot-screen,.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.boot-mark,.login-brand{letter-spacing:0;font-weight:950;font-size:clamp(3.8rem,14vw,9.5rem);line-height:.85;color:#fff;text-shadow:0 0 28px rgba(66,232,212,.45),0 0 55px rgba(255,93,143,.32)}.login-screen{position:relative;overflow:hidden}.login-aura{position:absolute;width:min(72vw,620px);aspect-ratio:1;border-radius:50%;background:conic-gradient(from 120deg,var(--cyan),var(--pink),var(--yellow),var(--green),var(--violet),var(--cyan));filter:blur(58px);opacity:.35}.login-panel{position:relative;display:grid;gap:20px;justify-items:center;text-align:center}.login-panel p{margin:0;color:var(--muted);font-size:1rem}.google-button{display:inline-flex;align-items:center;gap:12px;min-height:54px;padding:0 22px;border-radius:8px;color:#08090d;background:#fff;text-decoration:none;font-weight:900;box-shadow:0 18px 55px #ffffff2e}.google-button span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#08090d;color:#fff}.app-shell{width:100%;max-width:100vw;min-height:100vh;display:grid;grid-template-columns:74px minmax(0,1fr);grid-template-rows:auto 1fr;gap:18px;padding:18px}.topbar{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(190px,1fr) auto;align-items:center;gap:14px}.brand,.avatar-pill,.searchbox,.quick-capture,.rail,.drop-zone{border:1px solid var(--line);background:#0e1017b8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 1px #ffffff14,0 18px 55px #00000042}.brand{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 16px;border-radius:8px;color:#fff;font-weight:950;background:linear-gradient(135deg,#42e8d42e,#ff5d8f24),#0e1017d1}.brand svg{color:var(--yellow);filter:drop-shadow(0 0 12px rgba(255,207,92,.7))}.searchbox{min-width:0;display:flex;align-items:center;gap:10px;height:52px;border-radius:8px;padding:0 15px}.searchbox svg{color:var(--cyan)}.searchbox input{width:100%;font-weight:760}.avatar-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;min-width:72px;border-radius:8px;padding:0 12px}.avatar-pill img,.avatar-pill span{width:30px;height:30px;border-radius:50%}.avatar-pill img{object-fit:cover}.avatar-pill span{display:grid;place-items:center;color:#07080d;background:var(--green);font-weight:950}.rail{display:grid;align-content:start;justify-items:center;gap:12px;padding:10px;border-radius:8px}.rail button{position:relative;display:grid;place-items:center;width:52px;aspect-ratio:1;border-radius:8px;color:var(--muted);background:#ffffff0a;transition:color .18s ease,background .18s ease,transform .18s ease}.rail button.active{color:#08090d;background:var(--cyan);box-shadow:0 0 0 6px #42e8d421,0 16px 38px #42e8d440}.workspace{max-width:100%;overflow-x:hidden;min-width:0;display:grid;align-content:start;gap:18px}.quick-capture{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;border-radius:8px;padding:8px 9px 8px 16px}.quick-capture>svg{color:var(--violet)}.quick-capture input{font-size:1.05rem;font-weight:820}.quick-capture button,.todo-add button,.file-row a{display:grid;place-items:center;width:46px;aspect-ratio:1;border-radius:8px;color:#05060a;background:var(--yellow);box-shadow:0 15px 30px #ffcf5c3d}.filter-dock,.template-picker{display:grid;gap:8px;min-width:0}.filter-row{display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}.filter-row.secondary{opacity:.96}.filter-chip,.template-card,.object-chip{display:inline-flex;align-items:center;gap:7px;min-height:34px;max-width:240px;flex:0 0 auto;padding:0 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#ffffff0e;box-shadow:inset 0 1px #ffffff0f;transition:color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.filter-chip span,.object-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-chip.active,.filter-chip:active,.object-chip.active{color:#05060a;background:var(--cyan);box-shadow:inset 0 -2px #00000029,0 12px 28px #42e8d42e;transform:translateY(1px)}.filter-chip:disabled{cursor:not-allowed;opacity:.45}.filter-chip small{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;color:#05060a;background:var(--green);font-weight:950}.save-view{color:#ffeebf}.clear-filter{color:#ffe7ef}.template-picker{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))}.template-card{justify-content:start;min-height:58px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#42e8d41f,#ffcf5c1a),#161821d1}.view-panel{max-width:100%;overflow-x:hidden;min-width:0;display:grid;gap:16px}.panel-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.panel-head h1{margin:0;font-size:clamp(2rem,6vw,4.2rem);line-height:.88;font-weight:950;letter-spacing:0}.panel-head span{display:grid;place-items:center;min-width:46px;height:38px;padding:0 10px;border-radius:8px;color:#05060a;background:var(--green);font-weight:950}.panel-actions{display:inline-flex;align-items:center;gap:8px}.panel-actions button,.focus-button,.metadata-button,.file-kind,.ritual-reset{display:grid;place-items:center;min-width:38px;height:38px;border-radius:8px;color:#05060a;background:var(--yellow);box-shadow:0 12px 26px #ffcf5c2e}.focus-button{position:absolute;right:10px;top:10px;z-index:3;opacity:0;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease}.focus-button.inline{position:static;opacity:1;transform:none;min-width:32px;height:32px}.note-card:hover .focus-button{opacity:1;transform:translateY(0)}.notes-grid,.todo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:14px;align-items:start}.note-card,.todo-list-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 16%,transparent),#171924eb),var(--panel);box-shadow:inset 0 1px #ffffff14,0 18px 50px #00000047}.tactile-card{--delete-progress: 0;transform-origin:center;transition:border-color .16s ease,box-shadow .16s ease,filter .22s ease}.tactile-card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:calc(var(--delete-progress) * .45);background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.18),transparent 34%),linear-gradient(90deg,rgba(255,93,143,.18),transparent);transform:scaleX(var(--delete-progress));transform-origin:left}.tactile-card:active{border-color:color-mix(in srgb,var(--accent, var(--cyan)) 58%,#fff);box-shadow:inset 0 1px #ffffff1a,0 8px 24px #00000057,0 0 0 1px color-mix(in srgb,var(--accent, var(--cyan)) 56%,transparent)}.breathing{animation:tactile-breathe 1.45s ease-in-out infinite}.delete-shiver{animation:delete-shiver 82ms linear infinite}.delete-desaturate{filter:saturate(.24) contrast(.92)}.delete-burst{filter:saturate(.15) brightness(1.18)}.dragging-card{opacity:.78;transform:rotate(1.2deg) scale(.985);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent, var(--cyan)) 62%,transparent),0 10px 24px #0000005c}.particle-burst{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:5}.particle-burst i{--angle: calc(var(--i) * 30deg);position:absolute;left:50%;top:52%;width:7px;height:7px;border-radius:2px;background:color-mix(in srgb,var(--accent, var(--pink)) 70%,#fff);animation:particle-pop .54s ease-out forwards;transform:rotate(var(--angle)) translate(0)}.note-card{display:grid;gap:10px;padding:14px}.note-glow{position:absolute;inset:auto 12px -48px auto;width:95px;aspect-ratio:1;border-radius:50%;background:var(--accent);filter:blur(35px);opacity:.28;pointer-events:none}.note-title,.todo-list-card header input{width:100%;font-size:1.08rem;font-weight:920}.note-card textarea{position:relative;width:100%;min-height:156px;color:#dfe3ee;line-height:1.45;overflow-wrap:anywhere}.object-chips{position:relative;display:flex;flex-wrap:wrap;gap:6px;min-width:0}.object-chip{min-height:28px;padding:0 9px;font-size:.78rem}.object-chip.link-chip{color:#d9fffb;background:#42e8d41a}.object-chip.link-chip.broken{color:#ffeebf;border-style:dashed;background:#ffcf5c1a}.object-chip.tag-chip{color:#e8dcff;background:#9f8cff1a}.object-chip.backlink-chip{color:#dfffcc;background:#9dff6e1a}.note-tools{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px}.pin,.check{display:grid;place-items:center;width:34px;aspect-ratio:1;border-radius:8px;color:var(--muted);background:#ffffff0f}.pin.on{color:#05060a;background:var(--accent)}.swatches{display:flex;min-width:0;gap:6px;flex-wrap:wrap}.swatches button{width:21px;aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff57}.swatches button.chosen{outline:3px solid rgba(255,255,255,.82);outline-offset:2px}.swatches.wide{padding:0 14px 4px}.hold-delete{--hold-progress: 0;position:relative;isolation:isolate;display:inline-grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:7px;min-width:88px;height:36px;border-radius:8px;overflow:hidden;color:#ffe7ef;background:#ff5d8f1f;box-shadow:inset 0 0 0 1px #ff5d8f29}.hold-delete svg{display:block}.hold-delete:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;transform-origin:left;transform:scaleX(var(--hold-progress));background:linear-gradient(90deg,var(--pink),var(--orange)),#ff5d8f42}.hold-delete:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;z-index:-1;border-radius:inherit;opacity:calc(var(--hold-progress) * .55);background:radial-gradient(circle,rgba(255,255,255,.35),transparent 58%);transform:scale(calc(.4 + var(--hold-progress) * .9))}.hold-delete.compact{min-width:34px;width:34px;height:34px;padding:0;grid-template-columns:1fr;place-items:center;border-radius:50%;background:conic-gradient(var(--pink) calc(var(--hold-progress) * 1turn),rgba(255,255,255,.08) 0),#ff5d8f1f}.hold-delete.compact:before,.hold-delete.compact span{display:none}.todo-list-card{display:grid;gap:10px;padding-bottom:12px}.todo-list-card header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 14px 0}.todo-list-card header span{display:grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border-radius:8px;color:#05060a;background:var(--accent);font-weight:950}.todo-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 14px}.todo-add input{min-height:42px;padding:0 12px;border-radius:8px;background:#ffffff0f;font-weight:750}.todo-add button{width:42px;background:var(--accent)}.todo-items{display:grid;gap:8px;padding:0 10px}.todo-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:45px;padding:6px;border-radius:8px;background:#ffffff0d}.todo-item.done{opacity:.78}.todo-item.done input,.focus-item.done input{color:var(--muted)}.check{position:relative;overflow:hidden;color:#05060a;background:var(--accent)}.liquid-check svg{position:relative;z-index:2}.liquid-fill{position:absolute;inset:auto 0 0;height:0;background:radial-gradient(circle at 35% 18%,rgba(255,255,255,.72),transparent 18%),color-mix(in srgb,var(--accent) 70%,#fff);transition:height .42s cubic-bezier(.22,1,.36,1)}.todo-item.done .liquid-fill,.focus-item.done .liquid-fill{height:100%}.todo-text-wrap{position:relative;min-width:0}.todo-text-wrap input{width:100%}.strike-line{position:absolute;left:0;right:0;top:50%;height:2px;border-radius:999px;background:color-mix(in srgb,var(--accent) 68%,#fff);transform:scaleX(0);transform-origin:left;transition:transform .36s cubic-bezier(.22,1,.36,1)}.todo-item.done .strike-line,.focus-item.done .strike-line{transform:scaleX(1)}.todo-item.just-undone .strike-line,.focus-item.just-undone .strike-line{transform-origin:right}.todo-item.just-done{animation:stamped-done .52s cubic-bezier(.22,1,.36,1)}.habit-chip,.ritual-reset{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:30px;height:28px;border-radius:999px;color:#ffeebf;background:#ffcf5c1f;font-size:.78rem;font-weight:950}.habit-chip.continued{animation:streak-pulse .78s ease-out}.todo-list-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px}.drop-zone{display:grid;place-items:center;align-content:center;gap:8px;min-height:180px;border-radius:8px;border-style:dashed;cursor:pointer;color:var(--cyan);transition:transform .2s ease,background .2s ease,border-color .2s ease}.drop-zone strong{color:#fff;font-size:1.4rem;font-weight:950}.drop-zone.dragging{transform:scale(1.02);border-color:var(--green);background:#9dff6e1f}.file-list{display:grid;gap:10px}.file-row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:12px;min-height:66px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#161821d1;box-shadow:inset 0 1px #ffffff0f}.file-kind{width:42px;height:42px;min-width:42px;color:var(--violet);background:#9f8cff1f;transition:transform .18s ease,color .18s ease,background .18s ease}.file-kind:hover{color:#05060a;background:var(--violet);transform:rotate(-4deg) scale(1.06)}.file-row>svg{color:var(--violet)}.file-row div{min-width:0;display:grid;gap:3px}.file-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row span{color:var(--muted);font-size:.86rem}.file-row a{width:38px;color:#05060a;background:var(--green)}.metadata-button{min-width:38px;height:38px;color:#05060a;background:var(--cyan)}.api-panel{gap:18px}.api-token-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:64px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#0e1017b8;box-shadow:inset 0 1px #ffffff14,0 18px 55px #00000038}.api-form-main{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:0 8px}.api-form-main svg{color:var(--cyan)}.api-form-main input{width:100%;min-height:42px;font-weight:820}.scope-toggles{display:inline-flex;gap:6px}.scope-toggles button,.api-generate,.api-token-once button,.token-row button,.delete-toast button{display:inline-grid;place-items:center;min-height:38px;border-radius:8px;font-weight:900}.scope-toggles button{padding:0 12px;color:var(--muted);background:#ffffff0f}.scope-toggles button.active{color:#05060a;background:var(--cyan)}.api-generate{grid-auto-flow:column;gap:8px;padding:0 14px;color:#05060a;background:var(--yellow)}.api-generate:disabled,.scope-toggles button:disabled,.token-row button:disabled{cursor:not-allowed;opacity:.48}.api-token-once{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px;border:1px solid rgba(157,255,110,.34);border-radius:8px;background:#9dff6e1a}.api-token-once code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eaffdc}.api-token-once button{width:38px;color:#05060a;background:var(--green)}.api-token-once button:last-child{color:#ffe7ef;background:#ff5d8f29}.api-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:14px;align-items:start}.api-block{display:grid;gap:10px;min-width:0}.api-block>header{display:flex;align-items:center;gap:8px;color:#fff}.api-block>header svg{color:var(--violet)}.token-list,.request-list{display:grid;gap:9px;min-width:0}.token-row,.request-row{min-width:0;display:grid;align-items:center;gap:10px;min-height:58px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#161821d1;box-shadow:inset 0 1px #ffffff0f}.token-row{grid-template-columns:minmax(0,1fr) auto auto}.token-row.revoked{opacity:.54}.token-row>div,.token-meta{min-width:0;display:grid;gap:3px}.token-row strong,.token-row span,.request-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-row span,.request-row span,.api-empty{color:var(--muted);font-size:.86rem}.token-meta{text-align:right}.token-row button{width:36px;color:#ffe7ef;background:#ff5d8f29}.request-row{grid-template-columns:68px minmax(0,1fr) 54px 70px 96px}.request-row code{color:#dfe3ee}.method{display:grid;place-items:center;min-height:28px;border-radius:8px;color:#05060a;background:var(--cyan);font-weight:950}.method.post{background:var(--green)}.method.patch{background:var(--yellow)}.method.delete{color:#ffe7ef;background:var(--pink)}.focus-layer,.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:22px;background:#07080db8;-webkit-backdrop-filter:blur(18px) saturate(.72);backdrop-filter:blur(18px) saturate(.72)}.focus-drift{position:absolute;width:min(48vw,460px);aspect-ratio:1;border-radius:50%;filter:blur(60px);opacity:.18;pointer-events:none}.focus-drift.one{left:10%;top:8%;background:var(--cyan)}.focus-drift.two{right:8%;bottom:10%;background:var(--pink)}.focus-surface,.duplicate-dialog{position:relative;width:min(1040px,100%);max-height:min(860px,calc(100vh - 44px));overflow:auto;border:1px solid var(--line);border-radius:8px;background:linear-gradient(145deg,#42e8d414,#ff5d8f0f),#12141df5;box-shadow:inset 0 1px #ffffff14,0 28px 80px #00000075}.focus-close{position:absolute;left:14px;top:14px;z-index:3;display:grid;place-items:center;width:40px;aspect-ratio:1;border-radius:8px;color:#05060a;background:var(--green)}.note-focus,.list-focus{display:grid;gap:16px;padding:70px 24px 24px}.focus-title{width:100%;font-size:clamp(2rem,6vw,4rem);font-weight:950;line-height:.95}.note-focus textarea{width:100%;min-height:48vh;padding:0;color:#edf0f8;line-height:1.58;font-size:1.05rem}.backlink-list,.focus-items,.metadata-panel,.version-stack{display:grid;gap:9px}.backlink-list>button,.focus-item,.version-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:8px;border:1px solid var(--line);border-radius:8px;color:#fff;background:#ffffff0d}.focus-item{grid-template-columns:auto minmax(0,1fr) auto}.focus-add{padding:0}.file-drawer{position:fixed;right:18px;top:18px;bottom:18px;z-index:42;display:grid;grid-template-rows:auto minmax(160px,.9fr) auto auto;gap:12px;width:min(520px,calc(100vw - 36px));padding:14px;border:1px solid var(--line);border-radius:8px;background:#12141df7;box-shadow:0 26px 70px #0000007a}.file-drawer>header,.metadata-panel header,.version-stack header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.file-drawer>header button,.metadata-panel button,.version-card a,.version-card button{display:grid;place-items:center;width:38px;aspect-ratio:1;border-radius:8px;color:#05060a;background:var(--cyan)}.file-drawer strong,.file-drawer span,.version-card strong,.version-card span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-drawer span,.version-card span{color:var(--muted);font-size:.86rem}.file-preview{min-height:0;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#ffffff0a}.file-preview img,.file-preview iframe{width:100%;height:100%;min-height:260px;border:0;object-fit:contain}.file-preview pre{margin:0;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#e8ebf5}.metadata-panel dl{display:grid;grid-template-columns:92px minmax(0,1fr);gap:7px 10px;margin:0}.metadata-panel dt{color:var(--muted)}.metadata-panel dd{min-width:0;margin:0;overflow-wrap:anywhere}.version-card{grid-template-columns:minmax(0,1fr) auto auto}.version-card.current{border-color:#9dff6e57;background:#9dff6e14}.duplicate-dialog{display:grid;justify-items:center;gap:10px;width:min(460px,100%);padding:54px 20px 20px;text-align:center}.duplicate-dialog h2,.duplicate-dialog p{margin:0}.duplicate-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}.duplicate-actions button{min-height:44px;border-radius:8px;color:#05060a;background:var(--yellow);font-weight:900}.api-empty{display:grid;place-items:center;min-height:58px;border:1px dashed var(--line);border-radius:8px}.command-orb-wrap{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:20}.command-orb{position:relative;z-index:2;display:grid;place-items:center;width:72px;aspect-ratio:1;border-radius:50%;color:#05060a;background:radial-gradient(circle at 35% 25%,#fff 0 12%,transparent 13%),conic-gradient(from 130deg,var(--cyan),var(--pink),var(--yellow),var(--green),var(--cyan));box-shadow:0 0 0 10px #ffffff0a,0 22px 55px #42e8d447}.command-orb.open{box-shadow:0 0 0 10px #ff5d8f14,0 22px 55px #ff5d8f47}.orb-actions{position:absolute;right:4px;bottom:6px;width:174px;height:174px;pointer-events:none}.orb-action{position:absolute;display:grid;place-items:center;width:54px;aspect-ratio:1;border-radius:50%;color:#05060a;pointer-events:auto;box-shadow:0 18px 34px #00000057}.orb-action.note{right:76px;bottom:8px;background:var(--cyan)}.orb-action.list{right:92px;bottom:76px;background:var(--yellow)}.orb-action.file{right:24px;bottom:100px;background:var(--green)}.toast{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));z-index:30;transform:translate(-50%);min-width:140px;padding:13px 18px;border:1px solid var(--line);border-radius:8px;text-align:center;font-weight:900;color:#05060a;background:var(--green);box-shadow:0 18px 44px #9dff6e3d}.delete-toast{position:fixed;left:50%;bottom:max(88px,calc(env(safe-area-inset-bottom) + 88px));z-index:31;width:min(420px,calc(100vw - 28px));overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#161821f5;box-shadow:inset 0 1px #ffffff14,0 20px 55px #00000057;transform:translate(-50%)}.delete-toast-content{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:12px}.delete-toast strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.undo-delete{min-width:72px;padding:0 14px;color:#05060a;background:var(--green)}.close-delete{width:36px;color:#ffe7ef;background:#ff5d8f29}.delete-toast-bar{height:4px;background:linear-gradient(90deg,var(--green),var(--cyan));transform-origin:left;animation:delete-toast-drain 5s linear forwards}.undo-stack{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(112px,calc(env(safe-area-inset-bottom) + 112px));z-index:32;display:grid;gap:9px;width:min(330px,calc(100vw - 28px))}.delete-capsule{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--accent) 34%,rgba(255,255,255,.18));border-radius:999px;text-align:left;color:#fff;background:#161821f5;box-shadow:inset 0 1px #ffffff14,0 16px 42px #00000057}.delete-capsule>span:not(.capsule-drain){min-width:0}.delete-capsule strong,.delete-capsule small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delete-capsule small{color:var(--muted);font-size:.78rem}.capsule-ghost{display:grid;place-items:center;width:38px;aspect-ratio:1;border-radius:50%;color:#05060a;background:var(--accent);animation:capsule-ghost-shrink 5s linear forwards}.capsule-drain{position:absolute;left:0;bottom:0;height:4px;width:100%;background:linear-gradient(90deg,var(--accent),var(--cyan));transform-origin:left;animation:delete-toast-drain 5s linear forwards}@keyframes delete-toast-drain{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes delete-shiver{0%{transform:translate(0) rotate(0)}33%{transform:translate(-1px,1px) rotate(-.35deg)}66%{transform:translate(1px,-1px) rotate(.35deg)}to{transform:translate(0) rotate(0)}}@keyframes tactile-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.012)}}@keyframes particle-pop{0%{opacity:1;transform:rotate(var(--angle)) translate(0) scale(1)}to{opacity:0;transform:rotate(var(--angle)) translate(96px) scale(.25)}}@keyframes stamped-done{0%{transform:translateY(0) scale(1)}38%{transform:translateY(4px) scale(.985)}to{transform:translateY(0) scale(1)}}@keyframes streak-pulse{0%{box-shadow:0 0 #ffcf5c57}to{box-shadow:0 0 0 12px #ffcf5c00}}@keyframes capsule-ghost-shrink{0%{transform:scale(1);opacity:1}to{transform:scale(.62);opacity:.38}}@media (hover: hover){.rail button:hover,.brand:hover,.avatar-pill:hover,.quick-capture button:hover,.todo-add button:hover,.file-row a:hover,.metadata-button:hover,.panel-actions button:hover,.ritual-reset:hover,.hold-delete:hover{transform:translateY(-2px)}}@media (max-width: 760px){.app-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;padding:12px 12px 92px}.topbar{grid-column:1;grid-template-columns:52px minmax(0,1fr) 52px;gap:9px}.brand{width:52px;padding:0;justify-content:center}.brand span{display:none}.avatar-pill{position:static;min-width:52px;padding:0}.avatar-pill svg{display:none}.rail{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));z-index:18;grid-auto-flow:column;grid-auto-columns:52px;transform:translate(-50%);padding:8px}.workspace{grid-column:1}.quick-capture{min-height:58px}.panel-head h1{font-size:2.8rem}.notes-grid,.todo-grid{grid-template-columns:1fr}.command-orb-wrap{right:14px;bottom:92px}.command-orb{width:64px}.file-row{grid-template-columns:auto minmax(0,1fr) auto auto}.file-row a,.metadata-button{display:none}.api-token-form,.api-grid{grid-template-columns:1fr}.scope-toggles,.scope-toggles button,.api-generate{width:100%}.request-row{grid-template-columns:62px minmax(0,1fr) 48px}.request-row span:nth-last-child(-n+2){display:none}.delete-toast{bottom:170px}.undo-stack{right:12px;bottom:168px}.focus-layer,.modal-layer{padding:10px}.focus-surface{max-height:calc(100vh - 20px)}.note-focus,.list-focus{padding:64px 14px 14px}.file-drawer{top:10px;right:10px;bottom:10px;left:10px;width:auto}.duplicate-actions{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
