.employee-analytics { color: #172d49; min-width: 0; }
.employee-analytics *, .employee-dialog * { box-sizing: border-box; }
.employee-tabs { display: flex; gap: 8px; border-bottom: 1px solid #dce4ed; margin-bottom: 18px; }
.employee-tabs [role="tab"] { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #65748a; padding: 10px 15px; font: inherit; font-size: 14px; cursor: pointer; }
.employee-tabs [aria-selected="true"] { border-bottom-color: #10b981; color: #172d49; font-weight: 700; }
.employee-filters { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(115px, .75fr) auto; align-items: end; gap: 14px; margin-bottom: 18px; }
.employee-filters label, .employee-week-picker { display: grid; gap: 5px; color: #5c6d85; font-size: 12px; font-weight: 600; min-width: 0; }
.employee-filters select, .employee-week-picker select { display: block; min-width: 0; width: 100%; padding: 9px 30px 9px 10px; border: 1px solid #dce4ed; border-radius: 7px; color: #172d49; background-color: #fff; font: inherit; font-size: 13px; line-height: 1.3; }
.employee-refresh { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-bottom: 1px; }
.employee-refresh small { color: #6c7889; font-size: 11px; white-space: nowrap; }
.employee-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dce4ed; border-radius: 7px; background: #fff; color: #354966; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 7px 11px; cursor: pointer; }
.employee-button:hover { background: #f3f7fa; border-color: #adbbc9; }
.employee-analytics button:disabled, .employee-dialog button:disabled { cursor: default; }
.employee-button:disabled { opacity: .6; }
.employee-analytics :focus-visible, .employee-dialog :focus-visible { outline: 2px solid #097d76; outline-offset: 3px; }
.employee-panel { min-width: 0; padding: 16px; border: 1px solid #dce4ed; border-radius: 10px; background: #fff; margin-bottom: 16px; }
.employee-section-heading { margin-bottom: 14px; }
.employee-section-heading h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.employee-section-heading p { margin: 3px 0 0; font-size: 12px; color: #6c7889; }
.employee-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.employee-chart-card { display: flex; flex-direction: column; min-width: 0; padding: 13px; border: 1px solid #dce4ed; border-top: 3px solid #e5007d; border-radius: 7px; background: #fff; }
.employee-chart-card > header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 9px; }
.employee-person { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: #172d49; text-align: left; }
.employee-person > span:last-child { overflow-wrap: anywhere; }
h3.employee-person { margin: 0; flex: 1; font-size: 13px; line-height: 1.35; }
.employee-avatar { display: inline-grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 50%; background: #edf2ff; color: #233968; font-size: 12px; font-weight: 700; }
.employee-archived { display: block; font-size: 10px; color: #6c7889; font-weight: 400; }
.employee-week-total { margin-left: auto; text-align: right; }
.employee-week-total strong { display: block; font-size: 20px; line-height: 1.1; white-space: nowrap; }
.employee-week-total small { display: block; font-size: 10px; color: #6c7889; margin-top: 4px; }
.employee-chart-card .workboard-chart { margin: 5px 0; height: 160px; }
.employee-chart-card .workboard-chart-line, .employee-chart-card .workboard-chart-dot { stroke: #e5007d; }
.employee-chart-card footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.employee-chart-card footer > span { color: #6c7889; font-size: 11px; }
.employee-note { margin: 12px 0 0; color: #6c7889; font-size: 11px; line-height: 1.5; }
.employee-scope-note { margin: -6px 0 12px; color: #6c7889; font-size: 11px; }
.employee-empty { margin: 0; padding: 26px 12px; text-align: center; color: #6c7889; font-size: 14px; grid-column: 1 / -1; }
.employee-error { padding: 15px; border: 1px solid #f4d7da; border-radius: 8px; background: #fffafb; color: #a52a40; }
.employee-error p { margin: 0 0 10px; font-size: 13px; }
.employee-attention-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.employee-attention-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 16px; border: 1px solid #dce4ed; border-radius: 9px; background: #fff; color: #172d49; font: inherit; cursor: pointer; text-align: left; }
.employee-attention-tile:not(:disabled):hover { box-shadow: 0 2px 8px #172d4910; border-color: #b7c4d2; }
.employee-attention-tile strong { font-size: 30px; line-height: 1.2; }
.employee-attention-tile span { font-size: 13px; }
.employee-tile-late { background: #fff4f6; border-color: #f4d7da; }
.employee-tile-late strong { color: #b32849; }
.employee-tile-today { background: #fffbf2; border-color: #f2e4c8; }
.employee-tile-today strong { color: #966515; }
.employee-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #e1e8f0; border-radius: 7px; }
.employee-table { width: 100%; min-width: 740px; border-collapse: collapse; font-size: 13px; }
.employee-table th, .employee-table td { border-bottom: 1px solid #e8edf3; padding: 8px 10px; text-align: center; }
.employee-table th { text-transform: none; }
.employee-table thead th { background: #f7f9fc; color: #596a84; font-size: 11px; font-weight: 600; }
.employee-table th:first-child { text-align: left; }
.employee-table tbody th { max-width: 220px; font-weight: 500; }
.employee-table tr:last-child th, .employee-table tr:last-child td { border-bottom: 0; }
.employee-count { min-width: 34px; min-height: 30px; padding: 3px 10px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: #233968; font: inherit; cursor: pointer; }
.employee-count:not(:disabled):hover { background: #edf4f7; border-color: #d4e1e7; }
.employee-count.is-late { background: #ffe8ed; color: #a42643; font-weight: 700; }
.employee-performance { border: 0; background: transparent; color: #233968; padding: 3px; font: inherit; text-align: left; cursor: pointer; }
.employee-performance strong, .employee-performance small { display: block; }
.employee-performance small { color: #6c7889; font-size: 10px; margin-top: 1px; white-space: nowrap; }
.employee-trend-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.employee-trend-heading > div:last-child { text-align: right; font-size: 14px; }
.employee-trend-heading > div:last-child small { display: block; margin-top: 3px; color: #6c7889; font-size: 11px; }
.employee-trend-chart { display: block; width: 100%; min-width: 450px; }
.employee-trend-scroll { overflow-x: auto; }
.employee-trend-chart line { stroke: #e5eaf0; stroke-width: 1; }
.employee-trend-chart text { fill: #6c7889; font: 11px sans-serif; }
.employee-trend-chart [role="button"] { cursor: pointer; }
.employee-trend-chart [role="button"]:hover { opacity: .78; }
.employee-trend-onTime { fill: #10b981; background: #10b981; }
.employee-trend-late { fill: #ef6688; background: #ef6688; }
.employee-trend-unknown { fill: #9ba9bd; background: #9ba9bd; }
.employee-trend-legend { display: flex; flex-wrap: wrap; gap: 17px; font-size: 12px; }
.employee-trend-legend span { display: inline-flex; align-items: center; gap: 6px; }
.employee-trend-legend i { width: 10px; height: 10px; border-radius: 50%; }
.employee-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); box-sizing: border-box; overflow: auto; padding: 22px; border: 1px solid #dce4ed; border-radius: 12px; background: #fff; color: #172d49; box-shadow: 0 15px 65px #10203933; }
.employee-dialog::backdrop { background: #172d4966; }
.employee-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.employee-dialog > header h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.employee-dialog > header p { margin: 4px 0 0; font-size: 12px; color: #6c7889; }
.employee-dialog > header > button { flex-shrink: 0; }
.employee-daily { border-collapse: collapse; width: 100%; min-width: 0; font-size: 13px; margin-top: 12px; }
.employee-daily th { text-transform: none; }
.employee-daily caption { text-align: left; color: #6c7889; font-size: 12px; padding-bottom: 8px; }
.employee-daily th, .employee-daily td { padding: 7px 5px; border-bottom: 1px solid #e8edf3; text-align: right; }
.employee-daily th:first-child { text-align: left; }
.employee-daily button { border: 0; background: transparent; color: #233968; font: inherit; padding: 4px; border-radius: 4px; text-align: left; cursor: pointer; }
.employee-daily .is-selected { background: #eff9f6; }
.employee-daily button:hover:not(:disabled) { text-decoration: underline; }
.employee-daily button:disabled { color: #6c7889; }
.employee-detail-selection { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.employee-detail-selection h3 { margin: 0; font-size: 15px; }
.employee-detail-total { color: #6c7889; font-size: 12px; margin: 10px 0; }
.employee-task-list { display: grid; gap: 7px; }
.employee-task { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-width: 0; border: 1px solid #e1e8f0; border-radius: 7px; padding: 11px; background: #fff; color: #172d49; font: inherit; text-align: left; cursor: pointer; }
.employee-task:hover { background: #f7f9fc; border-color: #b7c4d2; }
.employee-task > span:first-child { min-width: 0; }
.employee-task strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.employee-task small { display: block; margin-top: 4px; color: #6c7889; font-size: 11px; }
.employee-task > span:last-child { flex-shrink: 0; color: #6c7889; font-size: 11px; }
.employee-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; font-size: 12px; }
.employee-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1250px) { .employee-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .employee-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } .employee-refresh { grid-column: 1 / -1; } }
@media (max-width: 700px) { .employee-card-grid { grid-template-columns: 1fr; } .employee-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .employee-attention-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .employee-trend-heading { flex-wrap: wrap; } .employee-trend-heading > div:last-child { text-align: left; margin-bottom: 10px; } .employee-tabs [role="tab"] { padding: 10px 7px; font-size: 12px; } }
@media (max-width: 400px) { .employee-panel { padding: 11px; } .employee-chart-card { padding: 10px; } .employee-dialog { padding: 14px; } .employee-dialog > header { gap: 9px; } .employee-dialog > header h2 { font-size: 17px; } .employee-task { flex-wrap: wrap; gap: 5px; } .employee-filters { grid-template-columns: 1fr; } .employee-week-total strong { font-size: 18px; } }
