:root{--amani-font:'Source Sans 3',sans-serif;--amani-green:#006d5b;--amani-paper:#f5f8f5}
html[lang=ar]{--amani-font:'Tajawal',sans-serif}
body{font-family:var(--amani-font);color:#193c32}#root div{font-family:inherit}#root main,#root aside{font-family:var(--amani-font)!important}button,input,select,textarea{font-family:var(--amani-font)}
.amani-onboarding{height:100%;min-height:0;display:flex;flex-direction:column;overflow:auto;background:radial-gradient(ellipse at 100% 0%,#e0eee4 0,transparent 56%),#f5f8f5;padding:24px;box-sizing:border-box;color:#193c32}
.amani-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.amani-brand img{width:160px;height:54px;object-fit:contain;object-position:left center}html[dir=rtl] .amani-brand img{object-position:right center}
.amani-language{display:flex;gap:5px}.amani-language button{background:transparent;border:1px solid #d2dfd5;border-radius:9px;padding:8px;color:#006d5b;font-size:13px;cursor:pointer}.amani-language button[aria-pressed=true]{background:#fff;border-color:#006d5b}
.amani-welcome-art{position:relative;display:grid;place-items:center;min-height:220px;border-radius:36px;background:linear-gradient(140deg,#e4eee0,#f1ead9);margin:12px 0 26px;overflow:hidden}.amani-welcome-art:before{content:'';position:absolute;width:210px;height:210px;border:1px solid #006d5b1c;border-radius:50%;transform:rotate(-16deg) scaleX(1.2)}.amani-welcome-art svg{width:150px;height:150px;position:relative;filter:drop-shadow(0 16px 18px #006d5b18)}
.amani-kicker{font-size:12px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:#006d5b;margin:0 0 12px}html[lang=ar] .amani-kicker{letter-spacing:0}
.amani-onboarding h1{font-size:clamp(29px,7.5vw,38px);line-height:1.13;letter-spacing:-.025em;margin:0 0 16px;font-weight:700;max-width:470px}html[lang=ar] .amani-onboarding h1{letter-spacing:0;line-height:1.45}.amani-description{font-size:17px;line-height:1.65;color:#597067;margin:0 0 24px;max-width:440px}
.amani-onboarding footer{margin-top:auto;padding-top:20px;padding-bottom:env(safe-area-inset-bottom);display:grid;gap:12px}.amani-primary,.amani-secondary{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 18px;border-radius:13px;box-sizing:border-box;text-align:center;font:600 17px var(--amani-font);text-decoration:none;cursor:pointer}.amani-primary{background:#006d5b;color:white;border:1px solid #006d5b;box-shadow:0 6px 14px #006d5b14}.amani-secondary{background:transparent;color:#006d5b;border:1px solid #c8d8cd}.amani-primary:active,.amani-secondary:active{transform:scale(.985)}
.amani-steps{display:flex;gap:8px;margin:6px 0 18px}.amani-steps button{border:0;border-radius:8px;background:#d5e1d7;height:5px;flex:1;padding:0;cursor:pointer;position:relative}.amani-steps button:before{content:'';position:absolute;inset:-10px 0}.amani-steps button[aria-current=step]{background:#006d5b}
.amani-choice{display:block;padding:21px;background:#ffffffc9;border:1px solid #d4e2d6;border-radius:18px;text-decoration:none;color:#193c32;margin-bottom:14px}.amani-choice strong{display:block;font-size:20px;margin-bottom:7px}.amani-choice span{color:#597067;line-height:1.6;font-size:15px}.amani-choice:hover{border-color:#006d5b}
.amani-tab-bar{display:flex;flex-shrink:0;background:#fff;border-top:1px solid #dbe5dd;padding:8px 10px max(8px,env(safe-area-inset-bottom));gap:8px}.amani-tab-bar a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:48px;text-decoration:none;color:#74857d;font-size:12px;border-radius:12px}.amani-tab-bar a[aria-current=page]{background:#eaf3ec;color:#006d5b;font-weight:700}
.amani-loading{height:100%;display:grid;place-content:center;justify-items:center;gap:20px;background:#f5f8f5}.amani-loading img{width:185px;height:auto}.amani-loader{height:4px;width:100px;background:#d9e7db;border-radius:8px;overflow:hidden}.amani-loader:after{content:'';display:block;width:40%;height:100%;background:#006d5b;animation:amani-load 1.2s ease-in-out infinite alternate}@keyframes amani-load{to{transform:translateX(150%)}}@media(prefers-reduced-motion:reduce){.amani-loader:after{animation:none;width:100%}}

#root .amani-primary{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 18px;border-radius:13px;background:#006d5b;color:#fff;border:1px solid #006d5b;text-decoration:none;font:600 17px var(--amani-font);box-sizing:border-box;box-shadow:0 6px 14px #006d5b14}
#root .amani-secondary{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 18px;border-radius:13px;background:transparent;color:#006d5b;border:1px solid #c8d8cd;text-decoration:none;font:600 17px var(--amani-font);box-sizing:border-box}
.amani-illustration{background:radial-gradient(ellipse at center,#e5efe4,transparent 72%);border-radius:0;min-height:210px;flex-shrink:0}.amani-illustration:before{display:none}.amani-illustration img{display:block;width:100%;max-width:350px;height:230px;object-fit:contain;filter:drop-shadow(0 12px 14px #193c320b)}
.amani-check{display:flex;align-items:center;gap:12px;padding:13px 15px;min-height:48px;box-sizing:border-box;border:1.5px solid;border-radius:13px;cursor:pointer;font:500 15px/1.5 var(--amani-font);transition:border-color .15s ease,background-color .15s ease}.amani-check input{accent-color:#006d5b;inline-size:21px;block-size:21px;flex-shrink:0;margin:0;cursor:pointer}.amani-check:has(input:focus-visible){outline:2px solid #006d5b;outline-offset:3px}.amani-check:has(input:disabled){opacity:.55;cursor:default}

.amani-app{height:100%;overflow-y:auto;box-sizing:border-box;padding:28px 22px 32px;background:var(--app-bg,#f5f8f5);color:var(--app-text,#193c32);font:16px/1.5 var(--amani-font)}
.amani-page-heading{margin-bottom:26px}.amani-page-heading h1{font-size:31px;line-height:1.2;letter-spacing:-.03em;margin:0 0 10px}.amani-page-heading p:not(.amani-kicker){color:var(--app-muted,#63766d);font-size:15px;margin:0}html[lang=ar] .amani-page-heading h1{letter-spacing:0;line-height:1.4}
.amani-profile-card{background:linear-gradient(135deg,#006d5b,#004e41);color:#fff;padding:24px;border-radius:23px;margin-bottom:26px;box-shadow:0 14px 28px #006d5b14}.amani-profile-top{display:flex;align-items:center;gap:15px}.amani-avatar{display:grid;place-items:center;width:55px;height:55px;flex-shrink:0;background:#ffffff18;border:1px solid #ffffff25;border-radius:18px;font-size:22px;font-weight:700}.amani-profile-top small{color:#c3dfd4;font-size:12px}.amani-profile-top h2{font-size:23px;margin:3px 0 0;line-height:1.4}.amani-profile-modules{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.amani-profile-modules span{font-size:12px;background:#ffffff14;padding:5px 11px;border-radius:20px;border:1px solid #ffffff15}.amani-profile-card p{font-size:14px;color:#d4e8df;line-height:1.7;margin:17px 0}.amani-profile-card a{display:inline-flex;gap:10px;align-items:center;color:#fff;font-weight:600;text-underline-offset:5px}
.amani-panel{padding:19px;background:var(--app-surface,#fff);border:1px solid var(--app-border,#d8e4db);border-radius:17px;margin-bottom:13px}.amani-panel h3{font-size:14px;margin:0 0 12px;color:var(--app-muted,#63766d)}.amani-panel p{font-size:14px;color:var(--app-muted,#63766d);margin:6px 0;line-height:1.7}.amani-result-number{font-size:28px;font-variant-numeric:tabular-nums}.amani-lab-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--app-border,#d8e4db);font-size:14px}.amani-lab-row strong{white-space:nowrap}.amani-medical{margin-bottom:25px}.amani-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.amani-section-heading h2{font-size:18px;margin:0}.amani-section-heading button{border:1px solid var(--app-border,#d8e4db);background:var(--app-surface,#fff);color:var(--app-text,#193c32);padding:8px 12px;border-radius:10px;font:600 13px var(--amani-font);cursor:pointer}.amani-text-link{display:block;color:#006d5b;margin:14px 0 20px;font-size:14px;text-underline-offset:4px}
.amani-journal-summary{display:flex;justify-content:space-between;gap:16px;padding:23px;background:linear-gradient(135deg,#e4efe3,#f4efdf);border:1px solid #dbe6d4;border-radius:20px;margin-bottom:22px;color:#193c32}.amani-journal-summary div{display:flex;flex-direction:column;gap:3px}.amani-journal-summary strong{font-size:36px;line-height:1}.amani-journal-summary span{font-size:12px;color:#597067}.amani-journal-summary b{font-size:15px;margin-top:6px}.amani-filters{display:flex;overflow-x:auto;gap:8px;padding:2px 2px 10px;margin-bottom:18px;scrollbar-width:none}.amani-filters button{flex-shrink:0;border:1px solid var(--app-border,#d8e4db);background:var(--app-surface,#fff);color:var(--app-muted,#63766d);padding:9px 14px;border-radius:25px;font:600 14px var(--amani-font);cursor:pointer}.amani-filters button[aria-pressed=true]{background:#006d5b;color:#fff;border-color:#006d5b}
.amani-timeline-day{margin-bottom:23px}.amani-timeline-day h2{font-size:13px;font-weight:600;color:var(--app-muted,#63766d);margin:0 0 12px}.amani-timeline{background:var(--app-surface,#fff);border:1px solid var(--app-border,#d8e4db);border-radius:18px;overflow:hidden}.amani-timeline-entry{display:flex;align-items:flex-start;gap:13px;padding:18px}.amani-timeline-entry+.amani-timeline-entry{border-top:1px solid var(--app-border,#d8e4db)}.amani-measure-icon{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;background:#e6f1eb}.amani-measure-glucose{background:#f4e8df}.amani-measure-pressure{background:#f0e8ed}.amani-measure-meals{background:#eff0df}.amani-entry-main{min-width:0;flex:1}.amani-entry-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--app-muted,#63766d)}.amani-entry-main strong{display:block;font-size:20px;line-height:1.4;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.amani-entry-main p{font-size:12px;color:var(--app-muted,#63766d);margin:4px 0}.amani-entry-main small{display:block;font-size:11px;color:var(--app-muted,#63766d);margin-top:7px}.amani-empty{text-align:center;padding:15px 5px}.amani-empty img{max-width:100%;height:180px;object-fit:contain}.amani-empty h2{font-size:21px}.amani-empty p{font-size:15px;color:var(--app-muted,#63766d);line-height:1.7}.amani-empty a{margin-top:23px}

.amani-clinical-screen{height:100%;min-height:0;display:flex;flex-direction:column;font-family:var(--amani-font)}.amani-clinical-brand{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px 10px;flex-shrink:0}.amani-clinical-brand img{display:block;object-fit:contain}.amani-clinical-brand span{font-size:11px;color:#63766d}.amani-clinical-screen input:not([type=checkbox]){border-radius:12px!important;min-height:46px;box-sizing:border-box;outline-offset:3px}.amani-clinical-screen [role=button]{min-height:38px}.amani-clinical-screen [role=button][aria-disabled=true]{cursor:default}.amani-clinical-screen input:focus-visible{outline:2px solid #006d5b}.amani-clinical-screen textarea{border-radius:12px;padding:12px;font:16px var(--amani-font)}

.amani-home-v3{padding-top:20px}.amani-home-welcome{position:relative;background:linear-gradient(120deg,#e5efe2,#f3eddc);border:1px solid #e1e8d8;border-radius:25px;padding:25px 22px;overflow:hidden;min-height:168px;box-sizing:border-box;margin:8px 0 28px;color:#193c32}.amani-home-welcome-copy{position:relative;z-index:1;width:60%}.amani-home-welcome h1{font-size:29px;line-height:1.12;letter-spacing:-.035em;margin:0 0 14px;max-width:190px}.amani-home-welcome-copy>p:last-child{font-size:13px;line-height:1.6;max-width:180px;color:#597067;margin:0}.amani-home-welcome img{position:absolute;inset-inline-end:-26px;bottom:3px;width:185px;height:175px;object-fit:contain;opacity:.94}html[lang=ar] .amani-home-welcome h1{letter-spacing:0;line-height:1.4;font-size:28px}.amani-today-mark{font-size:21px;color:#b59b64}
.amani-home-features{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0 0 23px}.amani-home-feature-card{min-width:0;background:var(--app-surface,#fff);border:1px solid var(--app-border,#dbe4dd);border-radius:20px;overflow:hidden;box-shadow:0 4px 13px #193c3204;transition:transform .18s ease,box-shadow .18s ease}.amani-home-feature-card:active{transform:scale(.985)}.amani-home-feature-main{display:block;text-decoration:none;padding:15px 15px 12px;color:var(--app-text,#193c32)}.amani-home-card-label{display:flex;justify-content:space-between;align-items:center;gap:5px}.amani-home-card-label h3{font-size:14px;margin:0;font-weight:600}.amani-home-card-label>span{font-size:15px;opacity:.5}.amani-home-feature-card .amani-device-art{display:block;width:85px;height:85px;margin:7px auto 4px;color:#397b67}.amani-feature-glucose .amani-device-art{color:#ac6f56}.amani-feature-pressure .amani-device-art{color:#71628a}.amani-home-feature-main>strong{font-size:16px;font-weight:700;display:block;line-height:1.3;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amani-home-feature-main>p{color:var(--app-muted,#63766d);font-size:11px;margin:5px 0 0;line-height:1.4}.amani-feature-add{display:flex;align-items:center;justify-content:space-between;color:#006d5b;padding:10px 15px;border-top:1px solid var(--app-border,#e1e7df);font-size:12px;font-weight:600;text-decoration:none;background:#f0f6f118}.amani-feature-add span:last-child{display:grid;place-items:center;width:21px;height:21px;background:#e4f0e7;border-radius:7px;font-size:16px}.amani-food-art{width:68px;height:68px;margin:16px auto 12px;display:grid;place-items:center;border-radius:50%;background:#f1f1dc;border:7px solid #fafaf2;box-shadow:0 3px 8px #6e79380d}
.amani-home-plan{display:flex;align-items:center;gap:12px;text-decoration:none;color:#193c32;background:#edf3e7;border:1px solid #dce7d5;border-radius:20px;padding:19px;margin-bottom:18px}.amani-home-plan>div{flex:1;min-width:0}.amani-home-plan strong{display:block;font-size:18px;margin-top:7px}.amani-home-plan p{font-size:12px;line-height:1.6;color:#597067;margin:7px 0 0}.amani-home-plan img{width:110px;height:105px;object-fit:contain}.amani-home-journal{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--app-text,#193c32);padding:17px;background:var(--app-surface,#fff);border:1px solid var(--app-border,#dbe4dd);border-radius:16px;font-weight:600;font-size:14px}.amani-home-journal span:first-of-type{flex:1}.amani-home-local{display:flex;gap:13px;margin-top:22px;padding:3px 5px;color:var(--app-muted,#63766d)}.amani-home-local>span{font-size:30px;color:#8ca993}.amani-home-local strong{font-size:12px;font-weight:600}.amani-home-local p{font-size:12px;margin:3px 0 9px}.amani-home-local a{color:#006d5b;font-size:12px;text-underline-offset:4px}
.amani-module-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.amani-module-nav img{object-fit:contain}.amani-module-nav button{display:flex;align-items:center;gap:8px;border:1px solid var(--app-border,#dbe4dd);background:var(--app-surface,#fff);border-radius:12px;padding:10px 13px;color:var(--app-text,#193c32);font:600 14px var(--amani-font);cursor:pointer}.amani-module-nav button span{font-size:18px}.amani-module-hero{display:flex;align-items:center;gap:12px;padding:23px 21px;border-radius:23px;background:linear-gradient(135deg,#eee5df,#f8f4e9);color:#76503e;margin-bottom:20px}.amani-module-hta .amani-module-hero{background:linear-gradient(135deg,#ece6f0,#f4f0f5);color:#67557e}.amani-module-nutrition .amani-module-hero{background:linear-gradient(135deg,#e4eee0,#f3f0df);color:#3d6e56}.amani-module-hero>div{flex:1;min-width:0}.amani-module-hero h1{font-size:30px;line-height:1.2;letter-spacing:-.025em;margin:0 0 10px}.amani-module-hero p:last-child{font-size:13px;line-height:1.65;margin:0;opacity:.8}.amani-module-hero .amani-device-art{width:105px;height:120px;flex-shrink:0}.amani-feature-reading{background:var(--app-surface,#fff);border:1px solid var(--app-border,#dbe4dd);border-radius:22px;padding:24px;margin-bottom:20px}.amani-feature-reading>span{font-size:13px;color:var(--app-muted,#63766d)}.amani-feature-reading>strong{display:block;font-size:34px;line-height:1.4;margin-top:10px;font-variant-numeric:tabular-nums}.amani-feature-reading p{color:var(--app-muted,#63766d);font-size:14px;margin:7px 0}.amani-feature-reading small{display:inline-block;color:var(--app-muted,#63766d);font-size:11px;background:#edf4ec;padding:4px 9px;border-radius:8px}.amani-feature-reading .amani-primary{margin-top:22px;justify-content:space-between!important}.amani-module-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px;border-radius:15px;border:1px solid var(--app-border,#dbe4dd);background:var(--app-surface,#fff);color:var(--app-text,#193c32);text-decoration:none;font-weight:600;font-size:14px;margin-bottom:12px}.amani-module-illustration{text-align:center;margin-top:24px}.amani-module-illustration img{max-width:100%;height:165px;object-fit:contain;opacity:.9}.amani-evolution h2{font-size:15px;margin:0 0 15px}.amani-evolution svg{display:block;width:100%;height:110px;color:#006d5b}.amani-chart-dates{display:flex;justify-content:space-between;font-size:12px;color:var(--app-muted,#63766d)}

.amani-screen-accent{display:flex;align-items:center;gap:9px;color:#397b67}.amani-screen-accent .amani-device-art{width:51px;height:51px}.amani-screen-accent-diabete{color:#ac6f56}.amani-screen-accent-hta{color:#71628a}.amani-clinical-brand .amani-screen-accent span{font-size:12px;color:inherit;font-weight:600}

.amani-device-art{object-fit:contain;clip-path:circle(47% at 50% 50%)}.amani-home-feature-card .amani-device-art{width:105px;height:105px;margin:9px auto 7px}.amani-module-hero .amani-device-art{width:110px;height:110px}.amani-clinical-brand .amani-device-art{width:50px;height:50px}

html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #root{background:#0b1310;color:#eaf3ee}
html[data-theme=dark] .amani-language button{background:#1b332b;color:#b4efd3;border-color:#5a8270}html[data-theme=dark] .amani-language button[aria-pressed=true]{background:#d7eedc;color:#153a2b;border-color:#a4cfb2}
html[data-theme=dark] .amani-feature-add,html[data-theme=dark] .amani-home-local a,html[data-theme=dark] .amani-text-link{color:#a8e7c9}html[data-theme=dark] .amani-feature-add span:last-child{background:#29483a;color:#c5f1d6}
html[data-theme=dark] #root .amani-secondary{color:#b4efd3;border-color:#5a8270;background:#13201b}html[data-theme=dark] .amani-tab-bar{background:#13201b;border-color:#33514c}html[data-theme=dark] .amani-tab-bar a{color:#b4c9bc}html[data-theme=dark] .amani-tab-bar a[aria-current=page]{background:#29483a;color:#d4f4df}
html[data-theme=dark] .amani-kicker{color:#a8e7c9}html[data-theme=dark] .amani-home-welcome .amani-kicker,html[data-theme=dark] .amani-home-plan .amani-kicker,html[data-theme=dark] .amani-module-hero .amani-kicker{color:#006d5b}
html[data-theme=dark] .amani-brand>img,html[data-theme=dark] .amani-module-nav>img,html[data-theme=dark] .amani-clinical-brand>a{background:#f2f6e9;border-radius:11px;padding:5px;box-sizing:border-box}
html[data-theme=dark] .amani-onboarding{background:radial-gradient(ellipse at top right,#203d2d,transparent 65%),#0b1310;color:#eaf3ee}html[data-theme=dark] .amani-description{color:#b7cbbf}html[data-theme=dark] .amani-choice{background:#13201b;border-color:#33514c;color:#eaf3ee}html[data-theme=dark] .amani-choice span{color:#b7cbbf}html[data-theme=dark] .amani-steps button{background:#33514c}html[data-theme=dark] .amani-steps button[aria-current=step]{background:#a8e7c9}html[data-theme=dark] .amani-clinical-brand>span{color:#b7cbbf}html[data-theme=dark] .amani-home-local{color:#b7cbbf}
html[data-theme=dark] .amani-check input{accent-color:#98d7b2}html[data-theme=dark] .amani-clinical-screen input:focus-visible,html[data-theme=dark] *:focus-visible{outline-color:#b4efd3}

.amani-meals-note{font-size:13px;line-height:1.7;color:var(--app-muted,#63766d);padding:14px;background:var(--app-surface,#fff);border:1px solid var(--app-border,#dbe4dd);border-radius:13px}.amani-meals-add{margin:4px 0 20px}.amani-meal-line{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.amani-meal-line strong{min-width:0;overflow-wrap:anywhere}.amani-meal-line bdi{white-space:nowrap;font-size:13px}.amani-meal-plan>h3{font-size:18px;color:var(--app-text,#193c32)}.amani-meal-plan article{padding-top:15px;margin-top:15px;border-top:1px solid var(--app-border,#dbe4dd)}.amani-meal-plan small{color:var(--app-muted,#63766d)}.amani-panel .amani-allergy{color:#b44336;font-weight:600}html[data-theme=dark] .amani-panel .amani-allergy{color:#ffb9ab}
/* Modules patient : repères communs, prescription distincte du journal. */
.amani-module-page{--module-accent:#98634a}.amani-module-nutrition,.amani-module-repas{--module-accent:#006d5b}.amani-module-hta{--module-accent:#76618b}
.amani-module-page .amani-module-hero{position:relative;overflow:hidden;min-height:170px;box-shadow:0 10px 30px #193c3206;border:1px solid #193c3208}.amani-module-page .amani-module-hero:before{content:'';position:absolute;width:210px;height:210px;border:1px solid #193c3210;border-radius:50%;inset-inline-end:-60px;top:-55px;pointer-events:none}.amani-module-page .amani-module-hero .amani-device-art{position:relative;filter:drop-shadow(0 8px 12px #193c3212)}.amani-module-page .amani-feature-reading{border-top:3px solid var(--module-accent);box-shadow:0 8px 24px #193c3205}.amani-module-page .amani-module-link{min-height:58px;transition:transform .16s ease,border-color .16s ease}.amani-module-page .amani-module-link:hover{border-color:var(--module-accent)}.amani-module-page .amani-module-link:active{transform:scale(.985)}
.amani-module-repas .amani-module-hero{background:linear-gradient(135deg,#e2eee3,#f5f1df);color:#294f41}.amani-meals-segments{display:grid!important;grid-template-columns:1fr 1fr;gap:5px!important;padding:5px;background:var(--app-surface);border:1px solid var(--app-border);border-radius:17px;margin-bottom:20px}.amani-meals-segments button{min-height:47px;border-radius:12px!important;border:0!important}.amani-plan-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:23px 0 15px}.amani-plan-title h2{font-size:22px;line-height:1.3;margin:0;overflow-wrap:anywhere}.amani-plan-title select{min-height:44px;border:1px solid var(--app-border);border-radius:12px;background:var(--app-surface);color:var(--app-text);font:600 13px var(--amani-font);padding:8px;max-width:130px}.amani-day-nav{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}.amani-day-nav button{flex-shrink:0;min-width:77px;min-height:45px}.amani-prescription-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.amani-prescription-targets p{margin:0;border-inline-start:2px solid #69a992;padding-inline-start:10px}.amani-prescription-targets bdi{display:block;color:var(--app-text);font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.amani-meal-plan{padding:0;overflow:hidden;border-radius:20px}.amani-meal-plan>h3{display:flex;align-items:center;gap:12px;background:color-mix(in srgb,var(--app-surface) 92%,#008772);padding:17px 19px;margin:0;font-size:18px}.amani-meal-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--app-border);background:var(--app-surface);border-radius:10px;font-size:12px;color:var(--app-muted);font-variant-numeric:tabular-nums}.amani-meal-plan article{padding:16px 19px;margin:0}.amani-meal-plan .amani-meal-line{align-items:center}.amani-meal-plan .amani-meal-line bdi{padding:5px 8px;border-radius:8px;background:color-mix(in srgb,var(--app-surface) 90%,#008772);font-weight:600}.amani-meal-log{border-inline-start:3px solid #69a992;border-radius:18px}.amani-sync-badge{font-size:11px;color:var(--app-muted);background:color-mix(in srgb,var(--app-surface) 92%,#008772);padding:5px 8px;border-radius:7px;white-space:nowrap}.amani-nutrition-plan-link{border-inline-start:3px solid #69a992}.amani-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}
html[data-theme=dark] .amani-module-page{--module-accent:#edb590}html[data-theme=dark] .amani-module-nutrition,html[data-theme=dark] .amani-module-repas{--module-accent:#90d5ba}html[data-theme=dark] .amani-module-hta{--module-accent:#ccbaeb}
@media(max-width:350px){.amani-module-page .amani-module-hero .amani-device-art{width:85px;height:85px}.amani-meals-segments button{font-size:12px}.amani-meal-line{flex-wrap:wrap}.amani-prescription-targets{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.amani-module-page .amani-module-link{transition:none}.amani-module-page .amani-module-link:active{transform:none}}
/* Scènes fournies : fondu des fonds opaques, cadrage complet sans coupe des personnages. */
.amani-scene-art{display:block;width:min(100%,340px);height:auto!important;max-height:250px;object-fit:contain;margin:12px auto 18px;mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 60%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 60%,transparent 100%)}.amani-plan-empty{padding-block:10px 20px}.amani-module-nutrition .amani-module-illustration{margin-top:20px}.amani-module-nutrition .amani-module-illustration .amani-scene-art{width:min(100%,380px);max-height:260px}.amani-empty .amani-scene-art{max-width:100%}
/* Les modales React Native Web sont rendues hors de #root : conserver la typographie globale sans remplacer les fontes d'icônes explicites. */
[role=dialog] div:not([style*="font-family"]),[role=dialog] input,[role=dialog] textarea,[role=dialog] button,[role=dialog] select{font-family:var(--amani-font)!important}
