/* v0.7 - Les cinq destinations de navigation restent identiques pour tous les usages. */
:root{--e-ink:#183a42;--e-green:#176c64;--e-border:#dce5e5;--e-soft:#edf4f1}
#app{grid-template-columns:238px minmax(0,1fr)}
.sidebar{display:flex;flex-direction:column;padding:26px 14px 20px;overflow:auto}
.sidebar .logo{font-size:24px;letter-spacing:-.03em;line-height:1.3;padding:0 13px 33px}
.sidebar .logo small{font-size:10px;letter-spacing:.02em;line-height:1.7;max-width:190px;margin-top:7px}
#nav{display:flex;flex-direction:column;gap:8px;flex:1;overflow:visible}
#nav button{display:flex;align-items:center;gap:13px;min-height:56px;border-radius:12px;font-size:14px;font-weight:600;padding:12px 13px;line-height:1.4}
#nav button .label{display:block}#nav button.active{background:#ecf3ee;color:#163d3d}
#nav button.active .e-icon{background:transparent;color:#125e55}
.e-icon{font-family:Segoe UI,Arial,sans-serif;display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:9px;font-size:23px;line-height:1;color:inherit}
.side-bottom{padding:20px 12px 0;line-height:1.8;font-size:11px;display:block;position:static;margin-top:24px}
.e-admin{display:block;width:100%;background:transparent;color:#afc8d0;border:0;padding:0 0 16px;text-align:left;font-size:12px;line-height:1.6}
.topbar{padding:0 30px;gap:18px}.topbar h2{flex:1;font-size:15px}.topbar .user-pill{font-size:11px}.topbar #eTopAdd{font-size:13px;padding:9px 15px}
.content{padding:33px 34px;max-width:1440px}
.e-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 26px}
.e-head h1{font-size:30px;line-height:1.3;letter-spacing:-.03em;color:var(--e-ink);margin:8px 0 11px;max-width:820px}
.e-head p{font-size:14px;line-height:1.7;color:#567078;max-width:790px;margin:0}
.e-eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:#4d7971;margin-bottom:9px}
.e-head>.btn,.e-head>.q-tools{flex-shrink:0;margin-top:10px}
.e-context{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--e-border);padding:0 0 18px;margin:0 0 25px}
.e-context button{background:transparent;border:0;border-radius:8px;padding:9px 13px;font-size:12px;color:#526e76}
.e-context button.selected{background:#e1efea;color:#125d51;font-weight:700}
.e-hubgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.e-startgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.e-hubcard{background:white;border:1px solid var(--e-border);border-radius:16px;text-align:left;padding:25px 26px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:var(--e-ink);box-shadow:0 3px 9px #18394203;transition:border-color .12s,box-shadow .12s}
.e-hubcard:hover{border-color:#62998c;box-shadow:0 6px 20px #233e3710}.e-hubcard>.e-icon{width:43px;height:43px;background:#eaf3ee;color:#276c60}
.e-hubcard h2{font-size:20px;line-height:1.4;margin:12px 0 0}.e-hubcard p{font-size:14px;line-height:1.6;color:#5a737b;margin:0;flex:1}.e-hubcard strong{font-size:12px;color:#1c6d5c;margin-top:15px}
.e-footnote{border-top:1px solid var(--e-border);display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 15px;padding:20px 0;font-size:12px;color:#5b737d;line-height:1.7}
.e-footnote span{max-width:820px}.e-footnote .btn{flex-shrink:0;font-size:12px}
.e-details{border:1px solid var(--e-border);border-radius:11px;background:#fff;margin:16px 0;padding:0 18px;line-height:1.6}
.e-details>summary{font-weight:650;font-size:13px;padding:16px 0;cursor:pointer;color:#3b626b}.e-details[open]{padding-bottom:18px}.e-details p{font-size:12px;color:#5d767b}
.e-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:27px}
.e-stats>div,.e-stats>button{display:flex;align-items:center;text-align:left;gap:14px;padding:18px 22px;border-radius:12px;background:#e9f0ee;border:0;color:#284f51}.e-stats b{font-size:27px;line-height:1}.e-stats span{font-size:12px;line-height:1.5}
.e-recent{margin-top:35px}.e-linehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0}.e-linehead h2{font-size:19px;color:#24444e;margin:0}.e-linehead h3{margin:0;font-size:17px}.e-linehead .btn{font-size:12px}
.e-quality-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.e-quality-groups button{background:#fff;border:1px solid var(--e-border);border-radius:13px;padding:19px 22px;display:flex;flex-direction:column;text-align:left;gap:8px;min-height:138px;transition:.12s;color:var(--e-ink)}
.e-quality-groups button:hover{border-color:#83a89c}.e-quality-groups button.selected{background:#e5f0e9;border-color:#5c9580}.e-quality-groups small{font-size:11px;font-weight:750;letter-spacing:.06em;color:#609080}.e-quality-groups b{font-size:18px;line-height:1.4}.e-quality-groups span{font-size:12px;line-height:1.55;color:#5f767c}
.e-quality-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:22px 0 20px}.e-quality-tools .btn{font-size:12px;line-height:1.6;padding:9px 12px}.e-toolspacer{flex:1}
.e-filterbar{background:white;border:1px solid var(--e-border);border-radius:12px;padding:15px 18px;display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(170px,1fr) 110px;gap:14px}
.e-filterbar label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#527079;font-weight:650}.e-filterbar input,.e-filterbar select{padding:10px;border:1px solid #cddcdd;border-radius:7px;background:white;width:100%;font-size:13px;color:#244950;min-width:0}
.e-records,.e-recent{min-width:0}.e-record{display:flex;align-items:center;gap:22px;width:100%;padding:18px 21px;background:white;border:1px solid var(--e-border);border-radius:11px;text-align:left;margin:8px 0;color:#274a52;min-width:0}.e-record:hover{background:#fafdfb;border-color:#83a89c}.e-record-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.e-record-main>small{font-size:10px;font-weight:650;color:#64827e}.e-record-main>b{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.e-record-main>span{font-size:11px;color:#71878c}.e-record-state{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.e-record-state>small{font-size:11px;color:#607b81}.e-arrow{font-size:20px;color:#4d8978}
.e-empty{border:1px dashed #c9dbd5;border-radius:13px;padding:30px;background:#fff;line-height:1.7;color:#587477}.e-empty h3{font-size:17px;color:#3d6365;margin:0 0 8px}.e-empty p{font-size:13px;margin:0;max-width:740px}
.e-recordtabs{display:flex;gap:8px;margin:20px 0;border-bottom:1px solid var(--e-border)}.e-recordtabs button{padding:13px 18px;background:transparent;border:0;border-bottom:3px solid transparent;font-weight:650;font-size:14px;color:#516f75}.e-recordtabs button.selected{color:#146358;border-bottom-color:#206e5c}
.e-purpose{background:#eaf3ef;border-radius:12px;padding:20px 23px;color:#264f4c;line-height:1.7}.e-purpose>b{font-size:13px}.e-purpose>p{font-size:15px;margin:7px 0 8px}.e-purpose details{font-size:12px;color:#557370}.e-purpose details summary{cursor:pointer}.e-identity>.q-field{margin-top:15px}
.e-next{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-top:15px;font-size:13px;color:#537275;line-height:1.6}.e-next p{margin:0}.e-next>.btn{flex-shrink:0;font-size:12px}
.e-linkrow{display:flex;align-items:center;gap:12px;border-top:1px solid var(--e-border);padding:12px 0}.e-linkrow>button:first-child{flex:1;background:#f5faf7;border:0;border-radius:9px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;padding:14px;color:#325b59;min-width:0}.e-linkrow b{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.e-linkrow small{font-size:12px;line-height:1.6;color:#627e80}.e-linkrow>.btn{font-size:11px}
.e-rhythms article{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--e-border);padding:15px 2px;line-height:1.6}.e-rhythms article b{font-size:15px}.e-rhythms article p{margin:4px 0;font-size:13px}.e-rhythms article small{font-size:11px;color:#6b8587}.e-rhythms button{font-size:12px}
.e-addchoices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.e-addchoices button{display:flex;flex-direction:column;text-align:left;gap:12px;background:#f7faf8;border:1px solid #c8dbd4;border-radius:12px;padding:24px;color:#325b50}.e-addchoices b{font-size:16px}.e-addchoices span{font-size:12px;line-height:1.7;color:#607b77}
@media(min-width:701px)and(max-width:1100px){#app{grid-template-columns:220px minmax(0,1fr)}.content{padding:26px 22px}.e-head h1{font-size:27px}.e-head{flex-wrap:wrap}.e-quality-groups button{padding:15px}.e-quality-groups b{font-size:16px}.e-startgrid{grid-template-columns:1fr}.e-hubcard{padding:21px}.e-toolspacer{display:none}.e-filterbar{grid-template-columns:minmax(180px,1fr) minmax(170px,1fr) 95px}.e-stats{gap:9px}.e-stats>div,.e-stats>button{padding:15px;gap:10px}}
@media(max-width:700px){#app{display:block}.content{padding:23px 16px}.sidebar{width:275px;padding:24px 14px;display:flex}.sidebar .logo{padding-bottom:24px}.side-bottom{margin-top:20px}.g-nav-open #gMenu{left:235px;top:23px}.topbar{padding:0 13px;gap:9px;height:66px}.topbar h2{font-size:11px;max-width:none}.topbar .user-pill{display:none}.topbar #eTopAdd{font-size:12px;padding:8px 11px}.e-head{display:block;margin-bottom:23px}.e-head h1{font-size:26px}.e-head p{font-size:13px}.e-head>.q-tools,.e-head>.btn{margin-top:18px}.e-hubgrid,.e-startgrid{grid-template-columns:1fr}.e-hubcard{padding:20px 22px}.e-hubcard h2{font-size:18px}.e-quality-groups{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.e-quality-groups button{padding:12px 9px;min-height:106px;gap:8px}.e-quality-groups b{font-size:12px}.e-quality-groups small{font-size:10px}.e-quality-groups span{display:none}.e-quality-tools{margin:17px 0;gap:5px}.e-quality-tools .btn{font-size:11px;padding:8px}.e-toolspacer{display:none}.e-filterbar{grid-template-columns:minmax(0,1fr) 95px;gap:12px;padding:14px}.e-filterbar label:first-child{grid-column:1/-1}.e-filterbar input,.e-filterbar select{font-size:16px}.e-record{padding:15px;gap:10px;flex-wrap:wrap;align-items:flex-start}.e-record-main{flex:1;min-width:190px}.e-record-main>b{font-size:14px}.e-record-state{flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:8px;flex-wrap:wrap}.e-record-state>small{font-size:10px}.e-arrow{display:none}.e-stats{gap:8px}.e-stats>div,.e-stats>button{padding:13px 10px;display:block}.e-stats b{font-size:23px;display:block;margin-bottom:9px}.e-stats span{font-size:10px;line-height:1.5;display:block}.e-footnote{display:block}.e-footnote .btn{margin-top:10px}.e-recordtabs{gap:0;justify-content:space-between}.e-recordtabs button{font-size:12px;padding:12px 10px}.e-next{display:block}.e-next .btn{margin-top:12px}.e-linkrow{flex-wrap:wrap}.e-linehead{flex-wrap:wrap}.e-details{padding:0 13px}.e-details>summary{font-size:12px}.e-addchoices{grid-template-columns:1fr}.q-field input,.q-field textarea,.q-field select{font-size:16px}.e-rhythms article{align-items:flex-start}.e-context{gap:3px}.e-context button{font-size:11px;padding:8px 9px}}
