:root{font-family:'DM Sans',Arial,sans-serif;color:#263349;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#14243e;--navy2:#1b3153;--gold:#d9ad54;--gold-light:#f8f1e2;--muted:#7c899d;--line:#e7ebf1;--panel:#fff;--shadow:0 8px 28px rgba(31,46,72,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7fb}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(217,173,84,.42);outline-offset:2px}.boot{height:100vh;display:grid;align-content:center;justify-items:center;color:var(--navy)}.brand-mark{display:grid;place-items:center;width:70px;height:70px;border-radius:21px;background:var(--navy);font-size:32px;color:var(--gold)}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:var(--navy);color:white;display:flex;flex-direction:column;padding:22px 14px 16px;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:4px 10px 22px}.brand img{width:43px;height:43px}.brand>span{font:800 23px Manrope,sans-serif;letter-spacing:.07em}.brand small{display:block;font:400 10px 'DM Sans',sans-serif;color:#a9b6c8;letter-spacing:0;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto}.nav-link{height:42px;width:100%;border:0;border-radius:7px;background:transparent;color:#c4cede;text-align:left;padding:0 13px;display:flex;align-items:center;gap:12px;font-size:13px;transition:background .15s,color .15s}.nav-link:hover{background:#ffffff12;color:#fff}.nav-link.active{background:#263a58;color:#fff;font-weight:600;box-shadow:inset 3px 0 var(--gold)}.nav-icon{width:18px;text-align:center;color:#d5b568;font-size:17px}.sidebar-footer{margin-top:auto;padding:14px 10px 2px;color:#c2cbd8;font-size:11px;border-top:1px solid #ffffff1c}.sidebar-footer small{display:block;margin:7px 0 0 16px;color:#94a2b5;font-size:10px}.online-dot{display:inline-block;width:7px;height:7px;background:#70c59b;border-radius:50%;margin-right:5px}.main{margin-left:252px;min-height:100vh}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:18px;position:sticky;top:0;z-index:10}.crumb{font:700 14px Manrope,sans-serif;color:var(--navy)}.top-date{margin-left:auto;color:#8390a3;font-size:11px;text-transform:capitalize}.admin-chip{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;padding-left:15px;border-left:1px solid var(--line)}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--gold-light);color:#906d29;font-weight:700}.menu-btn{display:none;border:0;background:none;color:var(--navy);font-size:21px}.content{max-width:1540px;padding:28px 30px 54px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:.13em;font-weight:700;color:#a18340;margin:0 0 6px}.page-head h1{font:800 25px Manrope,sans-serif;letter-spacing:-.035em;color:var(--navy);margin:0}.muted{font-size:12px;color:var(--muted);margin:6px 0 0}.primary-btn,.outline-btn,.file-button{min-height:38px;border-radius:6px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.primary-btn{border:1px solid var(--navy);background:var(--navy);color:#fff;box-shadow:0 3px 7px #14243e17}.primary-btn:hover{background:var(--navy2);transform:translateY(-1px)}.primary-btn span{font-size:17px;color:var(--gold)}.outline-btn,.file-button{border:1px solid #d9dfe8;background:white;color:var(--navy)}.outline-btn:hover,.file-button:hover{background:#f4f6f9}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:19px}.stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{min-height:104px;background:white;border:1px solid #ebeff4;border-radius:9px;padding:17px;display:flex;align-items:flex-start;gap:12px;box-shadow:var(--shadow)}.stat-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:8px;background:#f5f1e8;color:#9f7c34;font-size:17px}.stat-card>div{display:flex;flex-direction:column;gap:5px;min-width:0}.stat-label{color:#8290a4;font-size:10px}.stat-card strong{font:700 19px Manrope,sans-serif;color:var(--navy);white-space:nowrap}.stat-card small{font-size:10px;color:#99a2b0}.card{background:white;border:1px solid #e9edf2;border-radius:9px;padding:19px 20px;margin-bottom:17px;box-shadow:var(--shadow);min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card h2,.backup-card h2{font:700 14px Manrope,sans-serif;color:var(--navy);margin:0}.table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}th{font-size:9px;text-transform:uppercase;letter-spacing:.065em;color:#8e9bae;font-weight:700;background:#f7f8fa;padding:10px 11px;border-block:1px solid #edf0f4}td{padding:11px;border-bottom:1px solid #eff1f5;color:#56647a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}td strong{font-size:11px;color:#26364d}td small.cell-sub{display:block;color:#929eae;font-size:9px;margin-top:3px}.money{font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums}.receipt-tag{font-family:ui-monospace,monospace;font-size:10px;color:#8d6f32;background:#fbf6eb;border:1px solid #f0e6ce;padding:4px 6px;border-radius:4px}.small-btn{border:1px solid #e2e6ec;background:white;color:#5c6b7f;border-radius:4px;padding:5px 7px;font-size:9px;font-weight:600;white-space:nowrap}.small-btn:hover{color:var(--navy);border-color:#b7c1cf;background:#f9fafc}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:4px 7px;font-size:9px;font-weight:600}.badge.green{background:#edf8f1;color:#298054}.badge.gray{background:#f0f2f5;color:#778293}.badge.red{background:#fff0ee;color:#bb4f42}.badge.amber{background:#fff7e8;color:#9b7125}.void-row{opacity:.57;text-decoration:line-through}.dashboard-columns,.report-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:17px}.report-columns{grid-template-columns:1fr 1fr}.activity-list{display:flex;flex-direction:column}.activity-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eff1f5}.activity-item:last-child{border:0}.activity-dot{width:8px;height:8px;flex:none;margin-top:5px;border-radius:50%;background:var(--gold)}.activity-item strong{font-size:11px;color:#34435a}.activity-item p{font-size:10px;color:#718096;margin:4px 0}.activity-item small{font-size:9px;color:#9aa4b1}.empty{padding:32px 15px;text-align:center;color:#8793a4}.empty>span{display:block;font-size:28px;color:#c4ccd7;margin-bottom:8px}.empty strong{font-size:12px;color:#526176}.empty p{font-size:10px;margin:5px}.empty.compact{padding:20px 10px}.toolbar{display:flex;align-items:center;gap:10px;margin:0 0 14px}.search{display:flex;align-items:center;gap:7px;height:35px;border:1px solid #e3e7ed;border-radius:5px;padding:0 9px;min-width:260px;color:#9ba6b5}.search input{border:0!important;outline:0!important;padding:0!important;width:100%;background:transparent;font-size:11px}.toolbar select,.toolbar input,.inline-form input{height:35px;border:1px solid #e3e7ed;border-radius:5px;background:white;padding:0 9px;color:#4d5b6f;font-size:11px}.count-label{font-size:10px;color:#9aa4b1;margin-left:auto}.bar-chart{display:flex;flex-direction:column;gap:9px}.bar-row{display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:9px;font-size:9px;color:#718096}.bar-track{height:8px;background:#f0f2f6;border-radius:9px;overflow:hidden}.bar-track i{display:block;height:100%;min-width:2px;background:linear-gradient(90deg,#c99d47,#e8c774);border-radius:9px}.bar-row strong{font-size:9px;color:#4c5a70}.subsection-title{font:700 11px Manrope,sans-serif;margin:17px 0 9px;color:#4c5a70}.backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.backup-card{padding:25px;min-height:200px}.backup-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#f7f1e4;color:#a47e32;font-size:20px;margin-bottom:15px}.backup-card h2{margin-bottom:8px}.backup-card p,.security-note p{font-size:11px;color:#7c899a;line-height:1.7;margin:0 0 18px}.file-button{cursor:pointer}.local-info{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.local-info>div{background:#f7f8fa;border-radius:6px;padding:13px;display:flex;flex-direction:column;gap:6px}.local-info span{font-size:10px;color:#8793a4}.local-info strong{font:700 19px Manrope;color:var(--navy)}.security-note{padding:14px 16px;border:1px solid #f0e5cd;background:#fcf9f2;border-radius:6px}.security-note strong{font-size:12px;color:#765d2e}.security-note p{margin:7px 0 0}.inline-form{display:flex;gap:12px;align-items:end}.inline-form label,.modal label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:600;color:#526176;flex:1}.inline-form input{width:100%}.modal-backdrop{position:fixed;inset:0;background:#101b2dc2;display:grid;place-items:center;z-index:50;padding:15px;overflow-y:auto}.modal{width:min(620px,100%);max-height:calc(100vh - 30px);overflow:auto;background:#fff;border-radius:11px;box-shadow:0 18px 70px #0d19333d;padding:22px}.modal.wide{width:min(780px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:17px}.modal-head h2{font:800 18px Manrope;color:var(--navy);margin:0}.icon-btn{border:0;background:#f2f4f7;color:#536176;width:30px;height:30px;border-radius:50%;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid input,.form-grid select{width:100%;min-height:38px;border:1px solid #dfe4eb;border-radius:5px;padding:8px 9px;background:white;color:#27364b;font-size:11px}.form-grid select[multiple]{height:80px}.form-grid label small{font-size:9px;color:#929eac;font-weight:400}.full{grid-column:1/-1}.form-note{background:#f8f5ec;color:#7d6838;font-size:10px;line-height:1.6;padding:11px;border-radius:5px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:20px;right:22px;z-index:100;transform:translateY(15px);opacity:0;pointer-events:none;background:var(--navy);color:white;padding:12px 16px;border-radius:6px;font-size:11px;box-shadow:0 6px 25px #15243e37;transition:.2s}.toast.show{transform:translateY(0);opacity:1}.toast.error{background:#a7433a}.mobile-shade{display:none}.fatal{max-width:500px;margin:15vh auto;padding:25px;background:white;border-radius:12px;text-align:center;color:#57657a}.fatal img{width:65px}.fatal h1{font:700 22px Manrope;color:var(--navy)}.fatal p{font-size:13px;line-height:1.6}
@media(max-width:1150px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.content{padding-inline:22px}.dashboard-columns,.report-columns{grid-template-columns:1fr}.local-info{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .22s ease;width:min(300px,84vw);box-shadow:8px 0 30px #0d193344}.menu-open .sidebar{transform:translateX(0)}.menu-open .mobile-shade{display:block;position:fixed;inset:0;background:#101b2d73;z-index:15}.main{margin-left:0}.topbar{height:56px;padding:0 13px;gap:12px}.menu-btn{display:block}.top-date{display:none}.admin-chip{margin-left:auto;padding-left:10px}.content{padding:20px 13px 35px}.page-head{align-items:flex-start}.page-head h1{font-size:22px}.muted{max-width:43ch;line-height:1.5}.page-head>.primary-btn,.page-head>.outline-btn{flex:none;padding:0 10px;font-size:10px;min-height:36px}.stat-grid{gap:9px}.stat-card{padding:12px;min-height:88px;gap:9px}.stat-icon{width:28px;height:28px;flex-basis:28px;font-size:14px}.stat-card strong{font-size:15px}.stat-label{font-size:9px}.card{padding:15px 12px;margin-bottom:12px}.card h2{font-size:13px}.toolbar{flex-wrap:wrap}.search{min-width:100%;flex:1}.toolbar select{flex:1}.count-label{margin-left:auto}.table-wrap{margin-inline:-12px;width:calc(100% + 24px);padding-inline:12px;scrollbar-width:thin}.table-wrap table{min-width:690px}.tracking-mobile-note{display:block}.backup-grid{grid-template-columns:1fr}.backup-card{min-height:0;padding:19px}.local-info{grid-template-columns:repeat(2,1fr)}.inline-form{flex-direction:column;align-items:stretch}.form-grid{grid-template-columns:1fr;gap:11px}.full{grid-column:auto}.modal{padding:17px}.modal-backdrop{padding:8px}.toast{left:12px;right:12px;bottom:12px;text-align:center}.bar-row{grid-template-columns:85px 1fr auto}.admin-chip{font-size:10px}.avatar{width:25px;height:25px}}
@media(max-width:380px){.stat-card{padding:9px;gap:6px}.stat-icon{display:none}.stat-card strong{font-size:13px}.page-head h1{font-size:19px}.page-head>.primary-btn{padding-inline:7px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:5px 0 18px}.profile-grid>div{background:#f7f8fa;padding:11px;border-radius:5px;min-width:0}.profile-grid small{display:block;color:#8894a5;font-size:9px;margin-bottom:5px}.profile-grid strong{font-size:10px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:760px){.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Navigation resserrée et écrans regroupés */
.module-tabs{display:flex;gap:5px;overflow-x:auto;padding:4px;margin:0 0 18px;background:#e9e6de;border:1px solid #dfdbd1;border-radius:8px;scrollbar-width:thin}
.module-tab{flex:0 0 auto;min-height:40px;padding:0 16px;border:0;border-radius:6px;background:transparent;color:#627084;font:600 13px "Segoe UI",Tahoma,sans-serif;transition:background .16s,color .16s,box-shadow .16s}
.module-tab:hover{color:var(--navy);background:#f8f6f0}.module-tab.active{background:#fbf8f1;color:var(--navy);box-shadow:0 1px 3px #17294115}
.nav-link{transition:background .16s ease,color .16s ease,transform .16s ease}.nav-link:hover{transform:translateX(2px)}
.content{max-width:1440px}.home-search{background:var(--panel);border:1px solid #ded9ce;border-top:3px solid var(--gold);border-radius:10px;padding:24px clamp(18px,3vw,32px);margin:0 0 16px;box-shadow:0 8px 22px rgba(31,46,72,.045)}
.home-search-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.home-search h2{font:650 22px "Segoe UI",Tahoma,sans-serif;color:var(--navy);margin:7px 0 3px}.home-search p{font-size:13px;color:#6b7787;margin:0 0 15px;line-height:1.45}.home-search .eyebrow{font-size:10px}.search-focus{display:none}
.home-search-input{display:flex;width:100%;max-width:760px;min-width:0;height:52px;background:#fff;border:1px solid #cfd5de;border-radius:8px}.home-search-input input{font-size:16px;min-height:50px}.home-search-input>span{font-size:22px}
.home-results{max-width:760px;margin-top:8px;background:var(--panel);border:1px solid #e3e6eb;border-radius:8px;overflow:hidden}.home-result{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid #eceef1;background:transparent;text-align:left;color:#263349}.home-result:last-child{border-bottom:0}.home-result:hover{background:#f4f1e8}.home-result>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}.home-result strong{font-size:14px}.home-result small{font-size:11px;color:#707d8f;white-space:normal}.home-result b{font-size:12px;color:#927132;white-space:nowrap}.student-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--navy);color:#e2bf75;font-weight:700}.home-no-results{padding:4px 14px}
.home-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin:0 0 18px}.home-actions>.primary-btn,.home-actions>.outline-btn{flex:0 1 auto}.home-actions>.primary-btn{background:var(--navy);color:white}.home-actions>.outline-btn{background:var(--panel)}.home-actions .primary-btn:hover,.home-actions .outline-btn:hover{transform:translateY(-1px)}
.home-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:18px}.home-metrics .stat-card{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:108px;padding:16px;background:var(--panel);border:1px solid #e2ddd2;border-top:2px solid #a9b4c1;border-radius:8px;box-shadow:none;min-width:0}.home-metrics .stat-card:nth-child(1),.home-metrics .stat-card:nth-child(3){border-top-color:var(--gold)}.home-metrics .stat-label{font-size:12px;color:#68768a}.home-metrics .stat-card strong{font:650 clamp(18px,2vw,24px) "Segoe UI",Tahoma,sans-serif;color:var(--navy);white-space:normal;overflow-wrap:anywhere}.home-metrics .stat-card small{font-size:11px;color:#8a94a2}.home-metrics .late-metric{background:#f7f2e6}.home-metrics .late-metric strong{color:#8f6521}
.receipt-picker-search{width:100%;min-width:0;height:46px;margin:0 0 12px;background:var(--panel)}.receipt-picker-search input{font-size:15px}.receipt-picker-list{display:flex;flex-direction:column;max-height:min(52vh,460px);overflow-y:auto;border:1px solid var(--line);border-radius:7px}.receipt-picker-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;text-align:left;border:0;border-bottom:1px solid var(--line);background:var(--panel);color:#29384e}.receipt-picker-row:last-child{border-bottom:0}.receipt-picker-row:hover{background:#f4f1e8}.receipt-picker-row span{display:grid;gap:4px}.receipt-picker-row strong{font:600 13px "Segoe UI",Tahoma,sans-serif;color:var(--navy)}.receipt-picker-row small{font-size:11px;color:var(--muted)}.receipt-picker-row b{font-size:12px;color:#765d2e;white-space:nowrap}
.profile-section{margin:15px 0 20px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.profile-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.profile-section-head h3{font:650 15px "Segoe UI",Tahoma,sans-serif;color:var(--navy);margin:0}.profile-section-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.profile-parent-list{display:grid;gap:8px}.profile-parent,.profile-section>.profile-parent{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0;padding:11px 12px;border:1px solid #e7e3da;border-radius:6px;background:#fff}.profile-parent>div:first-child{display:grid;gap:4px;min-width:0}.profile-parent strong{font-size:13px;color:#26364a}.profile-parent small{font-size:11px;color:#737f8f;overflow-wrap:anywhere}.profile-parent-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.profile-parent-actions .small-btn{font-size:11px;padding:6px 9px}
@media(max-width:1050px){.home-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.home-metrics .late-metric{grid-column:auto}}
@media(max-width:760px){.module-tabs{margin:0 -1px 14px;padding:3px}.module-tab{min-height:42px;padding-inline:13px;font-size:12px}.home-search{padding:19px 15px}.home-search h2{font-size:20px}.home-search p{font-size:12px}.home-search-input{height:50px}.home-search-input input{font-size:16px}.home-actions{gap:8px;margin-bottom:14px}.home-actions>.primary-btn,.home-actions>.outline-btn{flex:1 1 calc(50% - 8px);min-height:44px;font-size:12px;padding-inline:9px}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.home-metrics .stat-card{min-height:88px;padding:12px}.home-metrics .stat-label{font-size:11px}.home-metrics .stat-card strong{font-size:19px}.home-metrics .stat-card:nth-child(3) strong,.home-metrics .stat-card:nth-child(4) strong{font-size:16px}.profile-section{padding:13px 11px}.profile-section-head{align-items:flex-start;flex-direction:column}.profile-parent{align-items:flex-start;flex-direction:column}.profile-parent-actions{justify-content:flex-start}.receipt-picker-row{padding:12px 10px}.receipt-picker-row small{font-size:10px}}
@media(max-width:380px){.home-metrics .stat-card{padding:10px}.home-metrics .stat-card strong{font-size:17px}.home-actions>.primary-btn,.home-actions>.outline-btn{font-size:11px}.profile-parent-actions .small-btn{font-size:10px;padding:6px 7px}}
@media(prefers-reduced-motion:reduce){.nav-link,.module-tab,.home-actions .primary-btn,.home-actions .outline-btn{transition:none}}

/* GESCO visual direction: a calm school office ledger, with restrained brass accents. */
:root{font-family:"Segoe UI",Tahoma,Arial,sans-serif;color:#28364a;background:#f3f4f5;--navy:#172941;--navy2:#203a59;--gold:#c5a15b;--gold-light:#f4efdf;--muted:#737f8f;--line:#e1e4e8;--panel:#fff;--shadow:0 1px 2px rgba(24,39,58,.025);font-synthesis:none;text-rendering:optimizeLegibility}
body{background:#f3f4f5}.sidebar{background:#172941;padding:22px 12px 14px}.brand{padding:4px 12px 22px}.brand>span{font:700 21px "Segoe UI",Tahoma,sans-serif;letter-spacing:.045em}.brand small{font-size:10px;letter-spacing:.005em}.nav-link{height:39px;border-radius:4px;font-size:12px;gap:11px}.nav-link.active{background:#243a54;box-shadow:inset 3px 0 #c5a15b;color:#fff}.nav-icon{display:grid;place-items:center;width:18px;color:#bda267}.nav-icon svg{width:16px;height:16px}.sidebar-footer{font-size:10px}.online-dot{width:6px;height:6px;background:#8eb39a}.topbar{border-top:2px solid var(--gold);height:62px;padding-inline:26px}.crumb{font:600 13px "Segoe UI",Tahoma,sans-serif}.top-date{text-transform:none;font-size:11px}.admin-chip{font-size:11px;color:#526176}.content{padding-top:27px}.eyebrow{font-size:9px;letter-spacing:.11em;color:#8b7444}.eyebrow span{color:#b6bdc6;padding-inline:5px}.page-head{margin-bottom:21px}.page-head h1{font:650 25px "Segoe UI",Tahoma,sans-serif;letter-spacing:-.035em}.muted{font-size:12px}.card{border-radius:5px;box-shadow:none;padding:17px 18px;margin-bottom:14px}.card h2,.backup-card h2{font:650 13px "Segoe UI",Tahoma,sans-serif}.card-head{margin-bottom:12px}.stat-grid{gap:10px}.metric-group{margin:0 0 20px}.metric-group>h2{font:600 10px "Segoe UI",Tahoma,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#798597;margin:0 0 8px}.financial-group{border-top:1px solid #dfe3e8;padding-top:17px}.stat-card{position:relative;min-height:84px;padding:13px 14px;border:1px solid #e2e5e9;border-top:2px solid #9cabbc;border-radius:4px;box-shadow:none;gap:4px}.stat-card>div{display:contents}.stat-card:nth-child(1){border-top-color:#c5a15b}.stat-label{font-size:10px;color:#6f7d8f}.stat-card strong{font:650 18px "Segoe UI",Tahoma,sans-serif;letter-spacing:-.025em;color:#172941}.stat-card small{font-size:9px;color:#8a94a2}.dashboard-columns{grid-template-columns:1.05fr .95fr;gap:14px}.table-wrap{border-radius:3px}table{font-size:11px}th{font-size:9px;color:#727f90;background:#f6f7f8;padding:9px 10px}td{padding:10px;color:#536176}td strong{font-weight:600;color:#26364a}.receipt-tag{color:#775e2b;background:#f8f5ed;border-color:#e8dfc9;border-radius:3px}.badge{border-radius:3px;padding:4px 6px;font-size:9px}.primary-btn,.outline-btn,.file-button{border-radius:4px;min-height:36px;font-size:11px}.primary-btn{background:#172941;border-color:#172941;box-shadow:none}.primary-btn:hover{background:#243a54}.small-btn{border-radius:3px;padding:4px 6px;font-size:9px}.activity-item{padding:10px 0}.activity-dot{width:6px;height:6px;background:#c5a15b}.empty{padding:25px 12px}.empty>span{font-size:20px}.empty strong{font-weight:600}.modal{border-radius:7px}.modal-head h2{font:650 17px "Segoe UI",Tahoma,sans-serif}.form-grid input,.form-grid select{border-radius:4px}.toast{border-radius:4px}
@media(max-width:760px){.topbar{border-top:0;height:56px;padding-inline:12px}.content{padding-top:20px}.page-head h1{font-size:22px}.stat-card{min-height:77px;padding:11px}.stat-card strong{font-size:16px}.dashboard-columns{grid-template-columns:1fr}.card{padding:14px 12px}.metric-group{margin-bottom:15px}}
.nav-group{margin-top:3px}.nav-group-toggle{height:40px;width:100%;border:0;background:transparent;color:#c4cede;border-radius:4px;padding:0 12px;display:flex;align-items:center;gap:11px;text-align:left;font:600 12px "Segoe UI",Tahoma,sans-serif}.nav-group-toggle:hover{background:#ffffff0d;color:#fff}.nav-group-toggle .nav-icon{color:#bda267}.nav-group-toggle .nav-count{margin-left:auto;min-width:18px;text-align:center;color:#9baabd;font-size:9px}.nav-chevron{width:12px;text-align:center;color:#9baabd;font-size:14px;transition:transform .15s}.nav-group.expanded .nav-chevron{transform:rotate(180deg)}.nav-submenu{display:none;padding:2px 0 4px 29px}.nav-group.expanded .nav-submenu{display:flex;flex-direction:column;gap:2px}.nav-child{height:34px;padding-left:13px;color:#aebbd0;font-size:11px;border-left:1px solid #34465e;border-radius:0 4px 4px 0}.nav-child.active{border-left:2px solid #c5a15b;background:#243a54;color:#fff;box-shadow:none}.dashboard-link{margin-bottom:8px}
:root{--panel:#fbf8f1;--line:#e2ddd2;--shadow:0 1px 2px rgba(60,48,28,.025)}body,.main,.content{background:#efede6}.topbar,.card,.stat-card,.modal,.backup-card{background:#fbf8f1;border-color:#e1ddd3}.card{box-shadow:none}.stat-card{border-color:#e2ddd2}.stat-card:nth-child(1){border-top-color:#c5a15b}.table-wrap{background:transparent}th{background:#f1eee6;border-color:#e5e1d8}td{border-color:#e9e5dc}tbody tr:hover{background:#f7f4ec}.toolbar select,.toolbar input,.inline-form input,.search{background:#fbf8f1;border-color:#ded9ce}.form-grid input,.form-grid select{background:#fbf8f1;border-color:#ded9ce}.outline-btn,.file-button{background:#f7f4ec;border-color:#dcd6ca}.outline-btn:hover,.file-button:hover{background:#eee9dc}.local-info>div{background:#f1eee6}.security-note{background:#f7f2e6;border-color:#e8dcc1}.activity-item{border-color:#e8e3d9}.receipt-tag{background:#f5efdf}.modal-head{border-color:#e4dfd5}.modal-footer{border-color:#e4dfd5}

/* Lisibilité renforcée et accueil orienté recherche */
:root{font-size:16px}body{font-size:16px}.sidebar{padding:24px 14px}.nav-link{min-height:46px;height:auto;font-size:14px;padding:10px 12px}.nav-link.active{font-weight:650}.sidebar-footer{font-size:12px}.topbar{height:68px}.crumb{font-size:15px}.top-date,.admin-chip{font-size:13px}.content{padding:30px clamp(18px,3vw,42px)}.page-head h1{font-size:30px}.muted{font-size:15px}.card{padding:21px 22px;border-radius:9px}.card h2,.backup-card h2{font-size:17px}.metric-group>h2{font-size:13px}.stat-card{min-height:104px;padding:17px;gap:8px}.stat-label{font-size:13px}.stat-card strong{font-size:23px}.stat-card small{font-size:12px}table{font-size:14px}th{font-size:12px;padding:12px}td{font-size:14px;padding:13px 12px}.primary-btn,.outline-btn,.file-button{min-height:44px;font-size:14px;padding:0 16px;border-radius:6px}.small-btn{min-height:36px;font-size:12px;padding:7px 10px}.form-grid label,.form-grid input,.form-grid select,.inline-form label{font-size:15px}.form-grid input,.form-grid select{min-height:45px}.home-search{position:relative;background:#fff;border:1px solid #e1ddd3;border-top:3px solid var(--gold);border-radius:10px;padding:clamp(20px,4vw,34px);margin:0 0 18px;box-shadow:0 8px 22px rgba(31,46,72,.05)}.home-search h2{font-size:23px;margin:8px 0}.home-search p{font-size:15px;color:#6b7787;margin:0 0 20px;line-height:1.5}.home-search-input{width:100%;max-width:760px;min-height:56px;background:#fff;border:1px solid #cfd5de;border-radius:8px}.home-search-input input{font-size:17px;min-height:54px}.home-search-input>span{font-size:23px}.home-results{max-width:760px;margin-top:8px;background:#fff;border:1px solid #e3e6eb;border-radius:8px;overflow:hidden}.home-result{display:flex;align-items:center;gap:13px;width:100%;padding:13px 15px;border:0;border-bottom:1px solid #eceef1;background:#fff;text-align:left;color:#263349}.home-result:hover{background:#f7f8fa}.home-result>span:nth-child(2){display:grid;gap:3px;flex:1}.home-result strong{font-size:15px}.home-result small{font-size:12px;color:#707d8f}.home-result b{font-size:13px;color:#927132}.student-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#172941;color:#e2bf75;font-weight:700}.home-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 24px}.home-search .eyebrow{font-size:11px}.payment-success{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f4f1e7;border:1px solid #e8dfc9;border-radius:7px;padding:14px;margin:14px 0}.payment-success strong{color:#172941}.message-preview{display:grid;gap:8px;font-weight:600}.message-preview textarea{width:100%;min-height:112px;padding:12px;border:1px solid #d9dfe6;border-radius:6px;font:14px/1.5 inherit;color:#334155;resize:vertical}.modal p{font-size:14px;line-height:1.55}.modal{max-width:min(720px,calc(100vw - 24px))}
@media(max-width:760px){.content{padding:20px 14px 90px}.topbar{padding-inline:14px}.top-date{display:none}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:27px}.page-head .primary-btn{font-size:13px}.home-search{padding:20px 16px}.home-search h2{font-size:21px}.home-search-input input{font-size:16px}.home-result{padding:12px 10px;gap:9px}.home-result b{font-size:11px}.home-result small{font-size:11px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card strong{font-size:20px}.stat-label{font-size:12px}.card{padding:16px 13px}.modal-backdrop{align-items:flex-start;overflow:auto}.modal{margin:12px auto;padding:17px 14px}.modal-head h2{font-size:21px}.home-actions>*{flex:1 1 auto}.message-preview textarea{font-size:16px}}
