@charset "UTF-8";
/* La connaissance d’entreprise et les bilans de direction constituent le cœur d’Alma. */
:root{--navy:#071d32;--navy2:#0c1b29;--ink:#102537;--muted:#64768a;--line:#dce5ef;--paper:#f5f8ff;--white:#fff;--accent:#1159c3;--ice:#e4f3fc;--cyan:#16c1e9;--orange:#9e621a;--red:#b34343;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--accent);text-underline-offset:3px}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1{font:400 clamp(30px,3vw,43px)/1.18 Georgia,serif;letter-spacing:-1.3px;margin-bottom:12px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin-bottom:9px}h3{font-size:14px;font-weight:600}p{line-height:1.65}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:650;color:var(--accent);margin-bottom:15px}.icon{width:19px;height:19px;vertical-align:middle;flex:none;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;top:-60px;left:20px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}.loading{padding:10vh;text-align:center;color:var(--muted)}.hidden,[hidden]{display:none!important}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:9px;min-height:43px;font-weight:550;text-decoration:none;line-height:1.3;background:var(--navy);color:white}.btn:hover{background:#274157}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:#edf4fc}.btn.teal{background:var(--accent);color:white}.btn.ghost{background:transparent;color:var(--muted);padding:10px}.btn.danger{background:#fbecec;color:var(--red);border:1px solid #edc7c7}.btn.small{font-size:12px;padding:9px 12px;min-height:36px}.text-btn{background:none;color:var(--accent);padding:8px 0;display:inline-flex;gap:7px;align-items:center;text-align:left}.badge{font-size:10px;border:1px solid var(--line);padding:6px 10px;border-radius:6px;display:inline-flex;gap:6px;align-items:center;white-space:nowrap;background:#f9fcff;color:var(--muted)}.badge.demo{color:#866525;background:#fbf7e9;border-color:#e9dfbb}.badge.green{color:var(--accent);background:#edf5ff;border-color:#d0e4fa}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;flex:none}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.full{grid-column:1/-1}.spaced{margin-top:24px}.rule{border:0;border-top:1px solid var(--line);margin:24px 0}
.shell{display:grid;grid-template-columns:226px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#ced7e0;padding:35px 22px 22px;position:fixed;inset:0 auto 0 0;width:226px;display:flex;flex-direction:column;z-index:4}.logo{font:500 44px Georgia,serif;color:#f5f8ff;letter-spacing:-2px;text-decoration:none;display:flex;align-items:flex-end;gap:4px}.logo i{display:block;width:7px;height:7px;border-radius:50%;background:var(--cyan);margin-bottom:8px}.byline{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;margin-top:7px;color:#93a7b9}.byline b{color:#16c1e9;font-weight:600}.nav-label{font-size:9px;letter-spacing:1.7px;color:#9aafbf;margin:41px 12px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;gap:12px;align-items:center;min-height:46px;padding:12px 14px;text-align:left;background:none;color:#acbfce;border-radius:9px;font-size:12px}.nav-item:hover{background:#1b3046;color:white}.nav-item.active{background:#14375d;color:#bceafa}.nav-item .icon{width:17px;height:17px}.sidebar-bottom{margin-top:auto}.privacy-note{border:1px solid #344557;border-radius:11px;padding:17px 14px;margin-top:40px;font-size:10px;line-height:1.8;color:#a8bac8}.privacy-note .icon{color:#8ce7fa;margin-bottom:10px}.company{margin-top:25px;border-top:1px solid #304052;padding-top:22px;display:flex;gap:10px;align-items:center}.avatar{width:32px;height:32px;border-radius:9px;background:#d7eaff;display:grid;place-items:center;color:#1159c3;font-weight:600;font-size:12px;flex:none}.company-name{font-size:11px;color:#e0e9ed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.company small{font-size:9px;color:#9bafbf}.workspace{grid-column:2;min-width:0}.topbar{height:81px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#ffffff70}.breadcrumbs{font-size:11px;color:var(--muted)}.breadcrumbs span{margin:0 12px;color:#b7c6d6}.topbar-right{display:flex;align-items:center;gap:18px}.topbar-date{font-size:11px;color:var(--muted)}.content{padding:35px 42px 20px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);font-size:12px;margin:0}.page-heading .eyebrow{margin-bottom:8px}.periods{display:flex;border:1px solid var(--line);background:white;border-radius:8px;padding:3px}.periods button{font-size:11px;padding:8px 12px;background:none;color:var(--muted);border-radius:5px}.periods button.active{background:var(--navy);color:white}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:20px}.section-head h2{margin-bottom:5px}.section-head p{margin:0;font-size:11px;color:var(--muted)}.main-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px}.voice-card{background:#edf5ff;border:1px solid #cddff5;position:relative;overflow:hidden;padding:29px 29px 21px}.voice-card .eyebrow{margin-bottom:13px}.voice-card h2{font:400 29px/1.2 Georgia,serif;letter-spacing:-.7px;margin-bottom:11px;max-width:330px}.voice-card>p{font-size:12px;color:#526f8b;max-width:320px;line-height:1.7}.voice-action{display:flex;align-items:center;gap:20px;margin:24px 0 22px}.mic-button{width:76px;height:76px;border-radius:50%;color:white;background:var(--accent);display:grid;place-items:center;box-shadow:0 0 0 9px #d9eaff,0 0 0 10px #c5dcf7;flex:none}.mic-button .icon{width:27px;height:27px}.mic-button:hover{background:#0c469d}.mic-button.recording{background:#b34343;animation:recording 1s ease-in-out infinite alternate}.voice-action strong{font-weight:600;font-size:13px}.voice-action small{display:block;color:var(--muted);font-size:10px;margin-top:6px;line-height:1.5}.wave{display:flex;align-items:center;gap:3px;height:28px;margin-left:auto;color:#90c6eb}.wave span{display:block;width:3px;background:currentColor;border-radius:3px;height:9px}.wave span:nth-child(3n){height:24px}.wave span:nth-child(4n){height:16px}.wave span:nth-child(5n){height:28px}.voice-bottom{padding-top:17px;border-top:1px solid #d0e2f6;display:flex;justify-content:space-between;align-items:center;gap:10px}.voice-bottom .text-btn{font-size:11px;padding:2px 0}.voice-bottom small{font-size:9px;color:#647e98}.focus-list{display:grid;gap:17px}.focus-item{display:flex;gap:12px}.focus-symbol{width:31px;height:31px;display:grid;place-items:center;background:#faf1e1;color:#a1742d;border-radius:8px;flex:none}.focus-symbol.red{background:#fbebeb;color:var(--red)}.focus-symbol.gray{background:#f0f4f9;color:#74869a}.focus-item strong{display:block;font-size:12px;font-weight:550;line-height:1.5}.focus-item p{font-size:10px;color:var(--muted);line-height:1.6;margin:4px 0 0}.focus-foot{border-top:1px solid var(--line);padding-top:16px;margin-top:20px;display:flex;align-items:center;gap:7px;color:#74869a;font-size:10px}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:23px 0}.metric{padding:19px 20px;background:white;border:1px solid var(--line);border-radius:13px;min-width:0}.metric .metric-top{font-size:10px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:6px}.metric .icon{width:15px;color:#8297ac}.metric-value{font-size:27px;letter-spacing:-1px;font-weight:500;margin:16px 0 9px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-value.positive{color:var(--accent)}.metric small{font-size:9px;color:#73859a}.metric .dot{width:5px;height:5px;margin-right:5px;color:#94a8bc}.metric .dot.orange{color:#b98132}.lower-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px}.entries-list{display:grid}.entry-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:15px 0;align-items:center;border-top:1px solid #edf1f7;width:100%;background:none;text-align:left;color:var(--ink)}.entry-row:hover{background:#f9fcff}.entry-row:first-child{border-top:0}.entry-icon{width:34px;height:34px;border-radius:9px;background:#eff4fb;display:grid;place-items:center;color:#718aa3}.entry-icon.income{background:#edf5ff;color:var(--accent)}.entry-info{min-width:0}.entry-info strong{font-size:11px;font-weight:550;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-info small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.entry-amount{font-size:12px;font-weight:550;text-align:right;white-space:nowrap}.entry-amount.income{color:var(--accent)}.entry-amount small{display:block;font-size:9px;color:#8498ad;margin-top:5px;font-weight:400}.chart-container{padding:8px 0 2px}.bar-row{display:grid;grid-template-columns:70px 1fr 60px;align-items:center;gap:12px;margin:17px 0;font-size:10px}.bar-row>span:last-child{text-align:right;color:#476380}.bar-row svg{width:100%;height:8px}.chart-note{font-size:10px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:16px;margin-top:22px}.empty{padding:32px 15px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.page-footer{font-size:9px;color:#7e92a7;border-top:1px solid var(--line);margin-top:28px;padding:18px 0;display:flex;justify-content:space-between;gap:12px;line-height:1.6}.notice{font-size:12px;line-height:1.7;background:#edf5ff;border:1px solid #d5e3f4;border-radius:10px;padding:14px 17px;color:#355a82}.notice.warning{background:#fbf6e9;border-color:#ecdfb9;color:#8a682e}.notice.error{background:#fff0f0;color:var(--red);border-color:#efcccc}.notice p:last-child{margin-bottom:0}.notice a{color:inherit}.filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.filters input{flex:1;min-width:160px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:12px}.table th{color:var(--muted);text-align:left;font-size:10px;font-weight:500;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:16px 12px;border-bottom:1px solid #edf3fb;vertical-align:middle}.table td small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.table td button{text-align:left}.money{white-space:nowrap;font-variant-numeric:tabular-nums}.cancelled{opacity:.55;text-decoration:line-through}
label{display:grid;gap:8px;font-size:11px;color:#496580;line-height:1.5}input,select,textarea{background:white;border:1px solid #d3e0f0;border-radius:8px;padding:12px;color:var(--ink);width:100%;min-height:43px}textarea{resize:vertical;line-height:1.65;min-height:125px}input[type=checkbox]{width:16px;min-height:16px;margin:2px 0 0;accent-color:var(--accent);flex:none}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px}.form-error{font-size:12px;color:var(--red);line-height:1.5;margin-top:12px}.form-help{font-size:10px;color:var(--muted);line-height:1.7;margin-bottom:0}.warning-list{padding-left:18px;font-size:12px;line-height:1.7}.report-facts{padding-left:20px;line-height:1.9;font-size:13px}.indicator{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;align-items:start;padding:17px 0;border-top:1px solid var(--line)}.indicator .dot{margin-top:5px}.indicator .gray{color:#96a8bc}.indicator .green{color:var(--accent)}.indicator .orange{color:#c38a2e}.indicator .red{color:var(--red)}.indicator strong{font-size:12px;font-weight:500}.indicator small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.indicator-value{font-size:16px;font-weight:550}.report-links{display:flex;gap:12px;flex-wrap:wrap}.saved-report{padding:14px 0;border-bottom:1px solid var(--line)}.saved-report a{font-size:11px}.setting-section{max-width:750px}.setting-section+.setting-section{margin-top:22px}.detail-source{white-space:pre-wrap;font-size:12px;color:var(--muted);padding:15px;background:#f3f7fd;border-radius:8px;line-height:1.7}.attachment{display:flex;justify-content:space-between;gap:15px;padding:10px 0;font-size:12px}.audit-item{border-left:2px solid #d4e4f8;padding-left:12px;margin:14px 0;font-size:11px;line-height:1.8}.audit-item small{color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:20px;padding:0;width:min(760px,calc(100vw - 30px));max-height:90dvh;color:var(--ink);box-shadow:0 30px 100px #102d3b33}dialog::backdrop{background:#0d1e3477;backdrop-filter:blur(4px)}.modal-inner{padding:30px;overflow:auto;max-height:88dvh}.modal-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.modal-top h2{font:400 29px Georgia,serif;letter-spacing:-.5px;margin:0}.modal-top p{font-size:11px;color:var(--muted);margin:9px 0 0}.close{background:#eff4fb;border-radius:50%;width:30px;height:30px;color:var(--muted);display:grid;place-items:center;flex:none}.draft-item{border:1px solid var(--line);border-radius:11px;padding:17px;margin-top:15px}.draft-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.draft-top strong{font-size:12px;font-weight:550}.draft-item .form-grid{grid-template-columns:1fr 1fr 1fr;gap:12px}.draft-item .wide{grid-column:1/-1}.draft-item input,.draft-item select{padding:9px;min-height:38px;font-size:12px}.draft-total{display:flex;justify-content:space-between;font-size:13px;padding:20px 0;border-bottom:1px solid var(--line)}.draft-total strong{font-size:19px}.audio-review{margin:18px 0}.audio-review audio{width:100%;height:45px}.timer{font-size:30px;font-variant-numeric:tabular-nums;font-weight:400;color:var(--accent);letter-spacing:2px}.record-center{text-align:center;padding:20px}.record-center .mic-button{margin:25px auto}.record-center small{display:block;color:var(--muted);font-size:11px}.correction-row{display:flex;gap:10px;margin:17px 0}.correction-row input{font-size:12px}.correction-row button{flex:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:var(--navy);color:white;padding:15px 22px;border-radius:10px;box-shadow:0 5px 30px #1232;max-width:90vw;font-size:12px;line-height:1.6}
.welcome{display:grid;grid-template-columns:1.15fr 1fr;min-height:100vh}.welcome-story{padding:55px 9%;background:var(--navy);color:#f5f8ff;display:flex;flex-direction:column;position:relative;overflow:hidden}.welcome-story .logo{font-size:48px}.welcome-story .eyebrow{color:#8ce7fa;margin-top:auto;padding-top:75px}.welcome-story h1{font-size:clamp(45px,5vw,72px);line-height:1.07;letter-spacing:-2px;max-width:600px}.welcome-story h1 em{color:#8ce7fa;font-weight:400}.welcome-story>p{color:#b7c8d2;font-size:14px;max-width:430px;line-height:1.9}.welcome-steps{display:grid;gap:24px;margin:40px 0 80px}.welcome-step{display:flex;align-items:center;gap:17px;font-size:12px;color:#ccdbdf}.step-num{font:italic 22px Georgia,serif;color:#8cc9ed;border-bottom:1px solid #365775;padding-bottom:5px;width:30px}.welcome-story footer{color:#8ba5b4;font-size:10px;margin-top:auto;line-height:1.7}.welcome-form{padding:55px 12%;display:flex;flex-direction:column;justify-content:center;background:#f9fcff}.welcome-form h2{font:400 34px Georgia,serif;letter-spacing:-1px}.welcome-form>p{color:var(--muted);font-size:12px}.auth-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:28px 0}.auth-tabs button{font-size:12px;background:none;color:var(--muted);padding:0 0 12px}.auth-tabs button.active{color:var(--accent);box-shadow:0 2px 0 var(--accent)}.auth-form{display:grid;gap:17px}.auth-form .btn{margin-top:5px}.welcome-divider{display:flex;align-items:center;gap:15px;font-size:10px;color:#8194a9;margin:25px 0}.welcome-divider:before,.welcome-divider:after{content:'';height:1px;background:var(--line);flex:1}.demo-cta{width:100%;background:#e6f1ff;color:#1159c3;border:1px solid #cddff5}.welcome-small{text-align:center;font-size:10px;color:var(--muted);line-height:1.8;margin-top:20px}.welcome-small a{color:inherit}.link-line{display:flex;justify-content:space-between;font-size:11px;margin-top:16px}.auth-notice{margin-top:20px;overflow-wrap:anywhere}.auth-notice a{display:block;margin-top:8px}.mobile-title{display:none}.online-warning{background:#f9eacb;color:#725113;text-align:center;font-size:12px;padding:10px}.connection-note{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.connection-note .icon{width:13px}
@keyframes recording{from{box-shadow:0 0 0 8px #f5dddd}to{box-shadow:0 0 0 15px #f5dddd66}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.content{padding-top:48px}.main-grid,.lower-grid{grid-template-columns:1.5fr 1fr}.voice-card{padding:34px}.metrics{margin:27px 0}}
@media(max-width:1150px){.sidebar{width:195px;padding:28px 17px}.shell{grid-template-columns:195px 1fr}.content{padding:28px 25px}.topbar{padding:0 25px}.main-grid,.lower-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr);gap:17px}.voice-card{padding:25px}.metric{padding:17px 14px}.metric-value{font-size:24px}.wave{display:none}.company-name{max-width:120px}.metrics{gap:10px}.topbar-date{display:none}}
@media(max-width:900px){.main-grid,.lower-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading .periods{margin-top:4px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-list{grid-template-columns:1fr 1fr}.welcome-story{padding:40px 10%}.welcome-form{padding:40px 9%}.welcome-story h1{font-size:45px}.welcome-steps{margin-bottom:40px}.grid2{grid-template-columns:1fr}.page-heading h1{font-size:32px}}
@media(max-width:650px){.shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:72px;padding:7px 8px max(7px,env(safe-area-inset-bottom));border-top:1px solid #385064}.sidebar>.logo,.sidebar>.byline,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:0}.nav-item{display:flex;flex-direction:column;gap:5px;justify-content:center;font-size:9px;min-width:54px;min-height:52px;padding:7px 9px}.nav-item .icon{width:18px;height:18px}.workspace{padding-bottom:72px}.topbar{height:65px;padding:0 19px;background:white}.breadcrumbs{display:none}.mobile-title{display:block;font:400 30px Georgia,serif;color:var(--navy);letter-spacing:-1px}.mobile-title span{font:8px sans-serif;letter-spacing:1px;margin-left:5px;color:var(--muted)}.topbar-right{gap:7px}.badge{font-size:9px;padding:6px 7px}.topbar .avatar{display:none}.topbar .btn{font-size:10px;padding:7px;min-height:32px}.content{padding:26px 18px 10px}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:33px;margin-bottom:9px}.page-heading p{font-size:11px}.page-heading .periods{margin-top:17px;width:max-content}.page-heading .btn{margin-top:14px}.voice-card{padding:25px 23px 19px;border-radius:16px}.voice-card h2{font-size:29px;max-width:280px}.voice-card>p{font-size:11px}.voice-action{margin:28px 0}.voice-bottom{flex-wrap:wrap}.voice-bottom small{font-size:8px}.mic-button{width:68px;height:68px}.focus-list{grid-template-columns:1fr}.metrics{gap:10px;margin:17px 0}.metric{padding:17px 14px}.metric-value{font-size:25px}.metric .metric-top{font-size:9px}.metric small{font-size:8px}.card{padding:22px 19px;border-radius:15px}.section-head h2{font-size:16px}.page-footer{display:block;font-size:8px}.page-footer span{display:block;margin-top:7px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.modal-inner{padding:23px 19px}.draft-item{padding:14px}.draft-item .form-grid{grid-template-columns:1fr 1fr}.draft-item .wide{grid-column:1/-1}.correction-row{flex-wrap:wrap}.correction-row input{width:100%}.welcome{display:block}.welcome-story{padding:25px 25px 35px}.welcome-story .logo{font-size:36px}.welcome-story .eyebrow{padding-top:40px;margin-top:0;font-size:9px;margin-bottom:12px}.welcome-story h1{font-size:42px;margin-bottom:17px}.welcome-story>p{font-size:12px;margin-bottom:0}.welcome-steps{display:none}.welcome-story footer{display:none}.welcome-form{padding:35px 25px}.welcome-form h2{font-size:29px}.auth-tabs{margin:20px 0 25px}.grid2{gap:16px}.indicator-value{font-size:14px}.filters{gap:9px}.filters select{flex:1;min-width:120px}.topbar-date{display:none}.table td,.table th{padding-left:6px;padding-right:10px}}
@media print{.sidebar,.topbar,.page-footer,.page-heading button,.report-links,.no-print{display:none}.shell{display:block}.workspace{margin:0;padding:0}.content{padding:0}.card{break-inside:avoid}.grid2{display:block}.notice{border:1px solid #aaa}body{background:white}}

.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.source-chip{display:flex;align-items:center;gap:8px;padding:10px;background:#f1f6fd;border-radius:7px;font-size:10px;color:var(--muted)}.source-chip strong{margin-left:auto;font-size:13px;color:var(--ink)}.source-chip .dot,.domain-item .dot{color:#adc0d3}.source-chip .available,.domain-item .available{color:var(--accent)}.direction-overview{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:25px 0}.direction-stat{padding:23px;background:#fff;border:1px solid var(--line);border-radius:13px}.direction-stat .eyebrow{font-size:9px;display:block;margin-bottom:8px}.direction-stat strong{font:400 36px Georgia,serif;display:block;margin-bottom:6px}.direction-stat>span:last-child{font-size:10px;color:var(--muted)}.context-row{padding:18px 0;border-bottom:1px solid var(--line)}.context-row h3{margin:9px 0}.context-row p{font-size:12px;color:#526b84;line-height:1.7;margin-bottom:9px}.context-row small{font-size:9px;color:var(--muted)}.recommendation{padding:19px 0;border-bottom:1px solid var(--line)}.recommendation h3{font-size:14px;line-height:1.6;margin-bottom:7px}.recommendation p{font-size:12px;color:#526b84}.recommendation small{font-size:10px;color:var(--muted)}.recommendation .eyebrow{font-size:8px;margin-bottom:10px}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.knowledge-card{min-width:0;overflow-wrap:anywhere}.knowledge-card p{font-size:12px;line-height:1.8;white-space:pre-wrap}.connector-card{display:flex;flex-direction:column;align-items:flex-start}.connector-card .row{width:100%}.connector-card .btn{margin-top:auto}.domain-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:25px}.domain-item{display:flex;align-items:center;gap:9px;font-size:11px;padding:12px;background:#f1f6fd;border-radius:7px}.domain-item strong{margin-left:auto;font-size:10px;color:var(--muted)}.decision-actions{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}.voice-card{border-radius:18px}.sidebar .nav-item{font-size:11px;padding:11px 9px}.sidebar .nav-item .icon{width:16px}.sidebar .nav-label{margin-top:30px}.privacy-note{margin-top:25px}@media(max-width:1000px){.domain-grid{grid-template-columns:1fr}.knowledge-grid{gap:15px}.direction-overview{gap:10px}.direction-stat{padding:17px}}@media(max-width:650px){.knowledge-grid{grid-template-columns:1fr}.direction-overview{grid-template-columns:1fr}.direction-stat{display:grid;grid-template-columns:55px 1fr;gap:0 10px;align-items:center;padding:16px}.direction-stat .eyebrow{grid-column:2;margin:0;font-size:8px}.direction-stat strong{grid-column:1;grid-row:1/3;font-size:30px;margin:0}.direction-stat>span:last-child{grid-column:2;font-size:10px;margin-top:6px}.sidebar{overflow-x:auto}.sidebar nav{justify-content:flex-start;min-width:max-content}.sidebar .nav-item{max-width:85px;font-size:8px;line-height:1.25;gap:5px;padding:6px 9px}.sidebar .nav-item span{max-width:70px}.source-grid{gap:8px}.source-chip{font-size:9px;padding:9px}.domain-item{font-size:10px}.voice-card h2{font-size:28px}.voice-card>p{font-size:12px;max-width:none}}

/* Palette Référence IA : bleu nuit, bleu et cyan repris du site principal. */
.btn.teal,.mic-button:not(.recording){background:linear-gradient(100deg,#1159c3,#16c1e9)}.btn.teal:hover,.mic-button:not(.recording):hover{background:linear-gradient(100deg,#0c469d,#087dc4)}.welcome-story{background:radial-gradient(ellipse at 85% 10%,#03475788,transparent 55%),#080b10}.sidebar{background:#071d32}.byline b{color:#16c1e9}

.email-preview{display:block;width:100%;height:470px;border:1px solid #d3e0f0;border-radius:8px;background:#edf3fa}.report-links{flex-wrap:wrap}

/* Application mobile Alma : micro central, zones tactiles et encoches. */
.mobile-nav{display:none}.install-card{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 24px}.install-card strong{font-size:12px}.install-card small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.install-card>.text-btn{margin-left:auto;white-space:nowrap;min-height:44px}.install-mark{width:37px;height:42px;border:1px solid #b9d1ed;border-radius:9px;background:#edf5ff;display:grid;place-items:center;color:var(--accent)}.install-guide{display:grid;gap:22px}.install-guide h3{font-size:18px}.install-guide .eyebrow{margin-bottom:9px}.install-guide ol{padding-left:22px;color:#496580;font-size:14px;line-height:1.8}.install-guide li{padding-left:4px;margin-bottom:8px}.mobile-menu{display:grid;gap:12px}.mobile-menu .btn{justify-content:flex-start;min-height:49px}
.talk-page{max-width:700px;margin:auto}.talk-card{background:radial-gradient(ellipse at 80% 0,#1159c355,transparent 65%),#071d32;color:white;text-align:center;border-radius:23px;padding:35px 35px 24px;border:1px solid #1a426d}.talk-card .eyebrow{color:#8ce7fa;font-size:9px}.talk-card h2{font:400 37px Georgia,serif;letter-spacing:-1px;margin-bottom:14px}.talk-card>p{max-width:420px;margin:0 auto;color:#bed0e4;font-size:13px;line-height:1.8}.talk-mic{display:grid;place-items:center;width:112px;height:112px;background:linear-gradient(135deg,#1159c3,#16c1e9);color:#fff;border-radius:50%;margin:34px auto 25px;box-shadow:0 0 0 10px #16c1e912,0 0 0 11px #16c1e92b}.talk-mic .icon{width:39px;height:39px;stroke-width:1.5}.talk-invitation{display:block;font-size:15px;font-weight:550}.talk-card>small{display:block;color:#91adca;font-size:11px;margin-top:8px}.talk-card>.text-btn{color:#bceafa;display:flex;justify-content:center;margin:22px auto 0;min-height:44px;font-size:12px}.talk-next{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.talk-next>.btn{font-size:12px}.talk-page>.form-help{line-height:1.8}
@media(max-width:650px){
  .shell>.sidebar{display:none}.workspace{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.topbar{height:auto;min-height:65px;padding-top:env(safe-area-inset-top)}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fff;border-top:1px solid var(--line);padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));min-height:76px;box-shadow:0 -6px 24px #071d3208}
  .mobile-nav>button{background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#687c91;font-size:10px;min-width:0;min-height:52px;border-radius:10px}.mobile-nav>button.active{color:#1159c3;background:#edf5ff}.mobile-nav .icon{width:21px;height:21px}.mobile-nav>.mobile-talk{background:linear-gradient(130deg,#1159c3,#16c1e9);color:#fff;margin:-20px 5px 0;min-height:64px;box-shadow:0 4px 15px #1159c322}.mobile-nav>.mobile-talk.active{background:#071d32;color:#8ce7fa}.mobile-nav>.mobile-talk .icon{width:26px;height:26px}
  input,textarea,select{font-size:16px}.btn{min-height:46px}.text-btn{min-height:44px}.modal-inner{padding-bottom:max(24px,env(safe-area-inset-bottom))}dialog{max-height:calc(100dvh - 28px)}.form-actions{gap:10px}.form-actions .btn{white-space:normal}.record-center .mic-button{width:92px;height:92px}.record-center .mic-button .icon{width:34px;height:34px}.audio-review audio{width:100%}
  .talk-page .page-heading{margin-bottom:23px}.talk-page .page-heading h1{font-size:34px}.talk-card{padding:27px 22px 20px;border-radius:20px}.talk-card h2{font-size:34px}.talk-card>p{font-size:12px}.talk-mic{margin-top:30px}.talk-next{gap:9px}.talk-next>.btn{padding:12px 9px;font-size:11px}.install-card{gap:10px;padding:9px 12px;margin-bottom:20px}.install-card strong{font-size:11px}.install-card small{font-size:9px;line-height:1.4}.install-card>.text-btn{font-size:11px}.install-mark{width:32px;flex:none}.install-card .icon{width:16px}
  .welcome-story{padding:22px 24px 25px}.welcome-story .eyebrow{padding-top:20px}.welcome-story h1{font-size:31px}.welcome-form{padding-top:26px}.welcome-form h2{font-size:27px}.welcome-form>.install-card{margin-top:23px}.welcome-form>.install-card .install-mark{display:none}
}
@media(prefers-reduced-motion:reduce){.mic-button.recording{animation:none}}
.setup-page{max-width:560px;margin:auto;padding:28px 24px max(32px,env(safe-area-inset-bottom));color:#071d32}.setup-brand{display:flex;align-items:baseline;gap:10px}.setup-brand .brand{font:34px Georgia,serif;letter-spacing:-2px}.setup-brand small{font-size:8px;letter-spacing:1.6px;color:#60758b}.setup-intro{text-align:center;margin:30px 0 22px}.setup-app-icon{width:64px;height:64px;background:#071d32;color:#8ce7fa;border-radius:17px;font:48px Georgia,serif;display:flex;align-items:center;justify-content:center;margin:0 auto 23px;box-shadow:0 7px 22px #071d3218}.setup-app-icon span{font:21px Georgia,serif;align-self:flex-start;margin:8px 0 0 -5px}.setup-intro .eyebrow{font-size:8px;letter-spacing:1.7px}.setup-intro h1{font:37px Georgia,serif;letter-spacing:-1.5px;margin:12px 0 10px}.setup-intro p{font-size:14px;color:#526b84}.setup-devices{display:flex;justify-content:center;background:#e7effa;border-radius:10px;padding:4px;margin:0 auto 22px;max-width:280px}.setup-devices button{width:50%;min-height:42px;background:transparent;color:#536d87;border-radius:8px;font-size:13px}.setup-devices button[aria-pressed=true]{background:#fff;color:#1159c3;box-shadow:0 2px 6px #071d320b}.setup-steps{list-style:none;margin:0;padding:0;display:grid;gap:11px}.setup-steps li{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #d5e1ef;border-radius:13px;padding:17px 15px}.setup-number{flex:none;width:24px;height:24px;border-radius:50%;background:#edf5ff;color:#1159c3;display:grid;place-items:center;font-size:12px;font-weight:600}.setup-steps h2{font:600 15px sans-serif;margin:3px 0 8px;letter-spacing:0}.setup-steps p{font-size:12px;line-height:1.7;color:#536d87;margin:0}.setup-symbol{color:#1159c3;margin-left:auto;flex:none}.setup-symbol .icon{width:25px;height:25px}.setup-after{display:flex;gap:12px;align-items:center;background:#071d32;color:#c1d5eb;padding:17px 19px;border-radius:13px;margin-top:18px}.setup-after>.icon{width:27px;height:27px;flex:none;color:#8ce7fa}.setup-after p{font-size:12px;line-height:1.8;margin:0}.setup-after strong{color:#fff;font-weight:500}.setup-note{font-size:11px;color:#60758b;line-height:1.7;text-align:center;margin:17px 0 5px}.setup-browser{display:block;text-align:center;padding:12px;color:#1159c3;font-size:12px;text-decoration:underline;min-height:44px}@media(max-width:400px){.setup-page{padding:20px 18px 28px}.setup-intro{margin-top:23px}.setup-intro h1{font-size:33px}.setup-app-icon{margin-bottom:19px}.setup-symbol{display:none}}
@media print{.mobile-nav,.install-card{display:none!important}}

@media(max-width:650px) and (max-height:740px){.talk-page .page-heading h1{font-size:28px}.talk-page .page-heading .eyebrow{margin-bottom:6px}.talk-page .page-heading{margin-bottom:16px}.talk-card{padding:22px 20px 16px}.talk-card h2{font-size:30px}.talk-card>p{font-size:11px}.talk-mic{width:92px;height:92px;margin:25px auto 19px}.talk-mic .icon{width:33px;height:33px}.talk-card>.text-btn{margin-top:15px}}

@media(max-width:400px){.setup-steps li:first-child .setup-symbol{display:block}}

.memory-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(130px,1fr) auto auto;gap:12px;align-items:end}.memory-filters label{margin:0}.memory-results{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:22px}.memory-results p{margin:0}.memory-results .row{align-items:center}.memory-filters .btn,.memory-filters .text-btn{min-height:44px}@media(max-width:1000px){.memory-filters{grid-template-columns:1fr 1fr}.memory-filters label:first-child{grid-column:1/-1}.memory-results{align-items:flex-start;flex-direction:column}}@media(max-width:400px){.memory-filters{grid-template-columns:1fr}.memory-filters label:first-child{grid-column:auto}}

.draft-item details summary{cursor:pointer;min-height:44px;padding:12px 0;line-height:20px}

.pdf-page-preview{display:block;max-width:100%;max-height:560px;margin:12px auto;border:1px solid var(--line,#d7e2ed);object-fit:contain;background:white}

/* Compte rendu de direction : lecture rédigée avant les pièces d'appui. */
.meeting-summary{border-top:3px solid var(--accent,#16c1e9)}
.meeting-summary>p,.meeting-topic>p,.meeting-conclusion>p{font-size:1.02rem;line-height:1.85;max-width:78ch;white-space:pre-line}
.meeting-topic{padding:24px 0;border-bottom:1px solid #e3eaf4}.meeting-topic:first-of-type{padding-top:14px}.meeting-topic:last-child{border-bottom:0;padding-bottom:0}
.meeting-topic h2{font-size:1.4rem;max-width:65ch}.meeting-implication{margin-top:18px;border-left:3px solid #16c1e9;padding-left:18px}.meeting-implication h3{font-size:.94rem;margin-bottom:8px}.meeting-implication p{line-height:1.8;max-width:78ch;white-space:pre-line}
.briefing-sources{margin-top:16px;font-size:.8rem;color:#496580}.briefing-sources summary{cursor:pointer}.meeting-conclusion{background:#f4f8fd}.meeting-evidence>summary{cursor:pointer;font-weight:600}.meeting-evidence li{line-height:1.7;margin-bottom:9px}

/* One readable guide per connector, with an explicit place for each step. */
.connector-card .connector-help{font-size:11px;gap:6px;margin:0 0 12px;min-height:36px;text-align:left}.connector-guide{font-size:13px;line-height:1.75;overflow-wrap:anywhere}.connector-guide section{margin:22px 0}.connector-guide h3{font-size:14px;margin:0 0 8px}.connector-guide-steps{padding-left:24px;display:grid;gap:15px}.connector-guide-steps li{padding-left:5px}.connector-guide-steps li::marker{font-weight:600;color:var(--navy)}.connector-guide-steps strong{color:var(--navy);font-size:12px}.connector-guide-steps p{margin:3px 0 0}.connector-guide-trouble{border-top:1px solid var(--line);padding-top:14px}.connector-guide-trouble summary{cursor:pointer;font-weight:600;min-height:40px}.connector-guide a{overflow-wrap:anywhere}.connector-help:focus-visible,.connector-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}@media(max-width:650px){.connector-card .connector-help{min-height:44px}.connector-guide{font-size:14px}.connector-guide-steps{gap:18px}.connector-guide .form-actions .btn{width:100%}}

/* Comparison lights are semantic markers, preserving the blue product identity. */
.comparison-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.comparison-table th,.comparison-table td{text-align:left;vertical-align:top;padding:14px 10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.comparison-table th:first-child{width:40%}.comparison-table td strong,.comparison-table td small{display:block}.comparison-table td small{font-size:10px;color:var(--muted);margin-top:5px}.comparison-signal{display:block;font-size:10px;font-weight:700;margin-bottom:6px}.comparison-signal.green{color:#18783a}.comparison-signal.orange{color:#9a5a00}.comparison-signal.red{color:#b42332}.comparison-signal.gray{color:#65758b}#report-schedule-form [hidden]{display:none}@media(max-width:600px){.comparison-table{font-size:10px}.comparison-table td,.comparison-table th{padding:10px 4px}.comparison-table th:first-child{width:34%}}

.report-legend{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f4f8fd;margin:18px 0;font-size:12px}.report-legend>strong{display:block;margin-bottom:8px}.report-legend ul{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0;margin:0;list-style:none}.report-legend li{margin:0;line-height:1.7}.report-legend .green{color:#18783a}.report-legend .orange{color:#9a5a00}.report-legend .red{color:#b42332}.report-legend .gray{color:#65758b}

.report-controls{display:grid;justify-items:start;gap:12px;max-width:340px;min-width:0;flex-shrink:0}.report-schedule-tools{display:grid;justify-items:start;gap:8px}.report-schedule-tools small{font-size:10px;line-height:1.6;max-width:32em}.page-heading .report-schedule-tools .btn{margin-top:0}@media(max-width:650px){.report-controls{margin-top:17px;max-width:100%}.page-heading .report-controls .periods{margin-top:0}}

.report-visual>h2{font:400 28px/1.2 Georgia,serif}.stat-period{display:flex;flex-wrap:wrap;gap:6px 16px;margin:14px 0;font-size:12px}.stat-period span{color:var(--muted)}.report-visual .report-legend{padding:12px;margin:16px 0 20px;font-size:11px}.report-visual .report-legend>strong{font-size:10px}.report-visual .report-legend li{font-size:10px}.stat-grid,.stat-projection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stat-metric{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fbfdff;min-width:0}.stat-metric-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-metric h3,.stat-projection h3{font-size:13px;font-weight:600;margin:0;color:var(--navy)}.stat-dot{display:block;width:9px;height:9px;border-radius:50%;flex:none}.stat-dot.green{background:#18783a}.stat-dot.red{background:#b42332}.stat-dot.orange{background:#9a5a00}.stat-dot.gray{background:#65758b}.stat-metric-value{font-size:29px;line-height:1.3;color:var(--navy);font-weight:600;margin:16px 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;overflow-wrap:anywhere}.stat-badge{font:600 12px/1.4 Inter,Arial,sans-serif;padding:4px 8px;border-radius:6px;background:#eaf1fa}.stat-badge.green{color:#18783a;background:#e9f5ee}.stat-badge.orange{color:#9a5a00;background:#fff2dc}.stat-badge.red{color:#b42332;background:#fcebed}.stat-badge.gray{color:#65758b}.stat-bars{display:grid;gap:10px}.stat-bar-row{display:grid;grid-template-columns:48px minmax(0,1fr) 90px;gap:9px;align-items:center;font-size:10px;color:var(--muted)}.stat-bar-row>b{font-size:10px;font-weight:500;color:var(--navy);text-align:right;overflow-wrap:anywhere}.stat-track{height:9px;background:#edf2f8;border-radius:3px;position:relative}.stat-fill{display:block;height:100%;border-radius:3px;box-sizing:border-box}.stat-fill.previous{background:#b9cce5}.stat-fill.current{background:#1159c3}.stat-fill.scenario{background:repeating-linear-gradient(120deg,#fff,#fff 3px,#e0ebfd 3px,#e0ebfd 6px);border:1px dashed #1159c3}.stat-caution{font-size:10px;color:#9a5a00;margin:12px 0 0}.stat-footnote{font-size:10px;line-height:1.65;color:var(--muted);margin:14px 0 0}.stat-outlook{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.stat-outlook h2{font:400 24px Georgia,serif;margin:0 0 18px}.stat-projection{padding:18px;border:1px dashed #8caee4;border-radius:12px;background:#f6faff;min-width:0}.stat-scenario-tag{font-size:9px;letter-spacing:1px;color:#1159c3;display:block;margin-bottom:11px}.stat-projection-value{display:block;font-size:25px;color:#1159c3;font-weight:600;margin:12px 0 0;overflow-wrap:anywhere}.stat-projection>.small{font-size:10px;color:var(--muted);margin:6px 0 14px}.stat-details{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.stat-details>summary{cursor:pointer;color:#1159c3;font-size:12px;font-weight:600;padding:4px 0}.stat-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.stat-secondary-grid article{padding:14px;background:#f7faff;border-radius:10px}.stat-secondary-grid h3{font-size:12px;margin:6px 0}.stat-secondary-grid strong{font-size:19px;color:var(--navy)}@media(max-width:760px){.stat-grid,.stat-projection-grid{grid-template-columns:1fr}.stat-metric{padding:17px}.stat-metric-value{font-size:28px}.report-visual>h2{font-size:25px}.stat-secondary-grid{grid-template-columns:1fr}.report-visual .report-legend ul{gap:6px 14px}.stat-bar-row{grid-template-columns:43px minmax(0,1fr) 78px;gap:7px}}@media print{.stat-details{display:none}.stat-grid,.stat-projection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-metric,.stat-projection{break-inside:avoid}}

.stat-origin{font-size:9px;color:var(--muted);margin:5px 0 0}

.stat-svg{display:block;width:100%;height:100%;overflow:visible}

.stat-caution.gray{color:#65758b}

.stat-period-status{font-size:12px;color:#1159c3;font-weight:600;margin:12px 0}.report-scope-banner{padding:14px 16px;background:#edf5ff;border:1px solid #d2e2f6;border-radius:10px;font-size:12px;line-height:1.7;color:#496580;margin:16px 0}.report-scope-banner strong{color:#071d32}.report-scope-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin:16px 0 22px;font-size:12px}.report-scope-links a{color:#1159c3;text-underline-offset:3px}.stat-observed-title{font-size:15px;color:#071d32;margin:0 0 6px}#report-observed,#report-outlook{scroll-margin-top:20px}.stat-more-results{margin-top:26px;border-top:1px solid var(--line);padding-top:22px}.stat-more-results>h2{font:400 23px Georgia,serif;margin-bottom:18px}

.stat-card-scope{font-size:12px;font-weight:700;line-height:1.5;color:#1159c3;background:#edf5ff;padding:7px 9px;border-radius:6px;margin:12px 0 0}.report-period-shortcuts{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}.report-scope-banner>strong{display:block;font-size:15px;margin-bottom:6px}

.stat-country-group{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.stat-country-group h2{font:400 24px Georgia,serif}.country-share{width:70px;height:8px;display:inline-block;vertical-align:middle;margin-right:8px}

/* Palette de la présentation et de la connexion Alma */
:is(.alma-welcome, .welcome:has(> .welcome-story), body:has(#root > .setup-page), :root:has(#root .shell)) {
  --alma-ink: #25183d;
  --alma-muted: #514568;
  --alma-accent: #623fb0;
  --alma-deep: #4e2d99;
  --alma-line: #dcd1ee;
  --alma-soft: #f2edff;
  --alma-surface: #fdfbff;
  --alma-lavender: #e6dcfa;
  --alma-pink: #f8e9f3;
}
.alma-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  min-height: 100vh;
  gap: clamp(20px, 4vw, 58px);
  padding: 0 max(25px, calc((100% - 1260px) / 2)) clamp(30px, 6vw, 72px);
  color: var(--alma-ink);
  background: radial-gradient(ellipse at 18% 28%, #eae1fb 0%, transparent 62%), #faf8ff;
}
.alma-public-header {
  grid-column: 1 / -1;
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 16px;
  border-bottom: 1px solid var(--alma-line);
}
.alma-public-header nav { display: flex; flex-wrap: wrap; gap: 2px; }
.alma-public-header a, .alma-public-header button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--alma-ink);
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
}
.alma-public-header .alma-wordmark { padding-left: 0; font-size: 18px; gap: 3px; }
.alma-wordmark strong, .alma-public-header [aria-current] { color: var(--alma-accent); }
.alma-public-header nav a:hover, .alma-public-header button:hover { background: var(--alma-soft); }
.alma-welcome .welcome-story {
  display: block;
  padding: clamp(25px, 4.5vw, 58px);
  border: 1px solid var(--alma-line);
  border-radius: 24px;
  background: linear-gradient(140deg, var(--alma-surface) 20%, var(--alma-soft) 100%);
  color: var(--alma-ink);
}
.alma-welcome .welcome-story .alma-kicker {
  margin: 0 0 14px;
  color: var(--alma-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
}
.alma-welcome .welcome-story h1 {
  margin: 0 0 20px;
  font-size: clamp(2.15rem, 4.3vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--alma-ink);
}
.alma-welcome .welcome-story h1 em {
  color: var(--alma-accent);
  font-style: normal;
}
.alma-welcome .welcome-story > p {
  max-width: 54ch;
  margin: 0;
  color: var(--alma-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.alma-benefits {
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
}
.alma-benefits li {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--alma-line);
  padding-top: 12px;
}
.alma-benefits span { color: var(--alma-muted); font-size: .88rem; }
.alma-welcome .welcome-form {
  min-width: 0;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid var(--alma-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px #4e2d990d;
}
.alma-welcome .welcome-form h2 {
  margin: 0 0 8px;
  color: var(--alma-ink);
  font: 650 clamp(1.55rem, 2.4vw, 2.05rem)/1.2 system-ui, sans-serif;
  letter-spacing: -.028em;
}
.alma-welcome .alma-form-intro { color: var(--alma-muted); font-size: .92rem; line-height: 1.55; }
.alma-welcome .auth-tabs { gap: 18px; margin: 14px 0 18px; border-color: var(--alma-line); }
.alma-welcome .auth-tabs button { min-height: 44px; padding: 8px 4px; color: var(--alma-muted); font-size: .92rem; }
.alma-welcome .auth-tabs button.active { color: var(--alma-accent); box-shadow: 0 2px var(--alma-accent); }
.alma-welcome .auth-form { gap: 13px; }
.alma-welcome .auth-form label { color: var(--alma-ink); }
.alma-welcome .auth-form input { border-color: #c6b6e4; accent-color: var(--alma-accent); }
.alma-welcome .auth-form .btn.teal {
  background: var(--alma-accent);
  color: #fff;
  min-height: 46px;
}
.alma-welcome .auth-form .btn.teal:hover { background: var(--alma-deep); }
.alma-welcome .text-btn, .alma-welcome .welcome-small a { color: var(--alma-accent); }
.alma-welcome :is(a, button, input):focus-visible {
  outline: 2px solid var(--alma-accent);
  outline-offset: 3px;
}
.alma-welcome .auth-notice:empty, .alma-welcome .form-error:empty { display: none; }
.alma-welcome .welcome-small { margin: 16px 0 0; text-align: left; font-size: .8rem; }
@media (max-width: 800px) {
  .alma-welcome { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-inline: 16px; }
  .alma-public-header { min-height: 58px; }
  .alma-welcome .welcome-story, .alma-welcome .welcome-form { border-radius: 16px; }
  .alma-welcome .welcome-story { padding: 22px; }
  .alma-welcome .welcome-story h1 { margin-bottom: 12px; }
  .alma-benefits { margin-top: 18px; gap: 8px; }
}
@media (max-width: 450px) {
  .alma-public-header nav { order: 2; width: 100%; }
  .alma-public-header { gap: 0 8px; }
  .alma-welcome .welcome-story h1 { font-size: clamp(1.95rem, 8.7vw, 2.45rem); }
  .alma-benefits span { font-size: .82rem; }
}

.alma-public-header .alma-signup-link {
  padding-inline: 15px;
  color: #fff;
  background: var(--alma-accent);
}
.alma-public-header .alma-signup-link:hover { background: var(--alma-deep); }

/* Présentation commerciale Alma */
.alma-presentation {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.alma-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.alma-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  padding: clamp(25px, 5vw, 64px);
  border: 1px solid var(--alma-line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 95% 100%, var(--alma-pink), transparent 55%),
    linear-gradient(135deg, #f9f6ff, var(--alma-soft) 56%, var(--alma-lavender));
}
.alma-presentation .alma-kicker {
  margin: 0 0 12px;
  color: var(--alma-accent);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .10em;
}
.alma-hero h1 {
  margin: 0 0 18px;
  color: var(--alma-ink);
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.alma-hero h1 em { display: block; color: var(--alma-accent); font-style: normal; }
.alma-hero-copy > p:not(.alma-kicker),
.alma-example > p:not(.alma-kicker),
.alma-auth-intro p,
.alma-overview article p {
  margin: 0;
  color: var(--alma-muted);
  line-height: 1.65;
}
.alma-hero-copy > p:not(.alma-kicker) { max-width: 50ch; font-size: clamp(.96rem, 1.4vw, 1.13rem); }
.alma-hero .alma-signup-link {
  margin-top: 23px;
  background: var(--alma-accent);
  color: #fff;
}
.alma-hero .alma-signup-link:hover { background: var(--alma-deep); }
.alma-example {
  padding: clamp(19px, 3vw, 34px);
  border: 1px solid var(--alma-line);
  border-radius: 18px;
  background: var(--alma-surface);
}
.alma-example h2, .alma-overview h2, .alma-auth-intro h2 {
  margin: 0 0 12px;
  color: var(--alma-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.16;
}
.alma-example ul {
  margin: 15px 0 0;
  padding-left: 1.15em;
  color: var(--alma-deep);
  line-height: 1.65;
}
.alma-example li::marker { color: var(--alma-accent); }
.alma-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.alma-overview article {
  padding: clamp(17px, 2.6vw, 28px);
  border: 1px solid var(--alma-line);
  border-radius: 16px;
  background: var(--alma-surface);
}
.alma-overview h3 { margin: 0 0 8px; color: var(--alma-ink); font-size: 1.06rem; }
.alma-auth-area { width: min(100%, 560px); margin-inline: auto; }
.alma-auth-with-intro {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(16px, 5vw, 68px);
}
.alma-auth-intro {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--alma-line);
  border-radius: 16px;
  background: var(--alma-soft);
}
.alma-presentation #inscription { scroll-margin-top: 18px; }
.alma-presentation .welcome-form h1 {
  margin: 0 0 8px;
  color: var(--alma-ink);
  font: 650 clamp(1.55rem, 2.4vw, 2.05rem)/1.2 system-ui, sans-serif;
  letter-spacing: -.028em;
}
@media (max-width: 800px) {
  .alma-hero, .alma-auth-with-intro { grid-template-columns: minmax(0, 1fr); }
  .alma-hero { border-radius: 18px; }
}
@media (max-width: 560px) {
  .alma-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .alma-header-actions { gap: 2px 4px; }
  .alma-header-actions :is(a, button) { padding-inline: 7px; }
}

/* Cas d’usage et illustration de la mémoire d’Alma */
.alma-daily h2 {
  margin: 0 0 14px;
  color: var(--alma-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.16;
}
.alma-daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.alma-daily-grid article {
  padding: clamp(18px, 3.1vw, 33px);
  border: 1px solid var(--alma-line);
  border-radius: 16px;
  background: var(--alma-surface);
}
.alma-daily-grid h3 {
  margin: 0;
  color: var(--alma-ink);
  font-size: clamp(1.1rem, 1.9vw, 1.36rem);
}
.alma-daily-grid blockquote {
  margin: 14px 0;
  padding: 9px 12px;
  border-left: 3px solid #bf8bb7;
  border-radius: 0 8px 8px 0;
  background: var(--alma-pink);
  color: var(--alma-deep);
  font-weight: 650;
  line-height: 1.5;
}
.alma-daily-grid p, .alma-memory p {
  margin: 0;
  color: var(--alma-muted);
  line-height: 1.65;
}
.alma-memory {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(250px, 29vw, 350px);
  padding: clamp(24px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid var(--alma-line);
  border-radius: 22px;
  background: radial-gradient(ellipse at 75% 55%, var(--alma-pink), transparent 62%), #f9f4ff;
}
.alma-memory-brain {
  position: absolute;
  z-index: -1;
  inset-block-start: 51%;
  inset-inline-end: 4%;
  width: min(56%, 492px);
  height: auto;
  transform: translateY(-50%);
  opacity: .31;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent 3%, #000 47%, #000 93%, transparent);
  pointer-events: none;
}
.alma-memory-copy { max-width: 54ch; }
.alma-memory h2 {
  margin: 0 0 13px;
  color: var(--alma-ink);
  font-size: clamp(1.85rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
@media (max-width: 700px) {
  .alma-memory {
    min-height: 246px;
    border-radius: 16px;
  }
  .alma-memory-brain {
    inset-block-start: 51%;
    inset-inline-end: -3%;
    width: min(92%, 350px);
    opacity: .23;
  }
}
@media (max-width: 600px) {
  .alma-daily-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Navigation et inscription sur la page publique d’Alma */
.alma-public-header { position: relative; }
.alma-public-header .alma-main-menu { align-items: center; gap: 0; }
.alma-public-header .alma-main-menu a {
  padding-inline: clamp(4px, .55vw, 8px);
  font-size: .84rem;
  white-space: nowrap;
}
.alma-header-actions { flex-wrap: nowrap; gap: 8px; }
.alma-header-actions details { position: relative; }
.alma-header-actions summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid var(--alma-line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--alma-ink);
  font-size: .88rem;
  font-weight: 650;
  list-style: none;
  white-space: nowrap;
}
.alma-header-actions summary::-webkit-details-marker { display: none; }
.alma-header-actions summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
}
.alma-header-actions details[open] summary { background: var(--alma-soft); }
.alma-public-header .alma-nav-panel {
  position: absolute;
  z-index: 4;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  display: grid;
  width: max-content;
  min-width: 156px;
  padding: 5px;
  border: 1px solid var(--alma-line);
  border-radius: 12px;
  background: var(--alma-surface);
  box-shadow: 0 14px 28px #4e2d991f;
}
.alma-public-header .alma-nav-panel a { width: 100%; padding-inline: 13px; }
.alma-public-header .alma-mobile-menu { display: none; }
.alma-public-header :is(summary, a, button):focus-visible,
.alma-public-footer a:focus-visible {
  outline: 2px solid var(--alma-accent);
  outline-offset: 3px;
}
.alma-auth-with-intro { align-items: stretch; gap: clamp(16px, 3vw, 32px); }
.alma-auth-intro {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3.2vw, 42px);
  border-radius: 24px;
}
.alma-signup-steps {
  display: grid;
  flex: 1;
  align-content: space-evenly;
  gap: 14px;
  margin: 20px 0;
  padding-left: 1.4em;
}
.alma-signup-steps li { padding: 0 0 12px 5px; border-bottom: 1px solid var(--alma-line); }
.alma-signup-steps li::marker { color: var(--alma-accent); font-weight: 750; }
.alma-signup-steps strong { display: block; color: var(--alma-ink); }
.alma-signup-steps span { display: block; margin-top: 3px; color: var(--alma-muted); line-height: 1.5; }
.alma-auth-intro .alma-signup-help { margin-top: auto; }
.alma-signup-help a { color: var(--alma-accent); font-weight: 650; }
.alma-public-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--alma-line);
  border-radius: 20px;
  background: linear-gradient(110deg, var(--alma-soft) 65%, #f8eff8);
  color: var(--alma-ink);
}
.alma-public-footer h2 {
  margin: 0 0 4px;
  font: 700 .95rem/1.3 system-ui, sans-serif;
  color: var(--alma-ink);
}
.alma-public-footer :is(nav, .alma-footer-brand) { display: grid; align-content: start; gap: 5px; }
.alma-public-footer p { margin: 0; color: var(--alma-muted); }
.alma-public-footer a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 32px;
  color: var(--alma-deep);
  text-underline-offset: 3px;
}
.alma-public-footer .alma-wordmark { gap: 4px; color: var(--alma-ink); font-size: 1.12rem; font-weight: 750; text-decoration: none; }
@media (max-width: 1120px) {
  .alma-public-header .alma-main-menu { display: none; }
  .alma-public-header .alma-mobile-menu { display: block; }
}
@media (max-width: 540px) {
  .alma-public-header { justify-content: space-between; padding-bottom: 6px; }
  .alma-header-actions { width: 100%; justify-content: flex-start; gap: 6px; }
  .alma-header-actions .alma-signup-link { margin-inline-start: auto; }
  .alma-header-actions details { position: static; }
  .alma-public-header .alma-nav-panel { inset-inline: 0; width: auto; }
  .alma-public-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .alma-footer-brand { grid-column: 1 / -1; }
}

/* Retours de validation et état de l’inscription Alma */
.alma-welcome .auth-form[hidden] { display: none; }
.alma-welcome .alma-registration-field label { margin-bottom: 0; }
.alma-registration-field small {
  display: block;
  margin-top: 4px;
  color: var(--alma-muted);
  font-size: .8rem;
}
.alma-welcome .alma-registration-field [aria-invalid="true"] { border-color: var(--red); }
.alma-field-error, .alma-register-progress { margin: 5px 0 0; line-height: 1.4; }
.alma-field-error { color: var(--red); font-size: .84rem; }
.alma-register-progress { color: var(--alma-deep); font-size: .9rem; }
.alma-field-error:empty, .alma-register-progress:empty { display: none; }
.alma-welcome #page-error:not(:empty) {
  padding: 12px 14px;
  border: 1px solid #e8bec7;
  border-radius: 8px;
  background: #fff4f6;
  font-size: .9rem;
}
.alma-confirmation-actions { margin-top: 12px; }


.alma-presentation .alma-landing-access {
  width: min(100%, 660px);
  margin-inline: auto;
  justify-self: center;
  grid-column: 1 / -1;
}
.alma-landing-access > .btn { margin-top: 14px; }

/* Formulaires de connexion et de récupération du compte Alma. */
.welcome:has(> .welcome-story) {
  --ink: var(--alma-ink);
  --muted: var(--alma-muted);
  --line: var(--alma-line);
  --accent: var(--alma-accent);
  --cyan: var(--alma-accent);
  color: var(--alma-ink);
  background: var(--alma-surface);
}
.welcome:has(> .welcome-story) > .welcome-story {
  color: var(--alma-ink);
  background: radial-gradient(ellipse at 94% 9%, var(--alma-pink), transparent 56%),
    linear-gradient(145deg, var(--alma-lavender), var(--alma-surface));
}
.welcome:has(> .welcome-story) > .welcome-form {
  color: var(--alma-ink);
  background: var(--alma-surface);
}
.welcome:has(> .welcome-story) .welcome-story :is(.byline, .welcome-step, p, footer) {
  color: var(--alma-muted);
}
.welcome:has(> .welcome-story) :is(.eyebrow, .byline b, .welcome-story .logo, .welcome-story h1 em, .text-btn, .welcome-small a) {
  color: var(--alma-accent);
}
.welcome:has(> .welcome-story) :is(.step-num, .install-mark) {
  color: var(--alma-deep);
  background: var(--alma-soft);
  border-color: var(--alma-line);
}
.welcome:has(> .welcome-story) .auth-form .btn.teal {
  background: var(--alma-accent);
  color: #fff;
}
.welcome:has(> .welcome-story) .auth-form .btn.teal:hover {
  background: var(--alma-deep);
}

/* Guide d’installation Alma sur iPhone et Android. */
body:has(#root > .setup-page) {
  background: radial-gradient(ellipse at 15% 10%, var(--alma-pink), transparent 55%),
    var(--alma-surface);
}
.setup-page {
  --accent: var(--alma-accent);
  --cyan: var(--alma-accent);
  color: var(--alma-ink);
}
.setup-page :is(.setup-brand small, .setup-intro p, .setup-devices button, .setup-steps p, .setup-note) {
  color: var(--alma-muted);
}
.setup-page :is(.setup-brand .brand, .setup-intro .eyebrow, .setup-symbol, .setup-browser, .setup-steps a) {
  color: var(--alma-accent);
}
.setup-page .setup-app-icon {
  color: var(--alma-soft);
  background: var(--alma-deep);
  box-shadow: 0 7px 22px #4e2d9926;
}
.setup-page :is(.setup-devices, .setup-number) { background: var(--alma-soft); }
.setup-page :is(.setup-devices button[aria-pressed="true"], .setup-number) { color: var(--alma-deep); }
.setup-page .setup-steps li { border-color: var(--alma-line); }
.setup-page .setup-after {
  color: var(--alma-ink);
  background: var(--alma-lavender);
}
.setup-page :is(.setup-after > .icon, .setup-after strong) { color: var(--alma-deep); }

/* Palette Alma dans l’espace connecté et ses fenêtres. */
:root:has(#root .shell) {
  --navy: #291c41;
  --navy2: #221632;
  --ink: var(--alma-ink);
  --muted: var(--alma-muted);
  --line: var(--alma-line);
  --paper: #faf7ff;
  --accent: var(--alma-accent);
  --ice: var(--alma-soft);
  --cyan: #8968c8;
}
.shell .sidebar {
  background: linear-gradient(170deg, #382453, var(--navy2) 80%);
  color: var(--alma-lavender);
}
.shell .logo i { background: #edb9d9; }
.shell .byline, .shell .nav-label, .shell .company small { color: #cab9e3; }
.shell .byline b, .shell .privacy-note .icon { color: #edb9d9; }
.shell .nav-item, .shell .privacy-note, .shell .company-name { color: #ede3fa; }
.shell .nav-item:hover { background: #493464; color: white; }
.shell .nav-item.active { background: #5b4079; color: white; }
.shell .privacy-note, .shell .company { border-color: #533e6d; }
.shell .topbar { background: var(--alma-surface); }
.shell .breadcrumbs span { color: #8b779e; }
.shell .avatar { background: var(--alma-lavender); color: var(--alma-deep); }
.shell .workspace {
  background: radial-gradient(ellipse at top right, var(--alma-pink), transparent 45%) var(--paper);
}
.shell .page-heading h1 { color: var(--alma-deep); }
.shell .periods button.active { background: var(--accent); }
.shell .voice-card {
  background: linear-gradient(130deg, var(--alma-soft), var(--alma-pink));
  border-color: var(--line);
}
.shell .talk-card {
  background: radial-gradient(ellipse at top right, #64427e, transparent 70%), var(--navy);
  border-color: #64427e;
}
.shell .talk-card .eyebrow, .shell .talk-card > .text-btn { color: #f2c7e4; }
.shell .talk-card > p, .shell .talk-card > small { color: var(--alma-lavender); }
.shell .talk-mic {
  background: linear-gradient(135deg, var(--alma-deep), #8853ad);
  box-shadow: 0 0 0 10px #e6dcfa21, 0 0 0 11px #e6dcfa49;
}
.shell .mic-button:not(.recording),
:root:has(#root .shell) :is(.shell, #modal) .btn.teal {
  background: linear-gradient(120deg, var(--alma-deep), #8853ad);
}
.shell .mic-button { box-shadow: 0 0 0 9px #e6d8f3, 0 0 0 10px #d2bde8; }
.shell .wave { color: #8968c8; }

.shell :is(.voice-card > p, .voice-bottom small, .focus-foot, .context-row p,
  .recommendation p, .page-footer, .metric small, .metric .icon, .entry-amount small,
  .bar-row > span:last-child, .briefing-sources) { color: var(--muted); }
.shell :is(.voice-bottom, .entry-row, .table td, .meeting-topic, .meeting-implication) {
  border-color: var(--line);
}
.shell :is(.source-chip, .domain-item, .install-mark, .entry-icon, .badge.green, .stat-card-scope),
:root:has(#root .shell) #modal .close {
  background: var(--alma-soft);
  border-color: var(--line);
  color: var(--alma-deep);
}
.shell .badge:not(.demo):not(.green), .shell .entry-row:hover { background: var(--alma-surface); }
.shell .entry-icon.income { color: var(--accent); }
.shell .stat-fill.current { background: var(--accent); }
.shell .stat-fill.previous { background: #c9b6e5; }
.shell .stat-fill.scenario {
  border-color: var(--accent);
  background: repeating-linear-gradient(135deg, white 0 4px, var(--alma-lavender) 4px 8px);
}
.shell :is(.stat-projection-value, .stat-details > summary, .stat-scenario-tag,
  .stat-period-status, .report-scope-links a) { color: var(--accent); }
.shell :is(.stat-track, .stat-metric, .stat-projection, .stat-secondary-grid article, .report-legend,
  .meeting-conclusion, .detail-source) { background: var(--alma-surface); border-color: var(--line); }

:root:has(#root .shell) :is(.shell, #modal) :is(label, .install-guide ol) { color: var(--muted); }
:root:has(#root .shell) :is(.shell, #modal) :is(input, select, textarea) {
  border-color: #c6b6e4;
  accent-color: var(--accent);
}
:root:has(#root .shell) :is(.shell, #modal) .btn:not(.secondary, .ghost, .danger):hover,
.shell .mic-button:not(.recording):hover { background: var(--alma-deep); }
:root:has(#root .shell) :is(.shell, #modal) .btn.secondary:hover { background: var(--alma-soft); }
:root:has(#root .shell) :is(.shell, #modal) :is(.notice:not(.warning, .error), .report-scope-banner) {
  background: var(--alma-soft);
  border-color: var(--line);
  color: var(--alma-muted);
}
:root:has(#root .shell) #modal::backdrop { background: #291c4177; }

:root:has(#root .shell) #root .mobile-nav { background: var(--alma-surface); }
:root:has(#root .shell) #root .mobile-nav > button { color: var(--muted); }
:root:has(#root .shell) #root .mobile-nav > button.active { color: var(--alma-deep); background: var(--alma-soft); }
:root:has(#root .shell) #root .mobile-nav > .mobile-talk {
  background: linear-gradient(135deg, var(--alma-deep), #8853ad);
  color: white;
  box-shadow: 0 4px 14px #623fb033;
}
:root:has(#root .shell) #root .mobile-nav > .mobile-talk.active { background: var(--navy); color: #f2c7e4; }

/* Navigation publique de Référence IA */
#ria-site-navigation {
  color-scheme: light;
  font-family: 'Inter', 'Geist', system-ui, sans-serif;
  color: #142337;
  background: #f4f7fb;
  font-synthesis: none;
}

#ria-site-navigation * { box-sizing: border-box; }

#ria-site-navigation { margin: 0; }

#ria-site-navigation a { color: inherit; }

#ria-site-navigation a:focus-visible {
  outline: 3px solid #2277d3;
  outline-offset: 5px;
}

#ria-site-navigation .ria-header-width {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}

#ria-site-navigation .skip-link {
  position: absolute;
  inset: 8px auto auto 8px;
  padding: 10px 14px;
  background: #fff;
  transform: translateY(-160%);
  z-index: 2;
}

#ria-site-navigation .skip-link:focus { transform: translateY(0); }

#ria-site-navigation .site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}

#ria-site-navigation .site-header a, #ria-site-navigation .site-footer a { text-decoration: none; }

#ria-site-navigation .wordmark {
  justify-self: start;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.065em;
  white-space: nowrap;
}

#ria-site-navigation .wordmark span { color: #2357b3; }

#ria-site-navigation .product-nav, #ria-site-navigation .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

#ria-site-navigation .product-nav a, #ria-site-navigation .contact-link {
  font-size: .875rem;
  font-weight: 650;
}

#ria-site-navigation .product-nav a:hover, #ria-site-navigation .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

#ria-site-navigation .contact-link {
  justify-self: end;
  border: 1px solid #c8d3e1;
  border-radius: 10px;
  padding: 10px 15px;
}

#ria-site-navigation .contact-link:hover { background: #e9eff7; }

#ria-site-navigation .site-header {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.45vw, 20px);
}

#ria-site-navigation .product-nav {
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.15vw, 17px);
}

#ria-site-navigation .site-header .product-nav a,
#ria-site-navigation .site-header .contact-link {
  font-size: .875rem;
  white-space: nowrap;
}

#ria-site-navigation .site-header [aria-current="page"] { color: #2357b3; }

#ria-site-navigation .header-actions { display: flex; justify-self: end; gap: 8px; }
#ria-site-navigation .site-menu { display: none; }

#ria-site-navigation :is(.site-menu, .site-client-menu) summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 8px;
  cursor: pointer;
  list-style: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  color: inherit;
}

#ria-site-navigation :is(.site-menu, .site-client-menu) summary::-webkit-details-marker { display: none; }
#ria-site-navigation :is(.site-menu, .site-client-menu) summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-2px) rotate(45deg);
}

#ria-site-navigation :is(.site-menu, .site-client-menu)[open] summary::after { transform: translateY(2px) rotate(225deg); }
#ria-site-navigation :is(.site-menu, .site-client-menu) summary:focus-visible { outline: 3px solid #2277d3; outline-offset: 2px; }

#ria-site-navigation :is(.site-menu, .site-client-menu) nav {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 2px) 0 auto auto;
  width: min(100%, 320px);
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  overflow: auto;
  padding: 7px;
  border: 1px solid #c8d3e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgb(20 35 55 / 14%);
}

#ria-site-navigation :is(.site-menu, .site-client-menu) nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: .94rem;
  font-weight: 650;
}

#ria-site-navigation :is(.site-menu, .site-client-menu) nav a:hover,
#ria-site-navigation :is(.site-menu, .site-client-menu) nav a[aria-current="page"] { background: #edf3fa; }
#ria-site-navigation :is(.site-menu, .site-client-menu) nav a:focus-visible { outline-offset: -3px; }

@media (max-width: 1200px) {
  #ria-site-navigation .site-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  #ria-site-navigation .site-header .product-nav, #ria-site-navigation .site-header .header-contact { display: none; }
  #ria-site-navigation .site-menu { display: block; }
  #ria-site-navigation .site-header .contact-link { display: flex; align-items: center; min-height: 44px; }
}

@media (max-width: 760px) {
  #ria-site-navigation .site-header { gap: 7px; }
  #ria-site-navigation .site-header .contact-link { font-size: .77rem; }
}

#ria-site-navigation .product-nav .ria-metiers-menu summary {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}

#ria-site-navigation .product-nav .ria-metiers-menu summary::-webkit-details-marker { display: none; }
#ria-site-navigation .product-nav .ria-metiers-menu summary:focus-visible {
  outline: 3px solid #2277d3;
  outline-offset: 5px;
}

#ria-site-navigation .product-nav .ria-metiers-menu:not([open]) .ria-metiers-panel { display: none; }
#ria-site-navigation .product-nav .ria-metiers-panel {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 2px) 0 auto auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 12px;
  width: min(100%, 780px);
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 10px;
  border: 1px solid #c8d3e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgb(20 35 55 / 14%);
}

#ria-site-navigation .product-nav .ria-metiers-panel .ria-metiers-all {
  grid-column: 1 / -1;
  border-bottom: 1px solid #d9e3f1;
}

#ria-site-navigation .product-nav .ria-metiers-panel a {
  display: block;
  padding: 8px 10px;
  white-space: normal;
}

#ria-site-navigation .product-nav .ria-metiers-panel a:focus-visible { outline-offset: -3px; }
#ria-site-navigation .site-client-menu nav a { flex-wrap: wrap; gap: 2px 8px; }
#ria-site-navigation .site-client-menu nav small { color: #4b596d; font-weight: 500; }

#ria-site-navigation .site-header :is(a, summary, small, strong) { font-family: inherit; }
#ria-site-navigation .site-menu .ria-trades-index ~ .ria-metiers-menu { display: none; }
@media (max-width: 950px) {
  #ria-site-navigation .ria-header-width { width: calc(100% - 44px); }
}
@media (max-width: 760px) {
  #ria-site-navigation .ria-header-width { width: calc(100% - 30px); }
  #ria-site-navigation .site-header { min-height: 60px; }
  #ria-site-navigation .wordmark { font-size: 18px; }
}


#ria-site-navigation .ria-trade-switcher {position:relative;color:inherit}
#ria-site-navigation .ria-trade-switcher>summary {display:flex;align-items:center;gap:.35rem;cursor:pointer;list-style:none;font:inherit;font-weight:700;white-space:nowrap}
#ria-site-navigation .ria-trade-switcher>summary::-webkit-details-marker {display:none}
#ria-site-navigation .ria-trade-switcher[open]>summary span {transform:rotate(180deg)}
#ria-site-navigation .ria-trade-switcher .ria-trade-choices {position:absolute;z-index:30;top:calc(100% + .65rem);left:0;min-width:234px;display:grid;gap:4px;padding:8px;background:#fff;border:1px solid #dbe3ed;border-radius:12px;box-shadow:0 12px 32px #13253d26}
#ria-site-navigation .ria-trade-switcher .ria-trade-choices>a {display:grid;gap:2px;padding:9px 11px;border-radius:7px;color:#182d45;background:#fff;text-decoration:none;line-height:1.25}
#ria-site-navigation .ria-trade-switcher .ria-trade-choices>a:is(:hover,:focus-visible,[aria-current="page"]) {background:#edf3fa}
#ria-site-navigation .ria-trade-switcher .ria-trade-choices>a span {font-size:12px;font-weight:500;color:#40536b}
#ria-site-navigation .ria-trade-switcher summary:focus-visible, #ria-site-navigation .ria-trade-choices a:focus-visible {outline:2px solid #325f9c;outline-offset:2px}
#ria-site-navigation :is(.site-menu,.ria-menu,.trade-mobile-menu) .ria-trade-switcher>summary {padding:.4rem .2rem}
#ria-site-navigation :is(.site-menu,.ria-menu,.trade-mobile-menu) .ria-trade-choices {position:static;min-width:0;margin-top:.35rem;box-shadow:none}

#ria-site-navigation { position:relative; z-index:30; }
#ria-site-navigation .site-header a { color:inherit; }
#ria-site-navigation .site-header [aria-current="page"] { color:#2357b3; }
#ria-site-navigation .product-nav .ria-trade-choices a { display:grid; }
#ria-site-navigation .site-menu .ria-trade-switcher summary::after { display:none; }
#ria-site-navigation .site-menu .ria-trade-switcher summary { justify-content:flex-start; }

/* Typographie de la vitrine publique, alignée sur l’accueil Référence IA. */
.alma-presentation #alma-title {
  font-family: Inter, Geist, system-ui, sans-serif;
  font-weight: 740;
  letter-spacing: -.035em;
  word-spacing: .12em;
  line-height: 1.06;
}

.alma-presentation h2,
.alma-presentation #alma-access-title {
  font-family: Inter, Geist, system-ui, sans-serif;
  letter-spacing: -.035em;
  word-spacing: .12em;
}
