#reduction-panel{padding:12px 16px;border-bottom:1px solid #dbe4e4;background:#f5faf9;max-height:40vh;overflow:auto;font-size:12px;flex-shrink:0}
.reduction-profile,.reduction-source,.reduction-totals{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 8px}
.reduction-profile span{overflow-wrap:anywhere}.reduction-taxpayer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}.reduction-taxpayer select{max-width:100%}
.reduction-source button,.reduction-table button{border:1px solid #a8c9c0;background:white;border-radius:5px;padding:5px 9px;color:#155d4d;cursor:pointer}.reduction-source button:disabled,.reduction-table button:disabled{opacity:.5;cursor:default}
.reduction-warning{color:#995b10!important;font-size:12px;overflow-wrap:anywhere}.reduction-table{table-layout:fixed!important;min-width:1250px!important}.reduction-table td{vertical-align:top!important;height:auto!important;padding:8px!important;overflow:visible!important}.reduction-table th{white-space:normal!important}
.reduction-table label{display:block;font-size:11px;color:#536563;white-space:normal;line-height:1.4}.reduction-table select,.reduction-table input{display:block!important;position:static!important;width:100%!important;min-width:0!important;height:34px!important;padding:5px!important;border:1px solid #ccd9d6!important;border-radius:4px!important;background:#fff!important;font-size:12px!important;box-sizing:border-box}
.reduction-table select{height:auto!important;min-height:34px;white-space:normal}.reduction-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.reduction-details label:has(select){grid-column:1 / -1}.reduction-table summary{cursor:pointer;white-space:normal;overflow-wrap:anywhere;font-size:12px}.reduction-table small{display:block;font-size:11px;margin:5px 0;white-space:normal}.reduction-table output{white-space:normal;font-size:12px}.reduction-files{padding-top:12px;overflow-wrap:anywhere}.reduction-files input[type=file]{height:auto!important}.reduction-files a{font-size:12px}.reduction-files button{font-size:11px}.register-sheet:has(.reduction-table){min-width:0}#reduction-summary ul{padding-left:18px}#reduction-message:empty{display:none}
@media(max-width:700px){#reduction-panel{max-height:35vh;padding:8px}.reduction-source{gap:6px}.reduction-profile{gap:4px 10px}}

.is-registers-active .register-workspace .register-table-wrap:has(.reduction-table){overflow-x:auto!important}
.reduction-table{max-width:none!important}
