:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%}body{margin:0}body{margin:0;font-family:Segoe UI,Tahoma,sans-serif;font-size:clamp(14px,.45vw + 12px,16px);background-color:#f5f6fa}.app-container{display:flex;height:100vh;overflow:hidden}.sidebar{width:220px;background:#1e1e2f;color:#fff;padding:20px 20px 8px;display:flex;flex-direction:column;height:100vh;overflow:hidden;position:sticky;top:0;flex-shrink:0}.sidebar h3{margin-top:0;margin-bottom:30px}.sidebar-brand{display:block;width:100%;max-width:180px;height:auto;margin:0 0 22px;filter:brightness(0) saturate(100%) invert(16%) sepia(95%) saturate(6400%) hue-rotate(356deg) brightness(94%) contrast(118%)}.sidebar-brand-link{display:inline-block;text-decoration:none}.sidebar-top{display:block}.mobile-menu-toggle{display:none}.sidebar-menu{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}@media(min-width:901px){.mobile-menu-toggle{display:none!important}.sidebar-menu{display:block!important}}.sidebar button{display:block;width:100%;margin-bottom:10px;padding:10px;border:none;background:transparent;color:#fff;text-align:left;cursor:pointer;border-radius:6px;transition:.2s}.sidebar button:hover{background:#2d2d44}.sidebar .active{background:#4caf50}.sidebar-footer{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.16)}.sidebar-user{display:block;width:100%;box-sizing:border-box;margin-bottom:10px;padding:10px;border-radius:6px;background:#ffffff14;font-size:12px;opacity:.95;color:#fffffff2}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:#f5f6fa}.auth-card{width:min(100%,380px);background:#fff;border:1px solid #dfe3e8;border-radius:10px;box-shadow:0 8px 18px #00000014;padding:16px}.auth-brand{display:flex;justify-content:center;margin-bottom:12px}.auth-brand img{width:min(100%,220px);height:auto}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.auth-tabs button{border:1px solid #d7dee8;background:#f7f9fc;color:#344253;border-radius:8px;padding:8px 10px;cursor:pointer}.auth-tabs button.active{background:#1f6feb;color:#fff;border-color:#1f6feb}.auth-form{display:grid;gap:10px;width:100%}.auth-form label{display:grid;gap:6px;font-size:13px;color:#2f3e50}.auth-form input{width:100%;box-sizing:border-box}.auth-submit{width:100%;padding:9px 12px}.auth-message{font-size:13px;border-radius:8px;padding:9px 10px}.auth-message-error{color:#8a1f1f;background:#ffe9e9;border:1px solid #ffd0d0}.auth-message-success{color:#156c2d;background:#e9f9ed;border:1px solid #c8efcf}.auth-divider{height:1px;background:#e6edf4;margin:2px 0}.app-toast{position:fixed;top:16px;right:18px;z-index:1200;padding:10px 14px;border-radius:8px;color:#fff;font-size:14px;font-weight:600;box-shadow:0 8px 18px #0003}.app-toast-success{background:#2e7d32}.app-toast-error{background:#c62828}.content{flex:1;padding:30px;overflow:auto;height:100vh;min-height:0}.content.content-schedule,.content.content-data{overflow:hidden;display:flex;flex-direction:column;min-height:0;height:100dvh;box-sizing:border-box;padding:18px 20px}.card{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 8px #0000000d;margin-bottom:20px}.data-card{height:100%;margin-bottom:0;display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:18px;border:1px solid #e4e9ef;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 8px 20px #0b244712}.data-card h3{margin-top:0;margin-bottom:14px}.planning-card{display:grid;grid-template-rows:auto 1fr 1fr;gap:12px}.planning-card .card-section{margin-top:0}.planning-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.planning-section-header h4{margin:0}.planning-add-toggle{border:1px solid #d3dce8;background:#fff;color:#2f3e50;border-radius:8px;padding:6px 10px;cursor:pointer}.shift-add-shell{margin-bottom:14px}.shift-add-card{padding:12px;border:1px solid #dde5ee;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#f3f7fd)}.shift-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.shift-add-field{display:flex;flex-direction:column;gap:6px}.shift-add-field label{margin:0;font-size:12px;font-weight:600;color:#2f3e50;line-height:1.2}.shift-add-field input,.shift-add-field select{width:100%;box-sizing:border-box;margin:0}.shift-add-color-field input[type=color]{min-height:36px;padding:2px}.shift-add-actions{margin-top:10px;display:flex;justify-content:flex-end}.shifts-desktop-table{display:block}.shifts-mobile-cards{display:none}.shifts-mobile-card{border:1px solid #ccd8e6;border-radius:12px;background:#f9fbff;padding:12px;box-shadow:0 4px 10px #0f172a14}.shifts-mobile-card+.shifts-mobile-card{margin-top:12px}.shifts-mobile-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-12px -12px 10px;padding:8px 12px;border-bottom:1px solid #dbe5f0;border-top-left-radius:12px;border-top-right-radius:12px;background:linear-gradient(180deg,#eef4fb,#e8f0f9)}.shifts-mobile-card-head strong{font-size:13px;color:#1f2d3d}.shifts-mobile-card-head span{font-size:12px;color:#425466;border:1px solid #cfdbe8;border-radius:999px;padding:2px 8px;background:#fff}.shifts-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shifts-mobile-grid label{display:grid;gap:5px;font-size:12px;color:#2f3e50}.shifts-mobile-grid input,.shifts-mobile-grid select{width:100%;box-sizing:border-box}.shifts-mobile-roles{margin-top:8px;display:grid;gap:4px;font-size:12px}.shifts-mobile-roles label{display:flex;align-items:center;gap:6px}.shifts-mobile-actions{margin-top:8px}.absence-type-add-shell{margin-bottom:14px}.absence-type-add-card{padding:12px;border:1px solid #dde5ee;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#f3f7fd)}.absence-type-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.absence-type-add-field{display:flex;flex-direction:column;gap:6px}.absence-type-add-field label{margin:0;font-size:12px;font-weight:600;color:#2f3e50;line-height:1.2}.absence-type-add-field input,.absence-type-add-field select{width:100%;box-sizing:border-box;margin:0}.absence-type-add-color-field input[type=color]{min-height:36px;padding:2px}.absence-type-add-actions{margin-top:10px;display:flex;justify-content:flex-end}.absences-desktop-table{display:block}.absences-mobile-cards{display:none}.absences-mobile-card{border:1px solid #ccd8e6;border-radius:12px;background:#f9fbff;padding:12px;box-shadow:0 4px 10px #0f172a14}.absences-mobile-card+.absences-mobile-card{margin-top:12px}.absences-mobile-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-12px -12px 10px;padding:8px 12px;border-bottom:1px solid #dbe5f0;border-top-left-radius:12px;border-top-right-radius:12px;background:linear-gradient(180deg,#eef4fb,#e8f0f9)}.absences-mobile-card-head strong{font-size:13px;color:#1f2d3d}.absences-mobile-card-head span{font-size:12px;color:#425466;border:1px solid #cfdbe8;border-radius:999px;padding:2px 8px;background:#fff}.absences-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.absences-mobile-grid label{display:grid;gap:5px;font-size:12px;color:#2f3e50}.absences-mobile-grid input,.absences-mobile-grid select{width:100%;box-sizing:border-box}.absences-mobile-actions{margin-top:8px}.planning-desktop-table{display:block}.planning-mobile-cards{display:none}.planning-mobile-card{border:1px solid #dde5ee;border-radius:10px;background:#f9fbff;padding:10px}.planning-mobile-card+.planning-mobile-card{margin-top:8px}.planning-mobile-row{display:flex;align-items:flex-start;gap:6px;font-size:12px;color:#2f3e50}.planning-mobile-row+.planning-mobile-row{margin-top:4px}.planning-mobile-actions{margin-top:8px}.schedule-card{height:100%;margin-bottom:0;display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:16px}.schedule-header{flex:0 0 auto;margin-bottom:10px}.schedule-period-inputs{display:flex;gap:8px;margin-bottom:10px}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-nav{display:flex;align-items:center;gap:10px}.schedule-range-label{font-weight:600}.schedule-actions{display:flex;gap:8px}.schedule-bulk-actions{margin-top:10px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fbff}.schedule-bulk-actions strong{margin-right:4px}.schedule-bulk-mobile-trigger{display:none;margin-top:10px}.schedule-bulk-float-wrap{display:none;position:relative}.schedule-bulk-float-panel{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;border:1px solid #d9e2ec;border-radius:12px;background:#f2f5f9;box-shadow:0 10px 24px #0f172a33;padding:10px}.schedule-bulk-float-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.schedule-bulk-close{border:1px solid #d0d7e2;border-radius:8px;background:#fff;color:#2f3e50;cursor:pointer;width:28px;height:28px;line-height:1}.schedule-bulk-float-grid{display:grid;grid-template-columns:1fr;gap:8px}.schedule-bulk-float-actions{margin-top:10px}input,select{padding:6px 10px;border-radius:6px;border:1px solid #ccc}td input,td select{width:100%;box-sizing:border-box}button.primary{background:#4caf50;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;transition:.2s}button.primary:hover{background:#43a047}table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #d6d6d6;border-radius:6px;overflow:hidden;background:#fff}th{background:#f0f0f0;font-weight:600}th,td{padding:6px;text-align:center;border:1px solid #e5e5e5;font-size:14px}.schedule-table th:first-child,.schedule-table td:first-child{width:110px;font-weight:600;border-right:2px solid #cfcfcf}.employees-table th:first-child,.employees-table td:first-child{width:32px;min-width:32px;max-width:32px;padding:0}.employees-mobile-accordion{display:none;margin-top:10px}.employees-desktop-table{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.employees-desktop-table .table-section{flex:1 1 auto;min-height:0}.employees-desktop-table .table-scroll{height:100%;max-height:none;overflow:auto}.employee-accordion-item{border:1px solid #dde5ee;border-radius:10px;background:#f9fbff;overflow:hidden}.employee-accordion-item+.employee-accordion-item{margin-top:8px}.employee-accordion-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:0;background:#eef4fb;color:#1f2d3d;font-weight:600;cursor:pointer;text-align:left}.employee-accordion-body{display:grid;gap:8px;padding:10px}.employee-accordion-body label{display:grid;gap:5px;font-size:12px;color:#2f3e50}.employee-accordion-meta{font-size:12px;color:#5b6775}.table-section{margin-top:8px;padding:10px;border:1px solid #dde5ee;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#f5f8fc);box-shadow:inset 0 1px #ffffffbf}.table-scroll{position:relative;overflow:auto;max-height:min(56vh,560px);border:1px solid #d6d6d6;border-radius:6px}.table-scroll table{border-collapse:separate;border-spacing:0;border:0;overflow:visible;isolation:isolate}.table-scroll table thead th{background:#f0f0f0;position:sticky;top:0;z-index:10}.table-section-fill{flex:1 1 auto;min-height:0}.table-section-fill .table-scroll{height:100%;max-height:none}.schedule-scroll{position:relative;flex:1 1 auto;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden;border:1px solid #d6d6d6;border-radius:6px}.schedule-table-section{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:10px;border:1px solid #e2e6ea;border-radius:8px;background:#f8fafc}.schedule-scroll .schedule-table{border-collapse:separate;border-spacing:0;border:0;overflow:visible;isolation:isolate;table-layout:fixed;width:100%;min-width:0}.schedule-scroll .schedule-table thead{display:table-header-group}.schedule-scroll .schedule-table thead th{background:#f0f0f0;position:sticky;top:0;z-index:15}.schedule-scroll .schedule-table thead th:first-child{z-index:16}.schedule-scroll .schedule-table th:not(:first-child),.schedule-scroll .schedule-table td:not(:first-child){width:calc((100% - 110px) / var(--employees-count, 1));min-width:0;max-width:none}.schedule-scroll .schedule-table th:first-child,.schedule-scroll .schedule-table td:first-child{position:sticky;left:0}.schedule-scroll .schedule-table th:first-child{background:#f0f0f0}.schedule-scroll .schedule-table td:first-child{background:#fff;z-index:4}.schedule-employee-jump.screen-only{display:none;flex-wrap:wrap;gap:6px;overflow:visible;align-items:center;padding:6px 2px 10px}.schedule-jump-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfd8e3;background:#fff;color:#2e3e52;border-radius:999px;padding:5px 10px;font-size:12px;line-height:1.2;min-height:30px;white-space:nowrap}.schedule-jump-chip.active{background:#1f6feb;color:#fff;border-color:#1f6feb}.schedule-card .print-area{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}tr:nth-child(2n){background:#fafafa}tbody tr+tr{border-top:2px solid #f0f0f0}tbody tr:hover{background:#f3f8ff}.absence-cell{background-color:var(--absence-color);color:#fff;padding:6px;border-radius:6px;cursor:pointer;text-align:center;font-weight:bolder;font-size:13px;transition:.2s ease}.absence-cell:hover{opacity:.85}.absence-select,.activity-select{width:100%;margin-bottom:4px;padding:4px;border-radius:4px}.shift-select{width:100%;padding:4px;border-radius:4px}.shift-selected-button{width:100%;margin-bottom:4px;line-height:1.25;font-size:13px}.shift-selected-button strong{font-size:inherit}.inactive-cell{background:#f3f3f3}.inactive-label{color:#666;font-size:12px;font-weight:600}.day-coverage-badge{margin-top:6px;display:inline-block;padding:2px 6px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2}.day-coverage-ok{color:#1b5e20;background:#e8f5e9}.day-coverage-warn{color:#7a4e00;background:#fff4d6}.day-coverage-error{color:#8a1c1c;background:#ffe2e2}.screen-only{display:inline-block}.print-only{display:none}.print-header{text-align:center;margin-bottom:15px}.print-header h2{margin:0;font-size:18px}.legend-inline{margin-top:14px;font-size:12px;text-align:center}.legend-item{margin-left:20px;white-space:nowrap}.inactive-row{opacity:.5;background:#f3f3f3!important}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.settings-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px}.settings-grid .settings-checkbox{flex-direction:row;align-items:center;gap:10px}.settings-sections{display:flex;flex-direction:column;gap:16px}.settings-section{border:1px solid #e2e6ea;border-radius:8px;padding:14px;background:#fafbfc}.settings-section h4{margin:0 0 12px;font-size:15px}.settings-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:0}.settings-section-header h4{margin:0}.settings-section-toggle{display:none;border:1px solid #d3dce8;background:#fff;color:#2f3e50;border-radius:8px;padding:6px 10px;cursor:pointer}.settings-section-body{display:block;margin-top:12px}.settings-desktop-table{display:block}.settings-mobile-cards{display:none}.settings-mobile-card{border:1px solid #ccd8e6;border-radius:12px;background:#f9fbff;padding:12px;box-shadow:0 4px 10px #0f172a14}.settings-mobile-card+.settings-mobile-card{margin-top:10px}.settings-mobile-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-12px -12px 10px;padding:8px 12px;border-bottom:1px solid #dbe5f0;border-top-left-radius:12px;border-top-right-radius:12px;background:linear-gradient(180deg,#eef4fb,#e8f0f9)}.settings-mobile-card-head strong{font-size:13px;color:#1f2d3d}.settings-mobile-card-head span{font-size:12px;color:#425466;border:1px solid #cfdbe8;border-radius:999px;padding:2px 8px;background:#fff}.settings-mobile-grid{display:grid;grid-template-columns:1fr;gap:8px}.settings-mobile-grid label{display:grid;gap:5px;font-size:12px;color:#2f3e50}.settings-mobile-grid input,.settings-mobile-grid select{width:100%;box-sizing:border-box}@media(min-width:901px){.settings-section-body{display:block!important}}.card-section{margin-top:16px;border:1px solid #e2e8f0;border-radius:10px;padding:12px;background:#fcfdff;display:flex;flex-direction:column;min-height:0}.card-section h4{margin:0 0 10px}.inline-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-bottom:12px}.home-shell{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0}.home-topline{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d9e4f0;border-radius:12px;background:linear-gradient(120deg,#fff,#f4f8ff 70%)}.home-topline h3{margin:0;color:#1d2a39}.home-topline span{color:#4f647b;font-size:16px;font-weight:700;line-height:1;display:inline-flex;align-items:center}.home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-areas:"today status" "today actions";gap:12px;flex:1 1 auto;min-height:0;grid-template-rows:minmax(0,1fr) auto}.home-grid-viewer{grid-template-columns:1fr;grid-template-areas:"status";grid-template-rows:minmax(0,1fr)}.home-grid-viewer .home-card-my-status{height:100%}.home-card{border:1px solid #dce5f1;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbff);padding:14px;display:flex;flex-direction:column;min-height:0;box-shadow:0 6px 14px #0f172a0f}.home-card h4,.home-card p{margin:0 0 8px}.home-status-head{margin-bottom:18px;display:grid;gap:10px;justify-items:center;text-align:center}.home-status-title-row{display:flex;align-items:flex-start;justify-content:center;gap:10px;flex-wrap:wrap}.home-status-title{margin:0!important;font-size:clamp(20px,.8vw + 16px,30px);line-height:1.15;color:#182434}.home-status-date{color:#5c7088;font-size:13px;font-weight:600;letter-spacing:.02em;margin:2px 0 0}.home-status-kind{display:inline-flex;width:fit-content;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.home-status-kind-work{background:#def4e4;color:#1b5e20}.home-status-kind-rest{background:#fff0cc;color:#7a4e00}.home-status-kind-inactive{background:#e7ecf3;color:#455263}.home-status-kind-unassigned{background:#ffdede;color:#8a1c1c}.home-status-card{border:1px solid #d8e2ee;border-radius:14px;background:#fff;padding:14px;display:grid;gap:8px}.home-status-body{margin-top:18px;display:flex;justify-content:center}.home-status-card-flat{border:0;background:transparent;padding:0}.home-status-card:not(.home-status-card-flat) strong{font-size:clamp(22px,1vw + 16px,34px);color:#1b2735;line-height:1.15}.home-status-card:not(.home-status-card-flat) span{font-size:14px;color:#566679}.home-status-cell{width:min(100%,380px);min-width:280px;max-width:100%;min-height:82px;padding:10px 14px;font-size:24px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.home-status-cell.shift-selected-button{width:min(100%,380px);min-width:280px;max-width:100%;min-height:82px;margin-bottom:0;padding:10px 14px;font-size:24px;border-radius:12px}.home-status-cell strong{font-size:inherit;line-height:1.1}.home-status-cell small{font-size:16px;line-height:1.2}.home-status-empty{border:1px dashed #cfdbe8;border-radius:12px;background:#f9fbff;color:#53657a;padding:14px;font-size:14px}.home-status-card-work{border-color:#cfe8d4;background:linear-gradient(180deg,#f8fff9,#eefaf1)}.home-status-card-rest{border-color:#f1e0b4;background:linear-gradient(180deg,#fffdf6,#fff6df)}.home-status-card-inactive{border-color:#d6deea;background:linear-gradient(180deg,#f7f9fc,#edf2f8)}.home-status-card-unassigned{border-color:#f1cccc;background:linear-gradient(180deg,#fff8f8,#ffecec)}.home-status-card-flat,.home-status-card-flat.home-status-card-work,.home-status-card-flat.home-status-card-rest,.home-status-card-flat.home-status-card-inactive,.home-status-card-flat.home-status-card-unassigned{border:0;background:transparent;box-shadow:none;padding:0;margin-top:0}.home-badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.home-badge-ok{color:#1b5e20;background:#e8f5e9}.home-badge-warn{color:#7a4e00;background:#fff4d6}.home-badge-error{color:#8a1c1c;background:#ffe2e2}.home-actions{display:grid;gap:8px}.home-card-wide{grid-column:1 / -1}.home-card-today{grid-area:today;height:100%}.home-card-actions{grid-area:actions}.home-card-my-status{grid-area:status}.home-roster-summary{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.home-pill{display:inline-block;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700}.home-pill-work{background:#e8f5e9;color:#1b5e20}.home-pill-rest{background:#fff4d6;color:#7a4e00}.home-pill-inactive{background:#eceff4;color:#455263}.home-pill-unassigned{background:#ffe2e2;color:#8a1c1c}.home-roster-list{display:grid;gap:6px;max-height:none;overflow:visible;padding-right:0;align-content:start}.home-roster-list-today{margin-top:8px;max-height:none;display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-height:0;grid-template-columns:1fr}.home-roster-list-today .home-roster-item{flex:1 1 0;min-height:0;padding:4px 8px;font-size:13px}.home-roster-list-today .home-roster-item strong,.home-roster-list-today .home-roster-item .home-roster-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-roster-item{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e1e7ef;border-radius:8px;background:#fff;padding:7px 9px;font-size:14px}.home-roster-status{font-size:13px;font-weight:600}.home-roster-status-badge{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:6px;padding:4px 8px;font-weight:700;line-height:1.2}.home-roster-status-work{color:#1b5e20}.home-roster-status-rest{color:#7a4e00}.home-roster-status-inactive{color:#455263}.home-roster-status-unassigned{color:#8a1c1c}.employee-add-shell{margin-bottom:16px}.employee-add-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.employee-add-header h4{margin:0;font-size:15px}.employee-add-toggle{display:none;border:1px solid #d3dce8;background:#fff;color:#2f3e50;border-radius:8px;padding:6px 10px;cursor:pointer}.employee-add-card{padding:12px;border:1px solid #dde5ee;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#f3f7fd)}.employee-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.employee-add-field{display:flex;flex-direction:column;align-items:stretch;gap:6px}.employee-add-field label{display:block;margin:0;font-size:12px;font-weight:600;color:#2f3e50;line-height:1.2;text-align:left}.employee-add-field input,.employee-add-field select{width:100%;box-sizing:border-box;margin:0}.employee-add-actions{margin-top:10px;display:flex;justify-content:flex-end}@media(max-width:900px){.app-container{flex-direction:column;height:100dvh}.sidebar{width:100%;height:auto;position:static;top:auto;padding:12px 12px 8px;border-bottom:1px solid rgba(255,255,255,.15);overflow:visible}.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar h3{margin:0;font-size:clamp(16px,2.4vw,18px)}.sidebar-brand{max-width:150px;margin:0}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:36px;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:#ffffff14;color:#fff;font-size:clamp(16px,2.4vw,18px);padding:0}.sidebar-menu{display:none;margin-top:10px}.sidebar-menu.open{display:flex;flex-direction:column}.sidebar button{display:inline-block;width:auto;margin-right:6px;margin-bottom:6px;padding:8px 10px;font-size:clamp(12px,2vw,14px)}.sidebar-footer{margin-top:auto;padding-top:8px;display:block;border-top:1px solid rgba(255,255,255,.16)}.sidebar-user{margin-bottom:6px}.content,.content.content-schedule,.content.content-data{height:auto;min-height:0;padding:12px;overflow:auto}.content.content-planning{height:auto;overflow:auto}.card,.data-card,.schedule-card{padding:12px;border-radius:8px}.data-card{height:auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}.home-grid{flex:0 0 auto;grid-template-columns:1fr;grid-template-areas:none;grid-template-rows:auto;grid-auto-rows:auto}.home-card-today{grid-column:auto;grid-row:auto;height:auto}.home-card-actions{grid-column:auto;grid-row:auto}.home-card-my-status{grid-area:auto}.home-roster-list-today{display:grid;gap:8px;flex:0 0 auto;grid-template-columns:1fr}.home-roster-list-today .home-roster-item{flex:0 0 auto;padding:7px 9px;font-size:14px}.schedule-toolbar{flex-direction:column;align-items:stretch;gap:10px}.schedule-nav,.schedule-actions,.schedule-period-inputs{flex-wrap:wrap}.schedule-nav{flex-wrap:nowrap;overflow:hidden;white-space:nowrap;min-width:0}.schedule-range-label{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-size:clamp(11px,1.8vw,13px)}.schedule-nav button{flex:0 0 auto;padding:6px 8px;font-size:clamp(11px,1.8vw,13px)}.schedule-table .absence-cell{display:block;width:100%;box-sizing:border-box;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.schedule-actions .primary{width:100%;min-height:36px;padding:8px 10px;font-size:clamp(11px,1.8vw,13px)}.schedule-print-button{display:none}.table-section,.schedule-table-section{padding:8px}.settings-section{padding:10px}.settings-section-toggle{display:inline-flex;align-items:center;justify-content:center}.settings-section-body{display:none;margin-top:10px}.settings-section-body.open{display:block}.settings-desktop-table{display:none}.settings-mobile-cards{display:block;max-height:min(38vh,320px);overflow:auto;padding:2px 2px 8px}.employee-add-card{padding:10px}.employee-add-toggle{display:inline-flex;align-items:center;justify-content:center}.employee-add-card.collapsed{display:none}.employee-add-grid{grid-template-columns:1fr;gap:8px}.employee-add-actions .primary{width:100%}.employees-desktop-table{display:none}.employees-mobile-accordion{display:block;max-height:min(56vh,560px);overflow:auto;padding-right:2px}.planning-card{display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 140px);min-height:min-content;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-right:2px}.planning-card .card-section{margin-top:0;padding:10px;flex:0 0 auto}.planning-card .inline-form{grid-template-columns:1fr;gap:8px;margin-bottom:10px}.planning-card .inline-form input,.planning-card .inline-form select,.planning-card .inline-form button{width:100%;margin:0;box-sizing:border-box}.planning-card .table-section.table-section-fill{flex:0 0 auto;min-height:auto}.planning-card .table-scroll{max-height:min(38vh,320px)}.planning-desktop-table{display:none}.planning-mobile-cards{display:block;max-height:min(34vh,300px);overflow:auto;padding-right:2px}.shift-add-card{padding:10px}.shift-add-grid{grid-template-columns:1fr;gap:8px}.shift-add-actions .primary{width:100%}.shifts-desktop-table{display:none}.shifts-mobile-cards{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;padding:2px 2px 8px}.shifts-mobile-grid{grid-template-columns:1fr}.absence-type-add-card{padding:10px}.absence-type-add-grid{grid-template-columns:1fr;gap:8px}.absence-type-add-actions .primary{width:100%}.absences-desktop-table{display:none}.absences-mobile-cards{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;padding:2px 2px 8px}.absences-mobile-grid{grid-template-columns:1fr}.schedule-bulk-float-wrap{display:block;margin-top:0;position:relative}.schedule-bulk-mobile-trigger{display:flex;margin-top:0}.schedule-bulk-mobile-trigger .primary{width:100%;min-height:36px;padding:8px 12px;font-size:clamp(11px,1.8vw,13px)}.schedule-bulk-float-panel{left:auto;right:0;width:min(92vw,360px)}.schedule-bulk-actions,.schedule-employee-jump.screen-only{display:none}.table-scroll{max-height:min(52vh,520px)}th,td{font-size:clamp(11px,1.8vw,12px);padding:4px}.schedule-table th:first-child,.schedule-table td:first-child{width:92px}.schedule-scroll .schedule-table th:not(:first-child),.schedule-scroll .schedule-table td:not(:first-child){min-width:112px}.schedule-scroll{overflow-x:auto}.schedule-scroll .schedule-table{table-layout:fixed;width:calc(92px + (112px * var(--employees-count, 1)));min-width:calc(92px + (112px * var(--employees-count, 1)))}.schedule-scroll .schedule-table th:not(:first-child),.schedule-scroll .schedule-table td:not(:first-child){width:112px;min-width:112px;max-width:112px;overflow:hidden;text-overflow:ellipsis}.schedule-scroll .schedule-table th:not(:first-child){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.schedule-table .date-cell strong{white-space:nowrap}.schedule-jump-chip{font-size:clamp(10px,1.6vw,11px);padding:4px 9px;min-height:28px}}@media(max-width:900px)and (hover:none)and (pointer:coarse){.schedule-employee-jump.screen-only{display:flex}}@media(max-width:600px){.content,.content.content-schedule,.content.content-data{padding:10px}.schedule-nav{gap:6px}.schedule-nav button{padding:5px 7px;font-size:clamp(10px,2.8vw,12px)}.schedule-range-label{font-size:clamp(10px,2.9vw,12px)}th,td{font-size:clamp(10px,2.8vw,11px);padding:3px}.schedule-jump-chip{font-size:clamp(9px,2.5vw,10px);padding:4px 8px;min-height:26px}}@media print{@page portraitPage{size:A4 portrait;margin:8mm}@page landscapePage{size:A4 landscape;margin:8mm}html,body{width:100%;height:100%;margin:0;padding:0;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body *{visibility:hidden}.print-area,.print-area *{visibility:visible;font-family:Times New Roman,Times,serif!important}.print-area{position:absolute;left:0;top:0;width:100%}.print-area.print-portrait{page:portraitPage}.print-area.print-landscape{page:landscapePage}.print-area table,.print-area thead,.print-area tbody,.print-area tr,.print-area th,.print-area td{background:#fff!important;border-radius:0!important;box-shadow:none!important}.print-area table{width:100%;table-layout:fixed;height:calc(100vh - 40mm);border-collapse:collapse!important;border:none!important}.schedule-scroll{max-height:none;height:auto;overflow:visible}.print-area .schedule-table-section,.print-area .schedule-scroll{background:#fff!important;border:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important}.print-area .schedule-table th:first-child,.print-area .schedule-table td:first-child{width:11ch!important;min-width:11ch!important;white-space:nowrap}.schedule-scroll .schedule-table thead{display:table-header-group!important}.print-area th,.print-area td{border:1px solid black!important;padding:4px!important;font-size:var(--print-font-size, 12px)!important;color:#000!important;text-align:center;vertical-align:middle;page-break-inside:avoid;break-inside:avoid}.print-area.print-auto-scale th,.print-area.print-auto-scale td{font-size:clamp(10px,1.2vw,16px)!important}.print-area.print-auto-scale tbody{height:100%}.print-area.print-auto-scale tbody tr{height:calc(100% / var(--days-count))}.print-area.print-fixed-scale tbody,.print-area.print-fixed-scale tbody tr{height:auto}.print-area tbody tr+tr{border-top:none!important}.print-area.print-auto-scale thead th{font-size:clamp(12px,1.6vw,20px)!important}.print-area tr{page-break-inside:avoid!important;break-inside:avoid!important}.print-area.print-auto-scale tbody td{font-size:clamp(12px,1.6vw,20px)!important}.print-area tr:nth-child(2n),.print-area tr:hover{background:#fff!important}.sidebar,.screen-only,.absence-select,button{display:none!important}.print-only{display:block!important}.print-area.print-no-colors .absence-cell{background:none!important;color:#000!important;border-radius:0!important;padding:0!important;cursor:default!important;transition:none!important}.print-area.print-with-colors .absence-cell{border-radius:0!important;cursor:default!important;transition:none!important}.print-area.print-hide-inactive .employee-inactive{display:none!important}.print-header{text-align:center;margin-bottom:10px}.print-header h2{margin:0;font-size:20px;font-weight:700}.legend-inline{margin-top:8px;font-size:11px;text-align:center}.legend-item{margin:0 8px}}
