.public-news-nav { display: flex; align-items: center; gap: 1rem; }
.public-events-heading { margin: 2rem auto 1.5rem; max-width: 72rem; padding-inline: 1rem; }
.public-events-heading h1 { color: #391e15; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; overflow-wrap: anywhere; }
.public-events-heading > p:last-child { color: #56423b; }
.public-events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; max-width: 72rem; margin: 0 auto 3rem; padding-inline: 1rem; }
.v2-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.v2-preview-card { display: grid; min-width: 0; align-content: start; justify-items: start; gap: .6rem; }
.public-event-card.v2-preview-card { padding: 1rem; }
.v2-preview-card .eyebrow, .public-events-heading .eyebrow { color: #7e2900; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.v2-preview-card h2, .v2-preview-card h3, .v2-preview-card p { margin: 0; }
.v2-preview-card h2, .v2-preview-card h3 { min-width: 0; max-width: 100%; color: #391e15; overflow-wrap: anywhere; }
.v2-preview-card h2 a, .v2-preview-card h3 a { color: inherit; text-decoration: none; }
.v2-preview-card h2 a:hover, .v2-preview-card h3 a:hover { color: #7e2900; text-decoration: underline; }
.v2-public-combinations { display: grid; gap: .5rem; padding-left: 1.25rem; }
.v2-preview-notice { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #c98731; border-radius: .65rem; background: #fff6e8; color: #5e3b0b; }
.public-event-card { overflow: hidden; border: 1px solid #ddc0b7; border-radius: .8rem; background: #fff; box-shadow: 0 .25rem 1rem #391e1510; }
.public-event-card__banner { display: grid; aspect-ratio: 16 / 8; place-items: center; overflow: hidden; background: #f3f3f3; color: #7e2900; font-size: 3rem; }
.public-event-card__banner img { width: 100%; height: 100%; object-fit: cover; }
.public-event-card__body { display: grid; justify-items: start; gap: .45rem; padding: 1rem 1.1rem 1.2rem; }
.public-event-card__body h2 { margin: 0; color: #391e15; font-size: 1.3rem; }
.public-event-card__body h2 a { color: inherit; text-decoration: none; }
.public-event-card__body p { margin: 0; color: #56423b; }
.public-event-card__body time { color: #64534d; font-size: .9rem; }
.public-event-status { display: inline-flex; border-radius: 999px; background: #ffdbce; padding: .28rem .65rem; color: #5f2410; font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.public-event-card__link { margin-top: .4rem; color: #7e2900; font-weight: 700; text-decoration: none; }
.public-event-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 60rem; margin: 1rem auto; padding-inline: 1rem; color: #66534c; font-size: .9rem; }
.public-event-breadcrumb > * { min-width: 0; overflow-wrap: anywhere; }
.public-event-breadcrumb a { color: #7e2900; }
.public-event-detail { max-width: 60rem; margin: 0 auto 3rem; padding: 0 1rem; color: #1b1b1b; }
.public-event-detail__banner { display: block; width: 100%; max-height: 28rem; aspect-ratio: 16 / 7; border-radius: .8rem; background: #eee; object-fit: cover; }
.public-event-detail__heading { padding: 1.5rem 0 1rem; }
.public-event-detail__heading h1 { margin: .65rem 0 .25rem; color: #391e15; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 850; line-height: 1.08; }
.public-event-detail__date { color: #66534c; }
.public-event-facts { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1rem; border: 1px solid #ddc0b7; border-radius: .7rem; background: #fff; }
.public-event-facts > div { display: grid; min-width: min(100%, 14rem); gap: .2rem; }
.public-event-facts strong { color: #391e15; }
.public-event-section { margin-top: 2rem; }
.public-event-section h2 { margin-bottom: .85rem; color: #391e15; font-size: 1.55rem; }
.public-event-modality { padding: .8rem 0; border-bottom: 1px solid #eee; }
.public-event-modality h3 { color: #7e2900; font-size: 1.1rem; }
.public-event-modality ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 0; }
.public-event-description { line-height: 1.65; white-space: normal; }
.public-event-video .public-content-video { margin: 0; }
.public-event-video .public-content-video__stage { border-radius: .75rem; }
.public-documentation-page { max-width: 60rem; margin: 0 auto 3rem; color: #1b1b1b; }
.public-documentation-heading { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid #ddc0b7; }
.public-documentation-heading h1 { margin: .4rem 0 0; color: #391e15; font-size: clamp(2rem, 5vw, 3rem); font-weight: 850; line-height: 1.08; }
.public-documentation-editorial { margin: 1.5rem 0 2rem; line-height: 1.65; }
.public-documentation-editorial .public-content-accordion { margin: .6rem 0; border-radius: .6rem; background: #fff; }
.event-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.event-admin-row h2 { margin: .35rem 0; font-size: 1.2rem; }
.event-admin-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.event-admin-row__actions form { margin: 0; }
.button--feature-toggle { min-height: 2.25rem; padding: .4rem .75rem; border: 1px solid #c9cdd2; background: #e8e9eb; color: #48423d; }
.button--feature-toggle:hover { border-color: #b7bbc0; background: #dadddf; color: #302923; }
.button--feature-toggle-selected { border-color: #d4a51c; background: #f1c84d; color: #391e15; }
.button--feature-toggle-selected:hover { border-color: #bd8d0c; background: #e8b82c; color: #391e15; }
.button--feature-toggle:focus-visible { outline: 3px solid #7e290066; outline-offset: 2px; }
.event-form-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.event-form-heading .muted { margin: 0; font-size: 1rem; }
.event-edit-shortcuts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1rem; }
.event-edit-shortcut { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .6rem; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: .75rem; font-size: 1rem; font-weight: 750; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.event-edit-shortcut svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.event-edit-shortcut:hover { transform: translateY(-1px); }
.event-edit-shortcut:focus-visible { outline: 3px solid #d99a70; outline-offset: 2px; }
.event-edit-shortcut--proofs { border-color: #391e15; background: #391e15; color: #fff; }
.event-edit-shortcut--proofs:hover { border-color: #7e2900; background: #7e2900; color: #fff; }
.event-edit-shortcut--editorial { border-color: #ddc0b7; background: #fff; color: #7e2900; }
.event-edit-shortcut--editorial:hover { border-color: #7e2900; background: #fff4ed; color: #391e15; }
.v2-proof-page-help { margin: -.25rem 0 0; color: #555; }
.v2-proof-list { display: grid; gap: 1rem; }
.v2-proof-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: clamp(1.25rem, 2.5vw, 2rem); border-width: 1px; }
.v2-proof-card__details { min-width: 0; }
.v2-proof-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.v2-proof-status, .v2-proof-publication { display: inline-flex; min-height: 1.8rem; align-items: center; gap: .45rem; padding: .25rem .7rem; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 750; line-height: 1.2; }
.v2-proof-status > span { width: .5rem; height: .5rem; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.v2-proof-status--upcoming { border-color: #d3d3d3; background: #f0f1f1; color: #555; }
.v2-proof-status--open { border-color: #8dc7a5; background: #e1f4e7; color: #005a2e; }
.v2-proof-status--closed { border-color: #ddc0b7; background: #fff4ed; color: #7e2900; }
.v2-proof-status--running { border-color: #d9a46e; background: #fff6e8; color: #663600; }
.v2-proof-status--finished { border-color: #ddc0b7; background: #f4eeeb; color: #391e15; }
.v2-proof-status--postponed { border-color: #d9a46e; background: #fff8ed; color: #663600; }
.v2-proof-status--cancelled { border-color: #e3a2a2; background: #fff1f1; color: #8b1717; }
.v2-proof-publication { border-color: #d3d3d3; background: #fff; color: #555; font-weight: 600; }
.v2-proof-card__details h2 { margin: .65rem 0 .75rem; color: #1b1b1b; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; overflow-wrap: anywhere; }
.v2-proof-card__metadata { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; color: #391e15; font-size: 1rem; }
.v2-proof-card__metadata > span { display: inline-flex; flex-wrap: wrap; gap: .35rem; min-width: 0; }
.v2-proof-card__metadata strong { color: #66534c; font-weight: 700; }
.v2-proof-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem; }
.v2-proof-card__actions form { display: flex; margin: 0; }
.v2-proof-action { min-height: 2.75rem; padding: .6rem .85rem; border: 1px solid transparent; border-radius: .65rem; font-size: .9rem; font-weight: 750; line-height: 1.25; text-align: center; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.v2-proof-action:hover { transform: translateY(-1px); }
.v2-proof-action:focus-visible { outline: 3px solid #d99a70; outline-offset: 2px; }
.v2-proof-action--participations { border-color: #d3d3d3; background: #fff; color: #391e15; }
.v2-proof-action--participations:hover { border-color: #b7a39b; background: #f0f1f1; color: #391e15; }
.v2-proof-action--results { border-color: #7e2900; background: #7e2900; color: #fff; }
.v2-proof-action--results:hover { border-color: #391e15; background: #391e15; color: #fff; }
.v2-proof-action--preview { border-color: #d3d3d3; background: #f0f1f1; color: #391e15; }
.v2-proof-action--preview:hover { border-color: #b7a39b; background: #e5e7e7; color: #391e15; }
.v2-proof-action--edit { border-color: #ddc0b7; background: #fff8f5; color: #7e2900; }
.v2-proof-action--edit:hover { border-color: #7e2900; background: #7e2900; color: #fff; }
.v2-proof-action--trash { border-color: #ba1a1a; background: #fff; color: #93000a; }
.v2-proof-action--trash:hover { border-color: #93000a; background: #93000a; color: #fff; }
.event-form { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); }
.event-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.event-form label { display: grid; gap: .45rem; color: #391e15; font-size: 1rem; font-weight: 700; }
.event-form input:not([type=checkbox]):not([type=file]), .event-form select, .event-form textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1px solid #c8b8b1; border-radius: .65rem; background: #fff; color: #1b1b1b; font: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.event-form input:focus, .event-form select:focus, .event-form textarea:focus { outline: 0; border-color: #7e2900; box-shadow: 0 0 0 3px #7e290022; }
.event-form textarea { min-height: 9rem; line-height: 1.55; }
.event-form__wide { grid-column: 1 / -1; }
.v2-proof-photo-preview { display: block; width: min(20rem, 100%); max-height: 14rem; margin: .25rem 0 .75rem; object-fit: cover; border: 1px solid #c8b8b1; border-radius: .5rem; }
.event-form__check { display: flex !important; align-items: center; }
.event-form__relations { padding-top: 1rem; border-top: 1px solid #e8e0dc; }
.event-form__relations h2 { color: #391e15; font-size: 1.2rem; }
.event-relation-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: .65rem; margin: .65rem 0; }
.event-form__submit { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; padding-top: 1rem; border-top: 1px solid #e8e0dc; }
.event-form__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; padding-top: 1rem; border-top: 1px solid #e8e0dc; }
.v2-page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.v2-catalog-card { align-content: start; }
.v2-catalog-card h2 { margin: 0; color: #391e15; font-size: 1.2rem; }
.v2-catalog-card__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.v2-catalog-card__heading h2 { min-width: 0; flex: 1 1 auto; }
.v2-catalog-card__heading .v2-archive-link { flex: 0 1 auto; min-height: 2.25rem; padding: .4rem .65rem; font-size: .85rem; text-align: center; }
.v2-archive-link { border: 1px solid #ba1a1a; background: #fff; color: #93000a; }
.v2-archive-link:hover { border-color: #93000a; background: #93000a; color: #fff; }
.v2-catalog-card__form { display: flex; gap: .5rem; }
.v2-catalog-card__form input { min-width: 0; flex: 1; }
.v2-catalog-list { display: grid; gap: .25rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.v2-catalog-list li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px solid #e8e0dc; padding: .5rem 0; }
.v2-catalog-list form { flex: 0 0 auto; }
.v2-choice-fieldset { display: flex; flex-wrap: wrap; gap: .5rem 1rem; min-width: 0; margin: 0; padding: .8rem; border: 1px solid #c8b8b1; border-radius: .4rem; }
.v2-choice-fieldset legend { float: none; width: auto; margin: 0; padding: 0 .25rem; color: #391e15; font-size: .9rem; font-weight: 700; }
.v2-choice { display: inline-flex !important; align-items: center; gap: .4rem !important; font-weight: 500 !important; }
.v2-choice input { margin: 0; }
.v2-proof-date-list { display: none; }
.v2-search-form { display: grid; gap: .5rem; margin-bottom: 1rem; }
.v2-search-form label { color: #391e15; font-weight: 700; }
.v2-search-form > div { display: flex; gap: .5rem; }
.v2-search-form input { min-width: 0; flex: 1; padding: .55rem .7rem; border: 1px solid #c8b8b1; border-radius: .4rem; }
.v2-horses-fieldset { display: grid; }
.v2-horse-rows { display: grid; gap: .65rem; }
.v2-horse-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .65rem; width: 100%; }
.v2-duplicate-confirmation { display: flex !important; grid-template-columns: auto minmax(0, 1fr) !important; align-items: start; gap: .6rem !important; color: #56423b !important; }
.v2-duplicate-confirmation input { margin-top: .25rem; }
.v2-combination-capacity { display: grid; }
.v2-combination-capacity__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; width: 100%; }
.v2-combination-capacity__grid label { display: grid; gap: .3rem; }
.v2-combination-capacity__grid input { width: 100%; min-height: 2.5rem; padding: .5rem .65rem; border: 1px solid #c8b8b1; border-radius: .4rem; font: inherit; }
.v2-participation-section { margin-bottom: 1.5rem; }
.v2-participation-section h2 { margin: 0 0 .5rem; color: #391e15; font-size: 1.25rem; }
.v2-batch-form { display: grid; gap: 1rem; }
.v2-batch-rows { display: grid; gap: .75rem; }
.v2-batch-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .75rem; min-width: 0; margin: 0; padding: .85rem; border: 1px solid #ddc0b7; border-radius: .6rem; }
.v2-batch-row legend { float: none; width: auto; margin: 0; padding: 0 .25rem; color: #391e15; font-size: .9rem; font-weight: 700; }
.v2-batch-row label { display: grid; gap: .35rem; color: #391e15; font-size: .9rem; font-weight: 650; }
.v2-batch-row select, .v2-batch-row input:not([type=checkbox]) { width: 100%; min-width: 0; min-height: 2.65rem; padding: .55rem .7rem; border: 1px solid #c8b8b1; border-radius: .4rem; background: #fff; color: #1b1b1b; font: inherit; }
.v2-horse-inputs { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.v2-batch-row .v2-duplicate-confirmation { grid-column: 1 / -1; }
.v2-batch-row > [data-remove-batch-row] { justify-self: start; }
.v2-batch-actions, .v2-confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.v2-confirm-actions form { margin: 0; }
.v2-review-table-wrap { overflow-x: auto; border: 1px solid #ddc0b7; border-radius: .5rem; background: #fff; }
.v2-review-table { width: 100%; border-collapse: collapse; }
.v2-review-table th, .v2-review-table td { padding: .65rem .75rem; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.v2-review-table th { color: #391e15; font-size: .85rem; }
.v2-review-table small { display: block; color: #66534c; }
.v2-status-form { display: flex; align-items: center; gap: .35rem; min-width: 13rem; }
.v2-status-form select { min-width: 0; padding: .35rem; border: 1px solid #c8b8b1; border-radius: .35rem; background: #fff; }
@media (max-width: 650px) {
    .public-news-nav { gap: .55rem; }
    .public-news-header__link { padding-inline: .5rem; font-size: .85rem; }
    .event-form-heading { align-items: flex-start; flex-direction: column; }
    .event-edit-shortcuts { display: grid; grid-template-columns: 1fr; }
    .event-edit-shortcut { width: 100%; justify-content: flex-start; }
    .event-admin-row { align-items: flex-start; flex-direction: column; }
    .event-admin-row > div { min-width: 0; max-width: 100%; }
    .event-admin-row h2 { overflow-wrap: anywhere; }
    .event-form__grid { grid-template-columns: 1fr; }
    .event-form__wide { grid-column: auto; }
    .event-relation-row { grid-template-columns: 1fr 1fr; }
    .event-relation-row button { grid-column: 1 / -1; justify-self: end; }
    .v2-page-actions { width: 100%; }
    .v2-page-actions .button { flex: 1; justify-content: center; }
    .v2-catalog-card__form { align-items: stretch; flex-direction: column; }
    .v2-search-form > div { flex-direction: column; }
    .v2-horse-row { grid-template-columns: minmax(0, 1fr); }
    .v2-batch-row, .v2-horse-inputs { grid-template-columns: minmax(0, 1fr); }
    .v2-combination-capacity__grid { grid-template-columns: minmax(0, 1fr); }
    .v2-horse-inputs { grid-column: auto; }
    .v2-batch-row .v2-duplicate-confirmation { grid-column: auto; }
    .v2-batch-actions .button, .v2-confirm-actions .button { flex: 1; justify-content: center; }
}
@media (max-width: 1050px) {
    .v2-proof-card { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .v2-proof-card__actions { justify-content: flex-start; }
}
@media (max-width: 500px) {
    .v2-proof-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-proof-card__actions > a, .v2-proof-card__actions > form, .v2-proof-card__actions > form .button { width: 100%; }
}
.v2-ranking-page{display:grid;gap:1rem}
.admin-content.admin-content--ranking-wide{width:calc(100% - 1.5rem);max-width:none;margin-inline:auto}
.v2-ranking-header{margin-bottom:0}
.v2-ranking-scopes{display:flex;align-items:center;gap:1rem;margin:0;padding:1rem 1.25rem}
.v2-ranking-scopes__label,.v2-ranking-exports__label{flex:0 0 auto;color:#66534c;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.v2-ranking-scopes__options{display:flex;flex-wrap:wrap;gap:.4rem;padding:.3rem;border-radius:.75rem;background:#f3f3f3}
.v2-ranking-scopes__options .button{min-height:2.6rem;padding:.55rem 1rem;border-radius:.6rem;text-decoration:none}
.v2-ranking-scopes__options .button--primary{background:#7e2900;color:#fff}
.v2-ranking-scopes__options .button--quiet{border-color:transparent;background:transparent;color:#391e15}
.v2-ranking-scopes__options .button--quiet:hover{background:#fff;color:#7e2900}
.v2-ranking-exports{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem 1.25rem;margin:0;padding:1rem 1.25rem}
.v2-ranking-exports__actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
.v2-ranking-exports__actions .button{display:flex;min-width:0;min-height:2.75rem;align-items:center;justify-content:center;padding:.6rem .75rem;text-align:center;text-decoration:none;line-height:1.3}
.v2-ranking-exports__actions .v2-ranking-export-button{border:1px solid #d8b8aa;border-radius:.65rem;font-weight:750;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
.v2-ranking-exports__actions .v2-ranking-export-button:hover{transform:translateY(-1px)}
.v2-ranking-exports__actions .v2-ranking-export-button:focus-visible{outline:3px solid #d99a70;outline-offset:2px}
.v2-ranking-exports__actions .v2-ranking-export-button--table{border-color:#391e15;background:#391e15;color:#fff}
.v2-ranking-exports__actions .v2-ranking-export-button--table:hover{background:#533024}
.v2-ranking-exports__actions .v2-ranking-export-button--print{border-color:#d5a18d;background:#fff8f5;color:#6c2c13}
.v2-ranking-exports__actions .v2-ranking-export-button--print:hover{background:#ffe7dc}
.v2-ranking-exports__actions .v2-ranking-export-button--image{border-color:#ddc0b7;background:#f0f1f1;color:#391e15}
.v2-ranking-exports__actions .v2-ranking-export-button--image:disabled{cursor:not-allowed;opacity:.68;transform:none}
.v2-ranking-custom-unit[hidden]{display:none!important}
.v2-ranking-editor{gap:1.25rem;margin:0;padding:1.25rem}
.v2-ranking-rules{display:block;grid-column:1/-1;align-self:start;width:100%;min-width:0;margin:0;padding:1rem 1.1rem;border:1px solid #ddc0b7;border-radius:.8rem;background:#f9f9f9;box-sizing:border-box}
.v2-ranking-rules legend{display:grid;width:100%;max-width:100%;gap:.15rem;margin:0 0 .75rem;padding:0;color:#391e15;font-size:1.2rem;font-weight:800;box-sizing:border-box}
.v2-ranking-rules legend small{color:#806d65;font-size:.82rem;font-weight:500}
.v2-ranking-config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem 1rem}
.v2-ranking-config-grid label{min-width:0;font-size:.75rem!important;font-weight:800!important;letter-spacing:.04em;text-transform:uppercase}
.v2-ranking-config-grid input,.v2-ranking-config-grid select{min-height:2.75rem!important;text-transform:none}
.v2-ranking-help{margin:.9rem 0 0;padding:.7rem .85rem;border:1px solid #ffd0c1;border-radius:.55rem;background:#fff8f5;color:#66331e;line-height:1.5}
.v2-ranking-precision-warning{margin:.55rem 0 0;padding:.65rem .8rem;border:1px solid #ba1a1a;border-radius:.55rem;background:#fff4f3;color:#93000a;font-weight:700;line-height:1.45}
.v2-ranking-precision-warning[hidden]{display:none}
.v2-ranking-help code{padding:.1rem .3rem;border-radius:.25rem;background:#ffdbce;color:#5f2410}
.v2-results-scroll{max-width:100%;overflow:visible;border:1px solid #e2d8d3;border-radius:.8rem;background:#fff}
.v2-results-table{width:100%;min-width:76rem;border-collapse:separate;border-spacing:0;background:#fff}
.v2-results-table thead th{position:sticky;top:0;z-index:1;padding:.8rem .75rem;border-bottom:1px solid #e2d8d3;background:#f8f5f3;color:#66534c;font-size:.7rem;font-weight:850;letter-spacing:.055em;text-align:left;text-transform:uppercase;vertical-align:bottom}
.v2-results-table tbody td{padding:.8rem .7rem;border-bottom:1px solid #eee7e3;background:#fff;vertical-align:middle}
.v2-results-table tbody tr:last-child td{border-bottom:0}
.v2-results-table tbody tr:hover td{background:#fffdfa}
.v2-results-table th:first-child,.v2-results-table td:first-child{min-width:13rem}
.v2-results-table th:nth-child(2),.v2-results-table td:nth-child(2){min-width:20rem}
.v2-results-table th:nth-child(3),.v2-results-table td:nth-child(3){min-width:9rem}
.v2-results-table th:nth-child(4),.v2-results-table td:nth-child(4){min-width:10rem}
.v2-results-table th:nth-child(5),.v2-results-table td:nth-child(5){min-width:13rem}
.v2-results-table th:nth-child(6),.v2-results-table td:nth-child(6){min-width:9rem}
.v2-results-table input:not([type=checkbox]),.v2-results-table textarea{width:100%;min-width:0;max-width:none;min-height:2.45rem;padding:.55rem .65rem;border:1px solid #ddc0b7;border-radius:.5rem;background:#fff;color:#1b1b1b;font:inherit;font-size:.82rem;line-height:1.4}
.v2-results-table textarea{min-height:5.25rem;resize:vertical;white-space:pre-wrap}
.v2-attempt-list{display:grid;min-width:0;gap:.5rem}
.v2-attempt-row{display:grid;grid-template-columns:2rem minmax(0,1fr) 2.25rem;align-items:center;gap:.4rem;min-width:0}
.v2-attempt-row>strong{display:grid;min-height:2rem;place-items:center;border:1px solid #ddc0b7;border-radius:.45rem;background:#fff4ee;color:#7e2900;font-size:.75rem}
.v2-results-table .v2-attempt-row>input{min-width:4rem;text-align:center;font-weight:750}
.v2-penalty-list{display:grid;min-width:0;gap:.5rem}
.v2-penalty-entry{display:grid;grid-template-columns:minmax(0,1fr) 2.15rem;gap:.35rem;min-width:0}
.v2-results-table .v2-penalty-entry .v2-penalty-description{grid-column:1/-1}
.v2-results-table .v2-penalty-entry [data-penalty-amount]{grid-column:1;text-align:center;font-weight:750}
.v2-results-table .v2-penalty-entry .v2-penalty-remove{grid-column:2;grid-row:2}
.v2-penalty-add{display:inline-flex;min-height:2.2rem;align-items:center;gap:.25rem;margin-top:.5rem;padding:.3rem .6rem!important;border:1px solid #ddc0b7!important;border-radius:.5rem;color:#7e2900!important;font-size:.75rem!important;font-weight:800!important}
.v2-penalty-add:hover,.v2-penalty-remove:hover{background:#fff4ee!important}
.v2-penalty-add:disabled,.v2-penalty-remove:disabled{cursor:not-allowed;opacity:.55}
.v2-attempt-remove{min-width:2rem;min-height:2rem;padding:.1rem!important;border:1px solid #ddc0b7!important;border-radius:.45rem;color:#7e2900!important;font-size:1.1rem!important}
.v2-attempt-add{display:inline-flex;min-height:2.2rem;align-items:center;gap:.25rem;margin-top:.5rem;padding:.3rem .6rem!important;border:1px solid #ddc0b7!important;border-radius:.5rem;color:#7e2900!important;font-size:.75rem!important;font-weight:800!important}
.v2-attempt-add:hover,.v2-attempt-remove:hover{background:#fff4ee!important}
.v2-attempt-add:disabled{cursor:not-allowed;opacity:.55}
.v2-results-table input:focus,.v2-results-table textarea:focus{border-color:#7e2900;outline:2px solid #7e290033;outline-offset:1px}
.v2-results-table input[readonly],.v2-results-table textarea[readonly]{background:#f5f3f2;color:#655650}
.v2-results-table td small{display:block;margin-top:.35rem;color:#806d65;font-size:.72rem;line-height:1.4}
.v2-results-participant__identity{display:flex;align-items:flex-start;gap:.65rem}
.v2-results-participant__identity>span:last-child{display:grid;min-width:0;gap:.15rem}
.v2-results-participant__identity strong{color:#24160f;font-size:.9rem;line-height:1.35}
.v2-results-number{display:grid;min-width:2rem;height:2rem;place-items:center;border:1px solid #ddc0b7;border-radius:50%;background:#fff4ee;color:#7e2900;font-size:.72rem;font-weight:850}
.v2-results-horse{display:inline-flex;max-width:100%;margin:.5rem 0 0 2.65rem;padding:.2rem .5rem;overflow-wrap:anywhere;border:1px solid #e2e2e2;border-radius:.45rem;background:#f3f3f3;color:#5f2410;font-size:.72rem;font-weight:750}
.v2-results-position{text-align:center}
.v2-results-table input[type=number]{width:100%;text-align:center;font-weight:800}
.v2-results-position small{color:#806d65}
.v2-results-position small.is-manual{color:#7e2900;font-weight:800}
.v2-results-disqualification{display:grid;gap:.45rem;padding:.55rem;border:1px solid #e2e2e2;border-radius:.6rem;background:#f8f8f8}
.v2-results-disqualification label{display:flex;align-items:center;gap:.4rem;color:#ba1a1a;font-size:.75rem;font-weight:800}
.v2-results-disqualification input[type=checkbox]{width:1rem;height:1rem;accent-color:#ba1a1a}
.v2-results-official{vertical-align:middle}
.v2-results-classification{display:grid;justify-items:start;gap:.3rem}
.v2-results-official strong{display:inline-flex;padding:.35rem .55rem;border:1px solid #ddc0b7;border-radius:.5rem;background:#fff4ee;color:#7e2900;font-size:.76rem}
.v2-results-official strong[hidden],.v2-results-official small[hidden]{display:none}
.v2-results-official strong{font-size:.95rem;font-weight:900}
.v2-results-official small{font-size:.76rem}
.v2-results-empty{padding:1.5rem!important;color:#66534c;text-align:center!important}
.v2-ranking-save{align-items:center;justify-content:space-between;padding-top:1rem}
.v2-ranking-status{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .8rem;border:1px solid #ffd0c1;border-radius:999px;background:#fff8f5;color:#5f2410;font-size:.75rem}
.v2-ranking-status>span:first-child{width:.55rem;height:.55rem;border-radius:50%;background:#c97943}
.v2-ranking-status>span:last-child{color:#7e2900;font-weight:850;text-transform:uppercase}
.v2-ranking-save .button{min-height:2.85rem;padding:.65rem 1.1rem}
.v2-ranking-save__actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}
.v2-ranking-save__actions .button{min-height:2.85rem;padding:.65rem 1.1rem}
.v2-ranking-save__actions .button--publish{border-color:#16803c;background:#16803c;color:#fff}
.v2-ranking-save__actions .button--publish:hover{border-color:#116b32;background:#116b32}
.v2-ranking-save__actions .button--publish:focus-visible{outline:3px solid #92d5a8;outline-offset:2px}
.v2-ranking-secondary-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:.75rem}
.v2-publish-ranking{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0;padding:1rem 1.25rem}
.v2-publish-ranking p{margin:.25rem 0 0;color:#806d65;font-size:.82rem;line-height:1.45}
.v2-publish-ranking--publish>div{min-width:min(100%,18rem);flex:1}
.v2-publish-ranking--restore{justify-content:flex-start}
.v2-publish-ranking--restore .button{color:#5f2410}
.v2-ranking-print__controls{display:grid;gap:1.25rem;margin:0 0 1.25rem}
.v2-ranking-print__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem}
.v2-ranking-print__logo{display:block;width:min(11rem,30%);height:auto;object-fit:contain}
.v2-ranking-print__meta{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.45rem}
.v2-ranking-print__meta span{display:inline-flex;align-items:center;min-height:2rem;padding:.35rem .75rem;border:1px solid #d3d3d3;border-radius:.65rem;background:#f0f1f1;color:#391e15;font-weight:700;line-height:1.2;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.v2-ranking-print__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.v2-ranking-print__actions .button{display:inline-flex;min-width:min(15rem,100%);min-height:3rem;flex:0 1 15rem;align-items:center;justify-content:center;padding:.7rem 1rem;border:1px solid transparent;border-radius:.75rem;font-size:1rem;font-weight:750;line-height:1.3;text-align:center;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}
.v2-ranking-print__actions .button:hover{transform:translateY(-1px)}
.v2-ranking-print__actions .button:focus-visible{outline:3px solid #d99a70;outline-offset:2px}
.v2-ranking-print__toggle{border-color:#ddc0b7!important;background:#fff8f5;color:#6c2c13}
.v2-ranking-print__toggle:hover{border-color:#d5a18d!important;background:#ffe7dc;color:#391e15}
.v2-ranking-print__submit{border-color:#000!important;background:#000;color:#fff}
.v2-ranking-print__submit:hover{border-color:#391e15!important;background:#391e15;color:#fff}
.v2-ranking-print__back{border-color:#d3d3d3!important;background:#f0f1f1;color:#391e15}
.v2-ranking-print__back:hover{border-color:#b7a39b!important;background:#e5e7e7;color:#391e15}
.v2-ranking-print__table{width:100%;border-collapse:collapse;background:#fff;color:#1b1b1b}
.v2-ranking-print__table-wrap{max-width:100%;overflow-x:auto;margin-top:0}
.v2-ranking-print__table th,.v2-ranking-print__table td{padding:.55rem .65rem;border:1px solid #c8b8b1;text-align:center;vertical-align:middle}
.v2-ranking-print__table th{background:#391e15;color:#fff}
.v2-ranking-print__table td span{display:block;text-align:center}
.v2-ranking-print__place{display:inline!important;color:#7e2900;font-weight:800;font-variant-numeric:tabular-nums}
.v2-ranking-print__place--disqualified{color:#a12626}
.v2-ranking-poster-card{display:grid;justify-items:center;gap:1rem}
.v2-ranking-poster-card__actions{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.v2-ranking-poster-preview{display:block;width:min(100%,540px);height:auto;border:1px solid #ddc0b7;box-shadow:0 1rem 2rem rgba(57,30,21,.16)}
@media print{
    body.admin-page{background:#fff!important}
    .admin-header,.admin-nav,.v2-ranking-print__actions{display:none!important}
    .admin-shell,.admin-content,.v2-ranking-print{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
    .v2-ranking-print__controls{display:block!important;margin:0 0 2rem!important;padding:0!important}
    .v2-ranking-print__heading{align-items:flex-start;gap:1rem}
    .v2-ranking-print__logo{width:12rem;max-height:5rem;flex:0 0 auto}
    .v2-ranking-print__table-wrap{overflow:visible}
    .v2-ranking-print__table{min-width:0}
    .v2-ranking-print__table th{background:#e7ddd8!important;color:#1b1b1b!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    .v2-ranking-print__table tr{break-inside:avoid}
}
@media screen and (max-width: 480px){
    .event-form__actions,.event-form__submit{justify-content:stretch}
    .event-form__actions .button,.event-form__submit .button{flex:1 1 100%}
    .v2-ranking-print__actions{display:grid;grid-template-columns:1fr}
    .v2-ranking-print__actions .button{width:100%;max-width:none;min-width:0;flex-basis:auto}
}
@media screen and (max-width: 900px){
    .v2-ranking-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v2-ranking-exports{grid-template-columns:1fr;gap:.65rem}
    .v2-ranking-exports__actions{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v2-ranking-secondary-actions{grid-template-columns:1fr}
}
@media screen and (min-width: 768px){
    .admin-content.admin-content--ranking-wide{width:calc(100% - clamp(2rem,4vw,5rem));max-width:none}
}
@media screen and (max-width: 1400px){
    .v2-results-scroll{border:0;border-radius:0;background:transparent}
    .v2-results-table{display:block;min-width:0;border-spacing:0}
    .v2-results-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
    .v2-results-table tbody{display:grid;gap:.75rem}
    .v2-results-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid #e2d8d3;border-radius:.75rem;background:#fff}
    .v2-results-table tbody td{display:grid;grid-template-columns:minmax(9rem,12rem) minmax(0,1fr);align-items:start;gap:.65rem .85rem;min-width:0;padding:.75rem;border-bottom:1px solid #eee7e3}
    .v2-results-table tbody td::before{content:attr(data-label);grid-column:1;grid-row:1/-1;padding-top:.35rem;color:#66534c;font-size:.7rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
    .v2-results-table tbody td:first-child{display:block;padding:1rem;background:#fffdfa}
    .v2-results-table tbody td:first-child::before{content:none}
    .v2-results-table .v2-results-attempts textarea,.v2-results-table .v2-results-attempts small{grid-column:2}
    .v2-results-table .v2-attempt-list,.v2-results-table .v2-attempt-add,.v2-results-table .v2-penalty-list,.v2-results-table .v2-penalty-add{grid-column:2}
    .v2-attempt-row{grid-template-columns:2rem minmax(0,1fr) 2.25rem}
    .v2-attempt-row .v2-attempt-remove{grid-column:3;grid-row:1}
    .v2-results-table .v2-results-position input,.v2-results-table .v2-results-position small{grid-column:2}
    .v2-results-table .v2-results-disqualification{grid-template-columns:minmax(9rem,12rem) minmax(0,1fr)}
    .v2-results-table .v2-results-disqualification::before{grid-column:1;grid-row:1/3}
    .v2-results-table .v2-results-disqualification label,.v2-results-table .v2-results-disqualification input:not([type=checkbox]){grid-column:2}
    .v2-results-table .v2-results-classification{grid-column:2}
    .v2-results-table .v2-results-empty{display:block}
}
@media screen and (max-width: 650px){
    .v2-ranking-page{gap:.75rem}
    .v2-ranking-header{align-items:flex-start}
    .v2-ranking-scopes{align-items:flex-start;flex-direction:column;gap:.55rem;padding:.85rem}
    .v2-ranking-scopes__options{width:100%;max-width:100%;overflow-x:auto;flex-wrap:nowrap}
    .v2-ranking-scopes__options .button{flex:0 0 auto}
    .v2-ranking-exports{padding:.85rem}
    .v2-ranking-exports__actions{grid-template-columns:1fr}
    .v2-ranking-exports__actions .button{justify-content:flex-start;text-align:left}
    .v2-ranking-editor{gap:1rem;padding:.85rem}
    .v2-ranking-rules{padding:.8rem}
    .v2-ranking-rules legend{font-size:1.05rem}
    .v2-ranking-rules legend small{font-size:.76rem}
    .v2-ranking-config-grid{grid-template-columns:1fr}
    .v2-results-table{min-width:0}
    .v2-results-table tbody td{grid-template-columns:minmax(6.75rem,8rem) minmax(0,1fr);gap:.55rem;padding:.65rem}
    .v2-results-table .v2-results-disqualification{grid-template-columns:minmax(6.75rem,8rem) minmax(0,1fr)}
    .v2-results-table .v2-results-disqualification::before{grid-row:1/3}
    .v2-results-table th:first-child,.v2-results-table td:first-child{min-width:0}
    .v2-results-table th:nth-child(2),.v2-results-table td:nth-child(2),.v2-results-table th:nth-child(3),.v2-results-table td:nth-child(3),.v2-results-table th:nth-child(4),.v2-results-table td:nth-child(4),.v2-results-table th:nth-child(5),.v2-results-table td:nth-child(5),.v2-results-table th:nth-child(6),.v2-results-table td:nth-child(6){min-width:0}
    .v2-ranking-save{align-items:stretch;flex-direction:column}
    .v2-ranking-save__actions{display:grid;grid-template-columns:1fr}
    .v2-ranking-save__actions .button{width:100%;justify-content:center}
    .v2-ranking-status{justify-content:center}
    .v2-publish-ranking{align-items:stretch;flex-direction:column}
    .v2-publish-ranking .button{width:100%;justify-content:center}
}
@media screen and (max-width: 650px){
    .v2-ranking-print__table{min-width:0}
}
.puck-conflict-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:1rem;background:rgba(20,18,16,.72)}
.puck-conflict-dialog{display:flex;width:min(68rem,100%);max-height:92vh;flex-direction:column;gap:.75rem;overflow:auto;padding:1.25rem;border-radius:.75rem;background:#fff;color:#24160f;box-shadow:0 1rem 4rem rgba(0,0,0,.28)}
.puck-conflict-dialog h2,.puck-conflict-dialog p{margin:0}
.puck-conflict-preview{min-height:10rem;max-height:55vh;overflow:auto;border:1px solid #d8d2ca;border-radius:.5rem;padding:1rem}
.puck-conflict-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}
