.ear{--ear-line:#e0e7ed;--ear-muted:#66798a;--ear-navy:#213f58;color:#243647;font:13px/1.5 Inter,system-ui,sans-serif;display:flex;flex-direction:column;gap:20px;min-width:0}
.ear *{box-sizing:border-box}
.ear h3,.ear p{margin:0}
.ear button,.ear input,.ear select{font:inherit}
.ear button{cursor:pointer}
.ear button:disabled{opacity:.45;cursor:default}
.ear button:focus-visible,.ear input:focus-visible,.ear select:focus-visible{outline:3px solid #a2c3df;outline-offset:2px}
.ear-card,.ear-controls{border:1px solid var(--ear-line);border-radius:12px;background:#fff;overflow:hidden}
.ear-tabs{display:flex;gap:3px;padding:7px;background:#f3f6f8;border-bottom:1px solid var(--ear-line);flex-wrap:wrap}
.ear-tabs button{background:none;border:0;color:var(--ear-muted);padding:9px 17px;border-radius:7px;font-weight:550;font-size:12px}
.ear-tabs button[aria-current=page]{background:var(--ear-navy);color:#fff}
.ear-control-row{display:flex;align-items:flex-end;gap:15px;padding:18px;flex-wrap:wrap}
.ear-field{display:flex;flex-direction:column;gap:6px;min-width:130px}
.ear-field>span{font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:650;color:var(--ear-muted)}
.ear-field select,.ear-field input,.ear-timeline-filters select{border:1px solid #d7e1e8;border-radius:7px;background:#fff;color:#344d60;height:38px;padding:7px 10px;max-width:100%}
.ear-employee{flex:1;min-width:200px;max-width:330px}
.ear-period-control{display:flex;align-items:flex-end;gap:6px}
.ear-period-control .ear-field{min-width:150px}
.ear-icon-button{height:38px;width:30px;border:1px solid var(--ear-line);border-radius:7px;background:#fff;display:grid;place-items:center;color:#5c7183}
.ear-control-actions{display:flex;gap:8px;margin-left:auto}
.ear-button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d7e1e8;border-radius:7px;padding:8px 13px;background:#fff;color:#4d6377;font-weight:600;font-size:12px}
.ear-primary{color:#fff;background:var(--ear-navy);border-color:var(--ear-navy)}
.ear-button:hover:not(:disabled){filter:brightness(.96)}
.ear-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ear-kpi{padding:19px 20px;border:1px solid var(--ear-line);border-top:3px solid #365d7b;border-radius:11px;background:#fff;min-width:0}
.ear-kpi>div{display:flex;gap:8px;align-items:center;justify-content:space-between;color:#5f7485;font-size:11px;font-weight:550}
.ear-kpi strong{display:block;font-size:25px;line-height:1.25;letter-spacing:-.8px;font-weight:650;margin-top:13px;white-space:normal;overflow-wrap:anywhere}
.ear-kpi p{font-size:10px;color:var(--ear-muted);margin-top:8px}
.ear-tone-green{border-top-color:#659779}
.ear-tone-amber{border-top-color:#dda34c}
.ear-tone-purple{border-top-color:#927bb1}
.ear-report-heading,.ear-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.ear-report-heading h3{font-size:22px;font-weight:650;letter-spacing:-.4px}
.ear-report-heading p{font-size:12px;color:var(--ear-muted);margin-top:3px}
.ear-freshness{display:flex;align-items:center;gap:6px;background:#eef6f1;border:1px solid #dfebe3;color:#587766;border-radius:20px;padding:6px 10px;font-size:10px;white-space:nowrap}
.ear-section-heading{padding:17px 19px;border-bottom:1px solid #edf1f4}
.ear-section-heading h3{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}
.ear-section-heading p{font-size:10px;color:var(--ear-muted);margin-top:4px}
.ear-chart-key{display:flex;gap:15px;font-size:10px;color:var(--ear-muted)}
.ear-chart-key span{display:flex;gap:5px;align-items:center}
.ear-chart-key i{display:block;width:8px;height:8px;background:#365d7b;border-radius:2px}
.ear-chart-key span+span i{background:#e5ae56}
.ear-chart-scroll{padding:20px 16px 10px;overflow:auto}
.ear-chart svg{display:block;width:100%;height:auto}
.ear-count{border-radius:12px;padding:4px 8px;font-size:10px;background:#eff3f6;color:#62788b;white-space:nowrap}
.ear-table-scroll{overflow-x:auto}
.ear table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
.ear th{text-align:left;white-space:nowrap;color:#64798a;background:#f5f7f9;font-size:10px;font-weight:650}
.ear td,.ear th{padding:10px 14px;border-bottom:1px solid #eaf0f4;vertical-align:top}
.ear-overview td:not(:first-child),.ear-overview th:not(:first-child){text-align:right;white-space:nowrap}
.ear-overview td:first-child{min-width:160px}
.ear-overview td button{border:0;background:none;padding:0;color:#335e7f;font-weight:600;text-align:left;text-transform:capitalize}
.ear-overview tbody tr:hover,.ear-selected{background:#eef5fa}
.ear-roster{display:inline-block;font-weight:400;font-size:9px;color:#8b779e;margin-left:7px}
.ear-credit{color:#5b876d}
.ear-overview tfoot td,.ear-overview tfoot th{background:#f1f5f8;font-weight:650;border-top:2px solid #d7e2eb;color:#36516a}
.ear-timeline-filters{display:flex;gap:9px;align-items:center}
.ear-timeline-filters select{height:32px;font-size:10px}
.ear-search{display:flex;gap:6px;align-items:center;border:1px solid var(--ear-line);border-radius:7px;padding:6px 9px;color:var(--ear-muted)}
.ear-search input{border:0;background:none;font-size:10px;width:170px;outline:0}
.ear-timeline-scroll{max-height:690px}
.ear-activities{table-layout:fixed;min-width:940px}
.ear-activities th:nth-child(1){width:74px}
.ear-activities th:nth-child(2){width:72px}
.ear-activities th:nth-child(3){width:85px}
.ear-activities th:nth-child(4){width:160px}
.ear-activities th:nth-child(6){width:92px}
.ear-activities th:nth-child(7){width:105px}
.ear-activities td,.ear-activities th{padding:7px 10px;font-size:10px}
.ear-activities thead{position:sticky;top:0;z-index:1}
.ear-activities td:last-child,.ear-activities td:nth-last-child(2){text-align:right}
.ear-activities tbody tr:nth-child(even):not([class]){background:#f8fafb}
.ear-subject{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ear-outside td{background:#e8ddf5;color:#62259d}
.ear-gap td{padding:7px 10px;text-align:left!important}
.ear-gap-creme td{background:#fff8d6}
.ear-gap-geel td{background:#fff2a8}
.ear-gap-goud td{background:#ffda86}
.ear-gap-oranje td{background:#ffc47f}
.ear-gap-rood td{background:#f3a2a2}
.ear-gap-bands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:18px 19px 12px}
.ear-gap-band{padding:13px 12px 11px;border:1px solid;border-radius:8px;min-width:0;font-variant-numeric:tabular-nums}
.ear-gap-band>span{font-size:11px;font-weight:650;white-space:nowrap}
.ear-gap-band strong{display:flex;gap:5px;align-items:baseline;font-size:26px;line-height:1.3;margin:8px 0}
.ear-gap-band small{font-size:10px;font-weight:450}
.ear-gap-band p{font-size:10px;color:#536575;margin-top:8px}
.ear-band-meter{height:4px;border-radius:4px;background:#ffffff90;overflow:hidden}
.ear-band-meter i{display:block;height:100%;border-radius:4px}
.ear-gap-note{padding:0 19px 16px;font-size:10px;color:var(--ear-muted)}
.ear-lunch td{background:#f9d9e7;text-align:left!important}
.ear-standup td{background:#e8f1f9}
.ear-activities tfoot th,.ear-activities tfoot td{background:#213f58;color:white;font-weight:650;border:0;padding:14px 10px;font-size:11px}
.ear-activities tfoot th{font-size:13px}
.ear-empty{padding:55px 24px;text-align:center}
.ear-empty-icon{width:62px;height:62px;background:#edf3f7;color:#587c98;border-radius:18px;display:grid;place-items:center;margin:0 auto 18px}
.ear-empty h3{font-size:19px;font-weight:600}
.ear-empty p{max-width:430px;margin:9px auto 0;color:var(--ear-muted);font-size:12px}
.ear-empty-tags{display:flex;justify-content:center;gap:7px;margin-top:22px}
.ear-empty-tags span{border:1px solid var(--ear-line);border-radius:20px;padding:4px 10px;font-size:10px;color:#75899a}
.ear-progress{display:flex;align-items:center;gap:13px;padding:22px;color:#42637e}
.ear-progress strong{font-size:12px}
.ear-progress p{font-size:11px;color:var(--ear-muted);margin-top:4px}
.ear-progress>span{margin-left:auto;font-size:10px;color:var(--ear-muted)}
.ear-error,.ear-notice{padding:13px 16px;border:1px solid #ecd2d2;border-radius:9px;background:#fff3f3;color:#8d4545;font-size:12px}
.ear-notice{background:#fff8e9;border-color:#f1dfb7;color:#85652c}
.ear-empty-inline{padding:25px;text-align:center;color:var(--ear-muted);font-size:12px}
.ear-spin{animation:ear-spin 1.1s linear infinite}
@keyframes ear-spin{to{transform:rotate(360deg)}
}
@media(prefers-reduced-motion:reduce){.ear-spin{animation:none}
}
@media(max-width:1100px){.ear-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.ear-gap-bands{grid-template-columns:repeat(3,minmax(0,1fr))}
.ear-control-actions{margin-left:0}
.ear-timeline .ear-section-heading{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){.ear{gap:15px}
.ear-gap-bands{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:8px}
.ear-control-row{padding:14px;gap:12px}
.ear-employee{min-width:100%;max-width:none}
.ear-tabs button{padding:8px 10px;font-size:11px}
.ear-control-actions{width:100%}
.ear-control-actions .ear-primary{flex:1}
.ear-kpis{gap:10px}
.ear-kpi{padding:14px}
.ear-kpi strong{font-size:20px}
.ear-report-heading{align-items:flex-start;flex-direction:column}
.ear-section-heading{padding:14px}
.ear-chart-key{gap:8px;font-size:9px}
.ear-timeline-filters{width:100%;flex-wrap:wrap}
.ear-search{flex:1}
.ear-search input{width:100%}
.ear-progress>span{display:none}
.ear-empty{padding:35px 16px}
}
