.an-root{min-width:0;padding-bottom:24px}.an-root .an-filters{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) auto;gap:12px;align-items:end;margin:20px 0}.an-filters label{display:grid;gap:6px;font-size:11px;color:var(--muted)}.an-filters select{width:100%;min-width:0}.an-root button{cursor:pointer}.an-root button:focus-visible,.an-root select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.an-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);margin-bottom:20px}.an-root .an-metric{display:grid;gap:10px;text-align:left;padding:18px 16px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);min-width:0}.an-metric:last-child{border:0}.an-metric span{font-size:11px;color:var(--muted)}.an-metric strong{font-size:clamp(19px,1.6vw,29px);letter-spacing:-.7px;white-space:nowrap}.an-metric small{font-size:10px;color:var(--muted);line-height:1.5}.an-metric:hover{background:var(--subtle)}.an-metric[data-an-metric=overdue] strong{color:#dd6679}.an-metric[data-an-metric=fot] strong{color:var(--accent)}.an-overview{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,.85fr);gap:20px}.an-root .an-panel{padding:20px;margin:0;min-width:0;border-radius:12px;overflow:hidden}.an-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:10px}.an-root h2{font-size:16px;line-height:1.4;margin:0}.an-heading p{font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0 0}.an-root .an-switch{display:flex;gap:3px;padding:3px;background:var(--subtle);border:1px solid var(--line);border-radius:8px;width:max-content;max-width:100%}.an-root .an-switch button{padding:6px 12px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}.an-root .an-switch button.selected{background:var(--surface);color:var(--accent);box-shadow:0 1px 5px #0002}.an-chart-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;margin:14px 0 4px}.an-chart-tools label{display:flex;gap:8px;align-items:center}.an-chart-tools select{padding:5px 9px;font-size:11px}.an-chart{height:300px;width:100%;min-width:0}.an-donut{height:200px}.an-statuses{display:grid;gap:2px}.an-root .an-statuses button{display:flex;align-items:center;gap:9px;border:0;background:transparent;border-radius:5px;padding:6px 9px;font-size:11px;text-align:left}.an-statuses i{width:7px;height:7px;border-radius:50%}.an-statuses b{margin-left:auto}.an-statuses button:hover{background:var(--subtle)}.an-help,.an-footnote{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0 0}.an-footnote{margin-top:18px;max-width:1000px}.an-departments{margin-top:20px!important}.an-subtle{color:var(--muted);font-size:11px;white-space:nowrap}.an-table-scroll{overflow:auto;max-width:100%}.an-root table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px}.an-root th{text-transform:none;font-weight:500;color:var(--muted);font-size:10px;background:var(--subtle);white-space:nowrap}.an-root th,.an-root td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:right}.an-root th:first-child,.an-root td:first-child{text-align:left}.an-root td small{display:block;font-size:10px;line-height:1.7;color:var(--muted)}.an-root td button{padding:5px 9px;background:transparent;border:0;color:var(--text);font-size:11px}.an-root td small button{padding:2px 0;color:var(--muted);font-size:10px}.an-root td button:hover{color:var(--accent);background:var(--subtle)}.an-root .an-state-cell{min-width:45px;width:100%;color:var(--text);background:color-mix(in srgb,var(--state-color) var(--state-share),transparent);border-radius:5px}.an-matrix td:first-child{min-width:225px;max-width:310px}.an-matrix td:not(:first-child){min-width:65px}.an-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:20px}.an-work-map{height:370px}.an-ranking{height:310px}.an-all-workers{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.an-all-workers summary{font-size:11px;cursor:pointer;color:var(--accent)}.an-all-workers .an-table-scroll{max-height:370px;margin-top:12px}.an-tip{min-width:235px}.an-tip b{font-size:12px}.an-tip dl{display:grid;grid-template-columns:1fr auto;gap:8px 22px;margin:12px 0}.an-tip dt{color:inherit;opacity:.8}.an-tip dd{font-weight:600;margin:0;text-align:right}.an-tip small{font-size:10px;opacity:.7}.an-root .an-detail{position:fixed;z-index:60;top:24px;right:24px;bottom:24px;width:min(540px,calc(100vw - 32px));padding:20px;box-shadow:0 12px 65px #0006;border:1px solid var(--line);border-radius:12px;overflow:auto;background:var(--surface)}.an-detail[hidden]{display:none}.an-detail>header{position:sticky;top:-20px;background:var(--surface);display:flex;justify-content:space-between;align-items:start;gap:12px;border-bottom:1px solid var(--line);padding:20px 0 12px;margin-top:-20px;z-index:1}.an-detail header p{color:var(--muted);font-size:11px;line-height:1.5}.an-detail header button{font-size:22px;line-height:24px;padding:3px 10px}.an-record{display:flex;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}.an-record>button{font-size:11px;padding:5px;white-space:nowrap;color:var(--accent)}.an-record>div{flex:1;min-width:0;overflow-wrap:anywhere}.an-record strong{font-weight:500;line-height:1.6}.an-record small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px}.an-record>span{white-space:nowrap;text-align:right;font-size:10px;line-height:1.7}
@media(min-width:1800px){.an-chart{height:330px}.an-donut{height:210px}.an-work-map{height:390px}.an-ranking{height:330px}}
@media(max-width:1200px){.an-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.an-metric:nth-child(3){border-right:0}.an-metric:nth-child(-n+3){border-bottom:1px solid var(--line)}.an-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}.an-overview{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.an-heading{flex-wrap:wrap}.an-work-map{height:340px}}
@media(max-width:850px){.an-overview,.an-comparison{grid-template-columns:1fr}.an-overview>section:last-child{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:10px}.an-overview>section:last-child .an-heading{grid-column:1/-1}.an-donut{height:180px}.an-root .an-panel{padding:16px}.an-matrix td:first-child{min-width:200px}.an-ranking{height:310px}}
@media(max-width:520px){.an-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.an-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.an-root .an-metric{padding:13px 11px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.an-metric:nth-child(2n){border-right:0}.an-metric:nth-last-child(-n+2){border-bottom:0}.an-metric strong{font-size:21px}.an-metric small{font-size:9px}.an-overview>section:last-child{grid-template-columns:130px 1fr}.an-donut{height:150px}.an-heading h2{font-size:15px}.an-subtle{white-space:normal}.an-root .an-detail{top:12px;right:12px;bottom:12px;width:calc(100vw - 24px);padding:16px}.an-detail>header{top:-16px}.an-record{gap:8px}.an-work-map{height:370px}.an-tip{min-width:200px}.an-chart-tools{flex-wrap:wrap}}
