:root{--nav:#14243a;--blue:#1976e8;--bg:#f4f7fb;--line:#dfe5ee;--muted:#68758a;--p:#c9f2cf;--s:#cbe2fb;--m:#ffe9a8;--l:#ffc7ce;--off:#ffdcdc;--ct:#ffe0a3}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:#142033}.app{min-height:100vh}.side{width:230px;background:var(--nav);color:#fff;padding:20px 12px;position:fixed;inset:0 auto 0 0}.brand{font-weight:800;padding:8px 12px 24px;border-bottom:1px solid #344257}.brand small{display:block;color:#aebbd0;font-weight:400;margin-top:4px}.nav div{padding:12px 14px;border-radius:9px;margin:6px 0;color:#dbe4f2}.nav .active{background:var(--blue);color:#fff;font-weight:700}.nav-settings{margin-top:20px;border-top:1px solid #344257;padding-top:16px}.main{margin-left:230px;padding:30px;max-width:1700px}h1{margin:0;font-size:30px}.sub{color:var(--muted);margin:5px 0 22px}.card{background:#fff;border:1px solid #e5eaf1;border-radius:14px;padding:18px;margin-bottom:18px;box-shadow:0 5px 20px #1928460d}.filters{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr 1fr 1.3fr;gap:12px;align-items:end}label{font-size:12px;font-weight:700;display:block;margin-bottom:6px}select,input,button{height:42px;border:1px solid #d7dee9;border-radius:8px;padding:0 12px;background:#fff;font:inherit;width:100%}button{background:var(--blue);color:#fff;border:0;font-weight:700;cursor:pointer}.employee-filter{position:relative;min-width:0}.employee-picker-trigger{display:flex;align-items:center;justify-content:space-between;text-align:left;background:#fff;color:#25364d;border:1px solid #d7dee9;font-weight:400}.employee-picker-trigger span{color:var(--muted);margin-left:8px}.employee-picker{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:15;background:#fff;border:1px solid #d7dee9;border-radius:10px;box-shadow:0 12px 35px #14243a26;overflow:hidden;min-width:260px}.employee-picker-head{padding:10px;border-bottom:1px solid var(--line)}.employee-picker-head input{height:38px}.employee-picker-actions{display:flex;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line)}.picker-action{height:32px;background:#eef3f8;color:#25364d;border:1px solid #d7dee9;font-size:12px;padding:0 10px}.employee-picker-list{max-height:240px;overflow:auto}.employee-option{display:flex;align-items:center;gap:9px;padding:9px 12px;margin:0;font-size:13px;font-weight:500;cursor:pointer}.employee-option:hover{background:#f4f7fb}.employee-option input{width:16px;height:16px;margin:0}.employee-empty{padding:18px 12px;text-align:center;color:var(--muted);font-size:13px}.employee-picker-footer{padding:9px 12px;border-top:1px solid var(--line);background:#f8fafc;color:var(--muted);font-size:12px}.title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.title-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.download-menu{position:relative}.download-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:auto;min-width:145px;height:36px}.download-trigger span{font-size:14px}.download-menu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:145px;padding:5px;background:#fff;border:1px solid #d7dee9;border-radius:9px;box-shadow:0 12px 35px #14243a26}.download-menu-list button{display:block;width:100%;height:34px;text-align:left;padding:0 11px;background:#fff;color:#25364d;font-size:13px;font-weight:700}.download-menu-list button:hover{background:#eef5ff;color:#1265c5}.nav-month,.today{width:auto;height:36px;padding:0 11px}.title h2{font-size:21px;margin:0}.badge{background:#e9f3ff;color:#1265c5;padding:8px 12px;border-radius:8px;font-weight:700;white-space:nowrap}.employee-count-toggle{width:auto;height:36px;padding:0 12px;background:#e9f3ff;color:#1265c5;border:1px solid #cfe2f8;border-radius:8px;font-weight:700;white-space:nowrap}.employee-count-toggle:hover,.employee-count-toggle.active{background:#dceeff}.no-job{left:0!important;min-width:190px}.meta,.note{font-size:13px;color:var(--muted);margin-top:7px}.wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;max-height:65vh}table{border-collapse:separate;border-spacing:0;min-width:1480px;width:max-content}th,td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;height:43px;min-width:48px;font-size:13px}th{background:#f4f7fb;position:sticky;top:0;z-index:4;height:50px}th.sunday-header{background:#ffe9e9;color:#b33a3a}th.sunday-header span{color:#b33a3a}th span{font-size:11px;color:var(--muted);font-weight:600}.sticky-job,.sticky-name{position:sticky;z-index:5;text-align:left;padding-left:12px}.sticky-job{left:0;min-width:155px;background:#fff}.sticky-name{left:155px;min-width:190px;background:#fff}.group{font-weight:800;background:#f6f8fb!important}.P{background:var(--p)}.S{background:var(--s)}.M{background:var(--m)}.L{background:var(--l)}.OFF{background:var(--off)}.CT{background:var(--ct)}.cell{font-weight:800}.assignment{background:#e7eef8;color:#23466d}.empty{color:#a4afbd}.legend{display:flex;gap:20px;flex-wrap:wrap}.legend span{display:inline-grid;place-items:center;min-width:34px;height:28px;border-radius:5px;font-weight:800;margin-right:7px;padding:0 5px}.state{padding:22px;text-align:center;color:var(--muted);border:1px dashed #ccd5e1;border-radius:10px}.state.error{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap}.secondary{background:#eef3f8;color:#25364d;width:auto;border:1px solid #d7dee9}.secondary:hover{background:#e4ebf4}.date-error{margin-top:14px;color:#9b3c3c;border-color:#e5bcbc;background:#fff8f8}.month-picker{position:relative}.month-picker .today{min-width:120px}.month-picker-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:16;width:180px;background:#fff;border:1px solid #d7dee9;border-radius:10px;box-shadow:0 12px 35px #14243a26;padding:6px}.month-option{display:block;width:100%;height:34px;text-align:left;padding:0 10px;background:#fff;color:#25364d;font-size:13px;font-weight:600}.month-option:hover,.month-option.active{background:#eef5ff;color:#1265c5}.month-option.active{font-weight:800}@media(max-width:1100px){.filters{grid-template-columns:1fr 1fr 1fr}.filter-actions{grid-column:auto}}@media(max-width:900px){.side{display:none}.main{margin-left:0;padding:16px}.filters{grid-template-columns:1fr 1fr}h1{font-size:25px}.wrap{max-height:70vh}}@media(max-width:560px){.filters{grid-template-columns:1fr}.card{padding:14px}.badge{white-space:normal}.title{flex-direction:column}.title-actions{width:100%;justify-content:space-between}.today,.month-picker{flex:1}.month-picker .today{width:100%}.month-picker-menu{left:0;right:auto;width:min(220px,calc(100vw - 28px))}.employee-picker{position:fixed;left:14px;right:14px;top:150px;min-width:0}.employee-picker-list{max-height:45vh}}.clickable{cursor:pointer}.clickable:hover{outline:2px solid #8bbcf4;outline-offset:-2px}.modal-backdrop{position:fixed;inset:0;background:#14243a66;display:grid;place-items:center;padding:20px;z-index:20}.modal-backdrop{z-index:30}.modal{width:min(560px,100%);background:#fff;border-radius:16px;box-shadow:0 20px 60px #14243a33;padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.modal-kicker{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.modal h2{margin:4px 0 0;font-size:22px}.modal-close{width:36px;height:36px;padding:0;background:#eef3f8;color:#25364d;font-size:24px;line-height:1}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-grid>div{background:#f7f9fc;border:1px solid #e4e9f1;border-radius:10px;padding:12px}.detail-grid span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.detail-grid strong{display:block;font-size:14px}.detail-wide{grid-column:1/-1}@media(max-width:560px){.detail-grid{grid-template-columns:1fr}.detail-wide{grid-column:auto}.modal{padding:18px}}.cell-button{display:block;width:100%;height:100%;min-height:42px;border:0;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}.cell-button:hover{box-shadow:inset 0 0 0 2px #6ea9e8}.cell-button.P{background:var(--p)}.cell-button.S{background:var(--s)}.cell-button.M{background:var(--m)}.cell-button.L{background:var(--l)}.cell-button.OFF{background:var(--off)}.cell-button.CT{background:var(--ct)}.cell-button.assignment{background:#e7eef8;color:#23466d}.cell-button.empty{color:#a4afbd;background:transparent}.focus-toggle{width:auto;height:36px;padding:0 12px}.focus-mode .side{display:none}.focus-mode .main{margin-left:0;max-width:none;padding:16px}.focus-mode .main>h1,.focus-mode .main>.sub,.focus-mode .main>.card:first-of-type,.focus-mode .main>.card:last-of-type{display:none}.focus-mode .main>.card{min-height:calc(100vh - 32px);margin:0;border-radius:10px;padding:14px}.focus-mode .wrap{max-height:calc(100vh - 145px);height:calc(100vh - 145px)}.focus-mode .title-actions .download-menu,.focus-mode .title-actions .employee-count-toggle{display:none}.focus-mode .title-actions{justify-content:flex-end}.focus-mode .title-actions .focus-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:150px}.focus-mode .mobile-header,.focus-mode .mobile-bottom-nav{display:none!important}@media(max-width:1100px){.filters{grid-template-columns:1fr 1fr 1fr}}.export-button{width:auto;height:36px;padding:0 12px}.export-button:disabled{opacity:.55;cursor:not-allowed}.admin-status-button{width:auto;height:36px;padding:0 12px;background:#e8f5eb;color:#21653a;border:1px solid #b9ddc2;font-weight:800}.admin-status-button:hover{background:#dff0e3}.admin-login-modal{max-width:460px}.admin-login-form{display:grid;gap:14px}.admin-login-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#25364d}.admin-login-form input{width:100%;height:40px;padding:0 11px;border:1px solid #ccd7e5;border-radius:8px;background:#fff;color:#25364d}.admin-login-form input:focus{outline:2px solid #b8d8fa;outline-offset:1px}.admin-login-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.admin-login-actions button{width:auto;min-width:90px}.admin-login-form .state.error{padding:10px;font-size:12px;justify-content:flex-start;text-align:left}.nav-settings{width:100%;text-align:left;background:transparent;color:inherit;border:0;border-radius:8px;padding:10px 12px;font:inherit;font-weight:600;cursor:pointer}.nav-settings:hover,.nav-settings.active{background:#eef3f8;color:#1265c5}.settings-modal{max-width:520px}.settings-section{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;background:#f7f9fc;border:1px solid #e4e9f1;border-radius:10px}.settings-section p{margin:5px 0 0;color:var(--muted);font-size:13px}.settings-section button{width:auto;white-space:nowrap}@media(max-width:560px){.settings-section{align-items:flex-start;flex-direction:column}.settings-section button{width:100%}}.admin-schedule-modal{max-width:520px}.admin-schedule-form{display:grid;gap:14px}.admin-schedule-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#25364d}.admin-schedule-form select,.admin-schedule-form input,.admin-schedule-form textarea{width:100%;border:1px solid #ccd7e5;border-radius:8px;background:#fff;color:#25364d;font:inherit}.admin-schedule-form select,.admin-schedule-form input{height:40px;padding:0 11px}.admin-schedule-form textarea{min-height:82px;padding:10px 11px;resize:vertical}.admin-schedule-form select:focus,.admin-schedule-form input:focus,.admin-schedule-form textarea:focus{outline:2px solid #b8d8fa;outline-offset:1px}.admin-schedule-success{padding:10px 12px;border:1px solid #b9ddc2;border-radius:8px;background:#eef9f0;color:#21653a;font-size:12px;font-weight:700}.detail-actions-group{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.danger-button{border:1px solid #d45a5a;background:#fff1f1;color:#a52f2f;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.danger-button:hover{background:#ffe5e5}.danger-button:disabled{opacity:.65;cursor:wait}.detail-action-error{margin-bottom:12px}.employee-master-card .title{align-items:center}.employee-master-filters{grid-template-columns:2fr 1fr 1fr 1fr}.employee-master-table-wrap{max-height:68vh}.employee-master-table{min-width:1100px}.employee-master-table th,.employee-master-table td{padding:0 10px}.employee-master-table .employee-master-name{text-align:left;min-width:220px}.employee-status{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:800}.employee-status.active{background:#e8f6eb;color:#21653a}.employee-status.inactive{background:#fff0f0;color:#a52f2f}.table-action-button{width:auto;height:32px;padding:0 10px;background:#eef5ff;color:#1265c5;border:1px solid #cfe2f8;border-radius:7px;font-size:12px}.table-action-button:hover{background:#dceeff}.employee-form-modal{max-width:700px}.employee-form{display:grid;gap:14px}.employee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.employee-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#25364d}.employee-form input,.employee-form select,.employee-form textarea{width:100%;border:1px solid #ccd7e5;border-radius:8px;background:#fff;color:#25364d;font:inherit}.employee-form input,.employee-form select{height:40px;padding:0 11px}.employee-form textarea{min-height:82px;padding:10px 11px;resize:vertical}.employee-form input:focus,.employee-form select:focus,.employee-form textarea:focus{outline:2px solid #b8d8fa;outline-offset:1px}.employee-status-editor{padding:12px;background:#f7f9fc;border:1px solid #e4e9f1;border-radius:10px}.table-action-group{display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap}.transfer-action-button{background:#eef5ff;color:#1265c5;border:1px solid #cfe2f8}.transfer-current-position{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.transfer-current-position span{display:block;font-size:11px;color:var(--muted);font-weight:700;margin-bottom:4px}.transfer-current-position strong{font-size:14px;color:#25364d}.transfer-info{margin-top:12px;font-size:12px!important}.filter-month-picker{min-width:0}.employee-status-toggle{display:flex;gap:8px;flex-wrap:wrap}.status-choice{width:auto;height:36px;padding:0 12px;background:#fff;color:#25364d;border:1px solid #d7dee9}.status-choice.active{background:#e8f6eb;color:#21653a;border-color:#b9ddc2}.status-choice.inactive{background:#fff0f0;color:#a52f2f;border-color:#e5bcbc}.employee-form-success{padding:10px 12px;border:1px solid #b9ddc2;border-radius:8px;background:#eef9f0;color:#21653a;font-size:12px;font-weight:700}@media(max-width:700px){.employee-form-grid,.employee-master-filters{grid-template-columns:1fr}.employee-master-card .title{align-items:flex-start;flex-direction:column}.employee-master-card .title button{width:100%}}.employee-master-table .employee-job-filter-header{position:sticky;top:0;z-index:7;min-width:190px;padding:0;background:#f4f7fb}.excel-filter{position:relative;width:100%}.excel-filter-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px;padding:0 10px;background:#f4f7fb;color:#25364d;border:0;border-radius:0;font-size:13px;font-weight:800;text-align:left}.excel-filter-trigger:hover,.excel-filter-trigger.active{background:#e8f1fb;color:#1265c5}.excel-filter-icon{font-size:12px;color:var(--muted)}.excel-filter-menu{position:absolute;top:calc(100% + 4px);right:0;width:270px;background:#fff;border:1px solid #cfd8e5;border-radius:10px;box-shadow:0 14px 36px #14243a2b;z-index:30;overflow:hidden;text-align:left}.excel-filter-search{padding:10px;border-bottom:1px solid var(--line)}.excel-filter-search input{height:36px;font-size:12px}.excel-filter-actions{display:flex;gap:7px;padding:8px 10px;border-bottom:1px solid var(--line)}.excel-filter-actions button{width:auto;height:30px;padding:0 9px;background:#eef3f8;color:#25364d;border:1px solid #d7dee9;font-size:11px}.excel-filter-actions button:hover{background:#e3ebf5}.excel-filter-list{max-height:250px;overflow:auto;padding:4px 0}.excel-filter-option{display:flex;align-items:center;gap:9px;padding:8px 12px;margin:0;font-size:12px;font-weight:600;cursor:pointer}.excel-filter-option:hover{background:#f4f7fb}.excel-filter-option input{width:16px;height:16px;margin:0;padding:0}.excel-filter-empty{padding:16px 12px;text-align:center;color:var(--muted);font-size:12px}.excel-filter-footer{padding:8px 12px;border-top:1px solid var(--line);background:#f8fafc;color:var(--muted);font-size:11px;font-weight:600}@media(max-width:700px){.excel-filter-menu{position:fixed;left:14px;right:14px;top:145px;width:auto}}.mobile-header,.mobile-bottom-nav{display:none}@media(max-width:900px){body{padding-bottom:72px}.main{padding:18px 14px 24px}.side{display:none}.mobile-header{display:flex;position:sticky;top:0;z-index:18;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 10px #14243a12}.mobile-brand{min-width:0;display:flex;flex-direction:column;gap:2px}.mobile-brand strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-brand span{font-size:11px;color:var(--muted);font-weight:600}.mobile-header-button{flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:10px;background:#eef3f8;color:#25364d;border:1px solid #d7dee9;font-size:18px}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:25;height:68px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -5px 18px #14243a12;transition:transform .22s ease,opacity .22s ease}.mobile-bottom-nav.hidden{transform:translateY(110%);opacity:0;pointer-events:none}.mobile-nav-item{width:100%;height:56px;padding:4px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent;color:#68758a;border-radius:10px}.mobile-nav-item span{font-size:19px;line-height:1}.mobile-nav-item small{font-size:11px;font-weight:700}.mobile-nav-item.active{background:#e9f3ff;color:#1265c5}h1{font-size:24px;line-height:1.2}.sub{font-size:12px;margin-bottom:16px}.card{padding:14px;margin-bottom:12px;border-radius:12px;box-shadow:0 3px 14px #1928460a}.filters{grid-template-columns:1fr 1fr;gap:10px}.filters>div{min-width:0}label{font-size:11px}select,input,.employee-picker-trigger{height:42px;font-size:13px}.employee-picker{position:fixed;left:12px;right:12px;top:72px;max-height:calc(100vh - 150px);min-width:0}.employee-picker-list{max-height:45vh}.month-picker-menu{right:0;left:auto}.title{gap:12px}.title h2{font-size:17px;line-height:1.35}.title-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.title-actions .download-menu{min-width:0}.title-actions .download-trigger,.title-actions>.focus-toggle,.title-actions>.employee-count-toggle{width:100%;height:40px;min-width:0}.download-menu-list{left:0;right:auto;width:100%}.wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;max-height:68vh}.wrap table{min-width:760px}.wrap th,.wrap td{height:44px;font-size:12px}.wrap th{height:48px}.sticky-name{left:0;min-width:170px}.sticky-job{left:0;min-width:120px}.sticky-job+.sticky-name{left:120px}.sticky-name.no-job{left:0!important;min-width:170px}.legend{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}.legend>div{font-size:12px;display:flex;align-items:center}.legend span{margin-right:6px}.modal-backdrop{padding:12px}.modal{max-height:calc(100vh - 24px);overflow:auto;border-radius:14px;padding:16px}.modal-head{margin-bottom:14px}.modal h2{font-size:19px}.admin-login-actions,.detail-actions-group{display:grid;grid-template-columns:1fr 1fr}.admin-login-actions button,.detail-actions-group button{width:100%;min-width:0}.detail-grid{gap:8px}.detail-grid>div{padding:10px}.employee-master-table-wrap{max-height:65vh}.employee-master-table{min-width:980px}.employee-master-card .title{align-items:flex-start}.employee-master-card .title>div{width:100%}.employee-master-card .title .focus-toggle{width:100%;height:40px}}@media(max-width:560px){.main{padding:14px 12px 18px}.filters,.title-actions{grid-template-columns:1fr}.employee-master-table{min-width:900px}.transfer-current-position{grid-template-columns:1fr}.settings-section{padding:13px}.settings-section button{width:100%}.focus-mode .main{padding:8px 8px 14px}.focus-mode .main>.card{min-height:calc(100vh - 94px);padding:10px}.focus-mode .wrap{height:calc(100vh - 165px);max-height:none}.focus-mode .mobile-header{display:none}}@media(max-width:900px)and (orientation:landscape){.focus-mode .main{padding:10px 12px 12px}.focus-mode .main>.card{min-height:calc(100vh - 22px)}.focus-mode .wrap{height:calc(100vh - 122px);max-height:none}.focus-mode .mobile-bottom-nav{display:none}.focus-mode .mobile-header{min-height:46px;padding:5px 12px}.focus-mode .mobile-header-button{width:34px;height:34px}}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eef3f8,#f8fafc)}.auth-card{width:min(100%,440px);padding:34px;border:1px solid #dfe6ee;border-radius:24px;background:#fff;box-shadow:0 20px 60px #1420331a}.auth-brand{margin-bottom:26px}.auth-brand h1{margin:6px 0 10px;color:#142033;font-size:30px;line-height:1.15}.auth-brand p,.auth-card>p{color:#68758a;line-height:1.6}.auth-submit{width:100%;margin-top:6px;min-height:46px}.auth-help{margin:18px 0 0;text-align:center;font-size:13px}.schedule-name-button{border:0;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;padding:6px 4px;border-radius:8px;cursor:pointer}.schedule-name-button:hover{background:#eef3f8;color:#153c66}.schedule-name-button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.bulk-schedule-modal{max-width:760px;width:min(760px,calc(100vw - 32px))}.bulk-schedule-period{margin-top:4px;color:#68758a;font-size:13px}.bulk-schedule-form{display:flex;flex-direction:column;gap:16px}.bulk-schedule-help{padding:12px 14px;border:1px solid #dbe3ec;border-radius:10px;background:#f7f9fc;color:#526174;line-height:1.55;font-size:13px}.bulk-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bulk-schedule-field{display:flex;flex-direction:column;gap:7px}.bulk-schedule-field>span{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155}.bulk-schedule-field input{width:100%}.schedule-code-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;padding:0 7px;border-radius:7px;background:#eef3f8;color:#142033;font-size:12px}.schedule-code-badge.L{background:#ffd0d0}.schedule-code-badge.M{background:#ffe9a8}.schedule-code-badge.P{background:#c9f2cf}.schedule-code-badge.S{background:#cbe2fb}.schedule-code-badge.CT{background:#ded0ff}.bulk-schedule-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bulk-schedule-success{padding:10px 12px;border-radius:9px;background:#eaf8ee;color:#206b35;font-size:13px}@media(max-width:700px){.bulk-schedule-modal{width:calc(100vw - 20px);max-height:calc(100vh - 24px);overflow:auto}.bulk-schedule-grid{grid-template-columns:1fr}.schedule-name-button{padding:8px 4px}}.log-tabs-card{padding:10px 14px}.log-tabs{display:flex;gap:8px;flex-wrap:wrap}.log-tabs .log-tab{width:auto;min-width:150px;padding:0 18px;background:#f0f4f9;color:#34445a;border:1px solid #dfe5ee}.log-tabs .log-tab.active{background:var(--blue);border-color:var(--blue);color:#fff}.login-history-filters{grid-template-columns:minmax(180px,240px) minmax(180px,240px) auto;max-width:760px;margin-bottom:16px}.login-history-filter-action{min-width:145px}@media(max-width:700px){.login-history-filters{grid-template-columns:1fr}.log-tabs .log-tab{flex:1;min-width:130px}}.job-filter{position:relative;min-width:0}.job-picker-trigger{white-space:nowrap;overflow:hidden}.job-picker{min-width:220px;max-height:320px;display:flex;flex-direction:column}.job-picker-list{overflow-y:auto;max-height:245px;padding:6px 10px}.job-picker-option{display:flex;align-items:center;gap:9px;padding:7px 2px;margin:0;font-size:13px;font-weight:400;cursor:pointer}.job-picker-option input{width:16px;height:16px;flex:0 0 16px;margin:0;padding:0}@media(max-width:560px){.job-picker{position:fixed;left:14px;right:14px;top:150px;min-width:0}}.employee-filter{position:relative}.employee-picker{width:max(100%,260px);right:auto;left:0;max-width:calc(100vw - 32px)}@media(min-width:701px){.employee-filter .employee-picker{left:auto;right:0}}@media(max-width:700px){.employee-filter .employee-picker{position:fixed;left:16px;right:16px;top:50%;transform:translateY(-50%);width:auto;max-width:none;max-height:min(70vh,520px)}.employee-picker-list{max-height:calc(70vh - 170px)}}.print-trigger{white-space:nowrap}@page{size:A3 landscape;margin:8mm}@media print{body{background:#fff!important;color:#142033!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.side,.mobile-bottom-nav,.filters-card,.title-actions,.legend,.modal-backdrop,.toast,.state,.download-menu-list{display:none!important}.app{min-height:0!important}.main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}.schedule-card{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important}.schedule-card .title{display:block!important;margin:0 0 8px!important}.schedule-card .title h2{font-size:16pt!important;color:#142033!important;margin:0 0 4mm!important}.schedule-card .wrap{overflow:visible!important;width:100%!important;max-height:none!important}.schedule-card table{width:100%!important;min-width:0!important;border-collapse:collapse!important;table-layout:fixed!important;font-size:7pt!important}.schedule-card thead{display:table-header-group!important}.schedule-card tr{break-inside:avoid!important;page-break-inside:avoid!important}.schedule-card th,.schedule-card td{position:static!important;min-width:0!important;padding:2px 1px!important;height:auto!important;white-space:normal!important;border:1px solid #cbd5e1!important;color:#142033!important}.schedule-card th:first-child,.schedule-card td:first-child{width:35mm!important;text-align:left!important}.schedule-card th:not(:first-child),.schedule-card td:not(:first-child){width:auto!important;text-align:center!important}.schedule-card th{background:#eef3f8!important;font-size:6.5pt!important}.schedule-card thead th.sunday-header{background:#ffd0d0!important;color:#b33a3a!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.schedule-card thead th.sunday-header span{color:#b33a3a!important}.schedule-card td button,.schedule-card .schedule-name-button{display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:1px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#142033!important;font-size:7pt!important;font-weight:400!important;text-align:inherit!important}.schedule-card td button.empty{color:#7b8798!important}.schedule-card td button.assignment,.schedule-card td button.P,.schedule-card td button.S,.schedule-card td button.M,.schedule-card td button.L,.schedule-card td button.CT{font-weight:700!important}.schedule-card tr[hidden]{display:none!important}}.schedule-card .sticky-kandang,.schedule-card .kandang-number-cell{position:sticky;left:0;z-index:6;width:90px;min-width:90px;background:#fff}.schedule-card .sticky-kandang{top:0;z-index:8;background:#f4f7fb}.schedule-card .sticky-kandang.kandang-with-job,.schedule-card .kandang-number-cell.kandang-with-job{left:155px}.schedule-card .sticky-name.after-kandang{left:245px!important;background:#fff}.schedule-card .sticky-name.no-job.after-kandang{left:90px!important}.schedule-card .sticky-name{z-index:7}@media(max-width:900px){.schedule-card .sticky-kandang,.schedule-card .kandang-number-cell{width:90px;min-width:90px}.schedule-card .sticky-kandang.kandang-with-job,.schedule-card .kandang-number-cell.kandang-with-job{left:120px}.schedule-card .sticky-name.after-kandang{left:210px!important}.schedule-card .sticky-name.no-job.after-kandang{left:90px!important}}.schedule-card thead th{z-index:10}.schedule-card thead th.sticky-job,.schedule-card thead th.sticky-kandang,.schedule-card thead th.sticky-name{z-index:12}.schedule-card tbody td.sticky-job,.schedule-card tbody td.kandang-number-cell,.schedule-card tbody td.sticky-name{z-index:5}@media print{.schedule-card thead th.sticky-kandang,.schedule-card tbody td.kandang-number-cell{width:14mm!important;min-width:14mm!important;max-width:14mm!important;padding:2px 1px!important;text-align:center!important;white-space:nowrap!important}.schedule-card thead th.sticky-name.after-kandang,.schedule-card tbody td.sticky-name.after-kandang{width:48mm!important;min-width:48mm!important;max-width:48mm!important;text-align:left!important;padding:2px 2mm!important}.schedule-card thead th.sticky-name.after-kandang{white-space:normal!important}}@media print{html,body,#root,.app,.focus-mode,.focus-mode .main{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.focus-mode .main{padding:0!important}.focus-mode .main>.card,.focus-mode .main>.card.schedule-card,.schedule-card{height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;break-inside:auto!important;page-break-inside:auto!important}.focus-mode .wrap,.schedule-card .wrap{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.schedule-card .title{break-after:avoid!important;page-break-after:avoid!important}.schedule-card .title h2{margin-bottom:3mm!important}}@media print{.focus-mode .main>.card.schedule-card,.focus-mode .main>section.schedule-card{display:block!important;visibility:visible!important}.focus-mode .schedule-card .title,.focus-mode .schedule-card .title h2{display:block!important;visibility:visible!important;height:auto!important;max-height:none!important;overflow:visible!important;color:#142033!important}.focus-mode .schedule-card .title h2{font-size:16pt!important;line-height:1.25!important;margin:0 0 3mm!important}}.schedule-card .print-repeat-title{display:none}@media print{.schedule-card .title{display:none!important}.schedule-card thead tr.print-repeat-title{display:table-row!important;break-inside:avoid!important;page-break-inside:avoid!important}.schedule-card thead tr.print-repeat-title th{display:table-cell!important;text-align:left!important;background:#fff!important;color:#142033!important;font-size:11pt!important;font-weight:800!important;padding:0 0 3mm!important;height:auto!important;border:0!important}}@media print{.schedule-card table{table-layout:fixed!important;width:100%!important}.schedule-card thead th.sticky-job,.schedule-card tbody td.sticky-job{width:24mm!important;min-width:24mm!important;max-width:24mm!important;padding-left:1.5mm!important;padding-right:1mm!important;text-align:left!important}.schedule-card thead th.sticky-kandang,.schedule-card tbody td.kandang-number-cell{width:13mm!important;min-width:13mm!important;max-width:13mm!important;padding-left:.5mm!important;padding-right:.5mm!important;text-align:center!important}.schedule-card thead th.sticky-name,.schedule-card tbody td.sticky-name{width:52mm!important;min-width:52mm!important;max-width:52mm!important;padding-left:1.5mm!important;padding-right:1mm!important;text-align:left!important;overflow-wrap:anywhere!important}.schedule-card thead th:not(.sticky-job):not(.sticky-kandang):not(.sticky-name),.schedule-card tbody td:not(.sticky-job):not(.kandang-number-cell):not(.sticky-name){min-width:0!important;padding-left:0!important;padding-right:0!important;text-align:center!important}}@media print{.main>h1,.main>.sub,.main>.card:not(.schedule-card),.mobile-header,.mobile-bottom-nav,.side{display:none!important}.main{position:static!important}.main>.schedule-card{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important}.schedule-card .title-actions,.schedule-card .legend,.schedule-card .note{display:none!important}.schedule-card table{width:100%!important;min-width:0!important;table-layout:fixed!important}.schedule-card thead th.sticky-name,.schedule-card tbody td.sticky-name{width:52mm!important;min-width:52mm!important;max-width:52mm!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;padding:1mm 1.5mm!important}.schedule-card thead th.sticky-name.no-job,.schedule-card tbody td.sticky-name.no-job{width:52mm!important;min-width:52mm!important;max-width:52mm!important}.schedule-card thead th.sticky-job,.schedule-card tbody td.sticky-job{width:24mm!important;min-width:24mm!important;max-width:24mm!important}.schedule-card thead th.sticky-kandang,.schedule-card tbody td.kandang-number-cell{width:13mm!important;min-width:13mm!important;max-width:13mm!important}.schedule-card thead th:not(.sticky-job):not(.sticky-kandang):not(.sticky-name),.schedule-card tbody td:not(.sticky-job):not(.kandang-number-cell):not(.sticky-name){min-width:0!important;width:auto!important;padding-left:0!important;padding-right:0!important;text-align:center!important;white-space:nowrap!important}}.cell-button.L,.legend span.L{background:#ffc7ce!important;color:#7f1d1d!important}.cell-button.CT,.legend span.CT{background:#ffe0a3!important;color:#7c4a03!important}@media print{.schedule-card td button.L{background:#ffc7ce!important;color:#7f1d1d!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.schedule-card td button.CT{background:#ffe0a3!important;color:#7c4a03!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}@media print{html body .schedule-card table{width:100%!important;min-width:0!important;table-layout:fixed!important}html body .schedule-card thead th.sticky-name.no-job,html body .schedule-card tbody td.sticky-name.no-job{width:65mm!important;min-width:65mm!important;max-width:65mm!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;padding:1mm 2mm!important;text-align:left!important;font-size:6.5pt!important}html body .schedule-card thead th.sticky-name:not(.no-job),html body .schedule-card tbody td.sticky-name:not(.no-job){width:52mm!important;min-width:52mm!important;max-width:52mm!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;padding:1mm 1.5mm!important;text-align:left!important;font-size:6.5pt!important}html body .schedule-card thead th.sticky-job,html body .schedule-card tbody td.sticky-job{width:22mm!important;min-width:22mm!important;max-width:22mm!important}html body .schedule-card thead th.sticky-kandang,html body .schedule-card tbody td.kandang-number-cell{width:13mm!important;min-width:13mm!important;max-width:13mm!important}html body .schedule-card thead th.sticky-name{font-size:7pt!important}}@media print{html body .schedule-card table{width:100%!important;min-width:0!important;table-layout:fixed!important}html body .schedule-card thead th.sticky-name.no-job,html body .schedule-card tbody td.sticky-name.no-job{width:80mm!important;min-width:80mm!important;max-width:80mm!important;white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;padding:1mm 2mm!important;text-align:left!important;font-size:7pt!important}html body .schedule-card thead th.sticky-name:not(.no-job),html body .schedule-card tbody td.sticky-name:not(.no-job){width:65mm!important;min-width:65mm!important;max-width:65mm!important;white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;padding:1mm 2mm!important;text-align:left!important;font-size:7pt!important}html body .schedule-card thead th.sticky-job,html body .schedule-card tbody td.sticky-job{width:22mm!important;min-width:22mm!important;max-width:22mm!important}html body .schedule-card thead th.sticky-kandang,html body .schedule-card tbody td.kandang-number-cell{width:13mm!important;min-width:13mm!important;max-width:13mm!important}html body .schedule-card thead th:not(.sticky-job):not(.sticky-kandang):not(.sticky-name),html body .schedule-card tbody td:not(.sticky-job):not(.kandang-number-cell):not(.sticky-name){min-width:0!important;padding-left:0!important;padding-right:0!important;text-align:center!important;white-space:nowrap!important;font-size:6.5pt!important}}@media print{html body .schedule-card table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}html body .schedule-card thead tr:not(.print-repeat-title) th.sticky-name.no-job,html body .schedule-card tbody td.sticky-name.no-job{width:80mm!important;min-width:80mm!important;max-width:80mm!important}html body .schedule-card thead tr:not(.print-repeat-title) th.sticky-name:not(.no-job),html body .schedule-card tbody td.sticky-name:not(.no-job){width:65mm!important;min-width:65mm!important;max-width:65mm!important}html body .schedule-card thead tr:not(.print-repeat-title) th.sticky-job,html body .schedule-card tbody td.sticky-job{width:22mm!important;min-width:22mm!important;max-width:22mm!important}html body .schedule-card thead tr:not(.print-repeat-title) th.sticky-kandang,html body .schedule-card tbody td.kandang-number-cell{width:13mm!important;min-width:13mm!important;max-width:13mm!important}html body .schedule-card table:not(:has(th.sticky-job)):not(:has(th.sticky-kandang)) thead tr:not(.print-repeat-title) th:not(.sticky-name),html body .schedule-card table:not(:has(th.sticky-job)):not(:has(th.sticky-kandang)) tbody tr:not(.group) td:not(.sticky-name){width:calc((100% - 80mm)/31)!important;min-width:0!important;max-width:none!important}html body .schedule-card table:has(th.sticky-job):not(:has(th.sticky-kandang)) thead tr:not(.print-repeat-title) th:not(.sticky-job):not(.sticky-name),html body .schedule-card table:has(th.sticky-job):not(:has(th.sticky-kandang)) tbody tr:not(.group) td:not(.sticky-job):not(.sticky-name){width:calc((100% - 22mm - 65mm)/31)!important;min-width:0!important;max-width:none!important}html body .schedule-card table:not(:has(th.sticky-job)):has(th.sticky-kandang) thead tr:not(.print-repeat-title) th:not(.sticky-kandang):not(.sticky-name),html body .schedule-card table:not(:has(th.sticky-job)):has(th.sticky-kandang) tbody tr:not(.group) td:not(.kandang-number-cell):not(.sticky-name){width:calc((100% - 13mm - 65mm)/31)!important;min-width:0!important;max-width:none!important}html body .schedule-card table:has(th.sticky-job):has(th.sticky-kandang) thead tr:not(.print-repeat-title) th:not(.sticky-job):not(.sticky-kandang):not(.sticky-name),html body .schedule-card table:has(th.sticky-job):has(th.sticky-kandang) tbody tr:not(.group) td:not(.sticky-job):not(.kandang-number-cell):not(.sticky-name){width:calc((100% - 22mm - 13mm - 65mm)/31)!important;min-width:0!important;max-width:none!important}html body .schedule-card tbody td.sticky-name{white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;padding-left:2mm!important;padding-right:2mm!important;border-right:1px solid #b9c5d5!important}}@media print{html body .schedule-card table{table-layout:fixed!important;width:100%!important}html body .schedule-card thead th.sticky-name,html body .schedule-card tbody td.sticky-name{box-sizing:border-box!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;position:static!important;z-index:auto!important;background:#fff!important}html body .schedule-card thead th.sticky-name.no-job,html body .schedule-card tbody td.sticky-name.no-job{width:80mm!important;min-width:80mm!important;max-width:80mm!important}html body .schedule-card thead th.sticky-name:not(.no-job),html body .schedule-card tbody td.sticky-name:not(.no-job){width:65mm!important;min-width:65mm!important;max-width:65mm!important}html body .schedule-card thead th.sticky-job,html body .schedule-card tbody td.sticky-job,html body .schedule-card thead th.sticky-kandang,html body .schedule-card tbody td.kandang-number-cell{box-sizing:border-box!important;overflow:hidden!important}}@media print{html body .schedule-card thead tr.print-repeat-title{display:none!important}html body .schedule-card .title{display:flex!important;visibility:visible!important;margin:0 0 3mm!important;padding:0!important;break-after:avoid!important;page-break-after:avoid!important}html body .schedule-card .title h2{display:block!important;font-size:11pt!important;line-height:1.2!important;margin:0!important;color:#142033!important}html body .schedule-card .title-actions{display:none!important}html body .schedule-card table{table-layout:fixed!important;width:100%!important}}@media print{html body .schedule-card thead th.sticky-name.no-job,html body .schedule-card tbody td.sticky-name.no-job{width:85mm!important;min-width:85mm!important;max-width:85mm!important;box-sizing:border-box!important;padding-left:2mm!important;padding-right:2mm!important;font-size:6.5pt!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}html body .schedule-card thead th.sticky-name:not(.no-job),html body .schedule-card tbody td.sticky-name:not(.no-job){width:70mm!important;min-width:70mm!important;max-width:70mm!important;box-sizing:border-box!important;padding-left:2mm!important;padding-right:2mm!important;font-size:6.5pt!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}}@media screen{.app{zoom:.75}}@media print{.app{zoom:1!important}}.nav .schedule-update-nav{display:flex;align-items:center;gap:8px;min-width:0;white-space:normal;line-height:1.25;padding:10px 12px}.nav .schedule-update-nav>span:first-child{flex:0 0 auto;line-height:1.2}.nav .schedule-update-nav .schedule-update-nav-label{display:block;min-width:0;overflow-wrap:anywhere}.schedule-activity-card .wrap{overflow-x:auto}.schedule-activity-card .schedule-audit-table{min-width:1100px}.schedule-activity-card .schedule-audit-table th,.schedule-activity-card .schedule-audit-table td{vertical-align:top}
