*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f6f9;color:#10131b;font:15px/1.4 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}a{text-decoration:none;color:inherit}button,select{font:inherit}button{cursor:pointer}.top{height:84px;background:linear-gradient(110deg,#e9161c,#d9000b);color:#fff;display:flex;align-items:center;gap:26px;padding:0 30px;position:sticky;top:0;z-index:20;box-shadow:0 2px 10px #00000012}.brand{display:flex;align-items:center;gap:10px;min-width:195px}.brandmark{font-size:49px;font-weight:900;line-height:1}.brandname{font-size:24px;font-weight:900;line-height:.95;letter-spacing:-.8px}.top-sep{width:1px;height:49px;background:#ffffff77}.top-title{display:flex;flex-direction:column;gap:1px;min-width:0}.top-title strong{font-size:25px;white-space:nowrap}.top-title span{font-size:15px}.top-right{margin-left:auto;display:flex;align-items:center;gap:14px;white-space:nowrap}.top-month,.admin-pill{border:1px solid #ffffff65;border-radius:12px;padding:12px 17px;font-weight:650}.admin-pill:hover{background:#ffffff22}.sidebar{position:fixed;top:84px;bottom:0;width:282px;background:linear-gradient(135deg,#fff,#f8faff);padding:30px 16px 16px;display:flex;flex-direction:column;border-right:1px solid #e9edf2}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav a{padding:15px 20px;display:flex;gap:18px;align-items:center;border-radius:12px;font-size:17px}.side-nav a:first-letter{font-size:23px}.side-nav a.active{background:#e30613;color:#fff;font-weight:700}.side-nav a:not(.active):hover{background:#f0f2f6}.side-bottom{margin-top:auto}.branch{background:#f4f6f8;border:1px solid #e7ebf0;border-radius:16px;padding:16px;display:flex;gap:14px}.branch>b{font-size:35px;color:#e30613}.branch strong{display:block;font-size:19px}.branch small{display:block;color:#59677b}.branch em{display:block;color:#008d39;font-size:13px;font-style:normal;margin-top:6px}.version{text-align:center;color:#697589;font-size:12px;margin-top:14px}.dashboard{margin-left:282px;padding:18px 16px 36px;max-width:calc(100% - 282px)}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.kpi,.panel{background:#fff;border:1px solid #e9ecf0;border-radius:17px;box-shadow:0 3px 10px #1b29330d,0 10px 24px #1b293307}.kpi{padding:15px;display:flex;align-items:center;gap:20px;min-height:86px}.kicon{width:60px;height:60px;border-radius:15px;background:#ffebeb;color:#e30613;display:grid;place-items:center;font-size:34px;flex:none}.kicon.green{background:#f1f7f4;color:#099147}.kpi strong{display:block;font-size:29px;line-height:1.12;white-space:nowrap}.kpi strong i{font-size:17px;font-style:normal}.kpi small{color:#617086;font-size:14px}.panel{padding:18px;margin-bottom:15px}.panel-heading{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:17px}.panel h2,.panel h3{margin:0;font-size:21px;letter-spacing:-.5px}.panel h3{font-size:18px}.month-nav{display:flex;align-items:center;gap:7px}.month-nav a,.month-nav span{border:1px solid #dfe4eb;border-radius:10px;padding:9px 13px;box-shadow:0 2px 4px #0000000d;font-weight:650}.month-nav a{font-size:27px;line-height:22px}.view-switch{display:flex;background:#f3f5f8;padding:3px;border-radius:10px}.view-switch button{border:0;background:none;padding:9px 17px;border-radius:8px;font-weight:650}.view-switch .selected,.red-btn{background:#e30613;color:#fff}.filters{display:flex;gap:9px;align-items:end;flex-wrap:wrap;margin-bottom:13px}.filters label{display:flex;flex-direction:column;gap:3px;color:#657185;font-size:12px}.filters select{padding:8px 12px;border:1px solid #dfe4eb;border-radius:9px;background:white;min-width:120px;color:#10131b}.red-btn,.outline-btn{border:0;border-radius:10px;padding:11px 15px;font-weight:700;display:inline-block;text-align:center}.outline-btn{background:#f5f7f9;color:#1c2634;border:1px solid #e0e5eb}.red-btn:hover{background:#c9000b}.table-scroll{overflow-x:auto;border:1px solid #e4e9ef;border-radius:12px}.schedule{width:100%;border-collapse:separate;border-spacing:0;min-width:1080px}.schedule th,.schedule td{border-bottom:1px solid #e7ebf0;text-align:center;padding:5px 3px;min-width:57px}.schedule th{background:#f9fafc;font-size:13px}.schedule th:first-child,.schedule td:first-child{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:195px;padding:9px 12px;border-right:1px solid #edf0f4}.schedule th:first-child{z-index:3;background:#f9fafc}.schedule .weekend-head{color:#e30613}.schedule tbody tr:last-child td{border-bottom:0}.emp-cell{display:flex;align-items:center;gap:10px;min-height:60px}.emp-cell strong,.emp-cell small{display:block;white-space:nowrap}.emp-cell small{color:#68778c;font-size:12px}.avatar{width:40px;height:40px;flex:none;border-radius:50%;background:#ffe6e7;color:#e30613;display:grid;place-items:center;font-size:19px;font-weight:800}.schedule tbody tr:nth-child(3n+2) .avatar{background:#e0f0ff;color:#126bc4}.schedule tbody tr:nth-child(3n+3) .avatar{background:#eee5ff;color:#7131bf}.shift{min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;padding:5px 2px;font-size:12px;line-height:1.3}.shift.working,.legend-chip.working{background:#d9fae6;color:#0b5530}.shift.day_off,.legend-chip.day_off{background:#ffe9eb;color:#db0010}.shift.vacation,.legend-chip.vacation{background:#fff4c8;color:#946300}.shift.sick_leave,.legend-chip.sick_leave{background:#ede1ff;color:#6d32ad}.no-shift{color:#adb5c2}.calendar-note,.fine-print,.muted{font-size:12px;color:#8792a0;margin:11px 0 0}.insights{display:grid;grid-template-columns:1fr 1.45fr 1.05fr;gap:14px}.insight{min-height:240px}.stat-line{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eef0f3;padding:12px 2px;font-size:13px}.stat-line b{font-size:15px}.positive{color:#008a36}.bars{height:175px;display:flex;margin-top:14px;gap:7px}.bar-grid{display:flex;flex-direction:column;justify-content:space-between;color:#59687b;font-size:10px}.bar-list{display:flex;flex:1;align-items:end;gap:3px;overflow:hidden;border-bottom:1px solid #e4e8ef;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#edf0f4 25%)}.bar-item{height:100%;flex:1;min-width:6px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;padding-bottom:18px}.bar{width:85%;max-height:calc(100% - 18px);background:linear-gradient(#f85d63,#e5252c);border-radius:3px 3px 0 0}.bar-item small{position:absolute;bottom:0;font-size:9px}.donut-layout{display:flex;align-items:center;gap:17px;margin-top:25px;justify-content:center}.donut{height:145px;width:145px;border-radius:50%;display:grid;place-items:center;flex:none}.donut>div{width:100px;height:100px;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut strong{font-size:27px}.donut small{font-weight:650}.donut-legend{flex:1;min-width:100px}.donut-legend>div{display:flex;align-items:center;gap:7px;margin:12px 0;font-size:12px}.donut-legend b{margin-left:auto}.dot{width:12px;height:12px;border-radius:50%;flex:none}.workdot{background:#45bf8a}.offdot{background:#fa6065}.vacdot{background:#f8c925}.sickdot{background:#a778e9}.bottom-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.bottom-grid .panel{min-height:180px}.text-link{color:#df0010;font-size:13px;font-weight:700}.quick-actions{display:flex;flex-direction:column;gap:9px;margin-top:15px}.legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.legend h3{margin-right:12px}.legend span{display:flex;align-items:center;gap:7px;font-size:12px}.legend-chip{font-size:11px;font-style:normal;font-weight:700;border-radius:9px;padding:9px}.legend-chip.missing{background:#eff1f5;color:#56616d}.empty{text-align:center;color:#7b8492;padding:30px!important}@media(max-width:1300px){.top-title strong{font-size:20px}.top-title span{font-size:12px}.top-right{gap:6px}.top-month,.admin-pill{padding:10px}.kpi{gap:10px}.kicon{width:45px;height:45px;font-size:27px}.kpi strong{font-size:23px}.insights{grid-template-columns:1fr 1fr}.insights .insight:last-child{grid-column:1/-1}.donut-layout{justify-content:flex-start}}@media(max-width:960px){.top{height:auto;min-height:72px;padding:10px 14px;gap:10px;flex-wrap:wrap}.brand{min-width:unset}.brandmark{font-size:32px}.brandname{font-size:16px}.top-sep{display:none}.top-title strong{font-size:17px}.top-title span{display:none}.top-right{width:100%;margin:0}.top-month,.admin-pill{font-size:12px;padding:7px 10px}.sidebar{position:static;width:auto;padding:8px 12px;border:0}.side-nav{flex-direction:row;overflow-x:auto}.side-nav a{padding:10px 12px;font-size:13px;white-space:nowrap}.side-bottom{display:none}.dashboard{margin:0;max-width:100%;padding:12px}.kpis{grid-template-columns:repeat(2,1fr)}.panel-heading{flex-wrap:wrap}.insights{grid-template-columns:1fr 1fr}}@media(max-width:600px){.kpis{gap:8px}.kpi{min-height:72px;padding:10px}.kpi strong{font-size:21px}.kpi small{font-size:11px}.kicon{width:35px;height:35px;font-size:22px}.panel{padding:13px}.insights,.bottom-grid{grid-template-columns:1fr}.insights .insight:last-child{grid-column:auto}.panel h2{font-size:18px}.view-switch button{padding:8px 11px}.donut-layout{justify-content:center}}
