:root{--ink:#182d26;--muted:#7b837b;--line:#e2e6dc;--bg:#f7f8f3;--green:#d8edaa;--forest:#173f32;--orange:#da794d;--white:#fff;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0}input,textarea,select{border:1px solid #d7ded2;background:#fff;border-radius:10px;padding:12px;color:var(--ink);width:100%}textarea{resize:vertical}label{display:block;font-size:13px;font-weight:600;margin:16px 0 7px}h1,h2,h3,p{margin-top:0}h1{font-size:42px;letter-spacing:-1.8px;line-height:1.14;font-weight:580}h2{font-size:24px;letter-spacing:-.7px;font-weight:580}h3{font-size:17px;letter-spacing:-.2px}small{font-size:12px;color:var(--muted)}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;padding:34px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;margin:0 14px 52px}.brand strong{font-size:34px;letter-spacing:-2px;line-height:1}.brand strong span{color:var(--orange)}.brand-symbol{font-size:40px;line-height:1;font-weight:300}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#959b93;margin:0 13px 16px;display:flex;justify-content:space-between;align-items:center}.workspace-label span{font-size:8px;letter-spacing:.5px;background:#f2f4ed;padding:3px 5px;border-radius:4px;color:#6f7b68}nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;color:#737d73;font-size:13px;border-radius:9px;margin:3px 0}nav a>span{font-size:20px;line-height:1;width:22px;text-align:center}nav a:hover{background:#f5f7f0}nav a.active{background:#eaf0dd;color:#213e29;font-weight:600}nav a b{font-size:10px;background:#d5e5bd;padding:1px 6px;border-radius:4px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:32px 14px 0}.sidebar-bottom strong{font-size:13px;line-height:1.6;display:block}.sidebar-bottom p{font-size:11px;color:var(--muted);margin:7px 0 24px}.mini-companion{color:#758969;font-size:27px;margin-bottom:8px}.plain{padding:0;background:transparent;color:var(--muted);font-size:12px}.topbar{height:85px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;background:#f9faf6}.breadcrumb{font-size:12px;color:#8c958a}.breadcrumb>span{padding:0 13px;color:#bbbfb6}.breadcrumb b{font-weight:500;color:#586453}.topbar>div{display:flex;align-items:center;gap:22px}.private-indicator{font-size:11px;color:#7a896f}.private-indicator:first-letter{color:#86a35e}.profile{border:1px solid #dce1d3;background:#e8eddd;width:32px;height:32px;border-radius:50%;font-size:12px;color:#657855}main{margin-left:245px;min-height:100vh}#content{max-width:1310px;margin:0 auto;padding:42px 46px 36px;min-height:calc(100vh - 170px)}.eyebrow{font-size:10px;letter-spacing:2px;color:#7c8873;font-weight:650}.heading-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px;gap:20px}.heading-row h1{margin:10px 0}.heading-row p{color:var(--muted);font-size:13px;margin:0}.date-pill{font-size:11px;white-space:nowrap;border:1px solid var(--line);border-radius:22px;padding:8px 13px;display:flex;gap:9px;align-items:center;margin-bottom:7px;background:#fff}.hero{background:#e6eddb;border:1px solid #dce5d0;border-radius:var(--radius);min-height:228px;display:flex;position:relative;overflow:hidden;margin:26px 0 30px}.hero-text{padding:30px 34px;position:relative;z-index:1;max-width:65%}.hero-text h2{font-size:29px;line-height:1.2;margin:13px 0;color:#253d2b;letter-spacing:-1px}.hero-text p{font-size:12px;max-width:350px;color:#77816d;margin-bottom:20px}.hero-tag{font-size:9px;letter-spacing:1.3px;text-transform:uppercase;display:inline-flex;align-items:center;gap:6px}.hero-tag i{width:6px;height:6px;background:#709653;border-radius:50%}.primary{background:var(--ink);color:#fff;border-radius:9px;padding:12px 16px;font-size:12px;font-weight:500;display:inline-flex;justify-content:space-between;gap:26px;align-items:center}.primary:hover{background:#2d4c3c}.primary span{font-size:17px;line-height:1}.secondary{background:#fff;border:1px solid var(--line);color:#4b5c45;border-radius:9px;padding:10px 14px;font-size:12px}.text-button{background:none;color:#6a7d58;padding:5px 0;font-size:11px;display:flex;gap:14px;align-items:center}.companion-art{position:absolute;right:10px;top:0;width:340px;height:100%;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #cfdbc1;border-radius:50%;width:250px;height:250px}.orbit.o2{width:180px;height:180px}.orbit.o3{width:110px;height:110px}.companion-star{font-size:140px;line-height:1;color:#395b3a;transform:rotate(-10deg);text-shadow:1px 2px 0 #aec18f;z-index:1}.floating-dot{position:absolute;top:33px;right:73px;background:#ecad75;width:14px;height:14px;border:4px solid #f2c798;border-radius:50%;z-index:2}.spark{position:absolute;bottom:36px;left:43px;color:#9cb77d;font-size:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:30px}.stat{border:1px solid var(--line);border-radius:13px;background:#fff;padding:18px 20px;display:flex;align-items:center;gap:15px}.stat-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eff4e7;color:#668348;font-size:20px}.stat:nth-child(2) .stat-icon{background:#f8eee5;color:#c08551}.stat:nth-child(3) .stat-icon{background:#edeef6;color:#7c7da3}.stat strong{font-size:23px;font-weight:550;display:block;line-height:1.1}.stat small{font-size:10px}.two-column{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-heading h3{margin:0;font-size:16px;font-weight:550}.section-heading h3 span{font-size:10px;margin-left:7px;color:#8c9681;background:#e8eddf;padding:3px 6px;border-radius:4px}.panel{border:1px solid var(--line);border-radius:15px;background:#fff;padding:23px}.empty{padding:30px 12px;text-align:center}.empty-symbol{font-size:32px;color:#b1c49a;margin-bottom:10px}.empty h3{font-size:14px;font-weight:550;margin:0 0 8px}.empty p{font-size:12px;color:var(--muted);max-width:320px;margin:0 auto 17px}.quest-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf0e9}.quest-row:last-child{border-bottom:0}.quest-toggle{width:21px;min-width:21px;height:21px;border:1.5px solid #d6ddcd;background:#fff;border-radius:6px;padding:0;color:#477145;font-size:12px}.quest-toggle.done{background:#e6efda;border-color:#b2cc93}.quest-body{min-width:0;flex:1}.quest-title{font-size:13px;overflow-wrap:anywhere}.quest-row.completed .quest-title{text-decoration:line-through;color:#8c9688}.quest-meta{color:#8c9684;font-size:10px;margin-top:3px}.quest-category{font-size:9px;padding:3px 7px;border-radius:5px;background:#f2f4eb;color:#849371}.quest-row[data-category="Travail"] .quest-category{background:#e9eff8;color:#7484a0}.quest-row[data-category="Santé"] .quest-category{background:#f8eee6;color:#bc8e65}.focus-card{background:#243d30;color:#f1f5e8;border-radius:15px;padding:23px;position:relative;overflow:hidden;margin-bottom:20px}.focus-card>.eyebrow{color:#bacba8}.focus-card h3{font-size:22px;font-weight:450;letter-spacing:-.5px;line-height:1.3;margin:14px 0}.focus-card p{color:#afbea4;font-size:11px;max-width:260px}.focus-card .text-button{color:#d3e8b4;margin-top:15px}.focus-mark{position:absolute;right:15px;top:10px;color:#456241;font-size:80px;line-height:1;opacity:.6}.connection-summary{border:1px solid var(--line);border-radius:15px;padding:20px;background:#f0f3e9}.connection-summary p{font-size:11px;color:#8a9481;margin:8px 0 12px}.connection-summary h3{font-size:13px;font-weight:550;margin:0}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{font-size:10px;background:#fff;border-radius:5px;padding:4px 8px;color:#718363;border:1px solid #e0e6d6}.app-footer{margin:0 46px;padding:24px 0;border-top:1px solid var(--line);font-size:10px;color:#a0a896;display:flex;justify-content:space-between;gap:10px}.app-footer>span:first-child{font-weight:650;letter-spacing:1px;color:#7f8e70}.mobile-nav{display:none}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.toolbar button{font-size:11px}.tab{border-radius:20px;padding:7px 14px;border:1px solid var(--line);background:#fff;color:#7a8672}.tab.selected{background:#e6edda;color:#425835;border-color:#cfddbb}.journal-grid,.connection-grid,.agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.journal-card .eyebrow{font-size:9px}.journal-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:15px 0 0;color:#5b6c53}.journal-card small{display:block;margin-top:15px}.connections-intro{color:var(--muted);font-size:13px;margin-bottom:24px}.connection-card{display:flex;gap:15px;align-items:flex-start}.connection-symbol{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;background:#f2f5ed;color:#758a62;border-radius:11px;font-size:22px}.connection-card h3{margin:0;font-size:14px}.connection-card p{font-size:11px;color:var(--muted);margin:10px 0 0;max-width:330px}.status{font-size:9px;display:inline-block;background:#f5eee0;color:#a18a5e;border-radius:5px;padding:3px 7px;margin-top:7px}.status.ready{color:#628346;background:#edf3e3}.memory-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}.memory-list{display:flex;flex-direction:column;gap:5px;max-height:590px;overflow:auto;margin-top:15px}.note-link{background:none;text-align:left;padding:10px 8px;color:#68785e;border-radius:7px;font-size:12px;overflow-wrap:anywhere}.note-link:hover,.note-link.active{background:#eff3e7}.note-view{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.9 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-height:650px;overflow:auto;margin:0}.event{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid #edf0e8}.event:last-child{border:0}.event-dot{width:8px;height:8px;border-radius:50%;background:#abc58b;margin-top:6px;flex-shrink:0}.event[data-kind="error"] .event-dot{background:#d29475}.event h3{font-size:13px;margin:0 0 4px}.event p{font-size:11px;color:var(--muted);margin:0}.event small{margin-left:auto;white-space:nowrap;font-size:10px}.notice{border:1px solid #e4dfce;background:#fbf8ef;color:#968565;padding:13px 17px;border-radius:10px;font-size:11px;margin-bottom:20px}.chat-layout{display:grid;grid-template-columns:1fr 220px;gap:22px}.chat-panel{padding:0;display:flex;flex-direction:column;min-height:520px;max-height:calc(100vh - 275px)}.chat-top{padding:15px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.chat-top strong{font-size:12px}.chat-top small{font-size:10px}.messages{overflow:auto;flex:1;padding:24px;min-height:230px}.message{max-width:92%;padding:14px 16px;background:#f1f5e9;border:1px solid #e6ecdc;border-radius:12px 12px 12px 2px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 15px;line-height:1.7}.message.user{background:#243e31;color:#eff5e6;border-color:#243e31;margin-left:auto;border-radius:12px 12px 2px 12px}.message-label{font-size:9px;letter-spacing:.5px;opacity:.6;display:block;margin-bottom:5px}.chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#9ba78d}.chat-empty>span{font-size:55px;color:#9fb486}.chat-empty h3{font-size:16px;color:#536849;font-weight:500;margin:12px 0 5px}.chat-empty p{font-size:11px;max-width:280px}.composer{padding:15px;border-top:1px solid var(--line)}.composer form{display:flex;align-items:flex-end;gap:10px}.composer textarea{font-size:12px;min-height:48px;max-height:160px;resize:vertical;background:#fafbf7;border-color:#e6eadf}.composer button{padding:10px 14px;height:46px}.composer small{font-size:9px;display:block;margin-top:9px;text-align:center}.agent-choice{width:100%;text-align:left;padding:15px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;color:#67795d}.agent-choice strong{font-size:12px;display:block}.agent-choice small{font-size:10px;display:block;margin-top:5px;line-height:1.6}.agent-choice.selected{border-color:#a9bf8e;background:#eaf0df}.chat-side>.eyebrow{display:block;margin:0 0 14px}.progress-wrap{margin-top:18px;background:#e9ede2;height:5px;border-radius:5px;overflow:hidden}.progress-bar{height:100%;background:#91af6d;border-radius:5px;transition:width .3s}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;position:relative;overflow:hidden}.auth-card{background:#fff;position:relative;z-index:1;border:1px solid var(--line);border-radius:23px;padding:40px;width:440px;max-width:100%;box-shadow:0 20px 90px #36552e0b}.auth-card h1{font-size:34px;margin:15px 0}.auth-card p{font-size:13px;color:var(--muted)}.auth-card .primary{width:100%;margin:23px 0 10px}.auth-card>small{display:block;text-align:center;font-size:10px}.auth-orbit{position:absolute;width:750px;height:750px;border:1px solid #e1e8d6;border-radius:50%;display:grid;place-items:center;transform:translate(-230px,-30px)}.auth-orbit:before{content:'';position:absolute;width:500px;height:500px;border:1px solid #e1e8d6;border-radius:50%}.auth-orbit>span{position:absolute;left:15px;top:100px;font-size:90px;color:#b2c29f;transform:rotate(-15deg)}.error{color:#a65d42!important;font-size:12px;min-height:0}.error:empty{display:none}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;width:510px;max-width:calc(100vw - 32px);color:var(--ink)}dialog::backdrop{background:#17251c60;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.icon-button{background:transparent;font-size:26px;line-height:1;color:#93a087;padding:0 0 5px 15px}.form-row{display:flex;gap:15px}.form-row>div{flex:1;min-width:0}#editor .primary{margin-top:22px;width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203c2c;color:#f2f7e9;padding:12px 20px;border-radius:12px;font-size:12px;z-index:50;box-shadow:0 8px 25px #172f2020;max-width:90vw}
@media(min-width:1450px){#content{padding-top:50px}.hero{min-height:250px}.hero-text{padding:34px 38px}.companion-art{right:35px}.stats{margin-bottom:35px}.topbar{padding-left:55px;padding-right:55px}}
@media(max-width:1150px){.sidebar{width:210px;padding:30px 15px}.brand{margin-bottom:43px}main{margin-left:210px}#content{padding:30px 28px}.topbar{padding:0 28px}.app-footer{margin:0 28px}.companion-art{right:-45px}.hero-text{padding:26px;max-width:70%}.hero-text h2{font-size:26px}.chat-layout{grid-template-columns:1fr 180px}.stats{gap:10px}.stat{padding:16px 12px;gap:10px}.two-column{gap:17px}}
@media(max-width:900px){.sidebar{width:180px;padding:28px 10px}.brand{margin:0 13px 38px}.brand strong{font-size:30px}.brand-symbol{font-size:34px}.workspace-label{font-size:9px;margin:0 13px 12px}.workspace-label>span{display:none}nav a{font-size:12px;padding:11px 10px;gap:10px}.sidebar-bottom{padding:25px 14px 0}main{margin-left:180px}.topbar{height:70px}#content{padding:28px 23px}h1{font-size:34px}.date-pill{display:none}.hero-text{max-width:74%}.companion-art{opacity:.6;right:-105px}.hero-text h2{font-size:24px}.hero-text p{max-width:260px}.stat-icon{display:none}.stat strong{font-size:23px}.two-column{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:17px}.focus-card{margin:0}.chat-layout{grid-template-columns:1fr}.chat-side{display:flex;overflow:auto;gap:7px;order:-1}.chat-side>.eyebrow{display:none}.agent-choice{min-width:130px;width:auto;margin:0;padding:10px 13px}.agent-choice small{display:none}.chat-panel{max-height:650px}.memory-layout{grid-template-columns:220px 1fr}.app-footer>span:last-child{display:none}.connection-grid{gap:12px}.connection-card{gap:10px;padding:18px}.connection-symbol{display:none}}
@media(max-width:650px){.sidebar{display:none}main{margin-left:0}.topbar{height:64px;padding:0 22px}.breadcrumb{font-size:11px}.topbar>div{gap:13px}.private-indicator{font-size:9px}.profile{width:28px;height:28px}#content{padding:28px 20px 25px;min-height:calc(100vh - 170px)}h1{font-size:35px;letter-spacing:-1.4px}.heading-row{margin-bottom:20px;align-items:center}.heading-row p{font-size:12px;max-width:270px}.heading-row h1{margin:10px 0}.eyebrow{font-size:9px}.heading-row>.primary{font-size:0;padding:12px}.heading-row>.primary span{font-size:18px}.hero{margin:22px 0;min-height:250px}.hero-text{padding:25px;max-width:90%}.hero-text h2{font-size:25px;max-width:240px;margin:15px 0 12px}.hero-text p{max-width:210px;font-size:11px}.hero .primary{font-size:11px;padding:11px 14px}.companion-art{right:-155px;opacity:.4}.companion-star{font-size:100px}.hero-tag{font-size:8px}.stats{gap:8px;margin-bottom:26px}.stat{padding:14px 10px;border-radius:11px}.stat strong{font-size:22px;margin-bottom:3px}.stat small{font-size:8px;line-height:1.4;display:block}.section-heading h3{font-size:15px}.panel{padding:18px}.quest-row{gap:10px}.quest-category{font-size:8px}.quest-title{font-size:12px}.quest-meta{font-size:9px}.right-column{grid-template-columns:1fr}.focus-card{min-height:185px}.connection-summary{padding:18px}.app-footer{margin:0 20px 82px;font-size:9px;padding:19px 0}.app-footer>span:nth-child(2){font-size:9px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#fffefb;border-top:1px solid #e5e9df;padding:8px 5px calc(10px + env(safe-area-inset-bottom));z-index:20}.mobile-nav a{display:flex;flex-direction:column;gap:2px;margin:0;padding:4px 12px;font-size:22px;line-height:1.2;border-radius:9px;min-width:55px}.mobile-nav small{font-size:8px;white-space:nowrap}.mobile-nav a.active{color:#45633b;background:#eff4e8}.journal-grid,.connection-grid{grid-template-columns:1fr}.memory-layout{grid-template-columns:1fr}.memory-list{max-height:180px}.memory-view{min-height:260px}.chat-panel{min-height:470px;max-height:calc(100dvh - 300px)}.messages{padding:15px}.message{font-size:12px;max-width:95%}.chat-top{padding:13px 15px}.composer{padding:12px}.chat-side{gap:6px;margin:0 -20px;padding:0 20px}.agent-choice{min-width:110px}.agent-choice strong{font-size:11px}.event{gap:10px;flex-wrap:wrap}.event>div:nth-child(2){flex:1;min-width:170px}.event small{margin-left:18px;font-size:9px}.auth-card{padding:30px 26px}.auth-card h1{font-size:29px}.auth-page{padding:22px}.form-row{flex-direction:column;gap:0}dialog{padding:24px}.toolbar{gap:7px}.toolbar .tab{font-size:10px;padding:7px 12px}#toast{bottom:90px;width:max-content;max-width:90vw}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

progress.progress-wrap{width:100%;display:block;border:0;appearance:none}progress::-webkit-progress-bar{background:#e9ede2}progress::-webkit-progress-value{background:#91af6d}.after-panel{margin-top:25px}

.profile{display:grid;place-items:center}#chat-history{width:160px;max-width:36%;font-size:10px;padding:7px;border-color:#e5eadd;background:#fafbf7}.chat-top{gap:10px}.chat-top>.plain{font-size:10px}.chat-top>strong{white-space:nowrap}@media(max-width:650px){#chat-history{width:115px;max-width:35%}.chat-top>strong{font-size:10px}.chat-top>.plain{max-width:80px;font-size:9px}}

.access-panel{max-width:560px}.access-panel input{max-width:220px;display:block;letter-spacing:7px;font-size:20px}.sidebar .brand{margin-bottom:35px}

.pairing-section{border-top:1px solid var(--line);margin-top:30px;padding-top:25px}.access-panel #device-link{max-width:100%;font-size:11px;letter-spacing:0}
details{margin:14px 0;overflow-wrap:anywhere}summary{cursor:pointer;color:var(--muted)}audio{max-width:100%;width:100%;margin-top:12px}.voice-reply{margin-top:14px}.journal-card h3{overflow-wrap:anywhere}.journal-card .toolbar{margin-top:16px;flex-wrap:wrap}.journal-card li{margin:8px 0}.notice p{margin:8px 0 0}#voice-form{max-width:680px}#voice-form label{display:block;margin-top:18px}#voice-form .toolbar{margin-top:22px;flex-wrap:wrap}.sidebar nav{overflow:auto;min-height:0}.sidebar{overflow-y:auto}
.prep-check{display:flex;align-items:flex-start;gap:10px;font-weight:400!important}.prep-check input{width:18px;min-width:18px;height:18px;margin-top:2px;padding:0;accent-color:#375c4c}.journal-card ul{list-style:none;padding-left:0}
