:root{color-scheme:light;--border:#d8e3ee;--muted:#526478;--blue:#153e73}*{box-sizing:border-box}body{margin:0;padding:24px;background:#fff;color:#263449;font-family:Arial,Helvetica,sans-serif;font-size:13px}#rang-report{max-width:1440px;margin:auto;padding:16px;border-radius:12px;box-shadow:0 8px 28px #1e355521}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}h1{font-size:19px;font-weight:500;margin:0}.filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;border:1px solid var(--border);background:#f4f8fc;border-radius:9px;margin-bottom:14px}.filter{display:flex;align-items:center;gap:8px;font-size:13px}.filter b{font-weight:500}input,summary,button{font:inherit}input[type=date],summary{padding:6px 9px;border:1px solid #d5e0ec;background:#fff;border-radius:6px;color:#263449}button{border:1px solid #d5e0ec;border-radius:6px;background:#fff;color:var(--blue);padding:7px 12px;cursor:pointer}button:hover{background:#edf4fb}button:disabled{opacity:.5;cursor:default}.drill{all:unset;cursor:pointer;color:inherit}.drill:hover{text-decoration:underline}.drill:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #167bb8;outline-offset:3px}.text-button{border:0;background:none;color:var(--muted);font-size:12px}.employees details{position:relative}.employees summary{cursor:pointer;min-width:160px}.employee-options{position:absolute;left:0;top:calc(100% + 5px);min-width:280px;max-height:300px;overflow:auto;background:#fff;border:1px solid var(--border);border-radius:6px;padding:10px;box-shadow:0 6px 16px #1e355521;z-index:5}.employee-options label{display:flex;align-items:center;gap:8px;padding:6px 0}.scroll{overflow-x:auto}table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid var(--border);border-radius:8px;overflow:hidden}col.calls{width:23%}col.deals{width:28%}col.money{width:21%}th,td{vertical-align:top;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}tr>:last-child{border-right:0}tbody tr:last-child td{border-bottom:0}.group th{color:#fff;text-align:center;padding:11px 8px;font-size:14px;letter-spacing:.03em;font-weight:500}.g-calls{background:#244b89}.g-deals{background:#167bb8}.g-money{background:#087c63}.sub th{background:#edf4fb;text-align:center;padding:12px 9px;font-size:13px;font-weight:500;height:62px}tbody td{padding:13px 13px 14px;font-size:13px;background:#fff}tbody tr:nth-child(even) td{background:#f8fbff}.label{font-weight:500;margin-bottom:8px}.value{font-size:22px;font-weight:500;color:var(--blue);line-height:1.1}.metric-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.metric-line .label{margin-bottom:0}.metric-line .value{font-size:20px;white-space:nowrap}.green{color:#087c63}.details{margin-top:8px;padding-top:7px;border-top:1px solid #e0e8f1;color:var(--muted);font-size:12px;line-height:1.6}.details div{display:flex;justify-content:space-between;gap:8px}.details strong{color:#2d3e51;font-weight:500;white-space:nowrap}.dash{color:#b8c4d0;text-align:center;padding-top:20px}.moneycell{background:#f1fbf7!important}.moneycell .value{font-size:24px;white-space:nowrap}.foot{color:#788697;font-size:11px;margin-top:9px}.notice{padding:10px 14px;background:#f4f8fc;border:1px solid var(--border);border-radius:6px;font-size:13px}.login{max-width:430px;margin:15vh auto}.login h1{margin-bottom:20px}.login label{display:grid;gap:8px;margin-bottom:16px}.login input{padding:10px;border:1px solid var(--border);border-radius:6px}dialog{width:min(1000px,94vw);max-height:85vh;border:1px solid var(--border);border-radius:9px;color:#263449;padding:20px}dialog::backdrop{background:#26344955}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px}h2{font-size:19px;font-weight:500;margin:0}.detail-scroll{overflow:auto;max-height:55vh}.detail-table{min-width:650px}.detail-table th{background:#edf4fb;padding:10px}.detail-table td{overflow-wrap:anywhere}.detail-table a{color:var(--blue)}.pagination{display:flex;gap:10px;margin-top:14px}@media(max-width:620px){body{padding:8px}#rang-report{padding:10px}h1{font-size:17px}.filter{flex-wrap:wrap}.filters{padding:10px}.filter input[type=date]{width:134px}.employee-options{min-width:240px;max-width:calc(100vw - 55px)}.scroll{padding-bottom:6px}.top{align-items:flex-start}.login{margin:12vh 10px}.moneycell .value{font-size:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
select[name=department]{font:inherit;padding:6px 9px;border:1px solid #d5e0ec;background:#fff;border-radius:6px;color:#263449;max-width:280px}
