:root{color:#263449;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f6fa;font-family:Tahoma,Segoe UI,sans-serif}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}#root{width:100%;min-height:100vh;margin:0}button,input,select{font:inherit}*{box-sizing:border-box}body{color:#263449;background:#f3f6fa;margin:0;font-family:Tahoma,Segoe UI,sans-serif}button,input,select{font-family:inherit;font-size:inherit}button{cursor:pointer}.dashboard{text-align:right;background:#f3f6fa;width:100%;min-height:100vh}.topbar{color:#fff;background:#17365d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:16px 4%;display:flex;box-shadow:0 3px 12px #00000018}.brand,.user-info{align-items:center;gap:12px;display:flex}.brand-icon{font-size:32px}.brand strong,.user-info strong{font-size:16px;display:block}.brand small,.user-info small{color:#d5e2f2;margin-top:4px;font-size:12px;display:block}.logout-button{color:#fff;background:0 0;border:1px solid #ffffff70;border-radius:8px;padding:8px 16px}.logout-button:hover{background:#ffffff20}.dashboard-content{max-width:1250px;margin:auto;padding:28px 22px}.welcome{margin-bottom:26px}.welcome h2{color:#17365d;margin:0 0 8px;font-size:24px}.welcome p,.form-hint{color:#64748b;font-size:13px;line-height:1.9}.section-heading{color:#17365d;margin:24px 0 14px;font-size:17px}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.dashboard-card{text-align:right;color:#263449;background:#fff;border:1px solid #e1e8f0;border-radius:12px;flex-direction:column;align-items:flex-start;gap:8px;min-height:125px;padding:18px;transition:all .2s;display:flex}.dashboard-card:hover,.dashboard-card.selected{border-color:#3478bd;transform:translateY(-2px);box-shadow:0 5px 18px #17365d15}.card-icon{font-size:25px}.dashboard-card strong{color:#17365d;font-size:15px}.dashboard-card small{color:#718096;font-size:12px;line-height:1.7}.content-panel{background:#fff;border:1px solid #e1e8f0;border-radius:13px;min-height:180px;margin-top:22px;padding:22px;box-shadow:0 3px 12px #17365d08}.content-panel h3{color:#17365d;margin:0 0 18px;font-size:18px}.panel-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.panel-title-row h3{margin:0}.primary-button,.secondary-button,.warning-button,.small-button{border:none;border-radius:8px;padding:10px 17px;font-weight:700;transition:all .2s}.primary-button{color:#fff;background:#1769aa}.primary-button:hover{background:#12578e}.secondary-button{color:#24577f;background:#e8f0f8}.secondary-button:hover{background:#d9e7f4}.warning-button{color:#9a5a00;background:#fff0d6;margin-top:16px}.small-button{color:#174e7c;background:#e5eef8;padding:7px 12px;font-size:12px}button:disabled{opacity:.55;cursor:not-allowed}.report-form-header{flex-wrap:wrap;align-items:flex-end;gap:14px;margin:18px 0;display:flex}.form-field{flex-direction:column;gap:7px;min-width:160px;display:flex}.form-field label,.login-card label{color:#34465d;font-size:13px;font-weight:700}input,select{color:#263449;background:#fff;border:1px solid #ccd7e3;border-radius:7px;outline:none;width:100%;min-width:0;padding:10px}input:focus,select:focus{border-color:#3478bd;box-shadow:0 0 0 3px #3478bd18}.shift-status{color:#24577f;background:#eaf3fb;border-radius:8px;flex:1;min-width:190px;padding:10px 13px;font-size:13px}.table-wrapper{border:1px solid #e1e8f0;border-radius:9px;width:100%;margin:18px 0;overflow-x:auto}.materials-table{border-collapse:collapse;width:100%;min-width:780px;font-size:13px}.materials-table th{color:#244766;white-space:nowrap;background:#eaf1f8;font-weight:700}.materials-table th,.materials-table td{text-align:center;border-bottom:1px solid #e7edf3;padding:11px 9px}.materials-table tbody tr:hover{background:#f7fafd}.materials-table input{min-width:105px;padding:8px}.consumption-cell{color:#08764b;font-weight:700}.report-row{border:1px solid #e2eaf2;border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:13px;font-size:13px;display:flex}.report-row strong{color:#17365d}.status-submitted{color:#08764b;background:#e2f5eb;border-radius:20px;padding:5px 10px}.status-draft{color:#9a5a00;background:#fff0d6;border-radius:20px;padding:5px 10px}.detail-summary{flex-wrap:wrap;gap:12px;margin:14px 0;display:flex}.detail-summary span{color:#244766;background:#edf3f9;border-radius:8px;padding:10px 13px;font-size:13px}.error-message,.success-message{border-radius:8px;margin:12px 0;padding:11px 13px;font-size:13px;line-height:1.8}.error-message{color:#b42318;background:#fff0f0;border:1px solid #ffd5d5}.success-message{color:#08764b;background:#e8f7ee;border:1px solid #c6ead5}.analytics-bars{flex-direction:column;gap:16px;margin:18px 0;display:flex}.analytics-bar-row{flex-direction:column;gap:7px;display:flex}.analytics-bar-label{justify-content:space-between;gap:12px;font-size:13px;display:flex}.analytics-bar-label strong{color:#34465d}.analytics-bar-label span{color:#08764b;font-weight:700}.analytics-bar-track{background:#e8eef4;border-radius:20px;height:13px;overflow:hidden}.analytics-bar-fill{background:linear-gradient(90deg,#2b80bd,#45b5a0);border-radius:20px;min-width:2px;height:100%;transition:width .4s}.dashboard-footer{text-align:center;color:#8290a1;padding:20px;font-size:12px}.login-page{background:linear-gradient(135deg,#17365d,#2b6c9f);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:#fff;border-radius:16px;flex-direction:column;gap:12px;width:100%;max-width:410px;padding:32px;display:flex;box-shadow:0 15px 45px #00000025}.login-icon{text-align:center;font-size:42px}.login-card h1{color:#17365d;text-align:center;letter-spacing:0;margin:0;font-size:22px}.login-card p{text-align:center;color:#718096;margin-bottom:14px;font-size:13px}.login-card button{color:#fff;background:#1769aa;border:none;border-radius:8px;margin-top:8px;padding:12px;font-weight:700}.login-card footer{text-align:center;color:#94a3b8;margin-top:12px;font-size:11px}.login-message{color:#b42318;background:#fff0f0;border-radius:7px;padding:10px;font-size:12px}@media (width<=700px){.topbar{padding:13px 16px}.dashboard-content{padding:20px 13px}.content-panel{padding:15px 11px}.welcome h2{font-size:20px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-card{min-height:115px;padding:13px}.dashboard-card strong{font-size:13px}.dashboard-card small{font-size:11px}.report-form-header{align-items:stretch}.form-field,.shift-status{width:100%}.detail-summary span{flex:100%}.login-card{padding:25px 20px}}.shift-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 28px;display:grid}.shift-comparison-item{background:#f7f9fc;border:1px solid #e1e8f0;border-radius:10px;padding:14px}.shift-comparison-heading{justify-content:space-between;margin-bottom:10px;font-size:13px;display:flex}.shift-day-fill,.shift-night-fill{border-radius:20px;height:100%}.shift-day-fill{background:#2586c7}.shift-night-fill{background:#e39a39}.shift-comparison-track{background:#e8eef4;border-radius:20px;height:14px;overflow:hidden}.daily-chart{background:#fbfcfe;border:1px solid #e1e8f0;border-radius:10px;align-items:flex-end;gap:12px;min-height:220px;padding:18px 12px 10px;display:flex;overflow-x:auto}.daily-chart-column{flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;min-width:52px;height:195px;display:flex}.daily-chart-value{color:#53657a;white-space:nowrap;font-size:10px}.daily-chart-stack{border-radius:5px 5px 0 0;flex-direction:column;justify-content:flex-end;width:27px;height:150px;display:flex;overflow:hidden}.daily-day-segment{background:#2586c7;flex-shrink:0;width:100%}.daily-night-segment{background:#e39a39;flex-shrink:0;width:100%}.daily-chart-column small{color:#53657a;direction:ltr;font-size:10px}.chart-legend{gap:20px;margin:12px 0 22px;font-size:12px;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{border-radius:3px;width:12px;height:12px;display:inline-block}.legend-day{background:#2586c7}.legend-night{background:#e39a39}@media (width<=700px){.shift-comparison{grid-template-columns:1fr}.daily-chart{justify-content:flex-start}}
