/* Cover workbook screens; last in the cascade to override legacy settings tabs. */
.workspace-shell .settings-tabs.covers-tabs button{background:#fff;color:#24573e;border:1px solid #c9d7cd;box-shadow:none;padding:11px 18px;border-radius:7px;font-weight:600}
.workspace-shell .settings-tabs.covers-tabs button.active,.workspace-shell .settings-tabs.covers-tabs button[aria-pressed="true"]{background:#24573e;color:#fff;border-color:#24573e}
.workspace-shell .settings-tabs.covers-tabs button:hover{border-color:#24573e}
.cover-selection .filters{gap:10px}.cover-selection .filters .field{min-width:150px;flex:1}.cover-selection .filters select{max-width:100%;font-size:12px}
.cover-legend{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:9px 16px;border-bottom:1px solid var(--line)}.cover-legend>span{min-width:32px;text-align:center;padding:4px;border-radius:3px;font-size:11px;font-weight:700}.cover-legend small{margin-left:7px;font-size:11px}
.workspace-shell table.cover-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.workspace-shell .cover-matrix th,.workspace-shell .cover-matrix td{padding:6px 7px;font-size:11px;line-height:1.25;border-right:1px solid #e3e9e3;border-bottom:1px solid #e3e9e3;text-align:center;min-width:48px;max-width:88px;white-space:normal;overflow-wrap:normal}
.workspace-shell .cover-matrix thead th{height:126px;vertical-align:bottom;min-width:65px;font-size:10px;background:#edf2ed;color:#244b37;font-weight:600}.workspace-shell .cover-matrix .cover-fixed{position:sticky;left:0;z-index:2;min-width:166px;max-width:166px;text-align:left;background:#fff;box-shadow:2px 0 4px #183d2512}.workspace-shell .cover-matrix thead .cover-fixed{z-index:3;background:#24573e;color:white}.workspace-shell .cover-matrix tbody tr:hover .cover-fixed{background:#eef3ec}
.workspace-shell table.cover-composition{min-width:1470px;width:100%;border-spacing:0}.workspace-shell .cover-composition th,.workspace-shell .cover-composition td{padding:8px 6px;font-size:11px;line-height:1.35;border-right:1px solid #e1e7e1}.workspace-shell .cover-composition thead th{white-space:normal;vertical-align:bottom;height:97px;color:#24573e;min-width:77px;background:#f2f5f0}.workspace-shell .cover-composition thead th small{display:block;font-weight:400}.workspace-shell .cover-composition select{min-width:150px;max-width:210px;width:100%;font-size:11px;padding:9px 6px}.workspace-shell .cover-composition td:first-child select{min-width:190px}.workspace-shell .cover-composition input{width:82px;padding:9px 6px;font-size:12px;background:#fff}.workspace-shell .cover-composition .cover-edit{background:#e4eee4}.workspace-shell .cover-composition .cover-recommended{background:#e2e3e1;color:#183e2c;font-weight:700}.cover-number{text-align:right;font-variant-numeric:tabular-nums}.cover-composition .cover-family{white-space:normal;min-width:72px}.cover-composition tfoot{background:#24573e;color:#fff}.cover-composition tfoot td{text-align:right;font-weight:700}.cover-composition tfoot th{text-align:left}.cover-empty{padding:30px!important;text-align:center;color:#657569}.cover-home .panel-foot{font-size:11px;line-height:1.5}
.cover-characteristics{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(300px,1.5fr) minmax(230px,1fr);gap:22px}.cover-characteristics h3{font-size:13px;color:#24573e;margin:0 0 14px}.cover-density{background:#f0f4ed;border-radius:8px;padding:18px;align-self:start}.cover-density>strong{font-size:27px;color:#24573e;display:block}.cover-density>strong small{font-size:13px}.cover-density p{font-size:12px;line-height:1.5}.cover-density dl{display:grid;grid-template-columns:1fr;gap:4px;font-size:11px;margin:24px 0}.cover-density dt{color:#657569}.cover-density dd{margin:0 0 12px;font-weight:700}.cover-donuts{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:22px}.cover-donut h3{font-size:11px;min-height:28px;text-align:center}.cover-donut svg{display:block;width:100%;max-width:170px;margin:auto}.cover-donut text{fill:#183e2c;font-size:15px;font-weight:700}.cover-donut .cover-donut-unit{font-size:9px;font-weight:400}.cover-donut-legend{display:grid;gap:7px;font-size:10px}.cover-donut-legend span{display:flex;gap:5px;align-items:center}.cover-donut-legend i{width:8px;height:8px;flex:none;border-radius:50%}.cover-donut-legend b{margin-left:auto;white-space:nowrap}.cover-characteristics .cover-compat{display:grid;grid-template-columns:1fr;gap:18px}.cover-characteristics .cover-compat table{width:100%}.cover-characteristics .cover-compat th,.cover-characteristics .cover-compat td{font-size:10px;padding:6px;line-height:1.35}.cover-characteristics .cover-compat th{text-align:left}.cover-characteristics .cover-compat td{width:85px;color:#24573e;font-weight:600;background:#eff4ec}
.cover-variety-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(340px,1fr);gap:30px;align-items:start}.cover-variety-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cover-variety .cover-variety-traits th,.cover-variety .cover-variety-traits td{padding:10px 8px;font-size:12px;white-space:normal}.cover-variety-traits th{color:#24573e;text-align:left}.cover-variety-traits td:last-child{text-align:right}.cover-resistance-legend{font-size:10px;line-height:1.5;margin-top:15px}.cover-gauge{text-align:center}.cover-gauge h3{font-size:13px;line-height:1.5;min-height:40px;color:#24573e}.cover-gauge svg{width:100%;max-width:230px}.cover-gauge text{font-size:16px;font-weight:700;fill:#183e2c}.cover-gauge-scale{display:flex;justify-content:space-between;margin:0 auto 6px;max-width:180px;font-size:10px;color:#657569}.cover-gauge small{font-size:10px;color:#657569}.cover-gauge-unavailable{display:flex;align-items:center;justify-content:center;min-height:140px;background:#f0f4ed;border-radius:8px;margin-bottom:10px;font-size:14px;color:#657569}
@media(max-width:1350px){.cover-characteristics{grid-template-columns:minmax(150px,.7fr) minmax(300px,1.5fr)}.cover-characteristics .cover-compat{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.cover-variety-layout{grid-template-columns:1fr}.cover-variety-charts{max-width:600px}}
@media(max-width:760px){.cover-characteristics{grid-template-columns:1fr;gap:20px}.cover-characteristics .cover-compat{grid-template-columns:1fr}.cover-variety-layout{grid-template-columns:minmax(0,1fr)}.cover-variety-charts{gap:12px}.cover-matrix .cover-fixed{min-width:125px!important;max-width:125px!important}.cover-gauge h3{font-size:11px}.workspace-shell .settings-tabs.covers-tabs{display:flex;gap:6px;flex-wrap:wrap}.workspace-shell .settings-tabs.covers-tabs button{padding:10px;font-size:12px}}
/* Workbook-like compact grids. */
.workspace-shell table.cover-matrix{width:max-content;table-layout:fixed;min-width:0}.workspace-shell .cover-matrix th,.workspace-shell .cover-matrix td{width:32px;min-width:32px;max-width:32px;padding:4px 3px;font-size:10px;line-height:1.2;overflow-wrap:anywhere}.workspace-shell .cover-matrix .cover-fixed{width:154px;min-width:154px;max-width:154px}.workspace-shell .cover-matrix tbody td:nth-child(2),.workspace-shell .cover-matrix .cover-matrix-family{width:64px;min-width:64px;max-width:64px}.workspace-shell .cover-matrix tbody td:nth-child(n+5):nth-child(-n+9){width:53px;min-width:53px;max-width:53px}.workspace-shell .cover-matrix thead .cover-groups th{height:auto;padding:9px 3px;background:#e2ece3;color:#24573e;border-right:2px solid #9eb4a2;font-size:11px;text-align:center;vertical-align:middle}.workspace-shell .cover-matrix thead .cover-groups .cover-fixed{background:#24573e;color:#fff}.workspace-shell .cover-matrix .cover-vertical-headings th{height:190px;padding:6px 3px 4px;vertical-align:bottom;min-width:32px;max-width:53px;width:32px;text-align:center;background:#f4f7f1}.cover-vertical-headings th>span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);max-height:178px;text-align:left;white-space:normal;font-size:10px;line-height:1.2}
.workspace-shell table.cover-composition{width:100%;min-width:1010px;table-layout:fixed}.workspace-shell .cover-composition th,.workspace-shell .cover-composition td{padding:5px 3px;font-size:10px}.workspace-shell .cover-composition thead th{width:55px;min-width:0;height:147px;vertical-align:bottom;text-align:center}.workspace-shell .cover-composition thead th:first-child{width:165px;text-align:left}.workspace-shell .cover-composition thead th:nth-child(2){width:60px;text-align:left}.workspace-shell .cover-composition thead th:nth-child(3){width:125px;text-align:left}.workspace-shell .cover-composition thead th:last-child{width:26px}.cover-composition thead th>span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);text-align:left;max-height:138px;white-space:normal;font-size:10px;line-height:1.3}.workspace-shell .cover-composition th small{font-size:9px;color:inherit}.workspace-shell .cover-composition select,.workspace-shell .cover-composition td:first-child select{width:100%;min-width:0;max-width:100%;padding:7px 2px;font-size:10px}.workspace-shell .cover-composition input{width:100%;min-width:0;padding:7px 2px;font-size:11px}.workspace-shell .cover-composition .cover-family{min-width:0;font-size:9px}.workspace-shell .cover-composition .btn.ghost{padding:4px;font-size:17px}.workspace-shell .cover-composition tfoot th{font-size:11px}.cover-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle;flex:none;box-shadow:inset 0 0 0 1px #0001}.cover-status-dot.green{background:#70ad47}.cover-status-dot.amber{background:#ffc000}.cover-status-dot.red{background:#cc0000}.cover-status-dot.neutral{background:#9aa69c}.cover-characteristics .cover-compat td{width:105px;white-space:nowrap;background:#f5f7f3;color:#244b37}.cover-detail-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cover-plot{min-width:0}.cover-plot .panel-head h2{font-size:15px}.cover-plot svg{display:block;width:100%;height:auto;overflow:visible}.cover-chart-legend{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:16px;font-size:11px}.cover-chart-legend span{display:flex;align-items:center;gap:5px}.cover-chart-legend i{width:10px;height:10px;border-radius:2px}.cover-axis{font-size:10px;fill:#647467}.cover-value{font-size:10px;fill:#183f2c;font-weight:600}
@media(max-width:1000px){.cover-detail-charts{grid-template-columns:1fr}}@media(max-width:760px){.workspace-shell .cover-matrix .cover-fixed{width:125px;min-width:125px;max-width:125px}.cover-detail-charts{gap:0}}
.cover-density-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:11px}.cover-density-legend span{display:flex;gap:7px;align-items:center}.cover-density-legend i{width:10px;height:10px;border-radius:50%;flex:none}.cover-density-legend b{margin-left:auto;font-variant-numeric:tabular-nums}.cover-density-center{font-size:13px;fill:#24573e;font-weight:600}
/* One column grid shared by both header rows and body. Group borders use matching cells. */
.workspace-shell .cover-matrix-scroll{max-height:min(72vh,760px);overflow:auto;overscroll-behavior:contain;position:relative;isolation:isolate;scrollbar-gutter:stable}.workspace-shell .cover-matrix{border-collapse:separate;border-spacing:0}.workspace-shell .cover-matrix th,.workspace-shell .cover-matrix td,.workspace-shell .cover-matrix tbody td:nth-child(2),.workspace-shell .cover-matrix tbody td:nth-child(n+5):nth-child(-n+9),.workspace-shell .cover-matrix .cover-fixed,.workspace-shell .cover-matrix .cover-matrix-family,.workspace-shell .cover-matrix .cover-vertical-headings th{width:auto;min-width:0;max-width:none;overflow-wrap:normal;word-break:normal}.workspace-shell .cover-matrix thead{position:sticky;top:0;z-index:4;background:#f4f7f1}.workspace-shell .cover-matrix .cover-fixed{left:0;z-index:2;background:#fff}.workspace-shell .cover-matrix thead .cover-fixed{z-index:5;background:#24573e}.workspace-shell .cover-matrix .cover-groups th{height:34px;box-sizing:border-box;min-width:0;max-width:none}.workspace-shell .cover-matrix .cover-groups .cover-fixed,.workspace-shell .cover-matrix .cover-groups .cover-matrix-family{height:auto}.workspace-shell .cover-matrix .cover-group-end,.workspace-shell .cover-matrix .cover-groups th{border-right:2px solid #9eb4a2}.workspace-shell .cover-matrix .cover-vertical-headings th{height:190px}.cover-matrix-scroll:focus-visible{outline:2px solid #24573e;outline-offset:2px}
.cover-dose-indicator{width:35px;text-align:center}.cover-dose-status{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-size:11px;font-weight:700;line-height:1;color:#fff;vertical-align:middle}.cover-dose-status.green{background:#659e8d}.cover-dose-status.amber{background:#e4b34f;color:#5c4210}.cover-dose-status.red{background:#bd4d45}.cover-dose-status.neutral{background:#9ba69c}.cover-dose-legend{font-size:11px;line-height:2}.cover-dose-legend .cover-dose-status{width:13px;height:13px;font-size:9px;margin:0 4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cover-performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cover-performance-card{min-width:0;background:#f5f7f2;border:1px solid #e3e9df;border-radius:8px;padding:16px}.cover-performance-heading{min-height:45px;display:flex;align-items:flex-start;gap:8px;justify-content:space-between;flex-wrap:wrap}.cover-performance-heading h3{font-size:14px;margin:0;color:#24573e}.cover-trait-badge{display:inline-flex;align-items:center;gap:5px;color:#24573e;background:#e1ecdb;padding:4px 7px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap}.cover-trait-badge>span{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:13px;height:13px;color:white;background:#659e8d;font-size:10px}.cover-performance .cover-gauge h3{font-size:11px;min-height:22px}.cover-performance .cover-gauge svg{max-width:245px}.cover-performance-card>svg{display:block;width:100%;max-width:260px;margin:10px auto 0}.cover-nitrogen-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:center;font-size:11px}.cover-nitrogen-values span,.cover-nitrogen-values b{display:block;margin:4px 0}.cover-nitrogen-values b{font-size:14px;color:#24573e}.cover-performance-unavailable{min-height:180px;display:flex;align-items:center;justify-content:center;color:#6b7a71;text-align:center;font-size:12px}
@media(max-width:850px){.cover-performance-grid{grid-template-columns:1fr}.cover-performance-card{padding:16px}.cover-performance-unavailable{min-height:100px}}@media(max-width:760px){.workspace-shell .cover-matrix .cover-fixed{width:auto;min-width:0!important;max-width:none!important}}
.cover-dose-legend{display:block!important}
