.tr-screen{padding:8px 12px 20px;color:#344239;font-size:13px}.tr-search,.tr-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.tr-search{margin-bottom:6px;gap:16px}.tr-search input{width:230px}.tr-search label{display:flex;align-items:center;gap:7px}.tr-error{color:#a32121;margin:4px 0;min-height:0}.tr-panel{background:#fff;border:1px solid #d1dac9;border-radius:5px;padding:7px;min-width:0}.tr-panel h2{font-size:15px;color:#344239;border-bottom:1px solid #dce2d5;margin:0 0 5px;padding:1px 3px 6px}.tr-panel p{margin:5px 2px}.tr-family-top{display:grid;grid-template-columns:64% 36%;gap:7px}.tr-family-middle{display:grid;grid-template-columns:40% 60%;gap:7px;margin-top:7px}.tr-family-bottom{display:grid;grid-template-columns:40% 16% 44%;gap:7px;margin-top:7px}.tr-family-top,.tr-family-middle,.tr-family-bottom{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}.tr-family-middle{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}.tr-family-bottom{grid-template-columns:minmax(0,1.4fr) minmax(0,.55fr) minmax(0,1.6fr)}.tr-family-top textarea{box-sizing:border-box;width:100%;resize:vertical;height:102px;padding:7px;background:#fbfcfa;border:1px solid #d6ddcf;color:#344239}.tr-grid{overflow:auto;max-height:220px;min-height:90px;border:1px solid #d9e0d2;background:white;margin-top:5px}.tr-grid table{width:100%;border-collapse:collapse;white-space:nowrap}.tr-grid th{background:#edf1e7;position:sticky;top:0;z-index:1;font-weight:600;color:#47543c;text-align:left}.tr-grid td,.tr-grid th{padding:5px 7px;border:1px solid #e1e6dc;font-size:12px}.tr-grid tbody tr:nth-child(even){background:#f8faf6}.tr-grid tr.selected{background:#dfe8d2!important;color:#2f4420;font-weight:600}.tr-grid tr:focus{outline:2px solid #8d9d7c;outline-offset:-2px}.tr-top-grid{height:255px;max-height:255px}.tr-middle-grid{height:190px;max-height:190px}.tr-empty{padding:20px!important;text-align:center}.tr-component-name{height:16px;font-size:11px;color:#5a6e45;overflow:hidden}.tr-proc-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:8px;margin-top:8px}.tr-proc-bottom .tr-grid{height:185px}.tr-standard-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:8px}.tr-standard-layout .tr-panel{margin-bottom:7px}.tr-standard-grid{height:195px;max-height:195px}.tr-standard-layout .tr-grid:not(.tr-standard-grid):not(.tr-points-grid){max-height:140px}.tr-points-grid{height:175px}.tr-condition{font-size:24px;text-align:center;color:#456332;font-weight:650}.tr-ineligible{color:#8a6536}.tr-screen button{padding:6px 10px}.tr-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px 0}.tr-field{display:flex;flex-direction:column;gap:4px;min-width:0}.tr-field input,.tr-field select,.tr-field textarea{box-sizing:border-box;width:100%;min-height:31px;padding:5px;color:#334035;border:1px solid #cbd6c1;border-radius:3px}.tr-field input[type=checkbox]{width:20px;align-self:flex-start}.tr-field textarea{min-height:105px;resize:vertical}.tr-wide{grid-column:1/-1}#tr-dialog{width:min(950px,93vw);max-height:90vh;overflow:auto;border:1px solid #ccd7c2;border-radius:7px;padding:17px;color:#344239;box-shadow:0 12px 55px #19281038}#tr-dialog h2{font-size:19px;margin:0 0 12px}#tr-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}#tr-dialog::backdrop{background:#1b251b65}#tr-dialog.tr-large{width:95vw;max-width:none}#tr-dialog.tr-large .tr-grid{max-height:60vh}#tr-dialog .tr-grid input{width:105px;border:1px solid #d1dac9;padding:5px}#tr-dialog .tr-grid select{min-width:55px}#tr-dialog .tr-document-list{max-height:55vh;overflow:auto}@media(max-width:1000px){.tr-family-top,.tr-family-middle,.tr-family-bottom,.tr-proc-bottom,.tr-standard-layout{grid-template-columns:minmax(0,1fr)}.tr-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.tr-search,.tr-actions,#toolbar{display:none}.tr-grid{max-height:none;height:auto;overflow:visible}}

/* Compact density, scoped to these three catalogue screens. */
body[data-access] .tr-screen .tr-grid td,body[data-access] .tr-screen .tr-grid th{padding:3px 6px;font-size:12px}
body[data-access] .tr-screen button{padding:5px 9px;font-size:12px}
.tr-top-grid{height:190px;max-height:190px}.tr-family-top textarea{height:75px}.tr-middle-grid{height:135px;max-height:135px}.tr-family-bottom .tr-grid{height:110px;max-height:110px}.tr-standard-grid{height:155px;max-height:155px}.tr-standard-layout .tr-grid:not(.tr-standard-grid):not(.tr-points-grid){max-height:100px}.tr-points-grid{height:145px}.tr-proc-bottom .tr-grid{height:150px}

.tr-panel>.tr-actions{display:inline-flex;margin-right:5px}.tr-standard-layout .tr-standard-grid{height:140px;max-height:140px}.tr-standard-layout .tr-points-grid{height:115px}
