/* Jockey, trainer and horse profiles: the PP page family (palette, cards, tables),
   with a dark identity hero, a strike-rate ring, form pills and tabbed sections. */
.cp-page{background:radial-gradient(1200px 500px at 8% -8%,#dbeafe 0%,transparent 50%),radial-gradient(900px 400px at 100% 0%,#e0e7ff 0%,transparent 45%),#eef2f7;color:#0f172a}
.cp-main{padding:24px 12px 44px}
.cp-shell{max-width:1320px;margin:0 auto;min-width:0}
.cp-shell>*{min-width:0}
.cp-page h1,.cp-page h2,.cp-page h3{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.cp-page-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin:0 0 14px;color:#64748b;font-size:12px;font-weight:600}
.cp-page-label strong{color:#0f172a;letter-spacing:.02em}
.cp-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px 32px;overflow:hidden;padding:26px 28px;border-radius:22px;background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 58%,#12324d 100%);color:#fff;box-shadow:0 18px 44px rgba(15,23,42,.24)}
.cp-hero:before{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.28),transparent 68%);pointer-events:none}
.cp-identity{position:relative;display:flex;align-items:center;gap:18px;min-width:0}
.cp-avatar{display:grid;flex:0 0 auto;place-items:center;width:74px;height:74px;border-radius:50%;background:linear-gradient(145deg,#f8fafc,#cbd5e1);box-shadow:0 0 0 4px rgba(255,255,255,.14),0 0 0 7px rgba(96,165,250,.35);color:#0f172a;font-size:26px;font-weight:800;letter-spacing:-.02em}
.cp-page-horse .cp-avatar{background:linear-gradient(145deg,#ecfdf5,#a7f3d0)}
.cp-eyebrow{margin:0 0 6px;color:#93c5fd;font-size:11px;font-weight:800;letter-spacing:.16em}
.cp-hero h1{margin:0;color:#fff;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(26px,3.2vw,38px);font-weight:800;letter-spacing:-.03em;line-height:1.05;overflow-wrap:anywhere}
.cp-coverage{margin:8px 0 0;color:#cbd5e1;font-size:12.5px;line-height:1.45}
.cp-hero-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0;color:#e2e8f0;font-size:12.5px}
.cp-hero-meta a{color:#bfdbfe}
.cp-hero-figures{position:relative;min-width:0}
.cp-kpis{display:grid;grid-template-columns:repeat(4,minmax(96px,auto));gap:10px}
.cp-kpi{display:flex;flex-direction:column;justify-content:center;min-height:86px;padding:12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.07);backdrop-filter:blur(4px)}
.cp-kpi span{color:#cbd5e1;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.cp-kpi span em{font-style:normal;font-weight:600;letter-spacing:0;text-transform:none}
.cp-kpi strong{margin-top:4px;color:#fff;font-size:26px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cp-kpi small{color:#cbd5e1;font-size:11.5px;font-weight:600}
.cp-kpi-ring{position:relative;align-items:center;text-align:center;background:conic-gradient(#34d399 calc(var(--cp-ring)*1%),rgba(255,255,255,.1) 0) border-box;border:0;padding:4px}
.cp-kpi-ring:before{content:"";position:absolute;inset:4px;border-radius:11px;background:#16304f}
.cp-kpi-ring>*{position:relative}
.cp-locked{max-width:320px;padding:14px 16px;border:1px dashed rgba(255,255,255,.3);border-radius:14px;background:rgba(255,255,255,.05);color:#e2e8f0}
.cp-locked strong{display:inline-block;padding:2px 9px;border-radius:999px;background:#fbbf24;color:#422006;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cp-locked p{margin:8px 0 0;font-size:12.5px;line-height:1.45}
.cp-panel .cp-locked,.cp-recent .cp-locked{max-width:none;border-color:#cbd5e1;background:#fff;color:#334155}
.cp-recent{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 20px;margin:12px 0 0;padding:10px 16px;border:1px solid #e4eaf3;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04),0 12px 30px rgba(15,23,42,.05)}
.cp-recent h2{grid-row:span 2;margin:0;color:#0f172a;font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;writing-mode:horizontal-tb}
/* Last 14 days: a plain strip, no boxes; thin dividers between figures (owner, 7 Oct 2026). */
.cp-recent-stats{display:flex;flex-wrap:wrap;gap:6px 0}
.cp-stat{display:flex;flex-direction:column;min-width:0;padding:0 18px;border-left:1px solid #e2e8f0}
.cp-stat:first-child{padding-left:0;border-left:0}
.cp-stat span{color:#64748b;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cp-stat strong{margin-top:1px;color:#0f172a;font-size:14.5px;font-weight:800;font-variant-numeric:tabular-nums}
.cp-stat strong.cp-none{max-width:170px;color:#64748b;font-size:12px;font-weight:600;line-height:1.3}
/* Finish numbers in the Form table: boxed, wins solid green (owner kept the live palette,
   7 Oct 2026). */
.cp-pill{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:#e2e8f0;color:#334155;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.cp-pill-win{background:#059669;color:#fff}
.cp-pill-place{background:#d1fae5;color:#065f46}
.cp-tabs{position:sticky;top:clamp(76px,5.375vw,86px);z-index:20;display:flex;gap:6px;overflow-x:auto;margin:12px 0 0;padding:4px;border:1px solid #e4eaf3;border-radius:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);scrollbar-width:none}
.cp-tabs a{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-height:32px;padding:0 13px;border-radius:8px;color:#475569;font-size:12.5px;font-weight:700;text-decoration:none;white-space:nowrap}
.cp-tabs a:hover{background:#f1f5f9;color:#0f172a}
.cp-tabs a[aria-selected="true"]{background:#0f172a;color:#fff}
.cp-tabs a:focus-visible{outline:3px solid #93c5fd;outline-offset:1px}
.cp-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:#dbeafe;color:#1e40af;font-size:11px}
.cp-tabs a[aria-selected="true"] .cp-count{background:#3b82f6;color:#fff}
.cp-panel{margin:10px 0 0;scroll-margin-top:150px}
.cp-js .cp-panel[hidden]{display:none}
.cp-panel-title{margin:0 0 10px;color:#0f172a;font-size:15px;font-weight:800}
.cp-js .cp-panel-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
.cp-table-wrap{overflow-x:auto;border:1px solid #e4eaf3;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04),0 18px 40px rgba(15,23,42,.06)}
.cp-table-wrap:focus-visible{outline:3px solid #93c5fd}
.cp-table{width:100%;min-width:760px;border-collapse:collapse;font-size:12.5px;line-height:normal}
.cp-table th{background:#f8fafc;padding:7px 8px;border-bottom:1px solid #e6ebf2;color:#64748b;font-size:10px;font-weight:700;letter-spacing:.07em;text-align:left;text-transform:uppercase;white-space:nowrap}
.cp-table td,.cp-table tbody th{padding:5px 8px;border-bottom:1px solid #eef2f7;color:#334155;text-align:left;vertical-align:middle;white-space:nowrap}
.cp-table tbody th{color:#0f172a;font-size:12.5px;font-weight:700;letter-spacing:0;text-transform:none;background:none}
.cp-table th:first-child,.cp-table td:first-child{padding-left:14px}
.cp-table tbody tr:last-child>*{border-bottom:0}
.cp-table tbody tr:hover>*{background:#f8fbff}
.cp-table tr.cp-win>*{background:#fef3c7}
.cp-table a{color:#1d4ed8;font-weight:600;text-decoration:none}
.cp-table a:hover{text-decoration:underline}
.cp-table td .cp-pill{margin-right:6px}
.cp-sub{display:block;margin-top:1px;color:#64748b;font-size:11px;white-space:normal}
.cp-stats-table{min-width:640px}
/* Horses: an ARIA table of grid rows; off-screen rows are skipped until scrolled to. */
.cp-grid{min-width:760px;font-size:12.5px;line-height:normal}
.cp-grid-row{display:grid;grid-template-columns:28% 30% 24% 6% 6% 6%;align-items:center;border-bottom:1px solid #eef2f7;
  content-visibility:auto;contain-intrinsic-size:auto 37px}
.cp-horses-free .cp-grid-row{grid-template-columns:34% 36% 30%}
.cp-grid-row>span{min-width:0;padding:9px;overflow:hidden;color:#334155;text-overflow:ellipsis;white-space:nowrap}
.cp-grid-row>span:first-child{padding-left:16px}
.cp-grid-row:last-child{border-bottom:0}
.cp-grid-row:not(.cp-grid-head):hover{background:#f8fbff}
.cp-grid-head{content-visibility:visible;background:#f8fafc;border-bottom-color:#e6ebf2}
.cp-grid-head>span{padding:11px 9px;color:#64748b;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.cp-grid a{color:#1d4ed8;font-weight:600;text-decoration:none}
.cp-grid a:hover{text-decoration:underline}
.cp-stats-table td{font-variant-numeric:tabular-nums}
.cp-foot{margin:8px 4px 0;color:#64748b;font-size:11.5px;line-height:1.45}
.cp-empty{margin:0;padding:22px;border:1px dashed #cbd5e1;border-radius:16px;background:#fff;color:#475569;font-size:13px}
.cp-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 18px;margin:0 0 12px}
.cp-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.cp-control-label{margin-right:4px;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cp-seg{min-height:36px;padding:6px 12px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;color:#475569;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.cp-seg[aria-pressed="true"]{border-color:#0f172a;background:#0f172a;color:#fff}
.cp-seg:focus-visible,.cp-help summary:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.cp-day{margin:0 0 16px}
.cp-day h3{margin:0 0 8px;color:#0f172a;font-size:14px;font-weight:800}
.cp-day h3 span{margin-left:6px;color:#64748b;font-size:12px;font-weight:600}
.cp-booked-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.cp-booked{display:flex;overflow:hidden;border:1px solid #e4eaf3;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.cp-booked-time{display:flex;flex:0 0 86px;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 6px;background:linear-gradient(160deg,#0f172a,#1e3a5f);color:#fff;text-align:center;text-decoration:none}
.cp-booked-time strong{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.cp-booked-time span{color:#cbd5e1;font-size:11px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
.cp-booked-time:hover strong{text-decoration:underline}
.cp-booked-body{min-width:0;padding:10px 12px}
.cp-booked-body p{margin:0}
.cp-booked-horse{font-size:14px;font-weight:800}
.cp-booked-horse a{color:#1d4ed8;text-decoration:none}
.cp-booked-horse a:hover{text-decoration:underline}
.cp-booked-horse em{margin-left:6px;padding:1px 7px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:10.5px;font-style:normal;font-weight:700}
.cp-booked-nr{opacity:.72}
.cp-booked .cp-sub a{color:#1d4ed8;text-decoration:none}
.cp-help{margin:22px 0 0;padding:12px 16px;border:1px solid #e4eaf3;border-radius:14px;background:#fff;color:#475569;font-size:12.5px;line-height:1.55}
.cp-help summary{color:#0f172a;font-weight:700;cursor:pointer}
.cp-help p{margin:8px 0 0}
.cp-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.cp-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:12px;font-weight:700;text-decoration:none}
.cp-chip:hover{background:rgba(255,255,255,.16)}
.cp-note{margin:14px 0 0;padding:12px 16px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;color:#78350f;font-size:13px}
@media(max-width:1100px){.cp-hero{grid-template-columns:1fr}.cp-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
  .cp-main{padding:16px 10px 36px}
  .cp-hero{padding:20px 18px;border-radius:18px}
  .cp-avatar{width:58px;height:58px;font-size:20px}
  .cp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-kpi{min-height:74px}
  .cp-kpi strong{font-size:22px}
  .cp-recent{grid-template-columns:1fr;padding:10px 12px}
  .cp-recent h2{grid-row:auto}
  .cp-recent-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
  .cp-stat,.cp-stat:first-child{padding:0;border-left:0}
  .cp-tabs{top:clamp(64px,6vw,72px)}
  .cp-booked-grid{grid-template-columns:1fr}
}
.cp-form-card{min-width:220px}
.cp-form-card strong{font-size:24px;letter-spacing:.02em}
.cp-form-card strong span{display:block;margin-top:4px;color:#cbd5e1;font-size:11.5px;font-weight:600;letter-spacing:0}
.cp-hero-meta strong{margin-right:4px;color:#93c5fd;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cp-hero-meta .profile-link{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.cp-section-title{margin:6px 0 10px;color:#0f172a;font-size:15px;font-weight:800}
.cp-page-horse .pp-table-scroll{margin-top:4px}
/* Stats filters and the race-type Total row (owner, 7 Oct 2026). */
.cp-filters{margin-bottom:10px}
.cp-table-wrap+.cp-controls{margin-top:16px}
.cp-table tr.cp-total>*{background:#f8fafc;color:#0f172a;font-weight:800}
/* Jockey Form: the last 14 days first, Show all for the rest (owner, 7 Oct 2026). */
/* A checkbox switch, no script: the 14-day view is the first paint. */
.cp-form-all{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.cp-form-all:not(:checked)~.cp-table-wrap tr.cp-older{display:none}
.cp-form-none{display:none;margin-bottom:10px}
.cp-form-all:not(:checked)~.cp-form-none{display:block}
.cp-form-all:not(:checked)~.cp-form-none~.cp-table-wrap{display:none}
.cp-form-switch{margin:10px 0 0}
.cp-form-switch label{display:inline-flex;align-items:center}
.cp-form-all:checked~.cp-form-switch .cp-form-more,.cp-form-all:not(:checked)~.cp-form-switch .cp-form-less{display:none}
.cp-form-all:focus-visible~.cp-form-switch label{outline:3px solid #93c5fd;outline-offset:2px}
/* Compact Form rows, one line each, as on Racing Post and Timeform (owner, 7 Oct 2026). */
.cp-form-table .cp-sub{display:inline;margin:0 0 0 6px;white-space:nowrap}
.cp-form-table td:nth-child(2) .cp-sub{display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.cp-stat strong:not(.cp-none){white-space:nowrap}
@media(max-width:760px){.cp-stat strong:not(.cp-none){font-size:13.5px}}
/* Width follows the content, not the page (owner, 7 Oct 2026): the strip, the
   tab bar and the tables are as wide as what they hold, as on Racing Post. */
.cp-recent,.cp-tabs,.cp-table-wrap{width:fit-content;max-width:100%}
.cp-table{width:auto;min-width:0}
.cp-table td,.cp-table tbody th,.cp-table th{padding-left:12px;padding-right:12px}
.cp-stats-table{min-width:560px}
.cp-stats-table th:first-child,.cp-stats-table tbody th{min-width:150px}
.cp-help{width:fit-content;max-width:100%}
.cp-controls{justify-content:flex-start;column-gap:28px}
/* Selectors as one joined bar per group, like Timeform's tabs and Racing Post's
   Card/Compact/Smart switch (owner, 7 Oct 2026). */
.cp-controls{row-gap:8px;margin-bottom:8px}
.cp-table-wrap+.cp-controls{margin-top:12px}
.cp-filters{margin-bottom:8px}
.cp-control{flex-wrap:nowrap;gap:0}
.cp-control-label{margin-right:8px;font-size:10px}
.cp-control .cp-seg{min-height:28px;margin-left:-1px;padding:3px 11px;border-radius:0;font-size:11.5px;line-height:1.2;white-space:nowrap}
.cp-control .cp-control-label+.cp-seg{margin-left:0;border-radius:7px 0 0 7px}
.cp-control .cp-seg:last-child{border-radius:0 7px 7px 0}
.cp-control .cp-seg:hover{background:#f8fafc;color:#0f172a}
.cp-control .cp-seg[aria-pressed="true"]{position:relative;z-index:1;background:#0f172a;color:#fff}
.cp-control .cp-seg:focus-visible{position:relative;z-index:2;outline-offset:0}
@media(max-width:760px){
  .cp-control{flex-wrap:wrap;row-gap:4px}
  .cp-control-label{flex-basis:100%}
  .cp-control .cp-seg{padding:3px 8px}
}
/* Horses grid: fixed column widths now that tables are as wide as their content;
   percentage widths left Starts / Wins / Win % too narrow (owner, 8 Oct 2026). */
.cp-grid{min-width:0;width:max-content}
.cp-grid-row{grid-template-columns:220px 240px 220px 72px 64px 80px}
.cp-horses-free .cp-grid-row{grid-template-columns:240px 260px 240px}
.cp-grid-row>span{padding-left:12px;padding-right:12px}
.cp-grid-row>span:first-child{padding-left:14px}
/* Stats tables: ten rows a page with small previous/next buttons (owner, 8 Oct 2026). */
.cp-pager{display:flex;align-items:center;gap:6px;margin:8px 0 2px;color:#64748b;font-size:11.5px;font-variant-numeric:tabular-nums}
.cp-pager[hidden]{display:none}
.cp-pager button{display:inline-grid;place-items:center;width:28px;height:26px;padding:0;border:1px solid #dbe3ee;border-radius:7px;background:#fff;color:#334155;font:inherit;font-size:15px;font-weight:700;line-height:1;cursor:pointer}
.cp-pager button:hover:not(:disabled){background:#f8fafc;color:#0f172a}
.cp-pager button:disabled{opacity:.4;cursor:default}
.cp-pager button:focus-visible{outline:3px solid #93c5fd;outline-offset:1px}
/* Five header tiles: Places and Place strike are separate, like Wins and Win strike
   (owner, 8 Oct 2026). Phones: the three ride tiles on row one, the two place tiles on row two. */
/* All five the same size, no place-rule text (owner, 8 Oct 2026). */
.cp-kpis{grid-template-columns:repeat(5,128px)}
@media(max-width:1100px){.cp-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:760px){.cp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Header tiles: white cards on the dark banner, not blue on blue (owner, 8 Oct 2026). */
.cp-kpis .cp-kpi{border:1px solid rgba(255,255,255,.6);background:#fff;backdrop-filter:none;box-shadow:0 6px 18px rgba(8,15,30,.28)}
.cp-kpis .cp-kpi span{color:#64748b}
.cp-kpis .cp-kpi strong{color:#0f172a}
.cp-kpis .cp-kpi small{color:#64748b}
.cp-kpis .cp-kpi-ring{border:0;background:conic-gradient(#10b981 calc(var(--cp-ring)*1%),#e2e8f0 0) border-box}
.cp-kpis .cp-kpi-ring:before{background:#fff}
/* Smaller header tiles (owner, 8 Oct 2026). */
.cp-kpis{grid-template-columns:repeat(5,104px);gap:8px}
.cp-kpis .cp-kpi{min-height:64px;padding:9px 11px;border-radius:12px}
.cp-kpis .cp-kpi span{font-size:9.5px;letter-spacing:.06em}
.cp-kpis .cp-kpi strong{margin-top:3px;font-size:20px}
.cp-kpis .cp-kpi-ring{padding:3px}
.cp-kpis .cp-kpi-ring:before{inset:3px;border-radius:10px}
@media(max-width:1100px){.cp-kpis{grid-template-columns:repeat(5,minmax(0,104px))}}
@media(max-width:760px){.cp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-kpis .cp-kpi{min-height:58px}.cp-kpis .cp-kpi strong{font-size:18px}}
/* Bookings whose scheduled start time has passed: greyed and tagged; the count leaves them
   out (owner, 8 Oct 2026). */
.cp-booked-off{opacity:.62}
.cp-booked-horse em.cp-off{background:#e2e8f0;color:#334155}

/* The horse page uses the PP page layout on a light background (owner, 5 Nov 2026). */
.cp-page-horse .cp-chip{border-color:#d9dee7;background:#fff;color:#1f2530}
.cp-page-horse .cp-chip:hover{background:#f4f6f9}

/* Jockey and trainer pages, look A (owner pick, 5 Nov 2026): white cards on a light grey page,
   black titles in the tall sign letters, a wine eyebrow, wine tab line and wine winner marks.
   No navy, cream or gold. */
.cp-page{background:#f3f4f6;color:#18181b;font-family:"Source Sans 3","Segoe UI",system-ui,sans-serif}
.cp-main{padding:28px 16px 56px}
.cp-shell{max-width:1240px}
.cp-page-label{color:#6b7280}.cp-page-label strong{color:#18181b}
.cp-page .cp-hero{background:#fff;color:#18181b;border-radius:14px;box-shadow:0 0 0 1px #e5e7eb,0 1px 2px rgb(24 24 27/.04)}
.cp-page .cp-hero:before{display:none}
.cp-page .cp-avatar{background:#18181b;box-shadow:none;color:#fff}
.cp-page .cp-eyebrow{color:#8f1721;font:700 13px/1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.cp-page .cp-hero h1{color:#18181b;font:700 clamp(32px,3.6vw,44px)/1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.02em;text-transform:uppercase}
.cp-page .cp-coverage{color:#52525b}
.cp-page .cp-kpi{border:0;background:#f3f4f6;backdrop-filter:none;border-radius:10px;box-shadow:none}
.cp-page .cp-kpi span{color:#6b7280;font:700 12px/1.1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.08em}
.cp-page .cp-kpi strong{color:#18181b;font:700 28px/1.05 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.01em}
.cp-page .cp-kpi small{color:#6b7280}
.cp-page .cp-kpi-ring{align-items:flex-start;padding:12px 14px;text-align:left;background:#f3f4f6}
.cp-page .cp-kpi-ring:before{display:none}
.cp-page .cp-locked{border-color:#d4d4d8;background:#fafafa;color:#3f3f46}
.cp-page .cp-locked strong{background:#18181b;color:#fff}
.cp-page .cp-recent{border-color:#e5e7eb;border-radius:14px}
.cp-page .cp-recent h2{font:700 15px/1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.08em}
.cp-page .cp-stat span{color:#6b7280}.cp-page .cp-stat strong{color:#18181b}
.cp-page .cp-tabs{top:50px;gap:4px;padding:0;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;background:rgb(243 244 246/.94)}
.cp-page .cp-tabs a{position:relative;min-height:46px;padding:0 16px;border-radius:0;color:#6b7280;font:700 17px/1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.06em;text-transform:uppercase}
.cp-page .cp-tabs a:hover{background:none;color:#18181b}
.cp-page .cp-tabs a[aria-selected="true"]{background:none;color:#18181b}
.cp-page .cp-tabs a[aria-selected="true"]::after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:2px;background:#8f1721}
.cp-page .cp-tabs a:focus-visible{outline:2px solid #8f1721;outline-offset:-3px}
.cp-page .cp-count,.cp-page .cp-tabs a[aria-selected="true"] .cp-count{background:#e4e4e7;color:#18181b;font-family:"Source Sans 3",sans-serif}
.cp-page .cp-table-wrap{border-color:#e5e7eb;border-radius:12px;box-shadow:0 1px 2px rgb(24 24 27/.04)}
.cp-page .cp-table th,.cp-page .cp-grid-head>span{background:#fafafa;color:#52525b;font:700 13px/1 "ITS Condensed","Arial Narrow",sans-serif;letter-spacing:.08em}
.cp-page .cp-table td,.cp-page .cp-grid-row>span{color:#3f3f46;font-size:13.5px}
.cp-page .cp-table a,.cp-page .cp-grid a{color:#18181b;text-decoration:underline;text-decoration-color:#d4d4d8;text-underline-offset:3px}
.cp-page .cp-table tbody tr:hover>*,.cp-page .cp-grid-row:not(.cp-grid-head):hover{background:#fafafa}
.cp-page .cp-table tr.cp-win>*{background:#fbf1f2}
.cp-page .cp-pill{background:#f1f2f4;color:#3f3f46}
.cp-page .cp-pill-win{background:#8f1721;color:#fff}
.cp-page .cp-pill-place{background:#e4e4e7;color:#18181b}
.cp-page .cp-seg{border-color:#d4d4d8;color:#3f3f46}
.cp-page .cp-seg[aria-pressed="true"]{border-color:#18181b;background:#18181b}
.cp-page .cp-seg:focus-visible,.cp-page .cp-help summary:focus-visible,.cp-page .cp-table-wrap:focus-visible{outline:2px solid #8f1721}
.cp-page .cp-help,.cp-page .cp-empty{border-color:#e5e7eb}
.cp-page .cp-note{border-color:#e5e7eb;background:#fff;color:#3f3f46}
.cp-page .cp-booked-time{background:#18181b}
.cp-page .cp-booked-horse a{color:#18181b}
@media(max-width:1100px){.cp-page .cp-tabs{top:48px}}
@media(max-width:760px){.cp-page .cp-tabs{top:48px}.cp-page .cp-tabs a{min-height:42px;padding:0 12px;font-size:15px}}

/* Owner picks, 5 Nov 2026. Jockey and trainer: blue horse and trainer links and green finishing
   positions kept from the earlier page; the top is a white card under a dark cover strip with a
   burgundy glow, the avatar sitting over its edge (option 3). */
.cp-page .cp-table a,.cp-page .cp-grid a{color:#1d4ed8;text-decoration:none;font-weight:600}
.cp-page .cp-table a:hover,.cp-page .cp-grid a:hover{text-decoration:underline}
.cp-page .cp-pill-win{background:#059669;color:#fff}.cp-page .cp-pill-place{background:#d1fae5;color:#065f46}
.cp-page .cp-table tr.cp-win>*{background:#f0fdf4}
.cp-page .cp-hero{position:relative;overflow:hidden;padding-top:118px;border-radius:16px;background:
  radial-gradient(60% 140% at 85% 0,rgb(143 23 33/.55),transparent 70%) top/100% 96px no-repeat,
  repeating-linear-gradient(90deg,rgb(255 255 255/.06) 0 1px,transparent 1px 64px) top/100% 96px no-repeat,
  linear-gradient(180deg,#1e293b,#0f172a) top/100% 96px no-repeat,#fff;box-shadow:0 0 0 1px #e5e7eb,0 10px 30px rgb(15 23 42/.08)}
.cp-page .cp-avatar{width:92px;height:92px;margin-top:-58px;font-size:30px;background:#1d4ed8;color:#fff;box-shadow:0 0 0 5px #fff,0 6px 16px rgb(15 23 42/.25)}
.cp-page .cp-identity{align-items:flex-end}
.cp-page .cp-kpi{background:#f8fafc;box-shadow:inset 0 0 0 1px #e2e8f0}
.cp-page .cp-kpi-ring{box-shadow:inset 0 0 0 1px #e2e8f0,inset 0 3px 0 #10b981}
.cp-page .cp-kpi strong{color:#0f172a}
@media(max-width:760px){.cp-page .cp-hero{padding-top:96px;background-size:100% 76px,100% 76px,100% 76px,auto}.cp-page .cp-avatar{width:72px;height:72px;margin-top:-48px;font-size:24px}}
/* Horse: the deep navy band of the earlier page (option 1). */
.cp-page-horse .pp-hero{position:relative;overflow:hidden;padding:26px 28px;border-radius:22px;color:#fff;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 58%,#12324d 100%);box-shadow:0 18px 40px rgb(15 23 42/.18)}
.cp-page-horse .pp-hero:before{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,rgb(96 165 250/.28),transparent 68%);pointer-events:none}
.cp-page-horse .pp-head h1{color:#fff}.cp-page-horse .pp-eyebrow{color:#93c5fd}
.cp-page-horse .pp-connections,.cp-page-horse .pp-today,.cp-page-horse .pp-provenance{color:#cbd5e1}
.cp-page-horse .pp-connections strong,.cp-page-horse .pp-today strong{color:#93c5fd}
.cp-page-horse .pp-connections a{color:#fff}
.cp-page-horse .pp-form{position:relative;background:rgb(255 255 255/.08);box-shadow:inset 0 0 0 1px rgb(255 255 255/.18)}
.cp-page-horse .cp-chip{border-color:rgb(255 255 255/.25);background:rgb(255 255 255/.08);color:#fff}
.cp-page-horse .cp-chip:hover{background:rgb(255 255 255/.16)}
@media(max-width:760px){.cp-page-horse .pp-hero{padding:20px 18px;border-radius:18px}}
/* Stats for Free members: made-up blurred rows behind the Premium card. */
.cp-tease{position:relative;display:grid;min-height:350px;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 0 0 1px #d0d5dd}
.cp-tease>*{grid-area:1/1;min-width:0}
.cp-tease-sample{position:absolute;inset:0;overflow:hidden;filter:blur(5px);user-select:none;pointer-events:none}
.cp-page .cp-tease-sample table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px}
.cp-page .cp-tease-sample th{padding:10px;background:#101828;color:#fff;text-align:left;font-size:13px}
.cp-page .cp-tease-sample td{padding:10px;border-top:1px solid #e4e7ec;color:#101828;font-weight:600}
.cp-tease-over{position:relative;display:grid;place-items:center;padding:14px;background:rgb(255 255 255/.35)}
.cp-tease-card{position:relative;overflow:hidden;width:100%;max-width:480px;padding:30px 22px 22px;border-radius:18px;background:linear-gradient(120deg,#cfe4f5 0%,#dcefe8 55%,#e6f0d6 100%);color:#101828;text-align:center;box-shadow:0 0 0 1px #c7d0db,0 20px 44px rgb(16 24 40/.26);animation:cp-tease-in .45s cubic-bezier(.05,.7,.1,1)}
.cp-tease-card:before{content:"";position:absolute;left:0;right:0;top:0;height:8px;background:linear-gradient(90deg,#17479a,#149aa6,#178f4f)}
@keyframes cp-tease-in{from{opacity:0;transform:translateY(12px) scale(.98)}}
.cp-tease-star{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(120deg,#17479a,#149aa6);color:#fff;font-size:19px}
.cp-page .cp-tease-card h3{margin:6px 0 12px;color:#101828;font-size:clamp(23px,3.2vw,29px);font-weight:800;line-height:1.12;text-wrap:balance}
.cp-tease-ticks{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:center;gap:6px 24px;margin:0 0 16px;padding:0;list-style:none;text-align:left}
.cp-tease-ticks li{position:relative;padding-left:25px;color:#101828;font-size:16px;font-weight:700}
.cp-tease-ticks li:before{content:"\2713";position:absolute;left:0;top:1px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:linear-gradient(120deg,#17479a,#149aa6);color:#fff;font-size:11px;font-weight:800}
.cp-page a.cp-tease-cta,.cp-page a.cp-tease-cta:hover{display:inline-flex;align-items:center;min-height:48px;padding:0 26px;border-radius:11px;background:#101828;color:#fff;font-size:16.5px;font-weight:800;text-decoration:none;box-shadow:0 6px 16px rgb(16 24 40/.3);transition:transform .15s}
.cp-page a.cp-tease-cta:hover{transform:translateY(-2px)}
@media(max-width:380px){.cp-tease-over{padding:10px}.cp-tease-card{padding:28px 16px 18px}.cp-tease-ticks{gap:6px 14px}.cp-tease-ticks li{padding-left:23px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.cp-tease-card{animation:none}.cp-page a.cp-tease-cta,.cp-page a.cp-tease-cta:hover{transition:none}}
