.fly-resource-grid{position:relative;background:#fff;border:1px solid #dfe5ec;border-radius:24px;padding:22px;color:#172033}.fly-resource-grid__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.fly-resource-grid__head span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#667085}.fly-resource-grid__head h2{margin:5px 0 6px;font-size:24px}.fly-resource-grid__head p{margin:0;color:#667085;max-width:760px}.fly-resource-grid__nav{display:flex;gap:7px;flex-wrap:wrap}.fly-resource-grid__nav button{min-height:40px;border:1px solid #d6dce5;border-radius:10px;background:#fff;padding:0 13px;font-weight:650;cursor:pointer}.fly-resource-grid__status:not(:empty){padding:10px 12px;margin-bottom:12px;border-radius:10px;background:#eef6ff;color:#1d4ed8;font-size:13px;font-weight:650}.fly-resource-grid__status.is-error{background:#fff1f2;color:#b42318}.fly-resource-grid__status.is-success{background:#ecfdf3;color:#067647}.fly-resource-grid__status.is-workflow{background:#fffaeb;color:#b54708}.fly-resource-grid__scroll{overflow:auto;border:1px solid #e1e6ed;border-radius:16px}.fly-resource-grid__canvas{display:grid;grid-template-columns:minmax(118px,118px) repeat(calc(var(--fly-rg-cols) - 1),minmax(190px,1fr));min-width:max-content;background:#e7ebf0;gap:1px}.fly-rg-head,.fly-rg-day,.fly-rg-cell{background:#fff;min-width:0}.fly-rg-head{position:sticky;top:0;z-index:2;padding:12px 10px;font-size:12px;font-weight:800;text-align:center;min-height:48px}.fly-rg-head--corner{left:0;z-index:4}.fly-rg-day{position:sticky;left:0;z-index:3;padding:10px;display:grid;align-content:start;gap:2px}.fly-rg-day strong{font-size:12px;text-transform:capitalize}.fly-rg-day span{font-size:12px;color:#667085}.fly-rg-cell{padding:8px;min-height:104px;display:grid;align-content:start;gap:7px}.fly-rg-cell.is-over{box-shadow:inset 0 0 0 2px #2563eb;background:#f5f9ff}.fly-rg-event{width:100%;text-align:left;border:0;border-left:4px solid var(--fly-rg-accent,#2563eb);border-radius:10px;background:#f7f9fc;padding:8px 9px;color:#172033;cursor:pointer}.fly-rg-event[draggable=true]{cursor:grab}.fly-rg-event span{display:block;font-size:11px;color:#667085}.fly-rg-event strong{display:block;font-size:13px;line-height:1.25;margin:2px 0}.fly-rg-event small{display:block;color:#667085;line-height:1.25}.fly-rg-event:focus{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}.fly-resource-grid__editor{margin-top:14px;padding:16px;border:1px solid #dfe5ec;border-radius:16px;background:#f8fafc}.fly-resource-grid__editor-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.fly-resource-grid__editor-head button{width:36px;height:36px;border-radius:50%;border:1px solid #d6dce5;background:#fff;font-size:20px}.fly-resource-grid__editor p{margin:4px 0 14px;color:#667085}.fly-resource-grid__editor label{display:grid;gap:5px;margin-bottom:10px}.fly-resource-grid__editor label span{font-size:12px;font-weight:700;color:#475467}.fly-resource-grid__editor select,.fly-resource-grid__editor input{min-height:42px;border:1px solid #d6dce5;border-radius:10px;padding:7px 10px;background:#fff;font-size:15px}@media(max-width:767px){.fly-resource-grid{padding:14px;border-radius:18px}.fly-resource-grid__head{display:block}.fly-resource-grid__nav{margin-top:12px}.fly-resource-grid__canvas{grid-template-columns:minmax(92px,92px) repeat(calc(var(--fly-rg-cols) - 1),minmax(170px,1fr))}}
/* V1.0.1.9 — weekly resources workspace */
.fly-resource-grid{font:400 14px/1.5 system-ui,sans-serif;min-width:0}.fly-resource-grid *{box-sizing:border-box}.fly-resource-grid [hidden]{display:none!important}
.fly-rg-toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0 10px}.fly-rg-toolbar label{display:grid;gap:5px;font-size:12px;font-weight:700}.fly-rg-toolbar input,.fly-rg-toolbar select{min-height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:8px 12px;background:#fff;color:#172033;font:inherit}.fly-rg-toolbar strong{margin-left:auto;padding-bottom:10px;font-size:14px}.fly-rg-scope{font-size:12px;color:#64748b}.fly-rg-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#64748b;font-size:12px;margin:12px 0 18px}.fly-rg-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#64748b;margin-right:5px}.fly-rg-legend span:nth-child(1):before{background:#2563eb}.fly-rg-legend span:nth-child(2):before{background:#0f766e}.fly-rg-legend span:nth-child(3):before{background:#b45309}
.fly-rg-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.fly-resource-grid.has-detail .fly-rg-layout{grid-template-columns:minmax(0,1fr) 300px}.fly-rg-main{min-width:0}.fly-resource-grid__scroll{max-height:680px}.fly-resource-grid__canvas{grid-template-columns:180px repeat(calc(var(--fly-rg-cols) - 1),minmax(170px,1fr))}.fly-rg-head{text-transform:capitalize;background:#f8fafc}.fly-rg-day{padding:16px;background:#f8fafc}.fly-rg-day strong{font-size:14px;overflow-wrap:anywhere}.fly-rg-cell{min-height:125px}.fly-rg-cell.is-today{background:#f5f9ff}.fly-rg-head.is-today{color:#1d4ed8;background:#eff6ff}.fly-rg-event{--fly-rg-accent:#64748b;font-family:inherit;min-height:90px;background:#f8fafc;border:1px solid #e2e8f0;border-left:4px solid var(--fly-rg-accent);overflow-wrap:anywhere}.fly-rg-event[data-type=formation]{--fly-rg-accent:#2563eb}.fly-rg-event[data-type=reunion]{--fly-rg-accent:#0f766e}.fly-rg-event[data-type=indisponibilite]{--fly-rg-accent:#b45309}.fly-rg-event.is-cancelled{border-style:dashed;background:#f1f5f9}.fly-rg-event strong{margin:5px 0;line-height:1.4}.fly-rg-event .fly-rg-badge{font-size:10px;margin-top:8px;color:#475569;font-weight:700}.fly-resource-grid__editor{margin:0;position:sticky;top:16px;background:#f8fafc;min-width:0}.fly-resource-grid__editor select,.fly-resource-grid__editor input{width:100%;min-width:0;min-height:44px}.fly-resource-grid__editor-head strong{font-size:17px;overflow-wrap:anywhere}.fly-resource-grid__editor-head button{flex:0 0 40px}.fly-resource-grid__editor button:disabled{opacity:.65;cursor:not-allowed}.fly-rg-unassigned{display:grid;gap:10px}.fly-rg-unassigned h3{font-size:15px}.fly-rg-unassigned:empty{display:none}.fly-rg-mobile{display:none}.fly-resource-grid :is(button,input,select,[tabindex]):focus-visible{outline:3px solid #2563eb;outline-offset:3px}.fly-resource-grid__nav button{min-height:44px}.fly-resource-grid__editor .fly-editor-primary{white-space:normal;min-height:44px;background:#2563eb;color:#fff;border:0;border-radius:9px;padding:10px 14px}
@media(max-width:1100px){.fly-resource-grid.has-detail .fly-rg-layout{grid-template-columns:minmax(0,1fr)}.fly-resource-grid__editor{position:relative;top:0;grid-row:1}}
@media(max-width:600px){.fly-resource-grid__scroll{display:none}.fly-rg-mobile{display:grid;gap:16px}.fly-rg-mobile-day{display:grid;gap:8px}.fly-rg-mobile-day h3{font-size:14px;margin:0;text-transform:capitalize}.fly-rg-mobile-day p{margin:0;color:#64748b;font-size:12px}.fly-rg-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.fly-rg-toolbar strong{margin:0}.fly-rg-toolbar input{width:100%;min-width:0}.fly-rg-unassigned{display:none}.fly-resource-grid__head h2{font-size:21px}}

.fly-resource-grid__canvas{min-width:calc(180px + (var(--fly-rg-cols) - 1)*170px);width:100%}.fly-rg-mobile-day h3{text-transform:none}.fly-rg-event .fly-rg-conflict{margin-top:6px;color:#b91c1c;font-weight:800}.fly-rg-event .fly-rg-conflict:before{content:'! ';}
