/* PP presentation: composed commercial markup, private reference geometry.
   Provenance and approved differences: docs/PP_PAGE_SLICE.md. */
.pp-page{background:radial-gradient(1200px 500px at 8% -8%,#dbeafe 0%,transparent 50%),radial-gradient(900px 400px at 100% 0%,#dbeafe 0%,transparent 45%),#eef2f7;color:#0f172a}
.pp-main{padding:28px 9px 40px}
.pp-shell{max-width:1800px;margin:0 auto;min-width:0}
.pp-shell>*{min-width:0}
.pp-page-label{display:none;justify-content:space-between;gap:16px;margin:0 0 18px;color:#64748b;font-size:12px;font-weight:600}
.pp-page-label strong{color:#0f172a;letter-spacing:.02em}
.pp-hero{display:flex;flex-direction:column;gap:14px;margin-bottom:16px}
.pp-head{min-width:0;flex:1}
.pp-eyebrow{margin:3px 0 6px;font-size:11px;font-weight:700;letter-spacing:.14em;color:#64748b}
.pp-page .pp-head h1{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:28px;font-weight:800;max-width:none;letter-spacing:-.03em;line-height:1;color:#0f172a;overflow-wrap:anywhere}
.pp-page h2,.pp-page h3{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.pp-connections{display:flex;flex-wrap:wrap;gap:8px 14px;margin:8px 0 0;font-size:11.5px;color:#475569}
.pp-connections strong{color:#0f172a}
.pp-today{margin:12px 0 0;font-size:11.5px;font-weight:600;color:#334155;overflow-wrap:anywhere}
.pp-provenance{margin:6px 0 0;font-size:11px;color:#64748b}
.pp-back{display:inline-flex;align-items:center;min-height:38px;padding:0 15px;margin-top:10px;border:1px solid #d6dfeb;border-radius:10px;background:#f8fafc;font-size:13px;font-weight:700;color:#334155;text-decoration:none}
.pp-back:hover{background:#eef2f7}
.pp-form{align-self:stretch;background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 55%,#12324d 100%);color:#fff;border-radius:18px;padding:16px 20px;box-shadow:0 16px 40px rgba(15,23,42,.22)}
.pp-form-label{margin:0;font-size:10px;font-weight:600;letter-spacing:.12em;color:#cbd5e1}
.pp-form-value{margin:4px 0 6px;font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1.2}
.pp-form-value span{display:block;margin-top:6px;font-size:12px;font-weight:400;letter-spacing:normal;color:#cbd5e1;line-height:1.4}
/* Period and Places (owner pick, 7 Nov 2026): switches with a blue-to-teal marker that slides. */
.pp-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin:14px 0 12px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px #d0d5dd,0 6px 18px rgb(16 24 40/.06)}
.pp-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
.pp-control-label{color:#344054;font-size:14px;font-weight:700}
.pp-rail{position:relative;display:flex;min-width:0;padding:3px;border-radius:11px;background:#e8f3f5;box-shadow:inset 0 0 0 1px #cbe3e8;isolation:isolate}
.pp-rail-mark{display:none;position:absolute;z-index:0;top:3px;bottom:3px;left:0;width:var(--w,0);border-radius:9px;background:linear-gradient(120deg,#17479a,#149aa6);box-shadow:0 3px 9px rgb(11 107 117/.32);transform:translate3d(var(--x,0),0,0)}
.pp-rail.is-live .pp-rail-mark{display:block}
.pp-rail.is-ready .pp-rail-mark{will-change:transform,width;transition:transform .34s cubic-bezier(.22,.9,.24,1),width .34s cubic-bezier(.22,.9,.24,1)}
.pp-seg{position:relative;z-index:1;flex:1 1 auto;min-width:44px;min-height:38px;padding:0 12px;border:0;border-radius:9px;background:none;color:#101828;font:inherit;font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer;transition:color .26s ease}
.pp-seg[aria-pressed="true"]{background:linear-gradient(120deg,#17479a,#149aa6);color:#fff}
.pp-rail.is-live .pp-seg[aria-pressed="true"]{background:none}
@media(max-width:560px){.pp-controls{padding:12px}.pp-control{width:100%}.pp-control-label{width:100%}.pp-rail{width:100%}.pp-seg{min-width:min-content;min-height:40px;padding:0 6px}}
@media(prefers-reduced-motion:reduce){.pp-rail.is-ready .pp-rail-mark,.pp-seg{transition:none}}
.pp-seg:focus-visible,.pp-back:focus-visible,.pp-page summary:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.pp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:8px;align-items:stretch}
.pp-card{display:flex;flex-direction:column;justify-content:flex-start;box-sizing:border-box;height:100%;background:#fff;border:1px solid #d9dfe7;border-radius:12px;padding:10px 12px;min-width:0;overflow:hidden}
.pp-card-label{margin:0 0 3px;font-size:11px;font-weight:700;letter-spacing:normal;line-height:1.25;text-transform:uppercase;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-card-value{margin:0;font-size:16px;font-weight:800;line-height:1.2;color:#334155;font-variant-numeric:tabular-nums;white-space:nowrap}
.pp-card.tone-green{border-color:#ccebdc}.pp-card.tone-green .pp-card-value{color:#059669}
.pp-card.tone-amber .pp-card-value{color:#d97706}
.pp-card.tone-red{border-color:#f2ccd2}.pp-card.tone-red .pp-card-value{color:#dc2626}
.pp-card.tone-limited .pp-card-value{color:#64748b}
.pp-card.state-unavailable .pp-card-value,.pp-card.state-not_applicable .pp-card-value{color:#94a3b8}
.pp-help{margin-top:14px;font-size:11px;color:#64748b;line-height:1.55}
.pp-help summary{cursor:pointer;font-weight:700;min-height:28px}
.pp-help p{margin:8px 0 0}
.pp-muted{margin:8px 0;font-size:13px;color:#64748b}
.pp-table-scroll{overflow-x:auto;max-width:100%;border-radius:12px;background:#fff;box-shadow:0 0 0 1px #d0d5dd}
.pp-table-scroll:focus-visible{outline:3px solid #93c5fd}
.pp-table{width:100%;border-collapse:collapse;font-size:15px;min-width:1240px;line-height:1.35}
.pp-table th{position:sticky;top:0;background:#101828;text-align:left;font-size:13px;font-weight:700;color:#fff;padding:10px;white-space:nowrap}
.pp-table td{padding:7px 10px;border-top:1px solid #d9dee5;vertical-align:top;white-space:nowrap;color:#5e6a7e;font-weight:500}
.pp-table th:first-child,.pp-table td:first-child{padding-left:14px}
.pp-table td strong{display:block;font-size:15px;font-weight:700;color:#334155}
.pp-race-name{display:none}
/* A win: soft wine on the race row only; second and third an edge (owner, 7 Nov 2026). */
.pp-run.pp-win td{background:#f8e6e8;transition:background .15s}
.pp-run.pp-win td:first-child{box-shadow:inset 5px 0 0 #8f1721}.pp-run.pp-second td:first-child{box-shadow:inset 4px 0 0 #94a3b8}.pp-run.pp-third td:first-child{box-shadow:inset 3px 0 0 #fdba74}
.pp-runs{margin-top:16px}
.pp-pos{display:inline-flex;align-items:baseline}.pp-pos b{font-size:16px;font-weight:700;color:#4b5567}.pp-pos small{font-size:13.5px;font-weight:600;color:#5e6a7e}
/* Comments stand apart from the facts (owner pick A, 7 Nov 2026): grey, slanted, bold and centred. */
.pp-comment td{padding:0 14px 8px;border-top:0;background:#fff;font-size:14.5px;font-style:italic;font-weight:700;color:#475467;line-height:1.45;text-align:center;white-space:normal}
.pp-comment[hidden],.pp-filtered{display:none}
.pp-lock-row td{padding:0 14px 8px;border-top:0;color:#101828;font-size:14.5px;font-weight:700;text-align:center;white-space:normal}
.pp-note{position:sticky;left:14px;max-width:calc(100vw - 56px)}
.pp-lock-row a{color:#7d1219;font-weight:800}
.pp-run-date{color:#17479a;font-weight:700;text-decoration:underline;text-decoration-color:#a9bfdf;text-underline-offset:3px}.pp-run-date:hover{color:#0f3478;text-decoration-color:currentColor}
.pp-run-open{cursor:pointer}.pp-run-open:hover td{background:#f5f8fb}.pp-run-open.pp-win:hover td{background:#f2d5d9}.pp-run-open:hover+.pp-comment td{background:#f5f8fb}
.pp-run-toggle{display:inline-grid;place-items:center;width:24px;height:24px;margin:0 4px 0 -4px;padding:0;border:0;border-radius:6px;background:none;color:#101828;font:800 17px/1 inherit;cursor:pointer;vertical-align:middle;transition:transform .15s}
.pp-run-toggle[aria-expanded="true"]{transform:rotate(90deg)}.pp-run-toggle:focus-visible{outline:2px solid #17479a;outline-offset:1px}
.pp-run-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.pp-controls .pp-run-tools{flex:1 1 auto;margin:0}
.pp-run-filters{max-width:100%}
.pp-run-all{min-height:44px;padding:0 14px;border:0;border-radius:11px;background:#e8f3f5;box-shadow:inset 0 0 0 1px #cbe3e8;color:#101828;font:inherit;font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s}
.pp-run-all:hover{background:#dcecef}.pp-run-all[aria-pressed="true"]{background:#101828;box-shadow:0 3px 9px rgb(16 24 40/.3);color:#fff}
.pp-run-filters .pp-seg:focus-visible,.pp-run-all:focus-visible{outline:2px solid #17479a;outline-offset:-2px}
.pp-run-none{margin:10px 0 0;padding:12px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px #d0d5dd;color:#101828;font-weight:600;text-align:center}
@media(max-width:760px){.pp-run-toggle{width:40px;height:40px;margin:-8px 2px -8px -10px}.pp-comment td{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.pp-run-toggle{transition:none}}
/* Runner page top (owner picks, 7 Nov 2026): a soft sky-to-green card; recent form with a tab per run. */
.pp-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;align-items:start;margin:0 0 18px;padding:24px 28px;border-radius:20px;background:linear-gradient(120deg,#dcebf6 0%,#e8f1ee 55%,#edf3e2 100%);box-shadow:0 0 0 1px rgb(255 255 255/.8),0 8px 24px rgb(16 24 40/.06);color:#18202b;font-family:"Source Sans 3","Segoe UI",system-ui,sans-serif}
.pp-top-main{min-width:0}
.pp-top-back{display:inline-flex;align-items:center;min-height:32px;margin:0 0 8px;color:#475467;font-size:14.5px;font-weight:600;text-decoration:none}
.pp-top-back:hover{color:#18202b;text-decoration:underline}
.pp-data-label{margin:0 0 6px;color:#475467;font-size:13px;font-weight:700}
.pp-page .pp-top-main h1{margin:0;max-width:none;color:#101828;font:800 clamp(32px,4vw,46px)/1.05 "Source Sans 3","Segoe UI",system-ui,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
.pp-top-race{margin:7px 0 16px;color:#344054;font-size:18px}.pp-top-race b{color:#101828;font-weight:700}
.pp-top-facts{display:flex;flex-wrap:wrap;gap:7px;margin:-6px 0 16px;padding:0;list-style:none}
.pp-top-facts li{margin:0;padding:4px 11px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px #c7d0db;color:#101828;font-size:15px;font-weight:700}
.pp-top-people{display:grid;gap:7px;margin:0}
.pp-top-people>div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;align-items:baseline}
.pp-top-people dt{color:#667085;font-size:14.5px}
.pp-top-people dd{margin:0;color:#18202b;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.pp-pname{display:inline;padding:0;border:0;background:none;color:#1d4ed8;font:inherit;text-decoration:underline dotted;text-underline-offset:3px;cursor:pointer}
.pp-pname:hover{color:#123a9a}
.pp-rf{min-width:0;padding:18px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px #d8dee6,0 8px 22px rgb(16 24 40/.07)}
.pp-rf-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding-bottom:10px;border-bottom:2px solid #101828}
.pp-page .pp-rf-head h2{margin:0;color:#101828;font:800 18px/1.2 "Source Sans 3","Segoe UI",system-ui,sans-serif}
.pp-rf-sum{color:#344054;font-size:15px}.pp-rf-sum b{color:#101828;font-weight:800}
.pp-rf{container-type:inline-size}
.pp-rf-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:12px 0 0}
@container (max-width:430px){.pp-rf-yr{display:none}.pp-rf-tabs b{font-size:19px}.pp-rf-tabs span,.pp-rf-tabs small{font-size:12px}}
.pp-rf-tabs button{display:grid;justify-items:center;align-content:start;gap:2px;min-height:64px;min-width:0;padding:8px 2px;border:0;border-bottom:3px solid #e4e7ec;background:none;color:#344054;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.pp-rf-tabs button:hover{background:#f5f8fb}
.pp-rf-tabs button.on{border-bottom-color:#17479a;background:#f0f5fb}
.pp-rf-pos{color:#101828;font-size:21px;line-height:1;font-weight:800;overflow-wrap:anywhere}.pp-rf-pos.win{color:#0f7a41}.pp-rf-pos.place{color:#17479a}
.pp-rf-tabs span{font-size:13px;font-weight:600}.pp-rf-tabs small{color:#475467;font-size:12.5px;white-space:nowrap}
.pp-rf-panels{display:grid;margin-top:12px}
.pp-rf-panel{grid-area:1/1;min-width:0;visibility:hidden}.pp-rf-panel.on{visibility:visible}
.pp-rf-race{margin:0 0 8px;color:#101828;font-size:15.5px;font-weight:700;overflow-wrap:anywhere}
.pp-rf-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;margin:0}
.pp-rf-facts dt{color:#475467;font-size:13px}.pp-rf-facts dd{margin:0;color:#101828;font-size:14.5px;font-weight:700;overflow-wrap:anywhere}
.pp-rf-see{display:inline-flex;align-items:center;min-height:32px;margin-top:5px;color:#1d4ed8;font-size:14.5px;font-weight:700;text-underline-offset:3px}
.pp-run{scroll-margin-top:120px}
.pp-run.pp-run-flash td{background:#dbeafe!important;transition:background .3s}
.pp-pc-back{position:fixed;inset:0;z-index:1199;background:rgb(16 24 40/.4)}
.pp-pc{position:absolute;z-index:1200;width:560px;max-width:calc(100vw - 24px);overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 0 0 1px #d0d5dd,0 18px 44px rgb(16 24 40/.22);color:#101828;font-family:"Source Sans 3","Segoe UI",system-ui,sans-serif;animation:ppPcIn .18s cubic-bezier(.05,.7,.1,1)}
@keyframes ppPcIn{from{opacity:0;transform:translateY(6px)}}
.pp-pc:focus{outline:none}
.pp-pc[hidden],.pp-pc-back[hidden]{display:none}
.pp-pc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-bottom:2px solid #101828}
.pp-page .pp-pc-top h2{margin:0;font:800 19px/1.15 "Source Sans 3","Segoe UI",system-ui,sans-serif}.pp-pc-top p{margin:1px 0 0;color:#344054;font-size:14.5px}
.pp-pc-x{flex:none;width:36px;height:36px;border:0;border-radius:8px;background:#f2f4f7;color:#101828;font-size:20px;line-height:1;cursor:pointer}.pp-pc-x:hover{background:#e4e7ec}
.pp-pc-bar{padding:10px 16px;background:#f8f9fb;border-bottom:1px solid #e4e7ec}
.pp-pc-rail{width:100%}
.pp-pc-rail .pp-seg{flex:1 1 0;min-width:min-content;padding:2px 8px;font-size:14px;line-height:1.1;white-space:normal}
.pp-pc-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.3}
.pp-pc-table th,.pp-pc-table td{padding:10px;border-bottom:1px solid #eaecf0;text-align:left;vertical-align:top;font-variant-numeric:tabular-nums}
.pp-pc-table th:first-child{padding-left:16px}.pp-pc-table td,.pp-pc-table thead th+th{border-left:1px solid #eaecf0}
.pp-pc-table thead th{color:#344054;font-size:13.5px;font-weight:700}
.pp-pc-table tbody th{font-weight:700}.pp-pc-table small{display:block;color:#475467;font-size:13px;font-weight:500}
.pp-pc-table tbody tr{cursor:pointer}.pp-pc-table tbody tr:hover>*{background:#f5f8fb}.pp-pc-table tbody tr.on>*{background:#eef4fb}
.pp-pc-pct{font-size:16px;font-weight:800;color:#344054}.pp-pc-pct.tone-green{color:#0f7a41}.pp-pc-pct.tone-amber{color:#b54708}.pp-pc-pct.tone-red{color:#b42318}
.pp-pc-none{color:#475467;font-size:14px}
.pp-rf-tabs button:focus-visible,.pp-rf-see:focus-visible,.pp-top-back:focus-visible,.pp-pname:focus-visible,.pp-pc-x:focus-visible,.pp-pc-rail .pp-seg:focus-visible,.pp-pc-table tbody tr:focus-visible{outline:2px solid #17479a;outline-offset:2px}
.pp-pc-table tbody tr:focus-visible{outline-offset:-2px}
@media(max-width:900px){.pp-top{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px}}
@media(max-width:640px){.pp-pname{min-height:40px}.pp-pc{position:fixed;left:0;right:0;bottom:0;width:auto;max-width:none;max-height:86vh;overflow:auto;border-radius:16px 16px 0 0;animation:ppPcUp .24s cubic-bezier(.05,.7,.1,1)}.pp-pc-seg{width:100%}.pp-pc-seg button{flex:1;min-height:40px;padding:0 4px}.pp-pc-table{font-size:14.5px}.pp-pc-table th,.pp-pc-table td{padding:9px 6px}.pp-pc-table th:first-child{padding-left:12px}.pp-pc-bar{padding:9px 12px}.pp-pc-x{width:40px;height:40px}.pp-rf-see,.pp-top-back{min-height:40px}}
@keyframes ppPcUp{from{transform:translateY(100%)}}
@media(max-width:400px){.pp-top{padding:14px}.pp-rf{padding:14px}.pp-rf-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.pp-pc{animation:none}.pp-rf-tabs button,.pp-run.pp-run-flash td{transition:none}}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(min-width:761px){.pp-main{padding:50px 20px 40px}.pp-page-label{display:flex}.pp-hero{flex-direction:row;align-items:flex-start;gap:28px}.pp-page .pp-head h1{font-size:32px}.pp-connections,.pp-today{font-size:13px}.pp-form{flex:0 0 230px;align-self:center}.pp-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1101px){.pp-form{flex-basis:260px}.pp-cards{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media(max-width:760px){.pp-seg{min-height:40px}.pp-page-label{display:none}}
.pp-run-lock{font-size:12px;text-decoration:none;display:inline-block;margin-left:2px}
/* Premium lock line stays on one line, shrinking with the space it has (owner, 12 Nov 2026). */
.pp-lock-row .pp-note{container-type:inline-size;width:100%}
.pp-lock-row .note-1l{display:inline-flex;align-items:baseline;gap:.3em;max-width:100%;white-space:nowrap;font-size:14px;font-size:clamp(9.5px,4.6cqi,14.5px)}.pp-lock-row .note-1l .n1{min-width:0;overflow:hidden;text-overflow:ellipsis}.pp-lock-row .note-1l .n2{flex:none}

/* The top part (owner pick C, 12 Nov 2026): white panel, the race facts in one dark strip,
   Trainer and Jockey as small tiles with Breeding beneath, and the silks before the name. */
.pp-top{background:#fff;box-shadow:0 0 0 1px #e3e5e9;border-radius:16px}
.pp-page .pp-top-main h1{display:flex;align-items:center;gap:12px}
.pp-silk{width:44px;height:44px;object-fit:contain;flex:none}
.pp-top-race{font-size:17px;margin:6px 0 12px}
.pp-top-facts{display:inline-flex;margin:0 0 18px;gap:0;background:#14171c;border-radius:10px;overflow:hidden}
.pp-top-facts li{background:none;box-shadow:none;border-radius:0;color:#fff;padding:7px 14px;font-size:14px}
.pp-top-facts li+li{border-left:1px solid rgb(255 255 255/.18)}
.pp-top-people{grid-template-columns:1fr 1fr;gap:10px 18px}
.pp-top-people>div{display:block;background:#f6f7f8;border-radius:10px;padding:8px 12px}
.pp-top-people>div:nth-child(n+3){grid-column:1/-1}
.pp-top-people dt{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#6b7079}
.pp-top-people dd{font-size:15.5px}
@media(max-width:400px){.pp-silk{width:36px;height:36px}.pp-top-facts li{padding:6px 10px}}
/* Long words and wide fonts wrap instead of pushing the page sideways. */
.pp-top-facts{flex-wrap:wrap;max-width:100%}.pp-page .pp-top-main h1>span{min-width:0;overflow-wrap:anywhere}

/* A quieter filter bar (owner pick C, 13 Nov 2026): soft grey groups, the chosen button white and bold;
   "Show all comments" in the same soft grey (pick 3). */
.pp-controls{box-shadow:0 0 0 1px #e3e5e9;padding:10px 12px}
.pp-controls .pp-control-label{font-size:13px;color:#5d6470;font-weight:600}
.pp-controls .pp-rail{background:#eef2f6;box-shadow:none}
.pp-controls .pp-rail-mark{background:#fff;box-shadow:0 1px 3px rgb(16 24 40/.18)}
.pp-controls .pp-seg{min-height:34px;padding:0 11px;font-size:14px;font-weight:600;color:#5d6470}
.pp-controls .pp-seg[aria-pressed="true"]{background:#fff;box-shadow:0 1px 3px rgb(16 24 40/.18);color:#14171c;font-weight:800}
.pp-controls .pp-rail.is-live .pp-seg[aria-pressed="true"]{background:none;box-shadow:none}
.pp-run-all{min-height:34px;padding:0 12px;border-radius:8px;background:#eef2f6;box-shadow:none;color:#5d6470;font-size:14px;font-weight:600}
.pp-run-all:hover{background:#eef2f6;color:#14171c}
.pp-run-all[aria-pressed="true"]{background:#fff;box-shadow:0 1px 3px rgb(16 24 40/.18);color:#14171c;font-weight:800}
@media(max-width:560px){.pp-controls .pp-seg{min-height:40px;padding:0 6px}}

/* Record tiles: always one row; the text shrinks with the space, and on phones the row
   scrolls sideways instead of wrapping (owner, 13 Nov 2026). */
.pp-summary{container-type:inline-size}
.pp-summary .pp-cards{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(4px,.7cqi,8px)}
.pp-summary .pp-card{padding:clamp(6px,.9cqi,10px) clamp(7px,1cqi,12px)}
.pp-summary .pp-card-label{font-size:clamp(9px,1.05cqi,11px)}
.pp-summary .pp-card-value{font-size:clamp(11.5px,1.5cqi,16px)}
@container (max-width:640px){
 .pp-summary .pp-cards{grid-auto-columns:minmax(88px,1fr);overflow-x:auto;scroll-snap-type:x proximity;
  padding-bottom:4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .pp-summary .pp-card{scroll-snap-align:start}
 .pp-summary .pp-card-label{font-size:10px}.pp-summary .pp-card-value{font-size:13.5px}
}

/* Runs table header: mid grey band with white small capitals (owner, 13 Nov 2026). */
.pp-table th{background:#5d6470;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}

/* Runs table rows (owner pick 5, 13 Nov 2026): tighter text, quieter lines, numbers right-aligned;
   the winning row in lime with a strong side bar (pick 8). */
.pp-table td{font-size:13.5px;padding:6px 10px;border-top-color:#eceef1;color:#3d434c}
.pp-table td strong{font-size:14px}
.pp-run td:nth-child(n+9):nth-child(-n+12),.pp-table th:nth-child(n+9):nth-child(-n+12){text-align:right;font-variant-numeric:tabular-nums}
.pp-run-date{font-weight:600}
.pp-run.pp-win td{background:#e5f7c7}
.pp-run.pp-win td:first-child{box-shadow:inset 5px 0 0 #5f9a12}
.pp-run-open.pp-win:hover td{background:#d9f0b3}

/* The Owner line under the race strip (owner pick C, 13 Nov 2026). */
.pp-top-owner{margin:-8px 0 14px;color:#5d6470;font-size:14px;overflow-wrap:anywhere}
.pp-top-owner b{color:#14171c;font-weight:700}

/* Horse details under the name, the trainer's base and the earlier owner (owner pick A, 13 Nov 2026). */
.pp-top-horse{margin:4px 0 0;color:#5d6470;font-size:14px;overflow-wrap:anywhere}
.pp-top-base{display:block;color:#6b7079;font-size:13px;font-weight:500}
.pp-top-prev{color:#8a8f9c}
/* Past-run table D (owner pick, 13 Nov 2026): dense, short codes, light header, comment lines,
   lines between runs. Overrides the older table rules above. */
.pp-table.pp-table-d{font-size:13px;min-width:980px;line-height:1.3}
.pp-table-d th{background:#eceef1;color:#374151;font-size:11.5px;font-weight:700;text-transform:none;letter-spacing:0;padding:6px 7px;border-bottom:1px solid #d6d9df}
.pp-table-d td{font-size:13px;padding:4px 7px;color:#3d434c}
.pp-table-d th:first-child,.pp-table-d td:first-child{padding-left:12px}
.pp-table-d td strong{display:inline;font-size:13px;color:#14171c}
.pp-table-d .pp-run td,.pp-table-d th{text-align:left}
.pp-table-d .pp-run td:first-child{box-shadow:none}   /* no coloured edge bars (owner, 13 Nov 2026) */
.pp-table-d .pp-run-toggle{width:18px;height:18px;margin:-2px 3px -2px -4px;font-size:15px}   /* thin rows when comments are folded */
.pp-table-d .pp-run td.pp-n,.pp-table-d th.pp-n{text-align:right;font-variant-numeric:tabular-nums}
.pp-table-d .pp-pos b{font-size:13.5px;color:#14171c}.pp-table-d .pp-pos small{font-size:11.5px}
.pp-table-d .pp-sp{font-weight:700;color:#14171c}
.pp-grade{display:inline-block;margin-left:3px;padding:0 4px;border-radius:4px;background:#14171c;color:#fff;font-size:10.5px;font-weight:800;line-height:15px;vertical-align:1px}
.pp-table-d .pp-comment td{padding:0 12px 7px 14px;font-size:12.5px;font-style:normal;font-weight:400;color:#4b5563;text-align:left}
.pp-table-d .pp-lock-row td{padding:0 12px 6px 14px;font-size:12.5px;text-align:left}
.pp-facts{display:none}
.pp-facts-row td{padding:0 14px 4px;border-top:0}
.pp-marker td{padding:3px 8px;background:#f3f4f6;color:#4b5563;font-size:11.5px;font-weight:700;letter-spacing:.02em;text-align:center}
.pp-marker-wind td{background:#eef2f8;color:#26354a}
.pp-marker-stable td{background:#f5f0f0;color:#5b1218}
@media(max-width:760px){.pp-facts{display:block;position:sticky;left:12px;max-width:calc(100vw - 56px);margin:0 0 2px;color:#6b7280;font-size:11.5px;white-space:normal}.pp-table.pp-table-d{min-width:900px}.pp-marker td{text-align:left;padding-left:14px}}
/* Record cards (owner, 14 Nov 2026): one slim scoreboard in two groups; each record shows
   runs-wins-places, its win % and a thin meter. */
.pp-summary .pp-cards.pp-cards-board{display:block;overflow-x:auto}
.pp-board{display:grid;grid-template-columns:repeat(var(--n),minmax(80px,1fr));gap:4px 8px}
.pp-board-title{grid-row:1;margin:0;padding:0 2px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9aa1ad;text-align:center}
.pp-board-title.pp-board-split{margin-left:0}
.pp-cards-board .pp-card{grid-row:2;display:grid;grid-template-columns:1fr;justify-items:center;justify-content:center;align-items:baseline;gap:0 6px;min-width:0;height:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px 10px 10px;text-align:center;cursor:default}
.pp-cards-board .pp-card.pp-board-split{margin-left:0}   /* same size as every other box */
.pp-cards-board .pp-card:hover{border-color:#cfd3da}
.pp-summary .pp-cards-board .pp-card-label{grid-row:1;grid-column:1/-1;font-size:10.5px;color:#6b7280;letter-spacing:.04em}
.pp-summary .pp-cards-board .pp-card-value{grid-row:2;grid-column:1;font-size:15px}   /* tone colours, owner 15 Nov 2026 */
.pp-card-meter{grid-row:3;grid-column:1/-1;display:block;width:46px;height:3px;margin:5px 0 0;border-radius:3px;background:#eceef2;overflow:hidden}
.pp-card-meter b{display:block;height:100%;width:0;background:var(--lv,#c6cbd3);transition:width .5s}
@media(prefers-reduced-motion:reduce){.pp-card-meter b{transition:none}}
/* A first chase or first hurdle (owner, 14 Nov 2026): the page opens on the record the horse has
   run in, says so in one line, and each Records button shows its number of runs. */
.pp-first-kind{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px #e3e6eb;font-weight:600;font-size:.95rem;color:#14171c}
.pp-first-kind i{flex:none;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#14171c;color:#fff;font:800 12px/1 system-ui,sans-serif;font-style:normal}
.pp-seg .pp-seg-n{display:inline-block;margin-left:6px;padding:0 6px;border-radius:999px;background:rgba(20,23,28,.08);font-size:.72rem;font-weight:800;line-height:1.6}
.pp-seg[aria-pressed="true"] .pp-seg-n{background:rgba(20,23,28,.12)}
.pp-seg.pp-seg-zero{opacity:.55}
/* One line wider than a phone (owner, 14 Nov 2026): Period, Places, Records and the run filters
   sit side by side and shrink together to fit (the page script sets --pp-fit); no sideways
   scrolling. Too narrow to stay readable: it wraps instead. Phones keep the stacked layout. */
@media(min-width:561px){
  .pp-controls{--pp-fit:1;flex-wrap:nowrap;gap:calc(12px*var(--pp-fit));padding:calc(10px*var(--pp-fit)) calc(12px*var(--pp-fit));font-size:calc(14px*var(--pp-fit));overflow:hidden}
  .pp-controls.pp-fit-wrap{flex-wrap:wrap;row-gap:8px}
  .pp-controls .pp-control,.pp-controls .pp-run-tools,.pp-controls .pp-run-filters,.pp-controls .pp-rail{flex:none;flex-wrap:nowrap}
  .pp-controls .pp-control{gap:.55em}
  .pp-controls .pp-control-label{font-size:.92em}
  .pp-controls .pp-rail{padding:.2em}
  .pp-controls .pp-seg{min-width:0;min-height:2.35em;padding:0 .6em;font-size:.96em}
  .pp-controls .pp-run-all{white-space:nowrap;font-size:.96em;padding-left:.7em;padding-right:.7em}
  .pp-controls .pp-seg-n{font-size:.78em}
}
/* Record box meters stronger on white (owner, 14 Nov 2026: "too pale"): thicker, deeper colour.
   The shared red-to-green colour stays; it is deepened here only, so the racecard badges keep theirs. */
.pp-cards-board .pp-card-meter{width:56px;height:5px;margin-top:6px;border-radius:5px;background:#e1e4e9}
.pp-cards-board .pp-card-meter b{border-radius:5px;filter:saturate(1.3) brightness(.82)}
/* Chosen buttons in navy (owner pick N3, 14 Nov 2026), white text; the sliding highlight too. */
.pp-controls .pp-rail-mark{background:#36578f;box-shadow:0 1px 3px rgb(16 24 40/.22)}
.pp-controls .pp-seg[aria-pressed="true"]{color:#fff}
.pp-controls .pp-rail:not(.is-live) .pp-seg[aria-pressed="true"]{background:#36578f;box-shadow:none}
.pp-controls .pp-seg[aria-pressed="true"] .pp-seg-n{background:rgb(255 255 255/.22);color:#fff}
/* Collapsed choice groups (owner picks B, then A3 + stacked cards, 15 Nov 2026): only the
   current choice shows, with two smaller cards stacked behind it; a click slides the other
   choices out one after another, and picking one slides them back. */
.pp-controls .pp-rail.pp-collapsible{transition:background-color .35s ease,margin .5s cubic-bezier(.22,1,.36,1)}
.pp-controls .pp-collapsible .pp-rail-mark{display:none}
.pp-controls .pp-collapsible .pp-seg{flex:0 0 auto;max-width:var(--pp-seg-w,260px);overflow:hidden;transition:max-width .6s cubic-bezier(.22,1,.36,1),min-width .6s cubic-bezier(.22,1,.36,1),padding .6s cubic-bezier(.22,1,.36,1),opacity .35s ease,transform .55s cubic-bezier(.22,1,.36,1),background-color .3s,color .3s,visibility 0s}
.pp-controls .pp-rail.pp-collapsible .pp-seg[aria-pressed="true"]{background:#4b5565;color:#fff}   /* slate grey, owner pick N2 */
.pp-controls .pp-collapsible:not(.pp-collapsed) .pp-seg:nth-child(3){transition-delay:0s,0s,0s,.04s,.04s,0s,0s,0s}
.pp-controls .pp-collapsible:not(.pp-collapsed) .pp-seg:nth-child(4){transition-delay:0s,0s,0s,.08s,.08s,0s,0s,0s}
.pp-controls .pp-collapsible:not(.pp-collapsed) .pp-seg:nth-child(5){transition-delay:0s,0s,0s,.12s,.12s,0s,0s,0s}
.pp-controls .pp-collapsible:not(.pp-collapsed) .pp-seg:nth-child(6){transition-delay:0s,0s,0s,.16s,.16s,0s,0s,0s}
.pp-controls .pp-collapsible:not(.pp-collapsed) .pp-seg:nth-child(n+7){transition-delay:0s,0s,0s,.2s,.2s,0s,0s,0s}
.pp-controls .pp-collapsed .pp-seg:not([aria-pressed="true"]){max-width:0;min-width:0;padding-left:0;padding-right:0;opacity:0;transform:translateX(-6px);visibility:hidden;pointer-events:none;transition-delay:0s,0s,0s,0s,0s,0s,0s,.6s}
.pp-controls .pp-rail.pp-collapsed{width:max-content;max-width:100%;margin-right:18px;background-color:transparent}
.pp-controls .pp-collapsible::before,.pp-controls .pp-collapsible::after{content:"";position:absolute;left:3px;right:3px;z-index:-1;border:2px solid #fff;border-radius:11px;opacity:0;transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .15s}
.pp-controls .pp-collapsible::after{top:5px;bottom:5px;background:#8b94a3}
.pp-controls .pp-collapsible::before{top:8px;bottom:8px;background:#cdd2da}
.pp-controls .pp-collapsed::after{opacity:1;transform:translateX(8px)}
.pp-controls .pp-collapsed::before{opacity:1;transform:translateX(16px)}
.pp-controls .pp-collapsed .pp-seg[aria-pressed="true"]{box-shadow:0 1px 2px rgb(16 24 40/.12)}
.pp-controls .pp-rail.pp-collapsible{width:max-content;max-width:100%}
.pp-controls .pp-rail.pp-collapsible .pp-seg{min-width:0}
.pp-controls .pp-collapsible .pp-seg.pp-lead{order:-1}
.pp-controls .pp-collapsible:not(.pp-collapsed)::before,.pp-controls .pp-collapsible:not(.pp-collapsed)::after{transition:none}
/* Comments on/off switch at the top right of the table (owner, 15 Nov 2026). */
.pp-comments-row{display:flex;justify-content:flex-end;margin:0 4px 6px}
.pp-run-all.pp-switch,.pp-run-all.pp-switch:hover,.pp-run-all.pp-switch[aria-pressed="true"]{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:0 2px;border-radius:999px;background:none;box-shadow:none;color:#5d6470;font-size:13px;font-weight:600}
.pp-run-all.pp-switch[aria-pressed="true"]{color:#14171c}
.pp-switch-track{position:relative;flex:none;width:34px;height:20px;border-radius:999px;background:#cfd5de;transition:background-color .2s ease}
.pp-switch-track::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgb(16 24 40/.25);transition:transform .25s cubic-bezier(.22,1,.36,1)}
.pp-switch[aria-pressed="true"] .pp-switch-track{background:#4b5565}
.pp-switch[aria-pressed="true"] .pp-switch-track::after{transform:translateX(14px)}
@media(prefers-reduced-motion:reduce){.pp-switch-track,.pp-switch-track::after{transition:none}}
@media(prefers-reduced-motion:reduce){.pp-controls .pp-collapsible .pp-seg,.pp-controls .pp-collapsible::before,.pp-controls .pp-collapsible::after{transition:none}}

/* Phones (owner pick C, 14 Nov 2026): a short head with the last-six strip, then Form | Records |
   Breeding tabs; Form lists one line per run (date, course, result, SP) that opens on a tap.
   The desktop table stays as it is on wider screens. */
.pp-mruns,.pp-mtabs,.pp-mbreed{display:none}
@media(max-width:700px){
  .pp-main{padding:0 0 24px}
  .pp-top{gap:10px;padding:12px 14px;border-radius:0;box-shadow:0 1px 0 #e5e7eb}
  .pp-top-back{min-height:36px;margin:0;font-size:13px;color:#a4161a;font-weight:700}
  .pp-page .pp-top-main h1{font-size:25px;gap:8px}
  .pp-silk{width:34px;height:34px}
  .pp-top-horse{font-size:12.5px;margin-top:2px}
  .pp-top-race{font-size:14px;margin:4px 0 6px}
  .pp-top-facts{margin:0 0 8px;border-radius:8px}
  .pp-top-facts li{padding:4px 9px;font-size:12px}
  .pp-top-owner{margin:0 0 8px;font-size:12.5px}
  .pp-top-people{gap:6px}
  .pp-top-people>div{padding:6px 9px}
  .pp-top-people dt{font-size:9.5px}
  .pp-top-people dd{font-size:13.5px}
  .pp-top-base{font-size:11.5px}
  .pp-provenance{font-size:11px}
  /* The last six runs as one strip of small boxes; a tap opens that run below. */
  .pp-rf{padding:0;border-radius:0;box-shadow:none;background:none}
  .pp-rf-head,.pp-rf-panels,.pp-rf-tabs span{display:none}
  .pp-rf-tabs{display:flex;gap:4px;margin:0}
  .pp-rf-tabs button{flex:1;min-height:44px;padding:4px 0;border:0;border-radius:8px;background:#f4f5f7;gap:1px}
  .pp-rf-tabs button.on{border:0;background:#f4f5f7}
  .pp-rf-tabs button:hover{background:#eceef1}
  .pp-rf-tabs b{font-size:15px}.pp-rf-pos.win{color:#15803d}.pp-rf-pos.place{color:#14171c}
  .pp-rf-tabs button:has(.pp-rf-pos.win){background:#e7f6ea}
  .pp-rf-tabs small{font-size:10px;color:#6b7280}
  .pp-rf-yr{display:none}
  /* Tabs, pinned under the site bar. */
  .pp-mtabs:not([hidden]){display:flex;position:sticky;top:var(--itsh-bar-h,0px);z-index:20;margin:0 0 10px;background:#fff;border-bottom:1px solid #e5e7eb}
  .pp-mtabs button{flex:1;min-height:46px;padding:0 4px;border:0;border-bottom:3px solid transparent;background:none;color:#6b7280;font:800 14px/1 inherit;cursor:pointer}
  .pp-mtabs button[aria-pressed="true"]{color:#14171c;border-bottom-color:#a4161a}
  .pp-mtabs button:focus-visible{outline:2px solid #a4161a;outline-offset:-2px}
  .pp-main[data-mtab] [data-msec]{display:none}
  .pp-main[data-mtab="form"] [data-msec="form"],.pp-main[data-mtab="records"] [data-msec="records"],
  .pp-main[data-mtab="breeding"] [data-msec="breeding"]{display:block}
  .pp-summary,.pp-help,.pp-first-kind{margin-left:12px;margin-right:12px}
  .pp-runs>.pp-muted{margin:0 14px 8px}
  /* Records: the scoreboard as a 3-wide grid, "Today's race" then "Overall". */
  .pp-summary .pp-cards.pp-cards-board{overflow:visible}
  .pp-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .pp-board-title{grid-row:auto!important;grid-column:1/-1!important;text-align:left;margin-top:4px;order:0}
  .pp-board-title.pp-board-split{order:2}
  .pp-cards-board .pp-card{grid-row:auto;order:1;padding:7px 4px}
  .pp-cards-board .pp-card.pp-board-split,.pp-cards-board .pp-card.pp-board-split~.pp-card{order:3}
  .pp-controls{margin:10px 0}
  /* Breeding tab. */
  .pp-mbreed{margin:0 12px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #e5e7eb}
  .pp-mbreed .pp-top-people{grid-template-columns:1fr}
  .pp-mbreed .pp-top-people>div{background:none;padding:0}
  .pp-mbreed .pp-muted{margin:8px 0 0;font-size:12.5px}
  /* Form: the run filters on top, then one line per run. */
  .pp-table-scroll,.pp-runs .pp-run-all,.pp-runs .pp-comments-row{display:none}   /* phone lines open on a tap */
  .pp-runs .pp-run-tools{margin:0 12px 8px;overflow-x:auto}
  .pp-runs .pp-run-filters{width:max-content;background:#eef2f6;box-shadow:none}
  .pp-runs .pp-run-filters .pp-rail-mark{background:#14171c;box-shadow:none}
  .pp-runs .pp-run-filters .pp-seg{min-height:36px;padding:0 12px;font-size:13px;color:#5d6470}
  .pp-runs .pp-run-filters .pp-seg[aria-pressed="true"]{color:#fff;background:#14171c}
  .pp-runs .pp-run-filters.is-live .pp-seg[aria-pressed="true"]{background:none}
  .pp-run-none{margin:0 14px}
  .pp-mruns:not([hidden]){display:block;background:#fff;border-top:1px solid #e5e7eb}
  .pp-mrun{border-bottom:1px solid #e5e7eb}
  .pp-mrun.pp-filtered,.pp-mmark.pp-filtered{display:none}
  .pp-mrun>summary{display:grid;grid-template-columns:52px minmax(0,1fr) 44px 48px;gap:8px;align-items:center;min-height:52px;padding:8px 14px;list-style:none;cursor:pointer}
  .pp-mrun>summary::-webkit-details-marker{display:none}
  .pp-mrun>summary:focus-visible{outline:2px solid #a4161a;outline-offset:-2px}
  .pp-mrun[open]>summary{background:#fafbfc}
  .pp-mrun.pp-win>summary{background:#f3fbef}
  .pp-mrun b{color:#14171c}
  .pp-mrun small{display:block;color:#6b7280;font-size:11.5px;font-weight:500}
  .pp-m-d b{font-size:13.5px}
  .pp-m-c{min-width:0}.pp-m-c b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pp-m-c small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pp-m-r{text-align:center;font-size:15px;font-weight:800;color:#14171c}
  .pp-m-r .pp-pos b{font-size:16px}.pp-m-r .pp-pos small{display:inline;font-size:12px}
  .pp-m-sp{text-align:right;font-size:13px;font-weight:700;color:#14171c}
  .pp-m-det{padding:2px 14px 12px;background:#fafbfc;font-size:12.5px;color:#374151}
  .pp-m-det p{margin:6px 0 0}
  .pp-m-figs{display:flex;flex-wrap:wrap;gap:4px 12px}
  .pp-m-figs span{white-space:nowrap}.pp-m-figs small{display:inline;font-size:11px}
  .pp-m-facts{color:#6b7280;font-size:12px}
  .pp-m-note{color:#14171c}
  .pp-m-result{display:inline-flex;align-items:center;min-height:36px;margin-top:2px;color:#a4161a;font-weight:700;text-decoration:none}
  .pp-mmark{margin:0;padding:3px 14px;background:#f3f4f6;color:#4b5563;font-size:11px;font-weight:700;border-bottom:1px solid #e5e7eb}
  .pp-mmark-wind{background:#eef2f8;color:#26354a}
  .pp-mmark-stable{background:#f5f0f0;color:#5b1218}
  .pp-help{margin-top:12px}
}
@media(max-width:380px){
  .pp-mrun>summary{grid-template-columns:48px minmax(0,1fr) 40px 44px;gap:6px;padding:8px 12px}
}
/* Horse page on phones (owner pick C, 14 Nov 2026): the same short white head with the last-six strip. */
.cp-mstrip{display:none}
@media(max-width:700px){
  .pp-page.cp-page-horse .pp-hero{margin:0 0 10px;padding:12px 14px;border-radius:0;background:#fff;background-image:none;box-shadow:0 1px 0 #e5e7eb;gap:0}
  .pp-page.cp-page-horse .pp-eyebrow,.pp-page.cp-page-horse .pp-form,.pp-page.cp-page-horse .pp-hero:before{display:none}
  .pp-page.cp-page-horse .pp-head h1{color:#14171c;font-size:25px}
  .pp-page.cp-page-horse .pp-connections,.pp-page.cp-page-horse .pp-today,.pp-page.cp-page-horse .pp-provenance{color:#4b5563;font-size:12.5px}
  .pp-page.cp-page-horse .pp-connections strong,.pp-page.cp-page-horse .pp-today strong{color:#14171c}
  .pp-page.cp-page-horse .pp-connections a{color:#14171c}
  .pp-page.cp-page-horse .pp-today{margin-top:6px}
  .pp-page.cp-page-horse .cp-chip{border-color:#e5e7eb;background:#f4f5f7;color:#14171c;min-height:40px}
  .cp-mstrip{display:flex;gap:4px;margin:10px 0 0;padding:0;list-style:none}
  .cp-mstrip li{flex:1;min-width:0;padding:5px 0;border-radius:8px;background:#f4f5f7;text-align:center}
  .cp-mstrip li.win{background:#e7f6ea}.cp-mstrip li.win b{color:#15803d}
  .cp-mstrip b{display:block;font-size:15px;color:#14171c}.cp-mstrip small{display:block;font-size:10px;color:#6b7280}
  .cp-page-horse .cp-section-title{margin:0 14px 8px}
  .cp-page-horse .cp-foot{margin:10px 14px 0}
}
/* Small phones: long records ("128R 12W 45P") still fit a third of the screen. */
@media(max-width:380px){.pp-summary .pp-cards-board .pp-card-value{font-size:11px;letter-spacing:-.01em}}
/* Weights a touch smaller and centred under "Wt", whatever the weight style (owner, 16 Nov 2026). */
.pp-table-d .pp-run td.pp-wt,.pp-table-d th.pp-wt-head{text-align:center}
.pp-table-d .pp-run td.pp-wt{font-size:12px;padding-left:6px;padding-right:6px}
/* Race type the same way: a touch smaller and centred under its heading (owner, 16 Nov 2026). */
.pp-table-d .pp-run td.pp-kind,.pp-table-d th.pp-kind-head{text-align:center}
.pp-table-d .pp-run td.pp-kind{font-size:12px;padding-left:6px;padding-right:6px}
