@media screen {
 .allocation-screen-search {flex-shrink:0;padding:0 10px;background:white;border-bottom:8px solid var(--bg)}
 .allocation-screen-search>.scope-tabs {padding:0;gap:32px}
 .allocation-screen-search>.reference-family {padding:16px 0 12px;gap:8px}
 .allocation-screen-search>.reference-family button {margin:0;border-radius:4px!important;padding:4px 15px;min-height:32px}
 .allocation-screen-search>.filters {padding:14px 40px 12px;border:0;gap:8px;align-items:center}
 .allocation-screen-filters .filter {display:flex;align-items:center;flex-direction:row;gap:4px;font-size:14px}
 .allocation-screen-filters .filter+.filter {margin-left:14px}
 .allocation-screen-filters .range {display:flex;align-items:center;gap:4px;border:1px solid var(--control-line);border-radius:4px;height:32px;padding:0 8px;width:244px}
 .allocation-screen-filters .range input {width:104px;min-width:0;padding:0;border:0;height:28px;box-shadow:none}
 .allocation-screen-filters .allocation-month-range {width:244px;padding:0 9px;gap:8px}
 .allocation-screen-filters .allocation-month-range input {width:84px;flex:1;outline:none}
 .allocation-month-range:focus-within {border-color:var(--blue-hover);box-shadow:var(--focus-ring)}
 .allocation-screen-filters #allocation-calendar {border:0;padding:0;min-height:24px;width:14px;height:24px;box-shadow:none;color:#98a4b0;background:none;flex-shrink:0}
 #allocation-calendar .ui-icon {width:14px;height:14px}
 .allocation-screen-filters .range span {color:#98a4b0;font-size:16px}
 .allocation-screen-filters select {width:244px;max-width:100%;height:32px}
 .allocation-screen-filters button {height:32px;min-height:32px;padding:4px 14px}
 .allocation-screen .table-summary td {position:sticky;bottom:0;background:white;z-index:3;font-weight:400;border-top:1px solid var(--line);height:46px}
 .allocation-screen .table-summary .reference-fixed-left {z-index:4}
 .allocation-screen .table-summary tr:hover>td {background:white}
 .allocation-screen .table-summary td:first-child {text-align:center;white-space:nowrap}
 .allocation-screen .view-controls {margin-left:auto}
 .allocation-screen #main-table th:first-child,.allocation-screen #main-table td:first-child {padding-left:5px;padding-right:5px;text-overflow:clip}
 .allocation-screen #main-table th:first-child .column-label {overflow:visible;white-space:nowrap}
 .allocation-screen .column-options label {display:flex;gap:8px;align-items:center;padding:5px 8px;max-width:370px}
 .allocation-stale {margin:0 6px 8px}
 .allocation-commands:empty {display:none}
 .allocation-month-picker {position:fixed;z-index:1100;width:560px;max-width:calc(100vw - 16px);display:flex;padding:4px;background:white;border-radius:4px;box-shadow:var(--popup-shadow);color:var(--muted)}
 .allocation-month-picker[hidden] {display:none}
 .month-picker-panel {flex:1;min-width:0}
 .month-picker-panel+.month-picker-panel {border-left:1px solid var(--line)}
 .month-picker-header {display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 8px;border-bottom:1px solid var(--line);color:var(--ink)}
 .month-picker-header button {border:0;background:none;box-shadow:none;color:#8a97a3;padding:2px 8px;min-height:30px;font-size:18px}
 .month-picker-header .month-nav-placeholder {visibility:hidden;pointer-events:none}
 .month-picker-header span {font-weight:500}
 .month-picker-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 12px;gap:4px 0}
 .month-picker-grid button {height:36px;min-height:36px;border:0;background:white;box-shadow:none;border-radius:2px;padding:4px 8px;color:#20303f}
 .month-picker-grid button:hover {background:#f2f4f7;color:#20303f}
 .month-picker-grid button.in-range {background:var(--info-bg)}
 .month-picker-grid button.selected {background:var(--blue);color:white}
 .month-picker-grid button:focus-visible {outline:2px solid var(--blue);outline-offset:-2px}
}
@media screen and (max-width:1200px){
 .allocation-screen-search>.filters {padding:12px 4px;flex-wrap:wrap}
 .allocation-screen-filters .filter+.filter {margin-left:8px}
}
@media screen and (max-width:760px){
 .allocation-screen-search>.scope-tabs {gap:16px}
 .allocation-screen-search>.reference-family {padding:10px 0;gap:6px}
 .allocation-screen-search>.reference-family button {padding:4px 8px;font-size:13px}
 .allocation-screen-filters .filter {max-width:100%;width:100%}
 .allocation-screen-filters .filter+.filter {margin-left:0}
 .allocation-screen-filters .range,.allocation-screen-filters select {flex:1;min-width:0;width:auto}
 .allocation-screen-filters .range input {flex:1;width:90px}
 .allocation-commands {flex-wrap:wrap}
}
@media screen and (max-width:620px){
 .allocation-month-picker {width:300px}
 .month-picker-panel+.month-picker-panel {display:none}
 .month-picker-panel:first-child .month-picker-header .month-nav-placeholder {visibility:visible;pointer-events:auto}
}
.allocation-generation-modal{width:800px;max-width:calc(100vw - 32px)}
.allocation-generation-modal .range{max-width:400px}.generation-types{margin-top:24px}.generation-types label{color:#5c6b7a;font-weight:400;display:flex;align-items:center;gap:6px}
.generation-category-list{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.generation-category-list input,.generation-types input[type=checkbox]{width:16px;height:16px;accent-color:#1d5183}
.generation-results{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 24px}.generation-month{border:1px solid;padding:3px 8px;border-radius:2px}.generation-month.success{background:#e9f4ee;border-color:#bcd9c6;color:#1e7a4f}.generation-month.failure{background:#faedec;border-color:#e6c3c1;color:#b03a37}.generation-error,#generation-error{color:#b03a37}
.tax-incentive-screen .allocation-screen-search>.reference-family{gap:0;padding:12px 0 14px}.tax-incentive-screen .allocation-screen-search>.reference-family button{border-radius:0!important;margin-left:-1px}.tax-incentive-screen .allocation-screen-search>.reference-family button:first-child{border-radius:4px 0 0 4px!important;margin-left:0}.tax-incentive-screen .allocation-screen-search>.reference-family button:last-child{border-radius:0 4px 4px 0!important}.tax-incentive-screen .allocation-screen-filters{padding:14px 56px 16px}.tax-incentive-screen .allocation-month-range{width:294px}.tax-incentive-screen td,.tax-incentive-screen th{white-space:normal!important;overflow-wrap:break-word;text-align:center!important;padding:12px;line-height:23px}.tax-incentive-screen th{font-weight:600}.tax-incentive-screen .table-wrap{max-height:calc(100vh - 300px)}
.monthly-hours-screen input[type=number]{width:64px;height:30px;padding:3px}.monthly-hours-screen td input:not([type=checkbox]),.monthly-hours-screen td select{max-width:100%;min-width:60px}.monthly-hours-screen .hour-error-cell{background:#faedec!important;box-shadow:inset 0 0 0 1px #c2524f}.monthly-hours-screen .hour-disabled-day{background:#f2f4f7!important;color:#98a4b0}.monthly-hours-screen .filter{flex-direction:row;align-items:center}.monthly-hours-screen .filter select{width:240px}.monthly-hours-screen #hour-errors{margin:0 12px 8px}.monthly-hours-screen .table-wrap{max-height:calc(100vh - 260px)}
