@import url("/static/design-system.css?v=20260831-memoryspace1");
:root{font-family:var(--ds-font-ui);color:#1c261f;background:#f5f3ec;--green:#284d36;--muted:#6d766f;--line:#dfddd4;--paper:rgba(255,255,255,.82);--safe-bottom:env(safe-area-inset-bottom,0px)}
.capture-notice{position:fixed;z-index:250;top:calc(env(safe-area-inset-top,0px) + 70px);left:50%;transform:translateX(-50%);width:min(92vw,460px);display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:18px;background:#284d36;color:white;box-shadow:0 8px 30px #14291d40;font-size:15px;line-height:1.5;animation:capture-arrive .22s ease-out}.capture-notice[hidden]{display:none}.capture-notice.error{background:#824536}.capture-notice.pending{background:#445a4c}.capture-notice-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;border:2px solid #ffffff80;border-radius:50%;font-size:22px}.capture-notice.success .capture-notice-icon{animation:capture-check .3s ease-out}.capture-notice button{flex:none;margin-left:auto;padding:4px 8px;background:transparent;color:white;font-size:24px;min-width:44px;min-height:44px}@keyframes capture-arrive{from{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}@keyframes capture-check{from{scale:.65}to{scale:1}}@media(prefers-reduced-motion:reduce){.capture-notice,.capture-notice.success .capture-notice-icon{animation:none}}
.shortcut-capture>button,.capture-token-secret button{padding:11px 14px;border-radius:13px;background:var(--green);color:#fff;font-weight:700}.shortcut-capture>p,.shortcut-capture details{color:var(--muted);line-height:1.6}.shortcut-capture details{margin:15px 0}.shortcut-capture summary{cursor:pointer;color:var(--green);font-weight:700}.shortcut-capture li{margin:8px 0}.shortcut-capture code{overflow-wrap:anywhere}.capture-token-secret{display:grid;gap:8px;margin:12px 0;padding:13px;border-radius:14px;background:#eef1e9}.capture-token-secret[hidden]{display:none}.capture-token-secret code{padding:10px;border-radius:9px;background:#fff;user-select:all}.capture-device-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.capture-device-row span{display:grid;gap:4px}.capture-device-row small{color:var(--muted)}.capture-device-row button{padding:8px 11px;border-radius:999px;color:#8b4338;background:#f3e6e2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 90% 0,#e6ecdf 0,transparent 28rem),#f5f3ec}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.hidden{display:none!important}.eyebrow{color:#54705d;font-size:10px;font-weight:800;letter-spacing:.16em}h1,h2,h3,p{overflow-wrap:anywhere}.offline-banner{position:fixed;z-index:100;top:0;left:0;right:0;padding:8px 16px;color:#fff;background:#8b4d36;text-align:center;font-size:12px}.app-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;height:64px;padding:8px 16px;background:rgba(245,243,236,.88);border-bottom:1px solid rgba(218,216,207,.72);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:10px;padding:0;color:inherit;background:none;text-align:left;font-weight:750}.brand small{display:block;color:#7b827c;font-size:9px;font-weight:500;letter-spacing:.06em}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#fff;background:var(--green);font-family:Georgia,serif;font-size:20px}.install-button{padding:8px 13px;border-radius:999px;color:var(--green);background:#e2eadf;font-size:12px;font-weight:700}.app-shell{width:min(760px,100%);margin:0 auto;padding:22px 16px calc(104px + var(--safe-bottom))}.app-view{display:none;animation:view-in .22s ease}.app-view.active{display:block}@keyframes view-in{from{opacity:.35;transform:translateY(5px)}}.welcome,.view-heading{padding:18px 4px 22px}.welcome h1,.view-heading h1,.onboarding h1{margin:7px 0 10px;font-family:Georgia,"Songti SC",serif;font-size:clamp(36px,11vw,58px);font-weight:500;line-height:1.08}.welcome p,.view-heading p,.onboarding p{margin:0;color:var(--muted);line-height:1.6}.view-heading.compact{padding-bottom:12px}.heading-row{display:flex;align-items:center;justify-content:space-between}.heading-row h1{margin-bottom:0}.onboarding{padding:30px 8px}.onboarding form{margin-top:26px;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--paper)}textarea{width:100%;resize:vertical;border:0;outline:0;background:transparent;color:inherit;font-size:17px;line-height:1.65}.onboarding button,.capture-actions>button:last-child,.ask-card form>button{width:100%;margin-top:14px;padding:14px 20px;border-radius:16px;color:#fff;background:var(--green);font-weight:750}.capture-card,.ask-card,.settings-card{padding:20px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:0 14px 50px rgba(42,55,46,.06)}.capture-card>form>label{display:block;margin-bottom:8px;font-weight:750}.capture-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:14px}.capture-actions>button:last-child{grid-column:1/-1;margin:0}.record-button,.audio-fallback{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border-radius:15px;color:var(--green);background:#e5ece2;font-weight:700}.record-button.recording{color:#fff;background:#9b4138}.record-button.recording .record-dot{background:#fff;animation:pulse 1s infinite}.record-dot{width:10px;height:10px;border-radius:50%;background:#bd5045}.audio-fallback{margin:0;font-size:12px}.audio-fallback input{display:none}@keyframes pulse{50%{opacity:.35}}.inline-status{min-height:20px;margin:12px 0;color:#54705d;font-size:13px}.quick-correction{margin-top:16px;padding-top:15px;border-top:1px solid #ebe8df}.quick-correction label{color:#757d77;font-size:12px}.quick-correction div{display:flex;gap:8px}.quick-correction input{min-width:0;flex:1;padding:10px 13px;border:1px solid var(--line);border-radius:999px;background:#faf9f5}.quick-correction button,.quiet{padding:9px 13px;border-radius:999px;color:#52705b;background:transparent}.home-shortcut{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:19px;color:var(--muted);background:rgba(255,255,255,.52);text-align:left}.home-shortcut strong{color:var(--green);font-size:12px}.ask-card form>button{width:auto;float:right}.ask-card:after{display:block;clear:both;content:""}.answer-card{margin-top:18px;padding:18px;border-left:4px solid #53705c;border-radius:4px 14px 14px 4px;background:#edf0e8;line-height:1.65}.evidence-card{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:12px;font-size:13px}.query-plan{margin-top:12px;color:#697169;font-size:12px}.timeline-filters{display:flex;gap:7px;overflow-x:auto;margin:0 -16px 18px;padding:0 16px 4px;scrollbar-width:none}.timeline-filters::-webkit-scrollbar{display:none}.timeline-filters select,.timeline-filters input{flex:none;padding:9px 12px;border:1px solid var(--line);border-radius:999px;color:#526057;background:rgba(255,255,255,.76)}#custom-range{display:flex;gap:6px}.timeline{position:relative}.timeline::before{position:absolute;top:9px;bottom:8px;left:7px;width:1px;background:#cbd3c8;content:""}.timeline-item{display:grid;grid-template-columns:15px 1fr;gap:10px;margin-bottom:13px;cursor:pointer}.timeline-item time{grid-column:2;color:#808781;font-size:11px}.timeline-dot{z-index:1;grid-row:1/span 2;width:10px;height:10px;margin-top:2px;border:3px solid #f5f3ec;border-radius:50%;background:#52705a;box-shadow:0 0 0 1px #52705a}.timeline-card{grid-column:2;padding:16px 17px;border:1px solid var(--line);border-radius:4px 18px 18px;background:var(--paper)}.timeline-context{display:flex;gap:10px;color:#7a827b;font-size:11px}.timeline-context strong{color:#31533c}.timeline-card h3{margin:9px 0 8px;font-size:17px;line-height:1.45}.timeline-tags{display:flex;gap:7px;color:#929892;font-size:10px}.timeline-tags span:before{content:"#"}.load-more{display:block;margin:16px auto;padding:11px 18px;border-radius:999px;color:var(--green);background:#e3e9df}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:34px 0 12px}.section-title h2{margin:0;font-size:21px}.discovery-intro{color:var(--muted);font-size:13px}.discovery-list{display:grid;gap:12px}.discovery-card{display:grid;grid-template-columns:34px 1fr;gap:9px;padding:18px;border:1px solid #d9ddcf;border-radius:20px;background:linear-gradient(145deg,rgba(238,244,232,.9),rgba(255,255,255,.75))}.discovery-spark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e0ead8}.discovery-card h3{margin:7px 0;font-size:18px}.discovery-card p{color:#59635b;line-height:1.55}.discovery-reason{margin:12px 0;padding:12px;border-left:3px solid #78917d;border-radius:4px 12px 12px 4px;background:rgba(255,255,255,.55);font-size:12px}.discovery-reason b{margin-right:5px;color:#45634d;font-size:9px;letter-spacing:.08em}.detail-actions{display:flex;flex-wrap:wrap;gap:7px;padding-top:15px;border-top:1px solid #e4e1d8}.detail-actions button{padding:9px 12px;border-radius:999px;color:#fff;background:var(--green)}.detail-actions .quiet{color:#52705b;background:transparent}.detail-actions .delete{color:#8b4338;background:#f3e6e2}.weekly-overview{padding:19px;border-radius:20px;color:#f5f2e8;background:#283f30;font-family:Georgia,"Songti SC",serif;font-size:18px;line-height:1.6}.weekly-section{margin:21px 0}.weekly-section>h3{padding-bottom:8px;border-bottom:1px solid #d9d6cb;color:#405647;font-size:14px}.weekly-item{position:relative;margin:9px 0;padding:15px 16px;border-radius:15px;background:rgba(255,255,255,.68)}.weekly-item h4{margin:0 45px 7px 0}.weekly-item p{color:#5d665e;line-height:1.55}.weekly-kind{position:absolute;top:15px;right:15px;color:#637b68;font-size:9px;font-weight:800}.identity-list{display:grid;gap:11px}.identity-card{padding:18px;border-radius:17px;background:#e8ece3}.identity-card h3{margin:0 0 7px}.identity-card p{color:#59645b;font-size:13px}.memory-meta{display:flex;gap:7px;flex-wrap:wrap;color:#667068;font-size:11px}.pill{padding:4px 8px;border-radius:999px;background:#f4f6f1}.identity-actions{display:flex;gap:7px}.identity-actions button{padding:7px 10px;border-radius:999px;color:#fff;background:var(--green)}.identity-actions .delete{color:#8b4338;background:transparent}.settings-card{margin-top:28px}.setting-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 0;border-bottom:1px solid var(--line);color:inherit;background:none;text-align:left}.setting-row small{max-width:56%;color:var(--muted);text-align:right}.icon-button{width:42px;height:42px;border-radius:50%;color:var(--green);background:#e5ebe1;font-size:22px}.bottom-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px calc(7px + var(--safe-bottom));border-top:1px solid rgba(211,211,202,.85);background:rgba(250,249,244,.94);box-shadow:0 -8px 30px rgba(41,51,44,.06);backdrop-filter:blur(18px)}.bottom-nav button{display:grid;place-items:center;gap:2px;padding:3px;color:#7b827c;background:none;font-size:10px}.bottom-nav button span{font-size:20px;line-height:1}.bottom-nav button.active{color:var(--green);font-weight:800}dialog{width:min(660px,calc(100% - 22px));max-height:88vh;overflow:auto;padding:26px;border:1px solid #d8d5ca;border-radius:24px;color:inherit;background:#faf9f4;box-shadow:0 30px 90px rgba(24,35,27,.25)}dialog::backdrop{background:rgba(28,37,30,.38);backdrop-filter:blur(3px)}.detail-close{position:absolute;top:10px;right:10px;padding:7px 11px;color:#647067;background:transparent;font-size:22px}.detail-grid{display:grid;grid-template-columns:82px 1fr;gap:12px;margin:23px 0}.detail-grid dt{color:#788078;font-size:12px}.detail-grid dd{margin:0;line-height:1.55}.empty{padding:28px 0;color:#737a74;text-align:center}
@media(min-width:760px){.app-header{padding-right:max(24px,calc((100% - 760px)/2));padding-left:max(24px,calc((100% - 760px)/2))}.app-shell{padding-top:36px}.bottom-nav{right:calc((100% - 600px)/2);left:calc((100% - 600px)/2);bottom:14px;border:1px solid var(--line);border-radius:24px;padding:8px;box-shadow:0 14px 50px rgba(35,46,38,.15)}.capture-actions{grid-template-columns:1fr 1fr auto}.capture-actions>button:last-child{grid-column:auto}.identity-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.detail-grid{grid-template-columns:1fr;gap:4px}.app-shell{padding-right:13px;padding-left:13px}.quick-correction div{align-items:stretch}.quick-correction button{padding-right:11px;padding-left:11px}}
.memory-editor-form{display:grid;gap:13px;margin-top:20px}.memory-editor-form label{display:grid;gap:6px;color:#657067;font-size:12px;font-weight:700}.memory-editor-form input,.memory-editor-form select,.memory-editor-form textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff}.memory-editor-form textarea{font-size:15px}.memory-editor-form>button{padding:14px;border-radius:14px;color:#fff;background:var(--green);font-weight:750}.editor-row{display:grid;grid-template-columns:2fr 1fr;gap:10px}.memory-editor-form .editor-check{display:flex;align-items:center;gap:8px}.memory-editor-form .editor-check input{width:18px;height:18px}.muted{color:var(--muted)}
.weekly-home-card{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:12px;padding:18px;border-radius:20px;color:#f7f4ea;background:linear-gradient(135deg,#304d38,#203629);text-align:left}.weekly-home-card span{display:grid;gap:4px}.weekly-home-card small{opacity:.65;font-size:9px;letter-spacing:.13em}.weekly-home-card strong{font:20px Georgia,"Songti SC",serif}.weekly-home-card em{opacity:.75;font-size:11px;font-style:normal}.weekly-home-card b{font-size:12px}.chat-shell{padding:14px}.chat-thread{display:grid;gap:12px;min-height:180px;max-height:52vh;overflow:auto;padding:6px 2px 16px}.user-bubble,.assistant-bubble{max-width:88%;padding:13px 15px;border-radius:18px;line-height:1.65;white-space:pre-wrap}.user-bubble{justify-self:end;border-bottom-right-radius:5px;color:#fff;background:var(--green)}.assistant-bubble{justify-self:start;border-bottom-left-radius:5px;background:#edf0e8}.intro-bubble{color:#667168;font-size:13px}.chat-evidence{margin-top:10px;padding-top:8px;border-top:1px solid #d8ded5;font-size:11px;white-space:normal}.chat-evidence summary{cursor:pointer;color:#55705d}.chat-composer{display:grid!important;grid-template-columns:1fr auto auto;align-items:end;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.chat-composer textarea{min-height:44px;padding:9px 11px;border-radius:14px;background:#fff}.ask-card .chat-composer>button{float:none;width:auto;margin:0;padding:12px 16px}.chat-shell:after{display:none}
.bottom-nav.hidden,.install-button.hidden,.offline-banner.hidden{display:none!important}
.bottom-nav{grid-template-columns:repeat(4,1fr)}.beta-badge{display:inline-block;margin-left:4px;padding:2px 5px;border-radius:5px;color:#fff;background:#9a6840;font-size:8px;letter-spacing:.08em;vertical-align:2px}.feedback-link{padding:8px;color:#526057;background:transparent;font-size:12px}.auth-gate{max-width:480px;margin:3vh auto;padding:24px 8px}.auth-gate h1{margin:12px 0;font:500 clamp(42px,13vw,66px)/1.04 Georgia,"Songti SC",serif}.auth-gate>p{color:var(--muted);line-height:1.65}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-top:28px;padding:4px;border-radius:14px;background:#e5e6df}.auth-tabs button{padding:10px;border-radius:11px;color:#687168;background:transparent}.auth-tabs button.active{color:#284d36;background:#fff;box-shadow:0 2px 8px #23342614}.auth-form{display:grid;gap:11px;margin-top:14px}.auth-form input,#feedback-form select{width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}.auth-form button,#feedback-form button{padding:14px;border-radius:14px;color:#fff;background:var(--green);font-weight:750}.hero-record{display:grid;place-items:center;width:100%;min-height:230px;margin:8px 0 16px;border-radius:30px;color:#fff;background:linear-gradient(145deg,#315a3f,#213d2c);box-shadow:0 20px 60px rgba(37,66,46,.2)}.hero-record span{font-size:54px}.hero-record strong{font-size:24px}.hero-record small{opacity:.72}.voice-orb{display:grid;place-items:center;width:190px;height:190px;margin:5px auto 24px;border:10px solid #e5ebe1;border-radius:50%;color:#fff;background:#294d36;box-shadow:0 18px 45px rgba(41,77,54,.22)}.voice-orb span{font-size:48px}.voice-orb strong{font-size:15px}.voice-orb small{opacity:.7}.voice-orb.recording{background:#99493f;animation:pulse 1.1s infinite}.quick-questions{display:flex;gap:8px;overflow:auto;margin:0 -16px 15px;padding:0 16px}.quick-questions button{flex:none;padding:10px 13px;border:1px solid var(--line);border-radius:999px;color:#526057;background:#fff}.home-memory-list .timeline-item:nth-child(n+6){display:none}.danger{color:#8b4338!important}#feedback-form{display:grid;gap:12px}#feedback-dialog textarea{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}@media(max-width:480px){input,textarea,select{font-size:16px}.app-header{height:58px}.app-shell{padding-top:12px}.welcome{padding-top:10px}.capture-card{padding:16px}.voice-orb{width:170px;height:170px}.hero-record{min-height:210px}}
.ai-voice-button{display:grid;place-items:center;width:44px!important;height:44px;margin:0!important;padding:0!important;border-radius:50%!important;color:var(--green)!important;background:#e5ece2!important;font-size:20px}.ai-voice-button.recording{color:#fff!important;background:#9b4138!important;animation:pulse 1s infinite}.identity-choice{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.identity-choice button{padding:9px 13px;border-radius:999px;color:#31533c;background:#dfe8dc;font-weight:700}
.capture-notice .capture-notice-action{margin-left:auto;border:1px solid #ffffff80;border-radius:12px;background:#ffffff1a;font-size:14px;font-weight:700}.capture-notice .capture-notice-close{margin-left:0;background:transparent;font-size:24px;min-width:44px}

/* 2026-08 capture-first memory space */
:root{--memory-bg:#101116;--memory-surface:#171920;--memory-line:#ffffff16;--memory-text:#f2eee5;--memory-muted:#aaa7a2;--memory-warm:#e5b98a;--memory-violet:#968cff}
body:has(.capture-home.active){color:var(--memory-text);background:radial-gradient(circle at 50% 42%,#27212a 0,transparent 34rem),radial-gradient(circle at 50% 95%,#19202a 0,transparent 26rem),var(--memory-bg)}
body:has(.capture-home.active)::before{position:fixed;inset:0;pointer-events:none;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");content:""}
body:has(.capture-home.active) .app-header{color:var(--memory-text);background:#101116b8;border-color:var(--memory-line)}
body:has(.capture-home.active) .brand small,body:has(.capture-home.active) .feedback-link{color:var(--memory-muted)}
.capture-home{min-height:calc(100svh - 190px);text-align:center}
.capture-home-copy{padding:5vh 0 12px}.capture-home-copy h1{margin:10px 0 8px;font:500 clamp(30px,8vw,44px)/1.15 Georgia,"Songti SC",serif;letter-spacing:.02em}.capture-home-copy p{margin:0;color:var(--memory-muted);font-size:13px}.capture-home .eyebrow{color:#b7a9a1}
.capture-stage{padding:10px 0 0;border:0;background:transparent;box-shadow:none}
.voice-orb{position:relative;isolation:isolate;width:min(68vw,270px);height:min(68vw,270px);margin:18px auto 35px;overflow:visible;border:1px solid #ffffff24;color:var(--memory-text);background:radial-gradient(circle at 46% 36%,#37303b 0,#1d2029 35%,#101219 72%);box-shadow:inset 0 0 48px #ffffff0a,0 0 0 12px #ffffff05,0 25px 80px #0009,0 0 46px #d3a77a28;transition:background .7s ease,box-shadow .7s ease,transform .55s cubic-bezier(.2,.7,.2,1),border-color .7s ease}
.voice-orb strong,.voice-orb small,.orb-state-icon{position:relative;z-index:3}.voice-orb strong{margin-top:12px;font-size:15px}.voice-orb small{max-width:175px;color:#bbb4ad;font-size:11px;line-height:1.5}.orb-state-icon{font-size:30px;transition:transform .5s ease,opacity .4s ease}.orb-wave{position:absolute;z-index:2;top:43%;left:50%;display:flex;align-items:center;gap:4px;height:34px;translate:-50% -50%;opacity:0;transition:opacity .4s ease}.orb-wave i{width:2px;height:10px;border-radius:4px;background:#f1d1ad;animation:orb-wave 1.15s ease-in-out infinite}.orb-wave i:nth-child(2),.orb-wave i:nth-child(4){animation-delay:-.35s}.orb-wave i:nth-child(3){animation-delay:-.7s}.orb-rings,.orb-rings::before,.orb-rings::after{position:absolute;z-index:-1;inset:-12px;border:1px solid #e5b98a20;border-radius:50%;content:""}.orb-rings::before{inset:-18px}.orb-rings::after{inset:-34px}
.voice-orb[data-state="recording"]{border-color:#e8b99070;background:radial-gradient(circle at 46% 36%,#4a3439 0,#261d25 48%,#12141a 78%);box-shadow:inset 0 0 50px #f2c19616,0 0 0 12px #dba87a0a,0 25px 80px #0009,0 0 64px #d99d6855;animation:orb-breathe 2.2s ease-in-out infinite}.voice-orb[data-state="recording"] .orb-state-icon{opacity:0}.voice-orb[data-state="recording"] .orb-wave{opacity:1}.voice-orb[data-state="recording"] .orb-rings,.voice-orb[data-state="recording"] .orb-rings::before,.voice-orb[data-state="recording"] .orb-rings::after{animation:ring-breathe 2.4s ease-in-out infinite}
.voice-orb[data-state="received"]{transform:scale(.94);box-shadow:inset 0 0 58px #f7d7b327,0 20px 70px #0009,0 0 70px #e1b18442}.voice-orb[data-state="received"] .orb-state-icon{font-size:42px;animation:received-dot .62s ease both}
.voice-orb[data-state="processing"]{box-shadow:inset 0 0 48px #948cff1e,0 25px 80px #0009,0 0 70px #968cff38}.voice-orb[data-state="processing"] .orb-rings{border-top-color:var(--memory-violet);animation:orb-orbit 3s linear infinite}.voice-orb[data-state="processing"] .orb-state-icon{opacity:.72;animation:orb-float 1.8s ease-in-out infinite}
.voice-orb[data-state="success"]{border-color:#f0d4b880;transform:scale(1.025);box-shadow:inset 0 0 70px #f8dec633,0 0 0 12px #f5d6b00c,0 20px 80px #0009,0 0 95px #e4b18166}.voice-orb[data-state="success"] .orb-state-icon{color:#ffe3c5;font-size:44px;animation:success-mark .7s cubic-bezier(.2,.9,.2,1)}.voice-orb[data-state="success"] .orb-rings::after{animation:success-ring 1.15s ease-out}
.voice-orb[data-state="error"]{border-color:#d68f8180;box-shadow:inset 0 0 50px #c16f5c1c,0 20px 80px #0009,0 0 46px #b9645040}.voice-orb[data-state="error"] .orb-state-icon{color:#e8a99c}
.capture-text-form{width:min(100%,520px);margin:0 auto;padding:14px 16px;border:1px solid var(--memory-line);border-radius:22px;background:#ffffff08}.capture-text-form textarea{color:var(--memory-text)}.capture-text-form textarea::placeholder{color:#77777c}.capture-home .audio-fallback{color:#ddd5cc;background:#ffffff0b}.capture-home .quiet{color:#aaa7a2}.capture-home .capture-actions>button:last-child{background:linear-gradient(135deg,#8c725f,#64574f)}.capture-home .inline-status{color:#c3b8ad}.capture-home .quick-correction{border-color:var(--memory-line);text-align:left}.capture-home .quick-correction input{color:var(--memory-text);background:#ffffff0b;border-color:var(--memory-line)}
.bottom-nav{grid-template-columns:repeat(5,1fr)}body:has(.capture-home.active) .bottom-nav{border-color:var(--memory-line);background:#111319e8;box-shadow:0 -10px 40px #0007}body:has(.capture-home.active) .bottom-nav button{color:#89898f}body:has(.capture-home.active) .bottom-nav button.active{color:#f0d2b0}.bottom-nav .capture-nav span{display:grid;place-items:center;width:45px;height:45px;margin-top:-20px;border:1px solid #e9c09666;border-radius:50%;color:#f8d7b2;background:#202027;box-shadow:0 0 28px #dfa8764a}
@keyframes orb-wave{0%,100%{height:8px;opacity:.5}50%{height:32px;opacity:1}}@keyframes orb-breathe{50%{transform:scale(1.025)}}@keyframes ring-breathe{50%{opacity:.35;transform:scale(1.035)}}@keyframes orb-orbit{to{transform:rotate(360deg)}}@keyframes orb-float{50%{transform:translateY(-4px);opacity:1}}@keyframes received-dot{0%{transform:scale(1.6);opacity:0}60%{transform:scale(.7);opacity:1}100%{transform:scale(1)}}@keyframes success-mark{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.18)}100%{transform:scale(1);opacity:1}}@keyframes success-ring{from{opacity:.8;transform:scale(.72)}to{opacity:0;transform:scale(1.32)}}
@media(max-width:480px){.capture-home-copy{padding-top:2vh}.capture-home-copy h1{font-size:30px}.voice-orb{width:230px;height:230px;margin-top:12px}.capture-stage{padding:0}.capture-text-form{padding:12px}.quick-correction{margin-top:12px}.app-shell:has(.capture-home.active){padding-top:4px}}
@media(prefers-reduced-motion:reduce){.voice-orb,.voice-orb *{animation:none!important;transition-duration:.01ms!important}}

/* Memory Space application skin: every product surface inherits the visual master. */
:root{color-scheme:dark;color:var(--ds-text-primary);background:var(--ds-bg-canvas);--green:var(--ds-accent-memory);--muted:var(--ds-text-secondary);--line:var(--ds-border-subtle);--paper:var(--ds-surface)}
body{color:var(--ds-text-primary);background:radial-gradient(circle at 82% 8%,rgba(150,140,255,.08),transparent 31rem),radial-gradient(circle at 18% 80%,rgba(230,185,140,.07),transparent 28rem),linear-gradient(165deg,var(--ds-bg-depth),var(--ds-bg-canvas) 58%);background-attachment:fixed;font-family:var(--ds-font-ui)}
body::after{position:fixed;z-index:-1;inset:0;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");content:""}
.app-header{color:var(--ds-text-primary);background:rgba(13,15,20,.76);border-color:var(--ds-border-subtle);backdrop-filter:blur(24px)}.brand-mark{color:var(--ds-bg-canvas);background:var(--ds-accent-memory-soft);box-shadow:var(--ds-glow-important)}.brand small,.feedback-link{color:var(--ds-text-muted)}.install-button{color:var(--ds-text-primary);background:var(--ds-surface-glass);border:1px solid var(--ds-border-subtle)}
.app-view{animation:memory-view-in var(--ds-duration-reveal) var(--ds-ease-soft)}@keyframes memory-view-in{from{opacity:0;filter:blur(8px);transform:translateY(10px) scale(.99)}to{opacity:1;filter:blur(0);transform:none}}
.welcome h1,.view-heading h1,.onboarding h1,.auth-gate h1{color:var(--ds-text-primary);font-family:var(--ds-font-display);font-weight:500}.welcome p,.view-heading p,.onboarding p,.auth-gate>p{color:var(--ds-text-secondary)}.eyebrow{color:var(--ds-accent-memory);font-weight:650}.view-heading{position:relative}.view-heading::after{display:block;width:68px;height:1px;margin-top:20px;background:linear-gradient(90deg,var(--ds-accent-memory),transparent);content:""}
.capture-card,.ask-card,.settings-card,.identity-card,.discovery-card,.weekly-item,.timeline-card{border:1px solid var(--ds-border-subtle);color:var(--ds-text-primary);background:var(--ds-surface);box-shadow:var(--ds-shadow-elevated);backdrop-filter:blur(20px)}
input,select,textarea{color:var(--ds-text-primary)}input::placeholder,textarea::placeholder{color:var(--ds-text-muted)}select,.auth-form input,#feedback-form select,#feedback-dialog textarea,.quick-correction input{border-color:var(--ds-border-subtle);color:var(--ds-text-primary);background:var(--ds-surface-glass)}
.onboarding form,.auth-form{border-color:var(--ds-border-subtle);background:var(--ds-surface-glass)}.onboarding button,.auth-form button,#feedback-form button,.ask-card form>button{color:var(--ds-text-primary);background:linear-gradient(135deg,#9a765d,#665650);border:1px solid rgba(230,185,140,.38);box-shadow:var(--ds-glow-important)}
.auth-gate{position:relative;min-height:78svh;display:flex;flex-direction:column;justify-content:center}.auth-gate::before{position:absolute;z-index:-1;top:8%;left:50%;width:260px;height:260px;border:1px solid rgba(230,185,140,.25);border-radius:50%;translate:-50% 0;background:radial-gradient(circle,#e6b98c22,transparent 65%);box-shadow:var(--ds-glow-core);content:""}.auth-tabs{border:1px solid var(--ds-border-subtle);background:var(--ds-surface-glass)}.auth-tabs button{color:var(--ds-text-muted)}.auth-tabs button.active{color:var(--ds-text-primary);background:rgba(255,255,255,.07);box-shadow:none}
.bottom-nav{grid-template-columns:repeat(5,1fr);border-color:var(--ds-border-subtle);background:rgba(14,16,22,.88);box-shadow:0 -12px 44px rgba(0,0,0,.42);backdrop-filter:blur(24px)}.bottom-nav button{color:var(--ds-text-muted)}.bottom-nav button.active{color:var(--ds-accent-memory-soft)}.bottom-nav .capture-nav span{color:var(--ds-accent-memory-soft);background:#202027;border-color:rgba(230,185,140,.5);box-shadow:var(--ds-glow-important)}

/* Search is a portal into memory, not a conventional chat/search form. */
.app-view[data-view="ask"] .view-heading{text-align:center;padding-top:7vh}.app-view[data-view="ask"] .view-heading h1::before{display:block;margin-bottom:12px;color:var(--ds-accent-memory);font-size:12px;font-family:var(--ds-font-ui);letter-spacing:.14em;content:"在自己的记忆中寻找"}.app-view[data-view="ask"] .quick-questions{justify-content:center;flex-wrap:wrap;overflow:visible}.quick-questions button{border-color:var(--ds-border-subtle);color:var(--ds-text-secondary);background:var(--ds-surface-glass)}
.app-view[data-view="ask"] .ask-card{position:relative;overflow:hidden;border-radius:var(--ds-radius-xl);background:radial-gradient(circle at 50% 100%,rgba(230,185,140,.08),transparent 48%),var(--ds-surface)}.app-view[data-view="ask"] .ask-card::before{position:absolute;top:20px;left:-15%;width:130%;height:120px;border:1px solid rgba(230,185,140,.26);border-radius:50%;filter:blur(.2px);box-shadow:0 0 28px rgba(230,185,140,.12);content:""}.chat-thread{position:relative;z-index:1;min-height:210px}.assistant-bubble{border-color:var(--ds-border-subtle)!important;color:var(--ds-text-secondary)!important;background:rgba(255,255,255,.035)!important}.chat-composer{position:relative;z-index:2;border:1px solid rgba(230,185,140,.2)!important;border-radius:var(--ds-radius-round)!important;background:rgba(18,19,25,.86)!important;box-shadow:var(--ds-glow-important)}.chat-composer textarea{padding-left:8px}.ai-voice-button{color:var(--ds-accent-memory-soft)!important;background:transparent!important}.answer-card{border-left-color:var(--ds-accent-ai);color:var(--ds-text-primary);background:rgba(150,140,255,.08);box-shadow:var(--ds-glow-ai)}.evidence-card{border-color:var(--ds-border-subtle);background:rgba(255,255,255,.025)}

/* Insights use connected evidence and one consistent AI violet. */
.app-view[data-view="insights"]{position:relative}.app-view[data-view="insights"]::before{position:absolute;z-index:-1;top:130px;left:10%;width:80%;height:420px;opacity:.42;background:radial-gradient(circle at 50% 48%,rgba(230,185,140,.18) 0 2px,transparent 4px),radial-gradient(circle at 24% 22%,rgba(150,140,255,.3) 0 3px,transparent 5px),radial-gradient(circle at 78% 34%,rgba(130,203,208,.24) 0 3px,transparent 5px);filter:blur(.2px);content:""}.weekly-overview{border:1px solid rgba(150,140,255,.28);color:var(--ds-text-primary);background:linear-gradient(145deg,rgba(150,140,255,.11),rgba(255,255,255,.025));box-shadow:var(--ds-glow-ai)}.weekly-section>h3{border-color:var(--ds-border-subtle);color:var(--ds-accent-ai)}.weekly-item p,.discovery-card p{color:var(--ds-text-secondary)}.weekly-kind,.discovery-reason b{color:var(--ds-accent-ai)}.discovery-card{background:linear-gradient(145deg,rgba(150,140,255,.07),rgba(255,255,255,.025))}.discovery-spark{color:var(--ds-accent-ai);background:rgba(150,140,255,.13);box-shadow:var(--ds-glow-ai)}.discovery-reason{border-left-color:var(--ds-accent-ai);background:rgba(150,140,255,.06)}

/* Me expresses the owner's identity constellation before settings. */
.app-view[data-view="profile"] .view-heading{text-align:center}.app-view[data-view="profile"] .view-heading::before{display:grid;place-items:center;width:92px;height:92px;margin:10px auto 20px;border:1px solid rgba(230,185,140,.38);border-radius:50%;color:var(--ds-accent-memory-soft);background:radial-gradient(circle,rgba(230,185,140,.22),rgba(255,255,255,.025) 55%,transparent 58%);box-shadow:var(--ds-glow-core);font:500 34px var(--ds-font-display);content:"夏"}.app-view[data-view="profile"] .view-heading::after{margin-right:auto;margin-left:auto}.identity-list{position:relative;gap:14px}.identity-card{position:relative;overflow:hidden;border-radius:var(--ds-radius-lg);background:radial-gradient(circle at 90% 0,rgba(230,185,140,.09),transparent 45%),var(--ds-surface)}.identity-card::after{position:absolute;right:17px;bottom:17px;width:7px;height:7px;border-radius:50%;background:var(--ds-accent-memory);box-shadow:0 0 18px var(--ds-accent-memory);content:""}.identity-card p{color:var(--ds-text-secondary)}.pill{color:var(--ds-text-secondary);background:var(--ds-surface-glass)}.identity-actions button{color:var(--ds-text-primary);background:rgba(230,185,140,.18)}.settings-card{overflow:hidden}.setting-row{border-color:var(--ds-border-subtle);color:var(--ds-text-primary)}.setting-row small{color:var(--ds-text-muted)}

dialog{border-color:var(--ds-border-subtle);color:var(--ds-text-primary);background:rgba(18,20,27,.96);box-shadow:0 36px 100px rgba(0,0,0,.72);backdrop-filter:blur(28px)}dialog::backdrop{background:rgba(4,5,8,.72);backdrop-filter:blur(9px)}.detail-grid dt,.muted{color:var(--ds-text-muted)}.detail-actions{border-color:var(--ds-border-subtle)}.detail-actions button{color:var(--ds-text-primary);background:rgba(230,185,140,.2)}.detail-actions .delete{color:#e3a89d;background:rgba(214,143,129,.1)}
.capture-notice{background:rgba(27,29,36,.94);border:1px solid rgba(230,185,140,.27);box-shadow:var(--ds-shadow-elevated),var(--ds-glow-important);backdrop-filter:blur(22px)}.capture-notice.pending{background:rgba(27,29,36,.94)}.capture-notice.error{border-color:rgba(214,143,129,.35);background:rgba(48,29,31,.94)}
@media(max-width:480px){.app-view[data-view="ask"] .view-heading{padding-top:3vh}.auth-gate{padding-top:8vh;justify-content:flex-start}.bottom-nav button{font-size:9px}.identity-list{grid-template-columns:1fr}}

/* Memory Space v3: structural implementation of the approved visual master. */
.brand{gap:8px}.brand-word{font:500 25px/1 var(--ds-font-display);letter-spacing:.06em}.header-actions{display:flex;align-items:center;gap:8px}.header-star{color:var(--ds-accent-memory);text-shadow:0 0 18px var(--ds-accent-memory)}
.app-shell{width:min(700px,100%);padding-top:16px}.app-view{min-height:calc(100svh - 180px)}

/* Login and onboarding are entrances into Memory Space. */
.memory-entry{max-width:520px;min-height:calc(100svh - 100px);padding:5vh 18px 40px;text-align:center}.memory-entry::before{display:none}.entry-brand{display:flex;align-items:center;justify-content:space-between;color:var(--ds-text-primary);font:500 24px var(--ds-font-display)}.entry-brand b{padding:3px 7px;border:1px solid var(--ds-border-subtle);border-radius:999px;color:var(--ds-text-muted);font:500 8px var(--ds-font-ui);letter-spacing:.12em}.entry-space{position:relative;width:280px;height:235px;margin:2vh auto -20px}.entry-space::before{position:absolute;top:50%;left:50%;width:150px;height:42px;border-radius:50%;translate:-50% -50%;background:#e6b98c24;filter:blur(18px);box-shadow:var(--ds-glow-core);content:""}.entry-space::after{position:absolute;top:15%;left:50%;width:1px;height:70%;background:linear-gradient(transparent,var(--ds-accent-memory),transparent);filter:drop-shadow(0 0 8px var(--ds-accent-memory));transform:rotate(24deg);content:""}.entry-space i{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--ds-accent-memory-soft);box-shadow:0 0 20px var(--ds-accent-memory)}.entry-space i:nth-child(1){top:25%;left:35%}.entry-space i:nth-child(2){top:48%;left:57%}.entry-space i:nth-child(3){top:70%;left:45%}.entry-copy h1{margin:6px 0 8px;font:500 39px var(--ds-font-display)}.entry-copy p{margin:0;color:var(--ds-text-secondary)}.auth-panel{margin-top:28px;padding:16px}.auth-form{padding:0;border:0;background:transparent}.auth-form input{min-height:52px}.auth-form button{border-radius:999px}.identity-entry{text-align:center}.identity-core{position:relative;display:grid;place-items:center;width:190px;height:190px;margin:20px auto 34px;border:1px solid rgba(230,185,140,.3);border-radius:50%;background:radial-gradient(circle,rgba(230,185,140,.15),transparent 65%);box-shadow:var(--ds-glow-core)}.identity-core span{font:500 46px var(--ds-font-display)}.identity-core i{position:absolute;width:12px;height:12px;border:1px solid var(--ds-accent-memory);border-radius:50%;background:var(--ds-bg-canvas);box-shadow:var(--ds-glow-important)}.identity-core i:nth-child(2){top:5%;left:28%}.identity-core i:nth-child(3){right:0;bottom:35%}.identity-core i:nth-child(4){bottom:0;left:25%}

/* Search portal and awakened result stream. */
.memory-search{padding-top:3vh}.search-heading{text-align:center}.search-heading::after{margin-right:auto;margin-left:auto}.search-portal{position:relative;overflow:visible;padding:18px;border:0;background:transparent;box-shadow:none}.search-orbit{position:relative;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:6px;min-height:74px;padding:10px 13px!important;border:1px solid rgba(230,185,140,.28)!important;border-radius:999px!important;background:rgba(18,20,27,.78)!important;box-shadow:0 0 0 9px rgba(230,185,140,.025),0 0 45px rgba(230,185,140,.18)!important}.search-orbit::before,.search-orbit::after{position:absolute;pointer-events:none;border:1px solid rgba(230,185,140,.12);border-radius:50%;content:""}.search-orbit::before{inset:-18px -8px;transform:rotate(-3deg)}.search-orbit::after{inset:-35px 10px;opacity:.55;transform:rotate(4deg)}.search-spark{z-index:1;color:var(--ds-accent-memory);text-shadow:0 0 18px var(--ds-accent-memory)}.search-orbit textarea{z-index:1;min-height:48px;padding:7px 4px;resize:none}.search-orbit>button[type="submit"]{z-index:1;display:grid;place-items:center;width:42px;height:42px;margin:0;border-radius:50%;color:#17151a;background:var(--ds-accent-memory-soft);box-shadow:var(--ds-glow-important)}.search-status{margin:32px 0 8px;color:var(--ds-accent-ai);text-align:center}.memory-results{display:flex;flex-direction:column;gap:18px;min-height:300px;padding-top:18px;overflow:visible}.memory-results .user-bubble{align-self:flex-end;max-width:85%;padding:12px 16px;border:1px solid rgba(230,185,140,.18);border-radius:20px 20px 5px;color:var(--ds-text-primary);background:rgba(230,185,140,.08)}.memory-results .assistant-bubble{position:relative;max-width:94%;padding:20px!important;border-radius:6px 24px 24px!important;animation:memory-result-awake .8s var(--ds-ease-soft) both}.memory-results .assistant-bubble::before{position:absolute;top:24px;left:-18px;width:7px;height:7px;border-radius:50%;background:var(--ds-accent-ai);box-shadow:var(--ds-glow-ai);content:""}@keyframes memory-result-awake{from{opacity:0;filter:blur(10px);transform:translateY(18px) scale(.97)}to{opacity:1;filter:blur(0);transform:none}}

/* Memory Timeline: an irregular, focus-driven journey rather than a list. */
.memory-world{max-width:620px;margin:0 auto}.timeline-header{position:sticky;z-index:8;top:62px;display:grid;grid-template-columns:90px 1fr auto;align-items:start;gap:14px;margin:0 -4px 28px;padding:18px 8px 16px;background:linear-gradient(#0e1016e8 72%,transparent);backdrop-filter:blur(16px)}.timeline-date{display:grid}.timeline-date span{color:var(--ds-text-secondary);font-size:12px}.timeline-date strong{font:500 25px var(--ds-font-display)}.timeline-date b{font:500 48px/.9 var(--ds-font-display)}.timeline-date small{margin-top:7px;color:var(--ds-text-muted);font-size:10px}.timeline-recall{text-align:right}.ai-memory-label{display:inline-block;padding:6px 10px;border:1px solid rgba(150,140,255,.26);border-radius:999px;color:#c9c2ff;background:rgba(150,140,255,.08);box-shadow:0 0 24px rgba(150,140,255,.14);font-size:9px}.timeline-recall p{margin:13px 0 0;color:#d8cdf6;font:500 17px/1.55 var(--ds-font-display)}.timeline-filter-sheet{position:relative;z-index:9;margin-bottom:18px;color:var(--ds-text-muted);font-size:11px}.timeline-filter-sheet summary{width:max-content;margin-left:auto;padding:7px 11px;border:1px solid var(--ds-border-subtle);border-radius:999px;cursor:pointer}.timeline-filter-sheet .timeline-filters{margin-top:10px}.memory-trail{position:relative;padding:18px 0 120px}.memory-trail::before{top:0;bottom:0;left:50%;width:110px;border-left:1px solid rgba(230,185,140,.3);border-radius:48% 52% 42% 58%;background:radial-gradient(circle at 0 15%,rgba(230,185,140,.4) 0 2px,transparent 3px),radial-gradient(circle at 0 45%,rgba(150,140,255,.45) 0 2px,transparent 3px),radial-gradient(circle at 0 78%,rgba(230,185,140,.35) 0 2px,transparent 3px);filter:drop-shadow(0 0 7px rgba(230,185,140,.4));transform:translateX(-2px) rotate(3deg);content:""}.memory-moment{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;width:86%;min-height:190px;margin:0 0 clamp(36px,12vh,100px);opacity:.34;filter:blur(7px);transform:translateY(30px) scale(.95);transition:opacity .9s var(--ds-ease-soft),filter .9s var(--ds-ease-soft),transform .9s var(--ds-ease-soft)}.memory-moment:nth-child(3n+1){margin-left:2%}.memory-moment:nth-child(3n+2){margin-left:14%}.memory-moment:nth-child(3n){margin-left:6%;width:91%}.memory-moment.in-focus{opacity:1;filter:blur(0);transform:none}.memory-moment .timeline-dot{position:absolute;z-index:2;top:26px;left:calc(50% - 7px);width:15px;height:15px;margin:0;border:1px solid rgba(230,185,140,.65);background:#16171d;box-shadow:0 0 0 7px rgba(230,185,140,.06),0 0 24px rgba(230,185,140,.55)}.memory-moment.important .timeline-dot{width:21px;height:21px;left:calc(50% - 10px);box-shadow:0 0 0 10px rgba(230,185,140,.07),0 0 42px rgba(230,185,140,.7)}.moment-time{grid-column:2;display:flex;gap:9px;margin-bottom:5px;color:var(--ds-text-muted);font-size:10px}.moment-body{grid-column:2;padding:19px 20px;border-radius:5px 25px 25px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));box-shadow:0 20px 65px rgba(0,0,0,.38)}.memory-moment:nth-child(even) .moment-body{border-radius:25px 5px 25px 25px}.moment-body h3{margin:12px 0 9px;color:var(--ds-text-primary);font:500 clamp(19px,5vw,27px)/1.55 var(--ds-font-display)}.moment-original{display:-webkit-box;overflow:hidden;margin:0 0 13px;color:var(--ds-text-secondary);font-size:12px;line-height:1.65;-webkit-line-clamp:2;-webkit-box-orient:vertical}.moment-wave{display:flex;align-items:center;gap:3px;height:34px;margin:11px 0}.moment-wave i{width:2px;border-radius:4px;background:linear-gradient(var(--ds-accent-memory-soft),var(--ds-accent-ai));animation:moment-wave 1.8s ease-in-out infinite}.moment-wave i:nth-child(1),.moment-wave i:nth-child(7){height:8px}.moment-wave i:nth-child(2),.moment-wave i:nth-child(6){height:16px}.moment-wave i:nth-child(3),.moment-wave i:nth-child(5){height:25px}.moment-wave i:nth-child(4){height:33px}@keyframes moment-wave{50%{opacity:.4;transform:scaleY(.6)}}.timeline-context{color:var(--ds-text-muted)}.timeline-context strong{color:var(--ds-accent-memory-soft)}.timeline-tags{opacity:.65}.load-more{color:var(--ds-accent-memory-soft);background:rgba(230,185,140,.08);border:1px solid rgba(230,185,140,.18)}

/* Insights connection space. */
.insight-space{max-width:620px;margin:auto}.insight-constellation{position:relative;width:min(92vw,520px);height:350px;margin:-16px auto 10px;background:radial-gradient(circle at 50% 50%,rgba(230,185,140,.15),transparent 16%),radial-gradient(circle at 26% 28%,rgba(150,140,255,.12),transparent 10%),radial-gradient(circle at 76% 34%,rgba(130,203,208,.09),transparent 12%)}.insight-constellation::before,.insight-constellation::after{position:absolute;inset:18% 12%;border:1px solid rgba(230,185,140,.16);border-radius:50%;transform:rotate(10deg);content:""}.insight-constellation::after{inset:28% 5%;border-color:rgba(150,140,255,.15);transform:rotate(-12deg)}.insight-constellation span{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:84px;height:84px;border:1px solid rgba(230,185,140,.45);border-radius:50%;translate:-50% -50%;font:500 22px var(--ds-font-display);background:#171820;box-shadow:var(--ds-glow-core)}.insight-constellation b{position:absolute;padding:9px 13px;border:1px solid var(--ds-border-subtle);border-radius:999px;color:var(--ds-text-secondary);background:rgba(22,24,31,.85);font-size:11px;font-weight:500}.insight-constellation b:nth-of-type(1){top:13%;left:37%}.insight-constellation b:nth-of-type(2){top:37%;right:5%}.insight-constellation b:nth-of-type(3){bottom:13%;left:23%}.insight-constellation b:nth-of-type(4){right:22%;bottom:18%}.insight-constellation i{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--ds-accent-ai);box-shadow:var(--ds-glow-ai)}.insight-constellation i:nth-child(1){top:22%;left:30%}.insight-constellation i:nth-child(2){top:32%;right:22%}.insight-constellation i:nth-child(3){bottom:27%;left:20%}.insight-constellation i:nth-child(4){right:27%;bottom:20%}.insight-section{margin-top:36px}.advisor-inline{margin-top:34px}.advisor-inline>.quiet{display:block;margin:12px auto}

/* Profile as an identity constellation. */
.profile-space{max-width:600px;margin:auto}.profile-hero{text-align:center;padding:4vh 0 12px}.profile-avatar{position:relative;display:grid;place-items:center;width:118px;height:118px;margin:auto;border:1px solid rgba(230,185,140,.36);border-radius:50%;background:radial-gradient(circle,rgba(230,185,140,.2),transparent 62%);box-shadow:var(--ds-glow-core)}.profile-avatar::before,.profile-avatar::after{position:absolute;inset:-14px;border:1px solid rgba(230,185,140,.12);border-radius:50%;content:""}.profile-avatar::after{inset:-28px;border-color:rgba(150,140,255,.1)}.profile-avatar span{font:500 43px var(--ds-font-display)}.profile-avatar i{position:absolute;right:4px;bottom:11px;width:9px;height:9px;border-radius:50%;background:var(--ds-accent-memory);box-shadow:var(--ds-glow-important)}.profile-hero h1{margin:24px 0 5px;font:500 34px var(--ds-font-display)}.profile-hero p{color:var(--ds-text-muted)}.identity-orbit{grid-template-columns:repeat(2,1fr);gap:14px}.identity-orbit .identity-card:nth-child(even){transform:translateY(20px)}.identity-orbit .identity-card{min-height:170px}.profile-context{margin:48px 0 18px;padding:5px 18px}

@media(max-width:560px){.app-header{height:56px}.app-shell{padding-right:14px;padding-left:14px}.timeline-header{top:55px;grid-template-columns:76px 1fr auto}.timeline-date b{font-size:40px}.timeline-recall p{font-size:14px}.memory-moment{width:94%;min-height:150px}.memory-moment:nth-child(3n+1){margin-left:0}.memory-moment:nth-child(3n+2){margin-left:6%}.memory-moment:nth-child(3n){margin-left:2%;width:97%}.memory-moment .timeline-dot{left:calc(35% - 7px)}.memory-trail::before{left:35%}.moment-body h3{font-size:20px}.insight-constellation{height:300px}.identity-orbit{grid-template-columns:1fr 1fr}.identity-orbit .identity-card{min-height:150px;padding:15px}.identity-orbit .identity-card p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.memory-moment{opacity:1;filter:none;transform:none}.moment-wave i{animation:none}.app-view{animation:none}}
