.matrix-overview{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.1rem 1.3rem;background:linear-gradient(100deg,#f9fcff,#f1f7ff);border-bottom:1px solid #dfe9f4}.matrix-overview>div:first-child{display:grid;gap:.18rem}.matrix-overview .eyebrow{margin-bottom:.15rem}.matrix-overview strong{color:#173f69;font-size:.86rem}.matrix-overview span{color:#73879d;font-size:.66rem}.matrix-title{display:flex!important;align-items:center;grid-template-columns:1fr auto;gap:.8rem!important}.matrix-title>span{display:grid;gap:.1rem}.add-row-button{width:2.45rem;height:2.45rem;display:grid;place-items:center;padding:0;color:var(--tenant-primary);background:#fff;border:1px solid color-mix(in srgb,var(--tenant-primary) 45%,white);border-radius:50%;font-size:1.25rem;cursor:pointer}.add-row-button:hover:not(:disabled){color:#fff;background:var(--tenant-primary)}.row-picker,.location-picker{display:grid;grid-template-columns:minmax(10rem,.7fr) minmax(15rem,1.3fr) auto;align-items:end;gap:.8rem;padding:.9rem 1.2rem;background:#f6f9fd;border-bottom:1px solid #d9e5f1}.row-picker .field,.location-picker .field{display:grid;gap:.35rem}.row-picker label,.location-picker label{color:#4c6680;font-size:.65rem;font-weight:750}.row-picker select,.location-picker select{min-height:2.6rem;padding:.55rem .7rem;color:#173f69;background:#fff;border:1px solid #cbdbea;border-radius:.55rem}.picker-add,.location-picker button{min-height:2.6rem;padding:.55rem .9rem;color:#fff;background:var(--tenant-primary);border:0;border-radius:.55rem;font-size:.7rem;font-weight:750;cursor:pointer}.absence-row-guidance{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem .8rem;color:#725714;background:#fff8dc;border:1px solid #ecd99c;border-radius:.65rem;font-size:.67rem}.absence-row-guidance button{min-height:auto;padding:.5rem .7rem}.completion{min-width:min(19rem,42%);display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:.15rem .7rem}.completion strong{grid-row:1/3;color:color-mix(in srgb,var(--tenant-primary) 78%,#052b55);font-size:1.35rem}.completion span{justify-self:end}.completion i{height:.42rem;overflow:hidden;background:#d7e5f5;border-radius:1rem}.completion b{display:block;height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--tenant-primary) 82%,white),var(--tenant-primary));border-radius:inherit;transition:width .25s ease}.matrix-scroll{max-width:100%;overflow:auto;background:#fff;scrollbar-color:#9cb8d5 #edf3f9;scrollbar-width:thin}.matrix-scroll .timesheet-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:center}.matrix-scroll .timesheet-matrix th,.matrix-scroll .timesheet-matrix td{height:2.5rem;padding:0;border:0;border-right:1px solid #dfe6ee;border-bottom:1px solid #dfe6ee;font-size:.68rem}.matrix-scroll .timesheet-matrix tbody td{position:relative}.matrix-scroll .timesheet-matrix thead th{color:#57708a;background:#f9fbfd;font-weight:750}.matrix-scroll .timesheet-matrix .activity-column,.matrix-scroll .timesheet-matrix tbody th{position:sticky;left:0;z-index:5;width:15.5rem;min-width:15.5rem;max-width:15.5rem;padding:.7rem .9rem;color:#244768;background:#fff;border-right-color:#cbd8e5;text-align:left}.matrix-scroll .timesheet-matrix .activity-column{z-index:8;color:#315372;background:#f7faff;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}.matrix-scroll .timesheet-matrix .week-cell{height:1.75rem;color:#3b6287;background:#edf4fb;border-right-color:#c3d3e2;font-size:.62rem;letter-spacing:.04em}.matrix-scroll .timesheet-matrix .weekday-row th,.matrix-scroll .timesheet-matrix .date-row th,.matrix-scroll .timesheet-matrix tbody td{width:2.15rem;min-width:2.15rem;max-width:2.15rem}.matrix-scroll .timesheet-matrix .weekday-row th{height:1.6rem;font-size:.57rem;text-transform:capitalize}.matrix-scroll .timesheet-matrix .date-row th{height:1.8rem;color:#294f73;font-size:.68rem}.matrix-scroll .timesheet-matrix .weekend{background:#edf1f5}.matrix-scroll .timesheet-matrix .today{color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 10%,white)}.matrix-scroll .timesheet-matrix .selected{box-shadow:inset 2px 0 var(--tenant-primary),inset -2px 0 var(--tenant-primary)}.matrix-scroll .timesheet-matrix .total-column,.matrix-scroll .timesheet-matrix .row-total{position:sticky;right:2.65rem;z-index:5;width:4.2rem;min-width:4.2rem;max-width:4.2rem;color:#244d75;background:#f4f8fc;border-left:1px solid #cbd8e5;border-right:0;font-weight:800}.matrix-scroll .timesheet-matrix .total-column{z-index:8;font-size:.62rem;letter-spacing:.06em;text-transform:uppercase}.matrix-scroll .timesheet-matrix .action-column,.matrix-scroll .timesheet-matrix .row-action{position:sticky;right:0;z-index:6;width:2.65rem;min-width:2.65rem;max-width:2.65rem;padding:0;background:#f7faff;border-left:1px solid #d4e0eb;border-right:0}.matrix-scroll .timesheet-matrix .action-column{z-index:8}.matrix-scroll .timesheet-matrix .row-action>button{width:1.65rem;height:1.65rem;padding:0;color:var(--tenant-danger);background:color-mix(in srgb,var(--tenant-danger) 7%,white);border:1px solid color-mix(in srgb,var(--tenant-danger) 22%,white);border-radius:50%;font-size:.9rem;cursor:pointer}.matrix-scroll .timesheet-matrix .row-action .trash-icon{width:.9rem;height:.9rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.matrix-scroll .timesheet-matrix tbody th{height:3.25rem;vertical-align:middle}.matrix-scroll .timesheet-matrix tbody th strong{display:block;overflow:hidden;color:#244768;font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.matrix-scroll .timesheet-matrix .matrix-row-title{display:flex;align-items:center;gap:.38rem;min-width:0}.matrix-scroll .timesheet-matrix .matrix-row-title strong{flex:1 1 auto;min-width:0}.matrix-scroll .timesheet-matrix .fill-month-button{flex:0 0 auto;margin-left:auto;width:1.45rem;height:1.45rem;display:inline-grid;place-items:center;padding:0;color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 7%,white);border:1px solid color-mix(in srgb,var(--tenant-primary) 22%,white);border-radius:.38rem;cursor:pointer}.matrix-scroll .timesheet-matrix .fill-month-button svg{width:.82rem;height:.82rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.matrix-scroll .timesheet-matrix .fill-month-button:hover:not(:disabled){color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 13%,white)}.matrix-scroll .timesheet-matrix tbody th small{display:block;overflow:hidden;color:#7c8fa2;font-size:.6rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.matrix-scroll .timesheet-matrix .expected-row th,.matrix-scroll .timesheet-matrix .expected-row td,.matrix-scroll .timesheet-matrix .realized-row th,.matrix-scroll .timesheet-matrix .realized-row td{color:#496681;background:#f5f8fb;font-weight:700}.matrix-scroll .timesheet-matrix .expected-row th,.matrix-scroll .timesheet-matrix .realized-row th{height:2.7rem}.matrix-scroll .timesheet-matrix .activity-row:hover th,.matrix-scroll .timesheet-matrix .activity-row:hover td:not(.weekend):not(.row-total){background:#f8fbff}.matrix-scroll .timesheet-matrix .activity-row td{height:3.25rem}.matrix-scroll .timesheet-matrix .activity-row td>button{width:100%;height:100%;display:grid;place-items:center;padding:0;color:#7a9abb;background:transparent;border:0;border-radius:0;font:inherit;font-weight:800;cursor:pointer}.matrix-scroll .timesheet-matrix .activity-row td>button>span{opacity:0}.matrix-scroll .timesheet-matrix .activity-row td>button:hover:not(:disabled){color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 10%,white)}.matrix-scroll .timesheet-matrix .activity-row td>button:hover>span{opacity:1}.matrix-scroll .timesheet-matrix .activity-row td>button.filled{color:#fff;background:var(--tenant-primary);box-shadow:inset 0 0 0 2px #fff}.matrix-scroll .timesheet-matrix .activity-row td>button.filled.partial{color:color-mix(in srgb,var(--tenant-primary) 78%,#052b55);background:linear-gradient(135deg,#cfe4ff 50%,#edf5ff 50%)}.matrix-scroll .timesheet-matrix .activity-row td>button:focus-visible{position:relative;z-index:2;outline:3px solid color-mix(in srgb,var(--tenant-primary) 35%,transparent);outline-offset:-3px}.cell-popover{position:absolute;z-index:20;top:calc(100% - .25rem);left:50%;display:flex;gap:.28rem;padding:.38rem;background:#fff;border:1px solid #cbdbea;border-radius:.55rem;box-shadow:0 8px 22px #103d6933;transform:translate(-50%)}.cell-popover button{width:1.8rem;height:1.8rem;padding:0;color:#185b9e;background:#edf5ff;border:0;border-radius:.38rem;font-size:.72rem;font-weight:800;cursor:pointer}.cell-popover button:hover{color:#fff;background:var(--tenant-primary)}.cell-popover button.clear-cell{color:var(--tenant-danger);background:color-mix(in srgb,var(--tenant-danger) 7%,white)}.cell-popover .trash-icon{width:.9rem;height:.9rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.matrix-type{display:block;width:max-content;margin-bottom:.18rem;padding:.15rem .38rem;border-radius:1rem;font-size:.52rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.matrix-type.mission{color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 10%,white)}.matrix-type.absence{color:#3e64a8;background:#eaf0fb}.matrix-type.intercontrat{color:#55728e;background:#edf2f7}.matrix-type.ferie{color:#6e7f9c;background:#f0f3f8}.matrix-type.interne,.matrix-type.location{color:#315f91;background:#e8f1fb}.work-locations{margin:1rem;overflow:hidden;background:#fff;border:1px solid #dbe6f2;border-radius:.85rem}.work-location-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem}.work-location-head>div{display:grid;gap:.18rem}.work-location-head .eyebrow{margin:0}.work-location-head h3{margin:0;color:#214b76;font-size:.9rem}.work-location-head span{color:#74899d;font-size:.65rem}.work-location-head>button.location-toggle{min-height:2.15rem;display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .58rem;color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 8%,white);border:1px solid color-mix(in srgb,var(--tenant-primary) 20%,white);border-radius:.55rem;font-size:.68rem;font-weight:750;cursor:pointer}.work-location-head>button.location-toggle svg{width:.85rem;height:.85rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.work-location-head>button.location-toggle span{color:inherit;font-size:inherit}.work-location-head>button.location-toggle.active,.work-location-head>button.location-toggle:hover:not(:disabled){color:var(--tenant-primary);background:color-mix(in srgb,var(--tenant-primary) 13%,white)}.location-picker{display:flex;align-items:flex-end;justify-content:flex-end;gap:.55rem;padding:.72rem 1.15rem;background:#f8fafc;border-top:1px solid #e1eaf3}.location-picker .field{width:min(21rem,100%)}.location-picker select{min-height:2.35rem;padding-block:.48rem;background:#fff}.location-picker button.location-confirm{width:2.35rem;height:2.35rem;min-height:2.35rem;display:inline-grid;place-items:center;padding:0;border-radius:.55rem}.location-picker button.location-confirm svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.location-picker button.location-confirm:hover:not(:disabled){color:#fff;background:var(--tenant-primary)}.empty-locations{padding:1.2rem;color:#7b8fa3;background:#f9fbfd;border-top:1px solid #e1eaf3;font-size:.7rem;text-align:center}.location-scroll{border-top:1px solid #dbe6f2}@media(max-width:680px){.matrix-overview{align-items:stretch;flex-direction:column;gap:1rem}.row-picker{grid-template-columns:1fr}.location-picker{align-items:stretch;flex-direction:column}.location-picker .field{width:100%}.location-picker .location-confirm{align-self:flex-end}.completion{min-width:100%}.matrix-scroll .timesheet-matrix .activity-column,.matrix-scroll .timesheet-matrix tbody th{width:11.5rem;min-width:11.5rem;max-width:11.5rem}}.form-actions{display:flex;gap:.55rem}.form-actions button{flex:1}.secondary,.line-actions button{padding:.55rem .7rem;color:#1c5f9f;background:#edf5ff;border:1px solid #cfe2f6;border-radius:.55rem;font:inherit;font-size:.68rem;font-weight:750;cursor:pointer}.line-actions{display:flex;justify-content:flex-end;gap:.35rem;white-space:nowrap}.line-actions button.danger{color:var(--tenant-danger);background:color-mix(in srgb,var(--tenant-danger) 7%,white);border-color:color-mix(in srgb,var(--tenant-danger) 22%,white)}.icon-action{width:2rem;height:2rem;display:inline-grid;place-items:center;padding:0!important}.trash-icon{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.secondary:hover:not(:disabled),.line-actions button:hover:not(:disabled){color:#174f89;background:#dcecff}.line-actions button.danger:hover:not(:disabled){color:color-mix(in srgb,var(--tenant-danger) 80%,#3d1010);background:color-mix(in srgb,var(--tenant-danger) 13%,white)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:root{--tenant-primary: #0867e8;--tenant-success: #15803d;--tenant-danger: #dc2626;--app-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-size:90%;font-family:var(--app-font-family);font-synthesis:none;text-rendering:optimizeLegibility;color-scheme:light;--rh-bg: #f4f7fb;--rh-surface: #ffffff;--rh-surface-elevated: #f4f7fb;--rh-border: #e2e8f0;--rh-text: #0f172a;--rh-text-secondary: #64748b;--rh-warning: #d97706;--rh-warning-bg: #fffbeb}:root[data-theme=dark]{color-scheme:dark;--rh-bg: #0b1220;--rh-surface: #131b2c;--rh-surface-elevated: #1b2740;--rh-border: #26314a;--rh-text: #f1f5f9;--rh-text-secondary: #94a3b8;--rh-warning: #fbbf24;--rh-warning-bg: #2a2210}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--rh-bg)}body{min-height:100vh;margin:0}button,input{font:inherit}a{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(1,112,254,.25);outline-offset:2px}
