* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #f2f4f7; color: #22303f; display: flex; min-height: 100vh; }
aside { width: 260px; background: #fff; border-right: 1px solid #e1e6ec; padding: 16px 10px; flex-shrink: 0; }
.tabs { display: flex; gap: 6px; margin: 0 8px 12px; }
.tab { flex: 1; padding: 7px 0; border: 1px solid #dbe3ec; background: #f4f6f9; border-radius: 6px; cursor: pointer; font-family: Arial; font-size: 12px; color: #55606e; }
.tab.active { background: #2f6db6; border-color: #2f6db6; color: #fff; }
.empbtn { display: block; width: 100%; text-align: left; border: none; background: none; padding: 7px 8px; border-radius: 6px; cursor: pointer; font-family: Arial; font-size: 13px; }
.empbtn:hover { background: #eef3f9; }
.empbtn.active { background: #2f6db6; color: #fff; }
.empbtn .mini { display: block; height: 4px; border-radius: 2px; background: #e3e8ee; margin-top: 4px; overflow: hidden; }
.empbtn .mini i { display: block; height: 100%; background: #2f6db6; }
.empbtn.active .mini i { background: #fff; }
.empbtn .pct { color: #7a8798; font-size: 11px; }
.empbtn.active .pct { color: #d7e4f5; }
.brow { display: flex; align-items: center; gap: 8px; }
.brow .bname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ava.ini { display: inline-flex; align-items: center; justify-content: center; background: #dbe3ec; color: #55606e; font-size: 11px; font-weight: bold; }
.hava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hrow { display: flex; align-items: center; gap: 12px; }
main { flex: 1; padding: 22px 28px; max-width: 1150px; }
h1 { font-size: 22px; }
.sub { color: #7a8798; font-size: 12px; margin: 4px 0 18px; }
section { background: #fff; border: 1px solid #e1e6ec; border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; }
section h2 { font-size: 15px; margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.card { background: #fff; border: 1px solid #e1e6ec; border-radius: 10px; padding: 12px 14px; }
.card .v { font-size: 21px; font-weight: bold; }
.card .t { font-size: 11px; color: #7a8798; margin-top: 3px; line-height: 1.3; }
.card.warn .v { color: #c62828; }
.card.good .v { color: #1c7c4e; }
#heatwrap { overflow-x: auto; }
.hm { border-spacing: 2px; border-collapse: separate; }
.hm td { width: 15px; height: 15px; border-radius: 3px; background: #f6f7f8; }
.hm td.mlabel, .hm td.wd { background: none; font-size: 10px; color: #7a8798; width: auto; padding-right: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: #55606e; margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
#monthly, #omonthly { display: flex; align-items: flex-end; gap: 26px; padding: 6px 4px 0; }
.mcol { text-align: center; font-size: 11px; color: #55606e; }
.mbars { display: flex; align-items: flex-end; gap: 4px; height: 130px; }
.mbars .b { width: 26px; border-radius: 4px 4px 0 0; position: relative; }
.b.plan { background: #dbe3ec; }
.b.fact { background: #2f6db6; }
.b.fact .ot { position: absolute; top: 0; left: 0; right: 0; background: #c62828; border-radius: 4px 4px 0 0; }
.b .num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #55606e; white-space: nowrap; }
.util { margin-top: 5px; font-weight: bold; }
#dyn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spark { border: 1px solid #eef1f5; border-radius: 8px; padding: 8px 10px 4px; }
.spark .st { font-size: 11px; color: #55606e; margin-bottom: 2px; }
.tl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tl th { font-size: 11px; color: #7a8798; font-weight: normal; padding: 3px 6px; text-align: center; }
.tl td { padding: 3px 6px; }
.tl td.obj { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl td.cell { text-align: center; width: 64px; border-radius: 4px; }
.tl tr.noobj td { color: #8a939e; font-style: italic; }
.tt { width: 100%; border-collapse: collapse; font-size: 12px; }
.tt th { font-size: 11px; color: #7a8798; font-weight: normal; text-align: left; padding: 4px 8px; border-bottom: 1px solid #e1e6ec; }
.tt td { padding: 5px 8px; border-bottom: 1px solid #f0f2f5; }
.tt td.late { color: #b71c1c; font-weight: bold; white-space: nowrap; }
.tt td.okk { color: #1c7c4e; white-space: nowrap; }
.tstat { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12px; color: #55606e; }
.tstat b { font-size: 17px; display: block; }
.tstat .late b { color: #c62828; }
.tstat .good b { color: #1c7c4e; }
.note { font-size: 11px; color: #7a8798; margin-top: 8px; line-height: 1.5; }
details { margin-top: 6px; font-size: 12px; color: #55606e; }
details summary { cursor: pointer; color: #2f6db6; }
details li { margin: 4px 0 4px 18px; }
