.history-report{min-width:0;color:#edf5fb;font-family:inherit;font-size:14px;line-height:1.5}.history-report *{box-sizing:border-box}.hr-heading{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:16px}.hr-heading h2{font-size:25px;margin:3px 0 4px}.hr-heading p,.hr-export p{margin:4px 0;color:#a8bfd0;font-size:12px}.hr-eyebrow{color:#ffda59;letter-spacing:1.6px;font-size:10px}.hr-count{padding:7px 10px;border:1px solid #365167;border-radius:7px;white-space:nowrap;color:#ffdf78;font-size:12px}.hr-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#0c2436;padding:16px;border:1px solid #305066;border-radius:10px}.hr-search{grid-column:span 2}.history-report label{display:block;font-size:12px;color:#c9d9e6}.history-report input,.history-report select{display:block;width:100%;min-width:0;min-height:43px;border:1px solid #426177;border-radius:7px;background:#071b2b;color:#f0f6ff;padding:9px 10px;margin:5px 0 0;font:inherit}.history-report button{cursor:pointer;min-height:42px;border-radius:7px;padding:9px 14px;border:1px solid #ffda54;background:linear-gradient(120deg,#ffe178,#ffc62d);color:#112233;font-size:12px;font-weight:650}.history-report button.secondary{background:#142f42;color:#e4eef6;border-color:#3b5b70}.history-report button:disabled{opacity:.5;cursor:not-allowed}.history-report :focus-visible{outline:3px solid #ffdc65;outline-offset:3px}.hr-filter-actions{display:flex;align-items:end;gap:8px;grid-column:span 2}.hr-status{padding:8px 0;min-height:34px;color:#bdd0de;margin:6px 0}.hr-status.hr-error{color:#ffbac0}.hr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hr-stats>div{padding:16px;border:1px solid #325369;border-radius:9px;background:linear-gradient(140deg,#102b3e,#081d2c)}.hr-stats span{display:block;color:#abc1d2;font-size:11px}.hr-stats strong{display:block;font-size:24px;margin-top:4px;color:#ffda53;overflow-wrap:anywhere}.hr-note{color:#a5bcce;font-size:11px;line-height:1.7;margin:14px 0}.hr-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.hr-selection>label{margin-left:auto;display:flex;align-items:center;gap:8px}.hr-selection select{width:auto;margin:0}.hr-selected{font-size:12px;color:#ffdb63}.hr-table-wrap{overflow:auto;max-width:100%;border:1px solid #355168;border-radius:8px}.hr-table{border-collapse:collapse;width:100%;min-width:820px;text-align:left;margin:0}.hr-table th{background:#173146;color:#b9ccdc;font-size:10px;text-transform:uppercase;letter-spacing:.3px;padding:11px}.hr-table td{padding:12px 10px;border-bottom:1px solid #d9e4ee;background:#f7fafc;color:#17354e;font-size:12px;vertical-align:top;overflow-wrap:anywhere}.hr-table tr:nth-child(even) td{background:#edf3f8}.hr-table tr.hr-row-selected td{background:#fff1ba}.hr-table small{display:block;color:#516b80;font-size:10px;margin-top:3px}.hr-table input[type=checkbox],.hr-columns input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#e0af18}.hr-quality{display:inline-block;border-radius:5px;padding:3px 7px;background:#d9f5e9;color:#16704c;white-space:nowrap;font-size:10px}.hr-quality.review{background:#fff0c4;color:#815c08}.hr-pages{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:14px 0;color:#b9cede;font-size:12px}.hr-export{margin-top:22px;padding:18px;border:1px solid #786b32;border-radius:10px;background:#0e2533}.hr-export h3{margin:0;font-size:17px}.hr-export-options{display:grid;grid-template-columns:1fr 1.2fr auto;gap:12px;align-items:end;margin-top:14px}.hr-column-options{margin-top:14px;color:#c3d6e5;font-size:12px}.hr-column-options summary{cursor:pointer;min-height:35px}.hr-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}.hr-columns label{display:flex;gap:8px;align-items:center}.hr-export-info{margin-top:12px!important;color:#ffdd6e!important}.hr-empty{padding:28px;text-align:center;background:#112b3e;border-radius:8px;color:#d2e2ed}.history-report[aria-busy=true] .hr-table-wrap{opacity:.55}
@media(max-width:1100px){.hr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-export-options{grid-template-columns:1fr 1fr}.hr-download{grid-column:1/-1}.hr-columns{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hr-heading{flex-wrap:wrap}.hr-heading h2{font-size:22px}.hr-filters{padding:12px;gap:10px}.hr-filters>label:nth-child(4){grid-column:1/-1}.hr-filter-actions button{flex:1}.hr-stats>div{padding:12px}.hr-stats strong{font-size:20px}.hr-table{display:block;min-width:0}.hr-table thead{display:none}.hr-table tbody{display:grid;gap:10px}.hr-table tr{display:grid;grid-template-columns:1fr 1fr;background:#f7fafc;border-radius:8px;padding:9px;position:relative}.hr-table td{display:block;border:0;background:transparent!important;padding:7px;min-width:0}.hr-table td:before{content:attr(data-label);display:block;font-size:9px;color:#587186;margin-bottom:4px;text-transform:uppercase}.hr-table td:first-child{position:absolute;right:12px;top:13px;padding:0}.hr-table td:first-child:before{display:none}.hr-table td:nth-child(2){grid-column:1/-1;padding-right:32px}.hr-table td:nth-child(7){grid-column:1/-1}.hr-table tr.hr-row-selected{background:#fff1ba}.hr-table-wrap{border:0}.hr-selection{gap:8px}.hr-selection>label{margin-left:0;width:100%;justify-content:space-between}.hr-pages{flex-wrap:wrap}.hr-export{padding:12px}.hr-export-options{grid-template-columns:1fr}.hr-columns{grid-template-columns:1fr}.hr-count{white-space:normal}.hr-pages button{padding:8px}.hr-filters label{font-size:11px}}

.hr-table td:first-child label{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;cursor:pointer}.hr-table input[type=checkbox]{color-scheme:light}
.history-report .hr-filters{grid-template-columns:2fr 1fr 1fr}.history-report .hr-extra-filters{grid-column:1/-1}.history-report .hr-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:16px}.history-report .hr-filter-actions{grid-column:1/-1;justify-content:flex-end}.history-report details.hr-export>summary{font-size:16px}.history-report details.hr-export .disclosure-body>div:first-child{display:none}.history-report .hr-status.hr-error{position:sticky;top:8px;z-index:6;box-shadow:0 8px 24px #0006}.history-report .hr-filter-grid label{min-width:0}.history-report .hr-column-options[hidden]{display:none!important}
@media(max-width:700px){.history-report .hr-filters{grid-template-columns:1fr 1fr}.history-report .hr-filters>label:first-child{grid-column:1/-1}.history-report .hr-filter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.history-report .hr-filter-grid{grid-template-columns:1fr}.history-report .hr-export-options{gap:12px}}

.history-report .hr-search{grid-column:auto}.history-report .hr-table td{background:#0d2435;color:#eaf4fc;border-color:#2b4659}.history-report .hr-table tr:nth-child(even) td{background:#102b3c}.history-report .hr-table tr.hr-row-selected td{background:#3b3520;color:#fff8dd}.history-report .hr-table small{color:#abc1d2}.history-report .hr-quality{background:#133d31;color:#a3f0c4}.history-report .hr-quality.review{background:#413416;color:#ffe1a2}.history-report .hr-table input[type=checkbox]{color-scheme:dark}
@media(max-width:700px){.history-report .hr-filters>.hr-search{grid-column:1/-1}.history-report .hr-table tr{background:#0d2435;border-color:#2b4659}.history-report .hr-table td::before{color:#9eb9cc}}
/* Human billing decisions use modal warnings, with safe mobile wrapping. */
.hr-quality[role=button]{cursor:pointer}.hr-quality[role=button]:hover{filter:brightness(1.1)}
.hr-review-options{display:grid;gap:12px}.hr-review-options p{color:#b4c7d9;font-size:14px;margin:8px 0}.hr-review-options button{min-height:44px}
.hr-review-dialog{width:min(560px,calc(100% - 28px));max-height:85vh;overflow:auto;background:#0b1e36;color:#f8fafc;border:1px solid #345274;border-radius:20px;padding:24px;font-family:system-ui}
.hr-review-dialog::backdrop{background:#000a}.hr-review-dialog label{display:grid;gap:8px;margin:16px 0}.hr-review-dialog input,.hr-review-dialog textarea{padding:12px;border:1px solid #345274;border-radius:10px;background:#061427;color:#fff;font:inherit;max-width:100%;width:100%}.hr-review-dialog input[type=checkbox]{width:24px;height:24px}.hr-review-dialog textarea{min-height:90px}.hr-review-actions,.hr-row-actions{display:flex;gap:8px;flex-wrap:wrap}.hr-review-actions{margin-top:20px}.hr-row-actions button{font-size:12px;padding:9px}.hr-row-actions small{width:100%;overflow-wrap:anywhere}.hr-danger{background:#6b2030!important;color:#ffe4e8!important;border:1px solid #ce647c!important}.hr-review-dialog button{padding:12px;border-radius:12px;cursor:pointer;background:#ffc21c;color:#07111e;font:inherit;font-weight:700}.hr-review-dialog .secondary{background:#142b49;color:#fff}.hr-review-dialog h2{font-size:24px}.hr-review-dialog p{line-height:1.6;overflow-wrap:anywhere}

.hr-time-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.hr-time-stats>div{padding:16px;border:1px solid #325369;border-radius:9px;background:#102b3e}.hr-time-stats span,.hr-time-stats small{display:block;color:#abc1d2;font-size:12px}.hr-time-stats strong{display:block;font-size:23px;color:#ffda53;overflow-wrap:anywhere}.hr-table td[data-label="Czasy"]{min-width:180px}@media(max-width:600px){.hr-time-stats{grid-template-columns:1fr}.hr-table td[data-label="Czasy"],.hr-table td[data-label="Weryfikacja"]{grid-column:1/-1;min-width:0}}

.hr-row-times>div{display:flex;justify-content:space-between;gap:12px;margin:5px 0;font-size:12px}.hr-row-times strong{white-space:nowrap}.hr-row-times span{color:#b7cddd}.hr-row-times small{font-size:11px;line-height:1.6}
.hr-help,.hr-selection-options{margin:12px 0;color:#a8bfd0;font-size:12px}.hr-help>summary,.hr-selection-options>summary,.hr-time-details>summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 0}.hr-help[open],.hr-selection-options[open]{border-bottom:1px solid #2b4659;padding-bottom:8px}.hr-time-details{color:#abc1d2;font-size:11px}.hr-time-details>summary{padding:10px 0}.hr-time-stats>div{padding:12px 16px}.hr-time-stats strong{font-size:21px}
@media(max-width:600px){.hr-time-stats{grid-template-columns:1fr;gap:0;border:1px solid #325369;border-radius:9px;background:#102b3e}.hr-time-stats>div{border:0;border-radius:0;background:transparent;padding:10px 12px;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center}.hr-time-stats>div+div{border-top:1px solid #2b4659}.hr-time-stats strong{font-size:18px}.hr-time-stats small{grid-column:1/-1;font-size:11px}.hr-time-stats small:empty{display:none}}
