:root{--bg: #12101c;--surface: #1b1828;--surface-2: #241f35;--text: #efe8e0;--muted: #9a90a8;--rose: #f27d9d;--amber: #ffb86b;--amber-soft: #ffd9a3;--water: #1e2a4a;--seaglass: #8fd3c8;--ember: #c96a3a;--radius: 16px;--radius-lg: 24px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-6: 24px;--space-8: 32px;color-scheme:dark}[data-theme=neon]{--bg: #05060c;--surface: #0b0e1a;--surface-2: #121631;--text: #e8feff;--muted: #8fb8c8;--rose: #ff4fd1;--amber: #ffd60a;--amber-soft: #fff3b0;--water: #123a5c;--seaglass: #4deeea;color-scheme:dark}[data-theme=daylight]{--bg: #ece0c8;--surface: #f8f1e3;--surface-2: #fffaf0;--text: #2b2420;--muted: #6b5c4a;--rose: #a6315a;--amber: #8f5a00;--amber-soft: #f3dfae;--water: #dce7ef;--seaglass: #146257;color-scheme:light}[data-theme=daylight] .sheet-actions .primary,[data-theme=daylight] .sheet-actions .danger{color:#fffaf3}[data-theme=aurora]{--bg: #0d1420;--surface: #15202e;--surface-2: #1c2b3d;--text: #e4ecf0;--muted: #93a8b8;--rose: #c08bdc;--amber: #e0b65a;--amber-soft: #f0d898;--water: #163247;--seaglass: #5fc9b8;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased}body{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}#root{max-width:520px;margin:0 auto;padding:var(--space-4)}header.top{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-2) 0 var(--space-4)}header.top h1{font-size:1.75rem;font-weight:600;letter-spacing:.12em;margin:0;color:var(--rose)}.top-title{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.top-title p{margin:0;color:var(--muted);font-size:.75rem;text-align:right}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3)}.add-mind{width:44px;height:44px;border-radius:999px;border:0;background:var(--surface-2);color:var(--text);font-size:22px;line-height:1;cursor:pointer}.reminder-toggle{width:44px;height:44px;border-radius:999px;border:0;background:var(--surface-2);font-size:18px;line-height:1;cursor:pointer}.settings-gear{width:44px;height:44px;border-radius:999px;border:0;background:var(--surface-2);color:var(--text);font-size:18px;line-height:1;cursor:pointer}.chips{display:flex;gap:var(--space-2);overflow-x:auto;padding-bottom:var(--space-3);scrollbar-width:none;cursor:grab}.chips::-webkit-scrollbar{display:none}.chips:active{cursor:grabbing}.chip-row{position:relative}.chip-row:before,.chip-row:after{content:"";position:absolute;top:0;bottom:var(--space-3);width:28px;pointer-events:none;opacity:0;transition:opacity .15s ease}.chip-row:before{left:0;background:linear-gradient(to right,var(--bg),transparent)}.chip-row:after{right:0;background:linear-gradient(to left,var(--bg),transparent)}.chip-row--surface:before{background:linear-gradient(to right,var(--surface),transparent)}.chip-row--surface:after{background:linear-gradient(to left,var(--surface),transparent)}.chip-row.fade-left:before{opacity:1}.chip-row.fade-right:after{opacity:1}@media (prefers-reduced-motion: reduce){.chip-row:before,.chip-row:after{transition:none}}.chip{flex:0 0 auto;border:1px solid transparent;background:var(--surface);color:var(--muted);border-radius:var(--radius);padding:8px 14px;font-size:.8125rem;min-height:44px;cursor:pointer}.chip[aria-pressed=true]{color:var(--text);border-color:var(--chip, var(--rose))}.chip-icon{width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.25rem;background:var(--surface-2)}.avatar-picker{display:flex;align-items:center;gap:var(--space-3)}.avatar-picker .chip-row{flex:1;min-width:0}.avatar-preview{flex:0 0 auto;width:48px;height:48px;border-radius:999px;background:var(--surface-2);color:var(--text);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}.avatar-preview-photo{object-fit:cover}.lanterns{display:grid;gap:var(--space-3);list-style:none;padding:0;margin:0}.lantern-row{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:var(--space-3);background:var(--surface);border-radius:var(--radius);padding:var(--space-3) var(--space-4);min-height:88px}.lantern-row .name{font-size:1.0625rem;font-weight:600;margin:0}.lantern-row .meta{font-size:.8125rem;color:var(--muted);margin:2px 0 0}.lantern-row .kind{font-size:.6875rem;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.mind-info{border:0;background:transparent;text-align:left;padding:0;margin:0;cursor:pointer;min-height:44px;display:block;width:100%}.reach{border:0;background:var(--surface-2);color:var(--text);border-radius:999px;padding:10px 14px;font-size:.8125rem;min-height:44px;cursor:pointer}.reach:focus-visible,.chip:focus-visible,.add-mind:focus-visible,.reminder-toggle:focus-visible,.settings-gear:focus-visible,.review-gear:focus-visible,.sheet-actions button:focus-visible,.review-prompt-row button:focus-visible,.planned-actions button:focus-visible,.mind-info:focus-visible,.onboarding-step .ghost:focus-visible,.sheet>.ghost:focus-visible,.review-metric-row a:focus-visible,.channel-row a:focus-visible,.channel-row .ghost:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.empty{text-align:center;color:var(--muted);padding:var(--space-8) var(--space-4)}.empty .reach{margin-top:var(--space-4)}.onboarding-step{min-height:calc(100dvh - 140px);display:flex;flex-direction:column;justify-content:center;align-items:center}.onboarding-step p:focus-visible{outline:2px solid var(--amber);outline-offset:6px;border-radius:4px}.onboarding-step .ghost{background:transparent;border:0;color:var(--muted);font-size:.8125rem;min-height:44px;padding:10px 14px;text-decoration:underline;cursor:pointer;max-width:320px}footer.note{color:var(--muted);font-size:.75rem;text-align:center;padding:var(--space-6) 0}@keyframes bloom{0%{transform:scale(.96);opacity:.8}to{transform:scale(1);opacity:1}}.lantern{animation:bloom .4s ease-out}@media (prefers-reduced-motion: reduce){.lantern{animation:none}}.note-card{background:var(--surface-2);border-left:3px solid var(--amber);border-radius:var(--radius);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4)}.note-card p{margin:0;font-size:.875rem;line-height:1.5}.note-card p+p{margin-top:var(--space-1)}.planned-card{background:var(--surface);border-radius:var(--radius);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4)}.planned-card h2{margin:0 0 var(--space-2);font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:600}.planned-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-1)}.planned-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--surface-2)}.planned-row:first-child{border-top:0}.planned-row.planned-row--editing{flex-wrap:wrap}.planned-row .name{font-size:.875rem;font-weight:600;margin:0}.planned-row .meta{font-size:.75rem;color:var(--muted);margin:2px 0 0}.planned-actions{display:flex;align-items:center;gap:var(--space-2);flex:1 1 auto;min-width:0;flex-wrap:wrap;justify-content:flex-end}.planned-actions button{min-height:44px;padding:0 var(--space-3);border-radius:999px;border:0;font-size:.8125rem;cursor:pointer}.planned-actions .ghost{background:transparent;color:var(--muted)}.reschedule-form{flex:1 1 220px}.reschedule-form .sheet-actions{justify-content:flex-start;padding-top:var(--space-2)}.update-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);background:var(--seaglass);color:var(--bg);border-radius:var(--radius);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4)}.update-banner p{margin:0;font-size:.875rem;font-weight:600}.update-banner button{border:0;background:var(--bg);color:var(--seaglass);border-radius:999px;padding:8px 16px;min-height:44px;font-size:.8125rem;font-weight:600;cursor:pointer}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{background:var(--surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-6) var(--space-4) var(--space-8);width:100%;max-width:520px;display:flex;flex-direction:column;gap:var(--space-4);max-height:85dvh;overflow-y:auto;animation:sheet-up .22s ease-out}@keyframes sheet-up{0%{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}@media (prefers-reduced-motion: reduce){.sheet{animation:none}}.sheet h2{margin:0;font-size:1.25rem}.sheet>.ghost{background:transparent;border:0;color:var(--muted);font-size:.8125rem;min-height:44px;padding:10px 14px;text-decoration:underline;cursor:pointer;align-self:flex-start}.field{display:flex;flex-direction:column;gap:var(--space-2);font-size:.8125rem;color:var(--muted);border:0;padding:0;margin:0}.field input{background:var(--surface-2);border:1px solid transparent;border-radius:var(--radius);padding:10px 14px;color:var(--text);font-size:.9375rem;min-height:44px;width:100%}.field input:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.field legend{padding:0;margin:0 0 var(--space-1)}.field textarea{background:var(--surface-2);border:1px solid transparent;border-radius:var(--radius);padding:10px 14px;color:var(--text);font-size:.9375rem;min-height:88px;width:100%;font-family:inherit;resize:vertical}.field textarea:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.form-error{color:var(--rose);font-size:.8125rem;margin:0}.import-ok{color:var(--muted);font-size:.8125rem;margin:0}.build-info{color:var(--muted);font-size:.6875rem;text-align:center;margin:var(--space-4) 0 0}.sheet-actions{display:flex;gap:var(--space-3);justify-content:flex-end;padding-top:var(--space-2)}.sheet-actions button{min-height:44px;padding:0 var(--space-4);border-radius:999px;border:0;font-size:.875rem;cursor:pointer}.sheet-actions .ghost{background:transparent;color:var(--muted)}.sheet-actions .primary{background:var(--amber);color:#2a1a08;font-weight:600}.sheet-actions .primary:disabled,.sheet-actions .ghost:disabled{opacity:.6;cursor:default}.sheet-actions .danger{background:var(--rose);color:#2a1020;font-weight:600}.danger-text{color:var(--rose)!important}.manage-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.manage-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);font-size:.9375rem;color:var(--text);flex-wrap:wrap}.manage-row .confirm-row{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-2)}.manage-row .sheet-actions{padding-top:0;flex-wrap:wrap}.archived-tag{color:var(--muted);font-size:.8125rem}.circle-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex-basis:100%}.circle-name{display:flex;align-items:center;gap:var(--space-2)}.circle-members{color:var(--muted);font-size:.8125rem}.circle-dot{width:12px;height:12px;border-radius:50%;flex:0 0 auto}.rename-row{display:flex;align-items:center;gap:var(--space-2);flex:1}.rename-row input{flex:1;min-height:44px;padding:6px 10px}.color-swatches{display:flex;gap:var(--space-2);flex-wrap:wrap}.color-swatch{width:44px;height:44px;min-height:0;border-radius:50%;border:2px solid transparent;padding:0;cursor:pointer}.color-swatch[aria-pressed=true]{box-shadow:0 0 0 3px var(--text)}.color-swatch:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.settings-copy p{font-size:.8125rem;color:var(--muted);line-height:1.5;margin:0 0 var(--space-3)}.settings-copy p:last-child{margin-bottom:0}.settings-copy strong{color:var(--text)}.checkbox-field{display:flex;align-items:flex-start;gap:var(--space-2);font-size:.8125rem;color:var(--muted)}.checkbox-field input{margin-top:3px;width:18px;height:18px}.payload-preview{background:var(--surface-2);border-radius:var(--radius);padding:var(--space-3);font-size:.6875rem;max-height:160px;overflow:auto;white-space:pre-wrap;word-break:break-word;margin:0}.review-gear,.notes-button{width:44px;height:44px;border-radius:999px;border:0;background:var(--surface-2);color:var(--text);font-size:18px;line-height:1;cursor:pointer}.notes-button:focus-visible,.notes-row .ghost:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.notes-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.notes-row{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-2);padding:var(--space-2) 0;border-bottom:1px solid var(--surface-2)}.notes-row .meta{margin:0;font-size:.75rem;color:var(--muted)}.notes-text{margin:var(--space-1) 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);font-size:.875rem}.notes-row .ghost{min-height:44px;min-width:44px;background:transparent;border:1px solid var(--surface-2);color:var(--muted);border-radius:8px;cursor:pointer}.review-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-2);text-align:center}.review-totals p{margin:0;font-size:.6875rem;color:var(--muted)}.review-totals strong{display:block;font-size:1.25rem;color:var(--text);font-weight:600}.review-hint,.field-hint{font-size:.75rem;color:var(--muted);line-height:1.4;margin:0}.review-metric-row{display:flex;justify-content:space-between;gap:var(--space-2);font-size:.875rem;color:var(--text);margin:0}.review-metric-row span{color:var(--muted)}.review-metric-row a{color:var(--muted);text-decoration:underline}.channel-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-2);font-size:.875rem;color:var(--text);margin:0}.channel-row span{color:var(--muted)}.channel-row a{color:var(--muted);text-decoration:underline}.channel-row .ghost{background:transparent;border:0;color:var(--muted);font-size:.8125rem;min-height:44px;padding:10px 14px;text-decoration:underline;cursor:pointer}.review-prompt-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--surface-2)}.review-prompt-row:first-of-type{border-top:0}.review-prompt-row p{margin:0;font-size:.8125rem;flex:1}.review-prompt-row button{flex:0 0 auto;min-height:44px;padding:0 var(--space-3);border-radius:999px;border:0;background:var(--surface-2);color:var(--text);font-size:.8125rem;cursor:pointer}.review-prompt-row button:disabled{opacity:.6;cursor:default}.review-prompt-actions{display:flex;align-items:center;gap:var(--space-2);flex:0 0 auto}.review-prompt-dismissed{color:var(--muted);font-size:.8125rem}.history-lanterns{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}.history-lantern-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:var(--space-3);background:var(--surface);border-radius:var(--radius);padding:var(--space-2) var(--space-3);min-height:44px}.history-lantern-row .meta{font-size:.8125rem;color:var(--muted);margin:0}.history-lantern-row button{flex:0 0 auto;min-height:44px;padding:0 var(--space-3);border-radius:999px}.history-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-1)}.history-row{padding:var(--space-2) 0;border-top:1px solid var(--surface-2)}.history-row:first-child{border-top:0}.history-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.history-outcome{font-size:.875rem;font-weight:600}.history-date{font-size:.75rem;color:var(--muted);flex:0 0 auto}.history-text{font-size:.8125rem;margin:var(--space-1) 0 0;line-height:1.4}.history-note{color:var(--muted)}.keepsake-cta{display:flex;justify-content:center;padding-top:var(--space-2)}.keepsake-cta button{min-height:44px;padding:0 var(--space-4);border-radius:999px;border:0;background:transparent;color:var(--muted);font-size:.875rem;cursor:pointer}.keepsake-scroll{position:relative;overflow-x:auto;border-radius:var(--radius)}.keepsake-scroll:before,.keepsake-scroll:after{content:"";position:absolute;top:0;bottom:0;width:28px;pointer-events:none;opacity:0;transition:opacity .15s ease}.keepsake-scroll:before{left:0;background:linear-gradient(to right,rgba(13,16,28,.85),transparent)}.keepsake-scroll:after{right:0;background:linear-gradient(to left,rgba(13,16,28,.85),transparent)}.keepsake-scroll.fade-left:before{opacity:1}.keepsake-scroll.fade-right:after{opacity:1}@media (prefers-reduced-motion: reduce){.keepsake-scroll:before,.keepsake-scroll:after{transition:none}}.keepsake-scene{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
