:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:16px;color:#172c32;color-scheme:light;--green:#275747;--line:#ffffffa3;--muted:#4b6267;--ease:cubic-bezier(.18,.9,.22,1)}*{box-sizing:border-box}body{margin:0;min-width:280px;background:#dbe7e6;isolation:isolate}body::before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#eef6f4a8,#eaf4f0a6 60%,#dfece6bc),url('course-background.webp') center 58%/cover no-repeat;pointer-events:none}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #397568;outline-offset:4px}.shell{max-width:800px;margin:auto;padding:30px 42px 18px;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px}.brand{font-size:1.35rem;line-height:1.15;font-weight:750;letter-spacing:-.065em;color:#173138;text-decoration:none}.brand span,.green{color:var(--green)}.edition{font-size:.8125rem;line-height:1.35;color:var(--muted)}main{width:100%;max-width:530px;margin:0 auto}.intro{text-align:center;padding:22px 0 23px}.eyebrow{font-size:.75rem;line-height:1.4;font-weight:600;letter-spacing:.12em;color:#3b6463;margin:0}h1{font-size:2.65rem;line-height:1.1;font-weight:600;letter-spacing:-.055em;margin:7px 0 0}h1 em{font:inherit;color:var(--green)}.choices{display:grid;gap:9px}.situation{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:62px;padding:15px 18px;border:1px solid #ffffffce;border-bottom-color:#ffffff7d;border-radius:22px;background:linear-gradient(125deg,#ffffffe0,#ffffff8c);color:#20383e;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff47,0 4px 12px #143b4010,0 15px 25px -20px #163f4252;-webkit-backdrop-filter:blur(20px) saturate(135%);backdrop-filter:blur(20px) saturate(135%);text-align:center;font-size:1.0625rem;line-height:1.35;font-weight:500;transition:transform .3s var(--ease),box-shadow .3s,background .3s}.situation span{position:relative}@media(hover:hover){.situation:hover{transform:translateY(-2px);background:linear-gradient(125deg,#fffffff0,#ffffffad);box-shadow:inset 0 1px 0 white,0 8px 24px #173e3e18}}.situation:active{transform:scale(.975);box-shadow:inset 0 1px 0 #fff,0 2px 6px #173e3e10;transition-duration:.12s}.intention{font-size:.875rem;text-align:center;line-height:1.4;margin:10px 0 0;padding:6px 8px;color:#2a504a;font-weight:500}#intention-warning{font-size:.8125rem;line-height:1.4;color:#384f53}footer{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;margin-top:18px;padding-top:0;color:var(--muted);font-size:.75rem;line-height:1.5}footer>div{display:flex;align-items:center;gap:18px}footer button{border:0;background:none;color:#3d575b;font-size:.875rem;min-height:44px;padding:8px 0}footer .plus{font-size:.75rem;font-weight:600;letter-spacing:.02em;color:#23463e}footer .plus span{font-size:1rem}dialog{width:min(510px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:28px;border:1px solid #ffffffda;border-radius:30px;background:linear-gradient(135deg,#ffffffed,#f1f7f3e6);color:#172c32;box-shadow:inset 0 1px 0 #fff,0 35px 90px #0a303d30;-webkit-backdrop-filter:blur(32px) saturate(150%);backdrop-filter:blur(32px) saturate(150%)}dialog::backdrop{background:#163f4342;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.close{flex-shrink:0;width:44px;height:44px;border:1px solid #ffffffb0;border-radius:50%;background:#ffffffa6;color:#40575a;box-shadow:inset 0 1px 0 white;font-size:1.6rem;line-height:1}.close:hover{background:#fff}h2:not(.eyebrow){font-size:1.8rem;line-height:1.2;font-weight:600;letter-spacing:-.045em;margin:24px 0 18px}dialog p{font-size:1rem;line-height:1.65}.repere-copy{font-size:1.65rem;font-weight:500;letter-spacing:-.03em;line-height:1.5;margin:30px 0 20px;text-align:center;min-height:150px}.primary{width:100%;border:1px solid #193d43;border-radius:999px;background:linear-gradient(#284f52,#183b40);box-shadow:inset 0 1px 0 #ffffff20,0 5px 12px #143c3912;color:white;font-size:1rem;line-height:1.4;font-weight:500;min-height:52px;padding:14px 20px}.primary:hover{background:#183b40}.text-button{display:block;min-height:44px;padding:10px 0;border:0;background:none;color:var(--green);font-size:.875rem;text-decoration:underline;text-underline-offset:5px;margin:0 0 16px}#another{margin:0 auto 18px}.subtle,.small{color:var(--muted)}dialog .small{font-size:.8125rem;line-height:1.6}.centered{text-align:center}.ranges{display:grid;gap:16px;margin:24px 0}.ranges label{display:block;font-size:1rem;line-height:1.5}.ranges output{float:right;color:var(--green)}input[type=range]{display:block;width:100%;height:28px;accent-color:var(--green);margin:8px 0 0}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.75rem}.field{display:block;font-size:1rem;line-height:1.5;margin:18px 0}select,textarea{display:block;width:100%;color:#172c32;border:1px solid #becdca;background:#ffffffba;box-shadow:inset 0 1px 2px #163e3e08;border-radius:14px;font-size:1rem;line-height:1.5;padding:12px;margin-top:8px}textarea{resize:vertical;min-height:88px}.feedback{color:var(--green);font-size:.875rem}.feedback:empty{display:none}.durations{display:flex;flex-wrap:wrap;gap:7px;border:0;padding:0;margin:25px 0 0}.durations label{position:relative}.durations input{position:absolute;opacity:0;width:1px;height:1px}.durations span{display:block;border:1px solid #c6d7d0;border-radius:999px;padding:11px 10px;min-height:44px;font-size:.875rem}.durations input:checked+span{background:#dcebe3;border-color:#568270;color:var(--green)}.durations input:focus-visible+span{outline:3px solid #397568;outline-offset:2px}.breath-stage{height:240px;display:grid;place-items:center;position:relative}.breath-ring{width:170px;height:170px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffffffdf,#94c1b28a);border:1px solid #ffffffdb;box-shadow:inset 0 2px 10px #fff,0 14px 35px #49776920;transform:scale(.72)}#breath-phase{position:absolute;font-size:1.3rem;color:#234f46;font-weight:500;pointer-events:none}.breath-stage.running .breath-ring{animation:breathe 10s ease-in-out infinite}@keyframes breathe{0%,100%{transform:scale(.72)}50%{transform:scale(1)}}.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}[hidden]{display:none!important}
@media(max-width:600px){.shell{padding:12px 20px max(10px,env(safe-area-inset-bottom))}header{align-items:flex-start;flex-direction:column;gap:2px;padding-bottom:6px;flex-shrink:0}.brand{font-size:1.35rem}.intro{padding:12px 0 15px}h1{font-size:2.05rem;margin:6px 0 0}.choices{gap:8px}.situation{min-height:clamp(46px,8svh,60px);padding:11px 12px;font-size:1rem;border-radius:20px}.tools{margin-top:12px}.tools button{font-size:.875rem}.intention{margin:6px 0 0;padding:6px 4px}footer{padding-top:8px;gap:4px 8px}footer>div{gap:14px}dialog{padding:22px}.repere-copy{font-size:1.5rem;min-height:130px}.durations{gap:6px}.durations span{padding:10px 8px}}
@media(max-width:600px) and (max-height:700px){.shell{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.intro{padding:8px 0 10px}h1{font-size:1.85rem}.choices{gap:6px}.situation{min-height:clamp(44px,7.7svh,54px);padding:10px 12px}.tools{margin-top:9px}.intention{padding:5px 4px;margin-top:4px}}
@media(prefers-reduced-motion:no-preference){.intro{animation:arrive .45s var(--ease) both}.situation{animation:arrive .4s var(--ease) backwards}.situation:nth-child(2){animation-delay:35ms}.situation:nth-child(3){animation-delay:70ms}.situation:nth-child(4){animation-delay:105ms}.situation:nth-child(5){animation-delay:140ms}.tools{animation:arrive .45s 100ms var(--ease) backwards}dialog[open]::backdrop{animation:backdrop-arrive .24s ease-out}.intention:not([hidden]){animation:arrive .3s var(--ease)}.primary,.close,.tools button{transition:transform .25s var(--ease),background .25s}.primary:active,.close:active,.tools button:active{transform:scale(.97)}}
@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes backdrop-arrive{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.breath-ring{transform:scale(.86)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.situation,.tools{background:#f1f7f3}dialog{background:#f4f8f5}}

/* Natural document flow: the footer follows content, never the viewport floor. */
.shell{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}
header{padding-bottom:8px}.home-intro{text-align:center;padding:24px 0}.home-intro h1{font-size:2.4rem}.moments{display:grid;gap:12px}
.moment{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:116px;padding:24px 56px 24px 25px;border:1px solid #ffffffdd;border-radius:27px;text-decoration:none;color:#203b3c;background:linear-gradient(120deg,#ffffffdb,#ffffff8a);box-shadow:inset 0 1px 0 #fff,0 7px 22px -10px #204b4933;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:transform .2s var(--ease),box-shadow .2s}
.moment-time{font-size:.65rem;font-weight:600;letter-spacing:.14em;color:#496560}.moment-action{font-size:1.5rem;line-height:1.2;letter-spacing:-.04em;font-weight:550}.moment-arrow{position:absolute;right:21px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffffff80;color:#486b63;font-size:1rem}.moment-during{background:linear-gradient(120deg,#edf9f3ed,#d6e9dedd);border-color:#ffffffed}.moment-during .moment-action{color:#254f40}.moment:active{transform:scale(.98)}
@media(hover:hover){.moment:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 10px 28px -10px #204b4940}}
.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#31594f;text-decoration:none;font-size:.875rem}.back span{font-size:1.7rem;line-height:1}.view>.intro{padding:3px 0 20px}.form-card{padding:22px;border-radius:26px;background:#ffffffb8;border:1px solid #ffffffd9;box-shadow:inset 0 1px 0 white,0 10px 30px -18px #214b4940}.form-card .ranges{margin-top:0}.form-card .small{font-size:.75rem;line-height:1.5}.breathing-link{margin:12px auto 0;text-align:center}.form-view h1{font-size:2.1rem}input[type=range]{height:44px;margin-top:0}.situation span{white-space:nowrap}footer{max-width:530px;margin-left:auto;margin-right:auto}h1:focus,.view:focus{outline:none}
@media(max-width:600px){.shell{padding: max(12px,env(safe-area-inset-top)) 20px max(12px,env(safe-area-inset-bottom))}.home-intro{padding:17px 0 20px}.home-intro h1{font-size:1.95rem}.moment{min-height:100px;padding:19px 50px 19px 20px;border-radius:24px;gap:9px}.moment-action{font-size:1.35rem}.moments{gap:10px}footer{margin-top:14px;padding-top:0}footer>div{gap:12px}.form-card{padding:18px}.form-view h1{font-size:1.8rem}.situation{min-height:52px}.view>.intro{padding-bottom:16px}}
@media(max-width:600px) and (max-height:600px){.shell{padding-top:max(8px,env(safe-area-inset-top))}.home-intro{padding:10px 0 14px}.home-intro h1{font-size:1.75rem}.moment{min-height:83px;padding-top:14px;padding-bottom:14px;gap:7px}.moments{gap:8px}.situation{min-height:46px;padding:10px 12px}.view>.intro{padding-bottom:12px}footer{margin-top:8px}.intention{font-size:.8rem}.ranges{gap:8px}.form-card{padding:16px}}
@media(max-width:350px){.shell{padding-left:16px;padding-right:16px}.moment-action{font-size:1.25rem}footer{font-size:.65rem}footer button{font-size:.75rem}footer .plus{font-size:.65rem}footer>div{gap:10px}}
@media(prefers-reduced-motion:no-preference){.view:not([hidden]){animation:arrive .22s var(--ease) both}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.moment{background:#eff5f1}.moment-during{background:#e0ece3}}

.during-view{position:relative}.during-view>.back{position:absolute;left:0;top:4px;width:44px;justify-content:center;border-radius:50%;background:#ffffff70;z-index:1}.during-view>.intro{padding-top:9px}.during-view h1{font-size:2rem}
@media(max-width:600px){.during-view>.intro{padding-left:40px;padding-right:40px}.during-view h1{font-size:1.85rem}.during-view .eyebrow{font-size:.65rem}}
@media(max-width:600px) and (max-height:500px){.home-intro{padding:6px 0 8px}.home-intro h1{font-size:1.6rem}.moment{min-height:74px;padding-top:10px;padding-bottom:10px}.intention{padding-top:4px;padding-bottom:4px}footer{margin-top:4px}.during-view h1{font-size:1.65rem}}

/* Photographic depth, shared by the closed card and the open surface. */
.moment{padding-right:20px;background:linear-gradient(100deg,#f5faf7f5 0%,#f0f7f1e8 48%,#e5f0e594 100%),url('course-background.webp') center 65%/cover;border-color:#ffffffe6;box-shadow:inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff70,0 8px 20px -12px #163a4259;overflow:hidden;isolation:isolate}
.moment-before{background-position:center,center 38%}.moment-during{background-image:linear-gradient(100deg,#e6f1e9f5 0%,#dfeee2da 48%,#c5dfcc66 100%),url('course-background.webp')}.moment-after{background-position:center,center 90%}
.moment::after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(125deg,#fff5,transparent 45%,#fff2);pointer-events:none;z-index:-1}.moment-time{font-size:.7rem}.moment-action{font-weight:550}.moment:active{transform:scale(.985)}
.view:not(#home){padding:18px;border:1px solid #ffffffd9;border-radius:28px;background:linear-gradient(135deg,#f4faf5e6,#edf5efba);box-shadow:inset 0 1px 0 #fff,0 14px 38px -22px #173e4659;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);margin-top:12px}.view:not(#home)>.intro{padding-top:10px}.view:not(#home) .form-card{border:0;box-shadow:none;background:transparent;padding:0}.during-view>.back{top:18px;left:14px}.during-view>.intro{padding-left:30px;padding-right:30px}.during-view h1{font-size:1.8rem}.view:not(#home) .situation{border-radius:18px;background:linear-gradient(125deg,#fffffff2,#ffffffae);box-shadow:inset 0 1px 0 white,0 4px 12px -8px #16403844}.view:not(#home) .situation span{font-size:.95rem}
.card-flight{position:fixed!important;z-index:20;min-height:0!important;max-width:none!important;margin:0!important;pointer-events:none!important;transition:none!important;animation:none!important;box-sizing:border-box;display:flex;justify-content:center;padding:19px 20px;will-change:top,left,width,height}
.route-transition,.route-transition *{animation:none!important}
@media(max-width:600px){.view:not(#home){padding:14px;margin-top:8px}.during-view>.back{top:12px;left:8px}.during-view>.intro{padding-left:26px;padding-right:26px}.during-view h1{font-size:1.6rem}.view:not(#home) .situation{padding-left:5px;padding-right:5px}.form-view h1{font-size:1.65rem}}
@media(max-width:350px){.during-view h1{font-size:1.4rem}.during-view .eyebrow{font-size:.6rem}.view:not(#home) .situation span{font-size:.875rem}}
@media(max-width:600px) and (max-height:500px){.view:not(#home){padding:10px;margin-top:4px}.during-view>.back{top:8px;left:4px}.view:not(#home)>.intro{padding-top:7px;padding-bottom:12px}.card-flight{padding-top:10px;padding-bottom:10px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.view:not(#home){background:#edf5ef}}

@media(max-width:600px) and (max-height:500px){#during.view{padding:8px;margin-top:0}}

/* Keep the document stable while mobile browser toolbars expand/collapse.
   svh reserves the visible height with toolbars shown; content can still grow. */
@media(max-width:600px){
 .shell{min-height:100svh}
 main{display:flex;flex:1;flex-direction:column}
 #home{display:flex;flex:1;flex-direction:column}
 #home .moments{flex:1;grid-template-rows:repeat(3,minmax(min-content,1fr))}
 #home .moment{height:auto}
 #during{display:flex;flex:1;flex-direction:column}
 #during .choices{flex:1;grid-template-rows:repeat(5,minmax(46px,1fr))}
 footer{flex-shrink:0}
}
/* Route motion owns the reveal. Removing its temporary class must never
   restart the old intro and staggered button entrance animations. */
.view,.view .intro,.view .situation,.view .intention{animation:none!important}
.card-flight{transform:none;}

.review-notes{margin:20px 0}.review-notes>div{padding:16px 0;border-bottom:1px solid #78968b30}.review-notes dt{font-size:.8rem;color:var(--muted);margin-bottom:8px}.review-notes dd{margin:0;font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.review-home{display:block;text-align:center;text-decoration:none}#after-review{scroll-margin-top:16px}#after-review-title:focus{outline:none}#edit-after{margin:12px 0 0}#erase-review{margin-bottom:0}

#after-history{margin-top:24px;padding-top:20px;border-top:1px solid #78968b30}#after-history h2{font-size:1rem}#after-history-list{display:grid;gap:8px}.history-entry{width:100%;min-height:48px;padding:12px 16px;border:1px solid #78968b30;border-radius:16px;background:#ffffff80;color:#172c32;font:inherit;text-align:left;cursor:pointer}.history-entry:active{background:#ffffffb0}

#welcome-form input{width:100%;min-height:48px;border:1px solid #78968b60;border-radius:14px;padding:12px;background:#ffffffb3;color:#172c32;font:inherit}#home-greeting{overflow-wrap:anywhere}#welcome .text-button{min-height:44px}

/* First-use welcome only: keep all established app surfaces unchanged. */
#welcome{padding:24px;max-width:440px;max-height:calc(100dvh - 24px);overflow-y:auto}
#welcome .welcome-brand{font-size:15px;font-weight:800;letter-spacing:-.5px;margin-bottom:16px}
#welcome>.eyebrow{margin:0 0 8px}#welcome h2{font-size:clamp(23px,6.5vw,29px);line-height:1.12;margin:0 0 12px;letter-spacing:-1px}#welcome h2:focus{outline:none}
#welcome .welcome-intro{font-size:15px;line-height:1.45;margin:0 0 16px}
#welcome-form .field{margin:0 0 5px;font-size:14px}#welcome-form input:not([type=checkbox]){min-height:44px;padding:10px 12px}
#welcome .welcome-help{font-size:12px;line-height:1.4;color:var(--muted);margin:5px 0 13px}
#welcome .welcome-consent{display:flex;align-items:flex-start;gap:10px;padding:10px 0 14px;font-size:12px;line-height:1.45;color:var(--muted)}
#welcome-form .welcome-consent input{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:0;padding:0;margin:1px 0 0;accent-color:var(--green)}
#welcome .primary{min-height:46px;font-size:14px}#welcome .welcome-skip{margin:2px 0 0;min-height:40px;font-size:13px}
#welcome .welcome-footnote{font-size:11px;line-height:1.4;color:var(--muted);text-align:center;margin:3px 0 0}
#welcome .welcome-privacy{min-height:32px;margin:0;font-size:12px}#welcome .welcome-error{font-size:12px;line-height:1.4;color:#963b35;margin:0 0 8px}
@media(max-height:680px){#welcome{padding:18px 22px}#welcome .welcome-brand{margin-bottom:10px}#welcome h2{margin-bottom:8px}#welcome .welcome-intro{margin-bottom:10px}#welcome .welcome-help{margin-bottom:8px}#welcome .welcome-consent{padding:6px 0 10px}}

footer .legal-link{font-size:.75rem;font-weight:400}#plus-form input[type=email]{display:block;width:100%;min-height:46px;margin-top:8px;padding:11px 13px;border:1px solid #78968b60;border-radius:14px;background:#ffffffb3;color:#172c32;font:inherit}.plus-consent{display:flex;gap:10px;align-items:flex-start;font-size:.8125rem;line-height:1.5;color:var(--muted);margin:12px 0 18px}.plus-consent input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--green)}.plus-error{font-size:.8125rem;color:#963b35}#plus-status:empty{display:none}#plus .plus-return{margin:0}#legal h3{font-size:1rem;margin:24px 0 8px}#legal p{font-size:.875rem;line-height:1.6}

.legal-section{border-top:1px solid #78968b30;padding:4px 0}.legal-section summary{min-height:48px;padding:14px 0;cursor:pointer;font-weight:600;font-size:1rem;color:#23463e}.legal-section ul{padding-left:22px;font-size:.875rem;line-height:1.6}.legal-storage{margin-top:20px;padding:14px;border-radius:16px;background:#ffffff80;font-size:.875rem}#erase-all-status:empty{display:none}

/* A quiet news entry point, without changing the header's height. */
header{position:relative;padding-right:52px}
.news-bell{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffffb0;border-radius:50%;color:#31594f;background:#ffffff70;box-shadow:inset 0 1px 0 #fff8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.news-bell:active{background:#ffffffe0}
.news-dot{position:absolute;left:-4px;top:-4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#b43c35;color:#fff;font-size:12px;font-weight:700;line-height:1;box-shadow:0 0 0 2px #f1f7f3;pointer-events:none}
.news-list{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}
.news-list a{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #fff;border-radius:18px;background:#ffffff85;color:#203b3c;text-decoration:none;font-size:1rem;line-height:1.45}
.news-list a:active{background:#fff}
.news-hint{color:var(--muted);font-size:.75rem;line-height:1.5}

/* Compact welcome, with optional fields still clearly separated. */
#welcome-name{margin-bottom:16px}

.install-card{padding:16px;margin:0 0 18px;border:1px solid #fff;border-radius:18px;background:#ffffff85}
.install-card h3{font-size:1rem;line-height:1.4;margin:0 0 8px;font-weight:600;letter-spacing:-.02em}
.install-card p{font-size:.875rem;line-height:1.5;margin:8px 0}
.install-card summary{min-height:44px;padding:12px 0;color:var(--green);font-size:.875rem;cursor:pointer}
.install-card select{margin:0 0 12px;font-size:1rem;min-height:44px}
.install-card ol{padding-left:22px;font-size:.875rem;line-height:1.6;margin:10px 0}
.install-card li+li{margin-top:8px}

/* October navigation: one calm, full-height home and four fixed tabs. */
:root{--nav-height:72px;--nav-bottom:env(safe-area-inset-bottom,0px)}
body::before{background:linear-gradient(180deg,#f0f5f1eb,#eaf2ecdc 55%,#eef2e7e0),url('course-background.webp') center 58%/cover no-repeat}
.shell{max-width:600px;min-height:100svh;padding: max(22px,env(safe-area-inset-top)) 24px calc(var(--nav-height) + var(--nav-bottom) + 18px)}
header{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding-right:52px;padding-bottom:6px;flex-shrink:0}
.brand{font-size:1.38rem;font-weight:800;letter-spacing:-.06em}.edition{font-size:.75rem}.news-bell{top:0}
main{display:flex;flex:1;flex-direction:column;max-width:none}
#home{display:flex;flex:1;flex-direction:column}
.home-intro{text-align:center;padding:27px 0 28px}
#home-greeting{font-size:.8rem;letter-spacing:.08em;font-weight:600;text-transform:none;margin:0 0 4px}
.home-intro h1{font-size:clamp(1.7rem,6.8vw,2.25rem);letter-spacing:-.055em;white-space:nowrap;margin:0;line-height:1.2}
#home .moments{flex:1;display:grid;grid-template-rows:repeat(3,minmax(110px,1fr));gap:12px}
#home .moment{min-height:110px;height:auto;border-radius:24px;padding:22px 38px 22px 22px;gap:10px}
.moment-time{font-size:.67rem;letter-spacing:.17em}.moment-action{font-size:clamp(1.18rem,5.25vw,1.6rem);white-space:nowrap;font-weight:600}
.card-chevron{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#fff;font-size:2.3rem;font-weight:300;text-shadow:0 1px 6px #3b655b50}
.app-footer{height:0;min-height:0;margin:0;padding:0}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;margin:auto;max-width:600px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 12px calc(7px + var(--nav-bottom));height:calc(var(--nav-height) + var(--nav-bottom));background:#f7f9f1ed;border-top:1px solid #ffffffbd;box-shadow:0 -6px 26px #38544708;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;text-decoration:none;color:#738085;font-size:.7rem;line-height:1.2;border-radius:14px}
.bottom-nav svg{width:24px;height:24px}.bottom-nav a[aria-current=page]{color:var(--green);font-weight:650}.bottom-nav a[data-tab=home][aria-current=page] svg{fill:var(--green);stroke:var(--green)}.bottom-nav a:active{background:#2757470a}
.view:not(#home){margin-top:12px;flex:0 0 auto;min-height:0;padding:20px}
#during{flex:1}.during-view .intro{padding-left:28px;padding-right:28px}.during-view .intro .small{margin:10px 0 4px;font-size:.85rem}.during-view .choices{display:grid;flex:1;gap:10px;grid-template-rows:repeat(5,minmax(50px,1fr))}
#during .situation span{font-size:clamp(.9rem,3.6vw,1.05rem)}
.resource-list{display:grid;gap:12px}.resource-card,.bilan-card{display:flex;flex-direction:column;gap:9px;align-items:flex-start;text-decoration:none;padding:18px;border-radius:20px;border:1px solid #fff;background:#ffffffa8;color:#203b3c;line-height:1.45;text-align:left;width:100%;font:inherit;overflow:hidden}
.resource-card strong,.bilan-card strong{font-size:1.05rem;font-weight:600;letter-spacing:-.02em}.resource-card p,.bilan-card p{margin:0;font-size:.875rem;color:var(--muted)}.resource-card img{width:calc(100% + 36px);max-height:155px;object-fit:cover;align-self:center;margin:-18px -18px 6px}.resource-card:active,.bilan-card:active{background:#fff}
.book-resource,.author-resource{margin-top:14px}.resource-more{display:block;padding:16px 0;min-height:48px;color:var(--green);font-size:.9rem;text-underline-offset:4px}.resource-tool{display:block;width:100%;text-align:left;min-height:48px;background:none;border:0;border-top:1px solid #78968b30;color:var(--green);font-size:.875rem;padding:14px 2px}.author-resource{margin-bottom:18px}
#resources-status{font-size:.85rem;line-height:1.5}#create-bilan{margin-top:20px}#bilans-empty p{line-height:1.5}.bilan-card p{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.discovery-view>h1{font-size:2rem;margin:10px 0 24px}.discovery-view .small{font-size:.85rem;line-height:1.5}.discovery-view .news-list a{padding:18px}.news-list a.is-read{opacity:.65}.news-type{font-size:.65rem;letter-spacing:.12em;color:var(--green);font-weight:650}.install-card p{line-height:1.5}.install-card{margin-top:20px}.discovery-view .review-home{margin-top:16px}
.update-prompt{position:fixed;z-index:200;bottom:calc(var(--nav-height) + var(--nav-bottom) + 10px);left:14px;right:14px;max-width:550px;margin:auto;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#275747;color:#fff;border-radius:16px;font-size:.85rem;box-shadow:0 6px 22px #143c3930}.update-prompt button{background:#fff;border:0;border-radius:12px;min-height:44px;padding:8px 12px;color:#275747}
@media(min-width:601px){body{background:#e8eeea}.shell{min-height:100svh}#home .moments{max-height:540px}.bottom-nav{border-radius:24px 24px 0 0}.home-intro{padding:30px 0}}
@media(max-width:600px){.shell{padding: max(16px,env(safe-area-inset-top)) 18px calc(var(--nav-height) + var(--nav-bottom) + 14px)}.home-intro{padding:25px 0 28px}.view:not(#home){padding:16px}.during-view>.back{top:15px;left:8px}}
@media(max-height:680px) and (max-width:600px){.shell{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:calc(var(--nav-height) + var(--nav-bottom) + 10px)}.home-intro{padding:14px 0 18px}#home .moments{grid-template-rows:repeat(3,minmax(86px,1fr));gap:10px}#home .moment{min-height:86px;padding-top:16px;padding-bottom:16px;gap:8px}.home-intro h1{font-size:1.85rem}#during .choices{grid-template-rows:repeat(5,minmax(48px,1fr));gap:8px}.during-view .intro{padding-bottom:14px}}
@media(max-width:350px){.shell{padding-left:14px;padding-right:14px}#home .moment{padding-left:16px;padding-right:30px}.moment-time{font-size:.58rem}.moment-action{font-size:1.18rem}.card-chevron{right:10px}.bottom-nav{padding-left:6px;padding-right:6px}.bottom-nav a{font-size:.66rem}.home-intro h1{font-size:1.7rem}}

/* V34: Resources and objective snapshots */
#resources .articles-section{margin-bottom:22px}#resources h2{font-size:1.15rem;font-weight:600;letter-spacing:-.02em;margin:0 0 10px}.resource-features{display:grid;gap:14px}.resource-feature{display:grid;grid-template-columns:54px minmax(0,1fr);gap:16px;align-items:center;min-height:176px;padding:22px 18px;border-radius:26px;background:#ffffffb8;border:1px solid #ffffffdc;backdrop-filter:blur(12px);box-shadow:0 8px 30px -22px #27574750}.resource-icon{width:54px;height:54px;padding:8px;border-radius:50%;color:#658878;background:#78968b18}.resource-icon svg{width:100%;height:100%}.resource-feature p{font-size:.875rem;color:var(--muted);line-height:1.5;min-height:42px;margin:0 0 14px}.feature-button{display:inline-flex;align-items:center;justify-content:center;width:140px;height:44px;padding:0;border:0;border-radius:999px;background:var(--green);color:white;text-decoration:none;font-size:.9rem;font-weight:600}.resource-lines{margin-top:22px}.resource-lines .resource-tool{display:flex;align-items:center;width:100%;margin:0;padding:17px 0;min-height:58px;border:0;border-bottom:1px solid #78968b30;border-radius:0;background:none;text-decoration:none;font-size:1rem;color:#203b3c;text-align:left}.article-new{font-size:.7rem;font-weight:600;border-radius:999px;background:#275747;color:white;padding:4px 9px}.objective-reminder{background:#78968b12;border:1px solid #78968b25;border-radius:16px;padding:16px;margin:18px 0;font-size:.9rem;line-height:1.5}.objective-reminder p{margin:8px 0 0}.objective-rating{border:0;padding:0;margin:24px 0;display:grid;gap:8px;min-width:0}.objective-rating legend{font-weight:600;font-size:1rem;line-height:1.5;margin-bottom:14px}.objective-rating label{position:relative}.objective-rating input{position:absolute;opacity:0;width:1px;height:1px}.objective-rating span{display:flex;align-items:center;justify-content:center;width:100%;height:48px;border:1px solid #78968b50;border-radius:14px;background:#ffffff80;font-size:.9rem}.objective-rating input:checked+span{background:var(--green);color:white;border-color:var(--green)}.objective-rating input:focus-visible+span{outline:3px solid #397568;outline-offset:2px}#after,#bilans,#resources{padding-bottom:calc(105px + env(safe-area-inset-bottom))!important}#after-history-list{padding-bottom:16px}

.resource-features{grid-auto-rows:1fr}

/* Email and installation: opaque, calm surfaces sized for phone screens. */
#welcome,#email-guide,#install-app,#plus{background:#f7f8f2;backdrop-filter:none;-webkit-backdrop-filter:none}
#welcome .welcome-email-link{margin:10px 0 0;min-height:44px;text-align:left;line-height:1.45}
#welcome .welcome-help{margin:2px 0 14px}#welcome .welcome-footnote{text-align:left}
.welcome-email-details{margin:0 0 16px;border-top:1px solid #ccd6ca;border-bottom:1px solid #ccd6ca}
.welcome-email-details summary{padding:14px 0;font-size:14px;line-height:1.4;color:var(--green);cursor:pointer}
.inline-link{padding:0;display:inline;border:0;background:none;color:var(--green);text-decoration:underline;font:inherit}
.reach-slot{width:100%;min-height:145px;margin:12px 0;overflow:visible}
.reach-slot iframe{display:block;width:100%;max-width:100%;border:0}
#email-guide h2,#plus h2{margin-top:20px}#email-guide p,#plus p{line-height:1.5}
#install-app{max-width:430px;padding:30px 26px 22px;text-align:center}
.install-close{position:absolute;right:14px;top:14px;width:36px;height:36px;min-height:36px;background:transparent;border-color:#b9c9be}
.install-app-icon{display:block;margin:0 auto 20px;border-radius:18px;box-shadow:0 6px 18px #193d431a}
#install-app .eyebrow{font-size:10px;letter-spacing:.13em}#install-app h2{font-size:32px;margin:10px 0 12px}
#install-app p{font-size:15px;line-height:1.5;margin:12px 0 22px}
#install-app .primary{font-size:14px;min-height:48px;padding:13px 12px}
#install-app .install-later{margin:7px auto 0;text-decoration:none}
#install-app .small{font-size:11px;line-height:1.5;margin:8px 0 0}
#install-app .install-email{font-size:12px;margin:10px auto 0;line-height:1.4}
#install-steps{text-align:left}#install-steps .field{font-size:13px;margin:15px 0}
#install-steps select{font-size:14px;min-height:44px}#install-steps p{font-size:14px;margin:12px 0}
#install-steps ol{padding-left:23px;font-size:14px;line-height:1.6;margin:12px 0 18px}
#install-steps li+li{margin-top:10px}#install-steps .small{margin:14px 0 18px}
@media(max-height:680px){#install-app{padding:22px}#install-app .install-app-icon{width:54px;height:54px;margin-bottom:12px}#install-app h2{font-size:27px}#install-app p{margin:10px 0 16px}}

/* V36: one recent article, a visible installation card and breathing on course. */
#resources .latest-article{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border-radius:20px;background:#ffffffc7}
#resources .latest-article img{width:80px;height:80px;max-height:none;object-fit:cover;border-radius:12px;margin:0;align-self:center}
#resources .latest-article strong{font-size:1rem;line-height:1.4;letter-spacing:-.015em}
#resources .latest-article.without-image{grid-template-columns:1fr}
#resources .resource-features{grid-auto-rows:auto}
#resources .install-resource{background:#f5f8ed;border-color:#a5bcaa;box-shadow:0 8px 24px -18px #27574765}
#resources .install-resource .resource-icon{width:54px;height:54px;background:none;padding:0;border-radius:15px}
#resources .install-resource img{display:block;width:54px;height:54px;border-radius:15px;box-shadow:0 4px 12px #27574716}
#resources .install-resource h2{line-height:1.3}
#resources .install-resource .feature-button{width:auto;min-width:140px;padding:0 20px}
#during .choices{flex:0 0 auto;grid-template-rows:repeat(5,minmax(50px,auto))}
#during .breathing-feature{margin-top:24px;min-height:132px;padding:18px;grid-template-columns:44px minmax(0,1fr);gap:14px;flex-shrink:0}
#during .breathing-feature .resource-icon{width:44px;height:44px;padding:6px}
#during .breathing-feature h2{font-size:1.15rem;line-height:1.3;font-weight:600;letter-spacing:-.02em;margin:0 0 6px}
#during .breathing-feature p{min-height:0;margin:0 0 12px;font-size:.85rem;line-height:1.4}
#during .breathing-feature .feature-button{width:134px;min-height:44px}
@media(max-width:350px){#resources .latest-article{grid-template-columns:68px minmax(0,1fr);gap:12px;padding:12px}#resources .latest-article img{width:68px;height:68px}#resources .latest-article strong{font-size:.9rem}.resource-feature{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:18px 14px}#resources .install-resource .resource-icon,#resources .install-resource img{width:44px;height:44px}#during .breathing-feature{padding:15px 12px;gap:12px}}
