/* ── security-pilotage-v501 ── */
#pilotageView{--pilot-blue:#173c65;--pilot-red:#b91c1c;--pilot-green:#15803d;--pilot-orange:#c2410c}#pilotageView .pilotage-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}#pilotageView .pilotage-hero h2{color:var(--red-dark);font-size:25px}#pilotageView .pilotage-hero p{margin-top:5px;color:#64748b}#pilotageView .pilotage-date-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}#pilotageView .pilotage-date{min-width:170px;text-align:center;font-weight:900;color:#173c65}#pilotageView .pilotage-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}#pilotageView .pilotage-kpi{padding:16px;border:1px solid #dce5f0;border-radius:14px;background:#fff;box-shadow:0 6px 18px #10243d0a}#pilotageView .pilotage-kpi b{display:block;color:#173c65;font-size:27px}#pilotageView .pilotage-kpi span{color:#64748b;font-size:11px;font-weight:850}#pilotageView .pilotage-kpi.alert b{color:#b91c1c}#pilotageView .pilotage-source{margin-bottom:14px;padding:9px 12px;border:1px solid #dbe5ef;border-left:4px solid #2878d4;border-radius:10px;background:#f8fbff;color:#52657c;font-size:11px;font-weight:750}#pilotageView .pilotage-source.sync-ok{border-left-color:#16a34a;background:#f8fff9}#pilotageView .pilotage-source.sync-warning{border-left-color:#d69000;background:#fffdf5}#pilotageView .pilotage-source.sync-error{border-left-color:#dc2626;background:#fff8f8;color:#991b1b}#pilotageView .pilotage-pcs{display:grid;gap:14px}.pilotage-pc{overflow:hidden;border:1px solid #dce5f0;border-radius:15px;background:#fff;box-shadow:0 7px 20px #10243d0a}.pilotage-pc-head{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5edf5;background:#f8fbff}.pilotage-pc-head h3{color:#173c65;font-size:17px}.pilotage-pc-head small{display:block;margin-top:2px;color:#718198}.pilotage-state{border-radius:999px;padding:6px 10px;font-size:10px;font-weight:950;white-space:nowrap}.pilotage-state.ok{background:#ecfdf3;color:#15803d}.pilotage-state.gap{background:#fef2f2;color:#b91c1c}.pilotage-state.none{background:#fff7ed;color:#c2410c}.pilotage-title-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pilotage-title-line .pilotage-state{padding:5px 9px}.pilotage-operations{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:13px}.pilotage-operation{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:43px;padding:9px 12px;border:1px solid #ead27b;border-radius:10px;background:#fff7c7;color:#694f00;font-size:11px}.pilotage-operation.closing{border-color:#d8c5f5;background:#f3edff;color:#5b2a91}.pilotage-operation b{font-size:11px;text-transform:uppercase;letter-spacing:.035em}.pilotage-operation time{font-weight:950}.pilotage-operation span{font-weight:750}@media (max-width:700px){.pilotage-operations{grid-template-columns:1fr}}.pilotage-pc-head-main{min-width:0;flex:1}.pilotage-title-line .pilotage-state.pilotage-state-text{padding:0;border-radius:0;background:0 0;font-size:12px}.pilotage-title-line .pilotage-state-text.ok{color:#15803d}.pilotage-title-line .pilotage-state-text.gap{color:#b91c1c}.pilotage-title-line .pilotage-state-text.none{color:#c2410c}.pilotage-head-details{display:grid;grid-template-columns:auto auto;gap:5px 22px;margin-top:7px;color:#52647a;font-size:11px}.pilotage-head-details .pilotage-head-agents{grid-column:1}.pilotage-head-details .pilotage-head-objective{grid-column:2}.pilotage-head-operation{display:flex;gap:6px;align-items:baseline;min-width:0}.pilotage-head-operation b{color:#6b5200}.pilotage-head-operation.closing b{color:#5b2a91}.pilotage-head-operation span{font-weight:750}.pilotage-head-operation time{font-weight:900;color:#334155}@media (max-width:700px){.pilotage-head-details{grid-template-columns:1fr}.pilotage-head-details .pilotage-head-agents,.pilotage-head-details .pilotage-head-objective{grid-column:1}}.pilotage-head-operation.opening b{color:#8a6200;background:linear-gradient(transparent 55%,#fde68a 55%)}.pilotage-opening{display:block;margin-top:5px;color:#334155;font-size:10.5px;font-weight:850}.pilotage-pc-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-left:auto}.pilotage-pc-actions .pilotage-saintleu-control{display:flex}.pilotage-pc-body{padding:15px 16px}.pilotage-gap-alert{margin-bottom:12px;padding:10px 12px;border:1px solid #fecaca;border-left:5px solid #dc2626;border-radius:9px;background:#fff5f5;color:#991b1b;font-size:12px;font-weight:850}.pilotage-gap-alert.ok{border-color:#bbf7d0;border-left-color:#16a34a;background:#f0fdf4;color:#166534}.pilotage-agent-actions{align-items:center;gap:6px;margin-top:5px}.pilotage-availability-btn{border:1px solid #cbd5e1;border-radius:999px;padding:4px 8px;background:#fff;color:#334155;font:800 9px/1 system-ui;cursor:pointer}.pilotage-availability-btn:hover{border-color:#94a3b8;background:#f8fafc}.pilotage-availability-btn.available{border-color:#86efac;background:#f0fdf4;color:#166534}.pilotage-availability-btn.unavailable{border-color:#fda4af;background:#fff1f2;color:#9f1239}.pilotage-availability-btn:disabled{cursor:wait;opacity:.55}.pilotage-agent-actions{display:none}.pilotage-saintleu-control{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pilotage-saintleu-control .pilotage-availability-btn{font-size:10px;padding:7px 10px}.pilotage-saintleu-window{color:#9f1239;font-size:10px;font-weight:850}.pilotage-pc-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.pilotage-external-btn{border:1px solid #93c5fd;border-radius:999px;padding:7px 10px;background:#eff6ff;color:#1d4ed8;font:850 10px/1 system-ui;cursor:pointer}.pilotage-external-btn:hover{background:#dbeafe}.pilotage-external-remove{margin-left:5px;border:0;background:0 0;color:#b91c1c;font-weight:950;cursor:pointer}.pilotage-closing{color:#7c3aed;font-weight:900}.pilotage-external-modal{position:fixed;z-index:60;inset:0;display:none;place-items:center;padding:20px;background:#0f172a99}.pilotage-external-modal.open{display:grid}.pilotage-external-dialog{width:min(940px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:16px;padding:22px;background:#fff;box-shadow:0 24px 70px #0f172a55}.pilotage-external-dialog h3{color:#173c65;font-size:21px}.pilotage-external-dialog>p{margin:5px 0 17px;color:#64748b}.pilotage-external-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.pilotage-external-field{display:grid;gap:5px;color:#475569;font-size:10px;font-weight:900;text-transform:uppercase}.pilotage-external-field input,.pilotage-external-field select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:9px;background:#fff;color:#1e293b;font:inherit;text-transform:none}.pilotage-external-days{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.pilotage-external-days label{display:flex;align-items:center;gap:5px;border:1px solid #dbe5ef;border-radius:999px;padding:6px 9px;background:#f8fafc;color:#475569;font-size:10px;font-weight:850}.pilotage-external-list{margin-top:18px;border:1px solid #dbe5ef;border-radius:11px;overflow:hidden}.pilotage-external-list-row{display:grid;gap:9px;align-items:center;padding:10px 12px;border-top:1px solid #edf2f7;font-size:11px}.pilotage-external-list-row:first-child{border-top:0}.pilotage-external-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}@media (max-width:760px){.pilotage-external-form{grid-template-columns:1fr 1fr}.pilotage-external-list-row{grid-template-columns:1fr 1fr}}@media (max-width:480px){.pilotage-external-form{grid-template-columns:1fr}}.pilotage-closing-zone{position:absolute;top:0;height:24px;background:#ede9fe;border-left:2px solid #7c3aed;border-right:1px solid #a78bfa;opacity:.9}.pilotage-gap-zone{z-index:1}.pilotage-segment{z-index:2}.pilotage-axis{position:relative;height:24px;margin-left:150px;border-bottom:1px solid #dbe4ee}.pilotage-tick{position:absolute;bottom:2px;transform:translateX(-50%);color:#718198;font-size:9px;font-weight:800}.pilotage-agent-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;align-items:center;min-height:40px;border-top:1px solid #f0f3f7}.pilotage-agent-row:first-of-type{border-top:0}.pilotage-agent-name{min-width:0}.pilotage-agent-name b{display:block;overflow:hidden;color:#173c65;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.pilotage-agent-name small{display:block;overflow:hidden;color:#718198;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.pilotage-track{position:relative;height:24px;border-radius:7px;background:repeating-linear-gradient(90deg,#f8fafc 0,#f8fafc calc(4% - 1px),#e8edf3 calc(4% - 1px),#e8edf3 4%);overflow:hidden}.pilotage-segment{position:absolute;top:3px;height:18px;border-radius:5px;background:#2878d4;color:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 4px;font-size:8.5px;font-weight:900;white-space:nowrap}.pilotage-gap-zone{position:absolute;top:0;height:24px;background:#fee2e2;border-left:1px solid #ef4444;border-right:1px solid #ef4444;opacity:.78}.pilotage-empty{padding:24px;text-align:center;color:#718198}.pilotage-roster{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.pilotage-roster span{border-radius:999px;padding:5px 8px;background:#f1f5f9;color:#475569;font-size:9.5px;font-weight:800}.pilotage-roster span.unavailable{background:#fff1f2;color:#9f1239}.pilotage-error{padding:22px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7;color:#7f1d1d;line-height:1.55}.pilotage-error code{font-size:11px}.pilotage-external-slot-remove{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border:1px solid #e5b400;border-radius:8px;padding:6px 9px;background:#fff8cf;color:#6b4f00;font:850 8.5px/1.1 system-ui;cursor:pointer;white-space:nowrap}.pilotage-external-slot-remove:hover{border-color:#c99500;background:#ffef9c}.pilotage-external-slot-remove:disabled{cursor:wait;opacity:.55}.pilotage-agent-row[data-external-slot]{grid-template-columns:140px minmax(0,1fr) 124px}.pilotage-segment.pilotage-segment-loge{background:#7c3aed;color:#fff}.pilotage-segment.pilotage-segment-external{background:#facc15;color:#533f00;border:1px solid #d5a900}.pilotage-segment.pilotage-segment-closing{background:#7c3aed!important;color:#fff!important;border-color:#6d28d9!important}@media (max-width:850px){#pilotageView .pilotage-summary{grid-template-columns:1fr 1fr}#pilotageView .pilotage-hero{align-items:flex-start;flex-direction:column}.pilotage-axis{margin-left:105px}.pilotage-agent-row{grid-template-columns:95px minmax(0,1fr)}}@media (max-width:560px){#pilotageView .pilotage-summary{grid-template-columns:1fr}.pilotage-pc-head{align-items:flex-start;flex-direction:column}.pilotage-axis{margin-left:0}.pilotage-agent-row{grid-template-columns:1fr}.pilotage-track{height:30px}.pilotage-segment{top:5px;height:20px}}.pilotage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:10px 12px;border:1px solid #dce5f0;border-radius:12px;background:#fff;box-shadow:0 4px 14px #10243d08}.pilotage-view-switch{display:inline-flex;gap:4px;margin:0;padding:3px;border:1px solid #d8e3ef;border-radius:9px;background:#eef3f8}.pilotage-view-switch .btn{border:0;background:0 0;box-shadow:none}.pilotage-view-switch .btn.active{border-color:#173c65;background:#173c65;color:#fff}.pilotage-toolbar .pilotage-date-nav{margin-left:auto}.pilotage-week-picker{display:flex;align-items:center;gap:6px;padding-left:8px;border-left:1px solid #dbe5ef;color:#52657c;font-size:10px;font-weight:850}.pilotage-week-picker input{width:135px;border:1px solid #bfd0e1;border-radius:8px;padding:7px 8px;background:#f8fbff;color:#173c65;font:800 11px system-ui}.pilotage-pc-head{align-items:flex-start}.pilotage-pc-actions{flex:0 0 auto;min-width:170px;padding-left:12px;border-left:1px solid #dbe5ef}.pilotage-pc-actions .pilotage-availability-btn,.pilotage-pc-actions>button{min-height:32px;white-space:nowrap}.pilotage-external-list-row{grid-template-columns:100px minmax(140px,1fr) minmax(140px,1fr) 105px 155px}.pilotage-external-list-row .pilotage-external-remove{width:100%;margin:0;border:1px solid #fecaca;border-radius:8px;padding:7px 9px;background:#fff1f2;color:#9f1239;font:850 9px/1.15 system-ui}.pilotage-external-list-row .pilotage-external-remove:hover{background:#ffe4e6}.pilotage-week{overflow:auto;padding:14px;border:1px solid #d7e3ef;border-radius:16px;background:linear-gradient(135deg,#f6faff,#fff);box-shadow:0 9px 28px #173c6510}.pilotage-week-board{display:grid;grid-template-columns:repeat(6,minmax(174px,1fr));gap:11px;min-width:1110px}.pilotage-week-column{overflow:hidden;border:1px solid #dce6f0;border-radius:13px;background:#fff;box-shadow:0 4px 13px #173c6508}.pilotage-week-column.is-today{border-color:#78aee0;box-shadow:0 0 0 2px #dceeff,0 7px 18px #173c6512}.pilotage-week-head{padding:12px 12px 10px;background:#173c65;color:#fff}.pilotage-week-head b{display:block;font-size:13px;text-transform:capitalize}.pilotage-week-head small{display:block;margin-top:2px;color:#c8d8e9;font-size:10px;font-weight:800}.pilotage-week-column.is-today .pilotage-week-head{background:#1f6fb2}.pilotage-week-sites{display:grid;gap:0}.pilotage-week-day{position:relative;width:100%;min-height:123px;padding:12px;border:0;border-top:1px solid #e7eef5;background:#fff;text-align:left;cursor:pointer;transition:.16s}.pilotage-week-day:first-child{border-top:0}.pilotage-week-day:hover{z-index:1;background:#f7fbff;box-shadow:inset 4px 0 #2878d4}.pilotage-week-day.ok{background:linear-gradient(90deg,#f4fcf7,#fff 54%);border-left:4px solid #16a34a}.pilotage-week-day.gap{background:linear-gradient(90deg,#fff5f5,#fff 54%);border-left:4px solid #dc2626}.pilotage-week-day.none{background:linear-gradient(90deg,#fff9ed,#fff 54%);border-left:4px solid #f59e0b}.pilotage-week-site-line{display:flex;align-items:center;justify-content:space-between;gap:7px}.pilotage-week-site{color:#173c65;font-size:11px;font-weight:950}.pilotage-week-badge{border-radius:999px;padding:3px 6px;font-size:8px;font-weight:950;white-space:nowrap}.pilotage-week-day.ok .pilotage-week-badge{background:#dcfce7;color:#166534}.pilotage-week-day.gap .pilotage-week-badge{background:#fee2e2;color:#b91c1c}.pilotage-week-day.none .pilotage-week-badge{background:#fef3c7;color:#a16207}.pilotage-week-status{display:block;margin:7px 0 6px;color:#52657c;font-size:10px;font-weight:850}.pilotage-week-agents{display:grid;gap:4px}.pilotage-week-agent{display:flex;justify-content:space-between;gap:7px;min-width:0;color:#334155;font-size:9px;font-weight:850}.pilotage-week-agent b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pilotage-week-agent time{flex:0 0 auto;color:#64748b;font-size:8.5px}.pilotage-week-empty{display:flex;min-height:123px;align-items:center;padding:12px;border-top:1px dashed #e2e8f0;background:#fbfcfe;color:#94a3b8;font-size:10px;font-weight:800}.pilotage-week-loading{padding:40px;text-align:center;color:#64748b}@media (max-width:850px){.pilotage-toolbar{align-items:stretch;flex-direction:column}.pilotage-toolbar .pilotage-date-nav{justify-content:center;margin-left:0}.pilotage-week-picker{justify-content:center;border-left:0;padding-left:0}.pilotage-pc-actions{width:100%;min-width:0;justify-content:flex-start;margin-left:0;padding:10px 0 0;border-top:1px solid #dbe5ef;border-left:0}.pilotage-agent-row[data-external-slot]{grid-template-columns:95px minmax(0,1fr) 116px}}@media (max-width:560px){.pilotage-view-switch{display:flex}.pilotage-view-switch .btn{flex:1}.pilotage-toolbar .pilotage-date-nav{display:grid;grid-template-columns:auto minmax(130px,1fr) auto}.pilotage-toolbar .pilotage-date-nav #pilotRefresh,.pilotage-toolbar .pilotage-date-nav #pilotToday{grid-column:span 1}.pilotage-week{padding:10px}.pilotage-agent-row[data-external-slot]{grid-template-columns:1fr}.pilotage-external-slot-remove{justify-self:start}.pilotage-external-list-row{grid-template-columns:1fr}.pilotage-external-actions{align-items:stretch;flex-direction:column-reverse}.pilotage-external-actions .btn{width:100%}}#pilotageView .pilotage-pc{border-color:#d7e1ec;border-radius:16px;box-shadow:0 10px 30px #173c650c}#pilotageView .pilotage-pc-head{display:flex;align-items:flex-start;gap:18px;padding:17px 18px;background:linear-gradient(135deg,#fbfdff 0,#f4f8fc 100%)}#pilotageView .pilotage-pc-head-main{display:grid}#pilotageView .pilotage-title-line{gap:8px}.pilotage-title-line h3{font-size:18px;letter-spacing:-.015em}#pilotageView .pilotage-title-line .pilotage-state.pilotage-state-text{border-radius:999px;padding:4px 8px;background:#fff;border:1px solid currentColor;font-size:10px;line-height:1}#pilotageView .pilotage-head-summary{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;color:#5f7085;font-size:10.5px;font-weight:750}#pilotageView .pilotage-head-summary span{display:inline-flex;align-items:center;gap:5px}#pilotageView .pilotage-head-agents:before{content:'●';color:#2878d4;font-size:7px}#pilotageView .pilotage-head-objective:before{content:'◷';color:#64748b;font-size:13px}#pilotageView .pilotage-site-operations{display:grid}#pilotageView .pilotage-site-operation{display:grid;align-items:center;border:1px solid}#pilotageView .pilotage-site-operation.opening{border-color:#f2d670;background:linear-gradient(135deg,#fffbdf,#fff7be);color:#6f5200}#pilotageView .pilotage-site-operation.closing{border-color:#d7c4f3;background:linear-gradient(135deg,#faf7ff,#eee5fc);color:#592b83}#pilotageView .pilotage-operation-icon{display:grid;place-items:center;background:#ffffffb8;font-weight:900}#pilotageView .pilotage-operation-copy{min-width:0}#pilotageView .pilotage-operation-copy b{text-transform:uppercase}#pilotageView .pilotage-operation-copy small{overflow:hidden;color:#526174;text-overflow:ellipsis;white-space:nowrap}#pilotageView .pilotage-site-operation time{border-left:1px solid currentColor;font-weight:950;white-space:nowrap}#pilotageView .pilotage-pc-actions{display:grid;flex:0 0 auto;gap:7px;min-width:165px;padding-left:16px;border-left:1px solid #d7e1ec}#pilotageView .pilotage-pc-actions .pilotage-saintleu-control{display:grid;gap:6px}#pilotageView .pilotage-pc-actions button{width:100%;min-height:32px;border-radius:8px}#pilotageView .pilotage-external-btn{border-color:#b9cee5;border-radius:8px;background:#fff;color:#174b80;box-shadow:0 2px 7px #10243d0a}#pilotageView .pilotage-external-btn:hover{border-color:#7ca6cf;background:#eef6ff}#pilotageView .pilotage-agent-row[data-external-slot]{grid-template-columns:140px minmax(0,1fr)}#pilotageView .pilotage-agent-name-line{display:flex;align-items:center;gap:6px;min-width:0}#pilotageView .pilotage-agent-name-line b{min-width:0;flex:1}#pilotageView .pilotage-external-slot-remove{width:19px;height:19px;min-height:0;flex:0 0 19px;place-items:center;border:1px solid #f3c6c6;border-radius:50%;padding:0;background:#fff;color:#a61b1b;font:900 13px/1 system-ui;box-shadow:none}#pilotageView .pilotage-external-slot-remove:hover{border-color:#dc2626;background:#fff1f2;color:#7f1d1d}#pilotageView .pilotage-external-slot-remove{display:none!important}#pilotageView .pilotage-agent-row[data-external-slot]{cursor:pointer;border-radius:8px;transition:background .15s,box-shadow .15s}#pilotageView .pilotage-agent-row[data-external-slot]:hover{background:#fffbea;box-shadow:inset 3px 0 #eab308}#pilotageView .pilotage-agent-row[data-external-slot]:focus-visible{outline:2px solid #2878d4;outline-offset:2px}.pilotage-external-edit-dialog{width:min(560px,100%)}.pilotage-external-edit-summary{margin:5px 0 17px;padding:11px 12px;border:1px solid #dbe5ef;border-radius:10px;background:#f8fbff;color:#475569;font-size:12px;font-weight:750}.pilotage-external-edit-form{grid-template-columns:1fr 1fr}.pilotage-external-delete{margin-right:auto;border-color:#fecaca!important;background:#fff1f2!important;color:#9f1239!important}.pilotage-external-delete:hover{background:#ffe4e6!important}#pilotageView .pilotage-roster{display:none!important}#pilotageView .pilotage-pc-body{padding:15px 18px 18px}#pilotageView .pilotage-gap-alert{border-width:1px 1px 1px 4px;border-radius:10px;font-size:11px}#pilotageView .pilotage-subcontract-export{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px solid #173c65;border-radius:9px;padding:8px 12px;background:linear-gradient(135deg,#173c65,#245987);color:#fff;font:850 10.5px/1.2 system-ui;box-shadow:0 4px 12px #173c6526;white-space:nowrap}#pilotageView .pilotage-subcontract-export:hover{border-color:#0f2f51;background:linear-gradient(135deg,#0f2f51,#174b78);color:#fff}#pilotageView .pilotage-subcontract-export:disabled{border-color:#cbd5e1;background:#e8eef5;color:#8290a2;box-shadow:none;cursor:wait}#pilotageView .pilotage-subcontract-export[hidden]{display:none!important}.pilotage-subcontract-modal{position:fixed;z-index:70;inset:0;display:none;place-items:center;padding:20px;background:#0f172aa6}.pilotage-subcontract-modal.open{display:grid}.pilotage-subcontract-dialog{display:grid;width:min(1080px,100%);max-height:calc(100vh - 40px);grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #d7e1ec;border-radius:17px;background:#fff;box-shadow:0 28px 80px #0f172a66}.pilotage-subcontract-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 15px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#fbfdff,#f3f7fb)}.pilotage-subcontract-head h3{margin:0;color:#173c65;font-size:20px}.pilotage-subcontract-head p{margin:4px 0 0;color:#64748b;font-size:11px}.pilotage-subcontract-close{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569;font:900 18px/1 system-ui;cursor:pointer}.pilotage-subcontract-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;border-bottom:1px solid #e2e8f0;background:#fff}.pilotage-subcontract-tools-actions{display:flex;gap:7px;flex-wrap:wrap}.pilotage-subcontract-tools button{border:1px solid #cbd5e1;border-radius:8px;padding:7px 10px;background:#fff;color:#334155;font:800 10px/1.2 system-ui;cursor:pointer}.pilotage-subcontract-count{color:#173c65;font-size:11px;font-weight:900}.pilotage-subcontract-list{overflow:auto;padding:10px 14px;background:#f8fafc}.pilotage-subcontract-row{display:grid;grid-template-columns:28px 125px minmax(145px,1fr) 80px 125px 135px 70px;gap:9px;align-items:center;margin-bottom:6px;padding:9px 11px;border:1px solid #dce5f0;border-radius:10px;background:#fff;color:#334155;font-size:10px;cursor:pointer;transition:.12s}.pilotage-subcontract-row:hover{border-color:#9fb7d0}.pilotage-subcontract-row.selected{border-color:#6d93ba;background:#f2f8ff;box-shadow:0 2px 8px #173c650c}.pilotage-subcontract-row input{width:16px;height:16px;accent-color:#173c65}.pilotage-subcontract-row b,.pilotage-subcontract-row small{display:block}.pilotage-subcontract-row small{margin-top:2px;color:#64748b;font-size:8.5px}.pilotage-subcontract-row time{font-weight:900;white-space:nowrap}.pilotage-subcontract-qualification{width:max-content;border-radius:999px;padding:4px 7px;color:#fff;font-size:8.5px;font-weight:950}.pilotage-subcontract-qualification.ssiap{background:#2878d4}.pilotage-subcontract-qualification.aps{background:#7c3aed}.pilotage-subcontract-empty{padding:32px;text-align:center;color:#64748b}.pilotage-subcontract-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:12px 22px 14px;border-top:1px solid #e2e8f0;background:#fff}.pilotage-subcontract-foot-copy{display:grid;min-width:260px;gap:6px}.pilotage-subcontract-foot-note{color:#64748b;font-size:9.5px}.pilotage-subcontract-email{display:grid;max-width:360px;gap:4px;color:#334155;font-size:9px;font-weight:900;letter-spacing:.02em;text-transform:uppercase}.pilotage-subcontract-email input{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:#fff;color:#1e293b;font:700 11px/1.2 system-ui;text-transform:none;outline:0}.pilotage-subcontract-email input:focus{border-color:#2878d4;box-shadow:0 0 0 3px #2878d41c}.pilotage-subcontract-email-help{color:#7b8796;font-size:8.5px;font-weight:650}.pilotage-subcontract-foot-actions{display:flex;align-items:center;gap:8px}.pilotage-subcontract-email-btn{border:1px solid #9ab2ca!important;background:#f5f9fd!important;color:#174b80!important}.pilotage-subcontract-email-btn:hover{border-color:#5f83a8!important;background:#eaf3fb!important}.pilotage-subcontract-create{border:1px solid #173c65!important;background:#173c65!important;color:#fff!important}.pilotage-subcontract-create:disabled,.pilotage-subcontract-email-btn:disabled{border-color:#cbd5e1!important;background:#e2e8f0!important;color:#94a3b8!important;cursor:not-allowed!important}@media (max-width:850px){.pilotage-subcontract-row{grid-template-columns:28px 1fr 80px}.pilotage-subcontract-row>:nth-child(4),.pilotage-subcontract-row>:nth-child(5),.pilotage-subcontract-row>:nth-child(7){display:none}.pilotage-subcontract-foot,.pilotage-subcontract-tools{align-items:stretch;flex-direction:column}.pilotage-subcontract-email,.pilotage-subcontract-foot-copy{max-width:none}.pilotage-subcontract-foot-actions{display:grid;grid-template-columns:1fr 1fr}.pilotage-subcontract-foot-actions button{width:100%}.pilotage-subcontract-foot-actions [data-subcontract-create]{grid-column:1/-1}}#pilotageView .pilotage-pc-head-main{gap:8px}#pilotageView .pilotage-site-operations{grid-template-columns:minmax(0,315px) minmax(0,315px);gap:7px;max-width:637px}#pilotageView .pilotage-site-operation{grid-template-columns:22px minmax(0,1fr) auto;gap:7px;min-height:40px;padding:5px 8px;border-radius:8px}#pilotageView .pilotage-operation-icon{width:22px;height:22px;border-radius:6px;font-size:12px;box-shadow:none}#pilotageView .pilotage-operation-copy{display:flex;align-items:baseline;gap:5px;overflow:hidden}#pilotageView .pilotage-operation-copy b{flex:0 0 auto;font-size:8.5px;letter-spacing:.04em}#pilotageView .pilotage-operation-copy small{min-width:0;margin:0;font-size:8.8px;font-weight:700}#pilotageView .pilotage-site-operation time{padding-left:7px;font-size:10.5px}@media (max-width:980px){#pilotageView .pilotage-pc-head{flex-direction:column}#pilotageView .pilotage-pc-actions{display:flex;width:100%;min-width:0;padding:11px 0 0;border-top:1px solid #d7e1ec;border-left:0}#pilotageView .pilotage-pc-actions .pilotage-saintleu-control{display:flex}#pilotageView .pilotage-pc-actions button{width:auto}}@media (max-width:850px){#pilotageView .pilotage-subcontract-export{width:100%}}@media (max-width:700px){#pilotageView .pilotage-site-operations{grid-template-columns:1fr}#pilotageView .pilotage-site-operation{grid-template-columns:32px minmax(0,1fr) auto}}
