/*
 * SONKULVAR — semantic theme tokens, v1.0.0
 * Default: finish-red. Set data-sonkulvar-theme on <html> or .sk-app.
 * Values: finish-red | deep-plum | midnight-ice
 * Manrope headings; Inter UI/data. No @import or remote font request.
 * Foundation classes below are opt-in via .sk-app and .sk-* classes.
 */
:root {
  --sk-space-base: 8px;
  --sk-space-0: 0px;
  --sk-space-0-5: 4px;
  --sk-space-1: 8px;
  --sk-space-1-5: 12px;
  --sk-space-2: 16px;
  --sk-space-3: 24px;
  --sk-space-4: 32px;
  --sk-space-5: 40px;
  --sk-space-6: 48px;
  --sk-space-8: 64px;
  --sk-space-10: 80px;
  --sk-space-12: 96px;
  --sk-radius-none: 0px;
  --sk-radius-xs: 4px;
  --sk-radius-control: 8px;
  --sk-radius-card: 12px;
  --sk-radius-modal: 16px;
  --sk-radius-pill: 9999px;
  --sk-font-heading: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-font-data: "Inter", "Segoe UI", sans-serif;
  --sk-type-display-font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-type-display-font-size: 3rem;
  --sk-type-display-font-weight: 800;
  --sk-type-display-line-height: 1.06;
  --sk-type-display-letter-spacing: -0.035em;
  --sk-type-display-font-variant-numeric: normal;
  --sk-type-h1-font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-type-h1-font-size: 2rem;
  --sk-type-h1-font-weight: 800;
  --sk-type-h1-line-height: 1.15;
  --sk-type-h1-letter-spacing: -0.025em;
  --sk-type-h1-font-variant-numeric: normal;
  --sk-type-h2-font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-type-h2-font-size: 1.5rem;
  --sk-type-h2-font-weight: 750;
  --sk-type-h2-line-height: 1.25;
  --sk-type-h2-letter-spacing: -0.02em;
  --sk-type-h2-font-variant-numeric: normal;
  --sk-type-h3-font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-type-h3-font-size: 1.25rem;
  --sk-type-h3-font-weight: 700;
  --sk-type-h3-line-height: 1.3;
  --sk-type-h3-letter-spacing: -0.01em;
  --sk-type-h3-font-variant-numeric: normal;
  --sk-type-body-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-body-font-size: 1rem;
  --sk-type-body-font-weight: 400;
  --sk-type-body-line-height: 1.5;
  --sk-type-body-letter-spacing: 0em;
  --sk-type-body-font-variant-numeric: normal;
  --sk-type-body-strong-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-body-strong-font-size: 1rem;
  --sk-type-body-strong-font-weight: 600;
  --sk-type-body-strong-line-height: 1.5;
  --sk-type-body-strong-letter-spacing: 0em;
  --sk-type-body-strong-font-variant-numeric: normal;
  --sk-type-compact-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-compact-font-size: 0.875rem;
  --sk-type-compact-font-weight: 400;
  --sk-type-compact-line-height: 1.45;
  --sk-type-compact-letter-spacing: 0em;
  --sk-type-compact-font-variant-numeric: normal;
  --sk-type-label-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-label-font-size: 0.875rem;
  --sk-type-label-font-weight: 600;
  --sk-type-label-line-height: 1.35;
  --sk-type-label-letter-spacing: 0em;
  --sk-type-label-font-variant-numeric: normal;
  --sk-type-caption-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-caption-font-size: 0.75rem;
  --sk-type-caption-font-weight: 500;
  --sk-type-caption-line-height: 1.5;
  --sk-type-caption-letter-spacing: 0.005em;
  --sk-type-caption-font-variant-numeric: normal;
  --sk-type-button-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-button-font-size: 0.875rem;
  --sk-type-button-font-weight: 650;
  --sk-type-button-line-height: 1.3;
  --sk-type-button-letter-spacing: 0em;
  --sk-type-button-font-variant-numeric: normal;
  --sk-type-metric-font-family: "Inter", "Segoe UI", sans-serif;
  --sk-type-metric-font-size: 1.25rem;
  --sk-type-metric-font-weight: 700;
  --sk-type-metric-line-height: 1.2;
  --sk-type-metric-letter-spacing: -0.015em;
  --sk-type-metric-font-variant-numeric: tabular-nums lining-nums;
  --sk-type-metric-compact-font-family: "Inter", "Segoe UI", sans-serif;
  --sk-type-metric-compact-font-size: 1rem;
  --sk-type-metric-compact-font-weight: 650;
  --sk-type-metric-compact-line-height: 1.25;
  --sk-type-metric-compact-letter-spacing: -0.01em;
  --sk-type-metric-compact-font-variant-numeric: tabular-nums lining-nums;
  --sk-type-race-number-font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  --sk-type-race-number-font-size: 4rem;
  --sk-type-race-number-font-weight: 800;
  --sk-type-race-number-line-height: 1;
  --sk-type-race-number-letter-spacing: -0.04em;
  --sk-type-race-number-font-variant-numeric: tabular-nums lining-nums;
  --sk-type-tooltip-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sk-type-tooltip-font-size: 0.8125rem;
  --sk-type-tooltip-font-weight: 500;
  --sk-type-tooltip-line-height: 1.45;
  --sk-type-tooltip-letter-spacing: 0em;
  --sk-type-tooltip-font-variant-numeric: normal;
  --sk-size-target-min: 44px;
  --sk-size-control: 48px;
  --sk-size-control-compact: 44px;
  --sk-size-icon: 20px;
  --sk-size-icon-small: 16px;
  --sk-size-page-max: 1280px;
  --sk-size-reading-max: 72ch;
  --sk-size-dialog-max: 560px;
  --sk-border-width-default: 1px;
  --sk-border-width-emphasis: 2px;
  --sk-border-width-selected: 3px;
  --sk-focus-width: 2px;
  --sk-focus-offset: 3px;
  --sk-motion-fast: 120ms;
  --sk-motion-normal: 180ms;
  --sk-motion-slow: 240ms;
  --sk-motion-ease: cubic-bezier(0.2, 0, 0, 1);
  --sk-z-base: 0;
  --sk-z-sticky: 10;
  --sk-z-popover: 20;
  --sk-z-backdrop: 30;
  --sk-z-dialog: 40;
  --sk-z-tooltip: 50;
}

/* A — Finiş kırmızısı / beyaz */
:root,
[data-sonkulvar-theme="finish-red"] {
  color-scheme: light;
  --sk-color-bg-page: #F5F6F8;
  --sk-color-bg-surface: #FFFFFF;
  --sk-color-bg-subtle: #F8F9FB;
  --sk-color-bg-raised: #FFFFFF;
  --sk-color-bg-inverse: #20252B;
  --sk-color-text-primary: #20252B;
  --sk-color-text-secondary: #606872;
  --sk-color-text-inverse: #FFFFFF;
  --sk-color-text-link: #BD3629;
  --sk-color-text-link-hover: #9D281F;
  --sk-color-brand-primary: #BD3629;
  --sk-color-brand-accent: #345D6B;
  --sk-color-brand-on-primary: #FFFFFF;
  --sk-color-border-subtle: #DBE0E5;
  --sk-color-border-control: #7B838C;
  --sk-color-border-hover: #606872;
  --sk-color-border-selected: #BD3629;
  --sk-color-focus-ring: #BD3629;
  --sk-color-focus-gap: #FFFFFF;
  --sk-color-disabled-bg: #ECEFF2;
  --sk-color-disabled-text: #606872;
  --sk-color-disabled-border: #D2D9E0;
  --sk-color-action-primary-bg: #BD3629;
  --sk-color-action-primary-hover: #9D281F;
  --sk-color-action-primary-pressed: #842219;
  --sk-color-action-primary-text: #FFFFFF;
  --sk-color-action-secondary-bg: #FFFFFF;
  --sk-color-action-secondary-hover: #F6F7F9;
  --sk-color-action-secondary-text: #20252B;
  --sk-color-action-secondary-border: #7B838C;
  --sk-color-action-ghost-text: #BD3629;
  --sk-color-action-ghost-hover: #FBECE9;
  --sk-color-action-destructive-bg: #9F1D3D;
  --sk-color-action-destructive-hover: #841833;
  --sk-color-action-destructive-text: #FFFFFF;
  --sk-color-status-error-text: #9F1D3D;
  --sk-color-status-error-bg: #FBEAEE;
  --sk-color-status-error-border: #9F1D3D;
  --sk-color-status-error-icon: #9F1D3D;
  --sk-color-status-success-text: #146C4A;
  --sk-color-status-success-bg: #E8F5EF;
  --sk-color-status-success-border: #146C4A;
  --sk-color-status-success-icon: #146C4A;
  --sk-color-status-warning-text: #7A4800;
  --sk-color-status-warning-bg: #FFF3D6;
  --sk-color-status-warning-border: #9B630B;
  --sk-color-status-warning-icon: #7A4800;
  --sk-color-status-info-text: #24576F;
  --sk-color-status-info-bg: #EDF5FA;
  --sk-color-status-info-border: #547C91;
  --sk-color-status-info-icon: #24576F;
  --sk-color-table-bg: #FFFFFF;
  --sk-color-table-header-bg: #EFF2F5;
  --sk-color-table-header-text: #20252B;
  --sk-color-table-header-muted: #606872;
  --sk-color-table-row-hover: #F6F7F9;
  --sk-color-table-row-selected: #FBECE9;
  --sk-color-table-row-selected-text: #20252B;
  --sk-color-table-row-zebra: #FAFBFC;
  --sk-color-table-divider: #DBE0E5;
  --sk-color-table-sort-active: #BD3629;
  --sk-color-table-sort-idle: #606872;
  --sk-color-input-bg: #FFFFFF;
  --sk-color-input-text: #20252B;
  --sk-color-input-placeholder: #606872;
  --sk-color-input-border: #7B838C;
  --sk-color-input-border-hover: #606872;
  --sk-color-input-focus-border: #BD3629;
  --sk-color-input-error-bg: #FBEAEE;
  --sk-color-input-error-border: #9F1D3D;
  --sk-color-input-error-text: #9F1D3D;
  --sk-color-tab-bg: #FFFFFF;
  --sk-color-tab-text: #606872;
  --sk-color-tab-hover-bg: #F6F7F9;
  --sk-color-tab-hover-text: #20252B;
  --sk-color-tab-active-bg: #FBECE9;
  --sk-color-tab-active-text: #BD3629;
  --sk-color-tab-active-line: #BD3629;
  --sk-color-chart-neutral: #697580;
  --sk-color-chart-selected: #BD3629;
  --sk-color-chart-track: #E8ECF0;
  --sk-color-chart-grid: #DBE0E5;
  --sk-color-chart-label: #20252B;
  --sk-color-chart-label-muted: #606872;
  --sk-color-chart-selection-bg: #FBECE9;
  --sk-color-track-grass: #009900;
  --sk-color-track-dirt: #996633;
  --sk-color-track-synthetic: #D39B1E;
  --sk-color-track-label: #20252B;
  --sk-color-track-swatch-outline: #7B838C;
  --sk-color-track-on-grass: #111111;
  --sk-color-track-on-dirt: #FFFFFF;
  --sk-color-track-on-synthetic: #111111;
  --sk-color-tooltip-bg: #20252B;
  --sk-color-tooltip-text: #FFFFFF;
  --sk-color-selection-bg: #BD3629;
  --sk-color-selection-text: #FFFFFF;
  --sk-color-backdrop: rgba(13, 23, 32, 0.50);
  --sk-shadow-card: 0 1px 2px rgba(17, 24, 45, 0.04);
  --sk-shadow-popover: 0 12px 32px rgba(17, 24, 45, 0.12);
}

/* B — Koyu erik / porselen */
[data-sonkulvar-theme="deep-plum"] {
  color-scheme: light;
  --sk-color-bg-page: #F7F6F9;
  --sk-color-bg-surface: #FFFFFF;
  --sk-color-bg-subtle: #FAF8FC;
  --sk-color-bg-raised: #FFFFFF;
  --sk-color-bg-inverse: #26212D;
  --sk-color-text-primary: #26212D;
  --sk-color-text-secondary: #696271;
  --sk-color-text-inverse: #FFFFFF;
  --sk-color-text-link: #603C78;
  --sk-color-text-link-hover: #49275F;
  --sk-color-brand-primary: #603C78;
  --sk-color-brand-accent: #A64B31;
  --sk-color-brand-on-primary: #FFFFFF;
  --sk-color-border-subtle: #E0DBE5;
  --sk-color-border-control: #837A8D;
  --sk-color-border-hover: #696271;
  --sk-color-border-selected: #603C78;
  --sk-color-focus-ring: #603C78;
  --sk-color-focus-gap: #FFFFFF;
  --sk-color-disabled-bg: #EEEAF3;
  --sk-color-disabled-text: #696271;
  --sk-color-disabled-border: #DCD6E3;
  --sk-color-action-primary-bg: #603C78;
  --sk-color-action-primary-hover: #49275F;
  --sk-color-action-primary-pressed: #361C47;
  --sk-color-action-primary-text: #FFFFFF;
  --sk-color-action-secondary-bg: #FFFFFF;
  --sk-color-action-secondary-hover: #F8F6FA;
  --sk-color-action-secondary-text: #26212D;
  --sk-color-action-secondary-border: #837A8D;
  --sk-color-action-ghost-text: #603C78;
  --sk-color-action-ghost-hover: #F0EAF5;
  --sk-color-action-destructive-bg: #AE243A;
  --sk-color-action-destructive-hover: #8E1B2F;
  --sk-color-action-destructive-text: #FFFFFF;
  --sk-color-status-error-text: #AE243A;
  --sk-color-status-error-bg: #FBEAEE;
  --sk-color-status-error-border: #AE243A;
  --sk-color-status-error-icon: #AE243A;
  --sk-color-status-success-text: #146C4A;
  --sk-color-status-success-bg: #E8F5EF;
  --sk-color-status-success-border: #146C4A;
  --sk-color-status-success-icon: #146C4A;
  --sk-color-status-warning-text: #7A4800;
  --sk-color-status-warning-bg: #FFF3D6;
  --sk-color-status-warning-border: #9B630B;
  --sk-color-status-warning-icon: #7A4800;
  --sk-color-status-info-text: #24576F;
  --sk-color-status-info-bg: #EDF5FA;
  --sk-color-status-info-border: #547C91;
  --sk-color-status-info-icon: #24576F;
  --sk-color-table-bg: #FFFFFF;
  --sk-color-table-header-bg: #F1EDF5;
  --sk-color-table-header-text: #26212D;
  --sk-color-table-header-muted: #696271;
  --sk-color-table-row-hover: #F8F6FA;
  --sk-color-table-row-selected: #F0EAF5;
  --sk-color-table-row-selected-text: #26212D;
  --sk-color-table-row-zebra: #FCFBFD;
  --sk-color-table-divider: #E0DBE5;
  --sk-color-table-sort-active: #603C78;
  --sk-color-table-sort-idle: #696271;
  --sk-color-input-bg: #FFFFFF;
  --sk-color-input-text: #26212D;
  --sk-color-input-placeholder: #696271;
  --sk-color-input-border: #837A8D;
  --sk-color-input-border-hover: #696271;
  --sk-color-input-focus-border: #603C78;
  --sk-color-input-error-bg: #FBEAEE;
  --sk-color-input-error-border: #AE243A;
  --sk-color-input-error-text: #AE243A;
  --sk-color-tab-bg: #FFFFFF;
  --sk-color-tab-text: #696271;
  --sk-color-tab-hover-bg: #F8F6FA;
  --sk-color-tab-hover-text: #26212D;
  --sk-color-tab-active-bg: #F0EAF5;
  --sk-color-tab-active-text: #603C78;
  --sk-color-tab-active-line: #603C78;
  --sk-color-chart-neutral: #73697E;
  --sk-color-chart-selected: #603C78;
  --sk-color-chart-track: #ECE7F0;
  --sk-color-chart-grid: #E0DBE5;
  --sk-color-chart-label: #26212D;
  --sk-color-chart-label-muted: #696271;
  --sk-color-chart-selection-bg: #F0EAF5;
  --sk-color-track-grass: #009900;
  --sk-color-track-dirt: #996633;
  --sk-color-track-synthetic: #D39B1E;
  --sk-color-track-label: #26212D;
  --sk-color-track-swatch-outline: #837A8D;
  --sk-color-track-on-grass: #111111;
  --sk-color-track-on-dirt: #FFFFFF;
  --sk-color-track-on-synthetic: #111111;
  --sk-color-tooltip-bg: #26212D;
  --sk-color-tooltip-text: #FFFFFF;
  --sk-color-selection-bg: #603C78;
  --sk-color-selection-text: #FFFFFF;
  --sk-color-backdrop: rgba(23, 18, 31, 0.50);
  --sk-shadow-card: 0 1px 2px rgba(38, 33, 45, 0.04);
  --sk-shadow-popover: 0 12px 32px rgba(38, 33, 45, 0.12);
}

/* C — Gece mürekkebi / buz mavisi */
[data-sonkulvar-theme="midnight-ice"] {
  color-scheme: dark;
  --sk-color-bg-page: #0D1720;
  --sk-color-bg-surface: #14232D;
  --sk-color-bg-subtle: #182A36;
  --sk-color-bg-raised: #1A2D3A;
  --sk-color-bg-inverse: #EAF3F7;
  --sk-color-text-primary: #EAF3F7;
  --sk-color-text-secondary: #A0B2BE;
  --sk-color-text-inverse: #0D1720;
  --sk-color-text-link: #A8D5E2;
  --sk-color-text-link-hover: #C5E5EE;
  --sk-color-brand-primary: #A8D5E2;
  --sk-color-brand-accent: #78B2C7;
  --sk-color-brand-on-primary: #0D1720;
  --sk-color-border-subtle: #2C414E;
  --sk-color-border-control: #769AA9;
  --sk-color-border-hover: #A0B2BE;
  --sk-color-border-selected: #A8D5E2;
  --sk-color-focus-ring: #A8D5E2;
  --sk-color-focus-gap: #14232D;
  --sk-color-disabled-bg: #20313D;
  --sk-color-disabled-text: #9AAEBB;
  --sk-color-disabled-border: #314955;
  --sk-color-action-primary-bg: #A8D5E2;
  --sk-color-action-primary-hover: #C5E5EE;
  --sk-color-action-primary-pressed: #8EBFCE;
  --sk-color-action-primary-text: #0D1720;
  --sk-color-action-secondary-bg: #14232D;
  --sk-color-action-secondary-hover: #1C3341;
  --sk-color-action-secondary-text: #EAF3F7;
  --sk-color-action-secondary-border: #769AA9;
  --sk-color-action-ghost-text: #A8D5E2;
  --sk-color-action-ghost-hover: #223D4B;
  --sk-color-action-destructive-bg: #FFB6C0;
  --sk-color-action-destructive-hover: #FFD0D7;
  --sk-color-action-destructive-text: #0D1720;
  --sk-color-status-error-text: #FFB6C0;
  --sk-color-status-error-bg: #3A2530;
  --sk-color-status-error-border: #FFB6C0;
  --sk-color-status-error-icon: #FFB6C0;
  --sk-color-status-success-text: #A5D7BF;
  --sk-color-status-success-bg: #1B352E;
  --sk-color-status-success-border: #A5D7BF;
  --sk-color-status-success-icon: #A5D7BF;
  --sk-color-status-warning-text: #F2CF89;
  --sk-color-status-warning-bg: #3B3120;
  --sk-color-status-warning-border: #C6A467;
  --sk-color-status-warning-icon: #F2CF89;
  --sk-color-status-info-text: #B8D7EB;
  --sk-color-status-info-bg: #203849;
  --sk-color-status-info-border: #789CB3;
  --sk-color-status-info-icon: #B8D7EB;
  --sk-color-table-bg: #14232D;
  --sk-color-table-header-bg: #1A2C38;
  --sk-color-table-header-text: #EAF3F7;
  --sk-color-table-header-muted: #A0B2BE;
  --sk-color-table-row-hover: #1C3341;
  --sk-color-table-row-selected: #223D4B;
  --sk-color-table-row-selected-text: #EAF3F7;
  --sk-color-table-row-zebra: #162833;
  --sk-color-table-divider: #2C414E;
  --sk-color-table-sort-active: #A8D5E2;
  --sk-color-table-sort-idle: #A0B2BE;
  --sk-color-input-bg: #14232D;
  --sk-color-input-text: #EAF3F7;
  --sk-color-input-placeholder: #A0B2BE;
  --sk-color-input-border: #769AA9;
  --sk-color-input-border-hover: #A0B2BE;
  --sk-color-input-focus-border: #A8D5E2;
  --sk-color-input-error-bg: #3A2530;
  --sk-color-input-error-border: #FFB6C0;
  --sk-color-input-error-text: #FFB6C0;
  --sk-color-tab-bg: #14232D;
  --sk-color-tab-text: #A0B2BE;
  --sk-color-tab-hover-bg: #1C3341;
  --sk-color-tab-hover-text: #EAF3F7;
  --sk-color-tab-active-bg: #223D4B;
  --sk-color-tab-active-text: #A8D5E2;
  --sk-color-tab-active-line: #A8D5E2;
  --sk-color-chart-neutral: #86A2B2;
  --sk-color-chart-selected: #A8D5E2;
  --sk-color-chart-track: #29424F;
  --sk-color-chart-grid: #2C414E;
  --sk-color-chart-label: #EAF3F7;
  --sk-color-chart-label-muted: #A0B2BE;
  --sk-color-chart-selection-bg: #223D4B;
  --sk-color-track-grass: #009900;
  --sk-color-track-dirt: #996633;
  --sk-color-track-synthetic: #D39B1E;
  --sk-color-track-label: #EAF3F7;
  --sk-color-track-swatch-outline: #769AA9;
  --sk-color-track-on-grass: #111111;
  --sk-color-track-on-dirt: #FFFFFF;
  --sk-color-track-on-synthetic: #111111;
  --sk-color-tooltip-bg: #EAF3F7;
  --sk-color-tooltip-text: #0D1720;
  --sk-color-selection-bg: #A8D5E2;
  --sk-color-selection-text: #0D1720;
  --sk-color-backdrop: rgba(2, 8, 12, 0.72);
  --sk-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.18);
  --sk-shadow-popover: 0 12px 32px rgba(0, 0, 0, 0.36);
}

/* -------------------- Opt-in component foundations -------------------- */
.sk-app {
  box-sizing: border-box;
  background: var(--sk-color-bg-page);
  color: var(--sk-color-text-primary);
  font-family: var(--sk-font-ui);
  font-size: var(--sk-type-body-font-size);
  line-height: var(--sk-type-body-line-height);
  font-synthesis: none;
}
.sk-app *, .sk-app *::before, .sk-app *::after { box-sizing: inherit; }
.sk-app ::selection {
  background: var(--sk-color-selection-bg);
  color: var(--sk-color-selection-text);
}
.sk-app :where(button, input, select, textarea) { font: inherit; }
.sk-app :where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: var(--sk-focus-width) solid var(--sk-color-focus-ring);
  outline-offset: var(--sk-focus-offset);
  box-shadow: 0 0 0 var(--sk-focus-offset) var(--sk-color-focus-gap);
}
.sk-page {
  width: min(100%, var(--sk-size-page-max));
  margin-inline: auto;
  padding: var(--sk-space-3);
}
.sk-surface {
  background: var(--sk-color-bg-surface);
  color: var(--sk-color-text-primary);
  border: var(--sk-border-width-default) solid var(--sk-color-border-subtle);
  border-radius: var(--sk-radius-card);
  box-shadow: var(--sk-shadow-card);
}
.sk-text-secondary { color: var(--sk-color-text-secondary); }
.sk-number { font-family: var(--sk-font-data); font-variant-numeric: tabular-nums lining-nums; }
.sk-link {
  color: var(--sk-color-text-link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.sk-link:hover { color: var(--sk-color-text-link-hover); }
.sk-type-display {
  font-family: var(--sk-type-display-font-family);
  font-size: var(--sk-type-display-font-size);
  font-weight: var(--sk-type-display-font-weight);
  line-height: var(--sk-type-display-line-height);
  letter-spacing: var(--sk-type-display-letter-spacing);
  font-variant-numeric: var(--sk-type-display-font-variant-numeric);
}
.sk-type-h1 {
  font-family: var(--sk-type-h1-font-family);
  font-size: var(--sk-type-h1-font-size);
  font-weight: var(--sk-type-h1-font-weight);
  line-height: var(--sk-type-h1-line-height);
  letter-spacing: var(--sk-type-h1-letter-spacing);
  font-variant-numeric: var(--sk-type-h1-font-variant-numeric);
}
.sk-type-h2 {
  font-family: var(--sk-type-h2-font-family);
  font-size: var(--sk-type-h2-font-size);
  font-weight: var(--sk-type-h2-font-weight);
  line-height: var(--sk-type-h2-line-height);
  letter-spacing: var(--sk-type-h2-letter-spacing);
  font-variant-numeric: var(--sk-type-h2-font-variant-numeric);
}
.sk-type-h3 {
  font-family: var(--sk-type-h3-font-family);
  font-size: var(--sk-type-h3-font-size);
  font-weight: var(--sk-type-h3-font-weight);
  line-height: var(--sk-type-h3-line-height);
  letter-spacing: var(--sk-type-h3-letter-spacing);
  font-variant-numeric: var(--sk-type-h3-font-variant-numeric);
}
.sk-type-body {
  font-family: var(--sk-type-body-font-family);
  font-size: var(--sk-type-body-font-size);
  font-weight: var(--sk-type-body-font-weight);
  line-height: var(--sk-type-body-line-height);
  letter-spacing: var(--sk-type-body-letter-spacing);
  font-variant-numeric: var(--sk-type-body-font-variant-numeric);
}
.sk-type-body-strong {
  font-family: var(--sk-type-body-strong-font-family);
  font-size: var(--sk-type-body-strong-font-size);
  font-weight: var(--sk-type-body-strong-font-weight);
  line-height: var(--sk-type-body-strong-line-height);
  letter-spacing: var(--sk-type-body-strong-letter-spacing);
  font-variant-numeric: var(--sk-type-body-strong-font-variant-numeric);
}
.sk-type-compact {
  font-family: var(--sk-type-compact-font-family);
  font-size: var(--sk-type-compact-font-size);
  font-weight: var(--sk-type-compact-font-weight);
  line-height: var(--sk-type-compact-line-height);
  letter-spacing: var(--sk-type-compact-letter-spacing);
  font-variant-numeric: var(--sk-type-compact-font-variant-numeric);
}
.sk-type-label {
  font-family: var(--sk-type-label-font-family);
  font-size: var(--sk-type-label-font-size);
  font-weight: var(--sk-type-label-font-weight);
  line-height: var(--sk-type-label-line-height);
  letter-spacing: var(--sk-type-label-letter-spacing);
  font-variant-numeric: var(--sk-type-label-font-variant-numeric);
}
.sk-type-caption {
  font-family: var(--sk-type-caption-font-family);
  font-size: var(--sk-type-caption-font-size);
  font-weight: var(--sk-type-caption-font-weight);
  line-height: var(--sk-type-caption-line-height);
  letter-spacing: var(--sk-type-caption-letter-spacing);
  font-variant-numeric: var(--sk-type-caption-font-variant-numeric);
}
.sk-type-button {
  font-family: var(--sk-type-button-font-family);
  font-size: var(--sk-type-button-font-size);
  font-weight: var(--sk-type-button-font-weight);
  line-height: var(--sk-type-button-line-height);
  letter-spacing: var(--sk-type-button-letter-spacing);
  font-variant-numeric: var(--sk-type-button-font-variant-numeric);
}
.sk-type-metric {
  font-family: var(--sk-type-metric-font-family);
  font-size: var(--sk-type-metric-font-size);
  font-weight: var(--sk-type-metric-font-weight);
  line-height: var(--sk-type-metric-line-height);
  letter-spacing: var(--sk-type-metric-letter-spacing);
  font-variant-numeric: var(--sk-type-metric-font-variant-numeric);
}
.sk-type-metric-compact {
  font-family: var(--sk-type-metric-compact-font-family);
  font-size: var(--sk-type-metric-compact-font-size);
  font-weight: var(--sk-type-metric-compact-font-weight);
  line-height: var(--sk-type-metric-compact-line-height);
  letter-spacing: var(--sk-type-metric-compact-letter-spacing);
  font-variant-numeric: var(--sk-type-metric-compact-font-variant-numeric);
}
.sk-type-race-number {
  font-family: var(--sk-type-race-number-font-family);
  font-size: var(--sk-type-race-number-font-size);
  font-weight: var(--sk-type-race-number-font-weight);
  line-height: var(--sk-type-race-number-line-height);
  letter-spacing: var(--sk-type-race-number-letter-spacing);
  font-variant-numeric: var(--sk-type-race-number-font-variant-numeric);
}
.sk-type-tooltip {
  font-family: var(--sk-type-tooltip-font-family);
  font-size: var(--sk-type-tooltip-font-size);
  font-weight: var(--sk-type-tooltip-font-weight);
  line-height: var(--sk-type-tooltip-line-height);
  letter-spacing: var(--sk-type-tooltip-letter-spacing);
  font-variant-numeric: var(--sk-type-tooltip-font-variant-numeric);
}

.sk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sk-space-1);
  min-width: var(--sk-size-target-min);
  min-height: var(--sk-size-control);
  padding: var(--sk-space-1-5) var(--sk-space-2);
  border: var(--sk-border-width-default) solid transparent;
  border-radius: var(--sk-radius-control);
  background: var(--sk-color-action-primary-bg);
  color: var(--sk-color-action-primary-text);
  font-family: var(--sk-font-ui);
  font-size: var(--sk-type-button-font-size);
  font-weight: var(--sk-type-button-font-weight);
  line-height: var(--sk-type-button-line-height);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--sk-motion-fast) var(--sk-motion-ease),
              border-color var(--sk-motion-fast) var(--sk-motion-ease);
}
.sk-button:hover { background: var(--sk-color-action-primary-hover); }
.sk-button:active { background: var(--sk-color-action-primary-pressed); }
.sk-button--secondary {
  background: var(--sk-color-action-secondary-bg);
  color: var(--sk-color-action-secondary-text);
  border-color: var(--sk-color-action-secondary-border);
}
.sk-button--secondary:hover, .sk-button--secondary:active { background: var(--sk-color-action-secondary-hover); }
.sk-button--ghost { background: transparent; color: var(--sk-color-action-ghost-text); }
.sk-button--ghost:hover, .sk-button--ghost:active { background: var(--sk-color-action-ghost-hover); }
.sk-button--danger { background: var(--sk-color-action-destructive-bg); color: var(--sk-color-action-destructive-text); }
.sk-button--danger:hover, .sk-button--danger:active { background: var(--sk-color-action-destructive-hover); }
.sk-button--compact { min-height: var(--sk-size-control-compact); }
.sk-button--icon { width: var(--sk-size-control); padding: var(--sk-space-1-5); }
.sk-button:disabled, .sk-button[aria-disabled="true"] {
  background: var(--sk-color-disabled-bg);
  color: var(--sk-color-disabled-text);
  border-color: var(--sk-color-disabled-border);
  cursor: not-allowed;
  box-shadow: none;
}

.sk-field { display: grid; gap: var(--sk-space-1); }
.sk-label { color: var(--sk-color-text-primary); font-size: var(--sk-type-label-font-size); font-weight: 600; }
.sk-input {
  display: block;
  width: 100%;
  min-height: var(--sk-size-control);
  padding: var(--sk-space-1-5) var(--sk-space-2);
  border: var(--sk-border-width-default) solid var(--sk-color-input-border);
  border-radius: var(--sk-radius-control);
  background: var(--sk-color-input-bg);
  color: var(--sk-color-input-text);
  font-family: var(--sk-font-ui);
  font-size: 1rem;
  line-height: 1.5;
  caret-color: var(--sk-color-text-primary);
}
.sk-input::placeholder { color: var(--sk-color-input-placeholder); opacity: 1; }
.sk-input:hover { border-color: var(--sk-color-input-border-hover); }
.sk-input:focus-visible { border-color: var(--sk-color-input-focus-border); }
.sk-input[aria-invalid="true"] { background: var(--sk-color-input-error-bg); border-color: var(--sk-color-input-error-border); }
.sk-input:disabled { background: var(--sk-color-disabled-bg); color: var(--sk-color-disabled-text); border-color: var(--sk-color-disabled-border); cursor: not-allowed; }
.sk-field-error { color: var(--sk-color-input-error-text); font-size: var(--sk-type-compact-font-size); }

.sk-tabs { display: flex; flex-wrap: wrap; gap: var(--sk-space-1); border-bottom: 1px solid var(--sk-color-border-subtle); }
.sk-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--sk-size-target-min);
  min-height: var(--sk-size-target-min);
  padding: var(--sk-space-1) var(--sk-space-2);
  border: 0;
  border-bottom: var(--sk-border-width-selected) solid transparent;
  border-radius: var(--sk-radius-xs) var(--sk-radius-xs) 0 0;
  background: var(--sk-color-tab-bg);
  color: var(--sk-color-tab-text);
  font-size: var(--sk-type-label-font-size);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.sk-tab:hover { background: var(--sk-color-tab-hover-bg); color: var(--sk-color-tab-hover-text); }
.sk-tab[aria-selected="true"], .sk-tab[aria-current="page"] {
  background: var(--sk-color-tab-active-bg);
  color: var(--sk-color-tab-active-text);
  border-bottom-color: var(--sk-color-tab-active-line);
  font-weight: 750;
}
.sk-tab:disabled, .sk-tab[aria-disabled="true"] { background: var(--sk-color-disabled-bg); color: var(--sk-color-disabled-text); cursor: not-allowed; }

.sk-table-wrap { overflow-x: auto; padding: var(--sk-space-1); }
.sk-table { width: 100%; border-collapse: collapse; background: var(--sk-color-table-bg); font-size: var(--sk-type-compact-font-size); }
.sk-table th, .sk-table td { padding: var(--sk-space-1-5) var(--sk-space-2); border-bottom: 1px solid var(--sk-color-table-divider); text-align: start; vertical-align: middle; }
.sk-table thead th { background: var(--sk-color-table-header-bg); color: var(--sk-color-table-header-text); font-weight: 650; }
.sk-table--zebra tbody tr:nth-child(even) { background: var(--sk-color-table-row-zebra); }
.sk-table tbody tr:hover { background: var(--sk-color-table-row-hover); }
.sk-table tbody tr[aria-selected="true"] { background: var(--sk-color-table-row-selected); color: var(--sk-color-table-row-selected-text); }
.sk-table tbody tr[aria-selected="true"] > :first-child { box-shadow: inset 3px 0 0 var(--sk-color-border-selected); }
.sk-sort {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sk-space-0-5);
  min-width: var(--sk-size-target-min);
  min-height: var(--sk-size-target-min);
  padding: var(--sk-space-1) 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}
.sk-sort-icon { width: var(--sk-size-icon-small); height: var(--sk-size-icon-small); color: var(--sk-color-table-sort-idle); }
.sk-table th[aria-sort="ascending"], .sk-table th[aria-sort="descending"] { color: var(--sk-color-table-sort-active); }
.sk-table th[aria-sort="ascending"] .sk-sort-icon, .sk-table th[aria-sort="descending"] .sk-sort-icon { color: var(--sk-color-table-sort-active); }
.sk-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sk-space-1); }
.sk-metric { min-width: 0; padding: var(--sk-space-1); border-radius: var(--sk-radius-xs); }
.sk-metric[data-selected="true"] { background: var(--sk-color-chart-selection-bg); box-shadow: inset 0 3px 0 var(--sk-color-chart-selected); }
.sk-metric-value { color: var(--sk-color-chart-label); font-family: var(--sk-font-data); font-variant-numeric: tabular-nums lining-nums; font-size: var(--sk-type-metric-font-size); font-weight: 700; }
.sk-metric-label { color: var(--sk-color-chart-label-muted); font-size: var(--sk-type-caption-font-size); line-height: 1.35; }
.sk-metric-bar { height: 4px; margin-top: var(--sk-space-1); overflow: hidden; border-radius: var(--sk-radius-xs); background: var(--sk-color-chart-track); }
.sk-metric-bar::before { content: ""; display: block; height: 100%; width: clamp(0%, var(--sk-score, 0%), 100%); background: var(--sk-color-chart-neutral); }
.sk-metric[data-selected="true"] .sk-metric-bar::before { background: var(--sk-color-chart-selected); }

.sk-track { display: inline-flex; align-items: center; gap: var(--sk-space-0-5); color: var(--sk-color-track-label); font-size: var(--sk-type-caption-font-size); }
.sk-track::before { content: ""; display: block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 2px; outline: 1px solid var(--sk-color-track-swatch-outline); background: var(--sk-track-fill); }
.sk-track[data-track="grass"] { --sk-track-fill: var(--sk-color-track-grass); }
.sk-track[data-track="dirt"] { --sk-track-fill: var(--sk-color-track-dirt); }
.sk-track[data-track="synthetic"] { --sk-track-fill: var(--sk-color-track-synthetic); }

.sk-alert { display: flex; align-items: flex-start; gap: var(--sk-space-1); padding: var(--sk-space-2); border: 1px solid var(--sk-alert-border); border-radius: var(--sk-radius-control); background: var(--sk-alert-bg); color: var(--sk-alert-text); }
.sk-alert[data-status="error"] { --sk-alert-bg: var(--sk-color-status-error-bg); --sk-alert-text: var(--sk-color-status-error-text); --sk-alert-border: var(--sk-color-status-error-border); }
.sk-alert[data-status="success"] { --sk-alert-bg: var(--sk-color-status-success-bg); --sk-alert-text: var(--sk-color-status-success-text); --sk-alert-border: var(--sk-color-status-success-border); }
.sk-alert[data-status="warning"] { --sk-alert-bg: var(--sk-color-status-warning-bg); --sk-alert-text: var(--sk-color-status-warning-text); --sk-alert-border: var(--sk-color-status-warning-border); }
.sk-alert[data-status="info"] { --sk-alert-bg: var(--sk-color-status-info-bg); --sk-alert-text: var(--sk-color-status-info-text); --sk-alert-border: var(--sk-color-status-info-border); }
.sk-tooltip { z-index: var(--sk-z-tooltip); max-width: 32ch; padding: var(--sk-space-1) var(--sk-space-1-5); border-radius: var(--sk-radius-control); background: var(--sk-color-tooltip-bg); color: var(--sk-color-tooltip-text); font-family: var(--sk-font-ui); font-size: var(--sk-type-tooltip-font-size); line-height: var(--sk-type-tooltip-line-height); box-shadow: var(--sk-shadow-popover); }
.sk-backdrop { position: fixed; inset: 0; z-index: var(--sk-z-backdrop); background: var(--sk-color-backdrop); }
.sk-dialog { z-index: var(--sk-z-dialog); width: min(calc(100% - 32px), var(--sk-size-dialog-max)); padding: var(--sk-space-3); border: 1px solid var(--sk-color-border-subtle); border-radius: var(--sk-radius-modal); background: var(--sk-color-bg-surface); color: var(--sk-color-text-primary); box-shadow: var(--sk-shadow-popover); }
.sk-dialog::backdrop { background: var(--sk-color-backdrop); }
.sk-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .sk-page { padding: var(--sk-space-2); }
  .sk-type-display { font-size: 2.25rem; }
  .sk-type-h1 { font-size: 1.75rem; }
  .sk-metric { padding-inline: var(--sk-space-0-5); }
}
@media (prefers-reduced-motion: reduce) {
  .sk-app { --sk-motion-fast: 0ms; --sk-motion-normal: 0ms; --sk-motion-slow: 0ms; }
}
@media (forced-colors: active) {
  .sk-app { forced-color-adjust: auto; }
  .sk-app :where(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid Highlight; box-shadow: none; }
  .sk-button, .sk-input { border: 1px solid ButtonText; }
  .sk-tab[aria-selected="true"], .sk-tab[aria-current="page"] { border-bottom-color: Highlight; }
  .sk-table tbody tr[aria-selected="true"] > :first-child { border-inline-start: 3px solid Highlight; }
  .sk-metric[data-selected="true"] { border-block-start: 3px solid Highlight; box-shadow: none; }
}

@font-face{font-family:Barlow;src:url('/assets/barlow-regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}*{box-sizing:border-box}html{color-scheme:dark;scroll-behavior:smooth}body{margin:0;background:#040f17;color:#e6eef2;font-family:Barlow,'Arial Narrow',Arial,sans-serif;font-size:15px;line-height:1.5;background-image:linear-gradient(180deg,rgba(3,14,22,.15),#040f17 760px),url('/assets/racing-hero.webp');background-repeat:no-repeat;background-position:center top;background-size:100% 920px,100% auto}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}a:hover{color:#f6c360}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:2px solid #fac873;outline-offset:4px}input,select{min-width:0;color:#e6eef2;background:#071a24;border:1px solid #284653;border-radius:6px;padding:10px 12px}input::placeholder{color:#8397a6}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16}h1{font-size:40px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:25px}h3{font-size:21px}p{color:#a4b8c5}em{color:#efc67f;font-family:Georgia,serif;font-weight:400}.gold{color:#f6c360}.grass{color:#06df8d}.sand{color:#e3a052}.synthetic{color:#50c9ff}.blue{color:#43b5f5}.red-text{color:#ff6670}.muted{color:#8aa2af}.eyebrow{display:block;font-size:12px;letter-spacing:2.7px;font-weight:600;color:#c6a166;margin-bottom:12px}.site-shell{max-width:1512px;margin:26px auto 20px;border:1px solid #9c7a42;border-radius:15px;background:rgba(3,18,26,.87);box-shadow:0 15px 80px #0006;overflow:hidden}.header{display:flex;align-items:center;gap:38px;min-height:109px;padding:12px 32px;border-bottom:1px solid #9c7947;background:linear-gradient(90deg,#06131b 30%,#06131b44),url("/assets/racing-hero.webp") 70% 43%/cover}.brand{display:flex;gap:15px;align-items:center;flex-shrink:0}.horse-mark{font-family:Georgia,serif;color:#e9b65d;font-size:78px;line-height:1;transform:scaleX(-1)}.brand strong{display:block;font-family:Georgia,serif;font-size:26px;font-weight:500;letter-spacing:5px;color:#f4cf93}.brand small{display:block;font-size:9px;letter-spacing:1.65px;color:#b5a07b;margin-top:6px}.main-nav{display:flex;gap:29px;margin-left:auto;white-space:nowrap;align-self:stretch;align-items:center}.main-nav a{height:100%;display:flex;align-items:center;position:relative;font-size:16px}.main-nav a[aria-current=page]{color:#f6c360}.main-nav a[aria-current=page]:after{content:'';position:absolute;bottom:-13px;height:3px;background:#f6c360;left:0;right:0}.account-nav{display:flex;gap:18px;align-items:center;white-space:nowrap}.account-nav .twitter{font-size:23px;border-right:1px solid #29414d;padding-right:17px}.login{display:flex;gap:7px;align-items:center;font-size:14px}.join{display:flex;align-items:center;gap:7px;border:1px solid #bb904a;border-radius:6px;padding:9px 14px;color:#f6c360;font-size:14px}main{padding:0 28px}.page-intro{display:flex;align-items:center;justify-content:space-between;padding:29px 4px 26px}.page-intro .eyebrow{margin-bottom:7px}.page-intro h1{font-size:33px}.title-dot{color:#f1bf65}.page-intro p{text-align:right;margin:0;font-style:italic;color:#e6d8c3;font-family:Georgia,serif;font-size:17px;line-height:1.55}.page-intro p span{color:#b6b9b4;font-size:14px}.analysis-workspace{border:1px solid #2d4e5b;border-radius:12px;background:linear-gradient(115deg,#071e27ed,#04131dee);overflow:hidden}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 17px}.day-switch{display:flex;border:1px solid #2c4c5b;border-radius:8px;padding:3px;background:#03131d}.day-switch button{min-height:36px;padding:5px 25px;font-size:14px;border-radius:6px;color:#b4c8d6;position:relative}.day-switch button.active{background:linear-gradient(120deg,#ffd984,#e5af51);color:#101718;box-shadow:0 0 0 1px #f8ce77,0 0 14px #f0b73b30;font-weight:700}.date-picker{display:flex;gap:10px;align-items:center;border:1px solid #7b673f;border-radius:7px;padding:6px;color:#e5c383;background:#05151f}.date-picker input{border:0;background:none;padding:2px;width:133px;color:#e8edf2;font-size:14px}.date-picker input::-webkit-calendar-picker-indicator{display:none}.date-picker button{display:flex;padding:4px}.city-strip{margin:0 17px;display:flex;gap:4px;overflow:auto;border:1px solid #294856;border-radius:8px;padding:4px;scrollbar-width:thin}.city-strip button{flex:1;min-width:91px;padding:7px 15px;border:1px solid transparent;border-radius:22px;color:#bed0dd;font-size:14px;white-space:nowrap}.city-strip button.active{border-color:#e6b965;color:#f5cd82;box-shadow:inset 0 0 13px #a578241a}.race-strip{display:flex;gap:9px;padding:13px 18px;overflow:auto}.race-strip button{flex:1;min-width:92px;display:flex;align-items:center;gap:10px;justify-content:center;border:1px solid #254957;border-radius:22px;height:36px;background:#02141e}.race-strip button.active{border-color:#eab957;box-shadow:0 0 0 2px #eab95722,inset 0 0 8px #eab95722}.race-strip strong{font-size:19px;color:#00b9ed}.race-strip span{font-size:14px;border-left:1px solid #32505f;padding-left:9px}.race-strip i{font-style:normal;font-size:11px;font-weight:700;color:white;min-width:17px;height:17px;border-radius:50%;line-height:17px}.green{background:#00a54c}.red{background:#f63246}.race-summary{display:flex;gap:21px;align-items:center;padding:12px 20px;background:linear-gradient(90deg,#17303988,#07192322);border-top:1px solid #24414e;border-bottom:1px solid #24414e;font-size:13px;flex-wrap:wrap}.race-summary>span{display:flex;align-items:center;gap:7px;color:#b1c5d1}.race-number{display:flex;align-items:center;gap:8px;color:#f5c575;letter-spacing:1px}.race-summary .demo-inline{margin-left:auto;font-size:11px;letter-spacing:1px;color:#b4a17d}.table-tools{display:flex;align-items:center;justify-content:space-between;padding:14px 17px}.table-tools>div{display:flex;align-items:center;gap:13px}.section-label{font-size:11px;letter-spacing:1.5px;color:#99b0be;font-weight:600}.table-tools .muted{font-size:12px;border-left:1px solid #34505b;padding-left:12px}.table-tools input{padding:6px 10px;font-size:12px;width:156px}.sort{display:flex;align-items:center;gap:6px;color:#90a8b8}.sort select{font-size:12px;padding:5px 4px;border:0;background:transparent}.icon-button{display:flex;color:#bdad8c;padding:6px}.table-scroll{overflow:auto;margin:0 14px;border:1px solid #294855;border-radius:6px;scrollbar-color:#335160 #071923;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:500}thead{background:#09202b}th,td{border-bottom:1px solid #284552}tbody tr:last-child>*{border-bottom:0}.performance-table>thead th{border-right:1px solid #2b4b57}.performance-table>tbody td{border-left:6px double #2c4c59}.horse-heading{padding:12px;width:225px;min-width:210px;font-size:13px}.horse-heading span{padding-left:35px}.run-heading{text-align:center;padding:9px 6px 7px;font-weight:600;font-size:13px;letter-spacing:1.1px}.run-heading small{display:block;font-weight:400;letter-spacing:.3px;color:#9eb9ca;font-size:11px;margin-top:4px}.metric-head,.history-cell{display:grid;grid-template-columns:1.65fr repeat(4,1fr);gap:8px;min-width:274px;align-items:center}.metric-head{padding:8px 8px;font-size:11px;font-weight:400;color:#adc2cf;gap:8px}.metric-head>span:not(:first-child){text-align:center}.history-cell{padding:7px 9px}.run-meta small{display:block;font-size:10px;white-space:nowrap;color:#b9cbd7}.run-meta strong{font-size:12px;white-space:nowrap;font-weight:600}.run-meta strong span{font-size:11px;margin-left:4px}.metric{display:block;min-width:28px;text-align:center;font-size:10px;color:#d3e1e9;line-height:1.1}.metric>span{display:block;margin-bottom:5px}.metric i{display:block;height:8px;background:#294853;border-radius:4px;overflow:hidden}.metric b{display:block;height:100%;border-radius:4px;background:#04dd91}.metric.tempo b{background:#3bb5f5}.metric.speed b{background:#ffc156}.metric.leader b{background:#ff5260}.horse-button{display:flex;align-items:center;gap:12px;width:100%;padding:7px 10px;text-align:left;min-height:55px}.horse-button:hover{background:#17404b66}.number{display:flex;align-items:center;justify-content:center;color:#f8c96d;border:1px solid #b28a47;border-radius:4px;width:29px;height:36px;flex-shrink:0;font-size:20px;box-shadow:inset 0 0 8px #0005}.silk{filter:drop-shadow(0 2px 2px #0008);flex-shrink:0}.horse-button strong{display:block;font-size:14px;letter-spacing:.45px;white-space:nowrap}.horse-button small{display:block;color:#a7becc;font-size:11px;margin-top:2px}.performance-table tbody tr:nth-child(even),.detail-table tbody tr:nth-child(even){background:#0a253040}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px;font-size:11px;color:#8ea7b7}.table-footer>span{display:flex;gap:7px;align-items:center}.legend{display:flex;gap:21px}.legend span{display:flex;align-items:center;gap:8px}.legend i{width:10px;height:10px;border-radius:50%;display:block}.grass-bg{background:#05d58a}.synthetic-bg{background:#fac368}.sand-bg{background:#b77c4d}.below-analysis{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0 34px}.below-analysis article{border:1px solid #233d49;border-radius:8px;padding:23px 25px;background:#081d2766}.below-analysis .eyebrow{font-size:10px;margin-bottom:11px}.below-analysis h2{font-size:20px;margin-bottom:11px}.below-analysis p{font-size:13px;line-height:1.7;margin:0}.below-analysis a{display:flex;align-items:center;gap:5px;color:#e7bd79;font-size:12px;margin-top:11px}.detail-table{min-width:750px}.detail-table thead th{padding:16px}.detail-table td{padding:12px 16px}.detail-table td .metric{width:65px}.detail-table .rating{font-size:21px;color:#f6c360}.form-chips{display:flex;gap:6px}.form-chips span{border:1px solid #3c515d;border-radius:4px;padding:4px 9px}.form-chips .winner{background:#123e30;color:#23e39a;border-color:#257550}.pace-board{padding:20px 25px;min-height:410px}.pace-caption{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:2px;color:#b9a17c;margin-bottom:20px}.pace-lane{display:flex;padding:24px 0;border-top:1px dashed #34515c;gap:20px}.pace-lane>div:first-child{min-width:110px}.pace-lane strong,.pace-lane small{display:block}.pace-lane small{font-size:11px;color:#8da5b4;margin-top:6px}.pace-horses{display:flex;align-items:center;gap:20px;width:100%;flex-wrap:wrap}.pace-horses button{display:flex;align-items:center;gap:8px;font-size:12px}.empty{padding:70px 20px;min-height:400px;text-align:center;color:#a9becb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.empty h2{margin:0;color:#e5edf1}.empty p{margin:0}.gold-button{display:inline-flex;justify-content:center;align-items:center;gap:15px;background:linear-gradient(110deg,#ffda8a,#dba44d);color:#111c23;border:1px solid #efc679;border-radius:6px;padding:13px 23px;font-weight:700;font-size:14px;box-shadow:0 3px 15px #0002}.gold-button:hover{color:#07131b;filter:brightness(1.08)}footer{border-top:1px solid #5c5138;padding:24px 30px 12px;background:#061721}.footer-top{display:flex;align-items:center;gap:40px}.footer-top .horse-mark{font-size:44px}.footer-top .brand strong{font-size:17px;letter-spacing:3px}.footer-top .brand small{display:none}.footer-top p{font-size:12px;margin:0;line-height:1.7}.footer-top p span{color:#718e9e}.demo-tag{font-size:10px;letter-spacing:1.5px;color:#c0a475;border:1px solid #645735;border-radius:4px;padding:5px 9px;margin-left:auto}.city-links{margin-top:20px;font-size:12px;color:#91aabb}.city-links summary{cursor:pointer}.city-links nav{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:15px}.footer-bottom{margin-top:17px;padding-top:13px;border-top:1px solid #1b3440;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#7793a3}.home-hero{min-height:495px;padding:62px 35px 40px;position:relative;background:linear-gradient(90deg,#051722e8 5%,#05172233 85%),url('/assets/racing-hero.webp') center 42%/cover;border-bottom:1px solid #35434a;margin:0 -28px}.home-hero .eyebrow{font-size:11px}.home-hero h1{font-size:69px;line-height:1.08;letter-spacing:-2px;margin-bottom:24px}.home-hero p{font-size:16px;line-height:1.7;max-width:470px;color:#bfc9cc;margin-bottom:25px}.hero-caption{position:absolute;right:36px;bottom:34px;text-align:right}.hero-caption span{display:block;font-size:10px;letter-spacing:2px;color:#d9b476}.hero-caption strong{font-family:Georgia,serif;font-style:italic;font-size:21px;font-weight:400}.home-program{padding:35px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-heading h2{margin:0;font-size:26px}.section-heading .eyebrow{font-size:10px;margin-bottom:8px}.city-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.city-card{padding:18px;border:1px solid #2e4651;border-radius:8px;background:linear-gradient(130deg,#0c2632,#071822);transition:border-color .15s,transform .15s}.city-card:hover{border-color:#c99a51;transform:translateY(-2px)}.city-card>div{display:flex;justify-content:space-between;align-items:center;color:#bd9c6b}.city-card>div>span{font-size:11px;color:#6d8d9f}.city-card h3{margin:19px 0 5px;font-size:24px;color:#e2eaf0}.city-card p{font-size:12px;margin-bottom:20px}.city-card small{font-size:11px;color:#93aebb}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:0 0 40px}.feature-row article{padding:20px 10px 0}.feature-row svg{color:#d5ac6c}.feature-row h3{font-size:19px;margin:14px 0 10px}.feature-row p{font-size:14px;line-height:1.7;margin:0}.info-page{padding:55px 20px 65px;min-height:600px}.info-page h1{margin-bottom:23px;font-size:48px}.info-page>p{max-width:720px;line-height:1.8}.editorial-empty{border:1px solid #284753;border-radius:12px;background:#071d27}.editorial-empty svg{color:#d6ae71;margin-bottom:8px}.value-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:35px 0}.value-grid article{border:1px solid #274652;background:#09212b;padding:28px;border-radius:10px}.value-grid h2{font-size:22px;margin:19px 0 12px}.value-grid p{margin:0;line-height:1.7}.service-notice{padding:14px;background:#372e182f;color:#d4bb8d;border:1px solid #635437;border-radius:6px;font-size:13px;margin:16px 0}.auth-layout{display:grid;grid-template-columns:1fr 440px;gap:60px;padding:70px 45px;align-items:center;min-height:660px}.auth-layout h1{font-size:52px;margin:0 0 25px}.auth-card{background:#071e28;border:1px solid #35505b;border-radius:12px;padding:30px}.auth-card h2{font-size:28px;margin:16px 0 9px}.auth-card p{font-size:14px}.auth-card label:not(.checkbox){display:block;font-size:13px;margin:17px 0 0;color:#bfd0da}.auth-card label>input{width:100%;margin-top:7px;min-height:44px}.password-field{display:flex;margin-top:7px;position:relative}.password-field input{width:100%;padding-right:45px;min-height:44px}.password-field button{position:absolute;right:10px;top:11px;color:#91a9b7}.auth-card .gold-button{width:100%;margin-top:25px}.auth-link{text-align:center}.auth-link a,.checkbox a{color:#ecc07b}.checkbox{display:flex;gap:10px;font-size:12px;align-items:center;margin-top:15px}.checkbox input{accent-color:#e9b959}.prose{max-width:900px}.prose h2{font-size:24px;margin-top:35px}.horse-dialog{color:#e9eff2;background:#071d28;border:1px solid #c59a53;border-radius:14px;max-width:520px;width:calc(100% - 30px);padding:30px;box-shadow:0 25px 90px #0009}.horse-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.horse-dialog h2{font-size:29px;margin-bottom:10px}.horse-dialog h3{margin-top:25px;font-size:20px}.horse-dialog .close{position:absolute;right:13px;top:13px;color:#cbb284;padding:7px}.horse-dialog .eyebrow{font-size:9px;padding-right:20px}.profile-stats{display:flex;gap:25px;padding:16px 0;border-top:1px solid #254752;border-bottom:1px solid #254752;margin:20px 0}.profile-stats small,.profile-stats strong{display:block}.profile-stats small{font-size:11px;color:#8da7b5}.profile-stats strong{font-size:19px;margin-top:5px}.profile-run{border:1px solid #2a4855;border-radius:6px;margin:8px 0}.skip{position:fixed;top:-100px;left:20px;background:#edc071;color:#000;z-index:100;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.site-shell{margin:30px 3%}}@media(max-width:1200px){.site-shell{margin:15px}.header{gap:20px;padding:12px 23px}.brand strong{font-size:22px;letter-spacing:3px}.brand small{font-size:8px}.horse-mark{font-size:62px}.main-nav{gap:23px}.account-nav{gap:12px}.race-summary{gap:14px}.category{display:none}.history-cell,.metric-head{min-width:270px}.auth-layout{padding:50px 15px;gap:30px}.city-cards{grid-template-columns:repeat(5,1fr)}.city-card{padding:14px}}
@media(max-width:950px){.header{flex-wrap:wrap;gap:8px 20px;padding-bottom:0}.main-nav{order:3;width:100%;justify-content:center;margin:0;gap:45px;min-height:50px}.main-nav a[aria-current=page]:after{bottom:0}.account-nav{margin-left:auto}.brand small{font-size:9px}.page-intro{padding:24px 0}.page-intro h1{font-size:29px}.table-tools>div{gap:8px}.table-tools .muted{display:none}.city-cards{grid-template-columns:repeat(3,1fr)}.auth-layout{grid-template-columns:1fr 1fr;gap:25px}.auth-layout h1{font-size:38px}.auth-card{padding:22px}.hero-caption{display:none}.footer-top{gap:25px}.pace-horses{padding-left:0!important}.pace-lane{padding:20px 0}.below-analysis{gap:14px}.below-analysis article{padding:20px}}
@media(max-width:600px){body{background-size:auto 650px}.site-shell{margin:8px;border-radius:10px}.header{padding:10px 13px 0}.horse-mark{font-size:46px}.brand{gap:7px}.brand strong{font-size:17px;letter-spacing:2px}.brand small{display:none}.account-nav{gap:10px}.account-nav .twitter{font-size:18px;padding-right:10px}.login{font-size:12px;gap:4px}.login svg{display:none}.join{font-size:12px;padding:6px 8px}.join svg{display:none}.main-nav{gap:0;justify-content:space-between;min-height:46px}.main-nav a{font-size:14px;padding:0 10px}main{padding:0 12px}.page-intro{padding:24px 2px 20px}.page-intro h1{font-size:26px}.page-intro p{display:none}.page-intro .eyebrow{font-size:9px;letter-spacing:2px}.toolbar{padding:10px;gap:8px;flex-wrap:wrap}.day-switch{flex:1}.day-switch button{padding:6px 10px;flex:1;font-size:12px;white-space:nowrap}.date-picker{padding:3px;font-size:12px;width:100%;justify-content:center;margin-top:3px}.date-picker input{width:125px}.city-strip{margin:0 10px}.city-strip button{padding:6px 13px;min-width:85px;font-size:13px}.race-strip{padding:12px 10px;gap:6px}.race-strip button{min-width:80px;height:45px;border-radius:7px;gap:7px}.race-strip strong{font-size:17px}.race-strip span{font-size:12px;padding-left:6px}.race-strip i{display:none}.race-summary{padding:10px;gap:8px 13px;font-size:11px}.race-summary .demo-inline{display:none}.race-number{font-size:13px}.race-summary svg{width:13px}.table-tools{padding:12px 10px;gap:10px;flex-wrap:wrap}.table-tools>div:last-child{width:100%;justify-content:space-between}.table-tools input{flex:1;width:125px}.section-label{font-size:10px}.table-scroll{margin:0 7px}.performance-table .horse-heading{min-width:181px}.performance-table tbody th,.performance-table thead .horse-heading{position:sticky;left:0;z-index:1;background:#081e29}.horse-button{padding:8px 6px;gap:7px;min-height:63px}.horse-button strong{font-size:11px;letter-spacing:.2px}.horse-button small{font-size:10px}.horse-button .silk{width:25px}.number{width:25px;height:31px;font-size:17px}.metric-head,.history-cell{min-width:260px;gap:6px}.table-footer{font-size:10px;align-items:flex-start;padding:13px 10px;flex-direction:column;gap:12px}.table-footer>span{font-size:9px}.below-analysis{grid-template-columns:1fr;margin:17px 0 24px}.below-analysis article{padding:19px}.below-analysis h2{font-size:18px}.below-analysis p{font-size:13px}.below-analysis .eyebrow{font-size:9px}.pace-board{padding:15px 12px}.pace-lane{display:block}.pace-horses{gap:12px;margin-top:18px}.pace-horses button{font-size:10px;padding:0}.pace-caption{font-size:9px;letter-spacing:1px}.footer-top{flex-wrap:wrap;gap:15px}.footer-top p{display:none}.footer-top .brand strong{font-size:15px}.footer-top .horse-mark{font-size:35px}footer{padding:18px 15px 12px}.demo-tag{font-size:8px;padding:5px;letter-spacing:.7px}.footer-bottom{flex-wrap:wrap;font-size:9px;gap:9px}.footer-bottom>span:nth-child(2){order:3;width:100%}.home-hero{margin:0 -12px;min-height:490px;padding:40px 22px;background-position:58% center}.home-hero h1{font-size:49px;margin-top:18px}.home-hero p{font-size:14px;max-width:270px}.home-hero .eyebrow{font-size:9px;letter-spacing:1.8px}.home-program{padding:27px 0}.section-heading h2{font-size:22px}.city-cards{grid-template-columns:1fr 1fr;gap:9px}.city-card{padding:16px}.city-card h3{font-size:21px}.feature-row{grid-template-columns:1fr;gap:12px;padding-bottom:26px}.feature-row article{border-top:1px solid #233e4b;padding:18px 5px 5px}.feature-row h3{margin-top:10px}.info-page{padding:30px 6px 40px;min-height:550px}.info-page h1{font-size:35px}.value-grid{grid-template-columns:1fr;gap:12px}.value-grid article{padding:22px}.value-grid h2{font-size:20px}.auth-layout{grid-template-columns:1fr;padding:30px 2px;gap:20px}.auth-layout>div{display:none}.auth-card{padding:23px 20px}.horse-dialog{padding:24px 18px}.profile-stats{gap:18px}.profile-stats strong{font-size:16px}.profile-run .history-cell{min-width:0}.profile-run .run-meta strong{font-size:11px}.profile-run .run-meta small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.program-scroll{border-color:#234451;background:#061a26}
.program-table{width:100%;min-width:1850px;font-family:Arial,sans-serif;font-size:14px;table-layout:auto}
.program-table thead th{height:50px;padding:12px 16px;background:#061d2a;color:#8ccce7;font-size:12px;font-weight:500;white-space:nowrap;border-right:0;border-bottom:1px solid #254653;text-align:left}
.program-table td,.program-table tbody th{height:76px;padding:13px 16px;border-right:1px solid #142e3c;border-bottom:1px solid #244451;vertical-align:middle;background:#061a26}
.program-table tbody tr:nth-child(even)>*{background:#081e2a}
.program-table tbody tr:hover>*{background:#0d2938}
.program-table .program-number-heading,.program-table .program-number{width:65px;min-width:65px;padding-left:16px;padding-right:12px;position:sticky;left:0;z-index:2}
.program-table .program-horse-heading,.program-table .program-horse{width:295px;min-width:295px;padding-left:18px;position:sticky;left:65px;z-index:2}
.program-table .program-horse-heading,.program-table .program-number-heading{z-index:3;background:#061d2a}
.runner-number{display:flex;align-items:center;justify-content:center;width:37px;height:42px;padding:0;border-radius:6px;background:linear-gradient(135deg,#ffffff25,#ffffff00 50%,#00000020),var(--runner-color);border:1px solid #ffffff35;box-shadow:inset 0 0 0 1px #ffffff0a,0 2px 4px #0004;font-size:23px;font-weight:700;color:white;text-shadow:0 2px 2px #0008}
.runner-profile{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:0}
.race-silk{width:42px;height:49px;flex-shrink:0;filter:drop-shadow(0 2px 2px #0008)}
.runner-copy{display:flex;flex-direction:column;gap:9px;min-width:0}
.runner-copy strong{font-size:16px;font-weight:700;line-height:1.2;color:#f2f7fa;white-space:nowrap}
.runner-copy small{font-size:12px;font-weight:400;line-height:1.4;color:#81cce9;white-space:nowrap}
.program-table .program-jockey,.program-table .program-jockey-heading{min-width:235px;width:235px}
.jockey-profile{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#e1eef5;font-size:15px}
.jockey-profile .race-silk{width:26px;height:33px}
.apprentice-badge{font-size:10px;color:#e9b96b;border:1px solid #675436;border-radius:4px;padding:3px 6px;background:#342c1729}
.program-origin{min-width:145px;max-width:165px;color:#abc5d3;font-size:13px;line-height:1.5}
.program-person{min-width:110px;color:#c5d9e3;font-size:13px}
.nowrap{white-space:nowrap}.overweight{font-size:11px;color:#ff8590;margin-left:5px}
.recent-results{display:flex;gap:5px;color:#d9b675;font-weight:600;font-size:14px}.recent-results .first-place{color:#40dba5}
.agf-favorite{color:#35dc9d;font-weight:700}.agf-value{color:#b8cedb}
.workout-video{display:inline-flex;width:29px;height:29px;border:1px solid #ae894c;align-items:center;justify-content:center;border-radius:50%;color:#efbe67;background:#192d32}.workout-video:hover{background:#31403a}
@media(max-width:600px){.program-table .program-number-heading,.program-table .program-number{min-width:52px;width:52px;padding-left:9px;padding-right:7px}.program-table .program-horse-heading,.program-table .program-horse{min-width:225px;width:225px;left:52px;padding-left:11px;padding-right:12px}.runner-profile{gap:10px}.runner-copy strong{font-size:14px}.runner-copy small{font-size:11px}.runner-profile .race-silk{width:34px;height:43px}.runner-number{width:33px;height:39px;font-size:21px}.program-table td,.program-table tbody th{height:76px}.program-table .program-jockey,.program-table .program-jockey-heading{min-width:220px}}
/* Compact, readable editorial content; identical content for visitors and crawlers. */
.analysis-page-title {font-size:22px;margin:8px 24px 16px;color:#e4f3f8}
.breadcrumbs {padding:14px 24px;color:#b4cbd8;font-size:14px}
.breadcrumbs ol {display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.breadcrumbs li+li::before {content:"/";margin-right:8px;color:#7898aa}
.breadcrumbs a {color:#7ce2dc;text-decoration:underline;text-underline-offset:3px}
.analysis-guide {margin:24px auto;padding:20px 24px;max-width:1100px;border:1px solid #284452;border-radius:12px;color:#b4cbd8;font-size:14px;line-height:1.75;background:#0b202b}
.analysis-guide h2 {font-size:20px;color:#e4f3f8;margin:0 0 12px}
.analysis-guide h3 {font-size:16px;color:#d5e9f1;margin:18px 0 6px}
.analysis-guide p {margin:8px 0 14px}
.analysis-guide summary {cursor:pointer;color:#88e4df;font-size:15px;padding:10px 0}
.analysis-guide nav {display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.analysis-guide a {color:#88e4df;text-decoration:underline;text-underline-offset:3px}
.analysis-guide summary:focus-visible,.breadcrumbs a:focus-visible {outline:2px solid #88e4df;outline-offset:4px}
@media(max-width:600px){.analysis-guide{margin:16px 10px;padding:16px;font-size:15px}.breadcrumbs{padding:12px}}
/* Readable topic content: no hidden SEO text or sitewide keyword lists. */
.cluster-page{max-width:1160px;margin:24px auto;padding:clamp(20px,4vw,48px);background:#081e29;border:1px solid #244350;border-radius:16px}
.cluster-page>header{max-width:780px;margin-bottom:30px}.cluster-page h1{font-size:clamp(28px,4vw,44px);line-height:1.15;color:#e1f4f8}
.cluster-page p,.cluster-next p{font-size:16px;line-height:1.7;color:#b8ced9;max-width:78ch}.cluster-page h2,.cluster-next h2{font-size:23px;color:#e1f4f8;margin:24px 0 10px}
.cluster-page a,.cluster-next a,.footer-topics a{color:#62dfd7;text-underline-offset:4px}.cluster-page a:hover,.cluster-next a:hover{text-decoration:underline}
.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.topic-grid article,.editorial-card{padding:22px;border:1px solid #294653;border-radius:12px;background:#0c2531}
.topic-grid h2{margin-top:0}.cluster-next{padding:24px;margin:24px 0;border-top:1px solid #294653}.cluster-page .cluster-next{padding:20px 0}
.prose-page{max-width:880px}.prose-page section{margin:30px 0}.prose-page dt{font-weight:700;color:#62dfd7}.prose-page dd{margin:8px 0 18px;line-height:1.7}
.related-topics,.footer-topics{display:flex;gap:20px;flex-wrap:wrap;padding:20px 0}.editorial-placeholder{padding:18px;border-left:3px solid #c8a963;background:#122a35}
.editorial-card{margin-bottom:20px}.editorial-card time{font-variant-numeric:tabular-nums}.cluster-disclaimer{border-top:1px solid #294653;padding-top:20px}
@media(max-width:640px){.topic-grid{grid-template-columns:1fr}.cluster-page{margin:12px 0;padding:20px 16px}.cluster-page .city-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cluster-page .city-card{padding:16px}.cluster-page .city-card h2{font-size:20px}}


:root{--ui-text:#e8f1f6;--ui-muted:#99b3c3;--ui-line:#264451;--ui-gold:#f4c66f;--ui-panel:#0a2230;--ui-cyan:#79c9e5}
.analysis-workspace{background:linear-gradient(135deg,#09212c,#061822 70%);border-color:#33535f;box-shadow:0 12px 38px #0002}.table-tools{padding:21px 20px 16px;gap:14px}.table-tools input{font-size:14px;padding:10px 13px;width:205px;border-color:#315361;background:#071b26}.table-tools .sort select{font-size:13px;padding:10px 6px}.section-label{font-size:12px;letter-spacing:1.8px;color:#a0c2d1}.table-tools .muted{font-size:13px;color:#a0bac9}.horse-identity{display:flex;align-items:center;padding-right:10px;gap:3px}.horse-identity .horse-button{flex:1;min-width:0;padding:13px 10px;gap:11px;min-height:79px}.horse-button .race-silk{width:34px;height:43px}.horse-identity .horse-button strong{font-size:14px;font-weight:700;letter-spacing:.1px}.horse-identity .horse-button small{font-size:12px;margin-top:6px;color:#9dbbcd}.horse-identity .number{border-color:#8f7549;background:linear-gradient(135deg,#21343a,#0a202c);color:#f4cf89;width:31px;height:39px;font-size:20px;border-radius:6px}.favorite-star{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:36px;border:1px solid transparent;border-radius:8px;color:#8aa5b6;transition:color .15s,background .15s}.favorite-star:hover{color:var(--ui-gold);background:#f4c66f12;border-color:#f4c66f33}.favorite-star.is-favorite{color:var(--ui-gold);background:#f4c66f0c}.program-identity{display:flex;align-items:center;gap:8px}.program-identity .runner-profile{flex:1;min-width:0}.program-table .program-horse,.program-table .program-horse-heading{min-width:315px}
.analysis-filter-bar{margin:0 16px 17px;border:1px solid #2b4c5c;border-radius:11px;background:linear-gradient(115deg,#102d3c,#0b2330 72%);padding:18px 19px;box-shadow:inset 0 1px #ffffff04}.filter-bar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.filter-bar-heading>div:first-child{display:flex;align-items:center;gap:12px}.filter-symbol{display:flex;align-items:center;justify-content:center;border:1px solid #395766;border-radius:9px;width:37px;height:37px;color:#ecc781;background:#e5b95e09}.filter-bar-heading h2{font-size:17px;letter-spacing:-.15px;margin:0 0 5px;color:#e7f1f6;font-weight:600}.filter-bar-heading p{font-size:12px;margin:0;color:#9cb8c8}.selection-mode{display:flex;align-items:center;padding:3px;border-radius:8px;border:1px solid #2a4d5d;background:#061b28;flex-shrink:0}.selection-mode button{padding:7px 11px;border-radius:5px;font-size:12px;color:#9fbdce;white-space:nowrap}.selection-mode button[aria-pressed=true]{background:#254250;color:#f5ce8a;box-shadow:0 1px 4px #0003}.filter-controls{display:flex;gap:10px;align-items:stretch}.analysis-select{position:relative;flex:1;min-width:0}.analysis-select summary{display:flex;gap:11px;align-items:center;padding:10px 13px;background:#081e2a;border:1px solid #315565;border-radius:8px;cursor:pointer;list-style:none;min-height:60px;color:#9ab6c7}.analysis-select summary::-webkit-details-marker{display:none}.analysis-select summary>span{flex:1}.analysis-select summary small{display:block;font-size:11px;color:#91adbd;margin-bottom:1px}.analysis-select summary strong{font-weight:500;font-size:14px;color:#e0edf4}.analysis-select[open] summary,.analysis-select.has-selection summary{border-color:#ac8b4f}.analysis-select[open] summary>svg:last-child{transform:rotate(180deg)}.filter-popover{position:absolute;top:calc(100% + 8px);left:0;min-width:100%;width:230px;max-width:calc(100vw - 65px);z-index:15;background:#102a38;border:1px solid #3b5f70;border-radius:9px;padding:10px;box-shadow:0 18px 45px #0009}.popover-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 5px 10px;border-bottom:1px solid #2a4857;margin-bottom:5px}.popover-heading strong{font-size:13px}.popover-heading button{font-size:12px;color:#eac783}.filter-popover fieldset{border:0;padding:0;margin:0;max-height:260px;overflow:auto;scrollbar-width:thin}.filter-popover label{display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:5px;font-size:14px;cursor:pointer;color:#d4e5ee}.filter-popover label:hover,.filter-popover label.checked{background:#1b3b4b}.filter-popover label span{flex:1}.filter-popover label svg{color:#f4c66f}.filter-popover input{width:15px;height:15px;accent-color:#efc571;margin:0}.favorites-toggle{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #70603e;border-radius:8px;color:#e9c88c;background:#c7a05408;font-size:13px;white-space:nowrap}.favorites-toggle.active{background:#f0c66b1c;border-color:#d5b267}.favorites-toggle b{font-size:12px;min-width:22px;height:22px;line-height:22px;border-radius:5px;background:#e9c88c15}.filter-reset{display:flex;align-items:center;gap:7px;color:#b3c8d4;font-size:12px;padding:0 8px}.filter-reset:disabled{opacity:.35}.active-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.active-filters button{display:flex;align-items:center;gap:8px;font-size:12px;background:#31536150;border:1px solid #4a6570;border-radius:20px;padding:4px 10px;color:#d3e6f0}.active-filters button:hover{border-color:#efc571;color:#efc571}.performance-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 20px 13px;font-size:12px;color:#9eb8c9}.performance-caption b{color:#f4cf8b;font-weight:600}.caption-divider{margin:0 9px;color:#5b7c8e}.favorite-hint{display:flex;align-items:center;gap:7px;color:#9db7c5}.performance-scroll{margin:0 16px;border-color:#325361;border-radius:8px}.performance-table .horse-heading{min-width:264px;width:264px;padding:17px;font-size:12px;color:#b8d3df;letter-spacing:1px}.horse-heading>small{display:block;font-size:11px;letter-spacing:0;font-weight:400;color:#88a7b8;margin-top:8px}.performance-table .run-heading{position:relative;font-size:13px;font-weight:600;color:#e1edf3;padding:15px 6px 11px;letter-spacing:.9px;background:#0d2935}.run-heading .history-index{display:inline-block;margin-right:9px;color:#dfb975;font-size:12px;letter-spacing:0}.performance-table .run-heading small{font-size:11px;margin-top:6px;color:#8cafc1}.performance-table .metric-head{padding:11px 10px;font-size:11px;color:#b0cad7;background:#0a2330}.performance-table .history-cell{padding:13px 10px;gap:10px;min-width:290px;grid-template-columns:1.8fr repeat(4,1fr)}.performance-table .metric-head{min-width:290px;grid-template-columns:1.8fr repeat(4,1fr);gap:10px}.performance-table .run-meta small{font-size:12px;color:#a5c2d1;margin-bottom:5px}.performance-table .run-meta strong{font-size:13px}.performance-table .metric{font-size:11px;font-variant-numeric:tabular-nums;color:#d5e7f0}.performance-table .metric>span{margin-bottom:7px}.performance-table .metric i{height:7px;background:#254552}.performance-table tbody tr:nth-child(even){background:#0b283333}.performance-table tbody tr:hover{background:#15384766}.performance-table>tbody td{border-left:1px solid #315361}.performance-table tbody th{border-right:1px solid #315361}.no-history{min-width:290px;min-height:79px;display:flex;justify-content:center;align-items:center;gap:9px;color:#668b9e;font-size:16px}.no-history span{font-size:12px}.analysis-empty{margin:0 16px;padding:42px 20px;text-align:center;border:1px dashed #365564;border-radius:9px;background:#0a223066}.analysis-empty>svg{color:#d3b272;margin-bottom:14px}.analysis-empty h3{font-size:20px;margin:0 0 10px;color:#dceaf2}.analysis-empty p{font-size:14px;margin-bottom:22px}.table-footer{font-size:12px;padding:18px 20px;color:#9fb6c5}
@media(max-width:1100px){.filter-controls{flex-wrap:wrap}.analysis-select{flex:1 1 25%}.favorites-toggle{min-height:42px}.filter-reset{margin-left:auto}.performance-table .horse-heading{min-width:250px}.favorite-hint{display:none}}
@media(max-width:600px){.analysis-filter-bar{margin:0 8px 14px;padding:14px 11px}.filter-bar-heading{flex-wrap:wrap;gap:13px;margin-bottom:13px}.filter-bar-heading h2{font-size:16px}.filter-bar-heading p{font-size:11px}.selection-mode{margin-left:auto}.filter-symbol{width:32px;height:32px}.filter-controls{gap:8px}.analysis-select{flex:1 1 calc(50% - 8px)}.analysis-select:nth-child(3){flex-basis:100%}.analysis-select summary{min-height:55px;padding:8px 10px}.filter-popover{width:100%;min-width:140px}.favorites-toggle{flex:1;font-size:12px;padding:10px}.filter-reset{padding:0 6px}.performance-caption{margin:0 11px 12px;font-size:11px;line-height:1.5}.performance-scroll{margin:0 7px}.performance-table .horse-heading{min-width:224px;width:224px}.horse-identity{padding-right:5px;gap:0}.horse-identity .horse-button{padding:11px 6px;gap:7px;min-height:77px}.horse-identity .horse-button strong{font-size:12px}.horse-identity .horse-button small{font-size:11px}.horse-identity .number{width:26px;height:35px;font-size:17px}.horse-button .race-silk{width:27px;height:36px}.favorite-star{width:31px;height:35px}.program-table .program-horse,.program-table .program-horse-heading{min-width:248px}.table-tools{padding:15px 10px}.table-tools input{font-size:13px;width:155px}.table-tools .sort select{font-size:12px}.table-footer{font-size:11px}.analysis-empty{margin:0 8px}.analysis-empty h3{font-size:18px}}

.race-selector{position:relative;padding:24px 21px 8px;background:radial-gradient(ellipse at 50% 0,#12455a40,transparent 62%),linear-gradient(120deg,#03131de0,#041923b8);border-top:1px solid #597179;border-radius:12px 12px 0 0}.race-selector:before{content:'';position:absolute;top:-1px;left:25%;right:25%;height:1px;background:linear-gradient(90deg,transparent,#edbd61,transparent);box-shadow:0 0 9px #efba5380}.selector-top{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:22px}.selector-days{display:flex;padding:7px;border:1px solid #24586a;border-radius:18px;background:linear-gradient(135deg,#061e28,#020e17);box-shadow:inset 0 0 0 4px #020b13,0 7px 18px #0002;width:540px;max-width:65%}.selector-days button{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;flex:1;min-height:55px;border-radius:12px;padding:10px 16px;color:#cce4ef;font-size:18px;white-space:nowrap;border:1px solid transparent}.selector-days button:not(:last-child):after{content:'';position:absolute;right:-1px;height:31px;top:12px;width:1px;background:#205167}.selector-days button.selected:after{display:none}.selector-days button.selected{background:radial-gradient(ellipse at 35% 15%,#ffe69b,#f7c35d 67%,#eab34e);border-color:#ffe7a0;color:#162029;box-shadow:inset 0 1px 4px #fff6,0 0 22px #edbc5938;font-weight:700}.selector-calendar{display:flex;align-items:center;gap:13px;padding:12px 10px;border:1px solid #d3a84f;border-radius:16px;background:linear-gradient(140deg,#172a29,#03121c 60%);box-shadow:0 0 0 5px #04121a,0 0 0 6px #16485d;min-height:63px}.selector-calendar button{display:flex;padding:6px;color:#f7c663}.selector-calendar label{display:flex;align-items:center;gap:15px;color:#f7c663}.selector-calendar input{padding:0;width:146px;font-size:20px;border:0;background:none;color:#e7f0f4;font-variant-numeric:tabular-nums}.selector-calendar input::-webkit-calendar-picker-indicator{width:0;padding:0;margin:0;opacity:0}.selector-cities{display:flex;padding:4px;border:1px solid #1b5268;border-top-color:#5b7780;border-radius:16px;background:linear-gradient(#031924,#04141e);box-shadow:inset 0 0 0 3px #00101a;overflow-x:auto;scrollbar-width:thin;margin-bottom:22px}.selector-cities button{position:relative;flex:1;min-width:91px;min-height:53px;border:1px solid transparent;border-radius:13px;padding:10px 12px;font-size:17px;color:#d9eaf2;white-space:nowrap}.selector-cities button:not(:last-child):after{content:'';position:absolute;right:-1px;top:14px;bottom:14px;width:1px;background:#184356}.selector-cities button.selected{color:#ffdc78;border-color:#edc465;background:radial-gradient(ellipse at 20% 10%,#d5b95728,transparent 65%),linear-gradient(140deg,#18302c,#071820);box-shadow:inset 0 0 11px #eac46840,0 0 13px #edc26523;font-weight:600}.selector-cities button.selected:after{display:none}.selector-races{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:12px;margin-bottom:23px}.selector-races>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:113px;border:1px solid #1b566e;border-top-color:#6d9aa7;border-radius:15px;background:radial-gradient(ellipse at 50% 5%,#153b4c66,transparent 70%),linear-gradient(135deg,#051d28,#020f19);color:#cce7f4;box-shadow:inset 0 -8px 22px #01091066}.selector-races>button strong{font-family:Georgia,serif;font-style:italic;font-size:43px;line-height:1;font-weight:700;text-shadow:0 2px 3px #0008}.selector-races>button>span{font-size:19px;font-variant-numeric:tabular-nums}.selector-races>button.selected{color:#ffd276;border-color:#ffdf85;background:radial-gradient(ellipse at 0 0,#ffc85a33,transparent 57%),linear-gradient(140deg,#182620,#03141d 70%);box-shadow:inset 0 0 13px #eeb54a4d,0 0 17px #eeb54a30}.selector-races>button.selected:after{content:'';position:absolute;bottom:0;left:20%;right:20%;height:2px;background:linear-gradient(90deg,transparent,#ffd372,transparent);box-shadow:0 0 10px #ffc45c}.race-badge{position:absolute;top:10px;right:10px;width:25px;height:25px;line-height:25px;border-radius:50%;font-style:normal;font-weight:700;font-size:17px;color:#fff;box-shadow:0 0 13px #16d57044}.race-badge.green{background:linear-gradient(#19df7b,#05aa51)}.race-badge.red{background:linear-gradient(#ff595c,#ed1b32);box-shadow:0 0 15px #ff304344}.selector-summary{display:flex;align-items:center;gap:26px;min-height:125px;padding:23px 28px;border:1px solid #a98b51;border-top-color:#bbab78;border-radius:17px;background:linear-gradient(90deg,#061a24f2 0%,#061a24ed 58%,#061a2477),url('/assets/racing-hero.webp') right 75%/cover;box-shadow:inset 0 1px #ffffff0a}.summary-category{display:flex;align-items:center;gap:22px;padding-right:26px;border-right:1px solid #a187465e}.summary-trophy{width:44px;height:52px;color:#f2c267;flex-shrink:0}.summary-category h2{font-family:Georgia,serif;font-size:29px;color:#f8db9f;margin:0 0 7px;font-weight:600;white-space:nowrap}.summary-category p{font-size:19px;color:#acc4d3;margin:0;line-height:1.25}.summary-surface{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid #30bf72;border-top-color:#70e698;border-radius:50px;padding:17px 25px;color:#20df7a;background:linear-gradient(120deg,#06312366,#011b1b88);white-space:nowrap;min-width:235px}.summary-surface svg{width:37px;height:37px}.summary-surface span{font-size:23px;color:#eff4f3}.summary-surface strong{font-size:22px;font-weight:500}.summary-surface i{font-size:24px;font-style:normal}.summary-surface.is-sand{border-color:#c49d60;color:#e2b679;background:#39261355}.summary-surface.is-synthetic{border-color:#438cc4;color:#7dcbf7;background:#102c4455}.summary-weather{margin-left:auto;display:flex;align-items:center;justify-content:center;gap:16px;border:1px solid #a78743;background:#06151caa;border-radius:50px;padding:13px 23px;min-width:218px}.summary-weather .weather-sun{width:40px;height:40px;color:#ffd268;fill:#e5b546}.summary-weather strong{font-size:27px;font-weight:500;color:#edf4f8}.summary-weather>span{font-size:17px;color:#c0cbd0}.summary-weather small{display:block;font-size:10px;color:#9fa9a9;margin-top:4px}.selector-caption{display:flex;justify-content:space-between;gap:15px;padding:11px 3px 3px;color:#96aebb;font-size:11px}.selector-caption>span:first-child{display:flex;align-items:center;gap:6px}.selector-caption>span:last-child{color:#c6ae7e}.selector-days button:hover:not(.selected),.selector-cities button:hover:not(.selected),.selector-races>button:hover:not(.selected){border-color:#638995;background-color:#11303d}
@media(min-width:1500px){.selector-days{width:600px}.selector-races>button{min-height:126px}.selector-races>button strong{font-size:49px}.selector-cities button{min-height:60px;font-size:18px}.selector-summary{min-height:136px}.summary-category h2{font-size:33px}.summary-category p{font-size:21px}}
@media(max-width:1100px){.race-selector{padding:20px 15px 8px}.selector-days{width:470px}.selector-days button{font-size:16px;padding:9px 10px}.selector-calendar{gap:4px}.selector-calendar input{font-size:17px;width:125px}.selector-calendar label{gap:9px}.selector-races{gap:9px}.selector-races>button{min-height:99px}.selector-races>button strong{font-size:36px}.selector-races>button>span{font-size:16px}.race-badge{top:7px;right:7px;width:21px;height:21px;line-height:21px;font-size:14px}.selector-summary{gap:18px;padding:20px}.summary-category{gap:13px;padding-right:18px}.summary-category h2{font-size:23px}.summary-category p{font-size:16px}.summary-trophy{width:33px}.summary-surface{min-width:185px;gap:10px;padding:14px 17px}.summary-surface span,.summary-surface strong{font-size:19px}.summary-surface svg{width:29px}.summary-weather{min-width:172px;gap:10px;padding:11px 16px}.summary-weather .weather-sun{width:30px}.summary-weather strong{font-size:23px}.summary-weather>span{font-size:14px}}
@media(max-width:800px){.selector-top{gap:18px;flex-wrap:wrap}.selector-days{max-width:none;width:100%}.selector-calendar{margin-left:auto}.selector-summary{flex-wrap:wrap}.summary-category{flex:1}.summary-weather{margin-left:auto}.selector-races{display:flex;overflow-x:auto;padding:3px 2px 9px;scrollbar-width:thin}.selector-races>button{min-width:92px;min-height:112px;flex:1}.selector-races>button strong{font-size:40px}.selector-cities button{font-size:16px}.summary-surface{margin-left:auto}}
@media(max-width:480px){.race-selector{padding:15px 9px 5px}.selector-top{margin-bottom:17px;gap:15px}.selector-days{padding:5px;border-radius:14px}.selector-days button{font-size:13px;min-height:48px;padding:7px 9px;gap:6px}.selector-days button svg{width:18px}.selector-days button:not(:last-child):after{top:9px}.selector-calendar{min-height:49px;padding:7px 9px;gap:14px;border-radius:12px;margin:0 auto}.selector-calendar input{font-size:17px;width:130px}.selector-calendar label svg{width:20px}.selector-cities{margin-bottom:15px;border-radius:13px}.selector-cities button{min-height:46px;min-width:91px;font-size:15px}.selector-races{margin-bottom:12px;gap:9px}.selector-races>button{min-width:82px;min-height:101px;border-radius:12px}.selector-races>button strong{font-size:37px}.selector-races>button>span{font-size:17px}.selector-summary{padding:17px 14px;gap:15px;border-radius:13px}.summary-category{width:100%;flex:auto;border-right:0;padding:0;gap:13px}.summary-category h2{font-size:24px;white-space:normal}.summary-category p{font-size:16px}.summary-trophy{width:36px;height:43px}.summary-surface{margin:0;min-width:0;padding:10px 13px;gap:7px;flex:1}.summary-surface svg{width:24px;height:27px}.summary-surface span,.summary-surface strong{font-size:16px}.summary-weather{padding:9px 12px;min-width:0;gap:8px}.summary-weather .weather-sun{width:24px;height:27px}.summary-weather strong{font-size:21px}.summary-weather>span{font-size:12px}.summary-weather small{font-size:8px}.selector-caption{font-size:9px;gap:8px}}
.site-shell{width:100%;max-width:none;min-height:100vh;margin:0;border:0;border-radius:0}main{padding-left:16px;padding-right:16px}.home-hero{margin-left:-16px;margin-right:-16px}
.analysis-filter-bar{padding:8px 10px;margin:0 16px 12px;border-radius:14px;background:linear-gradient(110deg,#0a2431,#061b26);box-shadow:none}.filter-controls{align-items:center;gap:12px;flex-wrap:nowrap}.analysis-select{flex:1 1 0}.analysis-select summary{min-height:48px;padding:5px 15px;gap:12px;border-radius:28px;background:linear-gradient(120deg,#0b2735,#071c27);border-color:#284c5d}.analysis-select summary small{font-size:10px;line-height:1.2}.analysis-select summary strong{font-size:13px;line-height:1.3}.favorites-toggle{min-height:48px;padding:8px 15px;border-radius:28px;font-size:12px;gap:9px}.favorites-toggle b{font-size:10px;min-width:17px;height:17px;line-height:17px}.favorite-switch{position:relative;width:34px;height:20px;background:#344d5b;border:1px solid #658392;border-radius:15px}.favorite-switch:after{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#93aebb;transition:transform .15s}.favorites-toggle.active .favorite-switch{background:#8a6b32;border-color:#efc66e}.favorites-toggle.active .favorite-switch:after{transform:translateX(14px);background:#ffe0a1}.filter-reset{align-self:stretch;border-left:1px solid #254452;border-right:1px solid #254452;padding:0 17px;margin:0}.selection-mode{border-radius:26px;padding:3px}.selection-mode button{border-radius:23px;padding:9px 14px}.selection-mode button[aria-pressed=true]{background:linear-gradient(130deg,#50482a55,#233b42);box-shadow:inset 0 0 0 1px #a89157;color:#f4d18b}.active-filters{margin-top:7px;gap:5px}.active-filters button{padding:2px 9px;font-size:11px}
.summary-surface{position:relative;isolation:isolate;min-width:270px;min-height:92px;padding:25px 36px;gap:9px;border:2px solid #409f6b;border-radius:50%;background:repeating-linear-gradient(90deg,#0c3927 0 12px,#103f2c 12px 24px);box-shadow:inset 0 0 0 5px #183d31,inset 0 0 0 6px #65ae7b,inset 0 0 0 10px #183d31,inset 0 0 0 11px #65ae7b,0 4px 18px #0004}.summary-surface:before{content:'';position:absolute;inset:15px;border:1px solid #7bb687;border-radius:50%;z-index:-1;background:#06271e}.summary-surface:after{content:'';position:absolute;right:16px;top:calc(50% - 7px);width:12px;height:14px;background:conic-gradient(#fff9 25%,#193428 0 50%,#fff9 0 75%,#193428 0) 0 0/6px 6px;transform:rotate(-8deg)}.summary-surface svg{width:22px;height:25px}.summary-surface span,.summary-surface strong{font-size:20px}.summary-surface.is-sand{background:repeating-linear-gradient(90deg,#604829 0 12px,#564023 12px 24px);border-color:#cba66b;box-shadow:inset 0 0 0 5px #54452f,inset 0 0 0 6px #d5b887,inset 0 0 0 10px #54452f,inset 0 0 0 11px #d5b887}.summary-surface.is-sand:before{background:#332819;border-color:#b69a6c}.summary-surface.is-synthetic{background:#21465a;border-color:#76a7c0;box-shadow:inset 0 0 0 5px #254353,inset 0 0 0 6px #90b6c9,inset 0 0 0 10px #254353,inset 0 0 0 11px #90b6c9}.summary-surface.is-synthetic:before{background:#112b3a;border-color:#83acbf}
@media(max-width:1100px){.filter-controls{flex-wrap:wrap;gap:7px}.analysis-select{flex:1 1 25%}.favorites-toggle{min-height:38px;padding:5px 12px}.selection-mode{margin-left:auto}.filter-reset{padding:0 13px}.summary-surface{min-width:235px;padding:25px 29px}.summary-surface span,.summary-surface strong{font-size:17px}}
@media(max-width:600px){main{padding:0 6px}.home-hero{margin-left:-6px;margin-right:-6px}.analysis-filter-bar{margin:0 7px 10px;padding:7px}.analysis-select,.analysis-select:nth-child(3){flex:1 1 0}.analysis-select summary{padding:6px 8px;min-height:44px;gap:5px}.analysis-select summary>svg:first-child{display:none}.analysis-select summary strong{font-size:12px}.analysis-select summary>svg:last-child{width:12px}.filter-popover{min-width:160px}.analysis-select:nth-child(3) .filter-popover{left:auto;right:0}.favorites-toggle{flex:0 1 auto;font-size:10px;gap:5px;padding:5px 8px;min-height:35px}.favorites-toggle>svg{width:14px}.favorites-toggle b{display:none}.favorite-switch{width:28px;height:18px}.favorite-switch:after{width:12px;height:12px}.favorites-toggle.active .favorite-switch:after{transform:translateX(10px)}.filter-reset{font-size:10px;padding:0 7px}.filter-reset svg{width:12px}.selection-mode{padding:2px}.selection-mode button{font-size:10px;padding:7px}.summary-surface{flex:none;width:100%;min-height:90px;margin:0;padding:25px 35px}.summary-surface span,.summary-surface strong{font-size:20px}.summary-weather{margin:0 auto}.table-tools{padding-top:12px;padding-bottom:12px}}

/* Compact race navigation: number | start time, with inline program badges. */
.selector-races{display:flex;gap:10px;margin-bottom:17px;padding:3px 2px 6px;overflow-x:auto;scrollbar-width:thin}.selector-races>button{flex:1 0 108px;min-width:108px;min-height:44px;height:44px;flex-direction:row;gap:9px;padding:7px 12px;border-radius:12px;white-space:nowrap;box-shadow:inset 0 1px 0 #ffffff05}.selector-races>button strong{font-family:inherit;font-style:normal;font-size:19px;line-height:1;font-weight:600;color:#6fcef0;text-shadow:none}.selector-races>button>span{font-size:15px;font-weight:500;line-height:18px;padding-left:9px;border-left:1px solid #45616d;color:#deebf2}.selector-races>button.selected{box-shadow:inset 0 0 10px #eeb54a20,0 0 9px #eeb54a15}.selector-races>button.selected strong,.selector-races>button.selected>span{color:#ffda8e}.selector-races>button.selected>span{border-left-color:#9b8150}.selector-races .race-badge{position:static;flex-shrink:0;width:18px;height:18px;line-height:18px;font-size:12px;box-shadow:none}.selector-races>button.selected:after{height:1px;left:25%;right:25%;box-shadow:none}
@media(max-width:600px){.selector-races{gap:7px;margin-bottom:12px}.selector-races>button{flex:0 0 auto;min-width:103px;padding:7px 11px;gap:8px;min-height:44px;height:44px;border-radius:10px}.selector-races>button strong{font-size:18px}.selector-races>button>span{font-size:14px;padding-left:8px}}

/* Compact information band and surface-specific miniature racetrack. */
.selector-summary{min-height:78px;padding:8px 20px;gap:22px;border-radius:12px}.summary-category{gap:13px;padding-right:22px}.summary-category h2{font-size:23px;margin-bottom:3px}.summary-category p{font-size:14px}.summary-trophy{width:31px;height:37px}.summary-surface,.summary-surface.is-sand,.summary-surface.is-synthetic{min-height:54px;min-width:290px;height:54px;padding:5px 18px 5px 0;border:1px solid #33515d;border-radius:30px;background:linear-gradient(120deg,#09212b,#04131d);box-shadow:inset 0 1px 0 #ffffff07;gap:9px;isolation:auto}.summary-surface:before,.summary-surface:after{display:none}.summary-surface svg.track-miniature{width:116px;height:68px;flex-shrink:0;margin-left:-8px;filter:drop-shadow(0 3px 3px #0005)}.summary-surface span,.summary-surface strong{font-size:18px}.summary-surface strong{font-weight:500}.summary-surface i{font-size:17px;color:#527180}.summary-weather{min-width:170px;padding:7px 14px;gap:11px}.summary-weather .weather-sun{width:28px;height:28px}.summary-weather strong{font-size:22px}.summary-weather>span{font-size:13px}.summary-weather small{font-size:9px;margin-top:1px}.selector-caption{padding-top:6px;font-size:10px}
@media(max-width:800px){.selector-summary{gap:8px 15px;padding:10px 13px}.summary-category{border:0;padding-right:0;flex:1}.summary-category h2{font-size:20px}.summary-category p{font-size:12px}.summary-surface{order:3;margin:0;min-width:265px}.summary-weather{margin-left:auto;min-width:0}.summary-trophy{width:26px}}
@media(max-width:480px){.selector-summary{display:grid;grid-template-columns:1fr auto;gap:8px}.summary-category{width:auto;gap:9px}.summary-category h2{font-size:18px}.summary-category p{font-size:11px}.summary-weather{margin:0;padding:6px 9px;gap:6px}.summary-weather strong{font-size:18px}.summary-weather .weather-sun{width:21px;height:24px}.summary-weather>span{font-size:10px}.summary-weather small{font-size:7px}.summary-surface{grid-column:1/-1;width:100%;height:48px;min-height:48px;min-width:0;justify-content:center;padding:3px 15px;gap:10px}.summary-surface svg.track-miniature{width:101px;height:59px}.summary-surface span,.summary-surface strong{font-size:17px}}

/* Tight, aligned program rows and inline race classification. */
.race-selector{padding:12px 14px 4px}.selector-top{gap:16px;margin-bottom:10px}.selector-days{padding:5px;border-radius:13px}.selector-days button{min-height:42px;padding:6px 14px;font-size:16px;border-radius:9px}.selector-days button:not(:last-child):after{top:8px;height:26px}.selector-calendar{min-height:48px;padding:6px 9px;border-radius:12px;box-shadow:0 0 0 3px #04121a,0 0 0 4px #16485d}.selector-calendar input{font-size:18px}.selector-cities{margin-bottom:9px;padding:3px;border-radius:12px}.selector-cities button{min-height:43px;padding:6px 12px;font-size:16px;border-radius:9px}.selector-cities button:not(:last-child):after{top:10px;bottom:10px}.selector-races{margin-bottom:9px;padding:0;gap:9px}.selector-summary{gap:18px;padding:7px 16px;min-height:70px}.summary-category>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.summary-category h2{font-family:inherit;font-size:20px;font-weight:600;margin:0;white-space:normal}.summary-category p{font-size:16px;margin:0;color:#c4d3dc}.summary-category p:before{content:', ';color:#c4d3dc}.summary-category{gap:11px;padding-right:18px}.summary-trophy{width:27px;height:32px}.selector-caption{padding:4px 3px 0}
@media(max-width:1100px){.summary-category h2{font-size:17px}.summary-category p{font-size:14px}.summary-category>div{gap:4px}.selector-summary{gap:12px}}
@media(max-width:800px){.selector-top{gap:10px}.selector-calendar{margin-left:auto}.summary-category{padding:0}.selector-summary{flex-wrap:wrap}.summary-category>div{display:block}.summary-category h2,.summary-category p{display:inline}.summary-category p:before{content:', '}}
@media(max-width:480px){.race-selector{padding:10px 8px 4px}.selector-days button{min-height:40px;padding:5px 7px;font-size:12px;gap:5px}.selector-calendar{min-height:42px;margin:0 0 0 auto;padding:4px 8px}.selector-calendar input{font-size:16px}.selector-cities button{min-height:39px;font-size:14px}.selector-cities{margin-bottom:8px}.selector-races{margin-bottom:8px;padding-bottom:3px}.selector-summary{padding:7px 10px;gap:6px}.summary-category h2{font-size:15px}.summary-category p{font-size:12px}.summary-trophy{width:22px;height:27px}.summary-category{gap:7px}.summary-surface svg.track-miniature{height:54px}.selector-caption{font-size:9px}}

/* Center the complete race information group; keep condition beside surface. */
.selector-summary{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 22px}.summary-category{flex:0 1 auto}.summary-surface{margin:0;order:0}.summary-weather{margin:0;flex:0 0 auto}.summary-condition{padding:3px 20px 3px 0;border-right:1px solid #35505b;white-space:nowrap;line-height:1.35}.summary-condition small{display:block;color:#96b2c2;font-size:11px;margin-bottom:3px}.summary-condition small em{font:inherit;color:#b5a17b}.summary-condition strong{display:block;color:#dbe8ef;font-size:15px;font-weight:500}.summary-condition b{color:#f3ca7d;font-weight:600;font-variant-numeric:tabular-nums}.summary-condition b span{color:#708d9e}
@media(max-width:800px){.selector-summary{gap:9px 16px}.summary-category{flex-basis:100%;justify-content:center;text-align:center}.summary-surface{order:0;flex:0 1 auto;width:auto;min-width:260px}.summary-condition{padding-right:0;border:0}.summary-weather{margin:0}.summary-condition strong{font-size:14px}}
@media(max-width:480px){.selector-summary{gap:7px 12px;padding:8px}.summary-surface{flex-basis:100%;min-width:0;max-width:310px}.summary-condition{text-align:center}.summary-condition small{font-size:10px;margin-bottom:1px}.summary-condition strong{font-size:13px}.summary-weather{padding:5px 10px}}

/* Spread information across the band with equal free space between groups. */
.selector-summary{justify-content:space-evenly;column-gap:24px}.summary-category{padding-right:0;border-right:0;flex:0 1 auto}.summary-condition{padding-right:0;border-right:0}.summary-weather{margin:0}.summary-surface{flex:0 0 auto}
@media(max-width:1100px){.selector-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.summary-category,.summary-surface,.summary-condition,.summary-weather{justify-self:center}.summary-category{justify-content:center;text-align:center}.summary-surface{width:auto;max-width:100%;min-width:0}.summary-condition{text-align:center}}
@media(max-width:600px){.selector-summary{gap:9px 12px}.summary-category,.summary-surface{grid-column:1/-1}.summary-surface{width:min(100%,310px)}.summary-condition{grid-column:1}.summary-weather{grid-column:2}.summary-category>div{text-align:center}}

.race-pace{padding:0 15px 18px;background:radial-gradient(ellipse at 45% 25%,#17413355,transparent 65%)}.pace-view-heading{display:flex;align-items:center;justify-content:space-between;border:1px solid #28444e;border-radius:10px;padding:12px 18px;background:#041720;margin-bottom:12px}.pace-view-heading>span{display:flex;align-items:center;gap:10px;font-size:18px;color:#f6d17e}.pace-view-heading>small{font-size:10px;letter-spacing:1px;color:#91aab6}.pace-diagram-scroll{overflow-x:auto;scrollbar-width:thin}.pace-diagram{position:relative;min-width:960px}.pace-distance-ruler{display:flex;height:64px;padding:0 15px 0 27px;align-items:center;color:#e2ecef}.pace-distance-ruler>span{position:relative;width:170px;padding-left:34px;flex-shrink:0}.pace-distance-ruler>span svg{position:absolute;left:0;top:3px;color:#edc575}.pace-distance-ruler b,.pace-distance-ruler small{display:block}.pace-distance-ruler small{font-size:11px;color:#9eb6c3}.pace-distance-ruler>div{display:flex;justify-content:space-between;width:100%;font-size:13px}.pace-track-lines{position:absolute;inset:55px 18px 0 195px;display:flex;justify-content:space-between;pointer-events:none;z-index:1}.pace-track-lines i{border-left:1px dashed #75918d55;height:100%}.pace-group{--pace-accent:#43dd94;display:grid;grid-template-columns:180px minmax(0,1fr) 220px;position:relative;border:1px solid var(--pace-accent);border-radius:15px;overflow:hidden;margin-bottom:12px;min-height:142px;background:linear-gradient(100deg,#082a1bdd,#0a291db0 70%,#041920)}.pace-gold{--pace-accent:#f2bd43}.pace-cyan{--pace-accent:#41b9f3}.pace-group.pace-gold{background:linear-gradient(110deg,#332c12aa,#0d291fcc 65%,#081b22)}.pace-group.pace-cyan{background:linear-gradient(110deg,#062436dd,#041e2cbb)}.pace-group-title{display:flex;align-items:flex-start;gap:10px;padding:25px 15px 18px 19px;z-index:2;background:linear-gradient(90deg,#03181ce6,transparent)}.pace-group-title>svg{color:var(--pace-accent);width:29px;height:29px;flex-shrink:0}.pace-group-title h3{font-size:24px;color:var(--pace-accent);margin:0 0 5px}.pace-group-title p{font-size:13px;line-height:1.5;color:#b1c6d0;margin:0}.pace-running-lane{position:relative;min-height:142px}.pace-lane-rail{position:absolute;inset:33px 15px 35px 0;border:1px solid #79bb9f22;border-radius:50px;background:#a0dac508}.pace-lane-rail:after{content:'';position:absolute;top:50%;left:10px;right:10px;border-top:2px dotted #88b9af65}.pace-runner{position:absolute;top:13px;width:130px;transform:translateX(-50%);padding:0;z-index:3;transition:filter .15s}.pace-runner:hover{filter:brightness(1.25)}.pace-runner-art{display:block;width:130px;height:86px;filter:drop-shadow(0 5px 3px #0008)}.pace-runner strong{display:block;margin-top:-9px;position:relative;font-size:11px;font-weight:600;color:#f1f5f6;text-shadow:0 2px 4px #000;background:#031b24bb;border-radius:8px;padding:3px;white-space:nowrap}.pace-lane-note{position:absolute;bottom:7px;left:0;right:0;text-align:center;color:var(--pace-accent);font-size:11px}.pace-no-runners{position:absolute;top:55px;left:30%;color:#97afba}.pace-candidates{padding:13px 15px;border-left:1px solid var(--pace-accent);background:#031720e6;z-index:2}.pace-candidates h4{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 9px;color:var(--pace-accent);font-weight:500}.pace-candidates button{display:flex;align-items:center;gap:9px;text-align:left;padding:2px 0;width:100%;font-size:11px}.pace-candidates b{width:23px;border-radius:4px;color:white;text-align:center;font-size:15px;text-shadow:0 1px 3px #000}.pace-insights{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:6px}.pace-insights article{border:1px solid #284652;border-radius:13px;background:linear-gradient(125deg,#061e29,#03131c);overflow:hidden}.pace-insights h3{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:500;margin:0;padding:14px 17px;border-bottom:1px solid #203b48}.pace-insights h3>svg{width:18px;height:18px;color:#f4c56b}.pace-insights h3>small{margin-left:auto;color:#d5bc84;font-size:10px;border:1px solid #6c603d;border-radius:20px;padding:3px 8px}.pace-ranking{padding:8px 15px}.pace-ranking>div{display:flex;align-items:center;gap:12px;min-height:44px;border-bottom:1px solid #16313e}.pace-ranking>div:last-child{border:0}.pace-ranking strong{color:var(--pace-accent);font-size:14px;min-width:62px;font-weight:500}.pace-ranking>div>div{display:flex;gap:6px;flex-wrap:wrap}.pace-ranking button{min-width:28px;height:30px;border-radius:5px;font-size:18px;color:#fff;text-shadow:0 1px 3px #000;box-shadow:inset 0 1px 1px #ffffff55}.pace-ranking small{margin-left:auto;color:#9eb7c5;white-space:nowrap}.pace-green{--pace-accent:#43dd94}.pace-comments{padding:10px 16px}.pace-comments>div{display:grid;grid-template-columns:85px 1fr;gap:9px;margin-bottom:9px}.pace-comments strong{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:var(--pace-accent);font-weight:500}.pace-comments i{width:10px;height:10px;border-radius:50%;background:var(--pace-accent);margin-top:5px;flex-shrink:0}.pace-comments p{font-size:12px;line-height:1.45;margin:0;color:#b6cbd6}.pace-profile-track{display:flex;align-items:center;justify-content:center;gap:17px;height:98px;padding:4px 14px}.pace-profile-track .track-miniature{width:160px;height:96px}.pace-profile-track strong{font-size:14px;font-weight:500}.pace-profile-track small{display:block;font-size:11px;color:#a2bac8;margin-top:7px}.pace-rhythm-label{padding:0 16px;font-size:12px;display:flex;justify-content:space-between;gap:8px}.pace-rhythm-label small{font-size:9px;color:#8da9b9}.pace-rhythm{width:100%;height:65px;padding:0 16px 5px}.pace-rhythm text{fill:#a7bfcc;font-size:10px}
@media(min-width:1500px){.pace-group{grid-template-columns:210px minmax(0,1fr) 280px;min-height:150px}.pace-running-lane{min-height:150px}.pace-runner{width:150px;top:9px}.pace-runner-art{width:150px;height:98px}.pace-runner strong{font-size:12px}.pace-candidates button{font-size:12px}.pace-candidates{padding:14px 20px}.pace-group-title h3{font-size:27px}.pace-comments p{font-size:14px}}
@media(max-width:1100px){.pace-insights{grid-template-columns:1fr 1fr}.pace-profile{grid-column:1/-1}.pace-profile-track{height:100px}.pace-rhythm{height:75px}}
@media(max-width:600px){.race-pace{padding:0 7px 12px}.pace-view-heading{padding:10px;gap:10px}.pace-view-heading>span{font-size:15px;white-space:nowrap}.pace-view-heading>small{font-size:8px;max-width:135px;text-align:right}.pace-insights{grid-template-columns:1fr;gap:10px}.pace-profile{grid-column:auto}.pace-insights h3{font-size:15px}.pace-diagram-scroll{border-radius:12px}.pace-comments p{font-size:12px}}

/* Reference-matched compact three-lane composition with raster horse sprites. */
.pace-distance-ruler,.pace-insights{display:none}.pace-view-heading{padding:6px 12px;margin-bottom:7px;border:0;background:none}.pace-view-heading>span{font-size:14px}.pace-diagram{min-width:1050px}.pace-group{grid-template-columns:165px minmax(0,1fr) 230px;min-height:96px;margin-bottom:10px;border-radius:12px;background:linear-gradient(100deg,#032119,#09251bc9 70%,#021a20);box-shadow:inset 3px 0 12px #24d57818}.pace-group.pace-gold{min-height:110px;background:linear-gradient(100deg,#292b12aa,#0b291ecc 70%,#031820);box-shadow:inset 3px 0 12px #f8c33918}.pace-group.pace-cyan{background:linear-gradient(100deg,#032232,#061e2ccc);box-shadow:inset 3px 0 12px #32bfff18}.pace-group-title{padding:18px 12px 12px 16px;gap:9px}.pace-group-title h3{font-size:21px;margin-bottom:2px}.pace-group-title p{font-size:12px;line-height:1.35}.pace-group-title>svg{width:27px;height:27px}.pace-running-lane{min-height:96px}.pace-gold .pace-running-lane{min-height:110px}.pace-runner{top:4px;width:116px}.pace-photo-horse{display:block;width:116px;height:70px;background-image:url('/assets/pace-horses-v2.png');background-size:400% 200%;background-repeat:no-repeat;position:relative;filter:drop-shadow(0 4px 3px #0009)}.pace-photo-horse>b{position:absolute;left:45%;top:51%;min-width:19px;height:23px;line-height:23px;font-size:16px;border:1px solid #ffffff44;border-radius:4px;color:#fff;text-shadow:0 1px 2px #000}.pace-runner strong{font-size:10px;margin-top:-5px;padding:2px 4px;display:inline-block;max-width:135px;white-space:normal;line-height:1.15;background:#021820c9}.pace-lane-rail{inset:23px 12px 23px 0}.pace-lane-note{display:none}.pace-gold .pace-lane-note{display:block;bottom:5px;font-size:10px;left:18%;right:10%;border-top:1px solid #d3ab30;padding-top:3px}.pace-candidates{padding:8px 13px}.pace-candidates h4{font-size:14px;margin:0 0 5px;gap:7px}.pace-candidates button{font-size:10px;line-height:1.1;padding:1px 0;gap:8px}.pace-candidates b{font-size:12px;width:20px;line-height:17px}.pace-track-lines{inset:0 245px 0 17%;z-index:1}.pace-track-lines i{border-color:#77988955}.pace-candidates h4 svg{width:17px;height:17px}.race-pace{padding-bottom:7px}
@media(min-width:1500px){.pace-group{grid-template-columns:210px minmax(0,1fr) 280px;min-height:115px}.pace-group.pace-gold{min-height:125px}.pace-running-lane{min-height:115px}.pace-gold .pace-running-lane{min-height:125px}.pace-runner{width:142px;top:2px}.pace-photo-horse{width:142px;height:85px}.pace-runner strong{font-size:12px}.pace-group-title{padding-top:23px}.pace-group-title h3{font-size:25px}.pace-group-title p{font-size:14px}.pace-candidates{padding:12px 18px}.pace-candidates h4{font-size:17px}.pace-candidates button{font-size:12px}.pace-candidates b{font-size:14px;line-height:19px}.pace-track-lines{right:295px}}

.pace-reference{margin:0;padding:0 12px 8px;width:100%;min-width:0}.pace-reference img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.pace-reference figcaption{font-size:10px;color:#9cb4c1;padding:6px 2px 0;text-align:right}.pace-reference img{aspect-ratio:1200/312}
@media(max-width:600px){.pace-reference{padding:0 4px 6px}.pace-reference figcaption{font-size:9px;text-align:center}}

#race-analysis-tabs{justify-content:center;gap:6px;padding:8px 12px;background:linear-gradient(180deg,#0b2430,#061a24);scrollbar-width:thin}#race-analysis-tabs [role=tab]{flex-shrink:0;min-height:43px!important;padding:11px 21px!important;border:1px solid transparent!important;border-radius:9px;transition:background .15s,border-color .15s;align-items:center;justify-content:center}#race-analysis-tabs [role=tab][aria-selected=true]{background:linear-gradient(135deg,#d9b25b20,#a4792920)!important;border-color:#b8944c88!important;box-shadow:inset 0 1px 0 #ffe6a71a,0 2px 8px #0002}#race-analysis-tabs [role=tab]:hover{background-color:#143442!important}#race-analysis-tabs [role=tab]:focus-visible{outline:2px solid #f4c76e;outline-offset:-2px}.tab-panel>.pace-reference{padding-top:12px}
@media(max-width:900px){#race-analysis-tabs{justify-content:flex-start;gap:4px;padding:7px 8px}#race-analysis-tabs [role=tab]{padding:10px 14px!important;min-height:42px!important}#race-analysis-tabs [role=tab]>*{font-size:13px!important}}

.performance-table .metric{--bar:#18f096;--bar-light:#b7ffdc;--bar-dark:#00a966}.performance-table .metric.tempo{--bar:#29bfff;--bar-light:#b7eeff;--bar-dark:#007ec3}.performance-table .metric.speed{--bar:#ffc451;--bar-light:#fff1bb;--bar-dark:#c98a23}.performance-table .metric.leader{--bar:#ff405c;--bar-light:#ffc0c8;--bar-dark:#c31e40}.performance-table .metric>span{font-size:12px;font-weight:600;margin-bottom:8px;color:#e4f0f5;text-shadow:0 0 4px #daeaff33}.performance-table .metric i{position:relative;height:12px;border:1px solid #416173;border-radius:9px;background:linear-gradient(#1b3949,#0c2532 50%,#244553);box-shadow:inset 0 1px 3px #0008,0 1px 1px #ffffff12;overflow:visible}.performance-table .metric b{height:100%;border-radius:8px;background:linear-gradient(180deg,var(--bar-light),var(--bar) 42%,var(--bar-dark) 100%);box-shadow:0 0 7px color-mix(in srgb,var(--bar) 65%,transparent),inset 0 1px 2px #ffffffc0;position:relative}.performance-table .metric b:after{content:'';position:absolute;right:3px;top:1px;width:2px;height:5px;background:#fff9;border-radius:2px}.performance-table .metric i:after{content:'';position:absolute;left:82%;top:-3px;height:16px;width:2px;background:var(--bar);opacity:.65;box-shadow:0 0 3px var(--bar);border-radius:1px}.metric-sort{display:flex;align-items:center;justify-content:center;gap:3px;color:#b0cad7;font-size:11px;padding:7px 2px;min-height:32px;border-radius:5px;white-space:nowrap}.metric-sort small{font-size:12px;color:#7696a9}.metric-sort:hover{background:#224251;color:#ffe0a1}.metric-sort.is-sorted{background:#d6b45b1c;color:#ffd781}.metric-sort.is-sorted small{color:#ffd781}.score-sort-status{color:#d4bc86;font-size:11px}.score-sort-status button{font-size:11px;text-decoration:underline;color:#a9c4d2;margin-left:7px}.performance-caption{flex-wrap:wrap}.performance-table .metric-head{padding-top:4px;padding-bottom:4px}

#race-analysis-tabs{gap:0;padding:4px 12px 8px;background:#031923}#race-analysis-tabs [role=tab]{min-width:103px;min-height:54px!important;border:1px solid #124254!important;border-radius:12px!important;margin-left:-1px;background:linear-gradient(145deg,#052536,#021923)!important;padding:14px 23px!important}#race-analysis-tabs [role=tab][aria-selected=true]{border-color:#aa945b!important;background:linear-gradient(130deg,#62563966,#29454b)!important;box-shadow:inset 0 0 10px #f6d78020,0 0 10px #f6d78012;z-index:1}#race-analysis-tabs [role=tab][aria-selected=true]>*{color:#ffe5a0!important}.form-analysis{padding-top:8px}.form-data-note{font-size:11px;color:#9ab5c3;margin:0 17px 8px}.form-scroll{margin:0 12px;border-color:#114254;border-radius:3px}.quarter-table{min-width:1150px;background:#021b29;table-layout:fixed;font-size:12px}.quarter-table th,.quarter-table td{border-right:1px solid #164052;border-bottom:1px solid #154353;padding:0}.quarter-table thead th{height:43px;text-align:left;padding:6px 9px;background:linear-gradient(120deg,#062c3a,#011a27);color:#cfdee7}.quarter-table thead th small{display:block;font-size:10px;font-weight:400;color:#9fb9cd}.quarter-table thead th b{color:#f4c05e}.quarter-table thead th:nth-child(1){width:46px}.quarter-table thead th:nth-child(2){width:155px}.quarter-table thead th:nth-child(3){width:80px;text-align:center}.quarter-table tbody tr:nth-child(even){background:#062432}.form-number{display:block;width:31px;height:36px;border-radius:4px;margin:auto;color:#fff;font-size:22px;text-shadow:0 1px 3px #0007;box-shadow:inset 0 1px 0 #ffffff55}.form-horse{display:flex;align-items:center;gap:7px;padding:6px 5px;text-align:left;width:100%}.form-horse svg{width:29px;height:39px;flex-shrink:0}.form-horse strong{display:block;font-size:12px;font-weight:600;color:#e0eaf0}.form-horse small{display:block;font-size:10px;color:#a2bacd;line-height:1.4;margin-top:4px}.form-results{text-align:center}.form-results>div{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;padding:0 7px}.form-results i{display:block;width:8px;height:10px;border-radius:50%;box-shadow:inset -2px -1px #0003}.form-results>span{display:block;font-size:10px;color:#c7d9e4;margin-top:7px}.quarter-run{margin:2px;border:1px solid #164354;border-radius:4px;overflow:hidden;background:linear-gradient(110deg,#06314344,#001722);min-height:76px}.quarter-run header{height:25px;display:flex;align-items:center;justify-content:space-between;padding:3px 7px;border-bottom:1px solid #0e3547;font-size:12px;color:#d0e3ee;white-space:nowrap}.quarter-content{display:flex;align-items:center;gap:5px;padding:2px 5px 4px;height:49px}.quarter-chart{flex:1;min-width:0}.quarter-chart svg{display:block;width:100%;height:27px}.quarter-values{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.quarter-values span{text-align:center;background:linear-gradient(#113c50,#082a3c);font-size:11px;line-height:17px;color:#d4ecf6}.quarter-average{text-align:center;min-width:39px;align-self:flex-end}.quarter-average small,.quarter-duration small{display:block;font-size:10px;color:#9fb8cb}.quarter-average b{font-size:13px;color:#f3b936;font-weight:600}.quarter-duration{border-left:1px solid #173b4b;padding-left:7px;min-width:47px;text-align:center;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.quarter-duration span{font-size:12px;color:#d5e4ed;margin-top:4px}.quarter-missing{min-height:72px;display:flex;align-items:center;justify-content:center;color:#789bad;font-size:11px;flex:1}
@media(max-width:900px){#race-analysis-tabs{justify-content:flex-start;padding-left:5px;padding-right:5px}#race-analysis-tabs [role=tab]{min-width:94px;padding:12px 17px!important;min-height:49px!important}.form-scroll{margin:0 6px}.quarter-table tbody th{position:sticky;left:0;background:#06212e;z-index:1}}

/* Single oval navigation rail, matching the supplied gold-and-navy reference. */
.race-tabs-frame{padding:13px 16px 15px;background:#031923}.race-tabs-frame #race-analysis-tabs{width:100%;padding:0;gap:0;justify-content:space-between;border:1px solid #355d6d;border-top-color:#648593;border-radius:50px;background:linear-gradient(180deg,#062632,#00151e 75%);box-shadow:inset 0 1px 0 #ffffff0c,0 8px 24px #0002;scrollbar-width:thin}.race-tabs-frame #race-analysis-tabs [role=tab]{position:relative;isolation:isolate;flex:1 0 auto;flex-direction:row;gap:12px;margin:0;min-width:0;min-height:72px!important;padding:16px 22px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none;overflow:visible;align-items:center;justify-content:center}.race-tabs-frame #race-analysis-tabs [role=tab]>*{position:relative;z-index:1;font-family:Georgia,'Times New Roman',serif;font-size:19px!important;font-weight:400;color:#a9c4d1!important;white-space:nowrap}.race-tabs-frame #race-analysis-tabs [role=tab]:not(:last-child):after{content:'';position:absolute;right:0;top:28%;bottom:28%;width:1px;background:#315565;z-index:0}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]{background:transparent!important;border:0!important}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]:before{content:'';position:absolute;inset:0 0 0 0;background:linear-gradient(145deg,#95744966,#34362b 45%,#0b2228);border:1px solid #d4aa62;border-radius:36px 25px 25px 36px;box-shadow:inset 0 1px 5px #ffe4a04d,0 0 16px #e7b75c22;z-index:0}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{color:#f5d38e!important;text-shadow:0 0 10px #d4a95022}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>div:after{content:'';position:absolute;bottom:-14px;left:20%;right:20%;height:2px;background:#edca76;box-shadow:0 0 7px #f3d18344}.race-tab-icon{display:flex;align-items:center;justify-content:center;width:31px;height:33px;flex-shrink:0}.race-tab-icon svg{width:100%;height:100%;stroke-width:1.6;filter:drop-shadow(0 2px 1px #0005)}.race-tabs-frame #race-analysis-tabs [role=tab]:hover{background:#173a4344!important}
@media(min-width:1600px){.race-tabs-frame #race-analysis-tabs [role=tab]{min-height:82px!important;gap:16px}.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:23px!important}.race-tab-icon{width:37px;height:39px}}
@media(max-width:1100px){.race-tabs-frame #race-analysis-tabs [role=tab]{padding:14px 18px!important;min-height:64px!important;gap:9px}.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:17px!important}.race-tab-icon{width:26px;height:29px}}
@media(max-width:600px){.race-tabs-frame{padding:9px 7px 11px}.race-tabs-frame #race-analysis-tabs{justify-content:flex-start;border-radius:32px}.race-tabs-frame #race-analysis-tabs [role=tab]{min-height:57px!important;padding:12px 17px!important}.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:16px!important}.race-tab-icon{width:24px;height:26px}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>div:after{bottom:-11px}}

.gallop-analysis{padding:0 12px 15px}.gallop-demo-note{font-size:10px;color:#abbbbf;letter-spacing:.6px;margin:0 3px 8px}.gallop-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:10px;align-items:start}.gallop-cards{display:grid;gap:10px;min-width:0}.gallop-card{border:1px solid #205269;border-radius:13px;padding:9px;background:radial-gradient(ellipse at 40% 0,#12425788,transparent 75%),linear-gradient(125deg,#072838,#031b28);box-shadow:inset 0 1px 0 #48708344;min-width:0}.gallop-card-header{display:flex;align-items:center;gap:12px;min-height:61px;padding:0 4px 9px}.gallop-number{display:flex;align-items:center;justify-content:center;width:39px;height:41px;background:linear-gradient(#f6d78c,#b98b38);border:1px solid #e8c681;border-radius:8px;color:#18212a;font-size:26px;font-weight:700;flex-shrink:0}.gallop-portrait{display:flex;align-items:center;justify-content:center;border:2px solid #6c9bac;border-radius:50%;width:51px;height:51px;background:radial-gradient(#53778c,#13394a);flex-shrink:0;padding:3px}.gallop-portrait svg{height:40px;width:34px}.gallop-identity{min-width:155px;flex:1}.gallop-identity>div{display:flex;align-items:center}.gallop-identity>div>button:first-child{font-size:19px;font-weight:700;letter-spacing:.4px;padding:0;text-align:left}.gallop-identity small{display:block;color:#aac0d1;font-size:10px;max-width:220px;line-height:1.4}.gallop-person{display:flex;align-items:center;gap:8px;padding:0 11px;border-left:1px solid #184255;min-width:100px}.gallop-person svg{width:20px;color:#c0dae8}.gallop-person b{display:block;font-size:11px;font-weight:600;white-space:nowrap}.gallop-person small,.gallop-stat small,.gallop-last>small{display:block;font-size:9px;color:#88afc5}.gallop-stat{padding:0 9px;border-left:1px solid #184255;min-width:37px}.gallop-stat b{font-size:13px;font-weight:500}.gallop-last{padding:0 10px;border-left:1px solid #184255}.gallop-last>div{display:flex;gap:5px;margin-top:4px}.gallop-last span{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid #4c7188;border-radius:50%;box-shadow:inset 0 0 3px #8bbed933;font-size:11px;background:#082234}.gallop-badge{display:flex;align-items:center;gap:9px;border:1px solid #a89047;border-right-color:#226171;border-radius:13px;padding:8px 12px;color:#e8c66b;font-size:12px;white-space:nowrap;margin-left:auto;background:linear-gradient(110deg,#cba44f20,#08232b)}.gallop-collapse{display:flex;align-items:center;justify-content:center;background:linear-gradient(#164258,#0a2d40);border:1px solid #286079;border-radius:8px;min-width:38px;height:37px;color:#b4d0df}.gallop-collapse svg{width:18px}.gallop-table-scroll{overflow:auto;border:1px solid #254f62;border-radius:7px;scrollbar-width:thin}.gallop-table{min-width:1080px;table-layout:fixed;font-size:10px;color:#c3d8e5}.gallop-table th,.gallop-table td{border-right:1px solid #153b4d;border-bottom:1px solid #1a4254;text-align:center;padding:4px 5px;white-space:nowrap}.gallop-table thead{background:linear-gradient(#0c3042,#092a3a)}.gallop-table th{font-weight:600}.gallop-table th:nth-child(1){width:77px}.gallop-table th:nth-child(2){width:65px}.gallop-table th:nth-child(3){width:47px}.gallop-table th:nth-child(4){width:103px}.gallop-table th:nth-child(5){width:auto}.gallop-table th:nth-child(6){width:73px}.gallop-table th:nth-child(7){width:39px}.gallop-table th:nth-child(8){width:48px}.gallop-table th:nth-child(9){width:68px}.gallop-table th:nth-child(10){width:92px}.gallop-table th.gallop-distance-heading{width:auto;padding:2px 3px}.gallop-distance-heading>div{display:grid;grid-template-columns:repeat(9,1fr)}.gallop-distance-heading small{font-size:9px;font-weight:400;color:#91b4c8}.gallop-table tbody tr:nth-child(even){background:#0c30404d}.gallop-table tbody tr:hover{background:#17455866}.gallop-table td:nth-child(5){padding:0}.gallop-splits{display:block;width:100%;height:32px}.gallop-splits text{fill:#d4e8f1;font-size:10px;font-family:Barlow,Arial,sans-serif}.gallop-no-data{padding:20px;text-align:center;font-size:12px}.gallop-summary{border:1px solid #205269;border-radius:10px;background:linear-gradient(120deg,#082838,#031c29);padding:13px;position:sticky;top:12px}.gallop-summary>header{display:flex;align-items:center;gap:13px;padding:2px 0 15px}.gallop-summary>header>svg{width:30px;height:35px;color:#edc06c}.gallop-summary h2{font-size:21px;margin:0 0 5px}.gallop-summary>header small{font-size:11px;color:#96b6c8}.gallop-ranking,.gallop-color-guide{border:1px solid #23536a;border-radius:7px;padding:10px;margin-bottom:11px;background:linear-gradient(120deg,#0e3345,#052230)}.gallop-ranking h3{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 10px;line-height:1.3}.gallop-ranking h3 svg{color:#ddbf6c;flex-shrink:0}.gallop-ranking>div{display:flex;align-items:center;gap:9px;height:24px;margin:3px 0;border:1px solid #17475d;border-radius:5px;font-size:11px;background:#092b3b}.gallop-ranking>div>b{width:26px;align-self:stretch;text-align:center;border-radius:4px;background:linear-gradient(#5c879e,#244c63);color:#e2f0f4;font-size:14px}.gallop-ranking>div:nth-of-type(1)>b{background:linear-gradient(#ffdf90,#c19540);color:#18262c}.gallop-ranking>div:nth-of-type(2)>b{background:linear-gradient(#e5eef0,#879dab);color:#18262c}.gallop-ranking>div:nth-of-type(3)>b{background:linear-gradient(#edc879,#9e7835);color:#18262c}.gallop-ranking>div>span{flex:1;font-weight:600}.gallop-ranking>div>strong{color:#78dca3;padding-right:9px;font-size:12px}.gallop-ranking p{font-size:12px}.gallop-color-guide{margin-bottom:0}.gallop-color-guide h3{font-size:13px;margin:0 0 9px}.gallop-color-guide p{display:flex;align-items:center;gap:9px;margin:5px 0;font-size:11px;color:#b2cad8}.gallop-color-guide i{width:11px;height:11px;border-radius:50%;display:inline-block}.gallop-color-guide small{display:block;font-size:9px;color:#83a7bb;margin-top:9px}
@media(max-width:1550px){.gallop-card-header{flex-wrap:wrap;gap:9px}.gallop-identity{flex:1;min-width:180px}.gallop-person{padding:0 8px}.gallop-badge{margin-left:0}.gallop-layout{grid-template-columns:minmax(0,1fr) 270px}.gallop-last{margin-left:auto}}
@media(max-width:1000px){.gallop-layout{grid-template-columns:1fr}.gallop-summary{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallop-summary>header{grid-column:1/-1}.gallop-ranking{margin:0}.gallop-card-header{gap:10px}.gallop-last{margin:0}}
@media(max-width:600px){.gallop-analysis{padding:0 6px 10px}.gallop-card{padding:7px}.gallop-card-header{gap:8px}.gallop-number{width:32px;height:37px;font-size:22px}.gallop-portrait{width:41px;height:41px}.gallop-identity{min-width:150px}.gallop-identity>div>button:first-child{font-size:17px}.gallop-person{min-width:110px}.gallop-last{padding:0}.gallop-badge{padding:6px 10px;font-size:11px}.gallop-collapse{margin-left:auto}.gallop-summary{grid-template-columns:1fr}.gallop-demo-note{font-size:9px}}

.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:15px!important}.race-tabs-frame #race-analysis-tabs [role=tab]{min-height:54px!important;padding:12px 18px!important;gap:9px}.race-tabs-frame .race-tab-icon{width:24px;height:26px}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>div:after{bottom:-9px}.gallop-table{font-size:12px;min-width:1330px}.gallop-table th,.gallop-table td{padding:6px}.gallop-table th.gallop-distance-heading{min-width:580px}.gallop-distance-heading small{font-size:11px}.gallop-table th:nth-child(1){width:87px}.gallop-table th:nth-child(2){width:72px}.gallop-table th:nth-child(3){width:53px}.gallop-table th:nth-child(4){width:112px}.gallop-table th:nth-child(6){width:85px}.gallop-table th:nth-child(9){width:78px}.gallop-table th:nth-child(10){width:105px}.gallop-interval-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));min-width:580px;padding:5px 0}.gallop-interval-grid>div{text-align:center;min-width:0}.gallop-interval-grid small{display:block;color:#b5cbd8;font-size:11px;font-variant-numeric:tabular-nums}.gallop-interval-grid i{display:block;height:2px;margin:5px 0;background:#366079;position:relative}.gallop-interval-grid i:before{content:'';position:absolute;width:7px;height:7px;background:#729eb6;border-radius:50%;left:50%;top:-2px}.gallop-interval-grid .has-time i{background:#35cda3}.gallop-interval-grid .has-time i:before{background:#4fe2aa;box-shadow:0 0 4px #4fe2aa55}.gallop-interval-grid strong{font-size:13px;color:#f6d17d;font-weight:600;font-variant-numeric:tabular-nums}.gallop-interval-grid em{font:inherit;font-size:9px;color:#96b3c5}.gallop-interval-grid .is-missing strong{color:#708d9f}.gallop-interval-grid .interval-finish strong{font-size:10px;color:#92b3c7}.gallop-person b{font-size:12px}.gallop-person small,.gallop-stat small,.gallop-last>small{font-size:10px}.gallop-identity small{font-size:11px}

.simple-gallops{padding:0 12px 12px}.simple-gallop-note{font-size:11px;color:#a5c3d0;margin:0 0 8px}.simple-gallop-card{margin-bottom:12px;background:#fff;color:#072d42;border:1px solid #c2dfeb;border-radius:5px;overflow:hidden}.simple-gallop-card>header{display:flex;align-items:center;gap:15px;min-height:36px;padding:5px 9px;background:#f4f6f7;font-size:11px;flex-wrap:wrap}.simple-gallop-card>header>button{font-size:12px;font-weight:600;color:#073d58;padding:0}.simple-gallop-number{border:1px solid #dae1e6;border-radius:50%;width:21px;height:21px;text-align:center;background:#fff;line-height:20px}.simple-gallop-card>header>strong{font-size:11px}.simple-gallop-card>header>span b{margin-left:4px}.simple-gallop-form{display:flex;gap:4px}.simple-gallop-form b{display:inline-flex;align-items:center;justify-content:center;background:#173c4d;color:#fff;border-radius:50%;width:20px;height:20px;font-size:10px}.simple-gallop-card>header .simple-gallop-toggle{margin-left:auto;color:#0099c5;font-size:11px}.simple-gallop-scroll{overflow-x:auto;scrollbar-width:thin}.simple-gallop-scroll table{width:100%;min-width:1050px;table-layout:fixed;font-size:11px;color:#07344b}.simple-gallop-scroll thead{background:#062e3b;color:#fff}.simple-gallop-scroll th{font-size:10px;font-weight:600;padding:4px;text-align:center;border:0}.simple-gallop-scroll td{height:42px;text-align:center;border:0;border-bottom:1px solid #d3ebf4;padding:2px 5px}.simple-gallop-scroll tbody tr:nth-child(odd){background:#e3f4fb}.simple-gallop-scroll tbody tr:nth-child(even){background:#fff}.simple-gallop-scroll th:first-child{width:56%;padding:4px 0}.simple-gallop-scroll th:nth-child(5){width:12%}.simple-gallop-scroll th:nth-child(6){width:4%}.simple-gallop-scroll th:nth-child(7){width:9%}.simple-gallop-scroll td:first-child{padding:0}.simple-distance-head>div{display:grid}.simple-gallop-line{position:relative;height:42px;width:100%}.simple-gallop-rail{position:absolute;height:1px;top:21px;left:0;right:0;background:#00bde6}.gallop-point{position:absolute;top:19px;width:5px;height:5px;transform:translateX(-50%);border:1px solid #00bde6;background:#fff;border-radius:50%}.gallop-point.recorded{background:#00bde6}.gallop-point b{position:absolute;top:6px;left:50%;transform:translateX(-50%);font-size:10px;color:#073b56;font-weight:600;white-space:nowrap}.gallop-gap{position:absolute;top:2px;transform:translateX(-50%);font-size:11px;color:#087392;white-space:nowrap;font-weight:700}.simple-gallop-scroll>p{color:#50798c;padding:10px;font-size:12px}@media(max-width:600px){.simple-gallops{padding:0 5px 8px}.simple-gallop-card>header{gap:8px}.simple-gallop-note{font-size:10px}}

.dark-workouts .simple-gallop-card{margin:0;padding:9px;border:1px solid #23576d;border-radius:12px;background:radial-gradient(ellipse at 25% 0,#16445877,transparent 75%),#041e2b;color:#d7e7f0}.dark-workouts .simple-gallop-card>header{background:transparent;min-height:67px;padding:0 3px 10px;gap:12px;flex-wrap:wrap}.dark-workouts .simple-gallop-number{border-radius:8px;width:39px;height:42px;line-height:42px;background:linear-gradient(#f7d890,#bd9142);color:#17262d;border-color:#efd28b;font-size:25px}.workout-avatar{width:53px;height:53px;border:2px solid #779cac;border-radius:50%;overflow:hidden;position:relative;background:radial-gradient(#7b9ba6,#173447);flex-shrink:0}.workout-avatar>span{display:block;position:absolute;width:190px;height:190px;left:-110px;top:-41px;background:url('/assets/pace-horses-v2.png') 0 0/400% 200% no-repeat}.workout-identity{flex:1;min-width:160px}.workout-identity>div{display:flex;align-items:center;gap:5px}.workout-identity>div>button:first-child{padding:0;color:#e7f1f6;font-size:19px;font-weight:700}.workout-identity small{font-size:11px;color:#9dbccf}.workout-person{display:flex;align-items:center;gap:9px;padding-left:13px;border-left:1px solid #245067}.workout-person svg{width:21px;height:24px;color:#c3dfed}.workout-person b{display:block;font-size:11px;color:#d9e8f1}.workout-person small,.workout-form>small{display:block;font-size:10px;color:#94b5ca}.dark-workouts .workout-stat{border-left:1px solid #245067;padding-left:11px;font-size:10px;color:#86aac0}.dark-workouts .workout-stat b{display:block;margin:3px 0 0;font-size:13px;color:#d9e8f1}.dark-workouts .simple-gallop-form{margin-top:3px}.dark-workouts .simple-gallop-form b{border:1px solid #54778e;background:#062232;color:#cce0ed;width:22px;height:22px}.workout-label{display:flex;align-items:center;gap:8px;border:1px solid #a98c4b;border-right-color:#235c6c;border-radius:13px;padding:8px 12px;color:#edce7a;font-size:12px;background:linear-gradient(110deg,#b8974420,transparent)}.dark-workouts .simple-gallop-card>header .simple-gallop-toggle{display:flex;align-items:center;justify-content:center;margin-left:0;width:38px;height:37px;color:#b7d5e5;background:linear-gradient(#123e53,#082b3b);border:1px solid #2c6279;border-radius:7px}.dark-workouts .simple-gallop-scroll{border:1px solid #245369;border-radius:7px}.dark-workouts .simple-gallop-scroll table{color:#c9e0ec;min-width:1130px;font-size:11px}.dark-workouts .simple-gallop-scroll thead{background:linear-gradient(#0d3447,#082b3b);color:#d4e5ef}.dark-workouts .simple-gallop-scroll th{height:35px;border-right:1px solid #174254;font-size:11px}.dark-workouts .simple-gallop-scroll td{height:43px;border-bottom:1px solid #20475a;border-right:1px solid #153c4e}.dark-workouts .simple-gallop-scroll tbody tr:nth-child(odd){background:#062332}.dark-workouts .simple-gallop-scroll tbody tr:nth-child(even){background:#0b2c3d}.dark-workouts .simple-gallop-scroll tbody tr:hover{background:#123e50}.dark-workouts .gallop-point{background:#082b3c;border-color:#639bb6}.dark-workouts .gallop-point.recorded{background:#33d99e;border-color:#33d99e;width:7px;height:7px;top:18px}.dark-workouts .simple-gallop-rail{background:#397a98}.dark-workouts .gallop-point b{color:#d3e9f3;font-size:11px}.dark-workouts .gallop-gap{color:#f1cc73;font-size:11px}.effort-gauge{display:block;width:29px;height:22px;margin:auto}.dark-workouts .gallop-layout{grid-template-columns:minmax(0,1fr) 285px}.dark-workouts .gallop-summary h2{font-size:20px}@media(max-width:1100px){.dark-workouts .gallop-layout{grid-template-columns:1fr}.dark-workouts .gallop-summary{position:static}.workout-identity{min-width:180px}}@media(max-width:600px){.dark-workouts .simple-gallop-card{padding:6px}.dark-workouts .simple-gallop-card>header{gap:9px}.workout-avatar{width:48px;height:48px}.workout-identity>div>button:first-child{font-size:17px}.workout-label{margin-left:auto}}
.dark-workouts .gallop-layout.gallop-full-width{grid-template-columns:minmax(0,1fr)}
.dark-workouts .simple-gallop-card>header.compact-workout-header{min-height:33px;padding:0 3px 7px;gap:11px;flex-wrap:wrap}.compact-workout-header .simple-gallop-number{width:21px;height:21px;line-height:20px;border-radius:50%;font-size:12px;background:#0c3041;color:#d7e9f4;border:1px solid #477085}.dark-workouts .compact-workout-header>button.compact-horse-name{font-size:12px;color:#edf3f8;font-weight:700}.declared-jockey{font-size:12px;font-weight:600;color:#c7dce8}.jockey-workout-count{color:#24ceec;font-size:10px;align-self:center;margin-left:-7px;transform:translateY(-3px);cursor:help}.compact-handicap{font-size:11px;color:#aac9db}.compact-handicap b{color:#e4eef4;font-size:12px}.dark-workouts .simple-gallop-card>header.compact-workout-header .simple-gallop-toggle{margin-left:auto;width:28px;height:25px}.compact-workout-header .simple-gallop-toggle svg{width:16px}

/* Strong horse identity hierarchy, separate from workout measurements. */
.dark-workouts .gallop-cards{gap:18px}.dark-workouts .simple-gallop-card{border-color:#396175;box-shadow:0 5px 18px #0003}.dark-workouts .simple-gallop-card>header.compact-workout-header{min-height:61px;padding:10px 14px;margin:-9px -9px 10px;gap:14px;background:linear-gradient(105deg,#254552,#0c2b3b 65%,#071f2d);border-bottom:1px solid #8a744744;border-left:3px solid #e8c170;flex-wrap:wrap}.dark-workouts .compact-workout-header .simple-gallop-number{width:35px;height:37px;line-height:35px;flex-shrink:0;border-radius:7px;font-size:22px;font-weight:700;background:linear-gradient(145deg,#ffe5a0,#d6a84e);border:1px solid #f6d38a;color:#182730;box-shadow:inset 0 1px 1px #fff8,0 2px 6px #0003}.dark-workouts .compact-workout-header>button.compact-horse-name{font-size:20px;font-weight:700;letter-spacing:.5px;color:#fff1cc;min-width:160px;text-align:left;line-height:1.2;padding:4px 0}.dark-workouts .declared-jockey{font-size:14px;font-weight:600;color:#d8e9f3;border-left:1px solid #527182;padding:5px 0 5px 16px}.dark-workouts .jockey-workout-count{font-size:12px;transform:none;margin-left:-6px;line-height:22px;padding:1px 8px;border:1px solid #227086;border-radius:6px;background:#063440;color:#69e7f3}.dark-workouts .compact-handicap{font-size:12px;display:flex;align-items:center;gap:8px;padding:4px 10px;border:1px solid #51626b;border-radius:6px;background:#102b39;color:#a7c2d2}.dark-workouts .compact-handicap b{font-size:17px;color:#f5d58e}.dark-workouts .simple-gallop-card>header.compact-workout-header .simple-gallop-toggle{width:34px;height:33px;background:#123b4d;border-color:#456b7b}
@media(max-width:600px){.dark-workouts .gallop-cards{gap:14px}.dark-workouts .simple-gallop-card>header.compact-workout-header{margin:-6px -6px 8px;padding:9px 10px;gap:9px;min-height:57px}.dark-workouts .compact-workout-header>button.compact-horse-name{font-size:17px;min-width:0}.dark-workouts .compact-workout-header .simple-gallop-number{width:29px;height:32px;line-height:30px;font-size:19px}.dark-workouts .declared-jockey{font-size:12px;padding-left:9px}.dark-workouts .jockey-workout-count{font-size:11px;padding:0 6px}.dark-workouts .compact-handicap{font-size:11px;padding:3px 7px}.dark-workouts .compact-handicap b{font-size:14px}}

/* Reference typography: compact sans-serif labels, clear bold horse names. */
@font-face{font-family:RaceCondensed;src:url('/assets/barlow-condensed-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:RaceCondensed;src:url('/assets/barlow-condensed-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:RaceCondensed;src:url('/assets/barlow-condensed-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:RaceCondensed;src:url('/assets/barlow-condensed-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--race-font:RaceCondensed,'Arial Narrow',Arial,sans-serif}
body{font-family:var(--race-font);font-size:14px}
.analysis-workspace,.analysis-workspace button,.analysis-workspace input,.analysis-workspace select,.program-table{font-family:var(--race-font)}
.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-family:var(--race-font)!important;font-size:17px!important;font-weight:400;letter-spacing:0}
.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{font-weight:700}
.race-tabs-frame #race-analysis-tabs [role=tab]{min-height:54px!important;padding:12px 18px!important}
.selector-days button,.selector-cities button{font-family:var(--race-font);font-size:16px;font-weight:500}
.selector-days button.selected{font-weight:700}
.selector-calendar input{font-size:18px;font-weight:600}
.selector-races>button strong{font-family:var(--race-font);font-size:18px;font-style:normal;font-weight:600}
.selector-races>button>span{font-size:14px;font-weight:500}
.summary-category h2{font-family:var(--race-font);font-size:25px;font-weight:700;letter-spacing:0}
.summary-category p{font-family:var(--race-font);font-size:16px;font-weight:400}
.summary-surface span,.summary-surface strong{font-size:20px}.summary-surface span{font-weight:600}
.summary-condition small{font-size:13px}.summary-condition strong{font-size:16px}.summary-condition b{font-size:17px}
.summary-weather strong{font-size:28px;font-weight:700}.summary-weather>span{font-size:14px}.summary-weather small{font-size:10px}
.selector-caption{font-size:12px}
.program-table{font-family:var(--race-font);font-size:14px;min-width:1600px}
.program-table thead th{font-size:12px;font-weight:500;letter-spacing:.1px;height:39px;padding:9px 10px}
.program-table td,.program-table tbody th{font-size:14px;height:58px;padding:8px 10px;line-height:1.3}
.runner-copy{gap:5px}.runner-copy strong{font-family:var(--race-font);font-size:16px;font-weight:700;letter-spacing:1px;line-height:1.2}
.runner-copy small{font-size:13px;line-height:1.3;font-weight:400}
.runner-profile{gap:10px}.runner-profile .race-silk{width:37px;height:43px}
.jockey-profile{font-size:14px;gap:8px}.jockey-profile .race-silk{width:25px;height:32px}
.program-origin,.program-person{font-size:13px;line-height:1.35}.program-origin{min-width:140px}.program-person{min-width:95px}
.program-table .program-number-heading,.program-table .program-number{width:55px;min-width:55px;padding-left:9px;padding-right:8px}
.program-table .program-horse-heading,.program-table .program-horse{left:55px;width:250px;min-width:250px;padding-left:12px}
.program-table .program-jockey,.program-table .program-jockey-heading{min-width:175px;width:175px}
.runner-number{width:38px;height:41px;font-size:24px;font-weight:600}
.recent-results{font-size:14px;font-weight:600;gap:4px}.overweight{font-size:11px}.apprentice-badge{font-size:10px;padding:2px 5px}
.horse-identity .horse-button strong{font-family:var(--race-font);font-size:15px;letter-spacing:.5px}
.analysis-select summary strong{font-size:14px}.analysis-select summary small{font-size:11px}
@media(max-width:1100px){.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:16px!important}.summary-category h2{font-size:22px}.summary-category p{font-size:14px}}
@media(max-width:600px){.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:15px!important}.selector-days button{font-size:13px}.selector-cities button{font-size:14px}.summary-category h2{font-size:20px}.summary-category p{font-size:13px}.summary-condition small{font-size:11px}.summary-condition strong{font-size:14px}.summary-weather strong{font-size:24px}.selector-caption{font-size:10px}.runner-copy strong{font-size:15px}.runner-copy small{font-size:12px}}

/* Optical match to the supplied 1717px reference. */
.program-table{min-width:1540px}.program-table td,.program-table tbody th{font-size:15px;height:55px;padding:7px 10px;background:#021923;border-color:#153744}.program-table tbody tr:nth-child(even)>*{background:#06202c}.program-table thead th{font-size:13px;text-transform:uppercase;height:38px;background:linear-gradient(#062733,#031b26);color:#b2cfde;border-right:1px solid #163542;text-shadow:0 1px 2px #0006}.runner-copy strong{font-size:17px;letter-spacing:.45px;font-weight:700;text-shadow:0 1px 2px #0009}.runner-copy small{font-size:14px;color:#8ad2ef}.jockey-profile{font-size:15px}.program-origin,.program-person{font-size:14px}.program-table .program-horse-heading,.program-table .program-horse{min-width:235px;width:235px}.program-table .program-jockey,.program-table .program-jockey-heading{min-width:170px;width:170px}.runner-number{font-size:25px;box-shadow:inset 0 1px 2px #fff7,inset 0 -3px 7px #0004,0 2px 5px #0006}.recent-results{font-size:15px}.selector-cities button{font-size:17px}.selector-cities button.selected{box-shadow:inset 0 0 0 1px #f4d88744,inset 0 0 13px #ffda6566,0 0 7px #d8ac4644;background:linear-gradient(145deg,#514d2c88,#0b2229 65%)}.selector-races>button{border-top-color:#557582;box-shadow:inset 0 1px 2px #91d2eb19,inset 0 -7px 16px #0003}.selector-races>button.selected{box-shadow:inset 0 0 13px #f7d36755,0 0 7px #e9bc5644}.selector-races>button strong{font-size:20px}.selector-races>button>span{font-size:16px}.summary-category h2{font-size:30px;font-weight:600;text-shadow:0 1px 3px #0007}.summary-category p{font-size:18px}.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:18px!important}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]:before{border-radius:25px;box-shadow:inset 0 0 12px #ffe99b44,0 0 8px #eabe5444;background:linear-gradient(130deg,#7a71414d,#183239 70%)}.race-tabs-frame #race-analysis-tabs{box-shadow:inset 0 1px 2px #8ac0d522,0 3px 12px #0005}.race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{text-shadow:0 1px 3px #0008}.program-table .race-silk{filter:drop-shadow(0 2px 2px #0009)}
@media(max-width:600px){.summary-category h2{font-size:23px}.summary-category p{font-size:15px}.race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:16px!important}}
.live-calculations{padding:12px;color:#dcecf3}.live-pace-lane{display:flex;gap:24px;align-items:center;border:1px solid var(--lane-color);border-radius:12px;padding:16px;margin:12px 0;background:linear-gradient(100deg,#10302c88,#051923)}.live-pace-lane header{min-width:110px;color:var(--lane-color)}.live-pace-lane h3{margin:0 0 6px}.live-pace-lane>div{display:flex;flex-wrap:wrap;gap:24px}.live-checkpoint{display:flex;align-items:center;gap:20px;margin:20px 0}.live-checkpoint input{flex:1;accent-color:#36dca0}.live-result{display:inline-block;margin:6px 16px 6px 0}.live-calculations details{border:1px solid #244957;border-radius:8px;margin:10px 0;padding:12px}.live-calculations summary{cursor:pointer;color:#f3cc79;font-size:17px}.live-calculations details p{line-height:1.6}@media(max-width:650px){.live-pace-lane{align-items:flex-start;gap:12px}.live-pace-lane header{min-width:80px}.live-checkpoint{flex-wrap:wrap}}
.official-runner-silk{width:38px;height:44px;object-fit:contain;flex-shrink:0}.program-analysis-identity .runner-number{display:grid;place-items:center;flex-shrink:0;width:38px;height:42px;background:linear-gradient(145deg,color-mix(in srgb,var(--runner-color),white 18%),var(--runner-color));border:1px solid #ffffff45;border-radius:6px;color:white;font-size:25px;font-weight:700;box-shadow:inset 0 0 5px #fff3,0 2px 4px #0006}.program-analysis-identity .horse-button{gap:12px}.program-analysis-identity .horse-button strong{font-size:17px;font-weight:700;letter-spacing:.45px}.program-analysis-identity svg{flex-shrink:0}.prediction-table .metric-sort{white-space:nowrap;cursor:pointer}
.dynamic-race-pace .pace-running-lane{display:flex;flex-wrap:wrap;justify-content:space-evenly;align-items:center;gap:12px 4px;padding:9px 8px;min-width:0;background-image:repeating-linear-gradient(90deg,transparent 0,transparent 119px,#a1c8b420 120px,transparent 121px)}.dynamic-race-pace .pace-runner{position:relative;top:auto;left:auto;transform:none;width:116px;flex:0 0 116px;text-align:center;align-self:center}.dynamic-race-pace .pace-photo-horse{width:116px;height:70px}.dynamic-race-pace .pace-runner strong{display:block;max-width:116px;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.2;min-height:29px}.dynamic-race-pace .pace-group{grid-template-columns:165px minmax(0,1fr) 230px;min-height:112px}.dynamic-race-pace .pace-candidates{display:flex;flex-direction:column;justify-content:center;gap:5px}.dynamic-race-pace .pace-candidates button{font-size:13px;line-height:1.25}.dynamic-race-pace .pace-candidates h4{font-size:16px}.pace-candidate-missing{display:flex;gap:12px;font-size:12px;color:#8ca8b6}.pace-empty-group{z-index:1;color:#a6bac6;font-size:13px}.pace-unknown{padding:12px;border:1px solid #345260;border-radius:10px;margin-top:12px}.pace-unknown>div{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px}.pace-method{font-size:12px;color:#93adbb;padding:10px 3px;margin:0}.pace-model-details{padding:12px}.pace-model-details>summary{cursor:pointer;color:#e5c878}.dynamic-race-pace .pace-diagram{min-width:960px}

.score-board-scroll{overflow-x:auto;padding:6px;background:#fff;border-radius:12px;color:#163746}
.score-board{min-width:760px}
.score-horse-row{display:grid;grid-template-columns:194px repeat(var(--score-count),minmax(175px,1fr));gap:9px;margin-bottom:6px}
.score-horse-row:last-child{margin-bottom:0}
.score-horse-card,.score-history-card{font-family:Arial,sans-serif;font-size:13px;line-height:1.25;letter-spacing:0;text-shadow:none;box-shadow:none;min-width:0;border-radius:11px;text-align:left}
.score-horse-card{display:flex;flex-direction:column;align-items:stretch;background:#f3f7f6;border:0;padding:14px 15px;color:#173747;cursor:pointer}
.score-horse-top{display:flex;align-items:center;gap:12px;min-width:0}
.score-horse-top>b{display:grid;place-items:center;flex-shrink:0;background:#078575;color:#fff;border-radius:8px;min-width:34px;height:34px;font:700 17px Arial,sans-serif}
.score-horse-top>small{font:11px Arial,sans-serif;color:#64828c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.score-horse-card>strong{font:800 16px/1.25 Arial,sans-serif;margin:12px 0;color:#173747;overflow-wrap:anywhere}
.score-horse-style{font:12px Arial,sans-serif;color:#64828c;margin-top:auto;padding-top:7px}
.score-history-card{border:1px solid #dce5e8;background:#fff;padding:10px 11px;min-height:131px}
.score-history-card header{display:flex;gap:17px;align-items:center;font:13px Arial,sans-serif;color:#173747}
.score-history-card header>b{color:#008a81;font-weight:800}
.score-history-card>p{font:12px/1.4 Arial,sans-serif;color:#698491;margin:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.score-history-metrics{display:grid;gap:3px}
.score-line{display:grid;grid-template-columns:23px minmax(40px,1fr) 64px;gap:6px;align-items:center;color:var(--score-color);font:700 12px/1.1 Arial,sans-serif}
.score-line abbr{text-decoration:none;font-size:11px;font-weight:800}
.score-line strong{text-align:right;font:800 13px/1 Arial,sans-serif;color:inherit}
.score-track{display:block;height:4px;background:var(--score-tint)}
.score-track i{display:block;height:100%;background:var(--score-color)}
.score-tempo{--score-color:#008b80;--score-tint:#d6ebe7}
.score-leader{--score-color:#3973c9;--score-tint:#dfe7f5}
.score-sprint{--score-color:#9451c5;--score-tint:#ede2f3}
.score-speed{--score-color:#af6e28;--score-tint:#f0e5d9}
.score-history-missing{display:flex;flex-direction:column;gap:25px;color:#7a8e98;background:#fafcfc}
.score-history-missing>b{color:#008a81}.score-history-missing>span{align-self:center}
.score-sort-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0 12px;font-size:13px}
.score-sort-controls .metric-sort{padding:5px 10px;border:1px solid #295364;border-radius:6px;color:#d6e7ed}
.score-sort-controls label{margin-left:auto;display:flex;gap:8px;align-items:center}
.score-sort-controls select{background:#09232f;color:#d6e7ed;border:1px solid #295364;border-radius:6px;padding:6px}
.score-horse-card:focus-visible,.score-sort-controls button:focus-visible{outline:2px solid #d9af53;outline-offset:2px}
@media(max-width:700px){.score-board{min-width:calc(160px + var(--score-count)*190px)}.score-horse-row{grid-template-columns:150px repeat(var(--score-count),180px)}.score-horse-card{padding:12px}.score-horse-card>strong{font-size:14px}.score-sort-controls label{margin-left:0}}
.stacked-performance .stacked-run{padding:14px 16px;min-width:210px}
.stacked-performance .run-meta{margin-bottom:12px}
.stacked-performance .run-meta small{display:block;color:#9ebecd;font-size:12px}
.stacked-performance .run-meta strong{display:block;color:#dfbd7b;font-size:13px;margin-top:4px}
.stacked-performance .stacked-score{display:grid;grid-template-columns:90px minmax(100px,1fr);align-items:center;gap:12px;margin:8px 0}
.stacked-performance .stacked-score>.metric-sort{text-align:left;font-size:12px;color:#aecad8;padding:0}
.stacked-performance .stacked-score .metric{display:flex;flex-direction:row-reverse;align-items:center;gap:9px;width:100%}
.stacked-performance .stacked-score .metric>span{min-width:48px;margin:0;text-align:right;font-size:13px}
.stacked-performance .stacked-score .metric>i{flex:1;min-width:50px;height:8px}
.stacked-performance .no-history{min-width:210px}
.score-box-head,.score-box-values{display:grid;grid-template-columns:repeat(4,minmax(34px,1fr));gap:5px}
.score-box-head{margin-top:10px;padding:7px 9px;background:linear-gradient(#203443,#0c1b26)}
.score-box-head button{font-size:13px;font-weight:600;color:#d7e3eb;padding:0}
.boxed-performance .stacked-run{padding:9px;min-width:190px}
.boxed-performance .run-meta{margin-bottom:8px;font-size:11px}
.score-box{display:flex;align-items:center;justify-content:center;height:36px;border:1px solid #ffffff18;border-radius:4px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 1px 2px #0005;background:linear-gradient(135deg,#ffffff20,transparent 60%),var(--box-color);box-shadow:inset 0 1px 3px #ffffff16,0 1px 3px #0005}
.score-box-emerald{--box-color:#08a95b}.score-box-green{--box-color:#639c32}.score-box-gold{--box-color:#ae9127}.score-box-orange{--box-color:#b16929}.score-box-red{--box-color:#a53835}.score-box-wine{--box-color:#75303f}.score-box-missing{--box-color:#20343f;color:#829ba9}
.boxed-performance .no-history{min-width:190px}
.performance-table.boxed-performance{width:100%;min-width:1000px;table-layout:fixed}
.performance-table.boxed-performance .horse-heading{width:200px;min-width:0;padding:10px}
.boxed-performance .horse-heading>small{margin-top:3px;font-size:10px}
.performance-table.boxed-performance .run-heading{padding:8px 0 0;font-size:12px;letter-spacing:.2px}
.boxed-performance .score-box-head{margin-top:6px;padding:6px;gap:4px}
.boxed-performance .score-box-head button{font-size:12px}
.boxed-performance .score-box-values{gap:4px;grid-template-columns:repeat(4,minmax(0,1fr))}
.boxed-performance .score-box{height:30px;font-size:14px;border-radius:3px}
.boxed-performance .stacked-run{padding:7px 6px;min-width:0}
.boxed-performance .run-meta{margin-bottom:6px;overflow:hidden;white-space:nowrap}
.boxed-performance .run-meta small,.boxed-performance .run-meta strong{display:block;font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis}
.boxed-performance .no-history{min-width:0;min-height:70px;padding:6px}
.boxed-performance tbody>tr>th{padding:8px;overflow:hidden}
.boxed-performance .horse-identity{gap:5px;min-width:0}
.boxed-performance .horse-button{gap:6px;min-width:0;flex:1}
.boxed-performance .horse-button>span:last-child{min-width:0;flex:1}
.boxed-performance .horse-button strong{font-size:13px;white-space:normal;overflow-wrap:anywhere;letter-spacing:.2px}
.boxed-performance .horse-button small{font-size:11px}
.boxed-performance .runner-number{min-width:25px;width:25px;height:30px;font-size:16px}
.boxed-performance .horse-button svg,.boxed-performance .horse-button img{max-width:28px;max-height:35px}
.boxed-performance .horse-identity>button:last-child{padding:0;flex-shrink:0}
@media(min-width:1100px){.performance-table.boxed-performance{min-width:0}}
.boxed-performance .score-box-head{background:none;border:0;gap:6px;padding:7px 6px}
.boxed-performance .score-box-head button{color:#f2dfa0;font-size:17px;font-weight:600;letter-spacing:.3px;line-height:1.2}
.boxed-performance .score-box-values{gap:6px;align-items:center;padding:3px 0}
.boxed-performance .score-box{height:43px;background:none;border:0;border-radius:0;box-shadow:none;color:#f5e4aa;font-size:32px;font-weight:700;line-height:1;letter-spacing:-.5px;text-shadow:0 1px 2px #0008}
.boxed-performance .score-box-missing{color:#829ba9;font-size:25px}
.boxed-performance .score-box-head button:hover{color:#fff1c7}
.boxed-performance .score-box-head button:focus-visible{outline:2px solid #f2dfa0;outline-offset:3px}
.performance-view>.form-data-note,.performance-view>.score-sort-controls,.performance-view>.performance-caption{display:none}
.race-selector .selector-top{display:flex;align-items:center;gap:14px;justify-content:space-between}
.race-selector .selector-top .selector-cities{display:flex;flex:0 1 auto;width:max-content;max-width:calc(100% - 280px);overflow-x:auto;margin:0;padding:4px;gap:4px}
.race-selector .selector-top .selector-cities button{flex:0 0 auto;width:auto;min-width:0;padding:10px 20px;white-space:nowrap}
.race-selector .selector-summary{min-height:54px;padding:5px 16px;margin-bottom:10px}
.race-selector .summary-category h2{font-size:20px;line-height:1.2}
.race-selector .summary-surface{min-height:40px;height:40px}
.race-selector .summary-surface svg,.race-selector .summary-surface img{max-height:46px}
.race-selector .summary-weather{min-height:38px;padding:4px 12px}
.performance-table.boxed-performance .horse-heading{width:var(--horse-width);min-width:var(--horse-width)}
.boxed-performance .horse-button strong{font:700 14px Arial,sans-serif;letter-spacing:0;white-space:nowrap;overflow:visible}
.boxed-performance .run-meta.compact-run-meta{font:500 14px/1.4 Arial,sans-serif;white-space:nowrap;margin-bottom:7px}
.boxed-performance .compact-run-meta.surface-grass{color:#40dc9d}
.boxed-performance .compact-run-meta.surface-synthetic{color:#e4c477}
.boxed-performance .compact-run-meta.surface-sand{color:#e4a177}
@media(max-width:700px){.race-selector .selector-top{flex-wrap:wrap}.race-selector .selector-top .selector-cities{max-width:100%}.race-selector .selector-calendar{margin-left:auto}}
.boxed-performance .score-box-head,.boxed-performance .score-box-values{width:100%;max-width:248px;margin-left:auto;margin-right:auto;gap:0;padding-left:0;padding-right:0}
.boxed-performance .score-box-values{padding-top:0;padding-bottom:0}
.boxed-performance .score-box{height:36px;position:relative}
.boxed-performance .score-box+.score-box:before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:1px;background:#62839166}
.boxed-performance .run-meta.compact-run-meta{text-align:center;margin-bottom:4px}
.boxed-performance .stacked-run{padding:6px}
.boxed-performance .score-box-head{margin-top:0;padding-top:6px;padding-bottom:6px}
.race-pdf-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:8px 16px 12px}
.race-pdf-toolbar .gold-button{padding:9px 18px;font-size:14px}
.race-pdf-toolbar small{color:#9ebac7}.race-pdf-toolbar [role=alert]{color:#ffb3a9}.race-pdf-toolbar button:disabled{opacity:.5;cursor:wait}
/* Keep pace horses together instead of spreading them across the track. */
.dynamic-race-pace .pace-diagram{min-width:720px;max-width:1180px;margin-inline:auto}
.dynamic-race-pace .pace-group{grid-template-columns:112px minmax(0,1fr) 205px;min-height:0;margin-bottom:8px}
.dynamic-race-pace .pace-group-title{padding:16px 8px;gap:5px;align-items:center}
.dynamic-race-pace .pace-group-title h3{font-size:20px}
.dynamic-race-pace .pace-group-title>svg{width:20px;height:20px}
.dynamic-race-pace .pace-running-lane{justify-content:flex-start;align-content:center;gap:6px;min-height:104px;padding:8px 10px;background-image:none}
.dynamic-race-pace .pace-runner{width:106px;flex:0 0 106px}
.dynamic-race-pace .pace-photo-horse{width:106px;height:64px}
.dynamic-race-pace .pace-runner strong{max-width:106px;min-height:28px;font-size:12px}
.dynamic-race-pace .pace-candidates{padding:8px 10px;gap:4px}
.dynamic-race-pace .pace-candidates h4{font-size:14px;margin-bottom:3px}
.dynamic-race-pace .pace-candidates button{font-size:12px}
.boxed-performance .score-box{height:53px;display:flex;flex-direction:column;justify-content:center;font-size:25px;line-height:1.15}
.boxed-performance .score-box .raw-metric{font:11px Arial,sans-serif;color:#a6c0cb;margin-top:4px;white-space:nowrap}
.analysis-matrix{margin:0 16px 16px;color:#d8e8ee}
.am-toolbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:14px 0 18px}
.am-toolbar h3{margin:0 0 5px;font-size:21px;color:#edf5f8}.am-toolbar small{color:#8ba9b9;font-size:12px}
.am-focus{display:flex;align-items:center;gap:7px}.am-focus>span{font-size:13px;margin-right:4px}.am-focus button,.am-sort button,.am-sort select{border:1px solid #264957;background:#0c2532;color:#9ebfce;border-radius:7px;padding:9px 14px;font:600 12px Arial,sans-serif}.am-focus button[aria-pressed=true]{border-color:#32b697;background:#114b44;color:#b0f4dc;box-shadow:0 0 12px #19c99615}
.am-scale{display:flex;gap:10px;font:11px Arial,sans-serif}.am-scale span{display:flex;align-items:center;gap:4px}.am-scale i{width:8px;height:8px;background:currentColor;border-radius:50%}.am-sort{display:flex;align-items:center;gap:7px;font-size:12px;margin-left:auto}
.tone-excellent{color:#57d5b0}.tone-strong{color:#b2d789}.tone-good{color:#dec17b}.tone-fair{color:#dba277}.tone-low{color:#d98795}.tone-missing{color:#6e8b9b}
.am-scroll{overflow:auto;border:1px solid #284c5e;border-radius:9px;isolation:isolate;scrollbar-color:#315a69 #071b28}
.am-table{width:100%;min-width:calc(205px + var(--run-count)*225px);table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.am-table th,.am-table td{border:0;border-bottom:1px solid #284858;border-right:1px solid #284858;padding:6px;vertical-align:middle}
.am-table thead th{background:#103143;height:38px;font-size:13px;font-weight:500;text-align:center;color:#c4dfed}
.am-table .am-identity{width:205px;min-width:205px;position:sticky;left:0;z-index:2;text-align:left;background:#081d2a;box-shadow:5px 0 12px #0002}
.am-table thead .am-identity{background:#103143;padding:9px 14px}.am-identity>small{display:block;font-size:10px;margin-top:4px;color:#8cabbc}
.am-table .am-odd>td,.am-table .am-odd>.am-identity{background:#071c29}.am-table .am-even>td,.am-table .am-even>.am-identity{background:#102a39}.am-table .am-open>td,.am-table .am-open>.am-identity{background:#24303d;border-bottom-color:#927254}
.am-table .horse-identity{gap:2px;padding:0;min-width:0}.am-table .horse-button{display:flex;gap:6px;padding:5px 0;min-width:0;flex:1;align-items:center;text-align:left}.am-table .horse-button>span:last-child{min-width:0;flex:1}.am-table .horse-button strong{font:700 12px/1.3 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;color:#eef4f7}.am-table .horse-button small{font-size:10px;color:#99bacd;white-space:normal}.am-table .runner-number{min-width:24px;width:24px;height:31px;font-size:17px}.am-table .race-silk{width:27px;height:35px;flex-shrink:0}.am-table .favorite-star{width:22px;min-width:22px;padding:0}.am-detail-toggle{font-size:10px;color:#9dbaca;display:block;margin-left:auto;padding:0 4px 2px}
.am-run{border:1px solid #234959;border-radius:7px;padding:5px 6px;background:#04172255;min-height:74px}
.am-tags{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font:11px/1.6 Arial,sans-serif;min-height:22px;border-bottom:1px solid #264453;padding-bottom:4px}
.am-tags>span{padding:0 4px;border-radius:4px}.am-tags .am-city{background:#143548;color:#b9d7e7}.am-tags .am-surface.grass{background:#134136;color:#89d6b6}.am-tags .am-surface.sand{background:#443126;color:#ddb38e}.am-tags .am-surface.synthetic{background:#403b23;color:#dfd094}.am-tags .am-position{color:#7dd8be;padding-right:0}.am-tags .am-date{color:#b8ccda;padding-left:0}.am-no-run{height:27px;text-align:center;font-size:11px;color:#7793a3;border-bottom:1px solid #264453}
.am-scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:4px}.am-score{text-align:center;min-width:0;padding:3px 0;border-radius:4px;transition:opacity .15s,background .15s;position:relative}.am-score+.am-score:before{content:'';position:absolute;left:0;top:5px;bottom:5px;width:1px;background:#294856}.am-score button{display:block;width:100%;font:10px/1.4 Arial,sans-serif;color:#9bb7c8;padding:0 0 3px}.am-score strong{display:block;font-size:21px;line-height:1.2;font-weight:600;letter-spacing:0}.am-score.is-focused{background:#154e424f;box-shadow:inset 0 0 0 1px #36cfa680}.am-score.is-dimmed{opacity:.4}
.analysis-matrix button:focus-visible,.am-scroll:focus-visible{outline:2px solid #72d3c6;outline-offset:2px}
.am-table .am-detail-row>td{padding:0;background:#111f2c}.am-detail{display:grid;grid-template-columns:205px 300px minmax(0,1fr);gap:18px;padding:18px;border:1px solid #8f6954;border-radius:8px}.am-profile{border-right:1px solid #314453;padding-right:16px}.am-profile h3{font:700 14px Arial,sans-serif;margin:0 0 15px}.am-profile dl{display:grid;grid-template-columns:60px 1fr;gap:8px;font:12px Arial,sans-serif}.am-profile dt{color:#8ba6b8}.am-profile dd{margin:0;overflow-wrap:anywhere}.am-profile>button{border:1px solid #31566a;border-radius:6px;padding:7px;margin-top:12px;font-size:12px}.am-trend h4,.am-detail-runs h4{font-size:13px;margin:0 0 10px}.am-chart-legend{display:flex;gap:14px;font-size:11px}.am-trend svg{display:block;width:100%;margin-top:12px}.am-trend text{font:10px Arial;fill:#9db9c8}.am-trend small{font-size:10px;color:#8caaba}.am-detail-runs{display:flex;gap:8px;overflow-x:auto}.am-detail-runs article{flex:1;min-width:165px;border:1px solid #294b5c;border-radius:7px;padding:9px;background:#071d2b}.am-detail-runs .am-tags{flex-wrap:wrap}.am-detail-runs footer{margin-top:14px;text-align:center;color:#a7c3d2;font-size:12px}
@media(max-width:700px){.analysis-matrix{margin:0 7px 10px}.am-toolbar{gap:12px;padding:10px 3px}.am-toolbar h3{font-size:18px}.am-focus{gap:5px}.am-focus button{padding:8px 11px}.am-focus>span{font-size:11px}.am-scale{flex-wrap:wrap;font-size:10px}.am-sort{margin-left:0}.am-table{min-width:calc(125px + var(--run-count)*225px)}.am-table .am-identity{width:125px;min-width:125px}.am-table .horse-button{flex-wrap:wrap;gap:4px}.am-table .horse-button>span:last-child{flex-basis:100%}.am-table .horse-button strong{font-size:11px}.am-table .horse-button small{font-size:9px}.am-table .favorite-star{align-self:flex-start;margin-top:8px}.am-detail{grid-template-columns:170px 270px minmax(0,1fr)}.am-score strong{font-size:22px}}
.am-table .horse-identity{display:flex;align-items:center}.am-table .horse-button{min-height:48px}.am-detail-toggle{line-height:16px}
.am-run-sort{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 6px;gap:0}.am-run-sort button{padding:9px 0;color:#bfd6e2;font-size:13px;font-weight:600;white-space:nowrap}.am-run-sort button+button{border-left:1px solid #315063}.am-run-sort button span{font-size:11px;margin-left:4px;color:#7fabbc}.am-run-sort button[aria-pressed=true]{color:#f2d48b;background:#254550;border-radius:4px}.am-run-sort button[aria-pressed=true] span{color:#f2d48b}.am-run-sort button:hover{background:#234351}
.analysis-matrix.am-neutral .am-table thead th{background:#192c38;color:#8aabbf}
.analysis-matrix.am-neutral .am-table .am-odd>td,.analysis-matrix.am-neutral .am-table .am-odd>.am-identity{background:#142530}
.analysis-matrix.am-neutral .am-table .am-even>td,.analysis-matrix.am-neutral .am-table .am-even>.am-identity{background:#0d1d28}
.analysis-matrix.am-neutral .am-table th,.analysis-matrix.am-neutral .am-table td{border-color:#293f4d}
/* Reference panel layout: metadata remains specific to each horse. */
.analysis-matrix.am-panels .am-scroll{border:0;border-radius:0;background:#061722}
.analysis-matrix.am-panels .am-table{border-spacing:8px 0;min-width:calc(205px + var(--run-count)*255px)}
.analysis-matrix.am-panels .am-table th,.analysis-matrix.am-panels .am-table td{border-left:1px solid #224353;border-right:1px solid #224353;border-bottom:1px solid #244453}
.analysis-matrix.am-panels .am-table thead th{padding:0;background:linear-gradient(125deg,#102b3a,#091d2b);border-top:1px solid #244453;border-radius:8px 8px 0 0;height:84px}
.analysis-matrix.am-panels .am-table thead .am-identity{padding:16px;font-size:20px;color:#bddfee;vertical-align:top}.analysis-matrix.am-panels .am-identity>small{font-size:12px;margin-top:6px}
.analysis-matrix.am-panels .am-panel-title{text-align:left;padding:12px 14px 10px;font-size:18px;line-height:1.2;color:#ecf3fa;font-weight:600}
.analysis-matrix.am-panels .am-run-sort{max-width:none;padding:0;border-top:1px solid #203c4b}.analysis-matrix.am-panels .am-run-sort button{padding:10px 0;font-size:13px}
.analysis-matrix.am-panels .am-run-sort button[aria-pressed=true]{background:linear-gradient(110deg,#0b4149,#123641);border-bottom:2px solid #33d6d2;color:#5cf0e6;box-shadow:inset 0 0 12px #22cbb51a;border-radius:4px}
.analysis-matrix.am-panels .am-table .am-odd>td,.analysis-matrix.am-panels .am-table .am-odd>.am-identity{background:linear-gradient(110deg,#0d2635,#081c28)}
.analysis-matrix.am-panels .am-table .am-even>td,.analysis-matrix.am-panels .am-table .am-even>.am-identity{background:linear-gradient(110deg,#0a202c,#071923)}
.analysis-matrix.am-panels .am-run{max-width:none;padding:7px 5px;min-height:76px}.analysis-matrix.am-panels .am-tags{font-size:11px;gap:5px;padding-bottom:6px}.analysis-matrix.am-panels .am-scores{margin-top:0}
.analysis-matrix.am-panels .am-score{padding:7px 0;border-radius:5px}.analysis-matrix.am-panels .am-score strong{font-size:23px;line-height:1.25}.analysis-matrix.am-panels .am-score.is-focused{background:linear-gradient(120deg,#103640,#0d2d37);color:#67ede7}
.analysis-matrix.am-panels .horse-button strong{font-size:13px}.analysis-matrix.am-panels .horse-button small{font-size:11px}.analysis-matrix.am-panels .runner-number{height:36px;width:28px;min-width:28px;background:linear-gradient(125deg,#244c61,#143345);border:1px solid #2d5467;color:#ecf6fc;font-size:21px}.analysis-matrix.am-panels .race-silk{width:32px;height:41px}
.analysis-matrix.am-panels.am-runs-3 .am-score strong{font-size:26px}.analysis-matrix.am-panels.am-runs-3 .am-tags{font-size:12px;gap:8px}.analysis-matrix.am-panels.am-runs-3 .am-run{padding:8px 12px}.analysis-matrix.am-panels .am-table tbody>tr:last-child>td,.analysis-matrix.am-panels .am-table tbody>tr:last-child>th{border-radius:0 0 8px 8px}
@media(max-width:700px){.analysis-matrix.am-panels .am-table{min-width:calc(125px + var(--run-count)*255px);border-spacing:5px 0}.analysis-matrix.am-panels .am-panel-title{font-size:16px}.analysis-matrix.am-panels.am-runs-3 .am-tags{font-size:11px;gap:5px}.analysis-matrix.am-panels .horse-button strong{font-size:11px}.analysis-matrix.am-panels .horse-button small{font-size:10px}}
.analysis-matrix.am-neutral .am-run{border:0;background:none;border-radius:0;padding:10px 8px;min-height:78px}
.analysis-matrix.am-neutral .am-tags{border:0;justify-content:flex-start;gap:7px;font-size:10px;padding-bottom:9px}
.analysis-matrix.am-neutral .am-tags>span{padding:0;background:none;color:#9dc5d6}.analysis-matrix.am-neutral .am-tags .am-date{font-weight:700;color:#dfebf4}.analysis-matrix.am-neutral .am-tags .am-position{margin-left:auto}.analysis-matrix.am-neutral .am-tags .am-city:after{content:' ·';color:#526c7b}
.analysis-matrix.am-neutral .am-score{color:#e2eef7;border-radius:0;opacity:1}.analysis-matrix.am-neutral .am-score strong{font-size:21px;text-shadow:none}.analysis-matrix.am-neutral .am-score.tone-missing{color:#587482}.analysis-matrix.am-neutral .am-score.is-focused{color:#64e5de;background:#1a3640;box-shadow:none}.analysis-matrix.am-neutral .am-score.tone-missing.is-focused{color:#587482}
.analysis-matrix.am-neutral .am-score+.am-score:before{display:none}.analysis-matrix.am-neutral .am-metric-label{display:none}.analysis-matrix.am-neutral .am-detail-runs .am-metric-label{display:block;color:#8aa9bb;font-size:10px;margin-bottom:5px}
.analysis-matrix.am-neutral .am-run-sort button{color:#88aabe}.analysis-matrix.am-neutral .am-run-sort button[aria-pressed=true]{background:#1a3640;color:#64e5de;border-radius:0;border-bottom:2px solid #64e5de}.analysis-matrix.am-neutral .am-run-sort button[aria-pressed=true] span{color:#64e5de}.analysis-matrix.am-neutral .am-run-sort button+button{border-left:0}
.analysis-matrix.am-neutral .runner-number{background:#233b49;color:#91bbd3;box-shadow:none;border:0;border-radius:4px}
/* Three visible metrics; screenshot palette shared by rows and sticky identities. */
.analysis-matrix.am-neutral .am-run,.analysis-matrix.am-neutral .am-run-sort{max-width:310px;width:100%;margin:0 auto;box-sizing:border-box}
.analysis-matrix.am-neutral .am-table td{padding:4px 6px}.analysis-matrix.am-neutral .am-run{min-height:64px;padding:5px 4px}
.analysis-matrix.am-neutral .am-tags{gap:5px;min-height:24px;padding-bottom:5px;font-size:11px;align-items:center}.analysis-matrix.am-neutral .am-tags .am-position{margin-left:3px;font-size:10px}.analysis-matrix.am-neutral .am-tags{justify-content:center}
.analysis-matrix.am-neutral .am-tags .am-city,.analysis-matrix.am-neutral .am-tags .am-surface{padding:2px 5px;border-radius:4px;font-weight:600}.analysis-matrix.am-neutral .am-tags .am-city:after{content:none}
.analysis-matrix.am-neutral .am-track-grass .am-city,.analysis-matrix.am-neutral .am-track-grass .am-surface{color:#79deb1;background:#173d34}
.analysis-matrix.am-neutral .am-track-synthetic .am-city,.analysis-matrix.am-neutral .am-track-synthetic .am-surface{color:#edcf82;background:#393522}
.analysis-matrix.am-neutral .am-track-sand .am-city,.analysis-matrix.am-neutral .am-track-sand .am-surface{color:#ecae83;background:#3c2e27}
.analysis-matrix.am-neutral .am-table{min-width:calc(205px + var(--run-count)*245px)}
@media(max-width:700px){.analysis-matrix.am-neutral .am-table{min-width:calc(125px + var(--run-count)*245px)}}
.analysis-matrix.am-neutral .am-scores,.analysis-matrix.am-neutral .am-run-sort{grid-template-columns:repeat(3,minmax(0,1fr))}
.analysis-matrix.am-neutral .am-table .am-odd>td,.analysis-matrix.am-neutral .am-table .am-odd>.am-identity{background:#142530}
.analysis-matrix.am-neutral .am-table .am-even>td,.analysis-matrix.am-neutral .am-table .am-even>.am-identity{background:#0d1d28}
.analysis-matrix.am-neutral .am-score{color:#e2eef7}.analysis-matrix.am-neutral .am-score.is-focused{color:#64e5de;background:#1a3640}.analysis-matrix.am-neutral .am-score.tone-missing{color:#587482}
.analysis-matrix.am-neutral .am-table th,.analysis-matrix.am-neutral .am-table td{border-color:#293f4d}
.analysis-matrix.am-neutral.am-panels .am-scores,.analysis-matrix.am-neutral.am-panels .am-run-sort{width:100%;max-width:204px;margin-left:auto;margin-right:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding-left:0;padding-right:0;box-sizing:border-box}
.analysis-matrix.am-neutral.am-panels .am-score{padding:5px 0}.analysis-matrix.am-neutral.am-panels .am-score strong{font-size:23px}

.pace-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto auto 1fr;gap:15px 19px;padding:18px 17px;border:1px solid #1cb3b6;border-radius:18px;background:linear-gradient(130deg,#00171dd9,#001418f5),url('/assets/racing-hero.webp') center top/cover;color:#b7edf2;font-family:RaceCondensed,'Arial Narrow',sans-serif}.pg-heading{grid-column:1;grid-row:1;display:flex;align-items:center;gap:20px;min-height:68px}.pg-heading>svg{width:57px;height:65px;color:#12e6d1;flex:none}.pg-heading h2{font:600 42px/1.1 RaceCondensed,sans-serif;margin:0 0 5px;color:#b8f4fc}.pg-heading p{font:18px/1.2 Barlow,sans-serif;margin:0;color:#9dd7e9}.pg-meta{margin-left:auto;align-self:start;display:flex;gap:14px;align-items:center;font:13px RaceCondensed,sans-serif;padding-top:4px}.pg-meta b{border:1px solid #185257;border-radius:15px;padding:3px 10px;white-space:nowrap}.pg-lanes{grid-column:1;grid-row:2/4;display:grid;align-content:start;gap:16px}.pg-lane{--accent:#1becd2;position:relative;display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;min-height:168px;border:1px solid var(--accent);border-radius:14px;padding:20px 18px;background:radial-gradient(ellipse at 62% 90%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 65%),linear-gradient(115deg,#002526b0,#001119c0);box-shadow:inset 3px 0 0 color-mix(in srgb,var(--accent) 45%,transparent),inset 0 0 22px #0ec6bd0b}.pg-front{--accent:#f2ce48}.pg-tempo{--accent:#13dfc6}.pg-waiting{--accent:#19c7f5}.pg-lane>header{display:flex;gap:20px;align-items:flex-start}.pg-lane>header>svg{width:44px;height:47px;flex:none;color:var(--accent);filter:drop-shadow(0 0 9px color-mix(in srgb,var(--accent) 35%,transparent))}.pg-front>header>svg,.pg-tempo>header>svg{fill:var(--accent);stroke-width:1.3}.pg-lane h3{font:600 26px/1.1 RaceCondensed,sans-serif;margin:0 0 9px;color:var(--accent)}.pg-lane header p{font:14px/1.35 Barlow,sans-serif;max-width:165px;margin:0}.pg-count{display:none}.pg-toggle{position:absolute;right:14px;top:13px;display:flex;gap:17px;align-items:center;color:var(--accent);z-index:2;padding:0}.pg-toggle span{font:600 13px RaceCondensed,sans-serif}.pg-toggle svg{border:1px solid var(--accent);border-radius:50%;padding:4px;width:28px;height:28px}.pg-field{position:relative;min-width:0;padding:20px 25px 0;align-self:end}.pg-field[hidden]{display:none}.pg-rail{position:absolute;top:15px;left:20px;right:20px;height:76px;border-top:2px solid #9ce1dc85;background:repeating-linear-gradient(90deg,transparent 0 35px,#b5ebd17a 36px 38px,transparent 39px 70px) top/100% 25px no-repeat}.pg-rail:after{content:'';position:absolute;top:27px;left:-15px;right:-15px;height:45px;background:linear-gradient(180deg,#45b88820,#38cb9840),repeating-linear-gradient(0deg,transparent 0 16px,#92dfb71a 17px 18px);clip-path:polygon(4% 0,96% 0,100% 100%,0 100%);border:1px solid #81bba444}.pg-front .pg-rail:after{background:linear-gradient(#679b1a66,#65982c44),repeating-linear-gradient(0deg,transparent 0 16px,#c4e95d22 17px 18px)}.pg-start,.pg-finish{position:absolute;top:61px;font:12px RaceCondensed,sans-serif;color:#a1ced2;z-index:1}.pg-start{left:0}.pg-finish{right:0}.pg-runners{display:flex;flex-wrap:wrap;justify-content:center;align-items:end;gap:8px;position:relative;z-index:1}.analysis-workspace .pg-runner,.pg-runner{flex:0 1 125px;min-width:80px;padding:0;font-family:RaceCondensed,sans-serif;transition:transform .15s}.pg-runner:hover{transform:translateY(-3px)}.pg-horse{display:block;width:100px;height:78px;margin:-10px auto -7px;background:url('/assets/pace-horses-v2.png') no-repeat;background-size:400% 200%;filter:drop-shadow(0 6px 3px #0008)}.pg-name{display:flex;align-items:center;gap:8px;position:relative;border:1px solid #155560;border-radius:6px;padding:3px;background:linear-gradient(#002431,#00141c);min-height:34px}.pg-name strong{font:600 13px/1.15 RaceCondensed,sans-serif;color:#d8f0f5;text-align:left;overflow-wrap:anywhere}.pg-number{background:linear-gradient(120deg,#ffffff44,transparent 50%),var(--silk);display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:25px;height:28px;border-radius:4px;color:white;text-shadow:1px 1px 2px #000;box-shadow:inset 0 0 0 1px #ffffff44,0 2px 3px #0007;font:600 22px/1 RaceCondensed,sans-serif}.pg-panel{border:1px solid #08767e;border-radius:11px;background:linear-gradient(110deg,#00272cbb,#00151caa);padding:12px}.pg-track{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 115px;gap:5px;align-self:start}.pg-track h3{font:600 23px RaceCondensed,sans-serif;color:#42efd8;margin:0 0 3px}.pg-track p{font:14px Barlow,sans-serif;margin:0}.pg-track>svg{width:115px;height:61px}.pg-track footer{grid-column:1/-1;border-top:1px solid #16616a66;padding-top:10px;display:flex;gap:10px;justify-content:space-between;font:14px Barlow,sans-serif}.pg-track footer span{display:flex;align-items:center;gap:5px}.pg-track footer svg{width:17px;height:17px;color:#31e6ce}.pg-summary{grid-column:2;grid-row:2;align-self:start}.pg-panel-title{display:flex;align-items:center;gap:12px;padding:0;text-align:left;width:100%;color:#39ddeb}.pg-panel-title h3{font:600 22px RaceCondensed,sans-serif;margin:0}.pg-panel-title>svg{width:25px;height:26px;flex:none}.pg-panel-title>svg:last-child{display:none}.pg-summary-row{display:flex;gap:12px;align-items:center;padding:8px;border:1px solid #24545e99;border-left:2px solid var(--accent);border-radius:7px;margin-top:9px;background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 9%,transparent),transparent)}.pg-summary-row>svg{width:32px;height:35px;flex:none;color:var(--accent)}.pg-summary-row h4{font:500 17px RaceCondensed,sans-serif;margin:0 0 5px;color:var(--accent)}.pg-summary-row button{display:inline-flex;align-items:center;gap:6px;margin:0 4px 3px 0;padding:0;font:500 13px RaceCondensed,sans-serif}.pg-summary-row .pg-number{height:25px;min-width:22px;font-size:20px}.pg-note{grid-column:2;grid-row:3;align-self:start}.pg-note p{font:14px/1.45 Barlow,sans-serif;color:#acd0dd;margin:10px 0}.pg-note small{display:flex;gap:8px;font:11px/1.4 RaceCondensed,sans-serif;background:#00404b44;border:1px solid #07516066;padding:8px;border-radius:5px}.pg-note small svg{flex:none;width:23px;height:23px;color:#15e1e8}.pg-unknown{grid-column:1/-1;font-size:13px;color:#a3bfc5}.pg-unknown button{margin:4px;padding:4px;border:1px solid #245762}.pg-lane.is-closed{min-height:90px}
@media(min-width:1700px){.pace-dashboard{grid-template-columns:minmax(0,1fr) 320px}.pg-lane{grid-template-columns:260px minmax(0,1fr);min-height:190px}.pg-runner{flex-basis:145px}.pg-horse{width:125px;height:95px}.pg-name strong{font-size:15px}.pg-meta{font-size:15px}.pg-heading h2{font-size:48px}}
@media(max-width:1100px) and (min-width:701px){.pace-dashboard{grid-template-columns:minmax(0,1fr) 235px;gap:12px;padding:12px}.pg-lane{grid-template-columns:155px minmax(0,1fr);padding:14px 10px}.pg-lane>header{gap:10px}.pg-lane>header>svg{width:31px}.pg-lane h3{font-size:22px}.pg-lane header p{font-size:12px}.pg-heading h2{font-size:34px}.pg-heading p{font-size:14px}.pg-meta{display:none}.pg-track{grid-template-columns:1fr 90px}.pg-track>svg{width:90px}.pg-runner{flex-basis:95px}.pg-horse{width:85px;height:67px}.pg-name strong{font-size:12px}}
@media(max-width:700px){.analysis-workspace .pace-dashboard,.pace-dashboard{display:flex;flex-direction:column;gap:10px;padding:12px 10px;border-radius:20px;min-width:0;width:100%}.pg-heading{order:0;justify-content:center;min-height:43px;gap:8px;text-align:center;flex-wrap:wrap}.pg-heading>svg{width:27px;height:34px}.pg-heading h2{font-size:25px;margin:0}.pg-heading p{font:11px Barlow,sans-serif;margin-top:3px}.pg-meta{display:none}.pg-track{order:1;display:grid;grid-template-columns:1fr 110px;width:100%;padding:10px 13px}.pg-track h3{font-size:23px}.pg-track footer{padding-top:8px}.pg-track>svg{width:110px;height:50px}.pg-lanes{order:2;display:grid;gap:10px}.pg-lane{display:block;min-height:99px;padding:10px 10px 7px 53px;border-radius:10px;background:radial-gradient(ellipse at 30% 20%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 80%),#00191f}.pg-lane>header{display:block}.pg-lane>header>svg{position:absolute;top:13px;left:11px;width:31px;height:35px}.pg-lane h3{font-size:19px;margin:0 23px 5px 0}.pg-count{display:inline}.pg-lane header p,.pg-toggle span,.pg-rail,.pg-start,.pg-finish{display:none}.pg-toggle{right:10px;top:11px}.pg-toggle svg{width:22px;height:22px;padding:3px;background:#06465280;border:none;transform:rotate(90deg)}.pg-lane.is-closed .pg-toggle svg{transform:rotate(-90deg)}.pg-field{padding:0;min-height:0}.pg-runners{gap:3px;justify-content:flex-start;flex-wrap:wrap}.analysis-workspace .pg-runner,.pg-runner{flex:0 1 38px;min-width:30px}.pg-horse{width:43px;height:35px;margin:0 -3px -1px}.pg-name{background:none;border:none;padding:0;justify-content:center;min-height:25px}.pg-name strong{display:none}.pg-number{min-width:23px;height:26px;font-size:21px}.pg-front .pg-runner{flex-basis:98px}.pg-front .pg-name{background:#002633;border-radius:5px;justify-content:flex-start;gap:5px}.pg-front .pg-name strong{display:block;font-size:12px}.pg-front .pg-horse{margin-left:0}.pg-lane.is-closed{min-height:52px}.pg-summary{order:3;width:100%}.pg-note{order:4;width:100%}.pg-panel-title{gap:12px}.pg-panel-title h3{font-size:20px}.pg-panel-title>svg:last-child{display:block;margin-left:auto;width:18px;height:18px}.pg-summary:not(.mobile-open) .pg-summary-body,.pg-note:not(.mobile-open) .pg-note-body{display:none}.pg-note p{font:13px/1.4 Barlow,sans-serif;margin:8px 0 0 36px}.pg-note small{display:none}.pg-unknown{order:5}.pg-summary-row h4{font-size:17px}}

.past-performances{padding:14px;color:#14354b;font-family:Arial,sans-serif}
.pp-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.pp-heading h2{font-size:17px;margin:0 0 5px;color:#12364a}.pp-heading p{font-size:12px;margin:0;color:#627581}.pp-local{font-size:11px;color:#187761;background:#edf9f4;border:1px solid #c6e8da;padding:6px 9px;border-radius:20px}
.pp-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:9px}.pp-toolbar label{display:grid;gap:6px;font-size:11px;font-weight:600;flex:1 1 125px}.pp-toolbar input,.pp-toolbar select,.pp-toolbar button,.pp-toggle{min-height:38px;border:1px solid #cbd6df;border-radius:8px;background:#fff;color:#244358;padding:8px 10px}.pp-toolbar input{width:100%;box-sizing:border-box}.pp-toolbar button{color:#007ca6;background:#effaff}.pp-toolbar button,.pp-toggle,.pp-identity{cursor:pointer}.pp-toolbar select:disabled{opacity:.6}.pp-status{color:#607788;font-size:11px;margin:12px 0}.pp-horse{border:1px solid #d6e4ec;border-radius:5px;overflow:hidden;margin-bottom:13px;background:white}.pp-horse>header{display:flex;gap:13px;align-items:center;padding:8px 10px;background:#f1f7fa;flex-wrap:wrap;border-bottom:1px solid #d6e4ec}.pp-identity{display:flex;gap:8px;align-items:center;color:#12384e;background:none;border:0;text-align:left;font-size:12px}.pp-identity svg,.pp-identity img{width:24px;height:27px;object-fit:contain}.pp-number{background:#fff;border:1px solid #cbdee8;border-radius:50%;min-width:25px;height:25px;text-align:center;padding:4px}.pp-current{font-size:11px;color:#42647a}.pp-toggle{margin-left:auto;font-size:11px;min-height:30px;border:0;background:transparent;color:#0085ab}.pp-form{display:flex;gap:4px}.pp-form span{border-radius:50%;min-width:20px;height:20px;padding:3px;text-align:center;font-size:10px;background:#dfeaf0;color:#17465a}.pp-form .won{background:#d5f4e8;color:#08674d}.pp-scroll{overflow-x:auto;scrollbar-width:thin}.pp-scroll table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px;min-width:1050px}.pp-scroll th{text-align:left;background:#103b4b;color:white;font-size:10px;padding:7px 9px;font-weight:700}.pp-scroll td{padding:9px;border-top:1px solid #dfedf4;color:#23475e}.pp-scroll tbody tr:nth-child(even){background:#eaf7fd}.pp-scroll tbody tr:nth-child(odd){background:white}.pp-scroll tbody tr:hover{background:#dff3fb}.pp-scroll td:first-child{color:#007fa7;font-variant-numeric:tabular-nums}.pp-tag{display:inline-block;border:1px solid currentColor;border-radius:4px;padding:2px 5px;font-size:10px}.pp-tag.grass{color:#15774c;background:#edf9f0}.pp-tag.synthetic{color:#8b6208;background:#fff7df}.pp-tag.sand{color:#9c5528;background:#fff0e5}.pp-scroll .pp-winner{color:#077149;font-weight:700}.pp-empty{padding:15px;color:#647a89;font-size:12px}.past-performances :focus-visible{outline:2px solid #008ab3;outline-offset:2px}
@media(max-width:600px){.past-performances{padding:8px}.pp-heading{align-items:start}.pp-heading h2{font-size:16px}.pp-local{max-width:115px;font-size:10px}.pp-toolbar label{flex-basis:40%}.pp-horse>header{gap:7px}.pp-current{width:100%;order:3;font-size:10px}.pp-scroll th:first-child,.pp-scroll td:first-child{position:sticky;left:0;z-index:1}.pp-scroll th:first-child{background:#103b4b}.pp-scroll td:first-child{background:#f1f9fd}.pp-identity{font-size:12px}.pp-toggle{padding:6px;min-height:40px}.pp-form{display:none}}


/* Final theme layer. Keep numerical semantics and silk colours unchanged. */
html{color-scheme:light}body{background:#f4f7fa;background-image:none;color:#18354a}body .site-shell{background:#fff;border-color:#d6e1e8;box-shadow:0 8px 30px #18354a09}body .header{background:#fff;border-color:#d6e1e8}body p{color:#526d7e}body a:hover{color:#007ca6}body .brand strong{color:#163e53}body .brand small{color:#68818f}body .horse-mark{color:#009fc5}body .eyebrow{color:#007d9e}body em{color:#007d9e}body input,body select{background:#fff;color:#183c51;border-color:#cbd9e3}body input::placeholder{color:#748795}body :focus-visible{outline-color:#0087af}
body .main-nav a{color:#38576b}body .main-nav a[aria-current=page]{color:#007f9f}body .main-nav a[aria-current=page]:after{background:#00a6ce}body .join{border-color:#00a0c6;color:#007e9f}body .gold-button{background:#009fc5;color:#fff;border-color:#0092b8;box-shadow:none}body .gold-button:hover{color:#fff}body footer{background:#f6fafc;border-color:#d6e1e8}body .footer-bottom{color:#627c8c;border-color:#d6e1e8}
body .home-hero{background:linear-gradient(90deg,#fffffff5,#ffffffa8),url('/assets/racing-hero.webp') center/cover;color:#153d52}body .home-hero p{color:#36596e}body .hero-caption strong{color:#214d62}body .city-card,body .topic-grid article,body .editorial-card,body .cluster-page,body .auth-card,body .value-grid article,body .below-analysis article,body .editorial-empty{background:#fff;color:#18394d;border-color:#d4e2eb}body .city-card:hover{border-color:#009fc5}body .city-card h3,body .cluster-page h1,body .cluster-page h2,body .cluster-next h2,body .empty h2{color:#153c51}body .city-card p,body .city-card small,body .cluster-page p,body .cluster-next p{color:#526d7e}body .cluster-page a,body .cluster-next a,body .footer-topics a,body .below-analysis a,body .breadcrumbs a{color:#007f9f}body .editorial-placeholder{background:#eef8fc;border-color:#009fc5}body .cluster-next,body .cluster-disclaimer{border-color:#d5e3ec}body .breadcrumbs{color:#6b8190}body .analysis-guide{background:#f5fafc;border-color:#d4e3ec;color:#18394d}body .analysis-guide h2,body .analysis-guide h3{color:#18394d}body .analysis-guide a{color:#007f9f}
body .analysis-workspace{background:#fff;border-color:#d3e1e9}body .race-selector{background:#fff;border-color:#d3e1e9;padding:16px 16px 8px}body .race-selector:before{display:none}body .selector-top{margin-bottom:12px}body .selector-cities{background:#fff;border-color:#d4e0e9;box-shadow:none;border-radius:10px;margin-bottom:0}body .selector-cities button{color:#426075;min-height:38px;padding:6px 13px}body .selector-cities button.selected{background:#effaff;color:#007d9f;border-color:#00a8d0;box-shadow:none}body .selector-cities button:after{display:none}body .selector-calendar{background:#fff;box-shadow:none;border-color:#d4e0e9;min-height:40px;padding:5px}body .selector-calendar button,body .selector-calendar label{color:#0097bc}body .selector-calendar input{color:#16425a;font-size:15px}body .selector-calendar svg{width:18px;height:18px}
body .selector-races{display:flex;gap:8px;overflow:auto;margin:12px 0}body .selector-races>button{flex:0 0 auto;flex-direction:row;gap:9px;min-height:34px;min-width:90px;border:1px solid #d1e2eb;border-radius:20px;background:#fff;box-shadow:none;padding:6px 12px;color:#42657b}body .selector-races>button strong{font-size:16px;color:#009bc2;text-shadow:none}body .selector-races>button>span{font-size:13px}body .selector-races>button.selected{background:#113e52;color:#fff;border-color:#009fc5;box-shadow:none}body .selector-races>button.selected:after{display:none}body .race-badge{position:static;width:17px;height:17px;line-height:17px;font-size:10px;box-shadow:none}
body .selector-summary{background:#f6fafc;border-color:#d5e2e9;box-shadow:none;min-height:72px;padding:12px 16px;border-radius:8px;gap:16px}body .summary-category h2{color:#173d51;font-size:20px}body .summary-category p{color:#567486;font-size:14px}body .summary-trophy{width:26px;height:30px;color:#008eb2}body .summary-category{border-color:#d0e1e9;gap:10px}body .summary-surface{background:#edf8f2;color:#177548;border-color:#b9dbc9;padding:7px 12px;min-width:150px}body .summary-surface span,body .summary-surface strong{color:inherit;font-size:16px}body .summary-surface.is-sand{background:#fff4eb;color:#995a2b;border-color:#e6c8ad}body .summary-surface.is-synthetic{background:#fff8e6;color:#87600e;border-color:#e5d4a3}body .summary-weather{background:#fff;color:#385d72;border-color:#d4e2ea;padding:7px 12px;min-width:140px}body .summary-weather strong,body .summary-weather>span,body .summary-condition strong{color:#35576b}body .summary-weather small,body .summary-condition small{color:#68808e}body .summary-weather .weather-sun{width:24px;height:24px}
body .race-tabs-frame{background:#fff;border-color:#d5e2ea;box-shadow:none;border-radius:0}body #race-analysis-tabs [role=tab]{background:#fff!important;color:#627c8a!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:44px!important;padding:9px 15px!important}body #race-analysis-tabs [role=tab]>*{color:inherit!important}body #race-analysis-tabs [role=tab][aria-selected=true]{color:#007f9f!important;background:#f1fbff!important;border-bottom:3px solid #00a8d0!important}body .race-tab-icon{display:none}body .tab-panel{background:white}body .table-footer{color:#637c8b}
body .table-scroll,body .program-scroll,body .detail-table{background:#fff;border-color:#d4e2ea}body table th,body table td{border-color:#dce7ee}body .program-table thead th,body .program-table .program-horse-heading,body .program-table .program-number-heading,body .detail-table thead th{background:#eaf4f9;color:#28566d;border-color:#d6e4ec}body .program-table td,body .program-table tbody th{background:#fff;color:#25495f;border-color:#dce8ee}body .program-table tbody tr:nth-child(even)>*,body .detail-table tbody tr:nth-child(even){background:#eff8fc}body .program-table tbody tr:hover>*{background:#e5f5fb}body .runner-copy strong,body .jockey-profile,body .horse-button strong{color:#143c52}body .runner-copy small,body .horse-button small{color:#5b798d}body .horse-button:hover{background:#e6f5fc}body .number{background:#eaf4f9;color:#155270;border-color:#c5dce8;box-shadow:none}body .gold{color:#926619}body .grass{color:#15774c}body .sand{color:#9c5528}body .synthetic{color:#926508}body .blue{color:#007caa}body .muted,body .empty{color:#5a7788}
body .analysis-filter-bar,body .performance-view,body .am-toolbar{background:#fff;color:#234d63;border-color:#d4e2eb}body .analysis-select>summary,body .selection-mode,body .favorites-toggle,body .filter-reset,body .am-sort{background:#fff;color:#305970;border-color:#cbdfe9;box-shadow:none}body .analysis-select small,body .analysis-select strong{color:#305970}body .selection-mode button{color:#45687c}body .selection-mode button[aria-pressed=true]{background:#e4f7fd;color:#007b9f;box-shadow:none}body .filter-popover{background:#fff;border-color:#c5dce7;color:#264e65;box-shadow:0 12px 30px #18394d26}body .filter-popover label,body .filter-popover strong{color:#264e65}body .filter-popover label.checked{background:#e6f8fe}body .form-data-note,body .performance-caption{color:#5b7789}
body .analysis-matrix,body .analysis-matrix.am-neutral,body .am-scroll{background:#fff;border-color:#d4e2eb;color:#173c52}body .analysis-matrix.am-neutral .am-table thead th,body .am-table thead .am-identity{background:#eaf4f9;color:#33596d}body .analysis-matrix.am-neutral .am-table .am-odd>td,body .analysis-matrix.am-neutral .am-table .am-odd>.am-identity{background:#fff}body .analysis-matrix.am-neutral .am-table .am-even>td,body .analysis-matrix.am-neutral .am-table .am-even>.am-identity{background:#eff7fb}body .analysis-matrix.am-neutral .am-table th,body .analysis-matrix.am-neutral .am-table td{border-color:#d5e4ec}body .analysis-matrix.am-neutral .am-score{color:#23475e}body .analysis-matrix.am-neutral .am-score.is-focused{color:#007e9c;background:#d9f3fa}body .analysis-matrix.am-neutral .am-score.tone-missing{color:#849ba8}body .am-panel-title,body .am-toolbar h3{color:#204c63}body .am-run-sort button{color:#50798e}body .am-run-sort button[aria-pressed=true]{background:#d9f3fa;color:#007e9c;border-color:#00a3c8;box-shadow:none}body .am-date,body .am-position,body .am-toolbar small{color:#56778b}body .am-no-run,body .am-detail-toggle{color:#688494}body .analysis-matrix.am-neutral .am-track-grass .am-city,body .analysis-matrix.am-neutral .am-track-grass .am-surface{color:#15774c;background:#e5f5e9}body .analysis-matrix.am-neutral .am-track-sand .am-city,body .analysis-matrix.am-neutral .am-track-sand .am-surface{color:#99572a;background:#fff0e4}body .analysis-matrix.am-neutral .am-track-synthetic .am-city,body .analysis-matrix.am-neutral .am-track-synthetic .am-surface{color:#87600c;background:#fff5d7}body .am-detail,body .am-detail-runs article,body .am-detail-runs footer,body .horse-dialog{background:#f7fbfd;color:#224b61;border-color:#c9dfe9}body .am-detail h3,body .am-detail h4{color:#224b61}body .am-detail dd,body .am-detail dt,body .am-trend small{color:#52758a}body .am-trend text{fill:#56788d}
body .pace-dashboard{background:#f4fafc;border-color:#c8e0e9;color:#214e63}body .pg-heading h2,body .pg-heading p,body .pg-track h3,body .pg-track p,body .pg-track footer,body .pg-note p{color:#28586d}body .pg-track,body .pg-summary,body .pg-note{background:white;border-color:#c8dee8}body .pg-lane{background:#edf7fa;border-color:#a3cbd9}body .pg-lane h3,body .pg-lane header p{color:#255d72}body .pg-name,body .pg-front .pg-name{background:#fff;border-color:#c2dbe6;color:#224e63}body .pg-panel-title,body .pg-summary-row h4{color:#15738d}body .pg-summary-row{background:#eff8fc;border-color:#c9e2ec}body .pg-note small{background:#eaf7fc;color:#3e7185}body .pg-rail{opacity:.5}body .pg-toggle,body .pg-start,body .pg-finish{color:#41778c}body .service-notice{background:#fff9e9;color:#806123;border-color:#e5d6b0}
@media(max-width:700px){body .selector-summary{padding:10px;gap:10px;flex-wrap:wrap}body .selector-calendar input{width:120px}body .selector-cities button{font-size:14px;min-width:76px}body .summary-weather{display:none}body .header{padding-top:10px}body .analysis-matrix .am-identity{box-shadow:3px 0 6px #193e4f0b}body .analysis-workspace .pg-name{background:white}body .home-hero h1{color:#163d52}}
body .analysis-matrix.am-neutral.am-panels .am-scroll{background:#fff}
body .analysis-matrix.am-neutral.am-panels .am-table{background:#fff;border-spacing:5px 0}
body .analysis-matrix.am-neutral.am-panels .am-panel-title,body .analysis-matrix.am-neutral.am-panels .am-table thead .am-identity{color:#214e65}
body .analysis-matrix.am-neutral.am-panels .am-tags .am-date,body .analysis-matrix.am-neutral.am-panels .am-tags .am-position{color:#517185}
body .analysis-matrix.am-neutral.am-panels .horse-button strong{color:#183e54}
body .analysis-matrix.am-neutral.am-panels .horse-button small{color:#57798d}
body .analysis-matrix.am-neutral.am-panels .am-run-sort{border-color:#cbdfe9}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true],body .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true] span{color:#007b99;background:#dff5fb}
body .am-sort select,body .am-sort button{background:#fff;border-color:#cadfe9;color:#29566d}
body .filter-readiness{margin:10px 16px;font:12px/1.5 Arial,sans-serif;color:#466f81}

/* Accessible light palette: paired foreground/background colours, including
   nested legacy dark-theme labels, selected controls and expanded details. */
:root{--ui-text:#17354a;--ui-muted:#476174;--ui-line:#c6d5df;--ui-gold:#815600;--ui-panel:#fff;--ui-cyan:#00677f}
body{color:#17354a;background:#f3f6f9}
body :is(h1,h2,h3,h4,h5,h6){color:#17354a;text-shadow:none}
body :is(p,.muted,.section-label,.sort,.breadcrumbs,.city-links,.footer-bottom,.table-footer,.favorite-hint,.form-data-note,.performance-caption,.filter-readiness){color:#476174}
body :is(.hero-caption span,.brand small,.city-card>div>span,.city-card small,.footer-top p span){color:#476174}
body :is(.feature-row svg,.city-card>div,.icon-button,.horse-dialog .close){color:#00677f}
body :is(.analysis-page-title,.filter-bar-heading h2,.analysis-empty h3,.auth-card label:not(.checkbox),.prose-page dt){color:#17354a}
body :is(.analysis-guide summary,.auth-link a,.checkbox a,.popover-heading button,.performance-caption b){color:#00677f}
body :is(.filter-bar-heading p,.filter-reset,.am-identity>small,.am-toolbar small,.race-pdf-toolbar small,.profile-stats small,.am-detail-toggle,.am-no-run){color:#476174}
body :is(input,select,textarea){background:#fff;color:#17354a;border-color:#879eae;accent-color:#00677f}
body input::placeholder,body textarea::placeholder{color:#536b7c;opacity:1}
body :is(button,input,select,textarea):focus-visible,body a:focus-visible,body summary:focus-visible{outline:3px solid #00677f;outline-offset:3px}
body :is(button,select):disabled{opacity:1;color:#596c79;background:#edf1f4;cursor:not-allowed}
body .gold-button{background:#006b85;color:#fff;border-color:#006b85}
body .gold-button:hover{background:#005368;color:#fff;filter:none}
body :is(.join,.main-nav a[aria-current=page],.eyebrow,.blue,.pp-toggle){color:#00677f}
body .filter-symbol{color:#00677f;background:#e8f4f8;border-color:#b7d1dd}
body .filter-popover label:hover,body .filter-popover label.checked{background:#e2f1f6;color:#17354a}
body .filter-popover :is(label svg,input){color:#00677f;accent-color:#00677f}
body .active-filters button,body .favorites-toggle.active{color:#075a70;background:#e2f1f6;border-color:#7baebb}
body .active-filters button:hover{background:#cce6ef;color:#17485a}
body .favorite-star{color:#526d7e}
body .favorite-star:is(:hover,.is-favorite){color:#815600;background:#fff1cd;border-color:#bd9642}
body .selector-races>button.selected strong{color:#fff}
body .selector-races>button:not(.selected) strong{color:#00677f}
body :is(.selector-calendar button,.selector-calendar label){color:#00677f}
body :is(.summary-category h2,.runner-copy strong){text-shadow:none}
body .race-tabs-frame #race-analysis-tabs{box-shadow:none}
body .race-tabs-frame #race-analysis-tabs [role=tab]:before{display:none!important}
body .race-tabs-frame #race-analysis-tabs [role=tab]>*{text-shadow:none!important}
body #race-analysis-tabs [role=tab]{color:#476174!important}
body #race-analysis-tabs [role=tab][aria-selected=true]{color:#005e75!important;background:#e5f3f8!important;border-bottom-color:#00677f!important}
body :is(.analysis-empty,.profile-run){background:#f5f9fb;border-color:#c6d5df;color:#17354a}
body :is(.program-origin,.program-person,.agf-value,.run-meta small,.profile-stats small,.run-heading small,.horse-heading>small){color:#476174}
body :is(.recent-results,.detail-table .rating,.gold,.apprentice-badge){color:#815600}
body :is(.first-place,.agf-favorite,.grass){color:#14633d}
body :is(.red-text,.overweight,.race-pdf-toolbar [role=alert]){color:#a52b39}
body :is(.am-scroll,.table-scroll,.pp-scroll){scrollbar-color:#829caa #eef4f7}
body .analysis-matrix.am-neutral.am-panels .am-table thead th{background:#eaf2f7;color:#17354a}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button{color:#476174}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button span{color:inherit}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button:hover{color:#005e75;background:#d9edf4}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true]{color:#005e75;background:#d9edf4;border-color:#00677f}
body .analysis-matrix.am-neutral.am-panels .am-score.is-focused{color:#005e75;background:#d9edf4}
body .analysis-matrix.am-neutral .am-score.tone-missing{color:#596f7e}
body .analysis-matrix.am-neutral .runner-number{color:#17485a;background:#e2edf3;border:1px solid #b5ccd9}
body .analysis-matrix.am-neutral .am-detail-row>td{background:#f5f9fb}
body .analysis-matrix.am-neutral .am-detail-runs .am-metric-label{color:#476174}
body .analysis-matrix.am-neutral .am-tags>span{color:#476174}
body :is(.am-detail-runs footer,.am-score button,.am-profile dt,.am-profile dd){color:#476174}
body .am-tags .am-city{color:#17485a;background:#e2edf3}
body .am-tags .am-surface.grass{color:#14633d;background:#e5f5e9}
body .am-tags .am-surface.sand{color:#874217;background:#fff0e4}
body .am-tags .am-surface.synthetic{color:#745207;background:#fff5d7}
body :is(.tone-excellent,.tone-strong){color:#14633d}body .tone-good{color:#745207}body .tone-fair{color:#874217}body .tone-low{color:#a52b39}
body .pg-name strong,body .pg-summary-row button,body .pg-meta,body .pg-unknown{color:#17354a}
body .pg-front{--accent:#815600}body .pg-tempo{--accent:#08735f}body .pg-waiting{--accent:#006f96}
body .pg-panel-title,body .pg-summary-row h4,body .pg-toggle{color:#00677f}
body .pg-note small svg,body .pg-track footer svg{color:#00677f}
body .pg-toggle svg{background:#e5f2f7}
body .past-performances :is(.pp-heading p,.pp-status,.pp-empty){color:#476174}
body .pp-scroll th{background:#173f52;color:#fff;text-shadow:none}
body .pp-scroll td:first-child{color:#00677f}
body .pp-toolbar select:disabled{opacity:1}
body .pp-tag.grass{color:#14633d}body .pp-tag.sand{color:#874217}body .pp-tag.synthetic{color:#745207}
body .pp-scroll table{font-size:12px}body .pp-scroll th{font-size:11px}
body .pp-toolbar label,body .pp-current,body .pp-status{font-size:12px}
body .selector-days{background:#f0f5f8;border-color:#b8cdd8;box-shadow:none}
body .selector-days button{color:#345466}
body .selector-days button.selected{background:#006b85;color:#fff;border-color:#006b85;box-shadow:none}
body .selector-days button:hover:not(.selected),body .selector-cities button:hover:not(.selected),body .selector-races>button:hover:not(.selected){background:#e3f0f6;color:#17485a;border-color:#7ca6b9}
body .am-chart-legend span:nth-child(1){color:#14633d!important}
body .am-chart-legend span:nth-child(2){color:#165c9c!important}
body .am-chart-legend span:nth-child(3){color:#815600!important}
body .am-trend svg>g:nth-of-type(4) line{stroke:#14633d}body .am-trend svg>g:nth-of-type(4) circle{fill:#14633d}
body .am-trend svg>g:nth-of-type(5) line{stroke:#165c9c}body .am-trend svg>g:nth-of-type(5) circle{fill:#165c9c}
body .am-trend svg>g:nth-of-type(6) line{stroke:#815600}body .am-trend svg>g:nth-of-type(6) circle{fill:#815600}
@media(max-width:700px){body .analysis-workspace .pg-name strong{color:#17354a}body .pp-scroll th:first-child{background:#173f52;color:#fff}}

/* Neutral reading theme. Scoped specificity intentionally beats the legacy
   selector/table skin, including React Native Web tab text. */
:root{--race-font:Arial,Helvetica,sans-serif;--ui-text:#202833;--ui-muted:#505b68;--ui-line:#d3d8df;--ui-panel:#fff;--ui-cyan:#1e4f91}
body{font-family:Arial,Helvetica,sans-serif;color:#202833;background:#f4f5f7;font-size:15px}
body :is(h1,h2,h3,h4,h5,h6){color:#202833}
body :is(p,.muted,.section-label,.breadcrumbs,.table-footer,.footer-bottom,.form-data-note,.filter-readiness,.performance-caption){color:#505b68}
body :is(.site-shell,.header,.analysis-workspace,.race-selector){background:#fff;border-color:#d3d8df;box-shadow:none}
body .brand strong{color:#202833}body .brand small{color:#505b68}
body .main-nav a{font-size:14px;color:#374151}body .account-nav{font-size:13px}
body :is(.analysis-page-title,.am-toolbar h3){font-size:21px;color:#202833}
body .analysis-workspace :is(button,input,select){font-family:Arial,Helvetica,sans-serif}
body .selector-cities{border-color:#d3d8df;background:#f6f7f9}
body .selector-cities button{font-size:14px;font-weight:600;color:#374151}
body .selector-cities button.selected{background:#e8effa;color:#173f78;border-color:#6383af}
body .selector-races>button{background:#fff;color:#374151;border-color:#b9c3cf;border-radius:7px;min-height:38px}
body .race-selector .selector-races>button>span{color:#374151;font-size:13px;font-weight:600;text-shadow:none;opacity:1}
body .race-selector .selector-races>button>strong{color:#202833;font-size:16px}
body .selector-races>button.selected{background:#244d82;border-color:#244d82}
body .race-selector .selector-races>button.selected>span,body .race-selector .selector-races>button.selected>strong{color:#fff}
body .selector-calendar :is(input,button,label){color:#374151}
body .selector-summary{background:#f6f7f9;border-color:#d3d8df}
body .race-selector .summary-category h2{font:600 15px/1.45 Arial,sans-serif;color:#202833}
body .summary-category p{font:13px/1.5 Arial,sans-serif;color:#505b68}
body .summary-condition small,body .summary-weather small{font-size:12px;color:#505b68}
body .summary-condition strong,body .summary-weather>span{font-size:13px;color:#303c49}
body .race-tabs-frame{padding:8px 12px;background:#fff}
body .race-tabs-frame #race-analysis-tabs{background:#f3f4f6;border:1px solid #d3d8df;border-radius:8px;box-shadow:none;gap:3px;padding:4px}
body .race-tabs-frame #race-analysis-tabs [role=tab]{background:transparent!important;border:0!important;border-radius:5px!important;min-height:44px!important;padding:10px 13px!important;color:#374151!important}
body .race-tabs-frame #race-analysis-tabs [role=tab]>*{font:600 13px/1.4 Arial,sans-serif!important;color:#374151!important;text-shadow:none!important}
body .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]{background:#244d82!important;color:#fff!important;box-shadow:none!important}
body .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{color:#fff!important}
body .race-tabs-frame #race-analysis-tabs [role=tab]:hover:not([aria-selected=true]){background:#e3e7ed!important}
body .race-tabs-frame #race-analysis-tabs [role=tab]:after,body .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>div:after{display:none!important}
body .analysis-filter-bar{background:#fafbfc;border-color:#d3d8df;box-shadow:none}
body .analysis-select>summary{background:#fff;color:#374151;border-color:#b9c3cf}
body .analysis-select summary small{font-size:12px;color:#505b68}
body .analysis-select summary strong{font-size:14px;color:#202833}
body .selection-mode{background:#f3f4f6;border-color:#cbd1da}
body .selection-mode button{font-size:12px;color:#374151}
body .selection-mode button[aria-pressed=true]{background:#dfe9f8;color:#173f78}
body :is(.am-toolbar small,.am-detail-toggle,.am-no-run,.filter-readiness,.race-pdf-toolbar small){font:12px/1.5 Arial,sans-serif;color:#505b68}
body .analysis-matrix.am-neutral.am-panels .am-table thead th{background:#f0f2f5;color:#202833;border-color:#cbd2db}
body .analysis-matrix.am-neutral.am-panels .am-panel-title{color:#202833;font:600 15px/1.4 Arial,sans-serif;padding:12px}
body .analysis-matrix.am-neutral.am-panels .am-table thead .am-identity{color:#202833;font-size:16px}
body .analysis-matrix.am-neutral.am-panels .am-identity>small{font-size:12px;color:#505b68}
body .analysis-matrix.am-neutral.am-panels .am-table .am-odd>td,body .analysis-matrix.am-neutral.am-panels .am-table .am-odd>.am-identity{background:#fff}
body .analysis-matrix.am-neutral.am-panels .am-table .am-even>td,body .analysis-matrix.am-neutral.am-panels .am-table .am-even>.am-identity{background:#f5f6f8}
body .analysis-matrix.am-neutral.am-panels .am-table :is(th,td){border-color:#d3d8df}
body .analysis-matrix.am-neutral.am-panels .horse-button strong{color:#202833;font:700 13px/1.4 Arial,sans-serif}
body .analysis-matrix.am-neutral.am-panels .horse-button small{color:#505b68;font:12px/1.4 Arial,sans-serif}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button{font:600 13px/1.4 Arial,sans-serif;color:#374151}
body .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true],body .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true] span{background:#dfe9f8;color:#173f78;border-color:#244d82}
body .analysis-matrix.am-neutral.am-panels .am-score{color:#202833}
body .analysis-matrix.am-neutral.am-panels .am-score strong{font:700 20px/1.5 Arial,sans-serif;font-variant-numeric:tabular-nums}
body .analysis-matrix.am-neutral.am-panels .am-score.is-focused{background:#dfe9f8;color:#173f78}
body .analysis-matrix.am-neutral.am-panels .am-score.tone-missing{color:#66717d}
body .analysis-matrix.am-neutral.am-panels .am-tags :is(.am-date,.am-position){color:#505b68;font-size:12px}
body .analysis-matrix.am-neutral .runner-number{color:#303c49;background:#e9edf2;border-color:#c0c9d4;text-shadow:none;font-family:Arial,sans-serif;font-size:18px}
body :is(.am-detail,.am-detail-runs article,.am-detail-runs footer,.horse-dialog){background:#fafbfc;color:#202833;border-color:#ccd3dc}
body .pp-scroll tbody tr:nth-child(even),body .program-table tbody tr:nth-child(even)>*{background:#f4f5f7}
body .program-table thead th,body .program-table .program-horse-heading,body .program-table .program-number-heading{background:#edf0f4;color:#303c49}
body .pp-scroll th{background:#344256;color:#fff}
body .pp-horse>header{background:#edf0f4;color:#202833}
body .gold-button{background:#244d82;border-color:#244d82;color:#fff}
body .gold-button:hover{background:#193a65}
body :is(.am-scroll,.table-scroll,.pp-scroll){scrollbar-color:#8793a1 #edf0f4}
body :focus-visible{outline-color:#244d82}
@media(max-width:700px){body .race-tabs-frame #race-analysis-tabs [role=tab]{padding:10px 12px!important}body .analysis-matrix.am-neutral.am-panels .horse-button strong{font-size:12px}body .analysis-matrix.am-neutral.am-panels .horse-button small{font-size:11px}body .pp-scroll th:first-child{background:#344256}}


/* Approved studio direction, applied to production components. */
body{background:#f3f4ef!important}
body .studio{--ink:#293e34;--muted:#5f7065;--line:#dbe3da;background:#f3f4ef;color:#293e34;font-family:Arial,sans-serif}
body .studio :is(button,input,select,summary,p,small,a,th,td){font-family:Arial,sans-serif}
body .studio .header{background:#fafbf8;border-bottom:1px solid #dce3dc;min-height:84px;box-shadow:none}
body .studio .brand{display:flex;min-width:0}
body .studio .brand-logo{width:220px;height:auto;max-height:64px;object-fit:contain}
body .studio :is(.main-nav a,.account-nav a){color:#40554a;font-size:13px}
body .studio .main-nav a[aria-current=page]{color:#155c50;border-color:#14675d}
body .studio :is(h1,h2,h3){color:#293e34}
body .studio .analysis-page-title{font:500 30px/1.25 Georgia,serif;letter-spacing:-.6px;margin:22px 0}
body .studio .analysis-workspace{background:#fff;border:1px solid #dbe3da;border-radius:12px;box-shadow:none;padding:20px;overflow:visible}
body .studio .race-selector{background:#fff}
body .studio :is(.selector-cities,.selector-calendar){background:#fff;border-color:#dbe3da;border-radius:6px}
body .studio .selector-cities button{background:transparent;color:#52675a;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:42px;font-size:13px}
body .studio .selector-cities button.selected{background:transparent;color:#155c50;border-bottom-color:#14675d}
body .studio .selector-races{gap:8px;padding:12px 0}
body .studio .selector-races button{background:#fff;border:1px solid #d5dfd7;border-radius:6px;min-height:40px;color:#34493f;padding:8px 14px}
body .studio .selector-races button span{color:#52675a;font-size:12px}
body .studio .selector-races button.selected{background:#234c42;color:#fff;border-color:#234c42}
body .studio .selector-races button.selected span{color:#fff}
body .studio .selector-summary{background:#f6f8f3;border:1px solid #e0e6dc;border-radius:6px;padding:12px 16px}
body .studio .summary-category h2{font:600 14px/1.5 Arial}
body .studio .selector-summary :is(p,small){font-size:11px;color:#5a6d60}
body .studio .race-tabs-frame #race-analysis-tabs{background:#fff!important;border:0!important;border-bottom:1px solid #cdd9ce!important;border-radius:0!important;box-shadow:none!important}
body .studio .race-tabs-frame #race-analysis-tabs [role=tab]{background:#fff!important;border-radius:0!important;border:0!important;border-bottom:3px solid transparent!important;padding:15px 12px!important}
body .studio .race-tabs-frame #race-analysis-tabs [role=tab]>*{color:#52675a!important;font:600 13px Arial!important}
body .studio .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]{border-bottom-color:#14675d!important}
body .studio .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{color:#155c50!important}
body .studio .analysis-filter-bar{background:#f8faf6;border:1px solid #dde5db;border-radius:8px;padding:10px;margin:18px 0 8px}
body .studio .analysis-select summary{background:#fff;border-color:#ccd9ce;border-radius:6px;min-height:46px}
body .studio .analysis-select summary :is(small,strong){color:#40594a;font-size:12px}
body .studio :is(.selection-mode,.filter-reset,.favorites-toggle){border-color:#d3dfd4;border-radius:6px;color:#40594a}
body .studio .selection-mode button{font-size:12px;color:#40594a;min-height:34px}
body .studio .selection-mode button[aria-pressed=true]{background:#e2eee4;color:#16533b;border-radius:4px}
body .studio :is(.filter-readiness,.table-footer,.performance-caption){color:#5b6e60;font-size:12px}
body .studio .am-toolbar{display:flex;padding:16px 0 12px}
body .studio .am-toolbar h3{font:600 18px Arial}
body .studio .am-toolbar small{font-size:12px;color:#5f7065}
body .studio :is(.gold-button,.join){background:#234c42;border-color:#234c42;color:#fff}
body .studio .below-analysis article,body .studio footer{background:#fafbf8;border-color:#dbe3da}
body .studio .pp-scroll th{background:#344c40;color:#fff}
body .studio :is(.pp-horse>header,.program-table thead th,.program-table .program-horse-heading,.program-table .program-number-heading){background:#f1f5ef;color:#344d3e}
body .studio .pp-scroll tbody tr:nth-child(even),body .studio .program-table tbody tr:nth-child(even)>*{background:#f8faf7}
body .studio :focus-visible{outline:3px solid #14675d;outline-offset:3px}
.matrix-mobile-hint{display:none}
body .studio .account-nav a.join{color:#fff}
body .studio .analysis-matrix.am-neutral.am-panels.am-runs-5 .am-table{min-width:1105px}
body .studio .analysis-matrix.am-neutral.am-panels .horse-button strong{letter-spacing:0}
body .studio .main-nav a[aria-current=page]::after{background:#14675d}
body .studio .performance-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 12px}
body .studio .performance-heading h2{font:600 20px/1.3 Arial;margin:5px 0}
body .studio .performance-heading small{color:#5b6e60;font-size:10px;letter-spacing:1.5px}
body .studio .horse-search{display:flex;align-items:center;gap:8px;color:#40594a;font-size:12px}
body .studio .horse-search input{width:180px;padding:10px;border:1px solid #ccd9ce;border-radius:6px;background:#fff;color:#293e34}
@media(max-width:700px){body .studio .performance-heading{display:block}body .studio .horse-search{margin-top:12px}body .studio .horse-search input{flex:1;min-width:0}body .studio .summary-surface .track-miniature{display:none}}
body .studio .analysis-matrix{margin:0 22px}.studio .am-toolbar{display:flex}.studio .analysis-matrix.am-neutral.am-panels .am-scroll{border:1px solid #dae3db;border-radius:6px;background:#fff}.studio .analysis-matrix.am-neutral.am-panels .am-table{border-spacing:0;border-collapse:separate;background:#fff;min-width:calc(190px + var(--run-count)*245px)}.studio .analysis-matrix.am-neutral.am-panels .am-table :is(th,td){border:0;border-bottom:1px solid #e4e9e3;border-right:1px solid #e1e7e0;border-radius:0!important}.studio .analysis-matrix.am-neutral.am-panels .am-table thead th{background:#f1f5ef;color:#3c5645;height:62px}.studio .analysis-matrix.am-neutral.am-panels .am-panel-title{font:600 12px/1.4 Arial;text-align:center;color:#415a48;padding:8px 4px 4px}.studio .analysis-matrix.am-neutral.am-panels .am-table thead .am-identity{font-size:13px;padding:12px;color:#344d3e;vertical-align:middle}.studio .analysis-matrix.am-neutral.am-panels .am-identity>small{font-size:10px;color:#627568}.studio .analysis-matrix.am-neutral.am-panels .am-run-sort{border:0;max-width:210px}.studio .analysis-matrix.am-neutral.am-panels .am-run-sort button{font:600 10px/1.5 Arial;padding:5px 0;color:#5b7062}.studio .analysis-matrix.am-neutral.am-panels .am-run-sort button span{font-size:9px}.studio .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true],.studio .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true] span{background:#e0eee4;color:#16533b;border-color:#23664a}.studio .analysis-matrix.am-neutral.am-panels .am-table .am-odd>*,.studio .analysis-matrix.am-neutral.am-panels .am-table .am-even>*{background:#fff}.studio .analysis-matrix.am-neutral.am-panels .am-table .am-even>*{background:#f8faf7}.studio .analysis-matrix.am-neutral.am-panels .am-table tbody tr:hover>*{background:#eef5ee}.studio .am-table .am-identity{width:190px;min-width:190px;box-shadow:2px 0 4px #183b2210}.studio .analysis-matrix.am-neutral.am-panels .horse-button strong{font:700 11px/1.4 Arial;color:#2d4337}.studio .analysis-matrix.am-neutral.am-panels .horse-button small{font:10px/1.4 Arial;color:#607466}.studio .analysis-matrix.am-neutral .runner-number{background:#edf2ed;color:#4a6453;border:0;width:25px;min-width:25px;height:30px;font-size:15px}.studio .analysis-matrix.am-panels .race-silk{width:24px;height:31px}.studio .am-detail-toggle{font-size:9px;color:#557363}.studio .analysis-matrix.am-neutral .am-run{min-height:62px;padding:6px 4px;max-width:310px}.studio .analysis-matrix.am-neutral.am-panels .am-score strong{font:600 18px/1.5 Arial;color:inherit;font-variant-numeric:tabular-nums}.studio .analysis-matrix.am-neutral.am-panels .am-score{color:#2d4337;padding:2px 0}.studio .analysis-matrix.am-neutral.am-panels .am-score.is-focused{background:#e2efe6;color:#17563b;border-radius:4px}.studio .analysis-matrix.am-neutral.am-panels .am-tags{font-size:10px;gap:5px;padding-bottom:4px}.studio .analysis-matrix.am-neutral.am-panels .am-tags :is(.am-date,.am-position){font-size:10px;color:#617166}.studio .analysis-matrix.am-neutral .am-track-grass :is(.am-city,.am-surface){color:#2e6342;background:#edf5ed}.studio .analysis-matrix.am-neutral .am-track-sand :is(.am-city,.am-surface){color:#82502e;background:#f8f0e7}.studio .analysis-matrix.am-neutral .am-track-synthetic :is(.am-city,.am-surface){color:#6d5b2b;background:#f6f2df}.studio .favorite-star{color:#738779}.studio .am-detail{background:#f5f8f2}.studio .st-note{display:flex;justify-content:space-between;background:white;border:0;padding:12px 22px;font-size:10px;color:#627568}.studio .st-footer{display:flex;justify-content:space-between;padding:20px 0;background:transparent;border:0;font-size:10px;color:#65746a}.st-empty{padding:40px;text-align:center}.studio .past-performances{padding:0 22px}.studio .pp-heading{display:none}

body .studio .analysis-matrix{margin:0}
body .studio .analysis-matrix.am-neutral.am-panels .am-table{min-width:calc(205px + var(--run-count)*265px)}
body .studio .analysis-matrix.am-neutral.am-panels .am-table .am-identity{width:205px;min-width:205px;max-width:205px}
body .studio .analysis-matrix.am-neutral.am-panels .horse-button strong{font-size:12px}
body .studio .analysis-matrix.am-neutral.am-panels .horse-button small{font-size:11px}
body .studio .analysis-matrix.am-neutral.am-panels .am-run{width:100%;max-width:310px;margin:auto;min-height:72px}
body .studio .analysis-matrix.am-neutral.am-panels .am-tags{white-space:nowrap}
body .studio .analysis-matrix.am-neutral.am-panels .am-run-sort{max-width:310px;margin:auto}
body .studio .analysis-matrix.am-neutral.am-panels .am-score strong{font-size:18px}
body .studio .analysis-matrix.am-neutral.am-panels .am-scroll{overflow-x:auto;overscroll-behavior-x:contain}
@media(max-width:700px){
 body .studio .header{min-height:70px;padding:12px 16px;gap:12px}
 body .studio .brand-logo{width:160px;height:auto}
 body .studio main{padding-left:10px;padding-right:10px}
 body .studio .analysis-page-title{font-size:26px;margin:18px 0}
 body .studio .analysis-workspace{padding:10px;min-width:0}
 body .studio .selector-top{flex-wrap:wrap;gap:12px}
 body .studio .selector-races{overflow-x:auto;flex-wrap:nowrap}
 body .studio .selector-races button{flex-shrink:0}
 body .studio .selector-summary{padding:12px;gap:12px}
 body .studio .analysis-filter-bar .filter-controls{display:flex;flex-wrap:wrap;gap:8px}
 body .studio .analysis-select{flex:1 1 130px;min-width:0}
 body .studio .race-tabs-frame{max-width:100%;overflow-x:auto}
 body .studio .matrix-mobile-hint{display:block;color:#536c5b;font-size:12px;margin:8px 0 12px}
 body .studio .am-toolbar{gap:12px;flex-wrap:wrap}
 body .studio .analysis-matrix.am-neutral.am-panels .am-table{table-layout:fixed;min-width:calc(205px + var(--run-count)*265px)}
 body .studio .analysis-matrix.am-neutral.am-panels .am-table .am-identity{position:sticky;left:0;z-index:2;width:205px;min-width:205px;max-width:205px}
 body .studio .analysis-matrix.am-neutral.am-panels .am-table :is(th,td){padding:8px}
 body .studio .analysis-matrix.am-neutral.am-panels .horse-button{display:flex;align-items:center}
 body .studio .analysis-matrix.am-neutral.am-panels .horse-button strong{font-size:12px}
 body .studio .analysis-matrix.am-neutral.am-panels .horse-button small{font-size:11px}
 body .studio .analysis-matrix.am-neutral.am-panels .am-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
 body .studio .analysis-matrix.am-neutral.am-panels .am-score strong{font-size:18px}
 body .studio .analysis-matrix.am-neutral.am-panels .am-metric-label{display:none}
}

/* Finish red: one shared visual language for the live site. */
body .finish .finish-copy h1 em{font-family:inherit!important;font-weight:inherit!important;letter-spacing:inherit}
body .finish :is(.cluster-next,.footer-topics,.below-analysis) a{color:var(--sk-color-text-link)}
body .finish .analysis-matrix.am-neutral.am-panels .am-identity>button{color:var(--sk-color-text-secondary);font-size:13px;padding:0}
@media(max-width:700px){body .finish.page-analysis footer{display:none}body .finish .selector-summary{min-height:0!important;padding:6px 0!important}body .finish .race-selector{padding-bottom:0}.mobile-horse strong{font-size:13px}.mobile-filter-sheet .sheet-options label{font-size:14px}.mobile-filter-sheet .sheet-options:not(.surface) input{position:absolute;opacity:0;width:1px;height:1px}.sheet-options label:focus-within{outline:2px solid var(--sk-color-text-link);outline-offset:2px}}
body .finish .race-selector{padding:10px 0;border:0;border-radius:0}
body .finish .race-selector::before,body .finish .selector-races button::after{display:none}
body .finish .selector-top{margin-bottom:0;min-width:0}
body .finish .selector-cities{width:100%;max-width:100%;flex:none;margin:0;box-shadow:none}
body .finish .selector-cities button{min-width:65px}
body .finish .selector-calendar{min-height:36px;box-shadow:none;padding:4px}
body .finish .selector-races{margin:0}
body .finish .selector-races button{height:58px;line-height:1.2;box-shadow:none}
body .finish .selector-races button strong{font-family:Arial;font-style:normal;text-shadow:none}
body .finish .selector-races button span{border:0;padding:0}
body .finish .selector-summary{min-height:0;margin:0;box-shadow:none}
body .finish .summary-category{padding:0;border:0}
body{background:#f5f6f8!important}
body .studio.finish{--ink:var(--sk-color-text-primary);--muted:var(--sk-color-text-secondary);--line:var(--sk-color-border-subtle);background:white;color:var(--ink);font-family:Arial,sans-serif}
body .finish :is(h1,h2,h3,h4,strong){color:var(--sk-color-text-primary)}
body .finish :is(p,small,label){color:var(--sk-color-text-secondary)}
body .finish :is(button,input,select){font-family:Arial,sans-serif}
body .finish .header{height:88px;min-height:88px;background:#fff;border-bottom:1px solid var(--sk-color-border-subtle);padding:20px 32px;box-shadow:none}
body .finish .brand-logo{width:220px;height:auto}
body .finish .main-nav{margin:auto}
body .finish .main-nav a{color:var(--sk-color-text-secondary);font-size:14px}
body .finish .main-nav a[aria-current=page]{color:var(--sk-color-text-primary);border-color:var(--sk-color-brand-primary)}
body .finish .main-nav a[aria-current=page]::after{background:var(--sk-color-brand-primary)}
body .finish .account-nav .login{border:1px solid #d7dde6;border-radius:5px;padding:11px 25px;font-weight:600;color:var(--sk-color-text-primary)}
body .finish main{padding:0 32px}
.finish-menu-toggle,.finish-bottom-nav,.finish-mobile-menu,.mobile-analysis,.mobile-filter-controls{display:none}
body .finish .gold-button{background:var(--sk-color-brand-primary);color:white;border:1px solid var(--sk-color-brand-primary);border-radius:5px;box-shadow:none;font-weight:600}
body .finish .gold-button:hover{background:var(--sk-color-text-link)}
body .finish :focus-visible{outline:3px solid var(--sk-color-text-link);outline-offset:3px}
body .finish .finish-hero{display:grid;grid-template-columns:46% 54%;grid-template-rows:auto auto;min-height:420px;margin:0 -32px;border-bottom:1px solid var(--sk-color-border-subtle)}
.finish-copy{padding:56px 24px 12px 36px;grid-column:1;grid-row:1}
body .finish .finish-copy h1{font:800 clamp(38px,4.6vw,70px)/1.04 Arial,sans-serif;letter-spacing:-3px;margin:0 0 22px;color:#0e141e}
body .finish .finish-copy h1 em{font-style:normal;color:var(--sk-color-brand-primary)}
body .finish .finish-copy p{font-size:19px;line-height:1.5;margin:0}
.finish-photo{grid-column:2;grid-row:1/3;position:relative;overflow:hidden;min-height:400px}
.finish-photo img{width:100%;height:100%;object-fit:cover;display:block}
.finish-photo::after{content:"";position:absolute;top:0;bottom:0;right:6%;width:8px;background:#f25550}
.finish-actions{grid-column:1;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:26px;padding:12px 24px 30px 36px}
.finish-actions>a:not(.gold-button){color:var(--sk-color-text-secondary);border-bottom:1px solid #a8b1be;padding-bottom:4px;font-size:14px}
.finish-actions>span{display:flex;align-items:center;gap:16px;flex-basis:100%;font-size:9px;letter-spacing:3px;color:var(--sk-color-text-secondary);margin-top:12px}
.finish-actions>span::after{content:"";height:1px;background:#d7dde6;flex:1}
.finish-program{padding:26px 4px}
.finish-program header{display:flex;gap:24px;align-items:center;margin-bottom:14px}
body .finish :is(.finish-program,.finish-guides) h2{font-size:30px;font-weight:800;letter-spacing:-1px;margin:0}
.finish-program time{font-size:14px;color:var(--sk-color-text-secondary)}
.finish-meeting{display:flex;align-items:center;gap:22px;padding:16px 18px;border:1px solid var(--sk-color-border-subtle);border-radius:6px;margin-bottom:8px;color:var(--sk-color-text-primary)}
.finish-meeting>i{width:11px;height:11px;background:var(--sk-color-brand-primary);border-radius:3px}
.finish-meeting>strong{min-width:105px;font-size:18px}
.finish-meeting>span{border-left:1px solid #cad2df;padding-left:20px;font-size:13px;min-width:110px;color:var(--sk-color-text-secondary)}
.finish-meeting p{font-size:13px;margin:0}
.finish-meeting b{display:flex;gap:8px;align-items:center;color:var(--sk-color-text-link);margin-left:auto;font-size:14px}
.finish-guides{border-top:1px solid var(--sk-color-border-subtle);padding:24px 4px}
.finish-guides>div{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px}
.finish-guides article{display:flex;gap:22px;padding:0 22px;border-right:1px solid var(--sk-color-border-subtle)}
.finish-guides article:first-child{padding-left:0}.finish-guides article:last-child{border:0}
.finish-guide-icon{display:grid;place-items:center;flex-shrink:0;width:80px;height:80px;border-radius:50%;background:var(--sk-color-table-row-selected);color:var(--sk-color-text-secondary)}
body .finish .finish-guides h3{font-size:21px;margin:0 0 6px}
.finish-guides p{font-size:13px;line-height:1.6;margin:0 0 8px}
.finish-guides a{display:flex;align-items:center;gap:8px;font-size:13px;text-decoration:underline;text-underline-offset:5px}
body .finish :is(.below-analysis article,footer){background:#fff;border-color:var(--sk-color-border-subtle)}
body .finish .analysis-page-title{font:700 22px Arial;margin:18px 0}
body .finish .analysis-workspace{padding:0;border:0;border-radius:0;background:#fff}
body .finish .selector-top{padding:10px 0}
body .finish :is(.selector-cities,.selector-calendar){border-color:var(--sk-color-border-subtle)}
body .finish .selector-cities button{border:0;border-radius:4px;color:var(--sk-color-text-secondary)}
body .finish .selector-cities button.selected{color:var(--sk-color-text-link);background:var(--sk-color-table-row-selected)}
body .finish .selector-races{padding:10px 0;gap:5px}
body .finish .selector-races button{border-radius:4px;min-width:65px;border-color:var(--sk-color-border-subtle);background:#fff;display:grid;gap:5px;justify-items:center}
body .finish .selector-races button strong{font-size:17px}
body .finish .selector-races button span{color:var(--sk-color-text-secondary);font-size:12px}
body .finish .selector-races button.selected{background:var(--sk-color-brand-primary);border-color:var(--sk-color-brand-primary);color:#fff}
body .finish .selector-races button.selected :is(span,strong){color:#fff}
body .finish .selector-summary{background:var(--sk-color-bg-subtle);border-color:var(--sk-color-border-subtle);padding:10px 16px}
body .finish .selector-summary h2{font-size:15px}
body .finish .race-tabs-frame #race-analysis-tabs{border-bottom-color:var(--sk-color-border-subtle)!important}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab]>*{color:var(--sk-color-text-secondary)!important;font-weight:400!important}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]{border-bottom-color:var(--sk-color-brand-primary)!important}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab][aria-selected=true]>*{color:var(--sk-color-text-link)!important;font-weight:700!important}
body .finish .performance-heading,body .finish .am-toolbar,body .finish .filter-readiness{display:none}
body .finish .analysis-filter-bar{margin:12px 0;padding:0;border:0;background:#fff}
body .finish .analysis-select summary{border-color:var(--sk-color-border-subtle);border-radius:5px;min-height:40px}
body .finish .analysis-select summary>span{display:flex;align-items:center;gap:5px}
body .finish .analysis-select summary small{font-size:13px;color:var(--sk-color-text-secondary)}
body .finish .analysis-select summary small::after{content:":"}
body .finish .analysis-select summary strong{font-size:13px;color:var(--sk-color-text-primary)}
body .finish .analysis-select summary>svg:first-child{display:none}
body .finish .selection-mode{background:#f7f8fa;border-color:var(--sk-color-border-subtle)}
body .finish .selection-mode button{color:var(--sk-color-text-secondary);min-height:38px}
body .finish .selection-mode button[aria-pressed=true]{color:var(--sk-color-text-link);background:var(--sk-color-table-row-selected);border:1px solid var(--sk-color-brand-primary)}
body .finish .filter-controls>.selection-mode:last-child{display:none}
body .finish :is(.favorites-toggle,.filter-reset){border-color:var(--sk-color-border-subtle);color:var(--sk-color-text-secondary);border-radius:5px}
body .finish .analysis-matrix.am-neutral.am-panels .am-scroll{border:1px solid var(--sk-color-border-subtle);border-radius:0}
body .finish .analysis-matrix.am-neutral.am-panels .am-table :is(th,td){border-color:var(--sk-color-border-subtle)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table thead th{background:#f9fafc;color:var(--sk-color-text-primary);height:66px}
body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-identity{width:240px;min-width:240px;max-width:240px}
body .finish .analysis-matrix.am-neutral.am-panels .am-panel-title{color:var(--sk-color-text-primary);font-size:16px;text-align:left;padding:10px 12px 4px}
body .finish .analysis-matrix.am-neutral.am-panels .am-run-sort button{font-size:12px;color:var(--sk-color-text-secondary)}
body .finish .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true],body .finish .analysis-matrix.am-neutral.am-panels .am-run-sort button[aria-pressed=true] span{background:transparent;color:var(--sk-color-text-link);border-color:var(--sk-color-brand-primary)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-even>*,body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-odd>*{background:#fff}
body .finish .analysis-matrix.am-neutral.am-panels .am-table tbody tr:hover>*,body .finish .analysis-matrix.am-neutral.am-panels .am-table tbody tr.am-open>*{background:var(--sk-color-table-row-selected)}
body .finish .analysis-matrix.am-neutral.am-panels .race-silk{display:none}
body .finish .analysis-matrix.am-neutral.am-panels .runner-number{background:white;border:1px solid #d5dce6;border-radius:5px;color:var(--sk-color-text-primary);font:600 17px Arial;width:30px;height:34px}
body .finish .analysis-matrix.am-neutral.am-panels .horse-button strong{font:700 14px Arial;color:var(--sk-color-text-primary);letter-spacing:-.3px}
body .finish .analysis-matrix.am-neutral.am-panels .horse-button small{font:12px Arial;color:var(--sk-color-text-secondary)}
body .finish .analysis-matrix.am-neutral.am-panels .am-detail-toggle{display:none}
body .finish .analysis-matrix.am-neutral.am-panels .am-run{min-height:58px;padding:5px 8px;max-width:none}
body .finish .analysis-matrix.am-neutral.am-panels .am-tags{font-size:11px;gap:6px;border:0}
body .finish .analysis-matrix.am-neutral.am-panels .am-tags :is(.am-date,.am-position,.am-city,.am-surface){background:none;color:var(--sk-color-text-secondary);font:11px Arial;padding:0}
body .finish .analysis-matrix.am-neutral.am-panels .am-score{color:var(--sk-color-text-primary)}
body .finish .analysis-matrix.am-neutral.am-panels .am-score strong{font:500 15px/1.5 Arial;color:var(--sk-color-text-primary)}
body .finish .analysis-matrix.am-neutral.am-panels .am-score.is-focused{background:var(--sk-color-table-row-selected);color:var(--sk-color-text-link)}
body .finish .analysis-matrix.am-neutral.am-panels .am-score.is-focused strong{font-weight:700}
body .finish .table-footer{border-color:var(--sk-color-border-subtle);color:var(--sk-color-text-secondary);font-size:11px}
body .finish .pp-scroll th{background:#273142;color:#fff}
body .finish .pp-horse>header{background:var(--sk-color-bg-subtle);color:var(--sk-color-text-primary)}
body .finish :is(.program-table thead th,.program-table .program-horse-heading,.program-table .program-number-heading){background:var(--sk-color-bg-subtle);color:var(--sk-color-text-primary)}
body .finish .am-detail{background:#fff7f6;color:var(--sk-color-text-primary)}
@media(min-width:1000px){body .finish.page-analysis .race-selector{display:grid;grid-template-columns:250px 1fr;gap:0 20px}body .finish .selector-top{grid-row:1/3;display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:center;gap:8px}body .finish .selector-calendar{border:0}body .finish .selector-summary{grid-column:2;grid-row:1;border:0;background:#fff}body .finish .selector-races{grid-column:2;grid-row:2}body .finish .summary-surface .track-miniature{display:none}}
@media(max-width:700px){
 body .finish{padding-bottom:76px}
 body .finish .header{height:76px;min-height:76px;padding:16px 20px;display:flex}
 body .finish .brand-logo{width:180px}
 body .finish .main-nav,body .finish .account-nav{display:none}
 .finish-menu-toggle{display:flex;margin-left:auto;color:var(--sk-color-text-secondary);padding:8px}
 .finish-mobile-menu{display:grid;position:absolute;top:76px;left:0;right:0;background:#fff;z-index:50;border-bottom:1px solid var(--sk-color-border-subtle);padding:16px;gap:10px}
 .finish-mobile-menu a{padding:10px;color:var(--sk-color-text-primary)}
 body .finish main{padding:0 16px}
 .finish-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60;background:#fff;border-top:1px solid var(--sk-color-border-subtle);justify-content:space-around;padding:10px 8px calc(10px + env(safe-area-inset-bottom))}
 .finish-bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--sk-color-text-secondary);font-size:11px}
 .finish-bottom-nav a[aria-current=page]{color:var(--sk-color-text-link)}
 body .finish .finish-hero{display:flex;flex-direction:column;margin:0 -16px;min-height:0}
 .finish-copy{padding:24px 20px 20px}
 body .finish .finish-copy h1{font-size:42px;letter-spacing:-2px;line-height:1.08;margin-bottom:14px}
 body .finish .finish-copy p{font-size:18px;max-width:300px}
 .finish-photo{min-height:0;height:235px;margin:0 12px;flex:none}
 .finish-photo img{object-position:center}
 .finish-photo::after{width:5px}
 .finish-actions{padding:16px 20px 24px;gap:14px;justify-content:center}
 .finish-actions>span{order:-1;margin:0 0 4px;font-size:8px}
 .finish-actions .gold-button{width:100%;justify-content:center;min-height:46px}
 .finish-program{padding:22px 0}
 .finish-program header{display:block}
 body .finish :is(.finish-program,.finish-guides) h2{font-size:25px;letter-spacing:-1px;margin-bottom:8px}
 .finish-program time{font-size:13px}
 .finish-meeting{padding:14px 12px;gap:12px}
 .finish-meeting>strong{min-width:76px;font-size:16px}
 .finish-meeting>span{min-width:0;padding-left:12px}
 .finish-meeting p{display:none}
 .finish-meeting b{font-size:0;gap:0}
 .finish-guides>div{display:block}
 .finish-guides article{border:0;border-bottom:1px solid var(--sk-color-border-subtle);padding:18px 0;gap:18px}
 body .finish .analysis-page-title{font:700 26px Arial;margin:20px 0 12px;letter-spacing:-.6px}
 body .finish .selector-top{padding:0;gap:8px}
 body .finish .selector-cities button{padding:8px 10px;min-height:35px;font-size:12px}
 body .finish .selector-calendar{border:0;margin-left:0}
 body .finish .selector-summary{padding:8px 0;background:#fff;border:0;justify-content:flex-start}
 body .finish :is(.summary-condition,.summary-weather,.summary-surface,.summary-trophy){display:none}
 body .finish .summary-category h2{font-size:13px;color:var(--sk-color-text-secondary);font-weight:400}
 body .finish .selector-races{gap:5px;padding:12px 0}
 body .finish .selector-races button{min-width:37px;width:37px;height:40px;padding:5px;background:#f5f6f8;border:0}
 body .finish .selector-races button span{display:none}
 body .finish .selector-races button strong{font-size:16px}
 body .finish .race-tabs-frame #race-analysis-tabs [role=tab]{padding:12px!important}
 body .finish .race-tabs-frame #race-analysis-tabs [role=tab]>*{font-size:13px!important}
 body .finish .performance-view>.analysis-filter-bar,body .finish .performance-view .analysis-matrix{display:none}
 .mobile-filter-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}
 .mobile-filter-controls>div{display:flex;gap:4px}
 .mobile-filter-controls>button,.mobile-filter-controls>div>button{display:flex;align-items:center;gap:6px;background:var(--sk-color-bg-subtle);border:1px solid var(--sk-color-border-subtle);border-radius:8px;padding:10px 13px;font-size:13px;color:var(--sk-color-text-primary)}
 .mobile-filter-controls>div>button[aria-pressed=true]{background:var(--sk-color-brand-primary);border-color:var(--sk-color-brand-primary);color:#fff}
 .mobile-analysis{display:block}
 .mobile-run-picker{display:flex;gap:5px;align-items:center;padding:6px 0 14px}
 .mobile-run-picker button,.mobile-run-picker select{border:1px solid var(--sk-color-border-subtle);background:#fff;border-radius:7px;color:var(--sk-color-text-primary);min-height:38px;padding:6px}
 .mobile-run-picker button:disabled{opacity:.4}
 .mobile-run-picker select{min-width:0;flex:1;font-size:13px;text-align:center;font-weight:600}
 .mobile-run-picker span{font-size:11px;color:var(--sk-color-text-secondary);padding:0 7px}
 .mobile-scores{width:100%;table-layout:fixed;border-collapse:collapse}
 .mobile-scores th:first-child{width:53%}
 .mobile-scores thead{background:#f5f6f9}
 .mobile-scores th,.mobile-scores td{padding:11px 3px;border-bottom:1px solid #e4e8ef;text-align:center;color:var(--sk-color-text-primary)}
 .mobile-scores thead button{font-size:12px;color:var(--sk-color-text-secondary);padding:0}
 .mobile-scores thead button[aria-pressed=true]{color:var(--sk-color-text-link);font-weight:700}
 .mobile-scores th:first-child{text-align:left}
 .mobile-scores td{font-size:14px;font-variant-numeric:tabular-nums}
 .mobile-scores tr:hover{background:var(--sk-color-table-row-selected)}
 .mobile-scores td.focused{font-weight:700;background:var(--sk-color-table-row-selected)}
 .mobile-horse{display:block;text-align:left;width:100%;padding:0}
 .mobile-horse strong{display:flex;gap:7px;font-size:12px;letter-spacing:-.3px}
 .mobile-horse strong span{min-width:13px}
 .mobile-horse small{display:block;font-size:9px!important;font-weight:400;white-space:normal;margin:6px 0 0 20px;line-height:1.3}
 .mobile-score-note{font-size:10px;padding:10px 0}
 .mobile-filter-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:88dvh;border:0;border-radius:20px 20px 0 0;padding:12px 22px 24px;background:#fff;color:var(--sk-color-text-primary);overflow:auto}
 .mobile-filter-sheet::backdrop,.mobile-horse-sheet::backdrop{background:#17202b66}
 .sheet-handle{width:45px;height:5px;border-radius:5px;background:#b7c0ce;margin:0 auto 20px}
 .mobile-filter-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
 body .finish .mobile-filter-sheet h2{font-size:26px;margin:0}
 .mobile-filter-sheet header button{color:var(--sk-color-text-link)}
 .mobile-filter-sheet fieldset{border:0;margin:0 0 24px;padding:0}
 .mobile-filter-sheet legend{font-size:15px;font-weight:700;margin-bottom:12px;color:var(--sk-color-text-primary)}
 .sheet-options{display:flex;flex-wrap:wrap;gap:8px}
 .sheet-options label{display:flex;align-items:center;gap:7px;border:1px solid var(--sk-color-border-subtle);background:var(--sk-color-bg-subtle);padding:10px 12px;border-radius:9px;font-size:13px;color:var(--sk-color-text-primary)!important}
 .sheet-options label.selected{background:var(--sk-color-brand-primary);color:white!important;border-color:var(--sk-color-brand-primary)}
 .sheet-options input{accent-color:var(--sk-color-brand-primary);width:15px;height:15px}
 .sheet-options.surface{display:grid;gap:8px}
 .sheet-options.surface label{border:0;background:#fff;color:var(--sk-color-text-primary)!important;padding:3px}
 .sheet-options.surface input{width:22px;height:22px}
 .mobile-filter-sheet p{font-size:12px}
 .sheet-apply{width:100%;padding:15px;background:var(--sk-color-brand-primary);color:#fff;border-radius:7px;font-weight:600;margin-top:14px}
 .sheet-cancel{display:block;width:100%;padding:16px;color:var(--sk-color-text-secondary)}
 .mobile-horse-sheet{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;padding:22px;background:#fff;overflow:auto}
 .back-analysis{display:flex;align-items:center;gap:8px;color:var(--sk-color-text-primary);padding:12px 0}
 body .finish .mobile-horse-sheet h2{font-size:28px;margin:18px 0 8px}
 .mobile-horse-sheet>p{font-size:14px}
 .mobile-horse-sheet nav{display:flex;border-bottom:1px solid var(--sk-color-border-subtle);margin-top:22px}
 .mobile-horse-sheet nav button{flex:1;padding:14px 10px;border-bottom:2px solid transparent;color:var(--sk-color-text-secondary)}
 .mobile-horse-sheet nav button[aria-pressed=true]{color:var(--sk-color-text-link);border-color:var(--sk-color-brand-primary)}
 body .finish .mobile-horse-sheet h3{font-size:24px;margin:22px 0 12px}
 .mobile-run-card{display:flex;gap:14px;border:1px solid var(--sk-color-border-subtle);border-radius:10px;padding:16px 12px;margin-bottom:12px}
 .mobile-run-card>div{width:78px;flex-shrink:0;border-right:1px solid var(--sk-color-border-subtle);padding-right:10px}
 .mobile-run-card>div strong{font-size:14px;overflow-wrap:anywhere}
 .mobile-run-card small{display:block;font-size:11px;margin-top:7px}
 .mobile-run-card section{flex:1;min-width:0}
 .mobile-run-card p{font-size:12px;margin:0 0 12px}
 .mobile-card-scores{display:flex;justify-content:space-between;margin-bottom:14px}
 .mobile-card-scores b{font-size:18px}
 .mobile-card-scores small{margin-bottom:5px}
 body .finish .page-analysis footer{display:none}
}

/* Supplied Sonkulvar A system. Presentation only: no data or interaction changes. */
:root{--sk-color-bg-page:#F4F5F7;--sk-color-border-subtle:#E1E5EA;--sk-color-table-divider:#E1E5EA}
body .studio.finish{--ink:var(--sk-color-text-primary);--muted:var(--sk-color-text-secondary);--line:var(--sk-color-border-subtle);--race-font:var(--sk-font-ui);font-family:var(--sk-font-ui);font-size:16px}
body .finish :is(button,input,select,textarea,summary,p,small,a,th,td){font-family:var(--sk-font-ui)}
body .finish :is(h1,h2,h3,h4){font-family:var(--sk-font-heading,var(--sk-font-ui));color:var(--ink);font-style:normal;letter-spacing:-.035em}
body .finish :is(p,small,label,.muted,.eyebrow,.breadcrumbs,.footer-bottom,.table-footer){color:var(--muted)}
body .finish main{max-width:1280px;margin-inline:auto}
body .finish .header{height:80px;min-height:80px;padding:16px 32px}
body .finish .brand-logo{width:190px;height:auto;object-fit:contain}
body .finish .main-nav a{font-size:14px}
body .finish .main-nav a[aria-current=page]::after{background:var(--sk-color-brand-primary)}
body .finish :is(.gold-button,.join,.sheet-apply){background:var(--sk-color-action-primary-bg);border-color:var(--sk-color-action-primary-bg);color:white;min-height:44px;box-shadow:none}
body .finish :is(.gold-button,.join,.sheet-apply):hover:not(:disabled){background:var(--sk-color-action-primary-hover)}
body .finish :is(button,input,select,textarea):disabled{opacity:1;cursor:not-allowed;color:var(--sk-color-disabled-text);background:var(--sk-color-disabled-bg);border-color:var(--sk-color-disabled-border);box-shadow:none}
body .finish :focus-visible{outline:2px solid var(--sk-color-focus-ring);outline-offset:3px}
body .finish ::selection{background:var(--sk-color-selection-bg);color:white}
body .finish .finish-copy h1{font-size:clamp(40px,4.3vw,56px);line-height:1.08;letter-spacing:-.05em}
body .finish .finish-copy p{font-size:18px;line-height:1.6}
body .finish .finish-photo::after{background:var(--sk-color-brand-primary)}
body .finish .finish-guide-icon{background:var(--sk-color-table-row-selected);color:var(--sk-color-brand-accent)}
body .finish :is(.finish-program,.finish-guides) h2{font-size:28px}
body .finish .finish-guides p{font-size:14px}
body .finish footer{padding:32px;border-top:1px solid var(--line)}
body .finish .footer-bottom{font-size:12px;line-height:1.6}
/* All content families share one reading rhythm, without changing text or URLs. */
body .finish :is(.cluster-page,.info-page){padding:32px 0 48px;max-width:1120px;margin-inline:auto;border:0;border-radius:0;background:white;box-shadow:none}
body .finish :is(.cluster-page,.info-page) h1{font-size:clamp(30px,3.5vw,44px);line-height:1.15;margin:12px 0 20px}
body .finish :is(.cluster-page,.info-page) h2{font-size:24px;line-height:1.3}
body .finish :is(.cluster-page,.info-page) p{font-size:16px;line-height:1.7}
body .finish :is(.prose-page,.info-page.prose){max-width:72ch}
body .finish .prose-page section{padding:20px 0;border-bottom:1px solid var(--line)}
body .finish .prose-page :is(dt,h2){margin:12px 0;font-weight:700}
body .finish .prose-page dd{margin:0 0 20px;line-height:1.65;color:var(--muted)}
body .finish .cluster-page>header>p{max-width:68ch}
body .finish .eyebrow{font-size:11px;letter-spacing:.14em}
body .finish :is(.cluster-next,.compact-context,.editorial-placeholder,.service-notice){border:1px solid var(--line);border-radius:8px;padding:24px;background:var(--sk-color-bg-subtle);box-shadow:none}
body .finish .editorial-placeholder{background:var(--sk-color-table-row-selected);border:0;border-left:3px solid var(--sk-color-brand-primary);margin:24px 0}
body .finish .cluster-next{margin-top:32px}
body .finish :is(.cluster-next,.compact-context,.prose-page,.info-page) a{color:var(--sk-color-text-link);text-decoration:underline;text-underline-offset:4px}
body .finish .city-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:24px 0 32px}
body .finish .city-card{display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:12px;padding:18px 16px;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:none}
body .finish .city-card h2{font-size:17px;margin:0}
body .finish .city-card p{font-size:13px;margin:0}
body .finish .city-card span{font-size:12px;color:var(--sk-color-text-link)}
body .finish .city-card:hover{background:var(--sk-color-table-row-hover);border-color:var(--sk-color-border-control)}
body .finish .topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}
body .finish .topic-grid article{background:white;padding:24px;border:1px solid var(--line);border-radius:8px;box-shadow:none;border-top:3px solid var(--sk-color-brand-primary)}
body .finish .topic-grid h2{font-size:22px;margin:0 0 12px}
body .finish .related-topics{display:flex;flex-wrap:wrap;gap:16px;margin:28px 0}
/* Compact, neutral data surfaces across all nine existing tabs. */
body .finish .selector-cities{width:100%!important;max-width:100%!important;flex:none!important}
body .finish :is(.breadcrumbs a,.auth-link a,.gold,.eyebrow){color:var(--sk-color-text-link)}
body .finish .prediction-page>header{position:relative;width:100%;max-width:none;padding:24px 48% 32px 0;min-height:280px}
body .finish .prediction-page>header::after{content:'';position:absolute;right:0;top:0;bottom:0;width:43%;background:url('/assets/finish-hero.png') center/cover;border-right:6px solid var(--sk-color-brand-primary)}
body .finish .race-tabs-frame{padding:4px 0}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab]{min-height:44px!important;padding:10px 12px!important}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab]>*{font-family:var(--sk-font-ui)!important}
body .finish .race-tabs-frame #race-analysis-tabs [role=tab]:hover:not([aria-selected=true]){background:var(--sk-color-table-row-hover)!important}
body .finish .race-pdf-toolbar{padding:4px 0;margin:4px 0;min-height:0}
body .finish :is(.analysis-select summary,.favorites-toggle,.filter-reset,.selector-calendar,.mobile-run-picker select){border-color:var(--sk-color-border-control);min-height:44px}
body .finish :is(.analysis-select label,.analysis-select summary small,.analysis-select summary strong){font-size:13px;color:var(--ink)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-identity{width:210px;min-width:210px;max-width:210px}
body .finish .analysis-matrix.am-neutral.am-panels .am-table thead th{background:var(--sk-color-table-header-bg)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-even>*{background:var(--sk-color-table-row-zebra)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table tbody tr:hover>*{background:var(--sk-color-table-row-hover)}
body .finish .analysis-matrix.am-neutral.am-panels .am-table tbody tr.am-open>*{background:var(--sk-color-table-row-selected)}
body .finish .analysis-matrix.am-neutral.am-panels .am-score strong{font-family:var(--sk-font-data);font-size:16px;font-variant-numeric:tabular-nums}
body .finish .analysis-matrix.am-neutral.am-panels .am-run-sort button{min-height:36px}
body .finish .analysis-matrix.am-neutral.am-panels .am-tags :is(.am-date,.am-position,.am-city,.am-surface){font-family:var(--sk-font-ui);font-size:11px;color:var(--muted)}
body .finish .am-surface::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px;outline:1px solid var(--sk-color-track-swatch-outline)}
body .finish .am-track-grass .am-surface::before{background:var(--sk-color-track-grass)}
body .finish .am-track-sand .am-surface::before{background:var(--sk-color-track-dirt)}
body .finish .am-track-synthetic .am-surface::before{background:var(--sk-color-track-synthetic)}
body .finish :is(.quarter-table,.detail-table,.program-table,.pp-scroll table,.simple-gallop-table){background:white;color:var(--ink);border-color:var(--line);font-size:13px;font-variant-numeric:tabular-nums}
body .finish :is(.quarter-table,.detail-table,.program-table,.pp-scroll table,.simple-gallop-table) th{background:var(--sk-color-table-header-bg);color:var(--ink);border-color:var(--line);text-shadow:none}
body .finish :is(.quarter-table,.detail-table,.program-table,.pp-scroll table,.simple-gallop-table) td{border-color:var(--line);color:var(--ink)}
body .finish :is(.quarter-table,.detail-table,.program-table,.pp-scroll table,.simple-gallop-table) tbody tr:nth-child(even)>*{background:var(--sk-color-table-row-zebra)}
body .finish :is(.quarter-run,.quarter-content,.simple-gallop-card,.compact-workout-header,.pg-panel,.pg-note-body,.pg-summary-body,.horse-dialog,.am-detail-runs article){background:white;color:var(--ink);border-color:var(--line);box-shadow:none}
body .finish :is(.quarter-values,.quarter-average,.quarter-duration,.compact-horse-name,.declared-jockey,.jockey-workout-count,.simple-gallop-note,.pg-note-body,.pg-summary-body) :is(strong,span,small,p){color:var(--ink);text-shadow:none}
body .finish :is(.form-data-note,.quarter-missing,.simple-gallop-note,.pp-status){color:var(--muted);font-size:12px;line-height:1.5}
body .finish .favorite-star{min-width:44px;min-height:44px;color:var(--muted)}
body .finish .favorite-star.active{color:var(--sk-color-text-link)}
/* Authentication: preserve disabled service and submit behavior. */
body .finish .auth-layout{display:grid;grid-template-columns:1fr 440px;gap:64px;align-items:start;padding:48px 0;max-width:1120px;margin:auto}
body .finish .auth-layout>div h1{font-size:clamp(38px,4.2vw,56px);line-height:1.1}
body .finish .auth-layout em{font:inherit;color:var(--sk-color-brand-primary)}
body .finish .auth-layout>div::after{content:'';display:block;height:280px;margin-top:32px;background:url('/assets/finish-hero.png') center/cover;border-right:6px solid var(--sk-color-brand-primary)}
body .finish .auth-card{background:white;border:1px solid var(--line);border-radius:8px;padding:32px;box-shadow:none}
body .finish .auth-card h2{font-size:28px;margin:12px 0}
body .finish .auth-card label{font-size:14px;color:var(--ink);line-height:1.5}
body .finish .auth-card input:not([type=checkbox]){background:white;color:var(--ink);border:1px solid var(--sk-color-input-border);border-radius:6px;min-height:48px;font-size:16px;width:100%}
body .finish .auth-card input::placeholder{color:var(--muted);opacity:1}
body .finish .password-field button{min-width:44px;min-height:44px;color:var(--ink)}
body .finish .auth-card .checkbox{display:flex;align-items:center;gap:12px;margin:20px 0;min-height:44px}
body .finish .auth-card .checkbox input{width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:0;accent-color:var(--sk-color-brand-primary)}
body .finish .service-notice{background:var(--sk-color-status-info-bg);color:var(--sk-color-status-info-text);padding:16px;font-size:14px;line-height:1.6}
@media(max-width:700px){
 body .finish .header{height:72px;min-height:72px;padding:16px}
 body .finish .brand-logo{width:160px}
 body .finish .finish-mobile-menu{top:72px}
 body .finish .finish-copy h1{font-size:34px}
 body .finish .finish-copy p{font-size:16px}
 body .finish :is(.cluster-page,.info-page){padding:24px 0}
 body .finish :is(.cluster-page,.info-page) h1{font-size:30px}
 body .finish .city-cards,body .finish .topic-grid{grid-template-columns:1fr;gap:12px}
 body .finish .prediction-page>header{padding:0;min-height:0}
 body .finish .prediction-page>header::after{position:static;display:block;width:100%;height:180px;margin-top:24px}
 body .finish .city-card{grid-template-columns:90px 1fr;padding:16px 12px}
 body .finish .city-card span{grid-column:2}
 body .finish :is(.cluster-next,.compact-context){padding:20px}
 body .finish .auth-layout{display:block;padding:16px 0 32px}
 body .finish .auth-layout>div{display:none}
 body .finish .auth-card{padding:20px 0;border:0}
 body .finish .mobile-horse strong{font-size:13px;letter-spacing:0}
 body .finish .mobile-horse small{font-size:11px!important;line-height:1.45;margin-left:0;color:var(--muted)}
 body .finish .mobile-scores td{font-size:16px}
 body .finish .mobile-scores th:first-child{width:47%}
 body .finish .mobile-run-picker button{min-width:44px;min-height:44px}
 body .finish .mobile-scores thead button{min-height:44px}
 body .finish .mobile-score-note{font-size:12px;line-height:1.5}
 body .finish .mobile-filter-sheet input{accent-color:var(--sk-color-brand-primary)}
 body .finish .mobile-filter-sheet .sheet-apply{position:sticky;bottom:0}
 body .finish .finish-bottom-nav a{min-width:56px;min-height:44px}
 body .finish .finish-bottom-nav a[aria-current=page]::after{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
 body .finish footer{padding:24px 0}
}
@media(prefers-reduced-motion:reduce){body .finish *,body .finish *::before,body .finish *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* October 23: race-first workspace and comparable history columns. */
body .finish.page-home{background:#F4F5F7}
body .finish .scan-hero{background:white;border:1px solid var(--line);border-radius:8px;padding:32px;margin:24px 0 18px}
body .finish .scan-hero h1{font-size:36px;margin:12px 0}
body .finish .scan-hero p{font-size:18px;margin:0 0 24px}
.scan-hero>div{display:flex;align-items:center;gap:24px}.scan-hero>div>a:last-child{text-decoration:underline;text-underline-offset:4px}
.scan-home-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(260px,1fr);gap:16px;align-items:start}
.scan-program,.scan-guides{background:white;border:1px solid var(--line);border-radius:8px;padding:24px;min-width:0}
.scan-program header{display:flex;align-items:center;justify-content:space-between;gap:16px}.scan-program time{font-size:13px;color:var(--muted)}
body .finish :is(.scan-program,.scan-guides) h2{font-size:20px;margin:0 0 16px}
.scan-cities{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);margin:8px 0}
.scan-cities button{padding:12px 16px;min-height:44px;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.scan-cities button[aria-pressed=true]{color:#BD3629;border-color:#BD3629;font-weight:700}
.scan-program-head,.scan-race{display:grid;grid-template-columns:48px 62px minmax(120px,1fr) 140px 65px;gap:12px;align-items:center}
.scan-program-head{font-size:12px;color:var(--muted);padding:12px 0;border-bottom:1px solid var(--line)}
.scan-race{padding:16px 0;border-bottom:1px solid var(--line);font-size:14px;color:var(--ink)}
.scan-race>b{display:grid;place-items:center;width:40px;height:44px;background:#F4F5F7;border-radius:6px;font-size:18px}
.scan-race:hover{background:#F8F9FB}.scan-race strong{font-size:14px}.scan-open{display:flex;gap:6px;align-items:center;color:#BD3629;font-size:12px}
.scan-surface{font-size:13px}.scan-surface::after{content:'';display:block;width:64px;height:3px;margin-top:6px;border-radius:2px}.scan-surface.grass::after{background:#009900}.scan-surface.sand::after{background:#996633}.scan-surface.synthetic::after{background:#D39B1E}
.scan-guides>a{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.scan-guides>a>svg{flex-shrink:0;color:#606872}.scan-guides>a>div{flex:1}
body .finish .scan-guides h3{font-size:17px;margin:0 0 6px}.scan-guides p{font-size:13px;line-height:1.5;margin:0}
body .finish .analysis-page-title{font-size:28px;font-weight:750;margin:16px 0 8px}
body .finish .analysis-matrix.am-neutral.am-panels .am-table{table-layout:fixed;width:100%;min-width:1100px}
body .finish .analysis-matrix.am-neutral.am-panels.am-runs-5 .am-table{min-width:1700px}
body .finish .analysis-matrix.am-neutral.am-panels .am-table .am-identity{width:260px;min-width:260px;max-width:260px}
body .finish .analysis-matrix.am-neutral.am-panels :is(.am-scores,.am-run-sort){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;gap:12px}
body .finish .analysis-matrix.am-neutral.am-panels .am-run{max-width:none;padding:10px 14px;min-height:76px}
body .finish .analysis-matrix.am-neutral.am-panels .horse-button strong{font-size:16px;line-height:1.3}
body .finish .analysis-matrix.am-neutral.am-panels .horse-button small{font-size:13px}
body .finish .analysis-matrix.am-neutral.am-panels .am-tags :is(.am-date,.am-position,.am-city,.am-surface){font-size:13px}
body .finish .analysis-matrix.am-neutral.am-panels .am-score.is-focused{background:transparent}
body .finish .scan-score{display:block;min-width:0;text-align:left}
body .finish .scan-score strong{display:block;font:600 16px/1.4 var(--sk-font-data);font-variant-numeric:tabular-nums;color:#20252B}
.scan-bar{display:block;height:5px;background:#E1E5EA;margin-top:5px;border-radius:2px;overflow:hidden}.scan-bar i{display:block;height:100%;background:#697580}.scan-score.active .scan-bar i{background:#BD3629}
body .finish .analysis-matrix.am-neutral.am-panels .am-run-sort button:disabled{background:transparent;color:#606872;cursor:help}
.mobile-run-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 0 12px}.mobile-run-tabs button{flex:1;min-width:90px;padding:8px 6px;min-height:40px;background:#F4F5F7;border:1px solid #E1E5EA;border-radius:6px;color:#20252B;font-size:13px;white-space:nowrap}.mobile-run-tabs button[aria-pressed=true]{background:#FBECE9;border-bottom:3px solid #BD3629;color:#BD3629}
@media(max-width:700px){
 body .finish .scan-hero{padding:20px;margin:12px 0}.scan-hero>div{display:grid;gap:12px}.scan-hero .gold-button{justify-content:center}
 body .finish .scan-hero h1{font-size:28px}.scan-hero p{font-size:16px!important}
 .scan-home-grid{display:block}.scan-program,.scan-guides{padding:16px}.scan-guides{margin-top:16px}.scan-program header{display:block}.scan-program header h2{margin-bottom:6px!important}.scan-cities button{padding-inline:12px}
 .scan-program-head{display:none}.scan-race{grid-template-columns:36px 1fr 20px;gap:6px 12px}.scan-race>b{grid-row:1/3;width:34px}.scan-race strong{grid-column:2;grid-row:1}.scan-race time{grid-column:2;grid-row:2}.scan-race .scan-surface{grid-column:2;grid-row:2;margin-left:48px}.scan-open{grid-column:3;grid-row:1/3;font-size:0}
 body .finish .analysis-page-title{font-size:24px}
 body .finish .mobile-scores th:first-child{width:40%}.mobile-scores td{padding-inline:4px!important}.mobile-scores .scan-score strong{font-size:16px}.mobile-scores td.focused{background:transparent!important}
 body .finish .mobile-horse strong{font-size:14px}.mobile-scores tr:hover{background:#FBECE9}.mobile-scores th,.mobile-scores td{padding-block:14px!important}
 body .finish .mobile-run-card{display:block;padding:14px}.mobile-run-card>div{width:auto!important;border:0!important;padding:0!important;display:flex;gap:10px;margin-bottom:12px}.mobile-run-card>div strong{font-size:14px!important}.mobile-run-card>div small{margin:0}.mobile-card-scores{gap:12px}.mobile-card-scores>span{flex:1;min-width:0}
}
