.portal-editorial .portal-menu a[aria-current=location]{color:#07533f;background:#eaf3ed;border-bottom-color:#1f6c55}
.portal-editorial main#main{max-width:1032px}
.portal-editorial main > article{min-width:0}
.portal-editorial .portal-masthead{margin-bottom:20px}
.portal-editorial .portal-masthead h1{font-size:clamp(1.7rem,4vw,2.85rem);overflow-wrap:anywhere}
.portal-editorial .portal-masthead .fine{color:#e8f3ed}
.portal-editorial main :is(.panel,.race-preview){border-color:#d1e0d7;border-radius:10px}
.portal-editorial main :is(article,.revenue-guide) p{line-height:1.75}
.portal-editorial .portal-comparison a{display:inline-flex;align-items:center;min-height:44px}
.portal-database #db-results{min-width:0}
.portal-database #db-results>article.panel{min-width:0;background:#fff;border-color:#d1e0d7;border-top:4px solid #257a60;border-radius:12px}
.portal-database #db-results>article.panel>h2{color:#123d30;margin-block:0 10px;overflow-wrap:anywhere}
.portal-database #db-results :is(details.horse-pedigree,details.horse-offspring){border:1px solid #d2e1d8;border-radius:8px;margin-top:12px;background:#f4f8f5}
.portal-database #db-results details>summary{min-height:44px;padding:10px;color:#174b3e;font-weight:750;cursor:pointer}
.portal-database #db-results .table-wrap{max-width:100%;border:1px solid #d1e0d7;border-radius:8px;background:#fff;overflow:auto}
.portal-database #db-results table caption{position:sticky;left:0;text-align:left;padding:9px;color:#163e32;background:#eaf3ee;font-weight:750}
.portal-database #db-results table thead th{background:#154538;color:#fff;white-space:nowrap}
.portal-database #db-results table:not(.pedigree-table) tbody tr:nth-child(even)>td:not(.gate-cell){background:#f1f7f3}
.portal-database #db-results .pedigree-table td{background:#f6faf7;border-color:#d1e0d7;vertical-align:middle}
.portal-database #db-results .pedigree-table td:nth-child(2){background:#edf5ef}
.portal-database #db-results .pedigree-table .pedigree-label{color:#42665a}
@media(max-width:640px){
 .portal-editorial .portal-masthead{margin-bottom:14px}
 .portal-database #db-results>article.panel{padding-inline:12px}
 .portal-database #db-results .race-result table :is(th,td):nth-child(4){position:sticky;left:0;z-index:1;box-shadow:2px 0 0 #d1e0d7}
 .portal-database #db-results .race-result table td:nth-child(4){background:#fff}
 .portal-database #db-results .race-result table td:nth-child(4) a{display:inline-flex;align-items:center;min-height:32px}
 .portal-database #db-results :is(.race-result table,table:has(td.finish-cell:nth-child(5))) th{background:#154538;color:#fff}
 .portal-database #db-results .pedigree-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}
 .portal-database #db-results .pedigree-table :is(th,td){padding:7px 5px;overflow-wrap:anywhere}
}
