.report-controls{margin-bottom:24px}
.report-modes{display:flex;gap:5px;padding:5px;border:1px solid var(--line);border-radius:11px;background:#eaf0e6;width:fit-content;max-width:100%;margin-bottom:20px}
.report-modes>button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:7px;background:transparent;color:#718169;font-size:12px;font-weight:600;line-height:1.5}
.report-modes>button.active{border-color:#d7e2cf;background:white;color:var(--ink);box-shadow:0 2px 6px #19333b06}
.report-modes>button:hover{color:var(--teal)}
.report-period-navigation{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:end;gap:12px;width:100%;min-width:0;max-width:580px}
.report-period-arrow{align-self:end;min-width:46px;width:46px;min-height:46px;height:46px;max-height:46px;padding:0;font-size:24px;font-weight:400;line-height:1}
.report-month-control{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;font-size:11px;line-height:1.5;color:var(--muted)}
.report-month-control>input{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:46px;height:46px;max-height:46px;padding:10px 12px;font-size:16px;color:var(--ink);-webkit-appearance:none;appearance:none}
.report-month-control>input::-webkit-date-and-time-value{min-width:0;text-align:left}
.report-week-controls{display:flex;align-items:end;gap:15px;flex-wrap:wrap}
.report-week-controls>.btn{min-height:46px;font-size:11px}
.report-week-label{display:grid;align-content:center;gap:7px;min-height:64px;min-width:0;padding:0 5px}
.report-week-label>span{font-size:10px;color:var(--muted);line-height:1.5}
.report-week-label>strong{font-size:15px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.report-custom-controls>.date-controls{width:fit-content;max-width:100%;gap:10px}
.report-custom-controls input{min-height:46px;font-size:16px}
.report-custom-controls .btn{min-height:46px}
.report-selected-period{line-height:1.7}
.report-client-link{display:flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:0;border:0;background:transparent;color:var(--ink);text-align:left;font-size:12px;line-height:1.6}
.report-client-link>span:nth-child(2){min-width:0;white-space:normal;overflow-wrap:anywhere}
.report-client-link>.code{flex-shrink:0}
.report-client-chevron{padding-left:4px;color:var(--teal);font-size:21px}
.report-clickable-table tr[data-report-client]{cursor:pointer}
.report-clickable-table tr[data-report-client]:hover{background:#f7fbf2}
.report-clickable-table tr[data-report-client]:focus-within{background:#f0f7e9}
@media(max-width:700px){.report-modes{width:100%;gap:3px;padding:4px}.report-modes>button{flex:1;min-width:0;padding:10px 7px;font-size:12px}.report-period-navigation{width:100%;gap:9px}.report-month-control{max-width:none}.report-week-controls{display:block}.report-week-controls>.btn{width:100%;margin-top:12px}.report-week-label{flex:1;padding:0;text-align:center}.report-week-label>strong{font-size:13px}.report-custom-controls>.date-controls{width:100%}.report-clickable-table .report-client-link{width:100%;min-height:44px;flex-wrap:wrap;gap:8px;font-size:13px}.report-client-link>span:nth-child(2){flex:1}.report-client-link>.report-client-chevron{margin-left:auto}.report-clickable-table tr[data-report-client]:active{background:var(--teal-soft)}}

.reports-page>.page-heading{margin-bottom:16px}
.report-controls{margin-bottom:16px}
.report-modes{padding:3px;gap:4px;margin-bottom:12px}
.report-modes>button{min-height:44px;padding:8px 16px}
.report-filters-row{display:flex;align-items:end;justify-content:space-between;gap:12px 18px;flex-wrap:wrap}
.report-period-controls{flex:1 1 280px;min-width:0;max-width:580px}
.report-period-navigation{gap:8px}
.report-month-control{gap:5px}
.report-week-controls{gap:10px}
.report-week-label{gap:4px;min-height:56px}
.report-sort-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:285px}
.report-sort-controls>label{display:grid;min-width:0;gap:5px;color:var(--muted);font-size:10px;line-height:1.5}
.report-sort-controls select{display:block;min-width:0;width:100%;min-height:44px;padding:9px 10px;background:white;font-size:13px}
.report-pagination .btn{min-width:44px;min-height:44px}
.report-search{width:100%;max-width:480px;min-width:0;margin-top:12px}
.report-search input{display:block;width:100%;max-width:100%;min-width:0;min-height:44px}
.report-results-retry{margin:0 18px 18px}
@media(max-width:700px){.reports-page>.page-heading{margin-bottom:14px}.report-filters-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.report-period-controls{width:100%;max-width:none}.report-modes{padding:3px;margin-bottom:10px}.report-modes>button{padding:8px 6px}.report-sort-controls{min-width:0;gap:8px}.report-sort-controls select{font-size:16px}.report-week-controls>.btn{margin-top:8px}.report-week-label{min-height:54px}.report-pagination{gap:8px}.report-pagination .pagination{gap:7px}}
