.companions-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.companions-tabs button{border:1px solid #cdd9d0;border-radius:7px;background:#fff;padding:11px 17px;color:#24573e;font-weight:650;cursor:pointer}.companions-tabs button.active{background:#24573e;color:#fff;border-color:#24573e}.pc-filters{align-items:end;gap:12px}.pc-filters .field{min-width:170px;flex:1}.pc-filters label{font-size:11px}.pc-filters select{font-size:12px}.pc-matrix-summary{font-size:12px;color:#627166;padding:8px 16px}.pc-matrix-scroll,.pc-herbicide-scroll{overflow:auto;max-width:100%;max-height:min(72vh,760px);overscroll-behavior:contain}.pc-matrix,.pc-herbicide-table{table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:11px;margin:0;min-width:0!important}.pc-matrix thead,.pc-herbicide-table thead{position:sticky;top:0;z-index:4}.pc-matrix th,.pc-matrix td,.pc-herbicide-table th,.pc-herbicide-table td{border-right:1px solid #d3ddd4;border-bottom:1px solid #d3ddd4;padding:6px 4px;text-align:center;white-space:normal;overflow-wrap:break-word}.pc-matrix thead th,.pc-herbicide-table thead th{background:#e5eee7;color:#24573e;font-size:11px;font-weight:650}.pc-matrix thead tr:first-child th{background:#d5e4d9;padding:10px 5px}.pc-matrix .pc-group-end{border-right:3px solid #7a9d85!important}.pc-matrix .pc-vertical{height:166px;padding:0}.pc-vertical>span,.pc-vertical>button>span{writing-mode:vertical-rl;transform:rotate(180deg);display:inline-block;max-height:150px;text-align:left;line-height:1.2;white-space:normal}.pc-vertical>button{height:100%;width:100%;border:0;border-radius:0;background:transparent;color:inherit;padding:7px 4px;cursor:pointer;font:inherit;font-weight:700}.pc-vertical>button:focus-visible{outline:2px solid #24573e;outline-offset:-3px}.pc-matrix .pc-species{position:sticky;left:0;z-index:2;background:#f6f8f5;text-align:left;font-size:12px;font-weight:650;padding:8px}.pc-matrix thead tr:first-child th:first-child{position:sticky;left:0;z-index:5}.pc-matrix .pc-comment{text-align:left;font-size:10px;line-height:1.4;padding:7px 9px}.pc-matrix tbody tr:hover .pc-species{background:#e5eee7}.pc-empty{padding:30px!important}.pc-legends,.pc-herbicide-legend{display:flex;flex-wrap:wrap;gap:10px 22px;padding:14px 16px;font-size:11px;color:#53675a}.pc-legends b{color:#24573e}.pc-source{font-size:10px;color:#6d7b70;padding:8px 16px;margin:0}.pc-herbicides .panel-head{align-items:center;gap:12px}.pc-herbicides .panel-head p{font-size:12px;color:#6d7b70;margin:6px 0 0}.pc-herbicide-legend span{display:flex;align-items:center;gap:7px}.pc-herbicide-legend i{display:inline-block;width:14px;height:14px;border:1px solid #0002;border-radius:3px}.pc-herbicide-table{width:100%;max-width:100%}.pc-herbicide-table .pc-vertical{height:166px;vertical-align:bottom}.pc-herbicide-table tbody td{vertical-align:middle;padding:10px 7px}.pc-herbicide-table .field{margin:0;min-width:0}.pc-herbicide-table label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.pc-herbicide-table select{width:100%;min-width:0;font-size:12px;padding:9px 6px;background-color:#fff}.pc-active{display:block;color:#6d7b70;font-size:10px;margin-top:6px;text-align:left;min-height:13px}.pc-level{font-size:11px;font-weight:700;white-space:nowrap!important}.pc-remove{font-size:21px!important;padding:5px 9px!important}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:760px){.pc-filters{display:grid;grid-template-columns:1fr 1fr}.pc-filters .field{min-width:0}.companions-tabs button{flex:1;font-size:12px;padding:10px}.pc-herbicides .panel-head{align-items:start;flex-wrap:wrap}.pc-matrix .pc-species{font-size:11px}}

/* Fluid herbicide comparison: color cells share the remaining available width. */
.pc-herbicide-scroll{overflow-x:hidden}.pc-herbicide-table tbody td{padding:12px 5px;height:70px}.pc-herbicide-table .pc-product-cell{position:relative;padding-bottom:12px}.pc-product-cell .pc-active{position:absolute;top:calc(50% + 20px);left:6px;right:6px;margin:0;min-height:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pc-herbicide-table .pc-level{padding:0}.pc-herbicide-table .pc-remove{padding:4px!important;min-width:0;max-width:100%;line-height:1}.pc-herbicide-table .pc-vertical{padding-left:0;padding-right:0}.pc-herbicide-table .pc-vertical>span{max-width:100%;overflow-wrap:anywhere}.pc-herbicide-table select{overflow:hidden;text-overflow:ellipsis}.pc-herbicide-table td:last-child{padding:4px 0}
@media(max-width:760px){.pc-herbicide-table select{font-size:10px;padding:8px 2px}.pc-herbicide-table th{font-size:10px}.pc-herbicide-table tbody td{padding-left:2px;padding-right:2px}.pc-herbicide-table .pc-level{padding:0}.pc-active{font-size:9px}}
