/* FEI review copy: full-width rider/horse lists, never a horizontal scroller. */
body.pk-fei-page{--fei-ink:#294350;--fei-muted:#728792;--fei-line:#dde7ed;background:#f4f6f7;color:var(--fei-ink)}
.pk-fei-page .pk-fei-shell{width:min(1540px,calc(100% - 64px));max-width:none;margin:0 auto;padding:22px 0 56px;text-align:left}
.pk-fei-page .fei-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 20px;padding-bottom:22px;border-bottom:1px solid var(--fei-line)}
.fei-eyebrow{font-size:10px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:#758e9d;margin:0 0 8px;line-height:1.5}
.pk-fei-page h1{font-size:43px;line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0 0 12px;color:#294350}.pk-fei-page h1>span:last-child{color:#0073c1}
.fei-page-period{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0;color:#647f8e;font-size:12px;line-height:1.5}
.fei-page-period>svg{width:16px;height:16px;color:#0073c1;flex-shrink:0}.fei-total{margin-left:10px;font-size:11px;color:#8b9da7}.fei-total i{font-style:normal;padding:0 7px}
.fei-period-form{margin:0;min-width:280px;max-width:360px;flex-shrink:0}.fei-period-form label{display:block;font-size:11px;color:#748b99;margin:0 0 7px;font-weight:400}.fei-period-inputs{display:flex;gap:8px}
.fei-period-inputs select{box-sizing:border-box;min-width:0;flex:1;font:inherit;font-size:13px;min-height:43px;padding:10px 13px;background:white;color:#365869;border:1px solid #cedde6;border-radius:5px;cursor:pointer}
.fei-period-inputs button{display:inline-flex;align-items:center;justify-content:center;gap:12px;font:inherit;font-size:12px;font-weight:400;min-height:43px;padding:10px 17px;background:#0073c1;color:#fff;border:1px solid #0073c1;border-radius:5px;cursor:pointer}.fei-period-inputs button svg{width:17px;height:17px}
.fei-freshness{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;font-size:10px;line-height:1.5;color:#879aa6;margin:0 0 24px}.fei-freshness>svg{width:14px;height:14px;flex-shrink:0;color:#7a94a5}.fei-freshness strong{font-weight:400;color:#607d8e;margin-left:5px}
.fei-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.fei-tab{display:inline-flex;align-items:center;gap:10px;font:inherit;font-weight:400;font-size:13px;padding:10px 15px;border:1px solid #d4e1e9;border-radius:5px;background:#fff;color:#6c8594;cursor:pointer;transition:background .18s,color .18s,border-color .18s}.fei-tab[aria-selected=true]{background:#0073c1;border-color:#0073c1;color:#fff}.fei-tab[data-fei-theme=dressage][aria-selected=true]{background:#bd1749;border-color:#bd1749}.fei-tab[data-fei-theme=eventing][aria-selected=true]{background:#237c60;border-color:#237c60}.fei-tab-count{display:grid;place-items:center;min-width:22px;padding:1px 6px;border-radius:3px;background:#edf3f7;font-size:10px;color:#78909f}.fei-tab[aria-selected=true] .fei-tab-count{background:#ffffff26;color:#fff}
.fei-discipline{--fei-accent:#0073c1;--fei-head:#24658e;--fei-head-end:#18435e;--fei-soft:#edf5fb}.fei-theme-dressage{--fei-accent:#bd1749;--fei-head:#8d2449;--fei-head-end:#612039;--fei-soft:#fff1f5}.fei-theme-eventing{--fei-accent:#237c60;--fei-head:#225f51;--fei-head-end:#19483e;--fei-soft:#edf7f3}
.fei-show{width:100%;min-width:0;margin:0 0 28px;border:1px solid #d9e5ec;border-radius:10px;background:#fff;overflow:clip;scroll-margin-top:calc(var(--pk-header-space,84px) + 20px)}
.fei-show-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:26px 30px;color:#fff;background:linear-gradient(110deg,var(--fei-head),var(--fei-head-end))}
.fei-show-code{display:flex;align-items:center;gap:8px;margin:0 0 5px;font-size:10px;color:#ffffffa8;font-weight:400;letter-spacing:.06em}.fei-show-code>span{color:#ffffff60}
.pk-fei-page .fei-show-heading h2{margin:0 0 8px;font-size:31px;line-height:1.15;font-weight:500;letter-spacing:-.4px;color:white;overflow-wrap:anywhere}
.fei-show-country{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;color:#d5e6f0;margin:0}.fei-show-country svg{width:16px;height:16px;flex-shrink:0}
.fei-show-dates{align-self:center;text-align:right}.fei-show-dates p{margin:0 0 8px;font-size:10px;color:#ffffffa8;font-weight:400}.fei-show-dates strong{display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:15px;line-height:1.5;font-weight:400;white-space:nowrap;color:#fff}.fei-show-dates svg{width:18px;height:18px;flex-shrink:0;color:#bed4e3}
.fei-show-summary{display:flex;flex-wrap:wrap;gap:8px 18px;padding:11px 26px;background:var(--fei-soft);color:#628194;font-size:11px;border-bottom:1px solid #e0e9ef}.fei-show-summary>span+span{border-left:1px solid #c5d7e3;padding-left:18px}
.pk-fei-page .fei-entry-table{width:100%;max-width:100%;min-width:0;margin:0;border-collapse:collapse;border-spacing:0;table-layout:fixed;background:transparent;text-align:left}
.fei-rider-column{width:28%}.pk-fei-page .fei-entry-table thead th{font-weight:500;font-size:10px;line-height:1.5;letter-spacing:.04em;text-transform:uppercase;color:#768f9e;padding:12px 26px;background:#f3f7fa;border-bottom:1px solid #dde7ed;text-align:left}
.pk-fei-page .fei-entry-table tbody th,.pk-fei-page .fei-entry-table tbody td{vertical-align:top;padding:19px 26px;border-bottom:1px solid #e0e9ee;text-align:left;font-weight:400;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.fei-rider-row:nth-child(even){background:#f7fafc}.pk-fei-page .fei-entry-table tbody tr:last-child>th,.pk-fei-page .fei-entry-table tbody tr:last-child>td{border-bottom:0}
.fei-rider-name{display:block;font-size:16px;font-weight:500;color:#0073c1;line-height:1.4;overflow-wrap:anywhere}.fei-theme-dressage .fei-rider-name{color:#a92a50}.fei-theme-eventing .fei-rider-name{color:#237c60}
.fei-id{display:block;margin-top:5px;color:#97a6af;font-size:10px;font-weight:400;line-height:1.4;letter-spacing:.015em;overflow-wrap:anywhere}
.fei-horses{list-style:none;padding:0;margin:0;min-width:0}.fei-horse{min-width:0;list-style:none;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #e6edf1}.fei-horse:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}
.fei-horse-line{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;min-width:0}.fei-horse-name{font-size:15px;line-height:1.45;color:#365565;font-weight:500;overflow-wrap:anywhere;max-width:100%}.fei-horse-unassigned .fei-horse-name{font-size:13px;color:#889ca9;font-weight:400}
.fei-registration-list{display:flex;flex-wrap:wrap;gap:5px 8px;max-width:100%;min-width:0}.fei-registration{display:inline-flex;align-items:center;max-width:100%;min-width:0;gap:7px;flex-wrap:wrap;line-height:1.4}.fei-category-badge{display:inline-block;max-width:100%;font-size:10px;line-height:1.5;padding:3px 7px;border-radius:4px;background:var(--fei-soft);color:var(--fei-accent);border:1px solid color-mix(in srgb,var(--fei-accent) 18%,#fff);overflow-wrap:anywhere;font-weight:500}
.fei-entry-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#8a9ba6;line-height:1.4;max-width:100%;overflow-wrap:anywhere}.fei-entry-status i{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor}.fei-status-accepted{color:#41906a}.fei-status-waiting{color:#b18b3b}.fei-status-rejected,.fei-status-withdrawn{color:#bb6375}.fei-status-noshow,.fei-status-draft,.fei-status-substituted,.fei-status-unknown{color:#8a9ba6}
.fei-notice,.fei-empty{padding:14px 18px;margin:0 0 18px;border:1px solid #e6dbbb;border-left:3px solid #c7a54e;border-radius:6px;font-size:12px;line-height:1.6;color:#8d7749;background:#fffaf0}.fei-empty{padding:28px;border-color:#dce7ee;border-left-width:1px;color:#78909f;background:#fff}.fei-error{border-color:#e2b7c1;background:#fff4f6;color:#ad4c66}
.fei-discipline[hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){.fei-period-inputs button:hover{background:#0063a6;border-color:#0063a6}.fei-tab:not([aria-selected=true]):hover{border-color:#8cb7d3;background:#f3f8fb}.fei-rider-row{transition:background-color .18s}.fei-rider-row:hover{background:#edf5fa}}
@media(max-width:900px){.pk-fei-page .pk-fei-shell{width:calc(100% - 40px)}.pk-fei-page .fei-page-heading{gap:20px}.fei-period-form{min-width:240px}.pk-fei-page h1{font-size:37px}.fei-total{margin-left:0}.fei-show-heading{padding:22px 24px}.pk-fei-page .fei-show-heading h2{font-size:28px}.fei-show-dates strong{font-size:13px}.pk-fei-page .fei-entry-table thead th,.pk-fei-page .fei-entry-table tbody th,.pk-fei-page .fei-entry-table tbody td{padding-left:20px;padding-right:20px}.fei-horse-line{gap:6px 10px}}
@media(max-width:640px){.pk-fei-page .pk-fei-shell{width:calc(100% - 24px);padding:12px 0 30px}.pk-fei-page .fei-page-heading{display:block;padding-bottom:16px;margin-bottom:13px}.fei-eyebrow{font-size:8px;letter-spacing:.06em;margin-bottom:6px}.pk-fei-page h1{font-size:32px;margin-bottom:9px}.fei-page-period{gap:5px 7px;font-size:10px}.fei-page-period>svg{width:14px;height:14px}.fei-total{font-size:9px;width:100%;padding-left:21px}.fei-total i{padding:0 5px}.fei-period-form{min-width:0;max-width:none;margin-top:15px}.fei-period-form label{font-size:9px;margin-bottom:5px}.fei-period-inputs select{font-size:12px;min-height:37px;padding:7px 10px}.fei-period-inputs button{font-size:11px;min-height:37px;padding:8px 13px;gap:9px}.fei-period-inputs button svg{width:14px;height:14px}.fei-freshness{align-items:flex-start;gap:4px 10px;font-size:8px;margin-bottom:15px}.fei-freshness>svg{width:12px;height:12px}.fei-freshness strong{margin-left:3px}.fei-tabs{gap:6px;margin-bottom:13px}.fei-tab{padding:8px 11px;font-size:11px;gap:7px}.fei-tab-count{font-size:9px;min-width:19px;padding:1px 5px}.fei-show{margin-bottom:18px;border-radius:7px}.fei-show-heading{grid-template-columns:minmax(0,1fr);gap:13px;padding:17px 16px}.fei-show-code{font-size:8px;letter-spacing:.04em;margin-bottom:4px}.pk-fei-page .fei-show-heading h2{font-size:25px;margin-bottom:6px}.fei-show-country{font-size:10px;gap:5px}.fei-show-country svg{width:13px;height:13px}.fei-show-dates{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;text-align:left;flex-wrap:wrap}.fei-show-dates p{font-size:8px;margin:0}.fei-show-dates strong{font-size:10px;gap:6px;white-space:normal}.fei-show-dates svg{width:13px;height:13px}.fei-show-summary{gap:7px 12px;padding:9px 13px;font-size:9px}.fei-show-summary>span+span{padding-left:12px}.fei-rider-column{width:32%}.pk-fei-page .fei-entry-table thead th{font-size:8px;line-height:1.4;padding:10px;letter-spacing:.02em}.pk-fei-page .fei-entry-table tbody th,.pk-fei-page .fei-entry-table tbody td{padding:13px 10px;font-size:11px}.fei-rider-name{font-size:12px;line-height:1.4}.fei-id{font-size:8px;margin-top:4px;letter-spacing:0}.fei-horse-name{font-size:12px;line-height:1.4}.fei-horse-unassigned .fei-horse-name{font-size:11px}.fei-horse-line{gap:5px}.fei-registration-list{gap:5px}.fei-registration{gap:5px}.fei-category-badge{font-size:8px;line-height:1.5;padding:2px 5px;border-radius:3px}.fei-entry-status{font-size:8px;gap:4px}.fei-entry-status i{width:4px;height:4px}.fei-horse{padding-bottom:11px;margin-bottom:11px}.fei-notice,.fei-empty{font-size:10px;padding:11px 13px}.fei-rider-row{transition:none}}
@media(prefers-reduced-motion:reduce){.fei-tab,.fei-rider-row{transition:none!important}}
@media print{.fei-period-form,.fei-tabs,.fei-freshness{display:none}.pk-fei-page .pk-fei-shell{width:100%;padding:0}.fei-discipline[hidden]{display:block!important}.fei-show{break-inside:avoid;border-radius:0}.fei-show-heading{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Keep the shared legacy table helpers from restyling rider row headings. */
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show table.fei-entry-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border:0!important;box-shadow:none!important}
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table col:first-child{width:28%!important}
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table col:last-child{width:72%!important}
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table thead th{font-size:10px!important;font-weight:500!important;line-height:1.5!important;padding:12px 26px!important;background:#f3f7fa!important;color:#768f9e!important}
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table tbody :is(th,td){vertical-align:top!important;padding:19px 26px!important;background:transparent!important;color:#294350!important;text-transform:none!important;letter-spacing:normal!important;font-size:14px!important;line-height:1.5!important;font-weight:400!important;border-bottom:1px solid #e0e9ee!important;box-shadow:none!important}
html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table tbody tr:last-child>:is(th,td){border-bottom:0!important}
@media(max-width:900px){html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table :is(thead th,tbody th,tbody td){padding-left:20px!important;padding-right:20px!important}}
@media(max-width:640px){html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table col:first-child{width:32%!important}html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table col:last-child{width:68%!important}html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table thead th{font-size:8px!important;padding:10px!important}html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table tbody :is(th,td){font-size:11px!important;padding:13px 10px!important}html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table tbody tr:is(:hover,:active,:focus){background:transparent!important;box-shadow:none!important;outline:none!important}html body.pk-fei-page:has(.pk-header) .pk-fei-shell .fei-show .fei-entry-table tbody tr:nth-child(even){background:#f7fafc!important}}
.fei-show-summary strong{font-weight:500;margin-left:4px}
/* Period changes refresh the existing read-only snapshot without an extra click. */
body.pk-fei-page .fei-auto-form button[type=submit]{display:none!important}
body.pk-fei-page .fei-auto-form .fei-period-inputs{grid-template-columns:1fr}
body.pk-fei-page .fei-auto-form select{width:100%}
body.pk-fei-page .fei-fetch-status{font-size:12px;color:#587381;margin:6px 0 0;line-height:1.4}
body.pk-fei-page #fei-main[aria-busy=true]>.fei-discipline{opacity:.55;transition:opacity .15s ease}
