.method4-pools { color: #173a50; padding: 1rem 0; }
.method4-pools * { box-sizing: border-box; }
.method4-pools-intro h2 { margin: 0 0 .35rem; font-size: 1.55rem; }
.method4-pools-time { color: #688596; margin: .35rem 0; font-size: .88rem; }
.method4-pools-archive { color: #126f7c; }
.method4-pool-policy-note { margin: .65rem 0; padding: .7rem .85rem; border-left: 3px solid #087f8c; border-radius: .35rem; background: #edf7f7; color: #173a50; font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }
.method4-pool-policy-original { border-color: #688596; background: #f2f6f8; }
.method4-ticket-policy { margin: -.35rem 0 .75rem; color: #557487; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.method4-pools-revision-warning { margin: .65rem 0; padding: .8rem 1rem; border: 1px solid #cb772a; border-radius: .55rem; background: #fff1dc; color: #673c13; font-weight: 700; line-height: 1.55; }
.method4-pool-groups { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0; }
.method4-pool-groups button { border: 1px solid #c9dce4; border-radius: 1.4rem; padding: .7rem 1.1rem; background: #fff; color: #173a50; font: inherit; cursor: pointer; min-height: 44px; }
.method4-pool-groups button[aria-selected="true"] { background: #087f8c; color: #fff; border-color: #087f8c; }
.method4-pool-groups button:focus-visible { outline: 3px solid #d4a21b; outline-offset: 3px; }
.method4-pool-panel { display: grid; gap: 1rem; min-width: 0; }
.method4-ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; min-width: 0; align-items: start; }
.method4-ticket-grid > :only-child { grid-column: 1 / -1; max-width: 650px; width: 100%; justify-self: center; }
.method4-pool-card { min-width: 0; background: #fff; border: 1px solid #d7e5eb; border-radius: .85rem; padding: 1.1rem; }
.method4-pool-card-heading { display: flex; justify-content: space-between; align-items: start; gap: .5rem; margin-bottom: 1rem; }
.method4-pool-card h3 { font-size: 1.15rem; margin: 0; }
.method4-pool-order { color: #087f8c; font-size: .75rem; border-radius: 1rem; background: #eff7f9; padding: .3rem .6rem; text-align: center; }
.method4-ticket-entry { padding: .75rem .8rem; background: #edf7f7; border-radius: .55rem; margin-bottom: .9rem; }
.method4-ticket-entry strong { display: block; margin: .2rem 0; font-size: .95rem; overflow-wrap: anywhere; }
.method4-ticket-note { display: block; font-size: .75rem; line-height: 1.45; color: #557487; }
.method4-tick-title { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.method4-tick-title strong { font-size: .82rem; }
.method4-tick-title > span { font-size: .7rem; color: #688596; text-align: right; }
.method4-tick-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.method4-tick-table th { color: #557487; font-size: .72rem; text-align: center; padding: .5rem .15rem; border-bottom: 1px solid #d7e5eb; overflow-wrap: anywhere; }
.method4-tick-table th:first-child { width: 54%; text-align: left; }
.method4-tick-table td { padding: .65rem .15rem; text-align: center; vertical-align: middle; border-bottom: 1px solid #d7e5eb; }
.method4-tick-table td:first-child { text-align: left; }
.method4-tick-banker { background: #fff3d5; }
.method4-tick-horse { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.method4-tick-horse > div { min-width: 0; }
.method4-tick-name { font-size: .8rem; overflow-wrap: anywhere; display: block; }
.method4-tick-role { display: block; color: #688596; font-size: .7rem; margin-top: .1rem; }
.method4-tick-banker .method4-tick-role { color: #916711; }
.method4-pool-number { width: 1.8rem; height: 1.8rem; border-radius: .45rem; background: #e9f4f6; color: #087f8c; display: inline-flex; align-items: center; justify-content: center; font-weight: 750; flex: 0 0 auto; }
.method4-tick-banker .method4-pool-number { color: #916711; background: #fff3d5; }
.method4-entry-check { appearance: none; -webkit-appearance: none; position: relative; width: 23px; height: 23px; border: 1.5px solid #b6ccd5; border-radius: 4px; background: #fff; margin: 0; vertical-align: middle; opacity: 1; }
.method4-entry-check:checked { background: #087f8c; border-color: #087f8c; }
.method4-entry-check:checked::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.method4-ticket-mark-hint, .method4-ticket-leave { color: #557487; font-size: .75rem; line-height: 1.5; margin: .75rem 0 0; }
.method4-ticket-leave { display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; }
.method4-ticket-empty-label { border: 1px solid #d7e5eb; padding: .1rem .4rem; border-radius: .25rem; }
.method4-ticket-cost { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1rem; border-top: 1px solid #d7e5eb; padding-top: .85rem; }
.method4-ticket-cost > div { min-width: 0; }
.method4-ticket-cost > div:last-child { text-align: right; }
.method4-ticket-cost span, .method4-ticket-cost small { display: block; font-size: .72rem; line-height: 1.5; color: #557487; }
.method4-ticket-cost strong { display: block; margin: .15rem 0; color: #173a50; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.method4-ticket-cost > div:first-child strong { font-size: 1.05rem; }
.method4-pool-outcome, .method4-pool-empty { color: #557487; line-height: 1.5; font-size: .8rem; }
.method4-ticket-evidence { border-top: 1px solid #d7e5eb; padding-top: .6rem; margin-top: .8rem; }
.method4-ticket-evidence summary { color: #087f8c; cursor: pointer; font-size: .82rem; min-height: 36px; padding: .35rem 0; }
.method4-pool-runners { list-style: none; margin: .8rem 0; padding: 0; display: grid; gap: .75rem; }
.method4-pool-runner-heading { display: flex; align-items: center; gap: .65rem; }
.method4-pool-runner-heading strong { overflow-wrap: anywhere; }
.method4-pool-reasons { padding-left: 1.1rem; margin: .55rem 0 0; font-size: .8rem; color: #557487; line-height: 1.5; }
.method4-pool-reasons li + li { margin-top: .35rem; }
.method4-longshot-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: .5rem; overflow: hidden; }
.method4-longshot-quotes > div { padding: .8rem; background: #edf7f8; }
.method4-longshot-quotes span, .method4-longshot-quotes strong { display: block; }
.method4-longshot-quotes strong { margin-top: .3rem; font-size: 1.4rem; }
.method4-longshot-card { grid-column: 1 / -1; }
.method4-pool-group-note { margin: 0; padding-top: .8rem; border-top: 1px solid #d7e5eb; color: #557487; font-size: .8rem; line-height: 1.5; }
@media (max-width: 760px) {
  .method4-ticket-grid { grid-template-columns: 1fr; }
  .method4-pool-groups button { padding: .6rem .8rem; font-size: .85rem; }
}
@media (max-width: 420px) {
  .method4-pool-card { padding: .8rem; }
  .method4-tick-title { flex-direction: column; gap: .15rem; }
  .method4-tick-title > span { text-align: left; }
  .method4-tick-table th:first-child { width: 50%; }
  .method4-ticket-cost { gap: .45rem; }
  .method4-ticket-cost span, .method4-ticket-cost small { font-size: .7rem; }
  .method4-pool-card h3 { font-size: 1.05rem; }
  .method4-pool-order { font-size: .7rem; }
}
@media (forced-colors: active) {
  .method4-entry-check:checked { appearance: auto; }
  .method4-entry-check:checked::after { display: none; }
}
