html,body,#root{width:100%;min-height:100%;margin:0}:root{color:#19334b;background:#f3f7fb;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{color:#19334b;background:#f3f7fb;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #1174b8}.shell{min-height:100vh;padding:24px clamp(16px,3vw,42px) 32px}.top{align-items:center;gap:18px;margin-bottom:22px;display:flex}.top img{object-fit:contain;background:#fff;border:1px solid #e3edf4;border-radius:12px;width:98px;height:70px}.top h1{color:#123753;margin:4px 0 0;font-size:clamp(27px,3vw,36px)}.top p{color:#688096;margin:5px 0 0;font-size:13px}.eyebrow{letter-spacing:.16em;color:#1174b8;font-size:11px;font-weight:800}.primary{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#1684c5,#07518b);border:0;border-radius:10px;margin-left:auto;padding:12px 18px;font-weight:700}.controls{background:#fff;border:1px solid #dce7f0;border-radius:14px 14px 0 0;justify-content:space-between;align-items:center;gap:14px;min-height:68px;padding:12px 16px;display:flex;box-shadow:0 5px 20px #084b8408}.controls strong{text-transform:capitalize;color:#123753;text-align:center;font-size:17px}.month-navigation,.view-controls,.view-switch{align-items:center;gap:5px;display:flex}.controls input,.controls button{color:#07568e;background:#fff;border:1px solid #d3e2ec;border-radius:8px;padding:8px 11px}.controls button:hover{background:#edf6fc}.view-switch{background:#edf4f9;border-radius:9px;padding:3px}.view-switch button{background:0 0;border:0;padding:7px 12px}.view-switch button.active{color:#fff;background:#1174b8;box-shadow:0 2px 6px #084b8424}.view-switch button.active:hover{background:#0d6cae}.summary-bar{color:#688096;background:#fbfdff;border-inline:1px solid #dce7f0;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;font-size:12px;display:flex}.summary-bar strong{color:#07568e}.summary-bar label{align-items:center;gap:9px;display:flex}.summary-bar input{color:#19334b;background:#fff;border:1px solid #d3e2ec;border-radius:8px;min-width:190px;padding:8px 10px}.month-calendar{border:1px solid #dce7f0;background:#fff;border-top:0;border-radius:0 0 14px 14px;overflow:hidden;box-shadow:0 9px 26px #084b840a}.month-weekdays,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.month-weekdays>div{text-align:center;color:#07568e;background:#eff6fb;border-bottom:1px solid #dce7f0;padding:13px 5px;font-size:12px;font-weight:700}.month-grid{border-left:1px solid #e1eaf1}.month-cell{background:#fff;border-bottom:1px solid #e1eaf1;border-right:1px solid #e1eaf1;min-width:0;min-height:142px;padding:8px}.month-cell.outside{color:#9aabb8;background:#f8fafc}.month-cell.today{background:#f2f9fe}.month-day{color:#25485d;background:0 0;border:0;border-radius:50%;place-items:center;width:29px;height:29px;font-size:13px;font-weight:700;display:grid}.month-day:hover{background:#e5f3fc}.month-cell.today .month-day{color:#fff;background:#1174b8}.month-cell.outside .month-day{color:#9aabb8}.month-events{gap:4px;margin-top:5px;display:grid}.month-event{text-align:left;color:#195473;background:#e5f3fc;border:1px solid #c9e4f5;border-left:3px solid #1174b8;border-radius:5px;flex-direction:column;gap:2px;width:100%;min-width:0;padding:4px 5px;font-size:11px;display:flex;overflow:hidden}.month-event:hover{background:#d6ecfa}.month-event b,.month-event span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.month-event span{color:#64849a;font-size:10px}.month-event.en_cours{color:#216849;background:#e9f6ee;border-color:#c2e6ce #c2e6ce #c2e6ce #269260}.month-event.retour{color:#805c18;background:#fff3e2;border-color:#efd5a9 #efd5a9 #efd5a9 #d79827}.month-event.termine{color:#5d7281;background:#f1f4f6;border-color:#dce5eb #dce5eb #dce5eb #8ca2b1}.month-more{color:#1174b8;text-align:left;background:0 0;border:0;padding:2px 4px;font-size:11px;font-weight:700}.gantt-scroll{background:#fff;border:1px solid #dce7f0;border-top:0;border-radius:0 0 14px 14px;overflow:auto;box-shadow:0 9px 26px #084b840a}.gantt{min-width:max(960px,calc(200px + var(--day-count) * 36px))}.gantt-header,.gantt-row{grid-template-columns:200px minmax(0,1fr);display:grid}.gantt-header{z-index:4;background:#eff6fb;position:sticky;top:0}.gantt-label{z-index:2;background:#fff;border-bottom:1px solid #e1eaf1;border-right:1px solid #dce7f0;flex-direction:column;justify-content:center;gap:3px;min-height:54px;padding:9px 12px;display:flex;position:sticky;left:0;overflow:hidden}.gantt-label.heading{z-index:5;color:#07568e;background:#eff6fb;font-size:12px;font-weight:700}.gantt-label strong,.gantt-label small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gantt-label strong{color:#17425f;font-size:12px}.gantt-label small{color:#688096;font-size:10px}.gantt-days,.gantt-track{grid-template-columns:repeat(var(--day-count),minmax(36px,1fr));display:grid}.gantt-day{color:#617f95;border-bottom:1px solid #dce7f0;border-right:1px solid #dce7f0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:54px;font-size:11px;display:flex}.gantt-day b{color:#07568e;font-size:12px}.gantt-day small{font-size:10px}.gantt-day.weekend,.gantt-cell.weekend{background:#f5f8fb}.gantt-day.today,.gantt-cell.today{background:#eaf5fd}.gantt-track{border-bottom:1px solid #e1eaf1;height:54px}.gantt-cell{border-right:1px solid #edf2f6;grid-row:1}.gantt-bar{z-index:1;text-align:left;text-overflow:ellipsis;white-space:nowrap;color:#145878;background:#d9eefb;border:1px solid #81bfdf;border-left:4px solid #1174b8;border-radius:6px;align-self:center;height:31px;margin:0 2px;padding:5px 8px;font-size:11px;font-weight:700;overflow:hidden;box-shadow:0 2px 6px #084b8414}.gantt-bar:hover{filter:brightness(.96);z-index:3}.gantt-bar.en_cours{color:#216849;background:#e2f4e9;border-color:#8fd0aa #8fd0aa #8fd0aa #269260}.gantt-bar.retour{color:#805c18;background:#fff0d9;border-color:#ebce99 #ebce99 #ebce99 #d79827}.gantt-bar.termine{color:#5d7281;background:#edf1f4;border-color:#cdd9e0 #cdd9e0 #cdd9e0 #8ca2b1}.gantt-empty{color:#688096;padding:22px}.legend{color:#688096;flex-wrap:wrap;gap:15px;margin:14px 2px;font-size:11px;display:flex}.legend span{align-items:center;gap:6px;display:flex}.legend i{background:#1174b8;border-radius:3px;width:11px;height:11px}.legend i.en_cours{background:#269260}.legend i.retour{background:#d79827}.legend i.termine{background:#8ca2b1}.alert{color:#9a3327;background:#fff0ee;border-radius:8px;margin:9px 0;padding:11px 14px}.loading{color:#688096;padding:12px}.backdrop{z-index:10;background:#0d2a4488;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{color:#19334b;background:#fff;border-radius:16px;width:min(100%,650px);max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 25px 70px #102f5040}.modal-head{justify-content:space-between;align-items:center;gap:15px;display:flex}.modal-head h2{margin:0;font-size:21px}.modal-head button{color:#688096;background:0 0;border:0;font-size:26px}.status-chip{color:#07518b;background:#e5f3fc;border-radius:20px;margin-top:14px;padding:6px 10px;font-size:12px;display:inline-block}.status-chip.en_cours{color:#216849;background:#e9f6ee}.status-chip.retour{color:#805c18;background:#fff3e2}.status-chip.termine{color:#5d7281;background:#f1f4f6}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.detail-grid>div{overflow-wrap:anywhere;flex-direction:column;gap:6px;display:flex}.detail-grid span{color:#688096;font-size:11px}.detail-grid strong{font-size:13px}.day-list{gap:8px;margin-top:18px;display:grid}.day-list button{text-align:left;color:#19334b;background:#f5f9fc;border:1px solid #dce7f0;border-radius:8px;flex-direction:column;gap:4px;padding:10px;display:flex}.day-list button:hover{background:#eaf4fb}.day-list span{color:#688096;font-size:11px}.fields{grid-template-columns:1fr 1fr;gap:14px;margin:20px 0;display:grid}.field{color:#688096;flex-direction:column;gap:6px;font-size:12px;display:flex}.field input,.field select{color:#19334b;background:#fff;border:1px solid #d0e0eb;border-radius:8px;min-width:0;padding:10px}.fixed-field{color:#19334b;align-items:center;min-height:41px;font-size:13px;display:flex}.check-availability{color:#07568e;background:#eef6fc;border:1px solid #c5e0f2;border-radius:8px;align-self:end;padding:10px}.availability-note{color:#688096;align-self:end;margin:0;font-size:12px}.checkbox-field{color:#19334b;align-items:center;gap:8px;font-size:12px;display:flex}.form-actions{justify-content:flex-end;gap:10px;display:flex}.form-actions button:not(.primary){color:#07568e;background:#fff;border:1px solid #d0e0eb;border-radius:8px;padding:10px 14px}.form-actions .primary,.details .primary{margin-left:0}.login-note{padding:30px}.login-note a{color:#07568e}@media (width<=900px){.controls{flex-wrap:wrap}.controls strong{order:-1;width:100%}.month-cell{min-height:118px}.month-event span{display:none}}@media (width<=650px){.shell{padding:14px}.top{flex-wrap:wrap}.top img{width:78px;height:58px}.top h1{font-size:27px}.controls{gap:8px}.view-controls{justify-content:space-between;width:100%}.summary-bar{flex-wrap:wrap}.summary-bar label{width:100%}.summary-bar input{flex:1;min-width:0}.month-calendar{overflow-x:auto}.month-weekdays,.month-grid{min-width:700px}.fields,.detail-grid{grid-template-columns:1fr}}.event-filter{flex-wrap:wrap;gap:8px;margin:18px 0 10px;display:flex}.event-filter button{color:#07568e;background:#fff;border:1px solid #c8dfef;border-radius:9px;padding:10px 18px;font-weight:700}.event-filter button[aria-pressed=true]{color:#fff;background:#087bb5;border-color:#087bb5}.month-event.maintenance,.gantt-bar.maintenance,.status-chip.maintenance{color:#83531c;background:#fff0db;border-color:#ecc38c #ecc38c #ecc38c #d48a23}.legend i.maintenance{background:#d48a23}.gantt-cell{grid-row:1/-1}.gantt-track{grid-auto-rows:minmax(36px,1fr)}.gantt-label a{color:#07568e;overflow-wrap:anywhere;font-size:12px;font-weight:700}@media (width<=650px){.view-controls,.view-switch{flex-wrap:wrap}.view-switch button{padding:7px 9px}.controls input[type=month]{max-width:100%}}
