:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#203248;background:#f3f6fa;font-size:14px;--blue:#156079;--line:#e0e7ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:7px;padding:9px 13px;color:inherit}button:hover{border-color:#28768d;background:#edf5f6}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8fc5cf}aside{position:fixed;width:240px;inset:0 auto 0 0;background:#124f63;color:white;padding:36px 22px;display:flex;flex-direction:column}.brand{font-size:26px;font-weight:850;letter-spacing:1px;color:white;text-decoration:none}.brand span{display:block;font-size:9px;font-weight:500;letter-spacing:2.6px;margin-top:7px}.aside-label{font-size:10px;letter-spacing:1.7px;color:#90a8c3;margin:52px 10px 15px}nav{display:grid;gap:8px}nav button{background:transparent;color:#c0d1e4;border:0;text-align:left;padding:14px 12px;display:flex;gap:13px}nav button.active{background:#156079;color:white}footer{margin-top:auto;font-size:11px;line-height:1.8;letter-spacing:1px}footer span{color:#9fb4cd;letter-spacing:0}footer button{font-size:11px;background:transparent;color:#c0d1e4;border-color:#367b8d;letter-spacing:0}main{margin-left:240px;padding:32px 38px;max-width:2000px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;color:#6e8299;letter-spacing:2px;font-weight:700}h1{font-size:28px;margin:8px 0 0;font-weight:650;letter-spacing:-.7px}.date-controls{display:flex;gap:7px;align-items:center}input,select,textarea{border:1px solid #cdd8e4;border-radius:6px;padding:9px;background:white;color:inherit}h2{font-size:18px;margin:0 0 8px}h3{font-size:14px;margin:0}.muted{color:#708298;font-size:12px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.intro h2{text-transform:capitalize;font-size:20px}.tag{font-size:11px;background:#e5f0f2;color:#156079;padding:6px 10px;border-radius:20px}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-bottom:25px}.stat{padding:20px;background:white;border:1px solid var(--line);border-radius:10px}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin:10px 0 6px}.stat label{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#647b94}.stat.orange{background:#fff0da}.stat.green{background:#def1e5}.stat.deepgreen{background:#bde1cb}.section-title{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.aircraft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.aircraft{position:relative;background:white;border:1px solid var(--line);border-radius:10px;padding:17px 20px;overflow:hidden}.aircraft .top{display:flex;justify-content:space-between;align-items:center}.registration{font-size:20px;font-weight:750;color:var(--blue);letter-spacing:.5px}.registration.spo{color:#df7a18}.aircraft img{display:block;width:100%;height:110px;object-fit:contain;margin:8px auto}.crewline{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;min-height:35px}.hbe,.red{color:#c22832;font-weight:750}.status{font-size:11px;border-radius:4px;padding:5px 7px;background:#eef3f8;color:#65798e}.status.pf{background:#eadcf4;color:#75499a}.status.ok{background:#e0f1e6;color:#356548}.status.broken{background:#cc3340;color:white}.mode{font-size:11px;padding:5px;background:#f0f7f8;border:1px solid #d8e8ec}.mode.spo{background:#ffe8cf}.panels{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.panel{border:1px solid var(--line);border-radius:10px;background:white;padding:22px;line-height:1.9}.panel p{margin:10px 0 0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white;max-height:72vh}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;white-space:nowrap}th{position:sticky;top:0;background:#e8f1f3;z-index:2;color:#4b707b;font-size:10px;text-transform:uppercase;letter-spacing:.4px}th,td{padding:12px 10px;border-right:1px solid #e7edf3;border-bottom:1px solid #e7edf3;text-align:center}td:first-child,th:first-child{position:sticky;left:0;background:#f5f8fc;z-index:1;min-width:86px}th:first-child{z-index:3}td.editable{cursor:pointer;min-width:51px}td.editable:hover{box-shadow:inset 0 0 0 2px #4a91a3}.weekend td:first-child{background:#e2e9f3}.selected td:first-child{background:#156079;color:white}.rest{background:#dce9f9}.wish{background:#e8dcf3}.recover{background:#fae8d2}.taaf{background:#daeddd}.samu{background:#fff4c9}.nonvol{background:#edf0f4}.instruction{background:#26754d;color:white}.good{background:#e0efdf}.duplicate{background:#a7d2aa}.bad{background:#f5c9cd;color:#9c1e2c}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:12px}.primary{background:#156079;color:white;border-color:#156079}.primary:hover{background:#20758d;color:white}.legend{display:flex;gap:16px;font-size:11px;color:#60748a;margin:16px 0}.legend span{padding:5px 9px;border-radius:4px}.history{margin-top:24px}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;min-width:380px;max-width:90vw;color:inherit}dialog::backdrop{background:#124f6377}dialog label{display:block;margin:16px 0 6px}dialog select,dialog input,dialog textarea{width:100%}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}#error:not(:empty){background:#fce2e2;color:#9c2020;padding:15px;margin-bottom:20px;border-radius:8px}.empty{padding:60px;text-align:center;color:#6d8198}.fleet-form{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.fleet-row{padding:15px;background:white;border:1px solid var(--line);border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:10px}.fleet-row small{display:block;color:#7b8c9f;margin-top:5px}@media(max-width:1100px){aside{width:190px;padding:25px 15px}main{margin-left:190px;padding:25px}.brand{font-size:22px}.stats{gap:8px}.stat{padding:15px}header{align-items:flex-start;flex-direction:column}.aircraft-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aircraft{padding:13px}.registration{font-size:17px}}@media(max-width:750px){aside{position:static;width:auto;padding:20px}.aside-label,footer{display:none}nav{display:flex;overflow:auto;margin-top:20px}nav button{white-space:nowrap;padding:9px}main{margin:0;padding:18px}.aircraft-grid,.panels,.fleet-form{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.date-controls{flex-wrap:wrap}.intro{align-items:flex-start;gap:12px}.aircraft img{height:140px}}

/* Identité Hélilagon : bleu du logo, converti vers sRGB #156079. */
aside{background:#e8f0f2;color:#156079;border-right:1px solid #d5e4e8}.brand{display:block;width:100%;line-height:0}.brand img{display:block;width:100%;height:auto}.aside-label{color:#5a7d88}nav button{color:#3b6471}nav button.active{background:#156079;color:white}nav button:hover{background:#d6e8ec;color:#156079}nav button.active:hover{background:#1c6d85;color:white}footer span{color:#64818a}footer button{color:#156079;border-color:#adc9d0}footer button:hover{background:#d6e8ec}.brand:focus-visible{outline:3px solid #8fc5cf;outline-offset:8px}

.brand img{aspect-ratio:5/1;object-fit:cover;height:auto}

.brand{max-width:280px}

/* Menu latéral et date active. */
aside{background:#156079;color:#fff;border-right:1px solid #156079}
.brand img{filter:brightness(0) invert(1)}
.aside-label,nav button,footer,footer span,footer button{color:#fff}
nav button.active{background:rgba(255,255,255,.18);color:#fff}
nav button:hover,nav button.active:hover,footer button:hover{background:rgba(255,255,255,.24);color:#fff}
footer button{border-color:rgba(255,255,255,.5)}
.selected td:first-child{background:#156079;color:#fff}
.selected td:first-child button{background:#156079;color:#fff;border-color:rgba(255,255,255,.55);font-weight:750}
.selected td:first-child button:hover{background:#20758d;color:#fff}

/* Lignes compactes des plannings mensuel et Affect. */
.planning-table th{padding:8px 9px}
.planning-table td{padding:5px 9px;height:32px;line-height:18px}
.planning-table td:first-child button{padding:2px 7px;line-height:18px;min-height:24px;font-size:12px}

/* Nuances reprises des règles de présentation du classeur. */
.planning-table .weekend{--day-fill:#fffbe6}
.planning-table .holiday{--day-fill:#e8d9f1}
.planning-table.affect-table .holiday{--day-fill:#eee6f7}
.planning-table tr.weekend td:not([class]),.planning-table tr.holiday td:not([class]),
.planning-table tr.weekend td.editable:not(.rest):not(.wish):not(.recover):not(.taaf):not(.samu):not(.nonvol):not(.instruction):not(.good):not(.duplicate):not(.bad),
.planning-table tr.holiday td.editable:not(.rest):not(.wish):not(.recover):not(.taaf):not(.samu):not(.nonvol):not(.instruction):not(.good):not(.duplicate):not(.bad),
.planning-table tr.weekend td.hbe,.planning-table tr.holiday td.hbe,
.planning-table tr.weekend td.delta,.planning-table tr.holiday td.delta{background:var(--day-fill)}
.planning-table tr.weekend td:first-child,.planning-table tr.holiday td:first-child{background:var(--day-fill)}
.planning-table tr.weekend td:first-child button,.planning-table tr.holiday td:first-child button{background:transparent}
.planning-table tr.monday td{border-top:2px solid #3b5d84}
.planning-table tr.selected td:first-child,.planning-table tr.selected td:first-child button{background:#156079;color:#fff}
.planning-table td.crew-count{color:#243447;font-weight:650}
.planning-table td.crew-2{background:#5eca5d}
.planning-table td.crew-1{background:#83d581}
.planning-table td.crew-0{background:#abe3a7}
.planning-table td.crew--1{background:#f8d28e}
.planning-table td.crew--2{background:#f2a4a5}
.planning-table td.crew--3{background:#ec9292}
.planning-table td.crew--4{background:#df7070}
.planning-table.affect-table td.crew--3{background:#eb7f81}
.planning-table td.delta.positive{color:#16723c}
.planning-table td.delta.negative{color:#c00000}
/* Application complète : navigation et vues métier partagées. */
aside{width:218px;padding:25px 16px}.aside-label{margin:27px 10px 12px}nav{gap:3px}nav button{padding:10px;font-size:12px}main{margin-left:218px;padding:27px 30px}footer{font-size:10px}footer a{color:white;letter-spacing:0}.brand{margin:2px 0 14px}.brand img{aspect-ratio:5/1;object-fit:cover}#notice:not(:empty){padding:12px 16px;background:#e0efdf;border-radius:7px;margin-bottom:16px;color:#245a3d}#form-error{color:#b12530;white-space:pre-line;margin-top:10px}.toolbar{flex-wrap:wrap}.toolbar-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar a,.button-link{display:inline-block;padding:9px 12px;border:1px solid var(--line);background:white;color:#156079;border-radius:7px;text-decoration:none;font-size:12px}td .cell-button{border:0;background:transparent;border-radius:0;padding:0;width:100%;height:100%;font-size:inherit;min-height:20px}td:has(.cell-button){padding:4px 8px}.planning-table td{min-width:42px}.planning-table td:first-child{min-width:82px}.planning-table th{font-size:10px}.planning-table td.note{max-width:240px;white-space:normal;min-width:100px;line-height:1.35;font-size:11px}.table-wrap{max-height:73vh}.small-table{max-height:60vh}.metrics-table th{white-space:normal;min-width:75px}.metrics-table td{font-variant-numeric:tabular-nums}.positive{color:#16723c}.negative{color:#c00000}.warn{color:#a66b14}.note-text{color:#708298;font-size:12px;line-height:1.65}.status-strip{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card-grid .panel{margin:0}.card-grid h3{margin-bottom:10px}.panel h3{margin:18px 0 8px}.panel ul{margin:8px 0;padding-left:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label{margin:0}.form-grid .full{grid-column:1/-1}label small{display:block;color:#708298;margin:4px 0}dialog{width:560px;max-height:90vh;overflow:auto}dialog.wide{width:900px}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.field label{margin:0}.field input[type=checkbox]{width:auto;align-self:flex-start}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.check-grid label{display:flex;align-items:center;gap:6px;font-size:12px;margin:0}.check-grid input{width:auto}.pill{font-size:10px;background:#edf3f5;border-radius:10px;padding:3px 7px;color:#476878}.error-tag{background:#f5c2c1;color:#9b2028}.warning-tag{background:#fff0d5;color:#956518}.inline-actions{display:flex;gap:6px}.inline-actions button{padding:5px 9px;font-size:11px}.summary-cards{grid-template-columns:repeat(6,1fr)}.stat strong{font-size:26px}.legend{flex-wrap:wrap}.calendar-label{font-weight:650}.hidden-col{display:none}.rule-table td{white-space:normal;text-align:left;vertical-align:top;line-height:1.6;min-width:170px}.rule-table td:first-child{min-width:130px}.running{border-left:4px solid #156079}.progress-dots{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{50%{opacity:.25}}.month-pill{font-size:10px;margin-left:8px;padding:3px 7px;border-radius:9px;background:#edf0f4;color:#60748a}.readonly{background:#f3f5f8}.cell-button:focus-visible{outline:2px solid #156079;outline-offset:2px}.planning-table th:first-child{z-index:4}.planning-table .monday td{border-top:2px solid #3b5d84}input[type=file]{max-width:100%}.data-actions{display:flex;gap:10px;flex-wrap:wrap}.brand{max-width:220px}.aircraft .type{font-size:11px}.aircraft .crewline{font-size:12px}.aircraft img{height:95px}.aircraft-grid{gap:13px}.aircraft{padding:14px 17px}.bases-line{font-size:11px;color:#78909b;margin-top:8px}.source-info{overflow-wrap:anywhere}.clickable{cursor:pointer}.clickable:hover{background:#e7f0f3}.thicker{font-weight:700}.flag-line{display:flex;gap:6px;margin:5px 0;align-items:baseline}.flag-line .pill{flex-shrink:0}.scroll-hint{display:none}.audit-action{min-width:240px;text-align:left}.fleet-current td.notes{max-width:260px;white-space:normal}.fleet-current td{cursor:pointer}.fleet-current tr:hover td{filter:brightness(.98)}
@media(max-height:800px) and (min-width:751px){aside{padding-top:15px;padding-bottom:12px}.aside-label{margin-top:14px}nav button{padding:8px}footer{font-size:9px}.brand{margin-bottom:5px}}
@media(max-width:1100px){main{padding:22px}.stats{grid-template-columns:repeat(3,1fr)}.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:750px){aside{position:static;width:auto;padding:18px}main{margin-left:0;padding:18px}nav{display:flex;overflow:auto;gap:4px}nav button{flex-shrink:0}.brand{max-width:250px;margin:0}.aside-label{display:none}footer{display:none}.card-grid,.panels,.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.form-grid .full{grid-column:1}.toolbar{align-items:flex-start}.scroll-hint{display:block;font-size:11px;color:#708298}.aircraft-grid{grid-template-columns:1fr}.check-grid{grid-template-columns:repeat(2,1fr)}}

/* Largeur identique pour chaque pilote dans les deux plannings. */
.planning-table .pilot-column{width:50px;min-width:50px;max-width:50px;box-sizing:border-box;padding-left:4px;padding-right:4px;overflow:hidden}
.planning-table td.pilot-column .cell-button{width:40px;max-width:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Deux lignes de texte maximum, sans étirer les journées du planning. */
.planning-table td.note{padding-top:2px;padding-bottom:2px}
.planning-table .planning-lines,.planning-table td.note .cell-button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:13px;max-height:26px;white-space:normal;overflow-wrap:anywhere}
.stat.fleet-balanced{background:#e7f4e9}

/* Incohérences en pêche : distinctes du rose des VPN. */
.bad{background:#f2cee8;color:#7c285f}

/* Lisibilité de la navigation et identification des appareils hors Réunion. */
nav button{font-size:14px}
.aircraft .crewline b{font-size:20px;line-height:1.2;font-weight:750;letter-spacing:.5px}
.aircraft .crewline b .hbe{font-size:12px;letter-spacing:0}

@media(max-width:1100px){.aircraft .crewline b{font-size:17px}}

.fleet-section{margin:20px 0 26px}.fleet-section>.section-title{border-bottom:1px solid var(--line);padding-bottom:10px;margin:0 0 14px}.fleet-section h3{font-size:17px;color:#156079}.fleet-empty{padding:8px 0;margin:0}

.fleet-heading-actions{display:flex;align-items:center;gap:12px}.fleet-toggle{font-size:11px;padding:4px 8px;line-height:16px;background:transparent;color:#156079;border-color:#cbdde3}.fleet-body[hidden]{display:none}
/* Nom, effectif et bouton regroupés dans l’en-tête de chaque flotte. */
.fleet-section>.section-title{justify-content:flex-start;gap:14px;flex-wrap:wrap}
.fleet-section>.section-title h3{margin:0}
.fleet-heading-actions{gap:10px}

.affect-table .samu-column{background:#fbf276;color:#17212b}

.stat.crew-shortage{background:#f8dadd}

h1:has(.home-date){display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px}.home-date{font-size:18px;font-weight:500;letter-spacing:0}.home-operations{margin:0 0 20px}.home-operations .panel{padding:16px 20px}.intro:has(+.home-operations){margin-bottom:12px}

.pilot-firstname{font-size:.75em;font-weight:400}

.fleet-current tbody tr[data-fleet] td{background:var(--fleet-state)}.fleet-current tbody tr[data-fleet]:hover td{box-shadow:inset 0 1px #9caebd,inset 0 -1px #9caebd}

body.locked>aside,body.locked>main{display:none}#auth-screen:empty{display:none}#auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(460px,100%);padding:32px;background:white;border:1px solid var(--line);border-radius:14px}.login-card>img{width:100%;height:auto;margin-bottom:24px}.login-card h1{font-size:24px}.login-card .field label{display:block;margin:18px 0 6px}.login-card input{width:100%}#login-error{color:#9c2020}.login-card button{width:100%}#account-controls{font-size:11px;margin:18px 0;color:white}#account-controls div{display:flex;gap:5px;margin-top:8px}#account-controls button{font-size:10px;padding:5px;background:transparent;color:white;border-color:#ffffff55}.admin-menus{margin-top:24px}.admin-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.admin-role-grid .check-grid{display:grid;grid-template-columns:1fr;margin-top:12px;gap:10px}.admin-role-grid label{display:flex;align-items:center;gap:8px}button:disabled,select:disabled,input:disabled{cursor:default;opacity:.65}@media(max-width:750px){.admin-role-grid{grid-template-columns:1fr}#account-controls{margin:12px 0}}

.stat.pastel-red,td:has(>.cell-tint.pastel-red){background:#f8dadd}
td:has(>.cell-tint.orange){background:#fff0da}td:has(>.cell-tint.green){background:#def1e5}td:has(>.cell-tint.deepgreen){background:#bde1cb}

.taaf{background:#a9c7e8}
.summary-cards{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:4px}.summary-cards .stat{flex:1 0 100px;min-width:0;padding:11px 10px;border-radius:8px}.summary-cards .stat label{font-size:9px;letter-spacing:.35px;white-space:nowrap}.summary-cards .stat strong{font-size:21px;margin:6px 0 3px;letter-spacing:-.5px}.summary-cards .stat .muted{font-size:10px}
body[data-view="home"]{background:#d7e9f7}

.home-clocks{display:inline-flex;align-items:center;gap:10px;margin-left:4px}.home-clock{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 11px;border:1px solid #bad4e6;border-radius:8px;background:#ffffffa6;letter-spacing:0}.home-clock>span{font-size:10px;font-weight:500;color:#56758b}.home-clock time{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

body[data-view="home"] header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px}body[data-view="home"] header .date-controls{justify-self:end;justify-content:flex-end;flex-wrap:wrap}.home-clocks{justify-content:center;margin:0 auto;gap:10px}.home-clock{min-width:84px;padding:8px 10px}.analog-clock{width:54px;height:54px}.home-clock .clock-offset{font-size:10px;font-weight:400;color:#56758b;white-space:nowrap}.home-clock time{font-size:15px}@media(max-width:1100px){body[data-view="home"] header{grid-template-columns:1fr auto}body[data-view="home"] header>.home-clocks{grid-row:2;grid-column:1/-1;justify-self:center}body[data-view="home"] header>.date-controls{grid-row:1;grid-column:2}}@media(max-width:600px){body[data-view="home"] header{grid-template-columns:1fr}body[data-view="home"] header>.date-controls{grid-row:3;grid-column:1;justify-self:center}}

body[data-view="home"] header{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:16px}body[data-view="home"] #content>.home-clocks{display:flex;justify-content:center;align-items:center;gap:20px;margin:20px auto 26px}.home-clock[data-clock-zone="Indian/Reunion"]{min-width:108px;padding:12px 16px}.home-clock[data-clock-zone="Indian/Reunion"] .analog-clock{width:70px;height:70px}.home-clock[data-clock-zone="Indian/Reunion"]>span{font-size:12px;font-weight:600}.home-clock[data-clock-zone="Indian/Reunion"] time{font-size:18px}.home-clock[data-clock-zone="Indian/Reunion"] .clock-offset{font-size:11px}@media(max-width:600px){body[data-view="home"] #content>.home-clocks{gap:10px}body[data-view="home"] header .date-controls{justify-content:flex-start}}

.reunion-digital{display:flex;align-items:baseline;gap:10px;margin-top:10px;font-size:12px;color:#56758b}.reunion-digital time{font-size:23px;font-weight:600;color:#203248;font-variant-numeric:tabular-nums}.sun-times{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin-top:6px;font-size:12px;color:#56758b}.sun-times b{color:#203248;margin-left:5px;font-variant-numeric:tabular-nums}.sun-times small{font-size:10px;color:#708298}

.reunion-digital{margin-top:0}.time-offset{font-size:11px;color:#56758b}.flight-times{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin-top:6px;font-size:12px;color:#56758b}.flight-times b{margin-left:5px;color:#203248;font-variant-numeric:tabular-nums}

body:not(.locked){background:#d7e9f7}

.planning-table th,.planning-table td:first-child,.planning-table td:first-child button{font-weight:700}

.planning-table th.samu-column{background:#fbf276}
@media(min-width:751px){aside{width:244px}main{margin-left:244px}}
.metrics-table [data-pilot]{font-weight:700}

.planning-table td.has-comment{position:relative}.planning-table td.has-comment::after{content:"";position:absolute;right:2px;top:2px;width:0;height:0;border-top:7px solid #c97918;border-left:7px solid transparent;pointer-events:none}#f-comment{resize:vertical;min-height:80px}

/* Couleur de journée sur toute la ligne, sous les couleurs des codes et compteurs. */
.planning-table.monthly-table tbody tr.weekend,.planning-table.monthly-table tbody tr.holiday{background:var(--day-fill)}

.general-table{max-height:74vh;isolation:isolate}.general-table table{width:max-content;table-layout:fixed;white-space:nowrap}.general-table th,.general-table td{box-sizing:border-box}.general-table td{height:30px;padding:0;min-width:48px;width:48px;font-size:11px}.general-table .general-label{position:sticky;left:0;min-width:180px;width:180px;max-width:180px;padding:7px 12px;text-align:left;background:#f1f7fa;z-index:3;color:#203248;letter-spacing:0;text-transform:none;top:auto}.general-label b{font-size:12px}.general-label small{display:block;font-size:10px;color:#708298;font-weight:400;margin-top:3px}.general-table thead th{position:sticky;background:#dcecf5;color:#234c61;z-index:4}.general-table thead .general-corner{top:0;left:0;z-index:7;vertical-align:middle;background:#156079;color:white}.general-table .general-month{top:0;height:32px;padding:7px;background:#156079;color:white;font-size:12px;border-right:2px solid #aacbdc;text-transform:none}.general-table .general-week{top:32px;height:42px;padding:4px;min-width:48px;width:48px;font-size:11px}.general-week small{display:block;font-size:9px;font-weight:400;margin-top:3px;color:#56758b}.general-table .month-start{border-left:2px solid #8fb7ca}.general-cell{display:block;width:100%;height:30px;min-width:46px;padding:3px;border:0;border-radius:0;background:transparent;font-size:10px}.general-cell:hover{box-shadow:inset 0 0 0 2px #156079;background:#ffffff55}.general-cell:disabled{opacity:1;color:inherit}.general-table .general-section th,.general-table .general-section td{background:#c7dfea;height:31px;font-size:12px;font-weight:700}.general-table .general-section td{position:static}.general-table .general-aircraft td{color:#9aaeb9;background:#fafcfd}.general-table .current-week{box-shadow:inset 0 2px #e5b847,inset 0 -2px #e5b847}.general-table td:first-child{position:static}
.general-table thead .general-week,.general-table thead .general-month{left:auto}

.general-table .general-month{color:#203248;border-bottom:1px solid #cbd4dc}.general-table .general-production th{position:static;top:auto;height:34px}.general-table .general-production .general-label{position:sticky;left:0;background:#156079;color:white;font-weight:700}.general-table .general-production-weeks th{position:static;top:auto;padding:5px 3px;font-size:10px;text-transform:none}.general-table .general-production-weeks .general-label{position:sticky;left:0;background:#f1f7fa;padding-left:12px}.general-code{display:inline-block;padding:1px 2px;border-radius:2px}.general-cell:has(.general-code+.general-code){white-space:normal;height:auto;min-height:30px;font-size:8px;line-height:1.3}.general-table td.weekly-manual{outline:1px solid #9db0bd;outline-offset:-1px}

.general-table td.production-block{border-top:2px solid white;border-bottom:2px solid white;border-left:2px solid white;border-right:2px solid white;padding:0;border-radius:5px;color:#203248}.production-period{display:block;width:100%;min-height:32px;height:100%;padding:5px 8px;border:0;border-radius:3px;background:transparent;font-weight:700;font-size:11px;color:inherit;text-align:center;white-space:nowrap}.production-period:hover{box-shadow:inset 0 0 0 2px #156079;background:#ffffff30}.production-period:disabled{opacity:1;color:inherit}#f-production-note{resize:vertical;min-height:75px}

.production-palette{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--line);border-radius:8px;margin:0 0 16px;padding:12px}.production-palette legend{font-size:13px;padding:0 5px}.production-palette .production-swatch{display:flex;flex-direction:column;align-items:center;gap:5px;margin:0;width:80px;cursor:pointer}.production-swatch input{width:auto;margin:0}.production-swatch>span{width:54px;height:30px;border:2px solid transparent;border-radius:6px;box-shadow:0 0 0 1px #c7d4de}.production-swatch:has(input:checked)>span{border-color:#156079;box-shadow:0 0 0 2px white,0 0 0 3px #156079}.production-swatch small{text-align:center;font-size:10px;font-weight:400}

.general-table .general-corner{font-size:17px;line-height:1.25}.general-table .general-production .general-label{font-size:17px;line-height:1.25;padding:13px 12px;height:54px;white-space:normal}.general-table .general-production .general-month{height:54px}.general-table .general-month{border-right:0;border-left:2px solid #8fb7ca}.general-table .month-start,.general-table .general-section td.month-start,.general-table td.production-block.month-start{border-left:2px solid #8fb7ca}.general-table td.production-block{border-left:0;border-right:0;border-radius:0}.general-table table{table-layout:fixed}.general-display-toggle{display:flex;align-items:center;gap:6px;font-size:12px}.general-display-toggle input{width:auto}body[data-view="general"] header{margin-bottom:18px}body[data-view="general"] .toolbar{margin-bottom:10px}.general-table .general-label{width:180px;min-width:180px;max-width:180px}

.general-table td.production-blue-band{background:#156079;border-right:0;border-left:0;border-top:0;border-bottom:0;height:54px}.general-table .current-week{box-shadow:inset 2px 0 #e5b847,inset -2px 0 #e5b847}.production-period{overflow:hidden;text-overflow:ellipsis}

.general-table td.production-blue-band{box-shadow:none}.general-table td.production-solid{border-left:0;border-right:0;border-radius:5px}.production-solid .production-period{display:flex;align-items:center;justify-content:center;text-align:center;min-height:34px}
.general-table td.production-solid{background-image:none!important;box-shadow:none}

.general-table td{width:72px;min-width:72px;height:45px}.general-table .general-week{width:72px;min-width:72px}.general-table .general-cell{min-width:70px;height:45px;padding:5px;font-size:12px}.general-cell:has(.general-code+.general-code){min-height:45px;font-size:10px}.general-table .production-period{min-height:51px;font-size:13px}.general-table .general-aircraft td{height:45px}

.general-table .month-start,.general-table .general-section td.month-start,.general-table td.production-block.month-start,.general-table .general-month{border-left:0}

.export-sections{grid-template-columns:1fr 1fr;margin:16px 0}

.general-region-plan>.general-label{background:#c7dfea;font-weight:700}.general-region-plan>.general-label b{font-size:13px}.region-color-info{display:flex;align-items:center;gap:8px;font-size:12px}.region-color-info span{width:38px;height:22px;border:1px solid #c1aa98;border-radius:5px}.general-notes{position:relative;bottom:auto;z-index:auto;margin-top:14px;padding:12px 16px;box-shadow:0 3px 15px #20324816}.general-notes-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.general-notes .general-notes-heading h3{margin:0;font-size:14px}.general-notes-heading small{color:#708298;font-size:10px}.general-notes textarea{width:100%;resize:vertical;min-height:65px;max-height:180px;font-size:12px}

.general-table .general-region-plan td{height:30px}.general-table .general-region-plan>.general-label{padding:4px 12px}.general-table .general-region-plan>.general-label b{font-size:9px}.general-table .general-region-plan>.general-label small{display:none}.general-table .general-region-plan .general-cell{height:30px;min-height:30px;font-size:10px}.general-table .general-region-plan .production-period{height:34px;min-height:34px;padding:3px 6px;font-size:9px}

.fleet-type-heading{grid-column:1/-1;margin:12px 0 0;padding:8px 12px;background:#dcecf5;border-radius:6px;color:#156079}.pilot-initial-wishes{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:16px;font-size:12px}

.daily-fleet-column{display:flex;flex-direction:column;gap:12px;min-width:0}.fleet-hide-check{width:15px;height:15px;padding:0;margin:0 9px 0 0;vertical-align:middle;cursor:pointer}.fleet-hide-check:disabled{cursor:default}

body[data-view="fleetday"] .fleet-form{display:flex;flex-direction:column;gap:14px}.daily-region{background:#ffffff65;border:1px solid #c8dce9;border-radius:8px;padding:10px 12px}.daily-region h3{margin:0 0 9px;font-size:15px;color:#156079}.daily-region h4{margin:0 0 6px;font-size:12px;color:#4b707b}.daily-reunion-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.daily-base-list{display:flex;flex-direction:column;gap:6px}.daily-base-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;margin-left:5px;padding:2px 5px;border-radius:10px;background:#e4edf3;font-size:10px;font-weight:500;color:#56758b}.daily-base-empty{font-size:11px;color:#708298;margin:5px 0}.daily-region .fleet-row{padding:5px 8px;gap:8px;min-height:36px;max-width:360px;border-radius:6px}.daily-region .daily-aircraft-label{min-width:0;display:flex;align-items:baseline;gap:7px}.daily-region .daily-aircraft-label b{font-size:12px;white-space:nowrap}.daily-region .daily-aircraft-label small{display:inline;font-size:10px;margin:0;white-space:nowrap}.daily-region select{font-size:11px;padding:4px 5px;min-width:105px;max-width:130px;width:115px}@media(max-width:850px){.daily-reunion-grid{grid-template-columns:1fr;gap:12px}}@media(max-width:420px){.daily-region .daily-aircraft-label{display:block}.daily-region .daily-aircraft-label small{display:block;margin-top:2px}}
body[data-view="fleetday"] .fleet-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.fleet-form>.daily-region:nth-of-type(1){grid-column:1/3;grid-row:1}.fleet-form>.daily-region:nth-of-type(2){grid-column:3;grid-row:1}.fleet-form>.daily-region:nth-of-type(3){grid-column:1;grid-row:2}.daily-reunion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.daily-region .fleet-row{width:100%;max-width:none}.daily-region .daily-aircraft-label{flex-wrap:wrap;gap:2px 7px}@media(max-width:1000px){body[data-view="fleetday"] .fleet-form{grid-template-columns:1fr}.fleet-form>.daily-region:nth-of-type(1),.fleet-form>.daily-region:nth-of-type(2),.fleet-form>.daily-region:nth-of-type(3){grid-column:1;grid-row:auto}.daily-reunion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.daily-reunion-grid{grid-template-columns:1fr}}

body[data-view="fleetday"] .fleet-form>.daily-region:nth-of-type(3),body[data-view="fleetday"] .fleet-form>.daily-region:nth-of-type(4){grid-column:1/-1;grid-row:auto}.daily-fleet-details{display:grid;grid-template-columns:minmax(150px,2fr) repeat(3,minmax(115px,1fr));gap:12px;flex:1}.daily-fleet-details[hidden]{display:none}.daily-fleet-details label{display:flex;flex-direction:column;gap:4px;font-size:11px}.daily-fleet-details input{width:100%;min-width:0;padding:6px;font-size:12px}.daily-fleet-details output{padding:6px;font-weight:700}.daily-region:nth-of-type(3) .fleet-row,.daily-visits .fleet-row{flex-wrap:wrap;padding:8px}.daily-region:nth-of-type(3) .daily-base-list,.daily-visits .daily-base-list{gap:8px}@media(max-width:1000px){.daily-fleet-details{flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr))}}

.daily-aircraft-label .production-hide-check{width:14px;height:14px;min-width:14px;margin:0 2px 0 0;cursor:pointer}

body[data-view="fleetday"] .daily-region:nth-of-type(3) .fleet-row,body[data-view="fleetday"] .daily-visits .fleet-row{display:grid;grid-template-columns:minmax(145px,1.1fr) 115px minmax(0,4fr);align-items:center;gap:12px;flex-wrap:nowrap}.daily-region:nth-of-type(3) .daily-aircraft-label,.daily-visits .daily-aircraft-label{align-items:center;justify-content:center}.daily-region:nth-of-type(3) .daily-fleet-details,.daily-visits .daily-fleet-details{align-items:center;grid-template-columns:minmax(150px,2fr) repeat(2,minmax(125px,1fr)) minmax(130px,1fr)}.daily-fleet-details .daily-remaining-label{text-align:center;align-items:stretch}.daily-fleet-details .daily-remaining{display:flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #b9c9d6;border-radius:5px;background:#ffffffa6;font-size:19px;font-weight:700;text-align:center;line-height:1.2}@media(max-width:1100px){body[data-view="fleetday"] .daily-region:nth-of-type(3) .fleet-row,body[data-view="fleetday"] .daily-visits .fleet-row{grid-template-columns:minmax(145px,1fr) 115px}.daily-region:nth-of-type(3) .daily-fleet-details,.daily-visits .daily-fleet-details{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.daily-region:nth-of-type(3) .daily-fleet-details,.daily-visits .daily-fleet-details{grid-template-columns:1fr}}

.fleet-history-aircraft{padding:5px 0;border-bottom:1px solid #d9e3eb;font-size:12px}#fleet-history-rows{max-height:65vh;overflow:auto;margin-top:14px}

.january-hbe{display:flex;gap:3px;min-width:112px}.january-hbe select{width:54px;min-width:0;padding:3px 1px;font-size:11px;font-weight:700}

.fleet-save-feedback{padding:12px;margin:0 0 12px;border-radius:7px;font-size:13px;font-weight:600}.fleet-save-feedback.success{background:#e7f4e9;color:#254a30}.fleet-save-feedback.incomplete{background:#fff0da;color:#71481b}

#fleet-save-feedback{max-width:360px;white-space:normal;font-size:12px;line-height:1.4}#fleet-save-feedback:empty{display:none}#fleet-save-feedback.fleet-save-feedback{margin:0;padding:9px 11px}

#fleet-save-feedback{max-width:none}#fleet-save-feedback.fleet-save-feedback{margin:0 0 12px;padding:12px 15px}#fleet-save-feedback.incomplete{background:#fce2e2;color:#9c2020;border:1px solid #e5b0b0}

.fleet-activity{margin:8px 0;line-height:1.6}.fleet-activity .status{color:#203248}

.home-operations{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:16px;align-items:stretch}.home-time-panel .reunion-digital{margin:4px 0 18px;justify-content:center;flex-wrap:wrap}.home-time-panel .reunion-digital time{font-size:30px;font-weight:700}.home-solar-grid,.home-flight-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-flight-grid{margin-top:14px;padding-top:14px;border-top:1px solid #bcd2e2}.home-time-item{display:flex;align-items:center;gap:8px;min-width:0}.home-time-icon{display:block;width:42px;height:42px;flex:0 0 42px}.home-time-icon svg{width:100%;height:100%}.home-time-item div{display:flex;flex-direction:column;gap:3px}.home-time-item div>span{font-size:11px;color:#56758b}.home-time-item b{font-size:19px;color:#203248;font-variant-numeric:tabular-nums}.home-time-note{font-size:10px;color:#708298;margin:14px 0 0;text-align:center}@media(max-width:1150px){.home-operations{grid-template-columns:1fr 1fr}.home-time-panel{grid-column:1/-1}.home-time-panel .home-solar-grid,.home-time-panel .home-flight-grid{max-width:500px;margin-left:auto;margin-right:auto}}@media(max-width:700px){.home-operations{grid-template-columns:1fr}.home-time-panel{grid-column:auto}}

.home-operations{grid-template-columns:minmax(210px,.7fr) minmax(230px,1fr) minmax(300px,1.45fr)}.home-time-panel .reunion-digital{gap:7px;margin:0 0 14px}.home-time-panel .reunion-digital time{font-size:26px}.home-time-panel .reunion-digital>span:first-child{flex-basis:100%;text-align:center}.home-time-item{justify-content:center;text-align:center}.home-time-panel .home-solar-grid,.home-time-panel .home-flight-grid{gap:8px}.home-time-item b{font-size:18px}@media(max-width:1150px){.home-operations{grid-template-columns:minmax(210px,.8fr) minmax(260px,1.2fr)}.home-time-panel{grid-column:auto;grid-row:1}.home-operations>.panel:nth-child(2){grid-column:1;grid-row:2}.home-operations>.panel:nth-child(3){grid-column:2;grid-row:1/3}}@media(max-width:700px){.home-operations{grid-template-columns:1fr}.home-time-panel,.home-operations>.panel:nth-child(2),.home-operations>.panel:nth-child(3){grid-column:1;grid-row:auto}}

@media(min-width:1101px){.home-operations{grid-template-columns:calc((100% - 60px)/5) minmax(0,1fr) minmax(0,1.45fr);gap:15px}}@media(min-width:701px) and (max-width:1100px){.home-operations{grid-template-columns:calc((100% - 16px)/3) minmax(0,1fr);gap:8px}.home-time-panel{grid-column:1;grid-row:1}.home-operations>.panel:nth-child(2){grid-column:1;grid-row:2}.home-operations>.panel:nth-child(3){grid-column:2;grid-row:1/3}}@media(max-width:700px){.home-time-panel{width:calc((100% - 8px)/2);min-width:0}.home-time-panel .home-solar-grid,.home-time-panel .home-flight-grid{grid-template-columns:1fr}}

#general-wrap{position:relative;isolation:isolate;z-index:0}.general-notes{position:relative;inset:auto;z-index:1;isolation:isolate;pointer-events:auto}.general-notes textarea{position:relative;display:block;z-index:1;pointer-events:auto;cursor:text;user-select:text;-webkit-user-select:text;touch-action:manipulation}

.efficiency-table{max-height:70vh}.efficiency-table table{width:100%;table-layout:auto}.efficiency-table thead th{text-align:center;vertical-align:middle;line-height:1.35;padding:10px 8px;white-space:normal;min-width:78px}.efficiency-table .efficiency-groups th{top:0;height:34px;padding:8px;font-size:11px;font-weight:700;letter-spacing:.4px}.efficiency-table thead tr:nth-child(2) th{top:34px;font-size:11px}.efficiency-table .efficiency-groups th:first-child{min-width:110px;left:0;z-index:5}.efficiency-table tbody th{position:sticky;left:0;z-index:2;background:white;text-align:left;font-size:12px;font-weight:700;white-space:nowrap}.efficiency-table tbody td{font-size:13px;text-align:center;vertical-align:middle;font-variant-numeric:tabular-nums;min-width:78px}.efficiency-table tbody td,.efficiency-table tbody th{height:43px;padding:8px 6px}.efficiency-table tbody td:nth-child(n+10):nth-child(-n+13){font-weight:700;min-width:92px}.efficiency-table tbody td:nth-child(2),.efficiency-table tbody td:nth-child(5),.efficiency-table tbody td:nth-child(10),.efficiency-table tbody td:nth-child(14){border-left:2px solid var(--line)}.efficiency-table tbody td>span{display:block;border-radius:4px;padding:6px 4px}.efficiency-table tbody td>span.muted{font-size:11px;font-weight:400;line-height:1.3}.efficiency-explanation{margin-top:16px}.efficiency-explanation summary{cursor:pointer;font-size:12px;font-weight:600}.efficiency-explanation .note-text{line-height:1.7;margin-top:10px}

.summary-table{max-height:70vh;isolation:isolate}.summary-table table{width:100%;min-width:1480px}.summary-table thead th{text-align:center;vertical-align:middle;white-space:normal;line-height:1.35;padding:10px 7px;min-width:69px}.summary-table .summary-groups th{top:0;height:34px;padding:8px;font-size:11px;font-weight:700;letter-spacing:.35px}.summary-table thead tr:nth-child(2) th{top:34px;font-size:11px}.summary-table .summary-groups th:first-child{position:sticky;left:0;z-index:6;min-width:78px}.summary-table tbody th{position:sticky;left:0;z-index:2;background:white;text-align:center;min-width:78px}.summary-table tbody th button{font-size:14px;font-weight:700;padding:5px 8px}.summary-table tbody td,.summary-table tbody th{height:45px;padding:8px 6px;text-align:center;vertical-align:middle;font-size:13px;font-variant-numeric:tabular-nums}.summary-table tbody td:nth-child(2){font-size:11px;white-space:nowrap;min-width:100px}.summary-table tbody td:nth-child(3),.summary-table tbody td:nth-child(5),.summary-table tbody td:nth-child(9),.summary-table tbody td:nth-child(12),.summary-table tbody td:nth-child(15){border-left:2px solid var(--line)}.summary-table tbody td:nth-child(n+5):nth-child(-n+7),.summary-table tbody td:nth-child(14){font-weight:700}.summary-table tbody td>span{display:block;padding:6px 3px;border-radius:4px}

body[data-view="home"] #title{font-size:36px}body[data-view="home"] #title .home-date-today{color:#278044}body[data-view="home"] #title .home-date-other{color:#b43333}@media(max-width:700px){body[data-view="home"] #title{font-size:30px}}

.home-time-panel .reunion-digital{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:8px;margin-bottom:18px}.home-time-panel .reunion-digital>span:first-child{grid-column:1/-1;text-align:center;font-size:19px;font-weight:700;line-height:1.3;margin-bottom:6px}.home-time-panel .reunion-digital time{grid-column:2;text-align:center;font-size:30px;justify-self:center}.home-time-panel .reunion-digital .time-offset{grid-column:3;justify-self:end;text-align:right;font-size:10px;white-space:nowrap}

.home-time-panel .home-solar-grid .home-time-item b{color:#b96512}.home-time-panel .home-flight-grid .home-time-item b{color:#278044}

.home-time-panel .home-flight-grid .home-time-item b{font-size:22px}

.home-operations-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.home-operations-heading h2{margin:0}.home-operations-heading #ops{margin-left:auto;flex-shrink:0;font-size:11px;padding:7px 10px}@media(max-width:500px){.home-operations-heading{flex-wrap:wrap}}

@media(min-width:1101px){.home-operations{grid-template-columns:calc((100% - 60px)/5) minmax(0,1.45fr) minmax(0,1fr)}}@media(min-width:701px) and (max-width:1100px){.home-operations>.home-operations-panel{grid-column:2;grid-row:1/3}.home-operations>.home-activities-panel{grid-column:1;grid-row:2}}@media(max-width:700px){.home-operations>.home-operations-panel,.home-operations>.home-activities-panel{grid-column:1;grid-row:auto}}#efficiency-explanation-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:8px 10px}#efficiency-explanation-text[hidden]{display:none}#efficiency-explanation-text:not([hidden]){display:block;padding:12px 0;line-height:1.8}

@media(min-width:1101px){.home-operations>.home-time-panel{grid-column:1;grid-row:1}.home-operations>.home-operations-panel{grid-column:2;grid-row:1}.home-operations>.home-activities-panel{grid-column:3;grid-row:1}}

.home-current-visits{margin-top:16px;padding-top:12px;border-top:1px solid #bcd2e2}.home-current-visits h3{margin:0 0 10px;font-size:13px}.home-current-visits>p{font-size:12px}.home-visits-table{overflow-x:auto}.home-visits-table table{width:100%;font-size:12px}.home-visits-table thead th{position:static;padding:7px 6px;text-align:left;font-size:10px}.home-visits-table tbody th,.home-visits-table td{padding:8px 6px;vertical-align:top;text-align:left;font-size:12px}.home-visits-table tbody th,.home-visits-table td:nth-last-child(-n+2){white-space:nowrap}.home-visits-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.home-visits-table .visit-deadline{color:#b43333;font-weight:700}

.home-activities-panel .fleet-activity{margin-top:18px;padding-top:10px}.home-activities-panel .fleet-activity+.fleet-activity{margin-top:6px;padding-top:0}

.home-time-panel .reunion-digital .time-offset{justify-self:start;margin-left:2px}

.summary-table .summary-balance-positive,.summary-table .summary-balance-zero{color:inherit;font-weight:700}.summary-table td:has(>.summary-balance-positive){background:#f8dadd}.summary-table td:has(>.summary-balance-zero){background:#def1e5}

.summary-table tbody td:nth-child(12),.summary-table tbody td:nth-child(15){border-left:0}.summary-table tbody td:nth-child(11),.summary-table tbody td:nth-child(14){border-left:2px solid var(--line)}.summary-table tbody td:nth-child(13){font-weight:700}

.summary-table table{min-width:1320px}.summary-table tbody td:nth-child(2){font-size:13px;white-space:normal;min-width:69px}.summary-table tbody td{border-left:0;font-weight:400}.summary-table tbody td:nth-child(2),.summary-table tbody td:nth-child(4),.summary-table tbody td:nth-child(8),.summary-table tbody td:nth-child(10),.summary-table tbody td:nth-child(13){border-left:2px solid var(--line)}.summary-table tbody td:nth-child(n+4):nth-child(-n+6),.summary-table tbody td:nth-child(12){font-weight:700}

.planning-table td.pilot-column .cell-button.long-planning-code{font-size:10px;letter-spacing:-.2px}.planning-table td.pilot-column .cell-button.long-planning-code{white-space:nowrap;text-overflow:clip}

.ops-color-option{margin:-6px 0 16px}.ops-color-option label{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#b43333;cursor:pointer}dialog .ops-color-option input[type="checkbox"]{width:auto;margin:0;accent-color:#b43333}.ops-text-red,.planning-table .cell-button.ops-text-red{color:#b43333}

.affect-table .cell-button.affect-ta-pilot{font-weight:700;color:#df7a18}

.planning-table .planning-fleet-column{width:48px;min-width:48px;max-width:48px;padding-left:4px;padding-right:4px;text-align:center;box-sizing:border-box}

.planning-table tr td.planning-fleet-column{background:var(--day-fill,#fff)}

.affect-table .ops-frame-start{border-left:1px solid #8da6b9}.affect-table .ops-frame-end{border-right:1px solid #8da6b9}.affect-table thead .ops-frame{border-top:1px solid #8da6b9}.affect-table tbody tr:last-child .ops-frame{border-bottom:1px solid #8da6b9}

.planning-table .planning-fleet-column{width:58px;min-width:58px;max-width:58px;padding-left:7px;padding-right:9px}

.affect-table thead th.ops-frame{background:#ffe8cf;color:#203248}

.planning-table thead th.spo-pilot-header{background:#ffe8cf;color:#203248}

.planning-table .spo-frame-start{border-left:1px solid #8da6b9}.planning-table .spo-frame-end{border-right:1px solid #8da6b9}.planning-table thead .spo-frame{border-top:1px solid #8da6b9}.planning-table tbody tr:last-child .spo-frame{border-bottom:1px solid #8da6b9}

.general-table .general-region-plan>.general-label,.general-table .general-region-plan>.general-label b{font-size:12px;font-weight:700}

.general-table td.production-solid.production-completed{background-image:repeating-linear-gradient(135deg,transparent 0,transparent 7px,rgba(32,50,72,.18) 7px,rgba(32,50,72,.18) 9px)!important}.production-completed-option{margin:12px 0 18px}.production-completed-option label{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}dialog .production-completed-option input[type="checkbox"]{width:auto;margin:0}

.affect-table td.pilot-column .cell-button.double-assignment{font-size:10px;letter-spacing:-.1px;white-space:nowrap;text-overflow:clip}

/* Clearly visible, clickable checkboxes in Safari as well as other browsers. */
input[type="checkbox"],.check-grid input[type="checkbox"],.admin-role-grid input[type="checkbox"],dialog input[type="checkbox"],.general-display-toggle input[type="checkbox"]{-webkit-appearance:none;appearance:none;display:inline-block;position:relative;width:19px;min-width:19px;max-width:19px;height:19px;min-height:19px;padding:0;margin:0;border:1.5px solid #7d94a8;border-radius:4px;background-color:#fff;background-image:none;vertical-align:middle;flex:0 0 19px;cursor:pointer;pointer-events:auto;touch-action:manipulation;box-sizing:border-box}
input[type="checkbox"]:checked,.check-grid input[type="checkbox"]:checked,.admin-role-grid input[type="checkbox"]:checked,dialog input[type="checkbox"]:checked,.general-display-toggle input[type="checkbox"]:checked{background-color:#156079;border-color:#156079;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:17px 17px;background-repeat:no-repeat;background-position:center}
.checkbox-option,.check-grid .checkbox-option,.admin-role-grid .checkbox-option{display:flex;align-items:center;gap:9px;min-height:32px;padding:3px 5px;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation}.checkbox-option>span{pointer-events:none}.general-display-toggle{min-height:32px;cursor:pointer;user-select:none;-webkit-user-select:none}.checkbox-option:focus-within{outline:2px solid #8fc5cf;outline-offset:2px;border-radius:4px}

.general-corner-title{display:block}.general-pilot-toggle{display:block;margin:6px auto 0;padding:3px 0;border:0;background:transparent;color:inherit;font-size:11px;font-weight:400;text-transform:none;text-decoration:underline;cursor:pointer;box-shadow:none;white-space:normal}.general-pilot-toggle:hover{background:transparent;text-decoration:none}

body[data-view="production"] header{margin-bottom:18px}body[data-view="production"] .toolbar{margin-bottom:10px}

/* Explicit checkbox activation for Safari, mouse, touch and keyboard. */
.checkbox-control{display:inline-flex;align-items:center;min-width:0}.checkbox-control input[hidden]{display:none!important}.checkbox-toggle{display:inline-flex;align-items:center;gap:9px;min-height:34px;margin:0;padding:3px 5px;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;box-shadow:none;touch-action:manipulation}.checkbox-toggle:hover{background:rgba(21,96,121,.07)}.checkbox-mark{display:inline-block;flex:0 0 19px;width:19px;height:19px;border:1.5px solid #7d94a8;border-radius:4px;background:white;box-sizing:border-box}.checkbox-toggle[aria-checked="true"] .checkbox-mark{background:#156079;border-color:#156079}.checkbox-toggle[aria-checked="true"] .checkbox-mark::after{content:"";display:block;width:9px;height:5px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg);margin:4px 3px}.check-grid .checkbox-control{font-size:12px}.daily-aircraft-label .checkbox-toggle{padding:3px;min-width:30px}.daily-aircraft-label .checkbox-toggle>span:last-child:not(.checkbox-mark){display:none}.checkbox-toggle:focus-visible{outline:2px solid #156079;outline-offset:2px}.checkbox-toggle:disabled{cursor:default;opacity:.55}

/* Maintenance details fit inside the aircraft's fixed base column. */
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2){min-width:0}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .fleet-row:has(.daily-fleet-details:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 115px;align-items:center;gap:8px;padding:8px;min-width:0}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-fleet-details{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;width:100%}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-fleet-details[hidden]{display:none}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-fleet-details label{min-width:0;margin:0}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-fleet-details label:first-child,body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-remaining-label{grid-column:1/-1}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-fleet-details input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
body[data-view="fleetday"] .daily-region:nth-of-type(-n+2) .daily-aircraft-label{min-width:0}

.daily-visit-card{padding:10px;border:1px solid #e0e7ef;border-radius:6px;min-width:0}.daily-visit-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:12px}.daily-visit-heading small{color:#708298}.daily-visit-heading span{margin-left:auto}.daily-visits .daily-visit-card .daily-fleet-details{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:12px;min-width:0}.daily-visit-card label{min-width:0;margin:0}.daily-visit-card input{min-width:0;width:100%;max-width:100%}@media(max-width:1000px){.daily-visits .daily-visit-card .daily-fleet-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.daily-visits .daily-visit-card .daily-fleet-details{grid-template-columns:1fr}}

.planning-week-number{display:inline-block;margin-right:4px;padding:1px 3px;border:1px solid #acc1ce;border-radius:3px;color:#156079;background:#ffffffb3;font-size:8px;font-weight:700;line-height:1.2;vertical-align:middle}.planning-table [data-day]{white-space:nowrap}

.log-table table{width:100%}.log-table td{white-space:normal;text-align:left;vertical-align:top}.log-table td:first-child{white-space:nowrap}.log-table td:nth-child(2){min-width:130px}.log-table td:last-child{min-width:240px}.log-table small{color:#708298}

/* Weekly commercial requirements and available resources. */
.general-table .general-capacity th,.general-table .general-capacity td{background:#dcecf8;color:#203248;height:34px;font-size:13px;font-weight:700;border-bottom:1px solid #c3d8e7}.general-table .general-capacity-required th,.general-table .general-capacity-required td{background:#156079;color:#fff}.general-table .general-capacity .general-cell{height:34px;min-height:34px;font-size:13px;font-weight:700;color:inherit}.general-capacity-value{display:block;text-align:center;padding:7px 3px}.general-table .general-capacity-hlos th,.general-table .general-capacity-hlos td{border-bottom:2px solid #9cbece}

.general-capacity-value.general-pnt-highlight{display:inline-block;min-width:34px;padding:4px 8px;margin:3px;border-radius:5px;color:#203248}

.general-table .general-capacity-required .general-cell{color:#ffff00}

.general-explanation h3{margin:18px 0 6px}.general-explanation p{margin:7px 0 12px;line-height:1.7}.general-rules-table{width:260px;white-space:normal;margin:10px 0}.general-rules-table th,.general-rules-table td,.general-rules-table td:first-child,.general-rules-table th:first-child{position:static;padding:6px 12px;min-width:0}.general-rules-table th{font-size:11px}

/* Operations dialog: TA in SPO orange, HBE in red. */
#dialog:has(#f-ops0) :is(#f-ta0,#f-ta1,#f-ta2){color:#df7a18}
#dialog:has(#f-ops0) :is(#f-hbe,#f-hbe2){color:#c22832}

#dialog:has(#f-ops0) :is(#f-ta0,#f-ta1,#f-ta2,#f-hbe,#f-hbe2):has(option[value=""]:checked){color:inherit}

.general-table .general-label.general-pilot-spo{background:#ffe8cf;color:#203248}.general-table .general-label.general-pilot-seasonal{background:#e7dcf2;color:#203248}

.general-table .general-label.general-pilot-samu{background:#fbf276;color:#203248}.general-table .general-label.general-pilot-rnd{background:#a9c7e8;color:#203248}

.general-table .general-label.general-pilot-acn{background:linear-gradient(135deg,#fbf276 0%,#fbf276 50%,#a9c7e8 50%,#a9c7e8 100%);color:#203248}

/* Show complete production labels, including narrow weekly blocks. */
.general-table .production-solid .production-period{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:normal;height:auto;min-height:51px;line-height:1.25;padding:6px 4px}
.general-table .general-region-plan .production-period{height:auto;min-height:34px;padding:4px;font-size:9px}

.general-table .production-solid.production-darkblue .production-period{color:#fff6a3;text-shadow:0 1px 1px #203248;font-weight:750}

.header-title-group{display:flex;align-items:center;gap:14px;min-width:0}#sidebar-toggle{flex-shrink:0;font-size:11px;padding:8px 10px;border-color:#aac4d5;color:#156079;background:#ffffffb8;white-space:nowrap}body.sidebar-collapsed>aside{display:none}body.sidebar-collapsed>main{margin-left:0;max-width:none}@media(max-width:750px){.header-title-group{flex-wrap:wrap;gap:8px}#sidebar-toggle{font-size:12px}}

.production-notes{margin-top:16px}.production-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.production-notes-heading h2{margin:0}.production-notes textarea{display:block;width:100%;min-height:110px;resize:vertical;margin-top:8px;line-height:1.5}.production-notes textarea[readonly]{background:#edf3f8}.production-notes #production-notes-status{min-height:20px;margin:6px 0 0}

/* iPhone / iPad: keep the planning inside its own scrolling surface. */
#sidebar-backdrop,#sidebar-close{display:none}
.table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
@media(max-width:1024px){
 body{min-width:0}body>main,body.sidebar-collapsed>main{margin-left:0;max-width:none;min-width:0;padding:20px max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 body>aside{position:fixed;inset:0 auto 0 0;width:min(320px,86vw);height:100vh;height:100dvh;padding:18px 18px max(18px,env(safe-area-inset-bottom));padding-top:max(18px,env(safe-area-inset-top));z-index:100;overflow-y:auto;overscroll-behavior:contain;display:flex;box-shadow:6px 0 28px #102b4155}
 body>aside nav{display:grid;overflow:visible;gap:4px;margin:12px 0}body>aside nav button{white-space:normal;min-height:44px;font-size:15px;padding:11px 12px}
 body>aside .brand{max-width:245px;margin:10px 0}body>aside .aside-label{display:block;margin:12px 8px 0}body>aside footer{flex-shrink:0}body>aside #account-controls button{min-height:40px;font-size:13px;padding:8px}
 #sidebar-close{display:block;align-self:flex-end;background:#ffffff18;border-color:#ffffff55;color:white;min-height:44px}
 #sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#102b4166;z-index:99}
 body.locked #sidebar-backdrop{display:none}body.mobile-menu-open{overflow:hidden}
 header,body[data-view="home"] header{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}
 .header-title-group{flex-wrap:wrap;gap:12px}#sidebar-toggle{font-size:14px;min-height:44px}
 .date-controls,body[data-view="home"] header .date-controls{flex-wrap:wrap;justify-content:flex-start;gap:6px;min-width:0}
 .date-controls input{min-width:0;max-width:100%}.toolbar,.intro,.section-title{flex-wrap:wrap;gap:12px}.toolbar-group{min-width:0;max-width:100%}
 #content,.panel,.card-grid,.home-operations,.stats{min-width:0}.home-visits-table{overflow-x:auto;max-width:100%}
 dialog,dialog.wide{min-width:0;width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto;overscroll-behavior:contain}
 dialog .actions{position:sticky;bottom:-20px;background:white;padding:12px 0;margin-top:16px;border-top:1px solid var(--line);z-index:5}
 .table-wrap{max-height:68vh;max-height:68dvh}.general-table-wrap{max-width:100%}
}
@media(pointer:coarse){
 button,.button-link,.toolbar a{touch-action:manipulation;min-height:44px}input,select,textarea{font-size:16px;min-height:44px}input[type=checkbox],input[type=radio]{width:22px;height:22px;min-height:22px;flex-shrink:0}
 .check-grid label,.admin-role-grid label{min-height:44px}.planning-table td .cell-button{min-height:32px}.general-table .general-cell{min-height:40px}
 .daily-region select{font-size:16px;min-height:44px;max-width:100%;width:140px}.daily-region .fleet-row{min-height:56px}
 .daily-region .daily-fleet-details input{font-size:16px;min-height:44px}.production-notes textarea{font-size:16px}
}
@media(max-width:700px){
 h1{font-size:28px}h1:has(.home-date){font-size:30px}.home-date{font-size:16px}.eyebrow{letter-spacing:1px}
 .home-operations{display:flex;flex-direction:column}.home-time-panel{width:100%}.home-operations-panel{order:1}.home-activities-panel{order:2}.home-time-panel .home-solar-grid,.home-time-panel .home-flight-grid{grid-template-columns:1fr 1fr}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:12px}.stat label{overflow-wrap:anywhere}.stat strong{font-size:25px}
 .aircraft-grid,.card-grid,.panels,.form-grid{grid-template-columns:minmax(0,1fr)}.panel{padding:14px}.aircraft{min-width:0}
 .check-grid{grid-template-columns:1fr 1fr}.legend{gap:6px}.production-notes-heading{flex-wrap:wrap}.daily-visit-heading{flex-wrap:wrap}
 body[data-view="fleetday"] .daily-fleet-details{grid-template-columns:minmax(0,1fr)}
 .table-wrap{border-radius:6px}.general-table .general-label{min-width:100px;max-width:120px;width:120px}
 .home-operations-heading #ops{white-space:normal}.login-card{padding:22px}#auth-screen{padding:16px;min-height:100dvh}
}
@media(pointer:coarse){dialog input,dialog select,dialog textarea,.login-card input{font-size:16px}}
@media(max-width:1366px){dialog input,dialog select,dialog textarea,.login-card input,.date-controls input,.production-notes textarea{font-size:16px}}
@media(max-width:1024px){button,.button-link,.toolbar a{min-height:44px;touch-action:manipulation}.check-grid label,.admin-role-grid label{min-height:44px}.checkbox-toggle{min-height:44px}.table-wrap .cell-button{min-height:32px}.daily-region select,.daily-fleet-details input{font-size:16px;min-height:44px}.daily-region .fleet-row{min-height:56px}}

.admin-page-access{margin-top:24px}.admin-page-access>label{display:block;margin:14px 0 6px}.admin-page-access>#permissions-user{width:min(480px,100%);font-size:15px}.permissions-table{max-width:760px;max-height:none;margin-top:16px}.permissions-table tbody th{position:static;text-align:left;font-size:13px;text-transform:none;letter-spacing:0;white-space:normal;min-width:140px}.permissions-table td{width:260px}.permissions-table select{width:100%;min-width:150px;min-height:44px;font-size:14px}.permissions-table thead th{font-size:12px}.permissions-table select:has(option[value="none"]:checked){color:#7b4350;background:#f8e6e9}.permissions-table select:has(option[value="read"]:checked){background:#e7f0fa}.permissions-table select:has(option[value="edit"]:checked){background:#e1f1e7}
@media(max-width:600px){.permissions-table table{table-layout:fixed;width:100%;white-space:normal}.permissions-table th:first-child{width:44%;min-width:0}.permissions-table tbody th{min-width:0}.permissions-table td{width:auto;padding:8px 6px}.permissions-table select{min-width:0;font-size:16px;padding:8px 4px}.permissions-table thead th{white-space:normal;padding:10px 6px;overflow-wrap:anywhere}}

/* ASFOi is a separate workspace, styled after the supplied matrix. */
.brand img.asfoi-logo{display:none}body.asfoi-space{background:#eef2f6;color:#16324f}body.asfoi-space>aside{background:#17344d}body.asfoi-space>main{background:#fff;min-height:100vh;max-width:none}body.asfoi-space .brand>img:not(.asfoi-logo){display:none}body.asfoi-space .brand>img.asfoi-logo{display:block;aspect-ratio:auto;object-fit:contain;padding:8px;background:#fff;border-radius:2px}body.asfoi-space .aside-label{letter-spacing:1px;font-size:10px}body.asfoi-space>main>header{margin-bottom:20px}body.asfoi-space>main>header>.date-controls{display:none}body.asfoi-space #title{font-size:28px}#asfoi-exit{border:1px solid #ffffff66;margin-bottom:14px;font-size:12px}.asfoi-module{min-width:0}.asfoi-band{margin:18px 0 0;padding:13px 16px;background:#16324f;color:#fff;font-size:18px;font-weight:750;letter-spacing:.2px;border-radius:0}.asfoi-band:first-child{margin-top:0}.asfoi-sub-band{background:#30546d;color:#fff;padding:12px;margin:0;font-size:13px}.asfoi-date-banner{background:#e3ecf5;padding:14px;text-align:center;font-size:24px;font-weight:700;text-transform:capitalize;border:1px solid #c6d3df}.asfoi-clock-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px;margin-top:12px}.asfoi-clock{display:flex;flex-direction:column;text-align:center;border:1px solid #b8c7d5;background:#d9e5f0}.asfoi-clock>span{font-size:13px;font-weight:750;padding:7px;border-bottom:1px solid #16324f22}.asfoi-clock>time{padding:10px;font-size:28px;font-weight:750;font-variant-numeric:tabular-nums}.asfoi-clock.reunion{background:#92d050}.asfoi-clock.mayotte{background:#ffc000}.asfoi-dashboard-controls{display:flex;justify-content:center;align-items:center;gap:24px;padding:12px;background:#eef3f7;border:1px solid #c6d3df}.asfoi-dashboard-controls label,.asfoi-actions label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650}.asfoi-dashboard-controls select{min-height:38px}.asfoi-ready{font-size:12px;font-weight:750;color:#356548}.asfoi-scroll{max-width:100%;overflow:auto;border:1px solid #b9c9d8;max-height:72vh;-webkit-overflow-scrolling:touch}.asfoi-table{width:100%;font-size:12px;border-collapse:separate;border-spacing:0;color:#16324f}.asfoi-table th,.asfoi-table td{padding:10px 9px;min-width:64px;border-right:1px solid #cbd6df;border-bottom:1px solid #cbd6df;text-align:center;white-space:normal}.asfoi-table th{position:static;font-size:12px;letter-spacing:0;background:#f0f5f9;color:#16324f;text-transform:none;font-weight:750}.asfoi-table td{background:#fff;position:static;vertical-align:middle}.asfoi-table thead th{position:sticky;top:0;background:#16324f;color:#fff;z-index:3;text-transform:uppercase;font-size:11px;white-space:normal}.asfoi-table tbody tr:nth-child(2n)>td{background:#f7f9fb}.asfoi-table tbody th:first-child{position:sticky;left:0;z-index:2;min-width:100px;background:#e3ecf5}.asfoi-table thead th:first-child{left:0;z-index:4;min-width:100px}.asfoi-validation{font-weight:750;min-width:140px!important}.asfoi-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.asfoi-actions button,.asfoi-box-heading button,.asfoi-table button{background:#fff;color:#16324f;border-color:#b9c9d8;min-height:38px}.asfoi-actions button:hover,.asfoi-table button:hover,.asfoi-box-heading button:hover{background:#e3ecf5;color:#16324f}.asfoi-planning .asfoi-table{width:max-content;min-width:100%;table-layout:fixed}.asfoi-planning th:not(:first-child){min-width:55px;width:55px}.asfoi-planning td.asfoi-code-td{padding:0;background:#fff!important}.asfoi-code-cell{display:block;border:0;border-radius:0;padding:7px 4px;width:100%;min-width:55px;min-height:34px;font-size:11px;font-weight:600;white-space:nowrap}.asfoi-code-cell:hover{box-shadow:inset 0 0 0 2px #16324f}.asfoi-table tbody th.asfoi-holiday{background:#fff2a8}.asfoi-table tbody th.asfoi-weekend{background:#e0e0e0}.asfoi-legend{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.asfoi-legend span{padding:6px 8px;border:1px solid #ccd5df;font-size:11px;color:#203248}.asfoi-validation-table .asfoi-table{width:max-content;min-width:100%}.asfoi-validation-table .asfoi-table td{min-width:48px}.asfoi-validation-table th.asfoi-base-cell{position:sticky;left:100px;min-width:110px;z-index:2}.asfoi-validation-table .asfoi-table td:nth-last-child(2){min-width:220px;max-width:260px}.asfoi-validation-table .asfoi-table td:last-child{min-width:260px;max-width:360px}.asfoi-astreinte{color:#c22832;font-weight:750}.asfoi-workshop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:16px 0}.asfoi-box{min-width:0;border:1px solid #b5c7d6;background:#fff}.asfoi-box-heading{background:#30546d;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px}.asfoi-box-heading h3{margin:0;font-size:16px}.asfoi-box-heading button{padding:6px 9px;font-size:11px}.asfoi-box-label{background:#f0f5f8;border-top:1px solid #c6d3df;border-bottom:1px solid #c6d3df;padding:8px;text-align:center;font-size:11px;font-weight:750;letter-spacing:.3px}.asfoi-box-value{text-align:center;padding:13px 8px;min-height:45px;font-size:13px}.asfoi-aircraft{background:#e4edf6;min-height:82px;padding:20px 12px;text-align:center;font-size:19px;font-weight:750;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}.asfoi-team{display:flex;gap:8px;justify-content:space-around;font-weight:700}.asfoi-remaining{font-size:34px;font-weight:750;text-align:center;padding:16px;background:#e3ecf5;min-height:76px}.asfoi-remaining-note{font-size:10px;text-align:center;margin:6px 4px 14px;color:#627487}.asfoi-observations{min-height:85px;white-space:pre-wrap;overflow-wrap:anywhere}.asfoi-table .asfoi-qualification{font-weight:700;min-width:120px}.asfoi-table .q-B13{background:#c6efce!important}.asfoi-table .q-A3{background:#fce4b2!important}.asfoi-table .q-B2{background:#d9eaf7!important}.asfoi-table .asfoi-rating{background:#fff2a8!important;min-width:190px}.asfoi-table .asfoi-present{background:#c6efce!important;font-weight:750}.asfoi-table .asfoi-absent{background:#f4f5f7!important;color:#708298}.asfoi-parameters-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px;margin-top:14px;align-items:start}.asfoi-parameters-grid>section{min-width:0}.asfoi-parameters-grid .asfoi-scroll{max-height:65vh}.asfoi-help{margin:18px 0;line-height:1.7}.asfoi-help summary{font-weight:700;color:#16324f;cursor:pointer}
@media(max-width:1100px){.asfoi-workshop-grid{grid-template-columns:1fr}.asfoi-parameters-grid{grid-template-columns:1fr 1fr}.asfoi-parameters-grid>section:first-child{grid-column:1/-1}}
@media(max-width:700px){.asfoi-band{font-size:15px;padding:12px}.asfoi-date-banner{font-size:18px}.asfoi-clock-grid{gap:6px}.asfoi-clock>time{font-size:23px}.asfoi-clock>span{font-size:10px}.asfoi-dashboard-controls{gap:12px;flex-wrap:wrap}.asfoi-parameters-grid{grid-template-columns:1fr}.asfoi-parameters-grid>section:first-child{grid-column:auto}.asfoi-table th,.asfoi-table td{padding:8px}.asfoi-actions{align-items:flex-start}.asfoi-actions button{min-height:44px}.asfoi-actions input,.asfoi-actions select,.asfoi-dashboard-controls select{font-size:16px}}
body.asfoi-space .brand>img.asfoi-logo{filter:none}

/* ASFOi home: shared PNT header and time panel, independent validation data. */
body.asfoi-space .brand>img.asfoi-logo{background:transparent;padding:0;border-radius:0}
body[data-view="asfoi-home"]>main{background:#d7e9f7}
body[data-view="asfoi-home"]>main>header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
body[data-view="asfoi-home"]>main>header>.date-controls{display:flex;flex-wrap:wrap;justify-content:flex-end}
body[data-view="asfoi-home"] #title{font-size:36px}
.asfoi-home-top{display:grid;grid-template-columns:minmax(245px,.7fr) minmax(0,2fr);gap:20px;align-items:stretch}
.asfoi-home-top>.panel,.asfoi-home-workshop{min-width:0;background:#e7f1fa;border-color:#bed4e5;margin:0;padding:22px;border-radius:10px}
.asfoi-home-top .home-time-panel{width:auto;grid-column:auto}
.asfoi-home-top .reunion-digital>span:first-child{font-size:22px;font-weight:750}
.asfoi-home-top .reunion-digital time{font-size:36px}
.asfoi-secondary-times{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #bcd2e2;margin-top:16px;padding-top:14px;text-align:center}
.asfoi-secondary-times div{display:flex;flex-direction:column;gap:2px}.asfoi-secondary-times span{font-size:12px;color:#56758b}.asfoi-secondary-times time{font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}
.asfoi-home-validation h2,.asfoi-home-workshop h2{font-size:20px;margin:0 0 16px;color:#16324f}
.asfoi-home-validation .asfoi-scroll,.asfoi-home-workshop .asfoi-scroll{border:1px solid #bed4e5;border-radius:8px;max-height:none}
.asfoi-home-validation .asfoi-table{table-layout:fixed}
.asfoi-home-validation .asfoi-table tr>*{min-width:0}
.asfoi-home-validation .asfoi-table tbody tr>*{background:var(--validation-fill);position:static}
.asfoi-home-validation .asfoi-table tbody th{min-width:0;font-size:13px}
.asfoi-home-validation .asfoi-table thead th:first-child{min-width:0}
.asfoi-home-validation .asfoi-table th,.asfoi-home-validation .asfoi-table td{padding:13px 8px;overflow-wrap:anywhere;border-color:#ffffff75}
.asfoi-home-validation .asfoi-table thead th{background:#30546d}
.asfoi-home-workshop{margin-top:20px}
.asfoi-home-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.asfoi-home-section-heading h2{margin:0}
.asfoi-home-workshop .asfoi-table{table-layout:fixed}
.asfoi-home-workshop .asfoi-table thead th{background:#30546d}
.asfoi-home-workshop .asfoi-table tr>*{min-width:0;padding:16px 12px;overflow-wrap:anywhere}
.asfoi-home-workshop .asfoi-table tr>:first-child{width:25%;min-width:0;text-align:left;position:static;background:#f0f6fc}
.asfoi-home-workshop .asfoi-table thead tr>:first-child{background:#30546d}
.asfoi-home-workshop .asfoi-table tr>:nth-child(3){width:22%}
.asfoi-home-workshop strong{display:block;font-size:15px;line-height:1.5}.asfoi-box-tag{display:block;font-size:11px;color:#56758b;margin-bottom:6px}
.asfoi-crew-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:8px}.asfoi-crew-tags span{padding:3px 8px;background:#e2edf6;border-radius:5px;font-size:12px;font-weight:650}
.asfoi-days-badge{display:inline-block;font-size:25px;font-weight:750;color:#16324f;line-height:1.3}.asfoi-visit-note{display:block;white-space:pre-wrap;line-height:1.5;margin-top:8px;color:#56758b}
@media(max-width:1150px){.asfoi-home-top{grid-template-columns:minmax(230px,.8fr) minmax(0,1.8fr)}.asfoi-home-top>.panel{padding:16px}.asfoi-home-validation .asfoi-table th,.asfoi-home-validation .asfoi-table td{padding:10px 5px;font-size:11px}}
@media(max-width:850px){.asfoi-home-top{grid-template-columns:1fr}.asfoi-home-top .home-time-panel .home-solar-grid,.asfoi-home-top .home-time-panel .home-flight-grid{max-width:500px}.asfoi-secondary-times{max-width:500px;margin-left:auto;margin-right:auto}.asfoi-home-workshop .asfoi-table{min-width:750px}}
@media(max-width:700px){body[data-view="asfoi-home"] #title{font-size:30px}body[data-view="asfoi-home"]>main>header>.date-controls{justify-content:flex-start}.asfoi-home-section-heading{flex-wrap:wrap}.asfoi-home-validation .asfoi-table{min-width:550px}.asfoi-home-workshop{padding:14px}.asfoi-home-top .home-time-panel{width:100%}}
.asfoi-home-validation .asfoi-table tbody tr>*{background:var(--validation-fill)!important}
body[data-view="asfoi-home"] #title .home-date-today{color:#278044}body[data-view="asfoi-home"] #title .home-date-other{color:#b43333}

.asfoi-present-tags{margin-top:0;gap:6px}.asfoi-present-tags span{background:#e2edf6;border:1px solid #cbdce9;min-width:40px;line-height:1.5}.asfoi-present-tags span.asfoi-tech-b13{background:#ccebd2;border-color:#b3d9bc;color:#285d38}
.asfoi-home-validation .asfoi-table tr>:first-child{width:95px;min-width:0}.asfoi-home-validation .asfoi-table tr>:nth-child(2){width:30%}
@media(max-width:1150px){.asfoi-home-validation .asfoi-table tr>:first-child{width:85px}}

.asfoi-box-thumbnail{display:block;width:145px;max-width:100%;height:60px;object-fit:contain;margin:8px auto 0}.asfoi-aircraft{flex-direction:column;gap:8px}.asfoi-aircraft .asfoi-box-thumbnail{width:220px;height:85px;margin:0}.asfoi-aircraft strong{font-size:17px}
.asfoi-planning .asfoi-table thead th{background:#e8f1f3;color:#4b707b;font-weight:750}.asfoi-planning .asfoi-table tbody th{font-weight:750}
.asfoi-planning .asfoi-table tbody tr.asfoi-weekend-row{--asfoi-day-fill:#fffbe6}.asfoi-planning .asfoi-table tbody tr.asfoi-holiday-row{--asfoi-day-fill:#eee6f7}
.asfoi-planning .asfoi-table tbody tr.asfoi-weekend-row>th,.asfoi-planning .asfoi-table tbody tr.asfoi-holiday-row>th{background:var(--asfoi-day-fill)}
.asfoi-planning .asfoi-table .asfoi-code-cell:not([style*="background:"]){background:var(--asfoi-day-fill,#fff)}

/* Silhouettes remain inside the box cell, flush with its left edge. */
.asfoi-home-workshop .asfoi-table tr>:first-child{width:34%;min-width:0;padding:12px 10px 12px 4px;text-align:left;position:static;background:#f0f6fc}
.asfoi-home-workshop .asfoi-table thead tr>:first-child{background:#30546d;padding-left:12px}
.asfoi-home-workshop .asfoi-table tr>:nth-child(3){width:22%}
.asfoi-box-identity{display:flex;align-items:center;gap:10px;min-width:0}
.asfoi-box-identity>.asfoi-box-thumbnail{width:115px;height:65px;max-width:43%;flex:0 0 115px;object-fit:contain;margin:0}
.asfoi-box-identity>div{min-width:0;flex:1}.asfoi-box-identity strong{font-size:14px;line-height:1.45}
@media(max-width:850px){.asfoi-home-workshop .asfoi-table{min-width:830px}}

.asfoi-box-identity{flex-direction:column;align-items:flex-start;gap:6px}.asfoi-box-identity>.asfoi-box-thumbnail{flex:none;width:145px;max-width:100%;height:65px;margin:0}.asfoi-box-identity>div{flex:none;width:100%}

.asfoi-home-workshop .asfoi-table tr>:first-child{width:18%}.asfoi-home-workshop .asfoi-table tr>:nth-child(2){width:30%}.asfoi-home-workshop .asfoi-table tr>:nth-child(3){width:20%}

.asfoi-days-badge.asfoi-days-green,.asfoi-remaining.asfoi-days-green{color:#28733d;background:#e3f2e5}.asfoi-days-badge.asfoi-days-orange,.asfoi-remaining.asfoi-days-orange{color:#a85d15;background:#fff0db}.asfoi-days-badge.asfoi-days-green,.asfoi-days-badge.asfoi-days-orange{border-radius:7px;padding:5px 12px}

.asfoi-tech-tag{display:inline-block;min-width:40px;line-height:1.5;padding:3px 8px;background:#e2edf6;border:1px solid #cbdce9;border-radius:5px;font-size:12px;font-weight:650;color:#16324f;white-space:nowrap;text-align:center;vertical-align:middle}
.asfoi-tech-tag.asfoi-tech-b13{background:#ccebd2;border-color:#b3d9bc;color:#285d38}
.asfoi-astreinte .asfoi-tech-tag:not(.asfoi-tech-b13){color:#c22832}
.asfoi-validation-table .asfoi-table tbody tr>td,.asfoi-validation-table .asfoi-table tbody tr>th.asfoi-base-cell{background:var(--validation-fill)!important}
.asfoi-team>.asfoi-crew-tags{margin:0}

.asfoi-inline-hint{font-size:12px;color:#56758b;margin:12px 0}.asfoi-qualification-select{width:100%;min-width:92px;min-height:38px;padding:8px 24px 8px 8px;border:1px solid #ffffff99;border-radius:5px;background-color:#ffffff45;color:#16324f;font-size:13px;font-weight:650;cursor:pointer}.asfoi-qualification-select:hover{border-color:#638ba5;background-color:#ffffff88}.asfoi-qualification-select:focus-visible{outline:2px solid #156079;outline-offset:1px}.asfoi-qualification-select:disabled{cursor:default;opacity:1}.asfoi-rating-select{min-width:190px;font-weight:500}.asfoi-save-feedback:not(:empty){padding:10px 12px;margin:10px 0;font-size:13px;border-radius:6px;background:#e7f0fa}.asfoi-save-feedback.success{background:#e3f2e5;color:#285d38}.asfoi-save-feedback.failure{background:#fbe7e7;color:#a12c35}
@media(pointer:coarse),(max-width:1024px){.asfoi-qualification-select{font-size:16px;min-height:44px}}
.asfoi-home-workshop .asfoi-table tr>:first-child,.asfoi-home-workshop .asfoi-table thead tr>:first-child{text-align:center;padding-left:8px;padding-right:8px}.asfoi-box-identity{align-items:center;text-align:center}.asfoi-box-identity>.asfoi-box-thumbnail{margin:0 auto}

.asfoi-visit-form{border-radius:9px;overflow:hidden}.asfoi-visit-form fieldset{border:0;margin:0;padding:14px;min-width:0}.asfoi-workshop-field{margin-bottom:14px;min-width:0}.asfoi-workshop-field>label{display:block;margin:0 0 6px;font-size:12px;font-weight:700;color:#30546d}.asfoi-workshop-field input,.asfoi-workshop-field select,.asfoi-workshop-field textarea{width:100%;min-width:0;min-height:42px;background:#f5f9fc;border:1px solid #b9cddd;border-radius:6px;padding:10px;font-size:14px;color:#16324f}.asfoi-workshop-field textarea{resize:vertical;line-height:1.5}.asfoi-workshop-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.asfoi-aircraft-preview{min-height:80px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.asfoi-aircraft-preview .asfoi-box-thumbnail{height:75px;width:220px;margin:0}.asfoi-box-availability{font-size:11px;color:#dceaf5}.asfoi-team-picker{border:1px solid #b9cddd;border-radius:6px;background:#f5f9fc}.asfoi-team-picker summary{padding:10px;cursor:pointer;font-size:12px;line-height:2}.asfoi-team-options{padding:8px 10px;border-top:1px solid #d5e2ec;max-height:260px;overflow:auto}.asfoi-team-options .checkbox-control{display:block;margin-bottom:5px}.asfoi-team-options .checkbox-toggle{font-size:12px;width:100%;text-align:left;justify-content:flex-start}.asfoi-visit-save{width:100%;min-height:42px}.asfoi-close-hint{font-size:12px;line-height:1.5;padding:10px;background:#fff0db;border-radius:6px;color:#885619}.asfoi-visit-feedback:not(:empty){margin:0 14px 14px}.asfoi-visit-history{margin-top:20px;border:1px solid #bed4e5;border-radius:9px;background:#e7f1fa;padding:18px}.asfoi-visit-history>summary{font-size:18px;font-weight:750;cursor:pointer;color:#16324f}.asfoi-visit-history .asfoi-scroll{margin-top:16px;max-height:65vh;border-radius:7px}.asfoi-visit-history table{min-width:950px}.asfoi-visit-history td{max-width:280px}.asfoi-visit-history th strong,.asfoi-visit-history th small{display:block}.asfoi-history-notes{white-space:pre-wrap!important;overflow-wrap:anywhere;min-width:180px}.asfoi-visit-form .asfoi-remaining{border-radius:6px}
@media(pointer:coarse),(max-width:1024px){.asfoi-workshop-field input,.asfoi-workshop-field select,.asfoi-workshop-field textarea{font-size:16px;min-height:44px}}

.asfoi-lead-label{display:block;font-size:11px;color:#56758b;margin-bottom:6px}.asfoi-tech-tag.asfoi-lead-tag{background:#fff2a8;border-color:#ebdd92;color:#645519;white-space:normal}.asfoi-present-tags .asfoi-team-plus{min-width:0;border:0;background:transparent;padding:3px 1px;color:#30546d;font-size:15px;font-weight:750}

.asfoi-home-workshop .asfoi-lead-tag+.asfoi-crew-tags{margin-top:12px}

.asfoi-home-workshop .asfoi-team-plus{display:block;margin:7px auto;font-size:16px;line-height:1;font-weight:750;color:#30546d}.asfoi-home-workshop .asfoi-team-plus+.asfoi-crew-tags{margin-top:0}

.asfoi-home-workshop .asfoi-table tbody td:nth-child(4),.asfoi-home-workshop .asfoi-table tbody td:nth-child(5){font-weight:750}

.asfoi-visit-history .asfoi-table thead th{background:#30546d}.asfoi-visit-history .asfoi-table tbody td:nth-child(4),.asfoi-visit-history .asfoi-table tbody td:nth-child(5),.asfoi-visit-history .asfoi-table tbody td:nth-child(6){font-weight:750}
.asfoi-visit-history .asfoi-team-plus{display:block;margin:7px auto;font-size:16px;line-height:1;font-weight:750;color:#30546d}.asfoi-visit-history .asfoi-team-plus+.asfoi-crew-tags{margin-top:0}
.asfoi-box-heading{position:relative;justify-content:center}.asfoi-box-heading h3{color:#ffeb76;width:100%;text-align:center}.asfoi-box-heading .asfoi-box-availability{position:absolute;right:10px}
.asfoi-home-workshop .asfoi-box-tag,.asfoi-visit-history .asfoi-box-tag{display:inline-block;color:#ffeb76;background:#30546d;padding:3px 8px;border-radius:4px;text-align:center;font-weight:750}.asfoi-visit-history .asfoi-table tbody th{text-align:center}
.asfoi-workshop-field select[name="lead"]{background:#fff2a8;border-color:#ebdd92;color:#645519;font-weight:650}
.asfoi-home-workshop .asfoi-table thead th,.asfoi-home-workshop .asfoi-table thead tr>:first-child{padding:9px 8px;line-height:1.25}

.asfoi-table .asfoi-history-delete{background:#fbe7e7;border-color:#e9bbc0;color:#a12c35;font-size:12px;white-space:nowrap;min-height:36px}.asfoi-table .asfoi-history-delete:hover{background:#f5d1d5;color:#8d202b}

.asfoi-visit-save:disabled{background:#dce2e8;border-color:#cbd3db;color:#8995a1;cursor:not-allowed;opacity:1}

.asfoi-fleet-table{border-radius:8px;border-color:#bed4e5}.asfoi-fleet-table .asfoi-table thead th{background:#30546d}.asfoi-fleet-table .asfoi-table tbody th:first-child{background:#e7f1fa}.asfoi-fleet-table .asfoi-table td.asfoi-present{background:#e3f2e5!important;color:#285d38}.asfoi-fleet-table .asfoi-table td.asfoi-absent{background:#f0f2f5!important;color:#627487}.asfoi-fleet-select{min-width:90px;color:inherit}.asfoi-fleet-table .asfoi-table th,.asfoi-fleet-table .asfoi-table td{padding:12px}
body.asfoi-space>main{background:#d7e9f7}

.asfoi-module:is([data-asfoi-page="asfoi-validation"],[data-asfoi-page="asfoi-model-validation"],[data-asfoi-page="asfoi-qualifications"],[data-asfoi-page="asfoi-parameters"]) .asfoi-table thead th{background:#30546d;color:#fff;font-weight:750}
.asfoi-parameters-grid .asfoi-sub-band{background:#30546d;color:#fff}.asfoi-parameters-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.asfoi-parameters-grid>section:first-child{grid-column:auto}
@media(max-width:1000px){.asfoi-parameters-grid{grid-template-columns:minmax(0,1fr)}}

.asfoi-parameters-organized{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;align-items:start;margin-top:0}.asfoi-parameter-card{min-width:0;border:1px solid #bed4e5;border-radius:9px;background:#e7f1fa;padding:18px}.asfoi-parameter-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;margin-bottom:14px}.asfoi-parameter-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;line-height:1.3;color:#16324f}.asfoi-parameter-count{font-size:11px;font-weight:650;border-radius:12px;background:#d4e5f1;color:#56758b;padding:3px 8px}.asfoi-parameter-heading button{font-size:12px;white-space:nowrap;min-height:38px}.asfoi-parameters-organized .asfoi-parameter-table{border-radius:7px;max-height:65vh;max-height:65dvh}.asfoi-parameter-table .asfoi-table{table-layout:fixed}.asfoi-parameter-codes .asfoi-table tr>:first-child{width:78px;min-width:78px;background:#f5f8fc}.asfoi-parameter-codes .asfoi-table tr>:last-child{width:90px;min-width:90px}.asfoi-parameter-table .asfoi-table th,.asfoi-parameter-table .asfoi-table td{padding:12px 10px}.asfoi-code-description{text-align:left!important;overflow-wrap:anywhere}.asfoi-code-description b{display:block;font-size:12px;line-height:1.5}.asfoi-code-description small{display:block;color:#627487;font-size:11px;line-height:1.5;margin-top:4px}.asfoi-param-code{display:inline-block;border-radius:5px;padding:5px 8px;font-size:12px;line-height:1.5;min-width:43px;text-align:center}.asfoi-parameter-aircraft{text-align:left!important;overflow-wrap:anywhere;line-height:1.7;font-size:13px}.asfoi-parameter-codes .asfoi-table button{font-size:11px;padding:7px 9px}
@media(max-width:1100px){.asfoi-parameters-organized{grid-template-columns:minmax(0,1fr)}.asfoi-parameters-organized>section:first-child{grid-column:auto}}
@media(max-width:600px){.asfoi-parameter-card{padding:12px}.asfoi-parameter-heading h3{font-size:16px}.asfoi-parameter-heading{flex-wrap:wrap}.asfoi-parameter-codes .asfoi-table tr>:first-child{width:66px;min-width:66px}.asfoi-parameter-codes .asfoi-table tr>:last-child{width:80px;min-width:80px}.asfoi-parameter-table .asfoi-table th,.asfoi-parameter-table .asfoi-table td{padding:10px 6px}}

.asfoi-parameter-heading{flex-wrap:wrap}.asfoi-parameter-heading h3{flex:1 1 auto}

body>aside footer>span{display:none}body.asfoi-space>aside footer{display:none}

.nav-admin-group{min-width:0;margin-top:6px;border-top:1px solid #ffffff35;padding-top:6px}.nav-admin-group>summary{display:flex;align-items:center;gap:13px;padding:10px;color:#fff;font-size:14px;list-style:none;cursor:pointer;border-radius:7px;min-height:40px}.nav-admin-group>summary::-webkit-details-marker{display:none}.nav-admin-group>summary::after{content:'›';margin-left:auto;font-size:20px;line-height:1;transition:transform .15s}.nav-admin-group[open]>summary::after{transform:rotate(90deg)}.nav-admin-group>summary:hover{background:#ffffff24}.nav-admin-group>summary:focus-visible{outline:3px solid #8fc5cf;outline-offset:1px}.nav-admin-group.has-active>summary{font-weight:700}.nav-admin-items{display:grid;gap:3px;margin:4px 0 3px 14px;padding-left:7px;border-left:1px solid #ffffff35}.nav-admin-items>button{width:100%;font-size:12px;padding:9px 7px;gap:8px}.nav-admin-items>button span{white-space:normal;line-height:1.4}
@media(max-width:1024px){.nav-admin-group>summary{min-height:44px;font-size:15px;padding:11px 12px}body>aside nav .nav-admin-items>button{font-size:14px;padding:10px 8px}}

body>aside{height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#ffffff70 transparent}body>aside>*{flex-shrink:0}
body>aside footer{display:none}

body>aside .brand{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:220px;margin:2px auto 14px;line-height:0}
body>aside .brand>img:not(.asfoi-logo),body.asfoi-space>aside .brand>img:not(.asfoi-logo){display:block;width:100%;height:auto;max-height:76px;aspect-ratio:auto;object-fit:contain;filter:brightness(0) invert(1);padding:0;background:transparent}
body>aside .brand>img.asfoi-logo,body.asfoi-space>aside .brand>img.asfoi-logo{display:block;width:88%;height:auto;max-height:67px;aspect-ratio:auto;object-fit:contain;filter:none;padding:0;background:transparent;border-radius:0}

body>aside .aside-label{display:none}body>aside #account-controls{margin:2px 0 14px}#account-controls .account-identity{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:0}#account-controls .connected-user{max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:5px 10px;font-size:12px}#account-controls .account-role{font-size:10px;line-height:1.3;color:#d7e9f7}#account-controls .account-actions{justify-content:center;margin-top:8px}

#account-controls .connected-user{background:#ccebd2;border-color:#b3d9bc;color:#285d38}

body.asfoi-space>aside .brand>img.asfoi-logo{order:0}body.asfoi-space>aside .brand>img:not(.asfoi-logo){order:1}

.nav-admin-group.has-active>summary{background:rgba(255,255,255,.18);color:#fff}.nav-admin-group.has-active>summary:hover{background:rgba(255,255,255,.24);color:#fff}

body>aside .brand .brand-home-link{display:block;width:100%;line-height:0;border-radius:4px;order:0}body>aside .brand .brand-home-link[data-brand-home="asfoi-home"]{width:88%;order:1}
body>aside .brand .brand-home-link>img{display:block;width:100%;height:auto;max-height:76px;aspect-ratio:auto;object-fit:contain;padding:0;background:transparent;border-radius:0;filter:brightness(0) invert(1)}
body>aside .brand .brand-home-link>.asfoi-logo{display:block;max-height:67px;filter:none}
body.asfoi-space>aside .brand [data-brand-home="home"]{order:1}body.asfoi-space>aside .brand [data-brand-home="asfoi-home"]{order:0}
.brand-home-link:focus-visible{outline:3px solid #8fc5cf;outline-offset:4px}.brand-home-link[aria-disabled="true"]{opacity:.55;cursor:default}

.login-logos{display:flex;flex-direction:column;align-items:center;gap:4px;background:#156079;border-radius:9px;padding:12px 20px;margin-bottom:22px}.login-logos>img{display:block;width:100%;max-width:260px;height:auto;aspect-ratio:auto;object-fit:contain;filter:brightness(0) invert(1)}.login-logos>img.login-asfoi-logo{width:86%;max-width:225px;filter:none}

.asfoi-table td.asfoi-rating-flag{min-width:104px!important;width:104px}.asfoi-rating-flag .asfoi-qualification-select{min-width:84px;padding-right:20px}
body>aside .brand .brand-home-link,body>aside .brand .brand-home-link[data-brand-home="asfoi-home"]{display:flex;align-items:center;justify-content:center;width:100%;min-height:78px;padding:6px 10px;border:1px solid transparent;border-radius:8px;cursor:pointer;transition:background .12s,border-color .12s;touch-action:manipulation}
body>aside .brand .brand-home-link>.asfoi-logo{width:88%}.brand-home-link:hover,.brand-home-link.is-opening{background:#ffffff16;border-color:#ffffff55!important}.brand-home-link:active{background:#ffffff28}.brand-home-link[aria-disabled="true"]{cursor:default}

.asfoi-actions #asfoi-period[aria-pressed="true"]{background:#30546d;color:#fff;border-color:#30546d}.asfoi-period-hint{margin:0 0 12px;padding:10px 12px;border:1px solid #bed4e5;border-radius:6px;background:#e7f1fa;color:#30546d;font-size:13px;line-height:1.5}.asfoi-period-hint.range-error{background:#fff0db;border-color:#e8c18b;color:#8b561c}.asfoi-code-cell.asfoi-range-preview{box-shadow:inset 0 0 0 2px #5b94b2}.asfoi-code-cell.asfoi-range-anchor{box-shadow:inset 0 0 0 3px #d1932c}

#pnt-period-selection[aria-pressed="true"]{background:#30546d;color:#fff;border-color:#30546d}.planning-table .cell-button.pnt-range-preview{box-shadow:inset 0 0 0 2px #5b94b2}.planning-table .cell-button.pnt-range-anchor{box-shadow:inset 0 0 0 3px #d1932c}

#account-controls .site-updates-link{display:block;width:max-content;max-width:100%;margin:10px auto 0;padding:5px 8px;color:#e4f1f6;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;border-radius:5px}#account-controls .site-updates-link:hover,#account-controls .site-updates-link[aria-current="page"]{background:#ffffff20;color:white}#account-controls .site-updates-link:focus-visible{outline:3px solid #8fc5cf;outline-offset:2px}
body[data-view="updates"]>main>header>.date-controls{display:none}.site-updates-page{max-width:1150px}.site-updates-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.site-updates-intro p{color:#56758b;margin:0;font-size:14px;line-height:1.6}.site-update-date{font-size:18px;color:#30546d;margin:0 0 14px}.site-update-release+.site-update-release{margin-top:28px}.site-updates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.site-update-card{padding:20px;background:#e7f1fa;border-color:#bed4e5;margin:0}.site-update-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.site-update-heading h2{font-size:18px;color:#16324f;margin:0;line-height:1.4}.site-update-scope{font-size:10px;font-weight:650;padding:3px 8px;background:#d4e5f1;color:#30546d;border-radius:12px;white-space:nowrap}.site-update-card ul{margin:14px 0 0;padding-left:20px;line-height:1.65;font-size:13px}.site-update-card li+li{margin-top:9px}
@media(max-width:850px){.site-updates-grid{grid-template-columns:minmax(0,1fr)}.site-updates-intro{align-items:flex-start;flex-wrap:wrap}.site-update-card{padding:16px}}
@media(pointer:coarse),(max-width:1024px){#account-controls .site-updates-link{display:flex;align-items:center;justify-content:center;min-height:44px}}
.site-updates-grid{align-items:stretch}.site-update-card:last-child:nth-child(odd){grid-column:1/-1}

[data-asfoi-page="asfoi-model-assignment"] #asfoi-create-month{background:#ccebd2;border-color:#b3d9bc;color:#285d38;font-weight:650}[data-asfoi-page="asfoi-model-assignment"] #asfoi-create-month:hover{background:#bddfc5}[data-asfoi-page="asfoi-model-assignment"] #asfoi-period[aria-pressed="false"]{background:#e2e6eb;border-color:#cbd3db;color:#526274}

[data-asfoi-page="asfoi-model-assignment"] #asfoi-period:disabled{background:#e2e6eb;border-color:#cbd3db;color:#8995a1;cursor:not-allowed;opacity:1}
/* Align both logo frames and compensate ASFOi's unequal transparent margins. */
body>aside .brand{align-self:center;margin-left:auto;margin-right:auto}
body>aside .brand .brand-home-link,body>aside .brand .brand-home-link[data-brand-home="asfoi-home"]{display:grid;place-items:center;margin-left:0;margin-right:0}
body>aside .brand .brand-home-link>img{justify-self:center;margin:0;object-position:center}
body>aside .brand .brand-home-link>.asfoi-logo{transform:translateX(.72%)}
.login-logos{display:grid;grid-template-columns:minmax(0,1fr);place-items:center}
.login-logos>img{justify-self:center;margin:0;object-position:center}.login-logos>img.login-asfoi-logo{transform:translateX(.72%)}

#account-controls .site-updates-link{display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}#account-controls .updates-link-label{text-decoration:underline;text-underline-offset:3px}.updates-notification{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;min-width:18px;border-radius:50%;background:#ed3d43;color:#fff;border:0;font-size:11px;font-weight:750;line-height:1;text-decoration:none}

/* Encadré de la zone utilisateur dans les deux espaces. */
body>aside #account-controls{border:.5px solid #ffffffb3;border-radius:8px;padding:12px 10px;}

#nav .planning-notification{margin-left:auto;font-size:11px;min-width:18px;width:18px;padding:0;color:#fff;}

/* Shared visible-logo axis, independent of transparent source margins. */
body>aside .brand{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;width:100%;max-width:220px;gap:10px;}
body>aside .brand .brand-home-link,body>aside .brand .brand-home-link[data-brand-home="asfoi-home"]{width:100%;min-height:72px;padding:10px;display:grid;place-items:center;}
body>aside .brand .brand-home-link>img,body>aside .brand .brand-home-link>.asfoi-logo{width:100%;height:auto;max-height:none;transform:none;object-fit:contain;object-position:center;margin:0;}
.login-logos{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:20px;padding:24px 20px;}
.login-logos>img,.login-logos>img.login-asfoi-logo{width:100%;max-width:260px;height:auto;transform:none;margin:0;}

/* Soft qualification colours, limited to Personnel et qualifications. */
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-qualification.q-B13{background:#e3f2e5!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-qualification.q-A3{background:#fff0db!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-qualification.q-B2{background:#e3eef9!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-qualification.q-N\/C{background:#f0f2f5!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-rating{background:#fff5d6!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-table td.asfoi-rating-flag:not(.asfoi-rating){background:#f0f2f5!important;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-qualification-select{background-color:#ffffff30;border-color:#ffffff99;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-qualification-select:hover{background-color:#ffffff75;border-color:#a9becd;}
[data-asfoi-page="asfoi-qualifications"] .asfoi-tech-b13{background:#e3f2e5;border-color:#c8e1cd;}

[data-asfoi-page="asfoi-assignment"] .asfoi-legend span,[data-asfoi-page="asfoi-model-assignment"] .asfoi-legend span{border-radius:5px;}

/* Christmas appears only on December 25 in the Reunion time zone. */
.christmas-menu-decor{width:100%;max-width:220px;align-self:center;margin:-10px auto 10px;line-height:0;pointer-events:none;}
.christmas-menu-decor svg{display:block;width:100%;height:34px;}
.christmas-home-greeting{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:13px 18px;border:1px solid #d7e4d9;border-radius:10px;background:#f3f8f2;color:#335b4a;}
.christmas-home-greeting>svg{width:34px;height:42px;flex:none;}
.christmas-home-greeting>div{display:flex;flex-direction:column;gap:3px;}
.christmas-home-greeting strong{font-size:18px;font-weight:700;}
.christmas-home-greeting span{font-size:12px;color:#657d70;}
.christmas-home-greeting .christmas-sparkle{font-size:25px;color:#c9a451;margin-left:auto;}
@media(max-width:750px){.christmas-home-greeting{padding:10px 12px;gap:9px;}.christmas-home-greeting strong{font-size:16px;}}
@media print{.christmas-home-greeting,.christmas-menu-decor{display:none!important;}}

/* New Year appears January 1 through January 8 inclusive in the Reunion time zone. */
.newyear-menu-decor{width:100%;max-width:220px;align-self:center;margin:-10px auto 10px;line-height:0;pointer-events:none;}
.newyear-menu-decor svg{display:block;width:100%;height:34px;}
.newyear-home-greeting{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:13px 18px;border:1px solid #e9dcbc;border-radius:10px;background:#fff8e9;color:#5d4d29;}
.newyear-home-greeting>svg{width:34px;height:42px;flex:none;}
.newyear-home-greeting>div{display:flex;flex-direction:column;gap:3px;}
.newyear-home-greeting strong{font-size:18px;font-weight:700;}
.newyear-home-greeting span{font-size:12px;color:#807250;}
.newyear-home-greeting .newyear-sparkle{font-size:25px;color:#c9a451;margin-left:auto;}
@media(max-width:750px){.newyear-home-greeting{padding:10px 12px;gap:9px;}.newyear-home-greeting strong{font-size:16px;}}
@media print{.newyear-home-greeting,.newyear-menu-decor{display:none!important;}}

.newyear-home-greeting strong [data-newyear-year]{font-size:inherit;font-weight:inherit;color:inherit;}

.general-scroll-top{width:100%;height:20px;overflow-x:scroll;overflow-y:hidden;margin:0 0 8px;border:1px solid #b9ccdc;border-radius:7px;background:#edf4f9;scrollbar-width:auto;}
.general-scroll-top>div{height:1px;}
.general-scroll-top::-webkit-scrollbar{height:14px;}
.general-scroll-top::-webkit-scrollbar-track{background:#edf4f9;border-radius:7px;}
.general-scroll-top::-webkit-scrollbar-thumb{background:#6f96b0;border:3px solid #edf4f9;border-radius:8px;}
.general-scroll-top:focus-visible{outline:3px solid #8fc5cf;outline-offset:2px;}
@media print{.general-scroll-top{display:none!important;}}

/* Pilot identifiers: compact badges retaining existing header colours. */
.hlg-pilot-tag{display:inline-block;vertical-align:middle;min-width:34px;padding:2px 5px;border:1px solid #c3d8e7;border-radius:5px;background:#e2edf6;color:#16324f;font-size:inherit;font-weight:700;line-height:1.4;text-align:center;white-space:nowrap;}
.planning-table thead th.pilot-column{padding-top:4px;padding-bottom:4px;}
.planning-table th.pilot-column .hlg-pilot-tag,.general-table .general-label .hlg-pilot-tag{background:#e2edf6;color:#16324f;border-color:#c3d8e7;}
.general-table .general-label .hlg-pilot-tag{min-width:42px;padding:3px 8px;}
.home-activities-panel .hlg-pilot-tag{margin:2px 0;}

.planning-table thead th.pilot-header-rnd{background:#a9c7e8;color:#203248;}
.planning-table thead th.pilot-header-seasonal{background:#e7dcf2;color:#203248;}

.general-table [data-general-pilot] .general-pilot-identity{display:flex;align-items:center;gap:8px;min-width:0;}
.general-table [data-general-pilot] .hlg-pilot-tag{flex:0 0 auto;min-width:52px;padding:4px 8px;font-size:14px;line-height:1.4;}
.general-table [data-general-pilot] .general-pilot-firstname{font-size:11px;font-weight:400;line-height:1.3;color:#203248;white-space:normal;overflow-wrap:anywhere;}

/* Clear, scoped reference tables; operational planning tables are unchanged. */
.references-page{min-width:0;}
.reference-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 20px;}
.reference-tabs{display:flex;gap:5px;padding:5px;border:1px solid #bed0df;border-radius:10px;background:#eaf2f8;}
.reference-tabs button{display:flex;align-items:center;gap:9px;min-height:42px;padding:9px 15px;border-color:transparent;background:transparent;color:#4e6d83;font-size:13px;font-weight:650;}
.reference-tabs button[aria-selected="true"]{background:#156079;color:#fff;border-color:#156079;box-shadow:0 2px 4px #183b5414;}
.reference-tab-count{display:inline-block;min-width:24px;padding:2px 6px;border-radius:5px;background:#ffffff70;color:#36586f;font-size:11px;text-align:center;}
.reference-tabs button[aria-selected="true"] .reference-tab-count{background:#ffffff26;color:#fff;}
.reference-search{display:grid;gap:6px;min-width:260px;max-width:390px;flex:1;}
.reference-search>span{font-size:11px;font-weight:700;color:#4d6a80;}
.reference-search input{width:100%;min-height:42px;background:#fff;font-size:13px;padding:10px 12px;}
.reference-table-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;}
.reference-table-heading h2{margin:0 0 5px;font-size:19px;color:#203b52;}
.reference-table-heading p{margin:0;color:#698194;font-size:12px;line-height:1.5;}
#reference-count{flex:none;border:1px solid #c6d7e5;border-radius:6px;padding:6px 10px;background:#eaf2f8;color:#406078;font-size:12px;}
.reference-table-wrap{max-width:100%;max-height:68vh;overflow:auto;border:1px solid #bdcfdd;border-radius:10px;background:#fff;isolation:isolate;}
.reference-table-wrap:focus-visible{outline:3px solid #8fc5cf;outline-offset:2px;}
.references-page .reference-table{width:100%;border-spacing:0;border-collapse:separate;table-layout:fixed;white-space:normal;font-size:12px;line-height:1.55;}
.references-page .reference-table th,.references-page .reference-table td{min-width:0;padding:13px 14px;text-align:left;vertical-align:top;border-right:1px solid #e3ebf2;border-bottom:1px solid #dfe8ef;overflow-wrap:anywhere;white-space:normal;}
.references-page .reference-table thead th{position:sticky;top:0;z-index:3;background:#30546d;color:#fff;font-size:11px;font-weight:700;letter-spacing:.2px;text-transform:none;vertical-align:middle;border-color:#ffffff22;}
.references-page .reference-table thead th:first-child{left:0;z-index:5;background:#30546d;}
.references-page .reference-table tbody tr{background:#fff;}
.references-page .reference-table tbody tr:nth-child(even){background:#f4f8fc;}
.references-page .reference-table tbody th,.references-page .reference-table tbody td{position:static;left:auto;z-index:auto;background:inherit;}
.references-page .reference-table tbody th{font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;}
.references-page .reference-table tbody tr:hover{background:#eaf3f9;}
.references-page .reference-table tr>:last-child{border-right:0;}
.references-page .reference-table tbody tr:last-child>*{border-bottom:0;}
.references-page .reference-pilots{min-width:1125px;}
.references-page .reference-pilots tbody th{position:sticky;left:0;z-index:2;box-shadow:1px 0 #dfe8ef;}
.references-page .reference-codes{min-width:760px;}
.references-page .reference-rules{min-width:760px;}
.reference-pilot-identity{display:flex;align-items:flex-start;gap:10px;}
.reference-pilot-identity .hlg-pilot-tag{flex:none;min-width:40px;}
.reference-pilot-identity>span:last-child{font-weight:500;line-height:1.55;}
.reference-contract,.reference-series{display:inline-block;padding:3px 7px;background:#eaf0f5;border:1px solid #d4e0e9;border-radius:5px;color:#476579;font-size:11px;}
.reference-flag{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:5px;font-size:11px;font-weight:650;border:1px solid transparent;white-space:nowrap;}
.reference-flag.is-yes{background:#e3f2e5;border-color:#c9e1cf;color:#356548;}
.reference-flag.is-no{background:#f0f2f5;border-color:#dfe5eb;color:#718294;}
.reference-flag.is-yes::before{content:'';width:5px;height:5px;border-radius:50%;background:#59936d;}
.references-page .reference-table .reference-centered{text-align:center;}
.reference-chips{display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px;}
.reference-qualification{padding:3px 6px;border:1px solid #d3e0eb;border-radius:5px;background:#e7eff7;color:#365b75;font-size:10px;white-space:nowrap;}
.reference-aircraft{display:inline-flex;flex-direction:column;gap:0;padding:4px 7px;border:1px solid #d9e4ed;border-radius:5px;background:#f9fcff;color:#36566d;line-height:1.35;white-space:nowrap;}
.reference-aircraft b{font-size:10px;font-weight:650;}
.reference-aircraft small{font-size:9px;color:#738797;}
.reference-code{display:inline-block;min-width:45px;padding:5px 8px;border:1px solid #294a621c;border-radius:5px;text-align:center;white-space:nowrap;font-size:11px;font-weight:700;}
.reference-meaning,.reference-rule-text{font-weight:600;}
.reference-unspecified{color:#8193a3;font-weight:400;}
.references-page .reference-table .reference-action{vertical-align:middle;text-align:center;padding:10px 8px;}
.reference-edit{min-height:34px;padding:6px 9px;font-size:11px;border-color:#c4d5e2;background:#fff;color:#156079;}
.references-page .reference-table .reference-empty{padding:34px 20px;text-align:center;font-size:13px;color:#718294;}
.reference-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
@media(max-width:750px){.reference-toolbar{gap:12px;}.reference-tabs{width:100%;}.reference-tabs button{flex:1;justify-content:center;padding:9px 8px;}.reference-search{max-width:none;min-width:0;width:100%;flex-basis:100%;}.reference-table-heading{align-items:flex-start;}.reference-table-heading h2{font-size:17px;}.reference-table-heading p{font-size:11px;}.reference-table-wrap{max-height:65vh;}}
@media(pointer:coarse){.reference-edit{min-height:44px;}.reference-search input{font-size:16px;}}

/* Monthly flight-hour records. */
.hdv-heading,.hdv-month-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.hdv-heading h2,.hdv-month-heading h2{margin:0}.hdv-save-message{color:#286444;font-weight:600}.hdv-error,.hdv-field-message{color:#b32632}.hdv-months{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.hdv-months button.active{background:#185f75;color:#fff;border-color:#185f75}.hdv-panel{max-width:1000px}.hdv-table{width:100%;min-width:460px}.hdv-table th,.hdv-table td{padding:10px 16px}.hdv-table thead th{background:#30546d;color:#fff}.hdv-table tbody th{background:transparent}.hdv-table tbody tr:nth-child(even){background:#f2f7fb}.hdv-table input{width:125px;text-align:center;font-size:16px;font-variant-numeric:tabular-nums}.hdv-table input[aria-invalid=true]{border:2px solid #b32632}.hdv-field-message{display:block;white-space:normal;font-size:12px;margin-top:3px}.hdv-table tfoot{background:#e2edf6;font-weight:700}.hdv-table tfoot td{font-size:18px}.hdv-reminder{padding:14px;margin-top:18px;border-radius:9px;border:1px solid}.hdv-reminder.hdv-due{background:#fbe0e2;border-color:#eab7bd;color:#922735}.hdv-reminder.hdv-done{background:#e0f1e3;border-color:#afd8b8;color:#28613b}.hdv-reminder p{margin:6px 0;font-size:12px}.hdv-reminder .checkbox-toggle{color:inherit;font-weight:700}.hdv-reminder #hdv-reminder-error:empty{display:none}

.hdv-months label,.hdv-entry-date{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#45647a}.hdv-months select{min-width:220px;font-size:15px}.hdv-entry-date input{font-size:15px;min-width:165px}.hdv-month-heading{align-items:center}.hdv-month-heading h2{margin-right:auto}

.hdv-page .hdv-hours-green{color:#218344}.hdv-page .hdv-hours-orange{color:#b86409}.hdv-page .hdv-hours-red{color:#bc2636}.hdv-table input[data-hdv-pilot]{font-weight:700}.hdv-table input[data-hdv-pilot]:disabled{opacity:1;-webkit-text-fill-color:currentColor}.hdv-color-key{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;font-weight:600;margin:10px 0}

.admin-online-users{margin:18px 0;padding:16px 20px}.admin-online-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-online-heading h2{margin:0;font-size:17px}.admin-online-heading>small{font-size:11px;color:#708298}.admin-online-count{display:inline-block;border-radius:20px;padding:2px 8px;background:#e0f1e3;color:#28613b;font-size:12px;vertical-align:middle}.admin-online-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.admin-online-user{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #bcdcc5;border-radius:7px;background:#edf7ef;color:#265c37}.admin-online-user b{display:block;font-size:12px}.admin-online-user small{display:block;margin-top:2px;font-size:10px;color:#547660}.admin-online-user b small{display:inline;font-weight:400}.admin-online-dot{width:8px;height:8px;border-radius:50%;background:#37a15a;flex:none}

.home-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;list-style:none;color:#16324f}.home-disclosure>summary::-webkit-details-marker{display:none}.home-disclosure>summary h2{margin:0;font-size:17px}.home-disclosure>summary:focus-visible{outline:3px solid #8fc5cf;outline-offset:5px;border-radius:4px}.home-disclosure-toggle{font-size:12px;color:#326980;white-space:nowrap}.home-disclosure[open]>.home-disclosure-body{margin-top:14px}.home-disclosure-body>.admin-online-heading{justify-content:flex-end}.home-disclosure-body>.asfoi-home-section-heading{justify-content:flex-end;margin:0 0 12px}.home-disclosure.asfoi-home-workshop{margin:18px 0}.home-disclosure:not([open])>.home-disclosure-body{display:none}

.admin-online-users[open]>.home-disclosure-body{margin-top:8px}.admin-online-users .admin-online-list{margin-top:0}

.home-disclosure.asfoi-home-workshop[open]>.home-disclosure-body{margin-top:8px}.home-disclosure.asfoi-home-workshop>summary h2{margin-right:auto}.home-disclosure>summary .home-workshop-link{border:0;background:transparent;padding:2px 4px;font-size:12px;color:#326980;text-decoration:underline;white-space:nowrap;min-height:0}.home-disclosure>summary .home-workshop-link:hover{color:#16324f}.home-disclosure.asfoi-home-workshop>summary{flex-wrap:wrap;column-gap:14px;row-gap:8px}

.asfoi-validation-grouped .asfoi-table{width:100%;min-width:900px;table-layout:fixed}.asfoi-validation-grouped .asfoi-table thead th:first-child{width:100px}.asfoi-validation-grouped .asfoi-table thead th:nth-child(2){width:110px;left:100px;z-index:4}.asfoi-validation-grouped .asfoi-table thead th:nth-child(4){width:24%}.asfoi-validation-grouped .asfoi-table thead th:nth-child(5){width:26%}.asfoi-validation-grouped .asfoi-table td:nth-last-child(2),.asfoi-validation-grouped .asfoi-table td:last-child{min-width:0;max-width:none;overflow-wrap:anywhere}.asfoi-validation-grouped .asfoi-validation-people{margin:0;gap:6px}.asfoi-validation-people .asfoi-tech-tag.asfoi-astreinte:not(.asfoi-tech-b13){color:#c22832}

.asfoi-table .asfoi-multi-rating{width:100%;min-width:180px;text-align:left;white-space:normal;font-size:12px;padding:6px;background:#fffaf0}.asfoi-rating-chip{display:inline-block;margin:2px;padding:3px 6px;border-radius:4px;border:1px solid #eadb9b;background:#fff2bf;color:#645519;line-height:1.4}.asfoi-export-pdf{display:inline-block;background:#fff;border:1px solid #b9c9d8;border-radius:7px;padding:10px 14px;color:#16324f;font-size:13px;text-decoration:none}

.site-update-scope.scope-hlg{background:#156079;color:#fff;border:1px solid #156079;border-radius:5px}.site-update-scope.scope-asfoi{background:#17344d;color:#fff;border:1px solid #17344d;border-radius:5px}

/* Readable visit details and right-aligned workshop actions. */
.asfoi-visit-form input[name="visitType"],.asfoi-visit-form textarea[name="notes"]{font-weight:700}
.asfoi-home-workshop .asfoi-table tbody td:nth-child(2){font-size:16px;font-weight:700;line-height:1.5}
.asfoi-home-workshop .asfoi-visit-note{font-size:12px;font-weight:400}
.asfoi-actions:has(#asfoi-open-history){display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px}
.asfoi-actions:has(#asfoi-open-history) .asfoi-inline-hint{margin:0;min-width:0}
.asfoi-actions:has(#asfoi-open-history)>button,.asfoi-actions:has(#asfoi-open-history)>.asfoi-export-pdf{white-space:nowrap;text-align:center}
@media(max-width:900px){.asfoi-actions:has(#asfoi-open-history) .asfoi-inline-hint{grid-column:1/-1}.asfoi-actions #asfoi-open-history{grid-column:2}}
@media(max-width:400px){.asfoi-actions:has(#asfoi-open-history){grid-template-columns:1fr 1fr}.asfoi-actions #asfoi-open-history{grid-column:1}.asfoi-actions:has(#asfoi-open-history)>button,.asfoi-actions:has(#asfoi-open-history)>.asfoi-export-pdf{white-space:normal}}

/* Administrateur: yellow heading, including the active and hover states. */
#nav-admin-group>summary,#nav-admin-group.has-active>summary{background:#fff2a8;color:#645519}
#nav-admin-group>summary:hover,#nav-admin-group.has-active>summary:hover{background:#ffe98a;color:#645519}

#account-controls #logout{background:#efb7bc;color:#762d38;border-color:#e4a6ae}
#account-controls #logout:hover{background:#e8a6ae;border-color:#dc939e}

/* Ligne Eperon uses the Gillot workshop forms with two independent boxes. */
.asfoi-workshop-grid.asfoi-eperon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.asfoi-workshop-grid.asfoi-eperon-grid{grid-template-columns:1fr}}

.asfoi-visit-status{display:block;margin-top:8px;font-size:12px;font-weight:700;line-height:1.5}.asfoi-visit-status.waiting{color:#b42332}.asfoi-visit-status.active{color:#28733d}

.asfoi-visit-pulse{display:inline-block;width:7px;height:7px;margin-right:7px;vertical-align:1px;border-radius:50%;background:#28733d;animation:asfoi-visit-pulse 2s ease-out infinite}
@keyframes asfoi-visit-pulse{0%{box-shadow:0 0 0 0 #28733d55}75%,100%{box-shadow:0 0 0 6px #28733d00}}
@media(prefers-reduced-motion:reduce){.asfoi-visit-pulse{animation:none}}

.asfoi-holiday-warning{display:block;margin:6px 2px 0;font-size:11px;font-weight:400;line-height:1.45;color:#627487}.asfoi-holiday-warning-icon{display:inline-flex;color:#b42332;vertical-align:-2px}.asfoi-holiday-warning.has-holidays{color:#7d3a3a}

.asfoi-visit-form [data-remaining]+.asfoi-workshop-field{margin-top:16px}

.asfoi-visit-summary{margin-top:16px}.asfoi-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.asfoi-summary-heading h2{margin:0;font-size:22px}.asfoi-summary-dates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px}.asfoi-summary-stat{padding:14px;background:#f1f7fc;border:1px solid #bfd3e4;border-radius:8px;display:flex;flex-direction:column;gap:6px}.asfoi-summary-stat>span,.asfoi-summary-totals>label{font-size:12px;font-weight:650;color:#30546d}.asfoi-summary-stat>strong{font-size:22px;font-variant-numeric:tabular-nums}.asfoi-summary-stat>small{font-size:11px;font-weight:400;color:#627487}.asfoi-visit-summary fieldset{border:0;padding:0;margin:0;min-width:0}.asfoi-summary-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.asfoi-summary-totals>label{display:flex;flex-direction:column;gap:6px;padding:14px;background:#f1f7fc;border:1px solid #bfd3e4;border-radius:8px}.asfoi-summary-totals input,.asfoi-summary-table input{width:100%;min-width:90px;border:1px solid #b9cddd;border-radius:6px;padding:10px;background:white;font-size:15px;color:#16324f}.asfoi-summary-table input{max-width:160px;text-align:center;font-variant-numeric:tabular-nums}.asfoi-summary-table-wrap{max-height:none}.asfoi-summary-table{min-width:620px}.asfoi-summary-table th:first-child{width:50%;white-space:normal}.asfoi-summary-table .asfoi-summary-role>th{background:#dcebf6!important;text-align:left;position:static!important;padding:12px}.asfoi-summary-table .asfoi-team-picker{max-width:480px;background:#f4f9fd}.asfoi-summary-person-name{font-size:12px;font-weight:400}.asfoi-summary-empty td{color:#6c8394;font-size:12px}.asfoi-summary-table tfoot th,.asfoi-summary-table tfoot td{font-weight:750;background:#e3f2e5}.asfoi-summary-actions{display:flex;gap:12px;justify-content:flex-end;margin:18px 0}.asfoi-summary-actions [data-summary-close]{background:#28733d;color:white}.asfoi-summary-table input[aria-invalid=true]{border-color:#b42332;background:#fff0ef}
@media(max-width:1100px){.asfoi-summary-dates{grid-template-columns:repeat(3,minmax(0,1fr))}.asfoi-summary-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.asfoi-summary-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.asfoi-summary-heading{align-items:flex-start;flex-direction:column}.asfoi-summary-totals{grid-template-columns:1fr}.asfoi-summary-actions{flex-wrap:wrap}.asfoi-summary-table input{font-size:16px}}
#asfoi-body>[hidden]{display:none!important}

.asfoi-summary-role summary>span{margin-left:10px;font-weight:400}

.asfoi-summary-contributors{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:-6px 0 20px;font-size:12px;color:#30546d}.asfoi-summary-contributors>[data-summary-contributors]{display:flex;flex-wrap:wrap;gap:6px}.asfoi-summary-actions [data-summary-close]:disabled{background:#dce2e8;color:#8995a1;border-color:#cbd3db;cursor:not-allowed}

.asfoi-summary-stat.summary-entry{background:#fff2c7;border-color:#e6d699}.asfoi-summary-stat.summary-estimated{background:#dcebf6;border-color:#b9d2e6}.asfoi-summary-stat.summary-actual,.asfoi-summary-stat.summary-on-time{background:#e3f2e5;border-color:#bddcc5}.asfoi-summary-stat.summary-delayed{background:#f9dddd;border-color:#e7b9b9}.asfoi-summary-stat.summary-delayed>strong{color:#922f39}

.asfoi-summary-special{border:1px solid #bfd3e4;border-radius:8px;background:#f1f7fc;padding:14px;margin:0 0 16px}.asfoi-summary-special-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.asfoi-summary-special-row{display:grid;grid-template-columns:1fr 1.5fr 1fr auto;gap:12px;align-items:end;margin-top:12px}.asfoi-summary-special-row label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650}.asfoi-summary-special-row input,.asfoi-summary-special-row select{width:100%;min-width:0;padding:10px;border:1px solid #b9cddd;border-radius:6px;background:white;color:#16324f;font-size:15px}@media(max-width:650px){.asfoi-summary-special-row{grid-template-columns:1fr}.asfoi-summary-special-row input,.asfoi-summary-special-row select{font-size:16px}}

/* Fond continu des lignes de personnel, compteurs horaires blancs. */
.asfoi-summary-table tbody tr[data-summary-person]>th,.asfoi-summary-table tbody tr[data-summary-person]>td{background:#e3ecf5}
.asfoi-summary-table tbody tr[data-summary-person] input{background:#fff}

.asfoi-summary-tutor{display:flex;flex-direction:column;gap:6px;margin-top:12px;font-size:12px;text-align:left}.asfoi-summary-tutor select{padding:9px;border:1px solid #b9cddd;border-radius:6px;background:white;color:#16324f;max-width:100%;font-size:14px}.asfoi-summary-table input[readonly]{color:#526579}

.asfoi-tech-tag.asfoi-tech-office{background:#f6ddeb;border-color:#dfb5cd;color:#7c3e61}

.asfoi-summary-totals{grid-template-columns:1fr 1fr 2fr}.asfoi-summary-ts-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.asfoi-summary-ts-fields>label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;color:#30546d}@media(max-width:1100px){.asfoi-summary-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.asfoi-summary-ts{grid-column:1/-1}}@media(max-width:650px){.asfoi-summary-totals{grid-template-columns:1fr}.asfoi-summary-ts-fields{grid-template-columns:1fr}}

.asfoi-summary-issues{padding:16px;border:1px solid #bfd3e4;border-radius:8px;background:#f1f7fc;margin-top:18px}.asfoi-summary-issues h3{margin:0 0 12px;font-size:16px}.asfoi-summary-issues .asfoi-scroll{max-height:none}.asfoi-summary-issues th:first-child{width:30%;min-width:180px}.asfoi-summary-issues td:nth-child(2){width:150px}.asfoi-summary-issues select,.asfoi-summary-issues textarea{width:100%;padding:9px;border:1px solid #b9cddd;border-radius:6px;background:white;color:#16324f;font-size:14px}.asfoi-summary-issues textarea{display:block;min-width:220px;resize:vertical}@media(max-width:650px){.asfoi-summary-issues select,.asfoi-summary-issues textarea{font-size:16px}}

.asfoi-box-locked{margin:12px 0 8px;color:#627487;font-size:12px;text-align:center}.asfoi-visit-form>.asfoi-visit-save{width:100%}

.asfoi-summary-responsible{margin-top:20px;padding:18px;border:1px solid #bfd3e4;border-radius:8px;background:#f1f7fc}.asfoi-summary-responsible h3{margin:0 0 12px;font-size:16px}.asfoi-summary-responsible textarea{display:block;width:100%;padding:12px;border:1px solid #b9cddd;border-radius:6px;background:#fff;color:#16324f;font-size:14px;resize:vertical}.asfoi-summary-responsible .asfoi-summary-actions{margin-bottom:0}@media(max-width:650px){.asfoi-summary-responsible textarea{font-size:16px}}

.asfoi-box.asfoi-box-locked-state{border-color:#c6535b;box-shadow:0 0 0 1px #c6535b}

.asfoi-summary-author{display:inline-flex;align-items:center;gap:8px;margin-right:14px;flex-wrap:wrap}.asfoi-summary-author>span:last-child{font-size:13px}

.asfoi-box-locked-state .asfoi-box-availability{color:#ffb0b5;font-weight:750}

.asfoi-summary-actions [data-summary-save]{background:#dcefdc;border-color:#b3d6b8;color:#285d38}.asfoi-summary-actions [data-summary-save]:hover{background:#cce5ce}.asfoi-summary-actions [data-summary-close]{background:#ba4852;border-color:#a53e48;color:#fff}.asfoi-summary-actions [data-summary-close]:hover{background:#a93e48}.asfoi-summary-signature{margin:14px 0 0;color:#30546d;font-size:13px;font-variant-numeric:tabular-nums}

.asfoi-days-badge.asfoi-days-red,.asfoi-remaining.asfoi-days-red{color:#b42332;background:#f9dddd}.asfoi-days-badge.asfoi-days-red{border-radius:7px;padding:5px 12px}

.asfoi-summary-totals{grid-template-columns:1fr 1fr .85fr 1.35fr}@media(max-width:1100px){.asfoi-summary-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.asfoi-summary-ts{grid-column:auto}}@media(max-width:650px){.asfoi-summary-totals{grid-template-columns:1fr}}

.asfoi-summary-heading h2{margin-right:auto}.asfoi-summary-heading>[data-summary-back],.asfoi-summary-heading>.asfoi-export-pdf{flex-shrink:0}.asfoi-summary-heading>.asfoi-export-pdf{margin-left:auto}@media(max-width:650px){.asfoi-summary-heading{flex-direction:row;flex-wrap:wrap;align-items:center}.asfoi-summary-heading h2{flex-basis:100%}}

.asfoi-tech-tag.asfoi-tech-mae{background:#e8ddf5!important;border-color:#cbb6e2!important;color:#654280!important}

.asfoi-visit-specialist{margin-top:12px}.asfoi-specialist-tags{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}.asfoi-visit-specialist>.asfoi-lead-label{margin-bottom:6px}.asfoi-specialist-tags>.asfoi-tech-tag{flex:0 0 auto}



#account-controls .connected-user{background:rgb(204 235 210 / 80%)}

#nav-admin-group>summary,#nav-admin-group.has-active>summary{background:rgb(255 242 168 / 80%)}
#nav-admin-group>summary:hover,#nav-admin-group.has-active>summary:hover{background:rgb(255 233 138 / 80%)}

body[data-view="efficiency"] .efficiency-table tbody tr:last-child:has(th>b){font-weight:750;background:#e3ecf5}body[data-view="fleetday"] .fleet-row:has(.daily-fleet-details:not([hidden])) .daily-fleet-details{flex-basis:100%;width:100%;display:grid;grid-template-columns:minmax(140px,2fr) repeat(2,minmax(110px,1fr)) minmax(110px,1fr);gap:10px;margin-top:10px}body[data-view="fleetday"] .fleet-row .daily-fleet-details[hidden]{display:none}@media(max-width:1100px){body[data-view="fleetday"] .fleet-row:has(.daily-fleet-details:not([hidden])) .daily-fleet-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){body[data-view="fleetday"] .fleet-row:has(.daily-fleet-details:not([hidden])) .daily-fleet-details{grid-template-columns:1fr}}

/* Entire logo tile is one pointer target, including transparent image pixels. */
body>aside .brand .brand-home-link{position:relative;isolation:isolate;user-select:none;-webkit-user-select:none;}
body>aside .brand .brand-home-link>img{pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;}
body>aside .brand .brand-home-link::before{content:"";position:absolute;inset:0;z-index:1;background:transparent;border-radius:0;pointer-events:auto;}
body>aside .brand .brand-home-link,body>aside .brand .brand-home-link[data-brand-home="asfoi-home"]{border-radius:0;z-index:1;}

/* Daily production view: one column per calendar day, separate from General Planning. */
.production-daily-table .general-week{min-width:192px;padding:8px 2px;font-size:10px;text-transform:none;}
.production-daily-table .general-week small{display:block;font-size:10px;margin-top:4px;}
.production-daily-table .general-cell{min-width:0;width:100%;}

.production-daily-table thead .production-weekend-header{background:#fff1bf!important;color:#203248;}

/* Fourfold height, limited to the daily production grid. */
.production-daily-table .general-aircraft>td,.production-daily-table .general-aircraft>.general-label{height:180px;}
.production-daily-table .general-aircraft .general-cell{height:180px;min-height:180px;}
.production-daily-table .general-aircraft .production-period{height:176px;min-height:176px;}
.production-daily-table .general-region-plan>td{height:30px;}
.production-daily-table .general-region-plan>.general-label{height:auto;}
.production-daily-table .general-region-plan .general-cell{height:30px;min-height:30px;}
.production-daily-table .general-region-plan .production-period{height:auto;min-height:34px;}

.production-not-current{display:inline-flex;align-items:center;gap:7px;margin-left:18px;color:#b52730;font-size:17px;font-weight:750;letter-spacing:0;vertical-align:middle;white-space:normal;line-height:1.35;}
.production-not-current>span{font-size:23px;}
@media(max-width:700px){.production-not-current{display:flex;margin:8px 0 0;font-size:15px;}}

.general-range-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0 0 14px;}
.general-range-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;color:#4b707b;}
.general-range-controls input{min-height:38px;}.general-range-controls button{min-height:38px;}
#general-range-error{margin:0;color:#b52730;flex-basis:100%;}#general-range-error:empty{display:none;}

/* Synthèse : activité TA et identité des pilotes. */
.summary-table .summary-ta,.summary-table tbody .summary-pilot-spo{background:#ffe8cf;color:#203248}
.summary-table tbody .summary-pilot-rnd{background:#a9c7e8}
.summary-table tbody .summary-pilot-seasonal{background:#e7dcf2}
.summary-table tbody .summary-pilot-samu{background:#fbf276}
.summary-table tbody .summary-pilot-acn{background:linear-gradient(135deg,#fbf276 0%,#fbf276 50%,#a9c7e8 50%,#a9c7e8 100%)}

/* CP suit les entêtes de la synthèse, malgré sa position en début de ligne. */
.summary-table thead tr:nth-child(2)>th:first-child{background:#e8f1f3;color:#4b707b;left:auto}

.summary-table tbody td.summary-ta-unqualified{background:#e1e5e9;color:#6b7580}

.pilot-global-balance label{font-weight:700}

@media(min-width:1101px){.asfoi-workshop-grid>[data-visit-form="gillot-batteries"]{grid-column:3}}

.asfoi-maintenance-options{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 14px}.asfoi-maintenance-options .checkbox-toggle{font-size:12px;text-align:left}

.asfoi-aircraft-maintenance-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px;align-items:center;margin-bottom:14px;min-height:80px}
.asfoi-aircraft-maintenance-row .asfoi-aircraft-preview{justify-content:flex-start;margin:0;min-width:0}
.asfoi-aircraft-maintenance-row .asfoi-box-thumbnail{width:100%;max-width:220px;object-fit:contain;object-position:left center}
.asfoi-aircraft-maintenance-row .asfoi-maintenance-options{flex-direction:column;align-items:flex-start;gap:8px;margin:0;min-width:0;padding-left:40px}
.asfoi-aircraft-maintenance-row .checkbox-toggle{white-space:normal;text-align:left;line-height:1.3}

.asfoi-visit-form fieldset.asfoi-maintenance-disabled{margin:0;padding:0;border:0;min-width:0;opacity:.5}
.asfoi-maintenance-disabled .checkbox-toggle{color:#6b7280;cursor:not-allowed}
.asfoi-maintenance-disabled .checkbox-mark{background:#e5e7eb;border-color:#9ca3af}

.asfoi-maintenance-options .checkbox-toggle{background:#e2edf3;transition:background-color .15s ease}
.asfoi-maintenance-options .checkbox-toggle:hover:not(:disabled){background:#c8dce8}
.asfoi-maintenance-disabled .checkbox-toggle{background:#e5e7eb}

.production-order-input{display:flex;align-items:center;gap:6px}.production-order-input input{width:72px;flex:0 0 72px}.production-order-input>span{font-size:15px;font-weight:650}.production-order-field small{display:block;margin-top:5px;color:#708298;font-size:11px}

.production-period:has(.production-order-check){gap:5px}
.production-period .production-order-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#e3f4e7;color:#238343;font-size:14px;font-weight:800;line-height:1;text-shadow:none}

.production-period .production-order-check.production-order-missing{background:#fbe5e5;color:#bd303b}

.asfoi-workshop-field select[name="purchaseOrderId"]:has(option:checked:not([value=""])){background:#dcefe0;border-color:#abd2b4;color:#285d37}

.asfoi-visit-form:has(select[name="purchaseOrderId"] option:checked:not([value=""])) .asfoi-workshop-field select[name="aircraft"]{background:#dcefe0;border-color:#abd2b4;color:#285d37}

.asfoi-visit-form[data-bc-category="base"] .checkbox-control:has(input[name$="-maintenanceBase"]:checked) .checkbox-toggle{background:#6f9cca;color:#fff6a3;font-weight:750;text-shadow:0 1px 1px #203248}
.asfoi-visit-form[data-bc-category="base"] .checkbox-control:has(input[name$="-maintenanceBase"]:checked) .checkbox-toggle:hover:not(:disabled){background:#5b87b5}

.asfoi-visit-form[data-bc-category="base"] .asfoi-workshop-field select[name="purchaseOrderId"]:has(option:checked:not([value=""])){background:#6f9cca;border-color:#5b87b5;color:#fff6a3;font-weight:750;text-shadow:0 1px 1px #203248}

.asfoi-visit-form[data-bc-category]:not([data-bc-category=""]) .asfoi-workshop-field select[name="aircraft"]{background:#dcefe0;border-color:#abd2b4;color:#285d37}

.asfoi-home-visit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.asfoi-home-visit-heading>span:first-child{flex:1;min-width:0}
.asfoi-home-workshop .asfoi-maintenance-base-tag{flex:none;margin:0;background:#6f9cca;border-color:#5b87b5;color:#fff6a3;padding:3px 8px;border-radius:5px;font-size:12px;line-height:1.4;font-weight:750;white-space:nowrap}

.asfoi-home-workshop td.asfoi-home-visit{position:relative}
.asfoi-home-workshop .asfoi-home-visit-heading:has(.asfoi-maintenance-base-tag){padding-right:52px}
.asfoi-home-workshop .asfoi-home-visit-heading .asfoi-maintenance-base-tag{position:absolute;top:5px;right:5px;margin:0}

/* Couleurs des séries de jours contrôlés et travaillés. */
.tag.series-indicator.green{background:#def1e5}.tag.series-indicator.orange{background:#fff0da}.tag.series-indicator.pastel-red{background:#f8dadd}

/* Commandes compactes des plannings général et de production. */
.general-controls-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.general-controls-toolbar .general-range-controls{margin:0;gap:10px}
.general-controls-toolbar .general-range-controls label{margin:0}
.general-controls-toolbar .general-range-controls input{background:#f0f1f3}
.general-controls-toolbar .toolbar-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.general-controls-toolbar button{min-height:38px}
#general-range-error:empty{display:none}
#general-range-error:not(:empty){flex-basis:100%;margin:0;color:#b52730}

.general-controls-toolbar .toolbar-group{flex:0 1 auto;margin-left:auto;justify-content:flex-end}.general-controls-toolbar #general-export{margin-left:0}

/* Daily columns belong only to the weekly line-maintenance planning. */
.line-weekly-table table{width:100%;min-width:1100px;table-layout:fixed}
.line-weekly-table .general-aircraft td{height:116px;padding:0}
.line-weekly-table .general-cell{min-height:116px;width:100%}
.line-weekly-table .production-period{min-height:116px;max-height:none;display:flex;flex-direction:column;justify-content:center;gap:6px;white-space:normal;overflow-wrap:anywhere;padding:10px}
.line-weekly-table .production-period>span:first-child{font-weight:750}
.line-weekly-table .line-block-detail{display:block;white-space:pre-wrap;font-size:12px;font-weight:400;line-height:1.4;color:inherit}
.line-weekly-table .production-order-check{position:absolute;right:5px;top:4px}
.line-weekly-table .general-week{text-transform:capitalize}

.line-weekly-table .general-label{width:128px;min-width:128px;max-width:128px;padding:7px 9px;white-space:normal}
.line-weekly-table .general-week{top:0;width:144px;min-width:144px;height:64px}
.line-weekly-table table{min-width:3584px}
.line-weekly-table .general-aircraft td:not([colspan]){width:144px;min-width:144px}
.line-week-number{display:block;color:#156079;font-size:12px;font-weight:800;margin-bottom:4px}

.line-weekly-table .general-week.line-weekend,.line-weekly-table .general-aircraft td.line-weekend{width:72px;min-width:72px;background:#fff5c7}
.line-weekly-table thead .general-label{left:0;top:0;z-index:7;background:#dcecf5}

.production-block-dialog .actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.production-block-dialog #delete-production-period{margin-right:auto}

.production-order-location-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.production-order-location-row>div{min-width:0}
.production-order-location-row .production-order-input input{min-width:0}
.production-order-location-row select{width:100%;min-width:0}
.production-order-location-row .note-text,.production-order-location-row small{line-height:1.4}

.production-block-dialog .production-order-location-row{align-items:start;margin-bottom:12px}
.production-block-dialog .production-order-location-row .field{margin:0;gap:5px}
.production-block-dialog .production-order-location-row label{min-height:20px;line-height:20px}
.production-block-dialog .production-order-input{height:40px}
.production-block-dialog .production-order-location-row input,.production-block-dialog .production-order-location-row select{height:40px}
.production-block-dialog .production-palette{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:12px 0}
.production-block-dialog .production-palette legend{text-align:center}
.production-block-dialog .production-dates-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.production-block-dialog .production-dates-row .field{min-width:0}
.production-block-dialog .production-dates-row input{width:100%;min-width:0}

.line-weekly-table table{min-width:4275.2px}
.line-weekly-table .general-week{width:172.8px;min-width:172.8px}
.line-weekly-table .general-aircraft td{height:139.2px}
.line-weekly-table .general-cell,.line-weekly-table .production-period{min-height:139.2px}
.line-weekly-table .general-aircraft td:not([colspan]){width:172.8px;min-width:172.8px}
.line-weekly-table .general-week.line-weekend,.line-weekly-table .general-aircraft td.line-weekend{width:86.4px;min-width:86.4px}

.general-table .planning-taaf-band>th,.general-table .planning-taaf-band>td{background:var(--planning-taaf-fill,#cce5d3)}

body[data-view="production"] main>header,body[data-view="asfoi-line-planning"] main>header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:14px}
#planning-header-tools{margin-left:auto;min-width:0;max-width:100%}
#planning-header-tools .general-controls-toolbar{margin:0;gap:12px;align-items:center;flex-wrap:wrap}
#planning-header-tools .general-range-controls{margin:0;gap:8px}
#planning-header-tools .general-range-controls input{max-width:155px}
#planning-header-tools .toolbar-group{margin:0 0 0 auto}
body[data-view="production"] #title .production-not-current{display:block;margin:5px 0 0}

#planning-header-tools .general-controls-toolbar{align-items:flex-end}
#planning-header-tools .toolbar-group{align-self:flex-end}

.production-block-dialog #dialog-title{cursor:move;user-select:none;touch-action:none}

.production-block-dialog{cursor:move}
.production-block-dialog input,.production-block-dialog textarea{cursor:text}
.production-block-dialog select,.production-block-dialog label{cursor:default}
.production-block-dialog button,.production-block-dialog [role=checkbox]{cursor:pointer}

.maintenance-tutorial-button{background:#fff0c4;border-color:#e5d294;white-space:nowrap}
.maintenance-tutorial-button:hover{background:#ffe5a3}
dialog.maintenance-tutorial{width:min(900px,calc(100vw - 32px));padding:0;color:#203248}
.maintenance-tutorial-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:2;padding:18px 26px;background:#e5f0f8;border-bottom:1px solid #c9dce9}
.maintenance-tutorial-heading h2{font-size:24px;margin:0}
.maintenance-tutorial-heading form{margin:0}
.maintenance-tutorial article{padding:12px 30px 30px;font-size:15px;line-height:1.75}
.maintenance-tutorial article h3{font-size:19px;margin:30px 0 10px;color:#156079;line-height:1.45}
.maintenance-tutorial article h3 span{white-space:nowrap}
.maintenance-tutorial article p{margin:12px 0}
.maintenance-tutorial article ul{padding-left:24px;margin:12px 0}
.maintenance-tutorial article li{margin:7px 0}
.maintenance-tutorial-intro{font-size:17px;font-weight:600}
.maintenance-tutorial-callout{padding:14px 18px;background:#edf5f9;border-left:4px solid #6e9cb7;border-radius:4px}
.maintenance-tutorial-table{overflow:auto}
.maintenance-tutorial table{white-space:normal;font-size:14px}
.maintenance-tutorial table th,.maintenance-tutorial table td{position:static;text-align:left;padding:12px}
@media(max-width:600px){.maintenance-tutorial article{padding:10px 18px 24px}.maintenance-tutorial-heading{padding:14px 18px}.maintenance-tutorial-heading h2{font-size:21px}}

.maintenance-tutorial-button{background:#ffd43b;border-color:#e6b800;color:#263649;font-weight:750;align-self:flex-end}
.maintenance-tutorial-button:hover{background:#ffc400;border-color:#c79e00}
