: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;width:100%;max-width:100%;overflow-x:hidden}button,a,input,select,textarea,[role=button]{touch-action:manipulation}.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-x:hidden;overflow-y:auto;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;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding-right:4px}@media(min-width:901px){.mobile-menu-toggle{display:none!important}.sidebar-menu{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0}}.sidebar button{display:block;width:100%;margin-bottom:6px;padding:8px 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:8px;border-top:1px solid rgba(255,255,255,.16);position:sticky;bottom:0;background:linear-gradient(180deg,#1e1e2f33,#1e1e2f 24%);z-index:2}.sidebar-user{display:block;width:100%;box-sizing:border-box;margin-bottom:8px;padding:8px 10px;border-radius:6px;background:#ffffff14;font-size:12px;opacity:.95;color:#fffffff2}.sidebar-user-name{display:block;font-weight:600}.sidebar-user-role,.sidebar-user-position{display:block;margin-top:2px;opacity:.9}@media(max-height:820px)and (min-width:901px){.sidebar{padding:14px 14px 8px}.sidebar-brand{max-width:156px;margin:0 0 12px}.sidebar button{margin-bottom:4px;padding:7px 8px;font-size:13px}.sidebar-footer{padding-top:6px}.sidebar-user{margin-bottom:6px;padding:7px 8px;font-size:11px}}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:#f5f6fa}.auth-card{width:min(100%,380px);min-width:0;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}.sidebar-brand,.auth-brand img{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.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%;min-width:0}.auth-form label{display:grid;gap:6px;font-size:13px;color:#2f3e50;min-width:0}.auth-form input{width:100%;max-width:100%;min-width:0;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}@media(max-width:900px){.auth-shell{height:100dvh;min-height:100dvh;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow:hidden;box-sizing:border-box;width:100%;max-width:100%}.auth-card{width:100%;max-width:420px;max-height:calc(100dvh - 20px);overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box}.auth-form input{font-size:16px}}.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}.content.content-data.content-settings{overflow-y:auto;overflow-x:hidden;align-items:stretch;-webkit-overflow-scrolling:touch}.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}.profile-card{overflow:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;max-width:720px}.profile-card-header{flex:0 0 auto;padding-bottom:0}.profile-card-header h3{margin:0 0 12px}.profile-tabbar{display:flex;flex:0 0 auto;gap:4px;border-bottom:1px solid #dbe4ef;overflow-x:auto;padding-bottom:0;margin-bottom:0}.profile-tabbar button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:0;padding:8px 14px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#425466;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}.profile-tabbar button:hover{background:#eef4fb;color:#1f2d3d}.profile-tabbar button.active{border-color:#dbe4ef;background:#fff;color:#1f6feb;box-shadow:0 -1px #fff inset,0 2px #fff}.profile-tab-badge{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:2px}.profile-tab-badge-active{background:#2563eb;animation:profile-badge-pulse 1.4s ease-in-out infinite}@keyframes profile-badge-pulse{0%,to{opacity:1}50%{opacity:.35}}.profile-tab-panel{flex:1 1 auto;display:flex;flex-direction:column;gap:14px;padding-top:16px}.profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.profile-google-connect{display:flex;flex-direction:column;gap:10px}.google-sync-status{display:flex;flex-direction:column;gap:8px}.google-sync-progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.google-sync-bar{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.google-sync-bar-fill{height:100%;background:#2563eb;transition:width .3s ease}@media(max-width:600px){.profile-card{max-width:100%}.profile-tabbar button{padding:8px 10px;font-size:13px}}.planning-card{display:grid;grid-template-rows:auto auto auto 1fr;gap:12px}.planning-card .card-section{margin-top:0;min-height:0;display:flex;flex-direction:column}.planning-period-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 10px;border:1px solid #d7e3f0;border-radius:10px;background:#f8fbff}.planning-period-picker{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:min(420px,100%);flex-wrap:wrap}.planning-period-picker label{color:#2f3e50;font-size:13px;font-weight:700}.planning-period-picker select{min-width:min(360px,100%);min-height:36px;padding:0 10px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:#1f2d3d;font-weight:600}.planning-active-period-button{flex:0 0 auto;min-height:36px;border:1px solid #8fb0d6;border-radius:8px;background:linear-gradient(180deg,#fff,#edf4fb);color:#1d324a;font-weight:700;padding:0 12px;cursor:pointer}.planning-active-period-button:hover:not(:disabled){background:#eef4fb}.planning-active-period-button:disabled{opacity:.55;cursor:not-allowed}.planning-tabbar{display:flex;flex:0 0 auto;gap:6px;border-bottom:1px solid #dbe4ef;overflow-x:auto;padding-bottom:0}.planning-tabbar button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:0;padding:8px 12px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#425466;font-weight:700;cursor:pointer;white-space:nowrap}.planning-tabbar button:hover{background:#eef4fb;color:#1f2d3d}.planning-tabbar button.active{border-color:#dbe4ef;background:#fff;color:#1f6feb;box-shadow:0 -1px #fff inset,0 2px #fff}.planning-tabbar button span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:22px;padding:2px 7px;border-radius:999px;background:#edf3fa;color:#52677f;font-size:12px;line-height:1}.planning-tabbar button.active span{background:#e7f0ff;color:#1f6feb}.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}.planning-form-error{color:#b42318;font-size:.86rem;font-weight:600}.shift-add-shell{margin-bottom:14px}.shift-add-card{padding:8px 10px;border:1px solid #dde5ee;border-radius:10px;background:linear-gradient(180deg,#f9fbff,#f3f7fd)}.shift-add-card-compact{width:100%;max-width:none}.shift-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;align-items:end}.shift-add-grid-main{grid-template-columns:minmax(160px,1.1fr) minmax(140px,.9fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(100px,.6fr)}.shift-add-field{display:flex;flex-direction:column;gap:4px}.shift-add-field label{margin:0;font-size:11px;font-weight:600;color:#2f3e50;line-height:1.2}.shift-add-field-full{grid-column:1 / -1}.shift-add-extra-list{display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(140px,.9fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(100px,.6fr);gap:4px}.shift-add-extra-item{display:grid;gap:2px;grid-column:3 / 6}.shift-add-extra-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(120px,.8fr) minmax(160px,1fr) minmax(100px,.6fr);gap:6px;align-items:center}.shift-add-extra-remove{justify-self:stretch}.shift-add-extra-add{justify-self:start;grid-column:3 / 5}.shift-add-field input,.shift-add-field select{width:100%;box-sizing:border-box;margin:0;min-height:30px;padding:4px 6px;font-size:12px}.shift-add-color-field input[type=color]{min-height:32px;padding:2px}.shift-add-actions{margin-top:4px;display:flex;justify-content:flex-end;gap:8px}.shift-add-extra-row .shift-add-field{gap:0}.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{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;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:minmax(0,1fr) minmax(0,1fr);gap:8px}.shifts-mobile-grid label{display:grid;gap:5px;font-size:12px;color:#2f3e50;min-width:0}.shifts-mobile-grid input,.shifts-mobile-grid select{width:100%;box-sizing:border-box;min-width:0}.shifts-mobile-grid input[type=color]{min-height:34px;padding:2px}.shifts-mobile-grid input[type=time],.shift-extra-row input[type=time]{-webkit-appearance:none;appearance:none}.shifts-mobile-roles{margin-top:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;font-size:12px}.shifts-mobile-roles>strong{grid-column:1 / -1;color:#2f3e50}.shifts-mobile-roles label{display:flex;align-items:center;gap:6px;min-height:30px;box-sizing:border-box;border:1px solid #d8e3ef;border-radius:8px;background:#fff;padding:5px 7px}.shifts-mobile-roles input{margin:0}.shifts-mobile-actions{margin-top:10px}.shift-extra-segments{margin-top:10px;display:grid;gap:8px}.shift-extra-segments strong{font-size:12px;color:#2f3e50}.shift-extra-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center}.shift-extra-row select{grid-column:1 / -1}.shift-extra-row input,.shift-extra-row select{width:100%;box-sizing:border-box}.shift-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}.shift-extra-desktop-row td{background:#f8fbff}.shift-extra-desktop-row td:last-child{text-align:center}.shift-tab-btn{white-space:nowrap}.shifts-mobile-actions .shift-tab-btn{width:100%}.shift-mobile-extra-remove{grid-column:1 / -1;width:100%;margin-top:4px}.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}.locations-card{display:flex;flex-direction:column}.location-add-card{margin-bottom:20px;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:end;gap:10px}.location-add-field{display:grid;gap:6px}.location-add-field label{margin:0;font-size:12px;font-weight:600;color:#2f3e50}.location-add-field input{width:100%;box-sizing:border-box;margin:0}.location-default-toggle{min-height:36px;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#2f3e50}.location-add-button{min-height:36px}.locations-desktop-table{display:block}.locations-mobile-cards{display:none}.locations-mobile-card{border:1px solid #ccd8e6;border-radius:12px;background:#f9fbff;padding:12px;box-shadow:0 4px 10px #0f172a14}.locations-mobile-card+.locations-mobile-card{margin-top:12px}.locations-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)}.locations-mobile-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#1f2d3d}.locations-mobile-card-head span{flex:0 0 auto;font-size:12px;font-weight:700;color:#24513a;border:1px solid #badbc8;border-radius:999px;padding:2px 8px;background:#f1fff6}.locations-mobile-grid{display:grid;gap:8px}.locations-mobile-card label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#2f3e50}.locations-mobile-card input{width:100%;box-sizing:border-box;font-weight:400}.locations-mobile-default{min-height:34px;display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important}.locations-mobile-default input{width:auto}.locations-mobile-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}.statistics-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.statistics-header h3{margin:0}.statistics-period-caption{margin:4px 0 0;font-size:12px;color:#556273}.statistics-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:10px}.statistics-filter-grid label{display:grid;gap:6px;font-size:12px;color:#2f3e50}.statistics-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:10px}.statistics-summary-card{border:1px solid #dbe5f0;border-radius:10px;background:linear-gradient(180deg,#f8fbff,#edf4fd);padding:10px;display:grid;gap:4px}.statistics-summary-card strong{font-size:20px;line-height:1.1;color:#1e2c3d}.statistics-summary-label{font-size:12px;color:#4f5f71}.statistics-desktop-table{display:block}.statistics-table{min-width:980px}.statistics-table th:first-child,.statistics-table td:first-child{width:180px;text-align:left}.statistics-table th:last-child,.statistics-table td:last-child{width:72px}.statistics-tag-list{display:flex;flex-wrap:wrap;gap:6px}.statistics-tag{--statistics-tag-color: #4caf50;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--statistics-tag-color);background:var(--statistics-tag-color);border-radius:999px;padding:3px 8px;font-size:12px;line-height:1.2;font-weight:600;white-space:nowrap}.statistics-tag-absence{--statistics-tag-color: #ff9800}.statistics-mobile-cards{display:none}.statistics-mobile-card{border:1px solid #d6e0ed;border-radius:12px;background:#f8fbff;padding:12px;box-shadow:0 4px 10px #0f172a12}.statistics-mobile-card+.statistics-mobile-card{margin-top:10px}.statistics-mobile-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)}.statistics-mobile-head strong{font-size:13px;color:#1f2d3d}.statistics-mobile-head span{font-size:12px;color:#425466;border:1px solid #cfdbe8;border-radius:999px;padding:2px 8px;background:#fff}.statistics-mobile-section+.statistics-mobile-section{margin-top:10px}.statistics-mobile-section h5{margin:0 0 6px;font-size:12px;color:#2f3e50}.admin-requests-desktop-table,.admin-users-desktop-table,.admin-visits-desktop-table,.admin-actions-desktop-table{display:block}.admin-visits-desktop-table table{table-layout:fixed}.admin-visits-desktop-table th:nth-child(2),.admin-visits-desktop-table td:nth-child(2){width:142px;max-width:142px}.admin-ip-cell{max-width:142px;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}.admin-card{gap:12px}.admin-actions-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.admin-actions-header h3{margin:0;text-align:left}.admin-action-filter{display:grid;gap:5px;min-width:240px;font-size:12px;font-weight:700;color:#2f3e50}.admin-action-filter span{line-height:1.2}.admin-action-filter-menu{position:relative}.admin-action-filter-menu summary{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;border:1px solid #cfdbe8;border-radius:8px;background:#fff;color:#1f2d3d;padding:7px 10px;cursor:pointer;list-style:none}.admin-action-filter-menu summary::-webkit-details-marker{display:none}.admin-action-filter-menu summary:after{content:"▾";color:#607086;font-size:11px}.admin-action-filter-menu[open] summary:after{content:"▴"}.admin-action-filter-menu[open]{z-index:20}.admin-action-filter-menu[open] summary{border-bottom-left-radius:0;border-bottom-right-radius:0}.admin-action-filter-options{display:none}.admin-action-filter-menu[open] .admin-action-filter-options{display:grid;position:absolute;top:100%;left:0;right:0;z-index:30;max-height:min(320px,52vh);overflow-y:auto;border-bottom-left-radius:8px;border-bottom-right-radius:8px;box-shadow:0 8px 18px #0f172a1f}.admin-action-filter-clear,.admin-action-filter-option{width:100%;align-items:center;gap:8px;box-sizing:border-box;border:1px solid #d8e3ef;border-top:0;background:#fff;color:#2f3e50;padding:8px 10px;font-size:12px;font-weight:700}.admin-action-filter-clear{cursor:pointer;text-align:left;display:flex}.admin-action-filter-option{cursor:pointer;display:flex}.admin-action-filter-option input{width:auto;margin:0}.admin-tabbar{display:flex;flex:0 0 auto;gap:6px;border-bottom:1px solid #dbe4ef;overflow-x:auto;padding-bottom:0}.admin-tabbar button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:0;padding:8px 12px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#425466;font-weight:700;cursor:pointer;white-space:nowrap}.admin-tabbar button:hover{background:#eef4fb;color:#1f2d3d}.admin-tabbar button.active{border-color:#dbe4ef;background:#fff;color:#1f6feb;box-shadow:0 -1px #fff inset,0 2px #fff}.admin-tabbar button span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:22px;padding:2px 7px;border-radius:999px;background:#edf3fa;color:#52677f;font-size:12px;line-height:1}.admin-tabbar button.active span{background:#e7f0ff;color:#1f6feb}.admin-tab-panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.admin-tab-panel h3{flex:0 0 auto}.admin-row-actions{display:flex;gap:8px}.admin-details-button{border:1px solid #cfdbe8;border-radius:8px;background:#fff;color:#1f6feb;font-weight:700;cursor:pointer;padding:4px 8px;font-size:12px;white-space:nowrap}.admin-details-button:hover{background:#eef4fb}.admin-action-details-panel{flex:0 0 auto;margin-top:6px;border:1px solid #d6e0ed;border-radius:8px;background:#f8fbff;box-shadow:0 2px 6px #0f172a0f}.admin-action-details-panel.inline{margin:4px 0}.admin-action-details-row>td{padding:0 8px 8px;background:#fbfdff}.admin-action-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid #dbe5f0;background:#eef4fb;border-top-left-radius:8px;border-top-right-radius:8px}.admin-action-details-head h4{margin:0 0 5px;color:#1f2d3d;font-size:13px;text-align:left}.admin-action-details-body{padding:8px 10px 10px}.admin-action-detail-summary{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:0}.admin-action-detail-summary span{border:1px solid #d6e0ed;border-radius:999px;background:#f7fbff;color:#425466;font-size:11px;padding:2px 7px}.admin-action-detail-grid{display:grid;gap:4px}.admin-action-detail-grid.nested{padding:6px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fbff}.admin-action-detail-row{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);gap:8px;align-items:start;padding:5px 0;border-bottom:1px solid #edf2f7}.admin-action-detail-row:last-child{border-bottom:0}.admin-action-detail-row strong{color:#2f3e50;font-size:12px}.admin-action-detail-value{min-width:0;color:#1f2d3d;font-size:12px;overflow-wrap:anywhere}.admin-action-detail-list{display:grid;gap:5px}.admin-action-detail-nested{min-width:0}.admin-action-detail-empty{margin:0;color:#52677f}.admin-mobile-cards{display:none}.admin-mobile-card{border:1px solid #d6e0ed;border-radius:12px;background:#f8fbff;padding:12px;box-shadow:0 4px 10px #0f172a12}.admin-mobile-card+.admin-mobile-card{margin-top:10px}.admin-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)}.admin-mobile-card-head strong{font-size:13px;color:#1f2d3d}.admin-mobile-card-head span{font-size:12px;color:#425466;border:1px solid #cfdbe8;border-radius:999px;padding:2px 8px;background:#fff}.admin-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.admin-mobile-field{display:grid;gap:5px;font-size:12px;color:#2f3e50}.admin-mobile-field strong{font-size:12px;color:#2f3e50}.admin-mobile-field span{overflow-wrap:anywhere}.admin-mobile-field select{width:100%;box-sizing:border-box}.admin-mobile-actions{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}.admin-mobile-empty-action{color:#6b7b8d;font-size:12px}.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}.planning-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}.planning-mobile-actions .shift-tab-btn{width:100%}.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;flex-wrap:nowrap;gap:12px;min-height:44px}.schedule-nav{display:grid;grid-template-columns:auto auto auto;justify-content:center;align-items:center;gap:10px;min-height:44px;flex:0 1 auto;min-width:0}.schedule-nav button{min-height:40px;min-width:118px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #8fb0d6;border-radius:12px;background:linear-gradient(180deg,#fff,#e4eef9);color:#1d324a;font-weight:600;padding:0 12px;box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f;transition:none}.schedule-nav button:hover:not(:disabled){border-color:#8fb0d6;background:linear-gradient(180deg,#fff,#e4eef9);box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f}.schedule-nav button:active:not(:disabled){border-color:#8fb0d6;background:linear-gradient(180deg,#fff,#e4eef9);box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f}.schedule-nav button:disabled{opacity:.5;border-color:#c7d4e2;background:linear-gradient(180deg,#f9fbfd,#eef3f8);color:#6a7a8e;cursor:not-allowed;transform:none;box-shadow:none}.schedule-nav-label-short{display:none}.schedule-range-label{font-weight:600;font-size:clamp(12px,.95vw,14px);display:flex;align-items:center;justify-content:center;width:clamp(260px,28vw,420px);min-height:40px;line-height:1.1;padding:0 4px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-actions{display:flex;gap:8px;align-items:center;min-height:44px;flex-wrap:nowrap;justify-content:flex-end;margin-left:auto}.schedule-publish-controls{display:inline-flex;align-items:center;gap:8px;margin-left:auto}.schedule-incomplete-modal-backdrop{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:18px;background:#0f172a6b}.schedule-incomplete-modal{width:min(100%,520px);max-height:min(640px,calc(100dvh - 36px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #d6e0ed;border-radius:10px;background:#fff;box-shadow:0 18px 44px #0f172a3d}.schedule-incomplete-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e1e8f0;background:#f8fbff}.schedule-incomplete-modal-head h4{margin:0;font-size:16px;color:#1f2d3d}.schedule-incomplete-close{width:32px;height:32px;border:1px solid #ccd8e6;border-radius:8px;background:#fff;color:#425466;cursor:pointer}.schedule-incomplete-modal-body{min-height:0;overflow:auto;padding:14px 16px}.schedule-incomplete-modal-body p{margin:0 0 12px;color:#2f3e50}.schedule-incomplete-list{display:grid;gap:6px}.schedule-incomplete-list div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:7px 9px;border:1px solid #dbe5f0;border-radius:8px;background:#f9fbff;color:#2f3e50}.schedule-incomplete-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-incomplete-list strong{flex:0 0 auto;color:#1f2d3d}.schedule-incomplete-more{margin:12px 0 0!important;font-size:13px;color:#607086!important}.schedule-incomplete-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e1e8f0;background:#fff}.schedule-incomplete-actions button:not(.primary){border:1px solid #d3dce8;border-radius:8px;padding:6px 10px;background:#fff;color:#2f3e50;cursor:pointer}.schedule-incomplete-actions button:not(.primary):hover:not(:disabled){background:#f5f8fc}.schedule-publish-chip{display:inline-flex;align-items:center;font-size:12px;color:#30465f;background:#eef5ff;border:1px solid #d3e2f3;border-radius:999px;padding:5px 10px;line-height:1.2;white-space:nowrap}.schedule-publish-chip strong{margin:0 2px}.schedule-meta-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-top:6px;min-width:0}.schedule-publication-diff-panel{margin-top:8px;border:1px solid #d5e0ee;border-radius:10px;background:#f8fbff;padding:10px;width:min(760px,100%);max-height:280px;overflow:auto}.schedule-publication-diff-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.schedule-publication-diff-group+.schedule-publication-diff-group{margin-top:8px}.schedule-publication-diff-title{font-size:12px;font-weight:700;color:#2b3b4f;margin-bottom:4px}.schedule-publication-diff-group ul{margin:0;padding-left:18px}.schedule-publication-diff-group li{font-size:12px;line-height:1.35}.schedule-publication-diff-empty{font-size:12px;color:#2f6c3a}.schedule-publication-info{margin-top:8px;font-size:12px;color:#425466}.schedule-publish-banner{margin-top:8px;margin-bottom:8px;border:1px solid #cfe0f3;border-radius:10px;background:linear-gradient(180deg,#f5faff,#eef6ff);padding:9px 11px;width:fit-content;max-width:min(560px,100%)}.schedule-toolbar-right-info{display:flex;justify-content:flex-end;width:auto;margin-top:0;min-width:0;flex:0 1 auto;margin-left:auto}.schedule-mobile-edit-toggle{border-color:#9fb3ca;background:#e8f0fa;color:#1d324a}.schedule-mobile-edit-toggle.is-active{border-color:#3f8f48;background:#4caf50;color:#fff}.schedule-toolbar-right-info .schedule-publish-banner{margin-left:auto}.schedule-publish-banner-main{font-size:13px;color:#1f2d3d}.schedule-publish-banner-hint{margin-top:4px;font-size:12px;color:#35506e}.schedule-publish-banner-hint.pending{color:#8a4f00;background:#fff3db;border:1px solid #f3d29b;border-radius:7px;padding:4px 6px}.schedule-publish-banner-hint.clean{color:#2f6c3a}.schedule-active-period-chip{margin-top:0;font-size:12px;color:#30465f;background:#eef5ff;border:1px solid #d3e2f3;border-radius:999px;padding:5px 10px;width:fit-content;max-width:100%}.schedule-active-period-link{cursor:pointer;transition:background .2s ease,border-color .2s ease}.schedule-active-period-link:hover{background:#e2eeff;border-color:#b7cde8}.schedule-period-days-inline{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;border-radius:8px;border:1px solid #d8e1ec;background:#f4f7fb;color:#30465f;font-size:12px;white-space:nowrap}.schedule-notice-banner{margin-top:6px}.schedule-card.schedule-card-focus .schedule-period-inputs,.schedule-card.schedule-card-focus .schedule-toolbar,.schedule-card.schedule-card-focus .schedule-print-picker-wrap,.schedule-card.schedule-card-focus .schedule-import-picker-wrap,.schedule-card.schedule-card-focus .schedule-publish-chip,.schedule-card.schedule-card-focus .schedule-publish-controls,.schedule-card.schedule-card-focus .schedule-undo-button,.schedule-card.schedule-card-focus .schedule-bulk-float-wrap,.schedule-card.schedule-card-focus .schedule-active-period-chip,.schedule-card.schedule-card-focus .schedule-notice-banner,.schedule-card.schedule-card-focus .schedule-bulk-actions,.schedule-card.schedule-card-focus .schedule-publication-diff-panel{display:none!important}.schedule-card.schedule-card-focus .schedule-header{margin-bottom:0}.schedule-card.schedule-card-focus .schedule-actions{margin-left:auto;gap:6px;min-height:auto}.schedule-card.schedule-card-focus .schedule-table-section{padding:4px;border-color:#d8dee6;background:#fff}.schedule-table-print{display:none}.schedule-print-picker-wrap,.schedule-import-picker-wrap{position:relative;display:inline-flex}.print-employee-picker{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:min(560px,92vw);border:1px solid #d9e2ec;border-radius:12px;background:linear-gradient(180deg,#f9fbff,#f1f6fd);box-shadow:0 14px 30px #0f172a2e;padding:12px}.schedule-import-picker{position:absolute;top:calc(100% + 8px);right:-120px;z-index:60;width:min(820px,95vw);border:1px solid #d9e2ec;border-radius:12px;background:linear-gradient(180deg,#f9fbff,#f1f6fd);box-shadow:0 14px 30px #0f172a2e;padding:12px}@media(max-width:1400px){.schedule-import-picker{right:0}}.schedule-import-tools{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}.schedule-import-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.schedule-import-file-name,.schedule-import-hint{margin-bottom:8px;font-size:12px;color:#425466}.schedule-import-preview{max-height:min(42vh,320px);overflow:auto;border:1px solid #d7e1ee;border-radius:10px;background:#fff}.schedule-import-preview table{border:none}.schedule-import-preview th,.schedule-import-preview td{font-size:12px;text-align:left;vertical-align:top}.import-ok{color:#166534;font-weight:700}.import-error{color:#b42318;font-weight:600}.print-employee-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.print-employee-picker-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}.print-picker-link{border:1px solid #cfd9e5;background:#fff;color:#2f3e50;border-radius:8px;padding:4px 10px;cursor:pointer}.print-picker-count{margin-left:auto;font-size:12px;color:#425466}.print-employee-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;max-height:min(36vh,280px);overflow:auto;padding:4px 2px}.print-employee-item{display:flex;align-items:center;gap:8px;border:1px solid #d7e1ee;border-radius:10px;background:#fff;padding:7px 9px;color:#1f2d3d}.print-employee-item input{margin:0}.print-employee-picker-actions{margin-top:10px;display:flex;justify-content:flex-end}.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:not(:disabled){background:#43a047}button.primary:disabled{background:#cfd8cf;color:#6d776d;cursor:not-allowed;box-shadow:none;opacity:1}table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #d6d6d6;border-radius:6px;overflow:hidden;background:#fff}.schedule-table colgroup{display:none}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}.schedule-table .date-cell strong{display:block;line-height:1.15}.schedule-table .date-weekday{margin-top:2px;font-size:11px;line-height:1.1;color:#5b6673;white-space:nowrap}.schedule-table .date-cell .day-coverage-badge{display:block;width:fit-content;margin:4px auto 0}.schedule-table tr.today-row td{background:#fff3cd!important}.employees-table th:first-child,.employees-table td:first-child{width:32px;min-width:32px;max-width:32px;padding:0}.employees-table{width:100%;min-width:1180px;table-layout:fixed;background:#fff;border-collapse:separate;border-spacing:0}.employees-table thead th{background:linear-gradient(180deg,#f4f7fb,#edf3f9);color:#1f2d3d;font-size:12px;font-weight:700;letter-spacing:.01em;white-space:nowrap;padding:8px;overflow:hidden;text-overflow:ellipsis}.employees-table tbody td{padding:6px 8px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}.employees-table tbody tr:nth-child(2n){background:#f9fbff}.employees-table tbody tr:hover{background:#f1f6fd}.employees-table th:nth-child(2),.employees-table td:nth-child(2){width:180px}.employees-table th:nth-child(3),.employees-table td:nth-child(3),.employees-table th:nth-child(4),.employees-table td:nth-child(4){width:120px}.employees-table th:nth-child(5),.employees-table td:nth-child(5),.employees-table th:nth-child(6),.employees-table td:nth-child(6){width:130px}.employees-table th:nth-child(7),.employees-table td:nth-child(7){width:136px}.employees-table th:nth-child(8),.employees-table td:nth-child(8){width:126px}.employees-table th:nth-child(9),.employees-table td:nth-child(9){width:64px;min-width:64px;text-align:center}.employees-table th:nth-child(10),.employees-table td:nth-child(10){width:170px;min-width:170px}.employees-table input,.employees-table select{width:100%;min-width:0;box-sizing:border-box;height:32px;padding:5px 8px;font-size:13px}.employee-actions-cell{width:170px;min-width:170px;vertical-align:top}.employee-actions-buttons{display:flex;flex-direction:column;gap:5px;align-items:stretch}.employees-mobile-accordion{display:none;margin-top:10px}.employees-card{gap:12px}.employees-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto}.employees-header h3{margin:0}.employees-add-button{flex:0 0 auto}.employee-add-modal-backdrop{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a6b}.employee-add-modal{width:min(760px,100%);max-height:min(86vh,720px);overflow:auto;border:1px solid #d9e2ec;border-radius:12px;background:#fff;box-shadow:0 18px 42px #0f172a42}.employee-add-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e1e8f0}.employee-add-modal-head h4{margin:0;font-size:16px;color:#1f2d3d}.employee-add-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d2dce8;border-radius:8px;background:#fff;color:#2f3e50;cursor:pointer;line-height:1}.employee-add-close:hover{background:#f5f8fc}.employee-add-modal .employee-add-card{border:0;border-radius:0;background:#fff}.employee-add-modal .employee-add-actions{justify-content:flex-end;align-items:center;gap:8px}.employee-add-modal .employee-add-actions button:not(.primary){border:1px solid #d3dce8;border-radius:8px;padding:6px 10px;background:#fff;color:#2f3e50;cursor:pointer}.employee-add-modal .employee-add-actions button:not(.primary):hover{background:#f5f8fc}.employee-tabbar{display:flex;flex:0 0 auto;gap:6px;border-bottom:1px solid #dbe4ef;overflow-x:auto;padding-bottom:0}.employee-tabbar button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:0;padding:8px 12px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#425466;font-weight:700;cursor:pointer;white-space:nowrap}.employee-tabbar button:hover{background:#eef4fb;color:#1f2d3d}.employee-tabbar button.active{border-color:#dbe4ef;background:#fff;color:#1f6feb;box-shadow:0 -1px #fff inset,0 2px #fff}.employee-tabbar button span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:22px;padding:2px 7px;border-radius:999px;background:#edf3fa;color:#52677f;font-size:12px;line-height:1}.employee-tabbar button.active span{background:#e7f0ff;color:#1f6feb}.employee-tab-panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.employee-tab-panel h3{flex:0 0 auto;margin:0}.employee-tab-panel.employee-add-shell{flex:0 0 auto;margin-bottom:0}.employees-card>.employee-add-shell{flex:0 0 auto;margin-bottom:0}.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}.employees-card .employees-desktop-table{flex:1 1 auto;min-height:0}.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}.employees-departed-table-section h4{margin:0 0 8px;font-size:16px;font-weight:700;color:#1f2d3d}.employees-departed-table-section{margin-top:12px;flex:0 0 auto}.employee-tab-panel .employees-departed-table-section{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.employees-departed-mobile{display:none;margin-top:12px}.employees-departed-mobile h4{margin:0 0 8px;font-size:16px;font-weight:700;color:#1f2d3d}.employees-active-mobile{display:none;margin-top:10px}.employees-departed-mobile-accordion{max-height:min(30vh,260px)}.employees-departed-table-section .table-scroll{min-height:110px;max-height:min(18vh,180px)}.employee-tab-panel .employees-departed-table-section .table-scroll{flex:1 1 auto;max-height:none}.employees-table-departed th,.employees-table-departed td{overflow:visible;text-overflow:clip;white-space:normal}.employees-table-departed th:nth-child(1),.employees-table-departed td:nth-child(1){width:200px;min-width:200px}.employees-table-departed th:nth-child(2),.employees-table-departed td:nth-child(2),.employees-table-departed th:nth-child(3),.employees-table-departed td:nth-child(3){width:140px;min-width:140px}.employees-table-departed th:nth-child(4),.employees-table-departed td:nth-child(4){width:190px;min-width:190px}.employees-table-departed th:nth-child(5),.employees-table-departed td:nth-child(5){width:150px;min-width:150px;text-align:center}.employees-table-departed th:nth-child(6),.employees-table-departed td:nth-child(6){width:140px;min-width:140px;text-align:center}.employees-table-departed th:nth-child(7),.employees-table-departed td:nth-child(7){width:170px;min-width:170px}.employees-table-departed .employee-actions-cell{width:170px;min-width:170px}.employees-active-table-section .table-scroll{overflow-x:hidden}.employees-table-active{min-width:0;width:100%}.employees-table-active th,.employees-table-active td{width:auto!important;min-width:0!important}.employees-table-active th:first-child,.employees-table-active td:first-child{width:30px!important;min-width:30px!important;max-width:30px}.employees-table-active th:nth-child(2),.employees-table-active td:nth-child(2){width:18%!important}.employees-table-active th:nth-child(3),.employees-table-active td:nth-child(3){width:18%!important}.employees-table-active th:nth-child(4),.employees-table-active td:nth-child(4),.employees-table-active th:nth-child(5),.employees-table-active td:nth-child(5){width:16%!important}.employees-table-active th:nth-child(6),.employees-table-active td:nth-child(6){width:120px!important}.employees-table-active th:nth-child(7),.employees-table-active td:nth-child(7),.employees-table-active .employee-actions-cell{width:170px!important;min-width:170px!important}.employees-table-active input,.employees-table-active select{height:30px;padding:4px 6px;font-size:12px}.employee-name-summary{color:#2f3e50;font-weight:600;white-space:nowrap}.employee-actions-cell-compact{vertical-align:middle}.employee-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.employee-actions-buttons .shift-tab-btn,.employee-row-actions .shift-tab-btn{width:100%}.employee-details-row td{background:#f7fbff!important;border-top:0;padding-top:8px;padding-bottom:10px}.employee-details-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;align-items:end;text-align:left}.employee-details-grid label,.employee-details-meta{display:grid;gap:5px;min-width:0;font-size:12px;color:#2f3e50}.employee-details-meta{min-height:30px;align-content:center;padding:6px 8px;border:1px solid #d8e2ee;border-radius:8px;background:#fff}.employee-details-meta strong{font-size:11px;color:#5b6775}.employee-details-meta span{font-weight:700;color:#1f2d3d}.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}.my-schedule-panel{border:1px solid #d8e3ef;background:linear-gradient(180deg,#fbfdff,#f4f8fc)}.my-schedule-scroll{border-color:#d3deeb;border-radius:10px;background:#fff}.my-schedule-table thead th{background:linear-gradient(180deg,#f1f5fb,#e9eff7);color:#25374a;font-size:13px}.my-schedule-table td{padding:8px 6px}.my-schedule-table td .absence-cell,.my-schedule-table td .inactive-label{margin:0 auto;width:fit-content}.my-schedule-table td .absence-cell{width:136px;min-width:136px;max-width:136px;min-height:36px;padding:5px 8px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.my-schedule-table td .absence-cell strong{display:block;width:100%;font-size:13px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.my-schedule-table td .absence-cell small{display:block;width:100%;margin-top:2px;font-size:11px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-period-picker{width:clamp(260px,28vw,420px);min-height:40px;padding:0 10px;border:1px solid #8fb0d6;border-radius:12px;background:linear-gradient(180deg,#fff,#edf4fb);color:#1d324a;font-weight:600;font-size:clamp(12px,.95vw,14px);line-height:1.1;min-width:0;text-align:center}.my-schedule-header{margin-bottom:12px}.my-schedule-toolbar{padding:8px 10px;border:1px solid #d7e3f0;border-radius:12px;background:linear-gradient(180deg,#fbfdff,#f2f7fd)}.my-schedule-nav{gap:12px}.my-schedule-nav .schedule-range-label{flex:1 1 auto;min-width:0;font-size:clamp(14px,2.2vw,18px);font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.my-schedule-nav button{min-height:40px;min-width:120px;border:1px solid #8fb0d6;border-radius:12px;background:linear-gradient(180deg,#fff,#e4eef9);color:#1d324a;font-weight:600;padding:0 14px;box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f;transition:none}.my-schedule-nav button:hover:not(:disabled){border-color:#8fb0d6;background:linear-gradient(180deg,#fff,#e4eef9);box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f}.my-schedule-nav button:active:not(:disabled){border-color:#8fb0d6;background:linear-gradient(180deg,#fff,#e4eef9);box-shadow:0 1px #ffffffe6,0 2px 6px #1a365d1f}.my-schedule-nav button:disabled{opacity:.5;border-color:#c7d4e2;background:linear-gradient(180deg,#f9fbfd,#eef3f8);color:#6a7a8e;cursor:not-allowed;transform:none;box-shadow: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;position:relative;padding:10px;border:1px solid #e2e6ea;border-radius:8px;background:#f8fafc}.schedule-focus-head-cell{text-align:center;position:sticky;left:0;z-index:20;vertical-align:middle}.schedule-focus-icon{width:24px;height:24px;min-height:24px;border:1px solid #c8d3e0;border-radius:6px;background:#fff;color:#334e68;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;line-height:1;padding:0;margin:0 auto}.schedule-focus-icon.is-active{background:#2f7d32;border-color:#2f7d32;color:#fff}.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:4px 8px;font-size:11px;line-height:1.2;min-height:24px;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;overflow:hidden;container-type:inline-size}.shift-selected-button strong{font-size:clamp(8px,16cqi,13px);display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:-.02em}.custom-shift-time-stack{display:block;width:100%;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.custom-shift-time-stack-line{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-shift-segment-stack,.custom-shift-segment-row{display:block;width:100%}.custom-shift-segment-row+.custom-shift-segment-row{margin-top:4px}.custom-shift-segment-time{display:block;width:100%;font-size:clamp(8px,16cqi,13px);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.02em}.custom-shift-segment-location{display:block;width:100%;margin-top:2px;font-size:11px;line-height:1.1;color:#ffffffc7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shift-selected-button small,.schedule-table:not(.my-schedule-table) td:not(:first-child) .absence-cell small{display:block;width:100%;margin-top:2px;font-size:11px;line-height:1.1;color:#ffffffc7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-shift-popup{position:fixed;z-index:1200;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:10px;border:1px solid #c9d3de;border-radius:10px;background:#f7fafc;box-shadow:0 18px 36px #20344a2e;text-align:left;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}.custom-shift-popup-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.custom-shift-popup-subtitle{margin-bottom:8px;font-size:12px;color:#516273}.custom-shift-popup-list{display:grid;gap:8px}.custom-shift-popup-segment{padding:8px;border:1px solid #d9e3ec;border-radius:8px;background:#fff}.custom-shift-popup-segment-label{margin-bottom:6px;font-size:12px;font-weight:700;color:#33485c}.custom-shift-popup-segment-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.custom-shift-popup-segment-row+.custom-shift-popup-segment-row{margin-top:6px}.custom-shift-popup-segment-row-location{grid-template-columns:minmax(0,1fr) auto;align-items:end}.custom-shift-popup-segment-row label{display:grid;gap:4px;font-size:11px;color:#425466}.custom-shift-popup-segment-row input,.custom-shift-popup-segment-row select{width:100%;min-width:0;padding:4px 6px;border:1px solid #c9d3de;border-radius:6px}.custom-shift-popup-remove{white-space:nowrap}.custom-shift-popup-tools{margin-top:8px}.custom-shift-popup-close{border:0;background:transparent;color:#516273;font-size:20px;line-height:1;cursor:pointer}.schedule-cell-context-menu{position:fixed;z-index:1250;min-width:180px;padding:6px;border:1px solid #c9d3de;border-radius:10px;background:#fff;box-shadow:0 14px 28px #20344a2e;display:grid;gap:4px}.schedule-cell-context-menu button{width:100%;border:0;border-radius:8px;background:#eef3f8;color:#25374a;font-size:13px;font-weight:600;text-align:left;padding:7px 9px;cursor:pointer}.schedule-cell-context-menu button:hover{background:#dce8f3}.custom-shift-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.custom-shift-editor-grid label{display:grid;gap:4px;font-size:11px;color:#425466}.custom-shift-editor-grid input{width:100%;min-width:0;padding:4px 6px;border:1px solid #c9d3de;border-radius:6px}.custom-shift-editor-actions{display:flex;gap:6px;margin-top:8px}.custom-shift-editor-actions button{flex:1 1 0;min-width:0}@media(max-width:520px){.custom-shift-popup-segment-row,.custom-shift-popup-segment-row-location{grid-template-columns:1fr}.custom-shift-editor-actions{display:grid;grid-template-columns:1fr}.custom-shift-popup-remove,.custom-shift-editor-actions button,.custom-shift-popup-tools button{width:100%}}.schedule-table:not(.my-schedule-table) td:not(:first-child) .absence-cell{overflow:hidden;container-type:inline-size}.schedule-table:not(.my-schedule-table) td:not(:first-child) .absence-cell strong{display:block;width:100%;font-size:clamp(8px,16cqi,13px);white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:-.02em}.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!important}.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;line-height:1.35;white-space:normal}.legend-item{display:inline-block;white-space:nowrap;margin-right:.35em}.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-aligned{align-items:start}.settings-grid-aligned>label:not(.settings-checkbox){display:grid;grid-template-rows:minmax(3.2rem,auto) minmax(38px,auto);align-items:start;gap:8px}.settings-grid-aligned>label:not(.settings-checkbox)>input,.settings-grid-aligned>label:not(.settings-checkbox)>select{width:100%;box-sizing:border-box;align-self:end}.settings-grid .settings-checkbox{flex-direction:row;align-items:center;gap:10px}.settings-tabbar{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #dbe4ef;overflow:visible;padding-top:2px}.settings-tabbar button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin:0;padding:8px 12px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#425466;font-weight:700;cursor:pointer;white-space:nowrap;max-width:100%}.settings-tabbar button:hover{background:#eef4fb;color:#1f2d3d}.settings-tabbar button.active{border-color:#dbe4ef;background:#fff;color:#1f6feb;box-shadow:0 -1px #fff inset,0 2px #fff}.settings-sections{display:flex;flex-direction:column;gap:16px;margin-top:16px;min-height:0}.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-tab-panel{min-height:0}.settings-card{display:flex;flex-direction:column;min-height:0}.settings-card .settings-sections{overflow:visible;padding-right:0}.settings-muted{margin:0;color:#667085}.settings-error{margin:0 0 12px;color:#c0392b;font-weight:700}.permissions-layout{display:flex;flex-direction:column;gap:16px;min-height:0;max-width:100%;overflow:visible}.permissions-subtabs{display:inline-flex;width:fit-content;max-width:100%;gap:4px;padding:4px;margin-bottom:14px;border:1px solid #dbe4ef;border-radius:8px;background:#f4f7fb;flex-wrap:wrap}.permissions-subtabs button{appearance:none;border:0;border-radius:6px;background:transparent;color:#425466;cursor:pointer;font-weight:700;min-height:34px;padding:7px 12px}.permissions-subtabs button.active{background:#fff;color:#1f6feb;box-shadow:0 1px 3px #0f172a1f}.permissions-block{display:grid;gap:12px;min-height:0;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #dde6f0;border-radius:8px;background:#fff;padding:12px}.permissions-block h5{margin:0;font-size:14px;color:#182434}.permissions-block-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0;max-width:100%}.permissions-block-header>div{flex:1 1 220px;min-width:0}.permissions-block-header p{margin:4px 0 0;color:#667085;font-size:12px}.permissions-table-scroll{overflow-x:auto;overflow-y:visible;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.permissions-panel{display:flex;flex-direction:column;min-height:0;min-width:0}.permissions-panel .permissions-table-scroll{overscroll-behavior:contain}.permissions-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.permissions-table th:first-child,.permissions-table td:first-child{width:46%}.permissions-table th:not(:first-child),.permissions-table td:not(:first-child){width:18%}.permissions-table th,.permissions-table td{border-bottom:1px solid #edf1f6;padding:9px 10px;vertical-align:middle}.permissions-table th{background:#f4f7fb;color:#334155;font-size:12px;text-align:left;white-space:normal;overflow-wrap:anywhere}.permissions-table td:not(:first-child),.permissions-table th:not(:first-child){text-align:center}.permissions-table td strong{display:block;overflow-wrap:anywhere}.permissions-table td span{color:#667085;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.permissions-group-row td{background:#eef4fb;color:#1f2d3d;font-weight:800;text-align:left!important}.permissions-user-picker{flex:1 1 280px;width:100%;min-width:0;max-width:350px;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:8px;background:#fff;padding:8px 10px;color:#182434}.permissions-user-grid{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;padding-right:0;min-width:380px;max-width:100%}.permissions-user-group{display:grid;align-content:start;gap:8px;border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe;padding:10px;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}.permissions-user-group h6{margin:0;font-size:12px;color:#334155;text-transform:uppercase}.permissions-user-row{display:grid;grid-template-columns:1fr 180px;gap:8px;align-items:center;border-top:1px solid #edf1f6;padding:10px 0 0;min-width:0;max-width:100%;overflow:visible}.permissions-user-row strong,.permissions-user-row span{display:block}.permissions-user-row strong{color:#182434;font-size:13px;overflow-wrap:anywhere}.permissions-user-row span{margin-top:2px;color:#667085;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.permissions-user-row select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}@media(max-width:760px){.permissions-user-picker{width:100%;min-width:0}}.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}.settings-print-layout{display:grid;grid-template-columns:1fr;gap:12px}.settings-print-group{border:1px solid #dce5ef;border-radius:10px;background:#fff;padding:10px}.settings-print-group h5{margin:0 0 8px;font-size:13px;color:#26384b}@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:8px;flex:1 1 auto;min-height:0;overflow:hidden}.home-topline{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #d9e4f0;border-radius:12px;background:linear-gradient(120deg,#fff,#f4f8ff 70%)}.home-topline h3{margin:0;display:flex;font-size:clamp(20px,.8vw + 16px,30px);line-height:1.15;align-items:flex-start;justify-content:center;color:#182434}.home-topline span{display:flex;font-size:clamp(20px,.8vw + 16px,30px);line-height:1.15;align-items:flex-start;justify-content:center;color:#6b7179;font-weight:700}.home-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px;flex:1 1 auto;min-height:0;overflow:hidden;align-items:stretch}.home-left-column,.home-right-column{display:grid;gap:10px;align-content:start;min-width:0;min-height:0;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;padding-right:2px;scrollbar-gutter:stable}.home-left-column,.home-right-column{grid-template-rows:auto auto}.home-grid-fill .home-left-column,.home-grid-fill .home-right-column{height:100%;grid-template-rows:minmax(0,1fr) auto}.home-grid-viewer,.home-grid-single{grid-template-columns:1fr}.home-grid-viewer .home-left-column{display:none}.home-grid-no-status{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.home-grid-no-right{grid-template-columns:1fr}.home-grid-no-right .home-right-column{display:none}.home-card{border:1px solid #d7e2ef;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);padding:14px;display:flex;flex-direction:column;min-height:0;box-shadow:none}.home-card h4{margin:0 0 20px}.home-card-today h4,.home-card-actions h4{display:flex;font-size:clamp(19px,.75vw + 14px,27px);line-height:1.15;align-items:flex-start;justify-content:center;color:#182434;letter-spacing:.01em}.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:8px;display:block;width:100%}.home-status-card-flat{border:0;background:transparent;padding:0;width:100%}.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:68px;padding:8px 12px;font-size:20px;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:68px;margin-bottom:0;padding:8px 12px;font-size:20px;border-radius:12px}.home-status-cell strong{font-size:inherit;line-height:1.1}.home-status-cell small{font-size:15px;line-height:1.2}.home-status-today-shift{width:100%;border:1px solid #cfdceb;border-radius:14px;background:#fff;padding:14px 16px;display:grid;gap:12px}.home-status-today-head{display:flex;align-items:baseline;gap:10px;min-width:0}.home-status-today-head strong{font-size:22px;color:#1f2e40;line-height:1}.home-status-today-head span{font-size:16px;color:#607287;line-height:1}.home-status-today-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.home-status-today-chip{width:180px;min-width:180px;min-height:38px;max-width:180px;padding:6px 12px;border-radius:11px;font-size:18px;font-weight:800;letter-spacing:0;flex:0 0 180px;white-space:normal;text-align:center;overflow:hidden;container-type:normal}.home-status-today-chip strong{font-size:inherit;line-height:1;display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-status-today-time{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#eef3f8;border:1px solid #d6e0ea;font-size:21px;font-weight:700;color:#425874;white-space:nowrap;line-height:1;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.home-status-today-time-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;flex:1 1 auto}.home-status-today-time-list-inline{flex-wrap:nowrap}.home-status-today-time-list-stack{flex-direction:column;flex-wrap:nowrap;align-items:flex-end;gap:6px}.home-status-today-time-multi{display:inline-flex;flex-direction:column;align-items:center;gap:4px;max-width:min(100%,440px);text-align:center;overflow:hidden}.home-status-today-time-line{display:block;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.home-status-today-custom{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;align-items:flex-end;gap:8px}.home-status-today-location-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;width:100%}.home-status-today-location{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:999px;background:#f4f7fb;border:1px solid #dde6ef;font-size:12px;line-height:1;color:#667a92;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}@media(max-width:900px){.home-status-today-shift{padding:12px 14px;gap:10px}.home-status-today-head{align-items:baseline;gap:10px;flex-wrap:nowrap;min-width:0}.home-status-today-row{justify-content:space-between;align-items:center;flex-wrap:nowrap;row-gap:0}.home-status-today-head strong{font-size:20px;white-space:nowrap}.home-status-today-head span{font-size:15px}.home-status-today-chip{width:148px;min-width:148px;min-height:34px;max-width:148px;font-size:16px;padding:5px 10px;flex:0 0 148px}.home-status-today-time{font-size:18px;white-space:nowrap;flex:0 0 auto;padding:5px 9px}.home-status-today-time-list{flex:1 1 auto;width:auto;max-width:100%;min-width:0;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.home-status-today-time-list-inline{min-width:0;width:auto}}@media(max-width:600px){.home-status-today-head strong{font-size:18px}.home-status-today-head span{font-size:14px}.home-status-today-chip{width:132px;min-width:132px;min-height:32px;max-width:132px;font-size:14px;border-radius:11px;padding:4px 9px;flex:0 0 132px}.home-status-today-time{font-size:15px;padding:4px 8px;max-width:100%}.home-status-today-time-list{gap:4px;align-items:center}}.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;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.home-card-actions .primary{min-height:42px;padding-top:8px;padding-bottom:8px;border-radius:11px;font-size:14px;font-weight:700;box-shadow:0 3px 10px #22853838}.home-card-actions .home-actions .primary:last-child{grid-column:1 / -1}.home-card-actions .home-actions.home-actions-two .primary:last-child{grid-column:auto}.home-upcoming{margin-top:2px;padding-top:0;border-top:0;display:grid;gap:8px}.home-card-upcoming h4{margin:0 0 20px;display:flex;font-size:clamp(19px,.75vw + 14px,27px);line-height:1.15;align-items:flex-start;justify-content:center;color:#182434;letter-spacing:.01em}.home-upcoming h5{margin:0;font-size:13px;color:#2a3a4d;letter-spacing:.02em;text-transform:uppercase}.home-upcoming-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0}.home-upcoming-item{display:grid;grid-template-columns:1fr;align-items:center;gap:4px;padding:7px 8px;border:1px solid #e3ebf5;border-radius:10px;background:linear-gradient(180deg,#fff,#f9fbfe)}.home-upcoming-date{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.home-upcoming-date strong{font-size:12px;color:#1f2e40}.home-upcoming-date span{font-size:11px;color:#607287}.home-upcoming-status-row{display:flex;align-items:center;justify-content:flex-start;gap:8px}.home-upcoming-chip{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:8px;border:1px solid transparent;padding:3px 8px;font-size:12px;font-weight:700;line-height:1.2;text-align:center;width:100%;min-width:0;max-width:100%;white-space:normal;overflow:hidden}.home-upcoming-chip-label{font-weight:800;line-height:1;display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-upcoming-chip-colored{width:auto;min-width:76px;max-width:180px;padding-left:14px;padding-right:14px;container-type:normal}.home-upcoming-time{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#eef3f8;border:1px solid #d7e0ea;font-size:12px;line-height:1;color:#4f6380;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.home-upcoming-time-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;flex:1 1 auto}.home-upcoming-time-list-inline{flex-wrap:nowrap}.home-upcoming-time-multi{display:inline-flex;flex-direction:column;align-items:center;gap:4px;max-width:min(100%,420px);text-align:center;overflow:hidden}.home-upcoming-time-line{display:block;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}@media(max-width:900px){.home-status-today-time-multi,.home-upcoming-time-multi{max-height:none;overflow-y:visible}}@media(min-width:901px){.home-card-upcoming{border-color:#cfdae8;background:linear-gradient(180deg,#fff,#f7fbff)}.home-card-upcoming .home-upcoming-list{gap:8px}.home-card-upcoming .home-upcoming-item{padding:9px 10px;border-color:#d8e3ef;border-radius:11px}.home-card-upcoming .home-upcoming-date strong{font-size:13px}.home-card-upcoming .home-upcoming-date span{font-size:12px}.home-card-upcoming .home-upcoming-status-row{justify-content:space-between;gap:10px}.home-card-upcoming .home-upcoming-chip-colored{min-width:96px;max-width:160px}.home-card-upcoming .home-upcoming-time{font-size:12px;color:#425874;font-weight:600}.home-card-upcoming .home-upcoming-time-list{justify-content:flex-end}}.home-upcoming-chip-inactive{background:#eef2f7;border-color:#d8e0ea;color:#4f6175}.home-upcoming-chip-unassigned{background:#fff4e8;border-color:#f0dcc1;color:#8b5f24}.home-upcoming-detail{font-size:11px;color:#55687e;white-space:nowrap;flex:0 0 auto}.home-upcoming-item-work{border-color:#d8eadf}.home-upcoming-item-rest{border-color:#f2e2bd}.home-upcoming-item-inactive{border-color:#dde5ef}.home-upcoming-item-unassigned{border-color:#efdfc8}.home-card-wide{grid-column:1 / -1}.home-card-today{height:auto;border-color:#d2deec;background:linear-gradient(180deg,#fff,#f5f9ff)}.home-grid-fill .home-card-today{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}.home-card-actions{height:auto;display:block;grid-template-rows:none;border-color:#d2deec;background:linear-gradient(180deg,#fff,#f6fbff)}.home-grid-fill .home-card-actions{height:100%;display:grid;grid-template-rows:auto 1fr;border-color:#d2deec;background:linear-gradient(180deg,#fff,#f6fbff)}.home-card-my-status{height:auto}.home-card-upcoming{height:auto;min-height:0;display:block;grid-template-rows:none}.home-card-editor-upcoming{height:auto;min-height:0;display:flex;flex-direction:column}.home-grid-fill .home-card-editor-upcoming{height:100%}.home-grid-fill .home-roster-list-today{min-height:0;overflow:auto;align-content:start;padding-right:2px}.home-card-editor-upcoming h4{margin:0 0 20px;display:flex;font-size:clamp(19px,.75vw + 14px,27px);line-height:1.15;align-items:flex-start;justify-content:center;color:#182434;letter-spacing:.01em}.home-editor-week-list{display:grid;gap:8px;flex:1 1 auto;max-height:none;overflow:auto;padding:0 2px 2px 0;min-height:0}.home-editor-day{display:grid;gap:8px;border:1px solid #d8e3ef;border-radius:10px;background:#f8fbff;padding:10px}.home-editor-day-head{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;text-align:center}.home-editor-day-head>div:first-child{display:grid;gap:1px;min-width:0}.home-editor-day-head strong{color:#1d2f45;font-size:13px;line-height:1.1}.home-editor-day-head span{color:#607086;font-size:11px;line-height:1.1}.home-editor-roster{display:grid;grid-template-columns:1fr;gap:6px}.home-editor-roster-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:34px;padding:5px 7px 5px 9px;border:1px solid #e1e9f3;border-radius:8px;background:#fff}.home-editor-roster-item>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#223449;font-size:12px;line-height:1.2}.home-editor-roster-status{justify-self:end;max-width:150px;color:#394b60;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-editor-roster-status-colored{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:34px;border:1px solid transparent;border-radius:8px;padding:5px 9px;font-size:13px;font-weight:800;line-height:1;box-shadow:inset 0 -1px #00000014}.home-editor-roster-status-unassigned{color:#8a1c1c}.home-editor-roster-status-custom{max-width:180px;min-width:0;min-height:34px;border-radius:8px;padding:5px 10px;text-align:center;white-space:normal;overflow:visible;text-overflow:clip}.home-editor-roster-status-custom .custom-shift-segment-stack{display:block;width:100%}.home-editor-roster-status-custom .custom-shift-segment-time{font-size:12px;line-height:1;color:#fff!important}.home-editor-roster-status-custom .custom-shift-segment-location{margin-top:1px;font-size:10px;line-height:1;color:#ffffffc7!important;text-align:center}.home-grid-fill .home-card-upcoming{height:100%;display:grid;grid-template-rows:auto 1fr}.home-card-upcoming .home-upcoming{flex:1 1 auto;min-height:0;height:auto}.home-card-upcoming .home-upcoming-list{flex:1 1 auto;min-height:0;height:auto;align-content:stretch}.home-grid-fill .home-card-actions .home-actions{margin-top:0;align-content:center}.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:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;flex:1 1 auto;min-height:0;align-content:start}.home-roster-list-today .home-roster-item{flex:0 0 auto;min-height:50px;min-width:0;padding:8px 12px;font-size:15px;border-radius:12px;gap:10px;border-color:#dce6f2;box-shadow:0 1px #11274408}.home-roster-list-today .home-roster-item strong,.home-roster-list-today .home-roster-item .home-roster-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-roster-list-today .home-roster-item .home-roster-status.home-roster-status-custom-stack{overflow:visible;text-overflow:clip;white-space:normal}.home-roster-list-today .home-roster-item strong{font-size:15px;line-height:1.15;letter-spacing:.01em;color:#13263f}.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-list-today .home-roster-status-badge{min-height:36px;min-width:42px;justify-content:center;padding:6px 12px;border-radius:11px;font-size:16px;line-height:1;font-weight:800;box-shadow:inset 0 -1px #00000014}.home-roster-list-today .home-roster-status-badge.home-roster-status-custom-stack{align-items:center;justify-content:center;text-align:center;min-width:0;max-width:100%}.home-roster-status-custom-stack .custom-shift-segment-stack{display:block;width:100%}.home-roster-list-today .home-roster-item .home-roster-status-custom-stack .custom-shift-segment-time{font-size:16px;line-height:1;color:#fff!important}.home-roster-list-today .home-roster-item .home-roster-status-custom-stack .custom-shift-segment-location{margin-top:2px;font-size:12px;color:#ffffffc7!important;text-align:center}.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){.content,.content.content-data,.home-grid,.home-card,.home-roster-list-today,.home-roster-item,.home-upcoming-list,.home-upcoming-item,.home-status-body{overflow-x:hidden}.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{flex:1 1 auto;height:auto;min-height:0;padding:12px;overflow:auto;-webkit-overflow-scrolling:touch}.content.content-schedule{flex:1 1 auto;overflow:hidden}.content.content-home{overflow-y:auto;overflow-x:hidden}.content.content-planning{flex:1 1 auto;height:auto;min-height:0;overflow:auto}.content.content-data.content-employees{flex:1 1 0;height:100%;min-height:0;overflow:hidden}.card,.data-card,.schedule-card{padding:8px;border-radius:8px}.schedule-card{height:100%;min-height:0}.schedule-header{display:flex;flex-direction:column;gap:6px;margin-bottom:6px}.data-card{height:auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}.content.content-home>.data-card{flex:0 0 auto;overflow:visible}.content.content-home .home-shell{overflow:visible}.home-grid{flex:0 0 auto;grid-template-columns:1fr;grid-template-areas:none;grid-template-rows:auto;grid-auto-rows:auto;overflow:visible}.home-left-column,.home-right-column{height:auto;max-height:none;overflow:visible;padding-right:0}.home-left-column,.home-right-column{display:contents}.home-card-today{order:1}.home-card-editor-upcoming{order:2}.home-card-my-status{order:3}.home-card-upcoming{order:4}.home-card-actions{order:99}.home-grid-fill .home-left-column,.home-grid-fill .home-right-column{grid-template-rows:auto}.home-grid-fill .home-card-editor-upcoming{height:auto}.home-grid-fill .home-card-today{height:auto;display:flex}.home-grid-fill .home-roster-list-today{overflow:visible;padding-right:0}.home-card-today{grid-column:auto;grid-row:auto;height:auto}.home-card-actions{grid-column:auto;grid-row:auto}.home-card-my-status,.home-right-column{grid-area:auto}.home-right-column{order:2}.home-left-column{order:1}.home-actions{grid-template-columns:1fr}.home-card-actions .home-actions .primary:last-child{grid-column: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}.home-upcoming-item{grid-template-columns:1fr;gap:6px;align-items:start}.home-upcoming-list{grid-template-columns:1fr}.home-editor-week-list{max-height:none}.home-editor-day-head{align-items:flex-start}.home-editor-roster-item{grid-template-columns:minmax(0,1fr) auto}.home-editor-roster-status{max-width:150px;font-size:10px}.home-upcoming-status-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px}.home-upcoming-chip{width:auto;max-width:48%;flex:0 1 auto;min-height:0;font-size:clamp(10px,2.8vw,12px);padding:3px 7px}.home-upcoming-time-list{width:auto;min-width:0;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:flex-end;justify-content:flex-start;gap:3px}.home-upcoming-time{margin-left:0;text-align:left;white-space:nowrap;max-width:100%;font-size:11px;padding:4px 7px}.home-upcoming-detail{white-space:normal}.schedule-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:6px}.schedule-nav,.schedule-actions,.schedule-period-inputs{flex-wrap:wrap}.schedule-period-inputs{display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch;margin-bottom:0}.schedule-period-inputs>*{flex:1 1 0;min-width:0;box-sizing:border-box;margin:0}.schedule-period-inputs>input{flex:1.2 1 0}.schedule-period-inputs>.primary{flex:1.05 1 0}.schedule-period-inputs input,.schedule-period-inputs .primary{width:100%}.schedule-period-inputs input{height:40px;min-height:40px;padding:0 6px;font-size:11px}.schedule-period-inputs .primary{height:auto;min-height:34px;padding:5px 6px;font-size:clamp(9px,2.3vw,11px);white-space:normal;overflow-wrap:anywhere;word-break:break-word;display:inline-flex;align-items:center;justify-content:center;line-height:1.1;text-align:center}.schedule-nav{display:flex;flex:0 0 auto;width:100%;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(12px,1.9vw,14px)}.schedule-period-picker{flex:1 1 auto;width:auto;max-width:100%;min-width:0;font-size:clamp(12px,1.9vw,14px)}.schedule-nav button{flex:0 0 auto;min-width:0;min-height:36px;padding:0 10px;font-size:12px;border-radius:10px}.my-schedule-nav{flex:0 0 auto;width:100%;gap:8px}.my-schedule-nav .schedule-range-label{font-size:clamp(13px,2.8vw,15px)}.my-schedule-nav button{min-width:0;min-height:36px;padding:0 10px;border-radius:10px;font-size:12px}.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:repeat(4,minmax(0,1fr));gap:4px;align-items:stretch;margin-left:0;width:100%}.schedule-actions>.schedule-publish-controls,.schedule-actions>.primary,.schedule-actions>.schedule-bulk-float-wrap{min-width:0;align-self:stretch;margin:0;width:100%}.schedule-actions>.schedule-publish-controls{order:3}.schedule-actions>.schedule-bulk-float-wrap{order:2}.schedule-actions>.schedule-undo-button{order:4}.schedule-actions>.schedule-publish-controls,.schedule-actions>.schedule-bulk-float-wrap{display:flex}.schedule-actions .primary{width:100%;height:auto;min-height:34px;padding:5px 6px;font-size:clamp(9px,2.3vw,11px);border-radius:8px;white-space:normal;overflow-wrap:anywhere;display:inline-flex;align-items:center;justify-content:center;line-height:1.1;text-align:center}.schedule-publish-controls{justify-content:stretch;gap:6px;margin-left:0;align-items:stretch}.schedule-publish-controls .primary{width:100%}.schedule-import-picker-wrap{display:none!important}.schedule-publish-chip{display:none}.schedule-active-period-chip{margin-top:4px;font-size:clamp(9px,1.4vw,11px);padding:3px 8px}.print-employee-picker{display:none}.schedule-print-picker-wrap{display:none!important}.schedule-print-button{display:none}.table-section,.schedule-table-section{padding:4px}.schedule-table-section{flex:1 1 auto;min-height:0;overflow:hidden}.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}.employees-header{align-items:stretch;flex-direction:column;gap:8px}.employees-add-button{width:100%}.employee-add-modal-backdrop{align-items:flex-start;padding:max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.employee-add-modal{width:100%;max-height:calc(100dvh - 24px)}.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}.employee-tabbar{gap:4px}.employee-tabbar button{flex:1 0 auto;min-width:min(170px,68vw);padding:8px 10px;font-size:13px}.employees-mobile-accordion{display:block;max-height:min(28vh,280px);overflow:auto;padding-right:2px}.employees-active-mobile .employees-mobile-accordion{flex:1 1 auto;max-height:none;min-height:0}.employees-departed-mobile .employees-mobile-accordion,.employees-departed-mobile-accordion{max-height:min(14vh,140px)}.employees-card{display:flex;flex-direction:column;flex:1 1 auto;height:auto;min-height:0;overflow:hidden}.content.content-data.content-employees>.employees-card{flex:1 1 0;min-height:0;margin-bottom:0}.employees-save-actions{margin-top:8px;padding-top:6px;position:sticky;bottom:0;z-index:2;background:linear-gradient(180deg,#fff0,#fff 28%)}.employees-save-actions .primary{width:100%}.employees-active-mobile,.employees-departed-mobile{display:block;border:1px solid #cfd9e6;border-radius:10px;padding:8px;background:#f6f9fc}.employees-active-mobile{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.employee-tab-panel .employees-departed-mobile{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin-top:0}.employee-tab-panel .employees-departed-mobile .employees-mobile-accordion,.employee-tab-panel .employees-departed-mobile-accordion{flex:1 1 auto;max-height:none;min-height:0;overflow:auto}.employees-active-mobile+.employees-departed-mobile{margin-top:10px}.employees-departed-table-section,.employee-tab-panel .employees-departed-table-section{display:none}.planning-card{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;width:100%;min-height:0;max-height:none;box-sizing:border-box;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:1 1 auto;min-height:0}.planning-card .table-scroll{max-height:min(38vh,320px)}.planning-desktop-table{display:none}.planning-mobile-cards{display:block;flex:1 1 auto;min-height:180px;max-height:none;overflow:auto;padding-right:2px}.shift-add-card{padding:10px}.shift-add-grid{grid-template-columns:1fr;gap:8px}.shift-add-extra-list{grid-template-columns:1fr}.shift-add-extra-add,.shift-add-extra-item{grid-column:1 / -1}.shift-add-extra-row{grid-template-columns:1fr}.shift-add-extra-remove{grid-column:1 / -1;width:100%;margin-top:4px}.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-y:auto;overflow-x:hidden;padding:2px 2px 8px}.shifts-mobile-grid{grid-template-columns:1fr}.shifts-mobile-card{padding:10px}.shifts-mobile-card-head{margin:-10px -10px 10px;padding:8px 10px}.shift-extra-segments{gap:8px}.shift-extra-row{grid-template-columns:1fr 1fr;gap:7px;padding:8px;border:1px solid #d8e3ef;border-radius:10px;background:#fff}.shift-extra-row select,.shift-extra-row .shift-mobile-extra-remove{grid-column:1 / -1}.shift-extra-row .shift-mobile-extra-remove{margin-top:0}.shifts-mobile-roles{grid-template-columns:1fr}.shifts-save-actions{margin-top:12px}.shifts-save-button{width:100%}.absence-type-add-card{padding:10px}.absence-type-add-grid{grid-template-columns:1fr;gap:8px}.absence-type-add-actions .primary{width:100%}.locations-desktop-table{display:none}.locations-mobile-cards{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto}.location-add-card{margin-bottom:12px;grid-template-columns:1fr;align-items:stretch;gap:8px;padding:10px;border:1px solid #d7e1ed;border-radius:12px;background:#f8fbff}.location-default-toggle{min-height:30px}.location-add-button,.locations-save-button,.locations-mobile-actions button{width:100%}.locations-save-actions{margin-top:12px}.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}.statistics-header{flex-direction:column;align-items:stretch}.statistics-header .primary{width:100%}.statistics-filter-grid{grid-template-columns:1fr;gap:8px}.statistics-desktop-table{display:none}.statistics-mobile-cards{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;padding:2px 2px 8px}.admin-requests-desktop-table,.admin-users-desktop-table,.admin-visits-desktop-table,.admin-actions-desktop-table{display:none}.admin-mobile-cards{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;padding:2px 2px 8px}.admin-tabbar{gap:4px}.admin-tabbar button{flex:1 0 auto;min-width:min(190px,72vw);padding:8px 10px;font-size:13px}.admin-actions-header{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:8px}.admin-actions-header h3{text-align:left}.admin-action-filter{min-width:0}.admin-action-filter-menu summary{min-height:34px}.admin-mobile-grid{grid-template-columns:1fr}.admin-mobile-actions{display:grid;grid-template-columns:1fr}.admin-mobile-actions button{width:100%}.admin-mobile-card .admin-action-details-panel.inline{margin-top:10px;border-radius:10px;overflow:hidden}.admin-mobile-card .admin-action-details-head{padding:8px 10px}.admin-mobile-card .admin-action-detail-summary{gap:4px}.admin-mobile-card .admin-action-detail-summary span{max-width:100%;border-radius:8px;overflow-wrap:anywhere;white-space:normal}.admin-mobile-card .admin-action-details-body{padding:8px}.admin-mobile-card .admin-action-detail-row{grid-template-columns:1fr;gap:3px;padding:6px 0}.admin-mobile-card .admin-action-detail-grid.nested{padding:6px 8px}.admin-mobile-card .admin-action-detail-value{width:100%}.schedule-bulk-float-wrap{display:block;margin-top:0;position:relative;width:100%;min-width:0;justify-self:center}.schedule-bulk-mobile-trigger{display:flex;margin-top:0;width:100%;min-width:0}.schedule-bulk-mobile-trigger .primary{width:100%;height:auto;min-height:34px;min-width:0;padding:5px 6px;font-size:clamp(9px,2.3vw,11px);border-radius:8px;white-space:normal;overflow-wrap:anywhere;display:inline-flex;align-items:center;justify-content:center;line-height:1.1;text-align:center}.schedule-bulk-float-panel{position:fixed;top:calc(env(safe-area-inset-top) + 88px);left:8px;right:auto;transform:none;width:min(calc(100vw - 16px),420px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;z-index:1200}.schedule-bulk-actions,.schedule-employee-jump.screen-only{display:none}.schedule-card.schedule-card-focus .schedule-employee-jump.screen-only{display:flex!important;flex-wrap:wrap;gap:6px;margin-bottom:6px}.schedule-focus-icon{width:22px;height:22px;min-height:22px;font-size:12px}.table-scroll{max-height:min(52vh,520px);display:block}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{min-height:0;max-height:none;overflow-x:auto;overflow-y:auto;display:block;flex:1 1 auto;width:100%}.schedule-table-screen{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0}.schedule-scroll .schedule-table{display:table;width:100%}.my-schedule-panel,.my-schedule-scroll{display:block;width:100%}.schedule-scroll .schedule-table{table-layout:fixed;width:100%;min-width:0}.schedule-scroll .schedule-table th:not(:first-child),.schedule-scroll .schedule-table td:not(:first-child){width:auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis}.schedule-card.schedule-card-focus,.schedule-card.schedule-card-focus .schedule-table-screen,.schedule-card.schedule-card-focus .schedule-table-section,.schedule-card.schedule-card-focus .schedule-scroll{height:100%;min-height:0;max-height:none}.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(9px,1.5vw,10px);padding:3px 7px;min-height:22px}}@media(max-width:900px)and (hover:none)and (pointer:coarse){.home-status-today-time-multi{font-size:clamp(10px,2.6vw,14px);line-height:1.15;padding:5px 9px}.home-upcoming-time-multi{font-size:clamp(10px,2.4vw,13px);line-height:1.15;padding:4px 8px}.schedule-employee-jump.screen-only{display:flex;flex-wrap:wrap;overflow:visible;gap:4px;padding:2px 0 4px;margin:0;white-space:normal}.schedule-jump-chip{flex:1 1 calc(33.333% - 4px);min-width:0;min-height:20px;padding:2px 4px;font-size:7px;line-height:1.05;white-space:normal;overflow-wrap:anywhere}}@media(max-width:600px){.content,.content.content-schedule,.content.content-data{padding:10px}.schedule-nav{gap:6px}.schedule-nav button,.my-schedule-nav button{min-height:32px;padding:0 8px;font-size:11px;border-radius:9px}.my-schedule-nav .schedule-range-label{font-size:clamp(12px,3.2vw,14px)}.schedule-range-label{font-size:clamp(11px,2.7vw,13px)}.schedule-period-picker{min-height:32px;padding:0 8px;font-size:clamp(11px,2.7vw,13px);border-radius:9px}.schedule-nav-label-full{display:none}.schedule-nav-label-short{display:inline}th,td{font-size:clamp(10px,2.8vw,11px);padding:3px}.schedule-jump-chip{font-size:clamp(8px,2.3vw,9px);padding:3px 6px;min-height:20px}.my-schedule-table td .absence-cell{width:120px;min-width:120px;max-width:120px;min-height:32px;padding:4px 7px}.my-schedule-table td .absence-cell strong{font-size:11px}.my-schedule-table td .absence-cell small{font-size:9px}}@media print{@page portraitPage{size:A4 portrait}@page landscapePage{size:A4 landscape}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:static;width:100%;max-width:100%;height:auto;display:block}.schedule-card>*:not(.print-area){display:none!important}.app-container,.content,.content.content-schedule,.schedule-card,.card{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;margin:0!important;border:none!important;box-shadow:none!important;background:#fff!important}.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!important;border-collapse:collapse!important;border:none!important}.print-area .schedule-table colgroup{display:table-column-group!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-section{zoom:1!important;transform:none!important;width:100%}.print-area .schedule-table-print{display:block!important}.print-area .schedule-scroll .schedule-table{width:100%!important;min-width:100%!important;max-width:100%!important;height:auto!important;table-layout:fixed!important}.print-area .schedule-table th:first-child,.print-area .schedule-table td:first-child{width:var(--print-date-col-pct, 11%)!important;min-width:var(--print-date-col-pct, 11%)!important;max-width:var(--print-date-col-pct, 11%)!important;white-space:nowrap}.print-area .schedule-table td:first-child,.print-area .schedule-table td:first-child strong{white-space:nowrap!important;font-size:.9em!important;letter-spacing:-.01em}.print-area .schedule-table td:first-child,.print-area .schedule-table td:first-child .print-only{font-weight:400!important}.print-area .schedule-table th:not(:first-child),.print-area .schedule-table td:not(:first-child){width:calc((100% - var(--print-date-col-pct, 11%)) / var(--employees-count))!important;min-width:0!important;max-width:calc((100% - var(--print-date-col-pct, 11%)) / var(--employees-count))!important}.print-area .schedule-scroll .schedule-table th,.print-area .schedule-scroll .schedule-table td{position:static!important;left:auto!important;top:auto!important;z-index:auto!important}.schedule-scroll .schedule-table thead{display:table-header-group!important}.print-area th,.print-area td{border:1px solid black!important;padding:0 1px!important;font-size:var(--print-font-size, 10px)!important;color:#000!important;text-align:center;vertical-align:middle;line-height:1.05;page-break-inside:avoid;break-inside:avoid;white-space:normal!important;overflow-wrap:break-word;word-break:break-word;overflow:visible;text-overflow:clip}.print-area .schedule-table thead th:not(:first-child){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.05}.print-area .schedule-table thead th:not(:first-child) .print-employee-name{display:inline-block;width:auto;max-width:none;overflow:visible;line-height:1.05;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}.print-area.print-auto-scale th,.print-area.print-auto-scale td{font-size:var(--print-font-size, 10px)!important}.print-area .schedule-table thead th,.print-area .schedule-table tbody td{height:calc((100vh - 36mm) / (var(--days-count) + 1))!important;max-height:calc((100vh - 36mm) / (var(--days-count) + 1))!important;box-sizing:border-box!important}.print-area tbody tr+tr{border-top:none!important}.print-area.print-auto-scale thead th{font-size:var(--print-font-size, 10px)!important}.print-area tr{page-break-inside:avoid!important;break-inside:avoid!important}.print-area.print-auto-scale tbody td{font-size:var(--print-font-size, 10px)!important}.print-area .schedule-table th:not(:first-child),.print-area .schedule-table td:not(:first-child){font-size:calc(var(--print-font-size, 12px) + 1px)!important}.print-area .schedule-table td:not(:first-child) .absence-cell,.print-area .schedule-table td:not(:first-child) .print-only{font-size:calc(var(--print-font-size, 12px) + 1px)!important;line-height:1.1!important}.print-area .schedule-table td:not(:first-child) .absence-cell{font-weight:600}.print-area .schedule-table td:not(:first-child) .print-only{font-weight:400;line-height:1.1!important}.print-area .schedule-table td:not(:first-child) .print-only .print-shift-label{display:inline-block;width:auto;max-width:none;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}.print-area .schedule-table td:not(:first-child) .print-only .print-shift-detail{display:block;margin-top:2px;font-size:calc(var(--print-font-size, 10px) - 1px)!important;line-height:1.05!important;color:#68778c!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.print-area .schedule-table td:not(:first-child) .print-only .print-custom-shift-time-stack{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.05!important}.print-area .schedule-table td:not(:first-child) .print-only .print-custom-shift-time-stack .custom-shift-time-stack-line{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.print-area .schedule-table td:not(:first-child) .print-only .print-custom-shift-segment-stack{display:block!important;width:100%!important}.print-area .schedule-table td:not(:first-child) .print-only .custom-shift-segment-row+.custom-shift-segment-row{margin-top:3px!important}.print-area .schedule-table td:not(:first-child) .print-only .custom-shift-segment-time{display:block!important;width:100%!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.print-area .schedule-table td:not(:first-child) .print-only .custom-shift-segment-location{display:block!important;width:100%!important;margin-top:1px!important;font-size:calc(var(--print-font-size, 10px) - 1px)!important;line-height:1.05!important;color:#68778c!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.print-area tr:nth-child(2n),.print-area tr:hover{background:#fff!important}.sidebar,.screen-only,.absence-select,button,.schedule-table-screen{display:none!important}.schedule-table-print,.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;line-height:1.3;white-space:normal}.legend-item{margin:0 .35em 0 0;display:inline-block;white-space:nowrap}}
