.jhr-sweep {
	--sw-green: #2b7308;
	--sw-deep: #1e4f06;
	--sw-lime: #a8d889;
	--sw-cream: #f5f3eb;
	--sw-paper: #fff;
	--sw-ink: #17231c;
	--sw-copy: #526158;
	--sw-muted: #78837c;
	--sw-line: #dfe5df;
	--sw-gold: #d7a62b;
	background: #fff;
	color: var(--sw-ink);
	font-family: "Inter", Arial, Helvetica, sans-serif;
}

body.page-template-page-sweep-generator { overflow-x: clip; }

.jhr-sweep button,
.jhr-sweep input,
.jhr-sweep select,
.jhr-sweep textarea { font: inherit; }
.jhr-sweep button { color: inherit; }
.jhr-sweep [hidden] { display: none !important; }
.jhr-sweep-eyebrow { display: block; color: var(--sw-green); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.jhr-sweep-hero {
	position: relative;
	overflow: hidden;
	padding: 42px 0 50px;
	border-bottom: 1px solid #dce6da;
	background:
		radial-gradient(circle at 84% 8%, rgba(168, 216, 137, .26), transparent 29%),
		linear-gradient(145deg, #eef6ea 0%, #fbfdfb 61%, #f5f3eb 100%);
}
.jhr-sweep-hero::after { position: absolute; right: -90px; bottom: -145px; width: 390px; height: 390px; border: 1px solid rgba(34, 115, 18, .09); border-radius: 50%; box-shadow: 0 0 0 58px rgba(34, 115, 18, .025), 0 0 0 116px rgba(34, 115, 18, .018); content: ""; }
.jhr-sweep-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(44px, 7vw, 100px); align-items: center; }
.jhr-sweep-hero .breadcrumb-lite { margin-bottom: 31px; font-size: 10px; }
.jhr-sweep-hero__copy { max-width: 820px; }
.jhr-sweep-hero__copy h1 { max-width: 750px; margin: 8px 0 15px; color: var(--sw-deep); font-size: clamp(46px, 6.1vw, 75px); font-weight: 860; letter-spacing: -.055em; line-height: .95; }
.jhr-sweep-hero__copy > p { max-width: 720px; margin: 0; color: var(--sw-copy); font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; }
.jhr-sweep-hero__ticks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 23px 0 0; padding: 0; list-style: none; }
.jhr-sweep-hero__ticks li { position: relative; padding-left: 18px; color: var(--sw-deep); font-size: 11px; font-weight: 790; }
.jhr-sweep-hero__ticks li::before { position: absolute; top: 2px; left: 0; width: 10px; height: 6px; border-bottom: 2px solid var(--sw-green); border-left: 2px solid var(--sw-green); transform: rotate(-45deg); content: ""; }
.jhr-sweep-chooser { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; }
.jhr-sweep-chooser a,
.jhr-sweep-chooser span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid #cad9c8; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--sw-deep); font-size: 8px; font-weight: 800; text-decoration: none; }
.jhr-sweep-chooser span { border-color: var(--sw-green); background: var(--sw-green); color: #fff; }
.jhr-sweep-chooser a:hover { border-color: var(--sw-green); background: #fff; color: var(--sw-green); }

.jhr-sweep-hero__ticket { width: 262px; margin-inline: auto; overflow: hidden; border: 1px solid rgba(18, 59, 40, .22); border-radius: 5px; background: #fbf9ef; box-shadow: 0 25px 50px rgba(18, 59, 40, .16); transform: rotate(3deg); }
.jhr-sweep-ticket__top { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px dashed rgba(18, 59, 40, .35); color: var(--sw-deep); }
.jhr-sweep-ticket__top span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--sw-deep); color: #fff; font-size: 10px; font-weight: 800; }
.jhr-sweep-ticket__top strong { font-size: 10px; letter-spacing: .12em; }
.jhr-sweep-ticket__top small { font-size: 8px; font-weight: 800; }
.jhr-sweep-ticket__body { position: relative; padding: 21px 22px 18px; background: var(--sw-green); color: #fff; }
.jhr-sweep-ticket__body::after { position: absolute; inset: 0; opacity: .16; background-image: repeating-linear-gradient(135deg, transparent 0 14px, #fff 14px 15px); content: ""; }
.jhr-sweep-ticket__body > * { position: relative; z-index: 1; display: block; }
.jhr-sweep-ticket__body span { font-size: 9px; font-weight: 850; letter-spacing: .3em; }
.jhr-sweep-ticket__body b { margin-top: 3px; font-size: 41px; letter-spacing: -.045em; line-height: .82; }
.jhr-sweep-ticket__body em { width: max-content; margin-top: 14px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.7); font-size: 8px; font-style: normal; font-weight: 850; letter-spacing: .15em; }
.jhr-sweep-ticket__stub { display: flex; gap: 9px; align-items: center; justify-content: center; padding: 12px 10px; color: var(--sw-deep); font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.jhr-sweep-ticket__stub i { width: 4px; height: 4px; border-radius: 50%; background: var(--sw-gold); }

.jhr-sweep-workspace { padding: 43px 0 68px; background: #f5f7f4; }
.jhr-sweep-steps { display: grid; grid-template-columns: auto minmax(35px, 115px) auto minmax(35px, 115px) auto; justify-content: center; align-items: center; margin-bottom: 24px; }
.jhr-sweep-steps > i { height: 1px; background: #cfd7d0; }
.jhr-sweep-steps button { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 9px; min-width: 112px; padding: 0; border: 0; background: transparent; color: var(--sw-muted); text-align: left; }
.jhr-sweep-steps button > span { display: grid; grid-row: 1 / 3; width: 34px; height: 34px; place-items: center; border: 1px solid #cfd7d0; border-radius: 50%; background: #fff; color: var(--sw-muted); font-size: 10px; font-weight: 850; }
.jhr-sweep-steps button strong { align-self: end; font-size: 11px; line-height: 1.1; }
.jhr-sweep-steps button small { align-self: start; margin-top: 2px; font-size: 8px; line-height: 1; }
.jhr-sweep-steps button.is-active { color: var(--sw-deep); }
.jhr-sweep-steps button.is-active > span,
.jhr-sweep-steps button.is-complete > span { border-color: var(--sw-green); background: var(--sw-green); color: #fff; }
.jhr-sweep-steps button.is-complete > span { font-size: 0; }
.jhr-sweep-steps button.is-complete > span::after { width: 9px; height: 5px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); content: ""; }
.jhr-sweep-alert { max-width: 840px; margin: 0 auto 18px; padding: 11px 14px; border: 1px solid #e7c5bf; border-radius: 6px; background: #fff4f2; color: #8a3024; font-size: 11px; font-weight: 720; text-align: center; }

.jhr-sweep-grid { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 22px; align-items: start; }
.jhr-sweep-builder { min-width: 0; }
.jhr-sweep-panel { overflow: hidden; border: 1px solid var(--sw-line); border-radius: 10px; background: var(--sw-paper); box-shadow: 0 12px 35px rgba(22, 49, 31, .07); }
.jhr-sweep-panel__head { display: flex; gap: 15px; align-items: center; padding: 22px 25px; border-bottom: 1px solid var(--sw-line); background: linear-gradient(90deg, #fff 0%, #fbfcfb 100%); }
.jhr-sweep-panel__head > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf5e9; color: var(--sw-green); font-size: 10px; font-weight: 800; }
.jhr-sweep-panel__head h2 { margin: 0; color: var(--sw-deep); font-size: 21px; letter-spacing: -.025em; }
.jhr-sweep-panel__head p { margin: 3px 0 0; color: var(--sw-muted); font-size: 10px; }
.jhr-sweep-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 25px; }
.jhr-sweep-field { display: grid; gap: 7px; }
.jhr-sweep-field--wide { grid-column: 1 / -1; }
.jhr-sweep-field > span,
.jhr-sweep-list-field > span strong { color: var(--sw-deep); font-size: 10px; font-weight: 820; }
.jhr-sweep-field input,
.jhr-sweep-field select,
.jhr-sweep-list-field textarea { width: 100%; border: 1px solid #d7ddd8; border-radius: 5px; outline: none; background: #fff; color: var(--sw-ink); font-size: 12px; transition: border-color .18s, box-shadow .18s; }
.jhr-sweep-field input,
.jhr-sweep-field select { height: 43px; padding: 0 12px; }
.jhr-sweep-field select { appearance: auto; }
.jhr-sweep-field input:focus,
.jhr-sweep-field select:focus,
.jhr-sweep-list-field textarea:focus { border-color: var(--sw-green); box-shadow: 0 0 0 3px rgba(34, 115, 18, .1); }
.jhr-sweep-money { position: relative; }
.jhr-sweep-money b { position: absolute; top: 50%; left: 13px; color: var(--sw-green); font-size: 13px; transform: translateY(-50%); }
.jhr-sweep-money input { padding-left: 28px; }

.jhr-sweep-source { padding: 15px; border: 1px solid #dbe3dc; border-radius: 7px; background: #f7faf6; }
.jhr-sweep-source__head { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.jhr-sweep-source__head > div:first-child { display: grid; gap: 2px; }
.jhr-sweep-source__head span,
.jhr-sweep-live-picker label > span { color: var(--sw-muted); font-size: 8px; font-weight: 750; }
.jhr-sweep-source__head strong { color: var(--sw-deep); font-size: 12px; }
.jhr-sweep-source__tabs { display: flex; overflow: hidden; border: 1px solid #cfd8d0; border-radius: 4px; background: #fff; }
.jhr-sweep-source__tabs button { min-height: 30px; padding: 0 12px; border: 0; border-left: 1px solid #d8dfd9; background: #fff; color: var(--sw-copy); font-size: 8px; font-weight: 800; }
.jhr-sweep-source__tabs button:first-child { border-left: 0; }
.jhr-sweep-source__tabs button.is-active { background: var(--sw-deep); color: #fff; }
.jhr-sweep-live-picker { display: grid; grid-template-columns: 135px minmax(180px, 1fr) auto auto; gap: 8px; align-items: end; }
.jhr-sweep-live-picker label { display: grid; gap: 5px; }
.jhr-sweep-live-picker input,
.jhr-sweep-live-picker select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid #d7ddd8; border-radius: 4px; outline: 0; background: #fff; color: var(--sw-ink); font-size: 10px; }
.jhr-sweep-live-picker select:disabled { color: var(--sw-muted); cursor: wait; }
.jhr-sweep-live-picker .jhr-sweep-button { min-height: 39px; white-space: nowrap; }
.jhr-sweep-live-status { margin: 9px 0 0; color: var(--sw-muted); font-size: 8px; }
.jhr-sweep-live-status.is-success { color: var(--sw-green); font-weight: 760; }
.jhr-sweep-live-status.is-error { color: #9a392e; }

.jhr-sweep-prizes { margin: 0 25px 25px; padding: 18px; border: 1px solid #e2e7e2; border-radius: 7px; background: #fafbf9; }
.jhr-sweep-subhead { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.jhr-sweep-subhead h3 { margin: 0; color: var(--sw-deep); font-size: 13px; }
.jhr-sweep-subhead p { margin: 3px 0 0; color: var(--sw-muted); font-size: 9px; }
.jhr-sweep-presets { display: flex; overflow: hidden; flex: 0 0 auto; border: 1px solid #d7ddd8; border-radius: 4px; }
.jhr-sweep-presets button { padding: 7px 9px; border: 0; border-left: 1px solid #d7ddd8; background: #fff; color: var(--sw-copy); font-size: 8px; font-weight: 750; }
.jhr-sweep-presets button:first-child { border-left: 0; }
.jhr-sweep-presets button.is-active { background: var(--sw-deep); color: #fff; }
.jhr-sweep-prize-inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.jhr-sweep-prize-inputs label { display: grid; grid-template-columns: 25px minmax(0,1fr); grid-template-rows: auto auto; gap: 2px 7px; align-items: center; min-width: 0; padding: 9px; border: 1px solid #e0e5e0; border-radius: 5px; background: #fff; }
.jhr-sweep-medal { display: grid; grid-row: 1 / 3; width: 24px; height: 24px; place-items: center; border-radius: 50%; font-size: 9px; font-weight: 800; }
.jhr-sweep-medal--gold { background: #f8edca; color: #987111; }
.jhr-sweep-medal--silver { background: #e9eeec; color: #69746f; }
.jhr-sweep-medal--bronze { background: #f2dfd1; color: #985e38; }
.jhr-sweep-medal--last { background: #eee9f3; color: #74588b; }
.jhr-sweep-prize-inputs strong { overflow: hidden; color: var(--sw-deep); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-percent { color: var(--sw-muted); font-size: 10px; }
.jhr-sweep-percent input { width: 36px; padding: 0; border: 0; outline: 0; appearance: textfield; background: transparent; color: var(--sw-green); font-size: 13px; font-weight: 850; }
.jhr-sweep-percent input::-webkit-inner-spin-button,
.jhr-sweep-percent input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.jhr-sweep-total { display: flex; justify-content: space-between; margin: 13px 0 0; padding-top: 10px; border-top: 1px solid #e1e6e1; color: var(--sw-muted); font-size: 9px; }
.jhr-sweep-total strong { color: #a62f24; }
.jhr-sweep-total.is-valid strong { color: var(--sw-green); }

.jhr-sweep-panel__actions,
.jhr-sweep-result-actions { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 16px 25px; border-top: 1px solid var(--sw-line); background: #fbfcfb; }
.jhr-sweep-panel__actions > span { color: var(--sw-muted); font-size: 8px; }
.jhr-sweep-panel__actions > div,
.jhr-sweep-result-actions > div { display: flex; gap: 8px; }
.jhr-sweep-button { display: inline-flex; min-height: 39px; gap: 10px; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--sw-green); border-radius: 4px; background: var(--sw-green); color: #fff !important; font-size: 10px; font-weight: 820; line-height: 1; text-decoration: none; transition: transform .18s, background .18s; }
.jhr-sweep-button:hover { background: var(--sw-deep); transform: translateY(-1px); }
.jhr-sweep-button:disabled,
.jhr-sweep-button.is-loading { opacity: .62; cursor: wait; transform: none; }
.jhr-sweep-button--quiet { border-color: transparent; background: transparent; color: var(--sw-copy) !important; }
.jhr-sweep-button--quiet:hover { background: #eef3ed; }
.jhr-sweep-button--outline { border-color: #cfd8d0; background: #fff; color: var(--sw-deep) !important; }
.jhr-sweep-button--outline:hover { border-color: var(--sw-green); background: #f5faf3; }
.jhr-sweep-link-button { padding: 0 8px; border: 0; background: transparent; color: var(--sw-green) !important; font-size: 9px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.jhr-sweep-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; padding: 25px; }
.jhr-sweep-list-field { display: grid; gap: 8px; min-width: 0; }
.jhr-sweep-list-field > span { display: flex; justify-content: space-between; }
.jhr-sweep-list-field > span small { color: var(--sw-green); font-size: 8px; font-weight: 760; }
.jhr-sweep-list-field textarea { min-height: 275px; padding: 11px 13px; resize: vertical; line-height: 1.75; }
.jhr-sweep-list-field em { color: var(--sw-muted); font-size: 8px; font-style: normal; }
.jhr-sweep-live-field { min-width: 0; overflow: hidden; border: 1px solid #dce4dd; border-radius: 6px; background: #f8faf7; }
.jhr-sweep-live-field > header { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-bottom: 1px solid #dfe6e0; background: #edf5e9; }
.jhr-sweep-live-field > header div { display: grid; gap: 1px; }
.jhr-sweep-live-field > header span { color: var(--sw-green); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.jhr-sweep-live-field > header strong { overflow: hidden; max-width: 290px; color: var(--sw-deep); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-live-field > header small { color: var(--sw-green); font-size: 8px; font-weight: 800; }
.jhr-sweep-live-field > div { max-height: 318px; overflow-y: auto; }
.jhr-sweep-live-runner { display: grid; grid-template-columns: 24px 35px minmax(0, 1fr); gap: 7px; align-items: center; min-height: 48px; padding: 5px 10px; border-bottom: 1px solid #e4e9e4; background: #fff; }
.jhr-sweep-live-runner > b { color: var(--sw-muted); font-size: 8px; text-align: center; }
.jhr-sweep-live-runner > img,
.jhr-sweep-live-runner__silk { display: grid; width: 34px; height: 34px; object-fit: contain; place-items: center; border: 1px solid #e2e7e2; border-radius: 50%; background: #fff; color: var(--sw-green); font-size: 8px; font-weight: 850; }
.jhr-sweep-live-runner > div { min-width: 0; }
.jhr-sweep-live-runner strong { display: block; overflow: hidden; color: var(--sw-deep); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-live-runner small { display: block; overflow: hidden; margin-top: 2px; color: var(--sw-muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-live-field > p { margin: 0; padding: 8px 11px; color: var(--sw-muted); font-size: 7px; line-height: 1.45; }

.jhr-sweep-summary { position: sticky; top: 15px; overflow: hidden; padding: 20px; border: 1px solid #dbe3dc; border-radius: 10px; background: var(--sw-deep); color: #fff; box-shadow: 0 14px 32px rgba(18, 59, 40, .15); }
.jhr-sweep-summary::after { position: absolute; right: -65px; bottom: -72px; width: 170px; height: 170px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.025); content: ""; }
.jhr-sweep-summary > * { position: relative; z-index: 1; }
.jhr-sweep-summary__head { display: flex; gap: 10px; align-items: center; color: var(--sw-lime); font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.jhr-sweep-summary__head i { height: 1px; flex: 1; background: rgba(255,255,255,.18); }
.jhr-sweep-summary > h2 { margin: 14px 0 17px; color: #fff; font-size: 20px; letter-spacing: -.025em; line-height: 1.1; }
.jhr-sweep-summary > dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; background: rgba(255,255,255,.12); }
.jhr-sweep-summary > dl div { padding: 11px; background: rgba(255,255,255,.055); }
.jhr-sweep-summary > dl dt { color: rgba(255,255,255,.62); font-size: 8px; font-weight: 600; }
.jhr-sweep-summary > dl dd { margin: 3px 0 0; color: #fff; font-size: 14px; font-weight: 850; }
.jhr-sweep-summary > dl .jhr-sweep-summary__pool { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; background: rgba(168,216,137,.11); }
.jhr-sweep-summary > dl .jhr-sweep-summary__pool dd { color: var(--sw-lime); font-size: 22px; }
.jhr-sweep-summary__prizes { margin-top: 19px; }
.jhr-sweep-summary__prizes h3 { margin: 0 0 9px; color: rgba(255,255,255,.65); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.jhr-sweep-summary__prizes ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.jhr-sweep-summary__prizes li { display: flex; justify-content: space-between; font-size: 9px; }
.jhr-sweep-summary__prizes li span { color: rgba(255,255,255,.74); }
.jhr-sweep-summary__prizes li strong { color: #fff; }
.jhr-sweep-summary > p { display: flex; gap: 9px; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.62); font-size: 7.5px; line-height: 1.5; }
.jhr-sweep-summary > p svg { width: 23px; flex: 0 0 auto; fill: none; stroke: var(--sw-lime); stroke-width: 1.6; }
.jhr-sweep-summary > p strong { display: block; margin-bottom: 2px; color: #fff; font-size: 8px; }

.jhr-sweep-result-head { display: flex; align-items: center; justify-content: space-between; padding: 25px; border-bottom: 1px solid var(--sw-line); background: linear-gradient(110deg, #edf7e9, #fff 68%); }
.jhr-sweep-result-head > div > span { color: var(--sw-green); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.jhr-sweep-result-head h2 { margin: 4px 0 7px; color: var(--sw-deep); font-size: 27px; letter-spacing: -.035em; }
.jhr-sweep-result-head p { display: flex; flex-wrap: wrap; gap: 4px 7px; margin: 0; color: var(--sw-muted); font-size: 8px; }
.jhr-sweep-result-head p i { font-style: normal; }
.jhr-sweep-result-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--sw-deep); }
.jhr-sweep-result-mark svg { width: 29px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.jhr-sweep-pot { display: flex; align-items: center; justify-content: space-between; padding: 16px 25px; border-bottom: 1px solid var(--sw-line); background: #fafbf9; }
.jhr-sweep-pot > div span { display: block; color: var(--sw-muted); font-size: 8px; }
.jhr-sweep-pot > div strong { display: inline-block; margin: 2px 6px 0 0; color: var(--sw-green); font-size: 25px; letter-spacing: -.04em; }
.jhr-sweep-pot > div small { color: var(--sw-muted); font-size: 8px; }
.jhr-sweep-pot dl { display: flex; gap: 18px; margin: 0; }
.jhr-sweep-pot dl div { text-align: right; }
.jhr-sweep-pot dt { color: var(--sw-muted); font-size: 7px; }
.jhr-sweep-pot dd { margin: 2px 0 0; color: var(--sw-deep); font-size: 11px; font-weight: 850; }
.jhr-sweep-table-wrap { overflow-x: auto; }
.jhr-sweep-table { width: 100%; border-collapse: collapse; }
.jhr-sweep-table th { padding: 10px 13px; border-bottom: 1px solid var(--sw-line); background: #f4f6f3; color: var(--sw-muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.jhr-sweep-table th:first-child { width: 42px; text-align: center; }
.jhr-sweep-table th:nth-child(3) { width: 190px; }
.jhr-sweep-table th:nth-child(4) { width: 110px; }
.jhr-sweep-table th:last-child { width: 132px; }
.jhr-sweep-table td { padding: 9px 13px; border-bottom: 1px solid #e8ece8; color: var(--sw-copy); font-size: 9px; }
.jhr-sweep-table td:first-child { color: var(--sw-muted); font-size: 8px; font-weight: 800; text-align: center; }
.jhr-sweep-table td:nth-child(2) { color: var(--sw-deep); font-weight: 810; }
.jhr-sweep-table td:nth-child(4) { color: var(--sw-green); font-weight: 770; }
.jhr-sweep-runner-cell { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 8px; align-items: center; }
.jhr-sweep-runner-cell img,
.jhr-sweep-runner-cell__silk { display: grid; width: 35px; height: 35px; object-fit: contain; place-items: center; border: 1px solid #e1e6e1; border-radius: 50%; background: #fff; color: var(--sw-green); font-size: 8px; }
.jhr-sweep-runner-cell strong { display: block; color: var(--sw-deep); font-size: 9px; }
.jhr-sweep-runner-cell small { display: block; margin-top: 2px; color: var(--sw-muted); font-size: 7px; font-weight: 650; }
.jhr-sweep-connections { display: grid; gap: 2px; }
.jhr-sweep-connections strong { overflow: hidden; color: var(--sw-deep); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-connections small { overflow: hidden; color: var(--sw-muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-table tbody tr:hover { background: #fafcf9; }
.jhr-sweep-table select { width: 100%; height: 28px; padding: 0 7px; border: 1px solid #dbe1dc; border-radius: 4px; outline: 0; background: #fff; color: var(--sw-copy); font-size: 8px; }
.jhr-sweep-table tr.has-prize { background: #f7fbf5; }
.jhr-sweep-table tr.has-prize td:nth-child(2)::after { display: inline-block; margin-left: 7px; padding: 2px 5px; border-radius: 10px; background: #e6f2e1; color: var(--sw-green); content: attr(data-result-label); font-size: 6px; letter-spacing: .07em; text-transform: uppercase; vertical-align: 1px; }

/* Readability pass: comfortable screen type, controls and contrast. */
.jhr-sweep { --sw-copy: #435148; --sw-muted: #647169; }
.jhr-sweep-hero .breadcrumb-lite { font-size: 12px; }
.jhr-sweep-hero__ticks li { font-size: 13px; }
.jhr-sweep-chooser { gap: 8px; }
.jhr-sweep-chooser a,
.jhr-sweep-chooser span { min-height: 38px; padding: 0 15px; font-size: 12px; }
.jhr-sweep-steps { grid-template-columns: auto minmax(45px,130px) auto minmax(45px,130px) auto; }
.jhr-sweep-steps button { grid-template-columns: 40px auto; min-width: 145px; column-gap: 11px; }
.jhr-sweep-steps button > span { width: 40px; height: 40px; font-size: 13px; }
.jhr-sweep-steps button strong { font-size: 14px; }
.jhr-sweep-steps button small { margin-top: 3px; font-size: 12px; line-height: 1.15; }
.jhr-sweep-alert { padding: 13px 16px; font-size: 13px; line-height: 1.45; }
.jhr-sweep-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 26px; }
.jhr-sweep-panel__head > span { width: 40px; height: 40px; font-size: 13px; }
.jhr-sweep-panel__head h2 { font-size: 24px; }
.jhr-sweep-panel__head p { margin-top: 5px; font-size: 14px; line-height: 1.45; }
.jhr-sweep-field > span,
.jhr-sweep-list-field > span strong { font-size: 13px; }
.jhr-sweep-field input,
.jhr-sweep-field select,
.jhr-sweep-list-field textarea { font-size: 15px; }
.jhr-sweep-field input,
.jhr-sweep-field select { height: 48px; }
.jhr-sweep-money b { font-size: 16px; }
.jhr-sweep-source__head span,
.jhr-sweep-live-picker label > span { font-size: 11px; }
.jhr-sweep-source__head strong { margin-top: 2px; font-size: 15px; line-height: 1.3; }
.jhr-sweep-live-status { margin-top: 12px; font-size: 13px; line-height: 1.45; }
.jhr-sweep-subhead h3 { font-size: 17px; }
.jhr-sweep-subhead p { margin-top: 5px; font-size: 13px; line-height: 1.4; }
.jhr-sweep-presets button { min-height: 38px; padding-inline: 12px; font-size: 12px; }
.jhr-sweep-prize-inputs label { grid-template-columns: 31px minmax(0,1fr); padding: 12px; }
.jhr-sweep-medal { width: 30px; height: 30px; font-size: 12px; }
.jhr-sweep-prize-inputs strong { font-size: 12px; }
.jhr-sweep-percent { font-size: 12px; }
.jhr-sweep-percent input { width: 44px; font-size: 17px; }
.jhr-sweep-total { font-size: 13px; }
.jhr-sweep-panel__actions > span { font-size: 12px; line-height: 1.4; }
.jhr-sweep-button { min-height: 46px; padding-inline: 18px; font-size: 14px; }
.jhr-sweep-link-button { font-size: 13px; }
.jhr-sweep-list-field > span small { font-size: 12px; }
.jhr-sweep-list-field em { font-size: 12px; line-height: 1.4; }
.jhr-sweep-live-field > header { padding: 14px; }
.jhr-sweep-live-field > header span { font-size: 10px; }
.jhr-sweep-live-field > header strong { max-width: 340px; font-size: 14px; }
.jhr-sweep-live-field > header small { font-size: 12px; }
.jhr-sweep-live-field > div { max-height: 430px; }
.jhr-sweep-live-runner { grid-template-columns: 29px 43px minmax(0,1fr); gap: 10px; min-height: 60px; padding: 7px 12px; }
.jhr-sweep-live-runner > b { font-size: 11px; }
.jhr-sweep-live-runner > img,
.jhr-sweep-live-runner__silk { width: 42px; height: 42px; font-size: 11px; }
.jhr-sweep-live-runner strong { font-size: 13px; }
.jhr-sweep-live-runner small { margin-top: 3px; font-size: 11px; line-height: 1.3; }
.jhr-sweep-live-field > p { padding: 11px 13px; font-size: 11px; line-height: 1.5; }
.jhr-sweep-summary { padding: 24px; }
.jhr-sweep-summary__head { font-size: 11px; }
.jhr-sweep-summary > h2 { font-size: 25px; line-height: 1.18; }
.jhr-sweep-summary > dl dt { font-size: 11px; }
.jhr-sweep-summary > dl dd { font-size: 18px; }
.jhr-sweep-summary > dl .jhr-sweep-summary__pool dd { font-size: 27px; }
.jhr-sweep-summary__prizes h3 { font-size: 11px; }
.jhr-sweep-summary__prizes li { gap: 12px; font-size: 13px; line-height: 1.4; }
.jhr-sweep-summary > p { font-size: 11px; line-height: 1.55; }
.jhr-sweep-summary > p strong { font-size: 12px; }
.jhr-sweep-result-head > div > span { font-size: 11px; }
.jhr-sweep-result-head h2 { font-size: 30px; }
.jhr-sweep-result-head p { font-size: 12px; line-height: 1.4; }
.jhr-sweep-pot > div span,
.jhr-sweep-pot > div small { font-size: 11px; }
.jhr-sweep-pot dt { font-size: 10px; }
.jhr-sweep-pot dd { font-size: 13px; }
.jhr-sweep-table { min-width: 0; }
.jhr-sweep-table th { padding-block: 12px; font-size: 10px; }
.jhr-sweep-table td { padding-block: 11px; font-size: 12px; }
.jhr-sweep-table td:first-child { font-size: 11px; }
.jhr-sweep-runner-cell { grid-template-columns: 43px minmax(0,1fr); gap: 10px; }
.jhr-sweep-runner-cell img,
.jhr-sweep-runner-cell__silk { width: 42px; height: 42px; font-size: 11px; }
.jhr-sweep-runner-cell strong { font-size: 12px; }
.jhr-sweep-runner-cell small { font-size: 10px; }
.jhr-sweep-connections strong { font-size: 11px; }
.jhr-sweep-connections small { font-size: 10px; }
.jhr-sweep-table select { height: 36px; font-size: 11px; }
.jhr-sweep-table tr.has-prize td:nth-child(2)::after { font-size: 9px; }
.jhr-sweep-preview__toolbar > div:first-child span { font-size: 10px; }
.jhr-sweep-preview__toolbar > div:first-child strong { font-size: 16px; }

body.jhr-sweep-preview-open { overflow: hidden; }
.jhr-sweep-preview { position: fixed; z-index: 100000; inset: 0; display: grid; padding: 22px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.jhr-sweep-preview.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.jhr-sweep-preview__backdrop { position: absolute; inset: 0; background: rgba(8,25,17,.84); backdrop-filter: blur(5px); }
.jhr-sweep-preview__dialog { position: relative; display: grid; grid-template-rows: auto minmax(0,1fr); width: min(1080px, 100%); height: 100%; margin: auto; overflow: hidden; border-radius: 10px; background: #e8ece8; box-shadow: 0 28px 90px rgba(0,0,0,.34); }
.jhr-sweep-preview__toolbar { display: flex; z-index: 2; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid #d4dbd5; background: #fff; }
.jhr-sweep-preview__toolbar > div:first-child { display: grid; gap: 1px; }
.jhr-sweep-preview__toolbar > div:first-child span { color: var(--sw-green); font-size: 7px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.jhr-sweep-preview__toolbar > div:first-child strong { color: var(--sw-deep); font-size: 13px; }
.jhr-sweep-preview__toolbar > div:last-child { display: flex; gap: 8px; }
.jhr-sweep-preview__stage { overflow: auto; padding: 30px; }

.jhr-sweep-print-sheet { box-sizing: border-box; width: 210mm; min-height: 297mm; margin: 0 auto; padding: 9mm; overflow: hidden; background: #fff; box-shadow: 0 5px 30px rgba(9,36,23,.18); color: #173326; font-family: Arial, Helvetica, sans-serif; print-color-adjust: exact; }
.jhr-sweep-print-brand { display: flex; align-items: center; justify-content: space-between; min-height: 20mm; padding: 4mm 5mm; background: #123b28; color: #fff; print-color-adjust: exact; }
.jhr-sweep-print-brand__identity { display: flex; gap: 3mm; align-items: center; }
.jhr-sweep-print-brand__identity img { width: 12mm; height: 12mm; padding: 1mm; border-radius: 50%; background: #fff; object-fit: contain; }
.jhr-sweep-print-brand__identity div { display: grid; gap: .8mm; }
.jhr-sweep-print-brand__identity strong { font-size: 13pt; font-weight: 800; letter-spacing: -.025em; }
.jhr-sweep-print-brand__identity span { color: #b9dba4; font-size: 6.5pt; letter-spacing: .02em; }
.jhr-sweep-print-brand__badge { display: grid; padding-left: 5mm; border-left: 1px solid rgba(255,255,255,.24); text-align: right; }
.jhr-sweep-print-brand__badge span { color: #a8d889; font-size: 5.5pt; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jhr-sweep-print-brand__badge strong { font-size: 9pt; letter-spacing: .04em; }
.jhr-sweep-print-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 8mm; padding: 4.5mm 1mm 3.5mm; border-bottom: .5mm solid #123b28; }
.jhr-sweep-print-title > div:first-child { min-width: 0; }
.jhr-sweep-print-title > div:first-child > span { color: #4f843b; font-size: 5.5pt; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.jhr-sweep-print-title h1 { overflow: hidden; margin: .8mm 0 1mm; color: #123b28; font-size: 20pt; letter-spacing: -.035em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-title p { margin: 0; color: #617168; font-size: 6.5pt; }
.jhr-sweep-print-pool { display: grid; flex: 0 0 auto; text-align: right; }
.jhr-sweep-print-pool span { color: #617168; font-size: 5.5pt; font-weight: 700; text-transform: uppercase; }
.jhr-sweep-print-pool strong { color: #4f843b; font-size: 19pt; line-height: 1; }
.jhr-sweep-print-prizes { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5mm; padding: 2.5mm 0; }
.jhr-sweep-print-prizes div { display: flex; align-items: center; justify-content: space-between; padding: 1.6mm 2mm; border: .25mm solid #d9e2d8; background: #f4f8f2; }
.jhr-sweep-print-prizes span { color: #53645b; font-size: 5.5pt; }
.jhr-sweep-print-prizes span small { color: #78936c; }
.jhr-sweep-print-prizes strong { color: #123b28; font-size: 7.5pt; }
.jhr-sweep-print-cutline { display: flex; gap: 2mm; align-items: center; margin: 0 0 1mm; color: #718078; }
.jhr-sweep-print-cutline > span { font-size: 8pt; transform: rotate(-8deg); }
.jhr-sweep-print-cutline strong { font-size: 5pt; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.jhr-sweep-print-cutline i { width: 100%; border-top: .25mm dashed #9aa69f; }
.jhr-sweep-print-tickets { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.jhr-sweep-print-ticket { position: relative; display: grid; grid-template-columns: 8mm 10mm minmax(0,1fr) 28mm; gap: 1.8mm; align-items: center; min-height: 16.6mm; margin: -.125mm 0 0 -.125mm; padding: 1.6mm 2mm; border: .25mm dashed #8d9a92; background: #fff; break-inside: avoid; }
.jhr-sweep-print-tickets[data-ticket-count="12"] .jhr-sweep-print-ticket { min-height: 32mm; }
.jhr-sweep-print-tickets[data-ticket-count="14"] .jhr-sweep-print-ticket { min-height: 28mm; }
.jhr-sweep-print-tickets[data-ticket-count="16"] .jhr-sweep-print-ticket { min-height: 24mm; }
.jhr-sweep-print-tickets[data-ticket-count="18"] .jhr-sweep-print-ticket { min-height: 21.5mm; }
.jhr-sweep-print-ticket__scissors { position: absolute; z-index: 1; top: -2.5mm; left: 3mm; padding: 0 .8mm; background: #fff; color: #6c7971; font-size: 7pt; line-height: 4mm; }
.jhr-sweep-print-ticket > b { color: #4f843b; font-size: 10pt; text-align: center; }
.jhr-sweep-print-ticket > img,
.jhr-sweep-print-ticket__silk { display: grid; width: 9mm; height: 9mm; place-items: center; border: .25mm solid #d7dfd8; border-radius: 50%; background: #f5f8f4; color: #4f843b; font-size: 6pt; font-weight: 800; object-fit: contain; }
.jhr-sweep-print-ticket__runner { min-width: 0; }
.jhr-sweep-print-ticket__runner strong { display: block; overflow: hidden; color: #123b28; font-size: 7.2pt; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-ticket__runner small { display: block; overflow: hidden; margin-top: .7mm; color: #6a776f; font-size: 4.7pt; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-ticket__owner { align-self: stretch; display: grid; align-content: center; min-width: 0; padding-left: 2mm; border-left: .25mm solid #e0e5e0; }
.jhr-sweep-print-ticket__owner > span { color: #78847d; font-size: 4.4pt; font-weight: 850; letter-spacing: .1em; }
.jhr-sweep-print-ticket__owner > strong { display: block; overflow: hidden; margin-top: .7mm; color: #123b28; font-size: 7pt; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-ticket__write-line { display: block; height: 4mm; margin-top: .7mm; border-bottom: .25mm solid #6e7a73; }
.jhr-sweep-print-ticket > em { position: absolute; right: 1.4mm; bottom: 1.1mm; padding: .6mm 1.2mm; border-radius: 3mm; background: #dfefd8; color: #356127; font-size: 4.3pt; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jhr-sweep-print-footer { display: flex; align-items: center; justify-content: space-between; min-height: 8mm; margin-top: 2mm; padding-top: 2mm; border-top: .35mm solid #123b28; color: #66756c; font-size: 5.3pt; }
.jhr-sweep-print-footer strong { color: #123b28; font-size: 6pt; letter-spacing: .08em; }
.jhr-sweep-print-footer small { color: #4f843b; font-size: 5.3pt; font-weight: 800; }

/* Premium print edition: mirrors the site header, editorial palette and card language. */
.jhr-sweep-preview__stage { background: #eef1ed; }
.jhr-sweep-print-sheet { position: relative; padding: 7.5mm 9mm 8mm; border-top: 2.2mm solid #32830a; background: #fff; color: #2b2f33; font-family: "Inter", Arial, Helvetica, sans-serif; }
.jhr-sweep-print-sheet::after { position: absolute; z-index: 0; top: 52mm; right: -15mm; width: 66mm; height: 66mm; border: 9mm solid rgba(50,131,10,.025); border-radius: 50%; content: ""; pointer-events: none; }
.jhr-sweep-print-sheet > * { position: relative; z-index: 1; }
.jhr-sweep-print-brand { min-height: 18mm; padding: 1.5mm 0 3mm; border-bottom: .25mm solid #e6e8e6; background: #fff; color: #2b2f33; }
.jhr-sweep-print-brand__identity { gap: 3mm; }
.jhr-sweep-print-brand__identity img { width: 14mm; height: 14mm; padding: 0; border: .25mm solid #e6e8e6; border-radius: 50%; background: #fff; box-shadow: 0 1.5mm 4mm rgba(43,47,51,.08); }
.jhr-sweep-print-brand__identity div { gap: 1.2mm; line-height: 1; }
.jhr-sweep-print-brand__identity strong { color: #2b2f33; font-size: 18pt; font-weight: 800; letter-spacing: -.035em; text-transform: none; }
.jhr-sweep-print-brand__identity span { color: #32830a; font-size: 6.4pt; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.jhr-sweep-print-brand__badge { gap: .8mm; padding: 1.3mm 0 1.3mm 5mm; border-left: .8mm solid #32830a; text-align: left; }
.jhr-sweep-print-brand__badge span { color: #6b7280; font-size: 5.2pt; letter-spacing: .12em; }
.jhr-sweep-print-brand__badge strong { color: #2b2f33; font-size: 9.5pt; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.jhr-sweep-print-title { min-height: 26mm; padding: 4.2mm 1mm 3.5mm; border-bottom: .6mm solid #2b2f33; }
.jhr-sweep-print-title > div:first-child > span { color: #32830a; font-size: 5.7pt; letter-spacing: .15em; }
.jhr-sweep-print-title h1 { margin: 1mm 0 1.2mm; color: #2b2f33; font-size: 25pt; font-weight: 800; letter-spacing: -.055em; }
.jhr-sweep-print-title p { color: #6b7280; font-size: 6.3pt; font-weight: 600; }
.jhr-sweep-print-pool { min-width: 32mm; padding: 3mm 3.5mm 2.5mm; border-radius: 1.5mm; background: #32830a; color: #fff; print-color-adjust: exact; }
.jhr-sweep-print-pool span { color: rgba(255,255,255,.76); font-size: 5.2pt; font-weight: 850; letter-spacing: .08em; }
.jhr-sweep-print-pool strong { margin-top: .6mm; color: #fff; font-size: 20pt; }
.jhr-sweep-print-prizes { gap: 1.8mm; padding: 2.6mm 0 3mm; }
.jhr-sweep-print-prizes div { position: relative; min-height: 10mm; padding: 2mm 2.4mm; overflow: hidden; border: .25mm solid #e6e8e6; border-radius: 1.2mm; background: #fbfcfa; }
.jhr-sweep-print-prizes div::before { position: absolute; top: 0; bottom: 0; left: 0; width: .8mm; background: #32830a; content: ""; }
.jhr-sweep-print-prizes span { padding-left: 1mm; color: #444; font-size: 5.4pt; font-weight: 720; }
.jhr-sweep-print-prizes span small { display: block; margin-top: .4mm; color: #6b7280; font-size: 4.5pt; font-weight: 750; }
.jhr-sweep-print-prizes strong { color: #1c5501; font-size: 8.5pt; font-weight: 800; }
.jhr-sweep-print-cutline { gap: 1.8mm; min-height: 4mm; margin-bottom: .8mm; color: #6b7280; }
.jhr-sweep-print-cutline > span { color: #32830a; font-size: 8.5pt; }
.jhr-sweep-print-cutline strong { color: #6b7280; font-size: 4.8pt; font-weight: 850; letter-spacing: .14em; }
.jhr-sweep-print-cutline i { border-color: #aeb6b0; }
.jhr-sweep-print-ticket { grid-template-columns: 8mm 11mm minmax(0,1fr) 29mm; gap: 2mm; min-height: 15.9mm; padding: 1.4mm 1.8mm; border-color: #aeb6b0; background: linear-gradient(135deg,#fff 0,#fff 86%,#f1f4ef 86%,#f1f4ef 100%); }
.jhr-sweep-print-ticket:nth-child(4n+2),
.jhr-sweep-print-ticket:nth-child(4n+3) { background: linear-gradient(135deg,#fbfcfa 0,#fbfcfa 86%,#edf1eb 86%,#edf1eb 100%); }
.jhr-sweep-print-tickets[data-ticket-count="12"] .jhr-sweep-print-ticket { min-height: 29mm; }
.jhr-sweep-print-tickets[data-ticket-count="14"] .jhr-sweep-print-ticket { min-height: 25mm; }
.jhr-sweep-print-tickets[data-ticket-count="16"] .jhr-sweep-print-ticket { min-height: 22mm; }
.jhr-sweep-print-tickets[data-ticket-count="18"] .jhr-sweep-print-ticket { min-height: 19.5mm; }
.jhr-sweep-print-ticket__scissors { top: -2.35mm; left: 2.2mm; color: #32830a; font-size: 7.5pt; }
.jhr-sweep-print-ticket:nth-child(even) .jhr-sweep-print-ticket__scissors { display: none; }
.jhr-sweep-print-ticket > b { display: grid; width: 7mm; height: 7mm; place-items: center; border-radius: 50%; background: #edf4e9; color: #1c5501; font-size: 7.5pt; font-weight: 800; print-color-adjust: exact; }
.jhr-sweep-print-ticket > img,
.jhr-sweep-print-ticket__silk { width: 10mm; height: 10mm; border-color: #e6e8e6; background: #fff; color: #32830a; font-size: 4.5pt; box-shadow: 0 .8mm 2mm rgba(43,47,51,.06); }
.jhr-sweep-print-ticket__runner { display: grid; gap: 1mm; }
.jhr-sweep-print-ticket__runner > div { display: flex; gap: 1.5mm; align-items: center; min-width: 0; }
.jhr-sweep-print-ticket__runner > div strong { display: block; overflow: hidden; color: #2b2f33; font-size: 7.1pt; font-weight: 800; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-ticket__runner > div i { flex: 0 0 auto; padding: .5mm 1mm; border-radius: 2mm; background: #edf4e9; color: #1c5501; font-size: 4.1pt; font-style: normal; font-weight: 850; text-transform: uppercase; }
.jhr-sweep-print-ticket__runner small { display: grid; gap: .35mm; margin: 0; color: #6b7280; font-size: 4.25pt; font-weight: 600; }
.jhr-sweep-print-ticket__runner small span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-print-ticket__runner small b { display: inline-block; width: 3.2mm; color: #32830a; font-size: 3.8pt; font-weight: 800; }
.jhr-sweep-print-ticket__owner { margin: -.4mm -.5mm -.4mm 0; padding: 1.2mm 1.7mm 1.2mm 2mm; border: 0; border-left: .25mm solid #e6e8e6; border-radius: 0; background: transparent; }
.jhr-sweep-print-ticket__owner > span { color: #6b7280; font-size: 4pt; letter-spacing: .13em; }
.jhr-sweep-print-ticket__owner > strong { color: #2b2f33; font-size: 6.8pt; font-weight: 800; }
.jhr-sweep-print-ticket__write-line { border-color: #2b2f33; }
.jhr-sweep-print-ticket > em { right: 1.4mm; bottom: .8mm; background: #dff0d7; color: #1c5501; font-size: 4pt; }
.jhr-sweep-print-footer { min-height: 7mm; margin-top: 2mm; padding-top: 1.8mm; border-top: .7mm solid #32830a; color: #6b7280; }
.jhr-sweep-print-footer strong { color: #2b2f33; font-size: 5.4pt; font-weight: 850; letter-spacing: 0; }
.jhr-sweep-print-footer span { font-size: 5pt; }
.jhr-sweep-print-footer small { color: #32830a; font-size: 5pt; font-weight: 850; }

/* Print readability: keep the one-page sheet compact without resorting to fine print. */
.jhr-sweep-print-brand { min-height: 17mm; padding-bottom: 2mm; }
.jhr-sweep-print-brand__identity span { font-size: 7.5pt; letter-spacing: .045em; }
.jhr-sweep-print-brand__badge span { font-size: 6.5pt; }
.jhr-sweep-print-brand__badge strong { font-size: 10pt; }
.jhr-sweep-print-title { min-height: 24mm; padding: 3.5mm 1mm 2.8mm; }
.jhr-sweep-print-title > div:first-child > span { font-size: 7pt; }
.jhr-sweep-print-title p { font-size: 7.8pt; }
.jhr-sweep-print-pool span { font-size: 6.7pt; }
.jhr-sweep-print-prizes { padding: 2mm 0; }
.jhr-sweep-print-prizes div { min-height: 9mm; }
.jhr-sweep-print-prizes span { font-size: 6.8pt; }
.jhr-sweep-print-prizes span small { font-size: 6pt; }
.jhr-sweep-print-prizes strong { font-size: 10pt; }
.jhr-sweep-print-cutline strong { font-size: 6.2pt; }
.jhr-sweep-print-ticket { grid-template-columns: 8mm 11mm minmax(0,1fr) 25mm; min-height: 16.7mm; }
.jhr-sweep-print-ticket > b { font-size: 9pt; }
.jhr-sweep-print-ticket__runner > div strong { font-size: 8.5pt; line-height: 1.05; letter-spacing: -.045em; }
.jhr-sweep-print-ticket__runner > div i { font-size: 5.8pt; }
.jhr-sweep-print-ticket__runner small { gap: .45mm; font-size: 6.5pt; line-height: 1.05; }
.jhr-sweep-print-ticket__runner small b { width: 4.2mm; font-size: 5.8pt; }
.jhr-sweep-print-ticket__owner > span { font-size: 6pt; }
.jhr-sweep-print-ticket__owner > strong { font-size: 8pt; }
.jhr-sweep-print-ticket > em { font-size: 5.5pt; }
.jhr-sweep-print-footer strong { font-size: 6.4pt; }
.jhr-sweep-print-footer span,
.jhr-sweep-print-footer small { font-size: 6.2pt; }

/* Ink-friendly artwork: keep every element on the printable sheet flat and crisp. */
.jhr-sweep-print-sheet,
.jhr-sweep-print-sheet * { box-shadow: none !important; text-shadow: none !important; }
.jhr-sweep-print-ticket,
.jhr-sweep-print-ticket:nth-child(4n+2),
.jhr-sweep-print-ticket:nth-child(4n+3) { background: #fff; }
.jhr-sweep-print-ticket > img,
.jhr-sweep-print-ticket__silk { border: 0; border-radius: 0; background: transparent; }
.jhr-sweep-print-sheet::after { display: none; }
.jhr-sweep-print-sheet + .jhr-sweep-print-sheet { margin-top: 24px; }

/* Page one: three readable runner tickets per row; smaller fields stay compact. */
.jhr-sweep-print-sheet--tickets { display: flex; flex-direction: column; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-tickets { grid-template-columns: repeat(3,minmax(0,1fr)); }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket { grid-template-columns: 7mm 12.5mm minmax(0,1fr); gap: 1mm; min-height: 26.4mm; padding: 2.2mm 1.4mm 2.2mm 1.8mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-tickets[data-ticket-count="12"] .jhr-sweep-print-ticket { min-height: 36mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-tickets[data-ticket-count="14"] .jhr-sweep-print-ticket { min-height: 34mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-tickets[data-ticket-count="16"] .jhr-sweep-print-ticket,
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-tickets[data-ticket-count="18"] .jhr-sweep-print-ticket { min-height: 31mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-footer { margin-top: auto; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__scissors { display: none; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket:nth-child(3n+1) .jhr-sweep-print-ticket__scissors { display: block; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > b { width: 6.5mm; height: 6.5mm; border: .25mm solid #cdddc7; border-radius: .8mm; background: #edf4e9; font-size: 8pt; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > img,
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__silk { width: 12.5mm; height: 12.5mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__silk.is-placeholder { padding: 1.4mm; opacity: .72; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner { gap: 1.3mm; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner > div { gap: 1mm; align-items: flex-start; padding-bottom: 1.2mm; border-bottom: .25mm solid #e2e6e2; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner > div strong { display: block; min-width: 0; overflow: hidden; font-size: 9pt; line-height: 1.08; letter-spacing: -.045em; text-overflow: clip; white-space: nowrap; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner > div i { padding: .4mm .8mm; font-size: 5.8pt; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner small { gap: .7mm; font-size: 6.4pt; line-height: 1.08; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner small b { width: 10mm; color: #32830a; font-size: 4.5pt; letter-spacing: .04em; text-transform: uppercase; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket.is-simple { grid-template-columns: 7mm minmax(0,1fr); }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket.is-simple .jhr-sweep-print-ticket__runner { gap: 0; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket.is-simple .jhr-sweep-print-ticket__runner > div { padding: 0; border: 0; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket.is-simple .jhr-sweep-print-ticket__runner > div strong { font-size: 11pt; letter-spacing: -.025em; }
.jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > em { right: 1.8mm; bottom: 1.2mm; font-size: 5.2pt; }
.jhr-sweep-print-sheet--tickets.is-blank .jhr-sweep-print-ticket::before { display: none; }
.jhr-sweep-print-sheet--tickets.is-blank .jhr-sweep-print-ticket > b,
.jhr-sweep-print-sheet--tickets.is-blank .jhr-sweep-print-ticket > img,
.jhr-sweep-print-sheet--tickets.is-blank .jhr-sweep-print-ticket > .jhr-sweep-print-ticket__silk,
.jhr-sweep-print-sheet--tickets.is-blank .jhr-sweep-print-ticket__runner { position: relative; z-index: 1; }
.jhr-sweep-print-ticket__brand { position: absolute; z-index: 1; right: 1.8mm; bottom: 1.1mm; color: #32830a; font-size: 3.9pt; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.jhr-sweep-print-sheet.is-blank .jhr-sweep-print-prizes strong { min-width: 19mm; font-size: 9pt; letter-spacing: .04em; }

/* Blank pricing fields stay white so blue or black handwriting remains legible. */
.jhr-sweep-print-sheet.is-blank .jhr-sweep-print-pool { min-width: 37mm; padding: 2.7mm 3.2mm 2.5mm; border: .45mm solid #32830a; background: #fff; color: #2b2f33; text-align: left; }
.jhr-sweep-print-sheet.is-blank .jhr-sweep-print-pool span { color: #1c5501; font-size: 6pt; letter-spacing: .055em; }
.jhr-sweep-print-sheet.is-blank .jhr-sweep-print-pool strong { display: flex; gap: 2mm; align-items: flex-end; margin-top: 1.3mm; color: #2b2f33; font-size: 14pt; }
.jhr-sweep-print-sheet.is-blank .jhr-sweep-print-pool strong::after { width: 100%; margin-bottom: .8mm; border-top: .35mm solid #2b2f33; content: ""; }
.jhr-sweep-print-sheet.is-blank.has-configured-rules .jhr-sweep-print-pool strong { display: block; }
.jhr-sweep-print-sheet.is-blank.has-configured-rules .jhr-sweep-print-pool strong::after { display: none; }

/* Page two: a practical master register for the sweep organiser. */
.jhr-sweep-print-sheet--register { display: flex; flex-direction: column; }
.jhr-sweep-register-admin { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2mm; padding: 0 0 2.5mm; }
.jhr-sweep-register-admin label { display: flex; align-items: center; min-width: 0; min-height: 9mm; padding: 1.8mm 2.2mm; border: .25mm solid #e2e6e2; border-radius: 1mm; background: #fbfcfa; }
.jhr-sweep-register-admin span { flex: 0 0 auto; color: #6b7280; font-size: 6.2pt; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jhr-sweep-register-admin label > i { width: 100%; height: 3mm; margin-left: 2mm; border-bottom: .25mm solid #2b2f33; }
.jhr-sweep-register-admin label > strong { width: 100%; color: #2b2f33; font-size: 7pt; font-weight: 700; text-align: right; }
.jhr-sweep-register-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 5mm; min-height: 5mm; color: #6b7280; }
.jhr-sweep-register-heading strong { color: #32830a; font-size: 6.5pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jhr-sweep-register-heading span { font-size: 5.8pt; }
.jhr-sweep-register-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.jhr-sweep-register-grid article { display: grid; grid-template-columns: minmax(0,1fr) 48%; min-height: 16.2mm; margin: -.125mm 0 0 -.125mm; border: .25mm solid #aeb6b0; break-inside: avoid; }
.jhr-sweep-register-grid[data-runner-count="12"] article { min-height: 31mm; }
.jhr-sweep-register-grid[data-runner-count="14"] article { min-height: 27mm; }
.jhr-sweep-register-grid[data-runner-count="16"] article { min-height: 23.5mm; }
.jhr-sweep-register-grid[data-runner-count="18"] article { min-height: 21mm; }
.jhr-sweep-register-runner { display: flex; align-items: center; gap: 2mm; min-width: 0; padding: 1.7mm 2mm; }
.jhr-sweep-register-runner > b { display: grid; flex: 0 0 7mm; width: 7mm; height: 7mm; place-items: center; border-radius: 50%; background: #edf4e9; color: #1c5501; font-size: 9pt; font-weight: 800; print-color-adjust: exact; }
.jhr-sweep-register-runner > strong { overflow: hidden; color: #2b2f33; font-size: 8.4pt; font-weight: 800; line-height: 1.08; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-register-runner small { color: #32830a; font-size: 6.2pt; font-weight: 800; }
.jhr-sweep-register-owner { display: grid; grid-template-columns: minmax(0,1fr) 9mm; grid-template-rows: auto 4.5mm; column-gap: 2mm; align-content: center; min-width: 0; padding: 1.4mm 2mm; border-left: .25mm solid #e2e6e2; }
.jhr-sweep-register-owner > span { grid-column: 1; grid-row: 1; color: #6b7280; font-size: 5.8pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jhr-sweep-register-owner > i,
.jhr-sweep-register-owner > strong { display: block; grid-column: 1; grid-row: 2; overflow: hidden; height: 4.5mm; margin-top: .8mm; border-bottom: .25mm solid #2b2f33; color: #2b2f33; font-size: 8pt; font-weight: 800; line-height: 4mm; text-overflow: ellipsis; white-space: nowrap; }
.jhr-sweep-register-owner > em { display: grid; grid-column: 2; grid-row: 1 / 3; gap: .8mm; place-content: center; place-items: center; color: #6b7280; font-size: 5.5pt; font-style: normal; font-weight: 800; text-transform: uppercase; }
.jhr-sweep-register-owner > em span { line-height: 1; }
.jhr-sweep-register-owner > em i { display: block; width: 3.2mm; height: 3.2mm; border: .25mm solid #2b2f33; }

@media (max-width: 980px) {
	.jhr-sweep-grid { grid-template-columns: 1fr; }
	.jhr-sweep-summary { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; }
	.jhr-sweep-summary__head,
	.jhr-sweep-summary > h2 { grid-column: 1 / -1; }
	.jhr-sweep-summary > h2 { margin: 0; }
	.jhr-sweep-summary__prizes { margin-top: 0; }
	.jhr-sweep-summary > p { margin: 0; padding: 0; border: 0; }
}

@media (max-width: 720px) {
	.jhr-sweep-hero { padding: 28px 0 36px; }
	.jhr-sweep-hero__grid { display: block; }
	.jhr-sweep-hero .breadcrumb-lite { margin-bottom: 23px; }
	.jhr-sweep-hero__copy h1 { font-size: clamp(40px, 13vw, 58px); }
	.jhr-sweep-hero__copy > p { font-size: 15px; }
	.jhr-sweep-hero__ticket { display: none; }
	.jhr-sweep-workspace { padding: 28px 0 45px; }
	.jhr-sweep-steps { grid-template-columns: auto minmax(18px,1fr) auto minmax(18px,1fr) auto; }
	.jhr-sweep-steps button { grid-template-columns: 30px; min-width: 30px; }
	.jhr-sweep-steps button > span { grid-row: auto; width: 30px; height: 30px; }
	.jhr-sweep-steps button strong,
	.jhr-sweep-steps button small { display: none; }
	.jhr-sweep-grid { gap: 13px; }
	.jhr-sweep-panel__head { padding: 18px; }
	.jhr-sweep-fields { grid-template-columns: 1fr; padding: 18px; }
	.jhr-sweep-field--wide { grid-column: auto; }
	.jhr-sweep-prizes { margin: 0 18px 18px; padding: 14px; }
	.jhr-sweep-subhead { display: block; }
	.jhr-sweep-presets { width: 100%; margin-top: 12px; }
	.jhr-sweep-presets button { flex: 1; }
	.jhr-sweep-prize-inputs { grid-template-columns: 1fr 1fr; }
	.jhr-sweep-source__head { align-items: flex-start; flex-direction: column; }
	.jhr-sweep-source__tabs { width: 100%; }
	.jhr-sweep-source__tabs button { flex: 1; }
	.jhr-sweep-live-picker { grid-template-columns: 1fr 1fr; }
	.jhr-sweep-live-picker__race { grid-column: 1 / -1; grid-row: 2; }
	.jhr-sweep-panel__actions,
	.jhr-sweep-result-actions { align-items: stretch; flex-direction: column-reverse; padding: 14px 18px; }
	.jhr-sweep-panel__actions > span { text-align: center; }
	.jhr-sweep-panel__actions > div,
	.jhr-sweep-result-actions > div { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.jhr-sweep-result-actions > div:last-child { grid-template-columns: repeat(3,1fr); }
	.jhr-sweep-panel__actions > .jhr-sweep-button { align-self: flex-end; }
	.jhr-sweep-list-grid { grid-template-columns: 1fr; padding: 18px; }
	.jhr-sweep-list-field textarea { min-height: 190px; }
	.jhr-sweep-summary { display: block; padding: 18px; }
	.jhr-sweep-summary > h2 { margin: 12px 0 15px; }
	.jhr-sweep-summary__prizes { margin-top: 17px; }
	.jhr-sweep-summary > p { margin-top: 17px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.13); }
	.jhr-sweep-result-head { padding: 20px 18px; }
	.jhr-sweep-result-head h2 { font-size: 22px; }
	.jhr-sweep-result-mark { width: 46px; height: 46px; }
	.jhr-sweep-pot { display: block; padding: 14px 18px; }
	.jhr-sweep-pot dl { justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--sw-line); }
	.jhr-sweep-pot dl div { text-align: left; }
	.jhr-sweep-table { min-width: 0; }
	.jhr-sweep-preview { height: 100dvh; padding: 0; }
	.jhr-sweep-preview__dialog { height: 100dvh; border-radius: 0; }
	.jhr-sweep-preview__toolbar { position: relative; display: grid; gap: 10px; align-items: center; padding: 10px 12px 12px; }
	.jhr-sweep-preview__toolbar > div:first-child { min-width: 0; padding-right: 72px; }
	.jhr-sweep-preview__toolbar > div:first-child strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
	.jhr-sweep-preview__toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
	.jhr-sweep-preview__toolbar .jhr-sweep-button { min-width: 0; min-height: 42px; padding: 9px 8px; font-size: 12px; line-height: 1.15; }
	.jhr-sweep-preview__toolbar [data-preview-close] { position: absolute; top: 10px; right: 12px; width: auto; min-height: 34px; padding: 7px 12px; }
	.jhr-sweep-preview__stage { padding: 12px; overscroll-behavior: contain; scroll-padding: 12px; -webkit-overflow-scrolling: touch; }
	.jhr-sweep-preview__stage .jhr-sweep-print-sheet { margin-right: auto; margin-left: auto; }
	.jhr-sweep-preview__stage .jhr-sweep-print-sheet + .jhr-sweep-print-sheet { margin-top: 12px; }
}

@media print {
	@page { size: A4 portrait; margin: 0; }
	html,
	body { width: 210mm; height: auto !important; min-height: 0; max-height: none; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: #fff !important; }
	.site-shell > *:not(#content),
	#content > *:not(.jhr-sweep),
	.jhr-sweep > *:not(.jhr-sweep-preview) { display: none !important; }
	.site-shell,
	#content,
	.jhr-sweep { display: block !important; width: 210mm !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
	body * { visibility: hidden !important; }
	.jhr-sweep-preview,
	.jhr-sweep-preview * { visibility: visible !important; }
	.jhr-sweep-preview { position: static; display: block; width: 210mm; height: auto; padding: 0; overflow: visible; opacity: 1; visibility: visible; pointer-events: auto; }
	.jhr-sweep-preview__backdrop,
	.jhr-sweep-preview__toolbar { display: none !important; }
	.jhr-sweep-preview__dialog,
	.jhr-sweep-preview__stage { display: block; width: 210mm; height: auto; overflow: visible; border-radius: 0; background: #fff; box-shadow: none; }
	.jhr-sweep-preview__stage { padding: 0; }
	.jhr-sweep-print-sheet { width: 210mm; height: 296mm; min-height: 0; max-height: 296mm; margin: 0; overflow: hidden; break-after: page; page-break-after: always; box-shadow: none; zoom: 1 !important; }
	.jhr-sweep-print-sheet:last-child { break-after: auto; page-break-after: auto; }
}

/* Standalone layout foundations, independent of Bootstrap and the host theme. */
.jhr-sweep, .jhr-sweep *, .jhr-sweep *::before, .jhr-sweep *::after { box-sizing: border-box; }
.jhr-sweep .container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 24px; }
.jhr-sweep img { max-width: 100%; height: auto; }
.jhr-sweep button { cursor: pointer; }
.jhr-sweep button:disabled { cursor: default; }
.jhr-sweep h1, .jhr-sweep h2, .jhr-sweep h3, .jhr-sweep p { font-family: inherit; }
@font-face { font-family: 'RaceSweepInter'; src: url('../fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
.jhr-sweep { font-family: 'RaceSweepInter', Arial, sans-serif; }

/* JustHorseRacing identity, scoped to the plugin. */
.jhr-sweep-panel { border-top: 3px solid var(--sw-green); }
.jhr-sweep-hero__ticket { transform: rotate(2deg); }
.jhr-sweep-print-brand__identity img { width: 155px; max-width: 155px; height: auto; object-fit: contain; border-radius: 0; }
@media (max-width: 600px) {
}
/* Anchor the summary decoration when the desktop sticky sidebar stacks. */
@media (max-width: 980px) {
 .jhr-sweep-summary { position: relative; top: auto; }
}

/* Article embed: size the tool to its column, independent of viewport width. */
@media screen {
 .jhr-sweep { container: race-sweep / inline-size; width: 100%; min-width: 0; margin: 20px 0 28px; border: 1px solid var(--sw-line); border-radius: 10px; background: #f6f8f4; line-height: 1.5; }
 .jhr-sweep .container { float: none; width: 100%; max-width: none; margin: 0; padding-inline: 24px; }
 .jhr-sweep .jhr-sweep-hero { padding: 24px 0; background: linear-gradient(110deg, #eef5e8, #f9fbf7); }
 .jhr-sweep .jhr-sweep-hero::after { display: none; }
 .jhr-sweep .jhr-sweep-hero__grid { display: block; }
 .jhr-sweep .jhr-sweep-hero__ticket { display: none; }
 .jhr-sweep .jhr-sweep-eyebrow { font-size: 10px; letter-spacing: .12em; }
 .jhr-sweep .jhr-sweep-hero__copy h1 { max-width: none; margin: 7px 0 10px; font-size: clamp(26px, 5.5cqw, 40px); line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
 .jhr-sweep .jhr-sweep-hero__copy > p { margin: 0; font-size: 14px; line-height: 1.65; }
 .jhr-sweep .jhr-sweep-hero__ticks { gap: 8px 18px; margin: 16px 0 0; }
 .jhr-sweep .jhr-sweep-hero__ticks li { padding-left: 16px; font-size: 11px; }
 .jhr-sweep .jhr-sweep-workspace { padding: 22px 0 24px; background: transparent; }
 .jhr-sweep .jhr-sweep-steps { grid-template-columns: auto minmax(12px, 1fr) auto minmax(12px, 1fr) auto; gap: 8px; margin: 0 0 20px; }
 .jhr-sweep .jhr-sweep-steps button { grid-template-columns: 30px auto; min-width: 0; gap: 0 7px; }
 .jhr-sweep .jhr-sweep-steps button > span { grid-row: 1 / 3; width: 30px; height: 30px; font-size: 11px; }
 .jhr-sweep .jhr-sweep-steps button strong { display: block; font-size: 12px; line-height: 1.3; }
 .jhr-sweep .jhr-sweep-steps button small { display: none; }
 .jhr-sweep .jhr-sweep-steps button.is-complete > span { font-size: 0; }
 .jhr-sweep .jhr-sweep-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .jhr-sweep .jhr-sweep-panel { border: 1px solid var(--sw-line); border-top: 3px solid var(--sw-green); border-radius: 8px; box-shadow: 0 3px 12px rgb(30 79 6 / 4%); }
 .jhr-sweep .jhr-sweep-panel__head { padding: 18px 20px; gap: 12px; background: #fff; }
 .jhr-sweep .jhr-sweep-panel__head > span { width: 32px; height: 32px; font-size: 11px; }
 .jhr-sweep .jhr-sweep-panel__head h2 { margin: 0; font-size: 21px; line-height: 1.25; }
 .jhr-sweep .jhr-sweep-panel__head p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
 .jhr-sweep .jhr-sweep-fields { grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; padding: 20px; }
 .jhr-sweep .jhr-sweep-fields > label:first-child { grid-column: 1; }
 .jhr-sweep .jhr-sweep-fields > label:last-child { grid-column: 2; grid-row: 1; }
 .jhr-sweep .jhr-sweep-source { grid-column: 1 / -1; padding: 14px; border-color: #dbe6d4; background: #f4f8f0; }
 .jhr-sweep .jhr-sweep-source__head { display: block; margin: 0; }
 .jhr-sweep .jhr-sweep-source__head strong { margin-top: 3px; font-size: 14px; }
 .jhr-sweep .jhr-sweep-live-status { margin: 7px 0 0; font-size: 12px; font-weight: 500; line-height: 1.5; }
 .jhr-sweep .jhr-sweep-field > span { font-size: 12px; }
 .jhr-sweep .jhr-sweep-field input, .jhr-sweep .jhr-sweep-field select { min-width: 0; height: 44px; font-size: 14px; }
 .jhr-sweep .jhr-sweep-prizes { margin: 0 20px 20px; padding: 16px; background: #fafbf9; }
 .jhr-sweep .jhr-sweep-subhead { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
 .jhr-sweep .jhr-sweep-subhead h3 { margin: 0; font-size: 16px; line-height: 1.3; }
 .jhr-sweep .jhr-sweep-subhead p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; }
 .jhr-sweep .jhr-sweep-presets { flex: 0 1 auto; width: auto; max-width: 100%; margin: 0; }
 .jhr-sweep .jhr-sweep-presets button { min-height: 36px; padding: 6px 10px; font-size: 11px; line-height: 1.3; }
 .jhr-sweep .jhr-sweep-prize-inputs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
 .jhr-sweep .jhr-sweep-prize-inputs label { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 10px; }
 .jhr-sweep .jhr-sweep-medal { display: none; }
 .jhr-sweep .jhr-sweep-prize-inputs strong { font-size: 11px; white-space: normal; line-height: 1.4; }
 .jhr-sweep .jhr-sweep-percent input { width: 42px; font-size: 20px; }
 .jhr-sweep .jhr-sweep-total { font-size: 12px; }
 .jhr-sweep .jhr-sweep-panel__actions, .jhr-sweep .jhr-sweep-result-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; }
 .jhr-sweep .jhr-sweep-panel__actions > span { flex: 1 1 140px; font-size: 11px; text-align: left; }
 .jhr-sweep .jhr-sweep-panel__actions > div, .jhr-sweep .jhr-sweep-result-actions > div { display: flex; flex-wrap: wrap; width: auto; gap: 8px; }
 .jhr-sweep .jhr-sweep-button { min-height: 42px; padding: 11px 14px; font-size: 12px; line-height: 1.35; text-align: center; }
 .jhr-sweep .jhr-sweep-link-button { min-height: 42px; font-size: 12px; }
 .jhr-sweep .jhr-sweep-summary { position: relative; top: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 18px; border: 0; border-radius: 8px; box-shadow: none; }
 .jhr-sweep .jhr-sweep-summary::after, .jhr-sweep .jhr-sweep-summary__head, .jhr-sweep .jhr-sweep-summary > h2, .jhr-sweep .jhr-sweep-summary > p { display: none; }
 .jhr-sweep .jhr-sweep-summary > dl { align-self: center; grid-template-columns: 1fr 1fr; margin: 0; }
 .jhr-sweep .jhr-sweep-summary > dl div { padding: 9px; }
 .jhr-sweep .jhr-sweep-summary > dl dt { font-size: 10px; }
 .jhr-sweep .jhr-sweep-summary > dl dd { margin-top: 2px; font-size: 16px; }
 .jhr-sweep .jhr-sweep-summary > dl .jhr-sweep-summary__pool dd { font-size: 23px; }
 .jhr-sweep .jhr-sweep-summary__prizes { margin: 0; align-self: center; }
 .jhr-sweep .jhr-sweep-summary__prizes h3 { margin: 0 0 8px; font-size: 10px; letter-spacing: .1em; }
 .jhr-sweep .jhr-sweep-summary__prizes li { gap: 8px; font-size: 12px; }
 .jhr-sweep .jhr-sweep-list-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 20px; }
 .jhr-sweep .jhr-sweep-list-field textarea { min-width: 0; min-height: 240px; font-size: 14px; }
 .jhr-sweep .jhr-sweep-list-field > span { flex-wrap: wrap; gap: 4px; }
 .jhr-sweep .jhr-sweep-live-field > header { flex-wrap: wrap; gap: 6px; padding: 12px; }
 .jhr-sweep .jhr-sweep-live-field > header strong { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
 .jhr-sweep .jhr-sweep-live-runner { grid-template-columns: 22px 34px minmax(0, 1fr); gap: 7px; }
 .jhr-sweep .jhr-sweep-live-runner > img, .jhr-sweep .jhr-sweep-live-runner__silk { width: 32px; height: 32px; }
 .jhr-sweep .jhr-sweep-result-head { padding: 20px; gap: 12px; }
 .jhr-sweep .jhr-sweep-result-head h2 { font-size: 24px; line-height: 1.25; }
 .jhr-sweep .jhr-sweep-pot { display: block; padding: 16px 20px; }
 .jhr-sweep .jhr-sweep-pot dl { justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sw-line); }
 .jhr-sweep .jhr-sweep-pot dl div { text-align: left; }
 .jhr-sweep .jhr-sweep-table { min-width: 0; }
 .jhr-sweep button:focus-visible, .jhr-sweep summary:focus-visible { outline: 3px solid #8aba60; outline-offset: 3px; }
 @container race-sweep (max-width: 500px) {
  .jhr-sweep .container { padding-inline: 16px; }
  .jhr-sweep .jhr-sweep-fields { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .jhr-sweep .jhr-sweep-fields > label:first-child, .jhr-sweep .jhr-sweep-fields > label:last-child { grid-column: auto; grid-row: auto; }
  .jhr-sweep .jhr-sweep-prizes { margin: 0 16px 16px; padding: 12px; }
  .jhr-sweep .jhr-sweep-prize-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jhr-sweep .jhr-sweep-presets { width: 100%; }
  .jhr-sweep .jhr-sweep-presets button { flex: 1; }
  .jhr-sweep .jhr-sweep-panel__head { padding: 16px; }
  .jhr-sweep .jhr-sweep-panel__actions, .jhr-sweep .jhr-sweep-result-actions { padding: 16px; }
  .jhr-sweep .jhr-sweep-panel__actions > span { flex-basis: 100%; }
  .jhr-sweep .jhr-sweep-panel__actions > div { width: 100%; }
  .jhr-sweep .jhr-sweep-panel__actions > div .jhr-sweep-button { flex: 1; }
  .jhr-sweep .jhr-sweep-list-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .jhr-sweep .jhr-sweep-result-head h2 { font-size: 21px; }
 }
 @container race-sweep (max-width: 350px) {
  .jhr-sweep .jhr-sweep-steps { gap: 5px; }
  .jhr-sweep .jhr-sweep-steps button { grid-template-columns: 25px auto; column-gap: 5px; }
  .jhr-sweep .jhr-sweep-steps button > span { width: 25px; height: 25px; }
  .jhr-sweep .jhr-sweep-steps button strong { font-size: 10px; }
  .jhr-sweep .jhr-sweep-summary { grid-template-columns: minmax(0, 1fr); }
 }
}
@media screen {
 .jhr-sweep .jhr-sweep-hero__ticks, .jhr-sweep .jhr-sweep-summary__prizes ul { list-style: none; padding: 0; }
 .jhr-sweep .jhr-sweep-hero__ticks li, .jhr-sweep .jhr-sweep-summary__prizes li { list-style: none; margin: 0; }
 .jhr-sweep .jhr-sweep-summary__prizes li { padding: 0; }
 .jhr-sweep .jhr-sweep-total { margin-bottom: 0; }
}

/* Native modal top layer keeps theme adverts and stacking contexts behind it. */
dialog.jhr-sweep-preview { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; background: transparent; color: var(--sw-ink); }
dialog.jhr-sweep-preview::backdrop { background: rgb(8 25 17 / 75%); }
.jhr-sweep-preview__dialog { min-width: 0; max-width: 100%; }
@media screen {
 dialog.jhr-sweep-preview:not([open]) { display: none; }
 .jhr-sweep-preview__backdrop { background: transparent; backdrop-filter: none; }
}
/* One clear identity and more space for names on the printable tickets. */
.jhr-sweep .jhr-sweep-print-brand { min-height: 16mm; margin: 0; padding: 0 0 3mm; background: #fff; border-bottom: .25mm solid #dfe5df; }
.jhr-sweep .jhr-sweep-print-brand__identity img { display: block; width: 55mm; max-width: 55mm; height: auto; margin: 0; padding: 0; border: 0; background: transparent; }
.jhr-sweep .jhr-sweep-print-brand__identity > div { display: none; }
.jhr-sweep .jhr-sweep-print-brand__badge { color: #243323; }
.jhr-sweep .jhr-sweep-print-title { padding: 4mm 0 3mm; margin: 0; }
.jhr-sweep .jhr-sweep-print-title h1 { margin: 0 0 1.5mm; font-size: 20pt; line-height: 1.15; }
.jhr-sweep .jhr-sweep-print-title p { margin: 0; font-size: 7pt; line-height: 1.4; }
.jhr-sweep .jhr-sweep-print-cutline { min-height: 3mm; margin: 0 0 1mm; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket { position: relative; grid-template-columns: 7mm minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 1mm; height: 26.4mm; min-height: 26.4mm; padding: 2.5mm 2mm; }
.jhr-sweep .jhr-sweep-print-ticket__runner { display: contents; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > b { grid-column: 1; grid-row: 1; width: 6mm; height: 6mm; font-size: 9pt; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner > div { grid-column: 2; grid-row: 1; display: block; padding: 0; border: 0; align-self: center; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner > div strong { font-size: 9.5pt; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > img, .jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket > .jhr-sweep-print-ticket__silk { position: absolute; top: 10mm; left: 2mm; width: 11mm; height: 11mm; object-fit: contain; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner small { grid-column: 1 / -1; grid-row: 2; align-self: center; display: grid; gap: .6mm; margin: 0; padding-left: 14mm; font-size: 7.2pt; font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__runner small b { width: 3mm; font-size: 6pt; }
.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket__scissors, .jhr-sweep .jhr-sweep-print-ticket__brand { display: none; }
@media print {
 .jhr-sweep { container-type: normal; }
 dialog.jhr-sweep-preview { position: static; display: block !important; width: 210mm; height: auto; max-height: none; padding: 0; }
 dialog.jhr-sweep-preview::backdrop { display: none; }
}

.jhr-sweep .jhr-sweep-print-sheet--tickets .jhr-sweep-print-ticket .jhr-sweep-print-ticket__scissors { display: none; }

/* Explicit viewport geometry also overrides theme dialog defaults. */
@media screen {
 dialog.jhr-sweep-preview { display: grid; grid-template-columns: minmax(0, 1fr); inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 22px; overflow: hidden; }
 dialog.jhr-sweep-preview:not([open]) { display: none !important; }
 dialog.jhr-sweep-preview > .jhr-sweep-preview__dialog { width: min(1080px, 100%); height: 100%; min-height: 0; margin: 0 auto; }
 @media (max-width: 720px) {
  dialog.jhr-sweep-preview { padding: 0; }
 }
}

/* Use the same bundled font in the preview and its PDF capture. */
.jhr-sweep .jhr-sweep-print-sheet, .jhr-sweep .jhr-sweep-print-sheet * { font-family: 'RaceSweepInter', Arial, sans-serif; }

/* Race names come from the shortcode; keep only race and entry controls visible. */
@media screen {
 .jhr-sweep .jhr-sweep-fields > .jhr-sweep-source { grid-column: 1; grid-row: 1; }
 .jhr-sweep .jhr-sweep-hero { border-top: 3px solid var(--sw-green); }
 .jhr-sweep .jhr-sweep-hero__copy h1 { margin-top: 0; }
 @container race-sweep (max-width: 500px) {
  .jhr-sweep .jhr-sweep-fields > .jhr-sweep-source { grid-column: 1; grid-row: auto; }
 }
}

/* Four-column draw results fit the article and small mobile screens. */
@media screen {
 .jhr-sweep .jhr-sweep-table { width: 100%; min-width: 0; table-layout: fixed; }
 .jhr-sweep .jhr-sweep-table th, .jhr-sweep .jhr-sweep-table td { padding: 10px 8px; overflow-wrap: anywhere; white-space: normal; }
 .jhr-sweep .jhr-sweep-table th:first-child { width: 32px; }
 .jhr-sweep .jhr-sweep-table th:nth-child(3) { width: 30%; }
 .jhr-sweep .jhr-sweep-table th:last-child { width: 96px; }
 .jhr-sweep .jhr-sweep-table td:nth-child(3) { color: var(--sw-green); font-weight: 770; }
 .jhr-sweep .jhr-sweep-table td:nth-child(4) { color: var(--sw-copy); font-weight: 400; }
 .jhr-sweep .jhr-sweep-runner-cell { grid-template-columns: 32px minmax(0, 1fr); gap: 7px; }
 .jhr-sweep .jhr-sweep-runner-cell img, .jhr-sweep .jhr-sweep-runner-cell__silk { width: 32px; height: 32px; }
 .jhr-sweep .jhr-sweep-runner-cell strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.4; }
 .jhr-sweep .jhr-sweep-table select { min-width: 0; max-width: 100%; height: 36px; padding-inline: 4px; font-size: 11px; }
 @container race-sweep (max-width: 450px) {
  .jhr-sweep .jhr-sweep-table th, .jhr-sweep .jhr-sweep-table td { padding: 9px 5px; font-size: 11px; }
  .jhr-sweep .jhr-sweep-table th { font-size: 9px; letter-spacing: .03em; }
  .jhr-sweep .jhr-sweep-table th:first-child { width: 26px; }
  .jhr-sweep .jhr-sweep-table th:nth-child(3) { width: 27%; }
  .jhr-sweep .jhr-sweep-table th:last-child { width: 80px; }
  .jhr-sweep .jhr-sweep-runner-cell { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .jhr-sweep .jhr-sweep-runner-cell strong { font-size: 11px; }
  .jhr-sweep .jhr-sweep-runner-cell small { font-size: 9px; }
 }
}

@media screen {
 .jhr-sweep .jhr-sweep-table .jhr-sweep-runner-cell strong { font-size: 15px; line-height: 1.4; }
 @container race-sweep (max-width: 450px) {
  .jhr-sweep .jhr-sweep-table .jhr-sweep-runner-cell strong { font-size: 14px; }
 }
}

/* Centre decorations independently of theme text metrics and grid text nodes. */
.jhr-sweep .jhr-sweep-money > b { top: 0; bottom: 0; left: 13px; display: flex; align-items: center; margin: 0; padding: 0; line-height: 1; transform: none; pointer-events: none; }
.jhr-sweep .jhr-sweep-steps button.is-complete > span { position: relative; }
.jhr-sweep .jhr-sweep-steps button.is-complete > span::after { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -65%) rotate(-45deg); }

.jhr-sweep .jhr-sweep-money { display: flex; align-items: center; }
.jhr-sweep .jhr-sweep-money > input { display: block; margin: 0; padding-left: 28px; }
