@charset "UTF-8";
:root{--ink:#18212b;--navy:#14375a;--paper:#f6f6f2;--line:#dfe3e2;--muted:#6c767d;--yellow:#ffc900;--white:#fff;--radius:12px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:15px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button{color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #3178ae;outline-offset:4px}button svg,.subtle svg{width:18px;height:18px}button{border:0}img{max-width:100%}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:100;background:white;padding:12px}
.topbar{height:90px;background:#fff;border-top:4px solid var(--navy);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 max(36px,calc((100vw - 1320px)/2));position:relative;z-index:10}.brand{width:180px;line-height:0;flex-shrink:0}.brand img{width:180px;height:auto}.view-tabs{display:flex;gap:3px;padding:5px;background:#f1f3f1;border-radius:7px}.view-tabs button{background:transparent;border-radius:4px;padding:9px 18px;font-size:13px;font-weight:600;color:#66727b;white-space:nowrap}.view-tabs button[aria-pressed=true]{background:white;color:var(--navy);box-shadow:0 1px 4px #00000012}.top-actions{display:flex;align-items:center;gap:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:1px solid transparent;border-radius:6px;min-height:42px;padding:10px 17px;font-size:13px;font-weight:700;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button.dark{background:var(--navy);color:white}.button.dark:hover{background:#214a72}.button.quiet{background:white;border-color:var(--line)}.button.quiet:hover{background:#eef2f3}.button span{font-size:17px;font-weight:400}.export-wrap{position:relative}.export-menu{position:absolute;right:0;top:calc(100% + 10px);width:260px;padding:6px;border:1px solid var(--line);background:white;box-shadow:0 12px 32px #15242e20;border-radius:8px}.export-menu button{background:white;text-align:left;width:100%;padding:11px 12px;font-size:13px;border-radius:4px}.export-menu button:hover{background:#f1f4f5}
.page-wrap{max-width:1320px;margin:auto;padding:0 36px}.hero{display:flex;align-items:center;justify-content:space-between;padding:46px 0 35px;gap:24px}.edition-line{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.edition-tag{background:#f1ecca;color:#686124;font-size:10px;font-weight:700;letter-spacing:1px;padding:4px 8px;border-radius:3px}.hero h1{font-size:62px;line-height:1.08;letter-spacing:-2.8px;margin:18px 0 14px;font-weight:700}.hero-subtitle{margin:0;color:#69747a;font-size:14px}.hero-subtitle span{margin:0 8px;color:#a6adaf}.race-stamp{width:136px;border-left:1px solid #d3d9d8;display:flex;align-items:center;flex-direction:column;color:var(--navy)}.race-stamp span:first-child{font-size:10px;letter-spacing:2px;font-weight:700}.race-stamp strong{font-size:66px;font-weight:400;line-height:1.12;letter-spacing:-3px}.race-stamp span:last-child{font-size:12px;color:var(--muted)}.race-nav{display:flex;gap:10px;align-items:center;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:30px;overflow:auto}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;color:#7e898e;line-height:1.6}.race-nav>.eyebrow{margin-right:8px}.race-pill{border:1px solid var(--line);background:white;border-radius:5px;font-size:12px;padding:7px 15px;font-weight:700;flex-shrink:0}.race-pill.selected{background:var(--navy);border-color:var(--navy);color:white}.race-nav-end{margin-left:auto;font-size:11px;color:#859094;white-space:nowrap}.overview-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-bottom:42px}.ranking-panel{padding:25px 26px 0;background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}h2{font-size:24px;letter-spacing:-.6px;line-height:1.25;margin:4px 0 0}.subtle{font-size:11px;color:#7e898e;display:inline-flex;align-items:center;gap:6px}.ranking-panel .subtle{font-size:10px}.ranking-grid{border:1px solid var(--line);border-radius:7px;overflow:hidden}.group-A{--group:#ffc900;--ink:#252519}.group-B{--group:#d0021b;--ink:#fff}.group-C{--group:#14375a;--ink:#fff}.group-D{--group:#38e8c9;--ink:#073b31}.ranking-row{display:flex;min-height:48px;border-bottom:1px solid var(--line)}.ranking-row:last-child{border-bottom:0}.rank-label{display:flex;align-items:center;justify-content:center;width:43px;flex-shrink:0;font-size:16px;font-weight:700;background:var(--group);color:var(--ink)}.rank-numbers{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 13px}.rank-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--group);color:var(--ink);min-width:25px;height:25px;border-radius:4px;font-size:12px;font-weight:700}.rank-chip.large{min-width:30px;height:30px;font-size:14px}.empty-rank{color:#bac1c3;padding:0 8px}.leader-row{display:flex;align-items:center;gap:9px;min-height:63px;font-size:11px}.leader-row strong{font-size:11px;font-weight:600;color:#69757c}.leader-dot{width:6px;height:6px;border-radius:50%;background:#9900ff}.leader-numbers{display:flex;align-items:center;gap:13px;margin-left:auto;font-weight:700;font-size:13px}.leader-numbers b{color:#b1b8bc;font-size:11px}.analysis-panel{position:relative;background:var(--navy);color:white;padding:29px 31px;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}.analysis-panel>.eyebrow{color:#b6c6d3}.analysis-panel h2{margin-top:5px;font-size:25px;z-index:1}.analysis-mark{position:absolute;font-family:Georgia,serif;right:22px;top:-18px;font-size:160px;line-height:1;color:#ffffff0a;pointer-events:none}.analysis-text{font-size:15px;line-height:1.7;margin:16px 0 19px;max-width:510px}.analysis-text p{margin:0 0 12px}.analysis-text p:last-child{margin:0}.analysis-panel .empty-note{color:#d0dbe4}.author{display:flex;align-items:center;gap:10px;margin-top:auto}.author-avatar{display:flex;align-items:center;justify-content:center;background:#ffffff13;border:1px solid #ffffff25;border-radius:50%;width:35px;height:35px;font-size:11px;font-weight:700}.author strong{display:block;font-size:12px}.author small{display:block;color:#a8bbcb;font-size:10px;margin-top:2px}
.start-section{margin:0 0 45px}.table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}table{border-collapse:collapse;width:100%}.start-table{min-width:1000px;font-size:12px;background:white;border:1px solid var(--line);border-radius:8px}.start-table thead{background:#eef0ed}.start-table th{font-size:10px;letter-spacing:.2px;color:#6d787e;font-weight:600;text-align:left;padding:12px 13px;border-bottom:1px solid var(--line);white-space:nowrap}.start-table td{padding:10px 13px;border-bottom:1px solid #e8eceb;vertical-align:middle}.start-table tbody tr:hover{background:#f8faf8}.start-table tbody tr:last-child td{border-bottom:0}.number-cell{font-weight:700;color:#63717c;width:46px}.horse-link{font-weight:700;text-align:left;color:var(--ink);background:none;padding:5px 0;font-size:13px}.horse-link:hover{text-decoration:underline;text-underline-offset:3px}.people-cell{line-height:1.5;min-width:170px}.people-cell small{display:block;color:#8b949a;font-size:10px}.shoe-glyph{font-size:16px;font-family:Arial,Helvetica,sans-serif;white-space:nowrap}.numeric{font-variant-numeric:tabular-nums;text-align:right}.group-badge{font-size:11px;display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:4px;background:var(--group);color:var(--ink);font-weight:700;flex-shrink:0}.legend{font-size:10px;color:#899297;display:flex;align-items:center;gap:7px;margin:11px 0 0}.red-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#d0021b}.scratched .horse-link,.scratched .horse-summary strong{text-decoration:line-through;color:#8d969d}.horses-section{margin-bottom:52px}.text-button{background:none;padding:5px 0;font-size:12px;color:var(--navy);font-weight:700;display:inline-flex;align-items:center;gap:13px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.horse-tools{display:flex;align-items:center;gap:16px;margin-bottom:17px}.search-box{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:6px;min-width:280px}.search-box svg{width:17px;height:17px;flex-shrink:0;color:#8e989d}.search-box input{width:100%;min-width:0;border:none;outline:none;background:transparent;font-size:12px;color:var(--ink)}.search-box input::placeholder{color:#969fa3}.filter-buttons{display:flex;gap:5px}.filter-buttons button{background:transparent;min-width:32px;height:32px;border-radius:5px;color:#78848d;font-size:11px;padding:0 11px}.filter-buttons button.active{background:var(--navy);color:#fff}.horse-tools>.subtle{margin-left:auto}.horse-card{border:1px solid var(--line);background:white;border-radius:8px;margin:0 0 8px;scroll-margin-top:20px;overflow:hidden}.horse-card summary{display:flex;align-items:center;gap:15px;list-style:none;cursor:pointer;padding:16px 20px;user-select:none}.horse-card summary::-webkit-details-marker{display:none}.horse-card summary:hover{background:#fafbf9}.horse-number{border:1px solid #e1e5e3;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:5px;flex-shrink:0;font-size:13px;font-weight:700;color:#596b79}.horse-summary{display:block}.horse-summary strong{display:block;font-size:14px;line-height:1.4}.horse-summary>span{font-size:11px;color:#879197;display:block;margin-top:2px}.horse-summary i,.horse-record i{font-style:normal;color:#c4cbcd;padding:0 5px}.horse-record{font-size:11px;color:#919a9f;margin-left:auto}.horse-record strong{color:#596b79;font-weight:600}.horse-card summary>.group-badge{margin-left:20px}.detail-arrow{display:flex;align-items:center;color:#9ba6ac;transition:transform .15s;margin-left:8px}.detail-arrow svg{width:18px;height:18px}.horse-card[open] .detail-arrow{transform:rotate(90deg)}.horse-card[open] summary{border-bottom:1px solid var(--line);background:#fafbf9}.horse-details{padding:22px 25px}.horse-meta{display:flex;gap:40px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e8eceb;font-size:12px}.horse-meta small{display:block;font-size:9px;letter-spacing:1px;color:#8d969c;margin-bottom:5px}.horse-meta b{font-weight:400}.horse-comment{border-left:3px solid var(--yellow);padding:0 0 0 14px;margin:0 0 24px;max-width:850px}.horse-comment p{font-size:13px;margin:6px 0 0;line-height:1.7}.details-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:30px}.details-grid h4{font-size:12px;margin:0 0 12px}.details-grid h4 span{float:right;font-size:10px;font-weight:400;color:#929da3}.stats-table,.history-table{font-size:11px}.stats-table th,.history-table th{font-size:10px;color:#859198;text-align:right;background:#f5f7f5;padding:7px 8px;font-weight:500}.stats-table thead th:first-child{text-align:left;width:120px}.stats-table td{padding:7px 8px;text-align:right;border-bottom:1px solid #edf0ee;font-variant-numeric:tabular-nums}.stats-table tbody th{background:none;text-align:left;padding:7px 8px;border-bottom:1px solid #edf0ee;color:#58666e;font-size:11px;white-space:nowrap}.history-table{min-width:560px}.history-table th{text-align:left}.history-table td{border-bottom:1px solid #edf0ee;padding:7px 8px;white-space:nowrap}.history-table .win-cell{color:#157c58;font-weight:700}.empty-note{font-size:13px;color:#8b969c;line-height:1.7}.no-horses{background:white;border:1px dashed var(--line);padding:25px;text-align:center;border-radius:8px;color:#71818b}
.page-footer{border-top:1px solid var(--line);padding:28px 0 34px;display:flex;align-items:center;gap:24px}.page-footer img{width:130px;height:auto;mix-blend-mode:multiply}.page-footer>span{font-size:10px;color:#929a9f;margin-left:auto}.page-footer i{font-style:normal;margin:0 5px}.page-footer a{font-size:11px;text-decoration:none;color:#7c888f}.page-footer a:hover{text-decoration:underline}.view-heading{padding:45px 0 25px}.view-heading h1{font-size:40px;line-height:1.2;letter-spacing:-1.2px;margin:9px 0 13px}.view-heading p{color:#7b878e;font-size:13px;margin:0;max-width:700px}.email-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:white;border:1px solid var(--line);border-radius:8px;padding:15px 20px}.email-toolbar label{font-size:12px;color:#7c888f}.email-toolbar select{border:0;background:#f4f5f2;border-radius:4px;font-size:12px;padding:8px;margin-left:7px;color:var(--ink)}.email-toolbar>div{display:flex;gap:10px}.email-instruction{font-size:11px;color:#8b959b;margin:12px 0 24px}.email-preview-shell{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 10px 25px #1a313805;margin-bottom:45px}.preview-chrome{height:45px;background:#eef1ef;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:5px;padding:0 16px}.preview-chrome>span:not(.preview-label){width:7px;height:7px;border-radius:50%;background:#c8cecb}.preview-chrome p{font-size:10px;color:#869196;flex:1;margin:0 10px}.preview-label{font-size:8px;letter-spacing:1px;color:#98a3a8}.email-preview-shell iframe{border:0;width:100%;display:block;min-height:800px}.save-note{display:flex;gap:13px;background:#e9eff0;color:#55707f;padding:15px 20px;border:1px solid #d5e0e3;border-radius:8px;margin-bottom:25px}.save-note>span{font-size:18px;align-self:flex-start}.save-note p{margin:0;font-size:12px;max-width:900px;line-height:1.65}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.editor-card{padding:25px 28px;background:white;border:1px solid var(--line);border-radius:10px}.editor-card h2{font-size:22px;margin:4px 0 18px}.editor-card .section-heading{margin-bottom:0}.field-hint{font-size:11px;color:#8b959a;line-height:1.6;margin:0 0 18px}.ranking-input{display:flex;align-items:center;gap:12px;margin-bottom:11px}.ranking-input .group-badge{width:34px;height:34px}.field-label{display:block;font-size:12px;font-weight:600;margin-top:19px}.field-label input{display:block;margin-top:7px}input,textarea{border:1px solid #d9dfdf;border-radius:5px;color:var(--ink);background:#fcfdfb;padding:10px 12px;font-size:13px;line-height:1.6}.ranking-input input{width:100%;padding:7px 12px}.field-label input,textarea{width:100%}textarea{resize:vertical}.comment-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.comment-fields .field-label{margin:0 0 20px}.comment-fields .field-label>span{display:flex;align-items:center;gap:8px;margin-bottom:8px}.comment-fields .field-label b{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;background:#edf1f3;border-radius:4px;font-size:11px;font-weight:500;color:#6e7f8b}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0 45px}.editor-footer>div{display:flex;align-items:center;gap:14px}.form-error{font-size:12px;color:#c12135;max-width:430px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;padding:14px 22px;border-radius:7px;box-shadow:0 5px 20px #10253528;z-index:99;font-size:12px;max-width:calc(100vw - 30px);width:max-content}.toast.error{background:#a52a3a}.loading{padding:60px;text-align:center;color:#879298}
@media(min-width:1500px){.page-wrap{max-width:1400px;padding:0 65px}.topbar{padding-left:max(65px,calc((100vw - 1270px)/2));padding-right:max(65px,calc((100vw - 1270px)/2))}}
@media(max-width:1050px){.topbar{padding:0 25px;gap:20px}.brand,.brand img{width:155px}.view-tabs button{padding:9px 12px}.import-button{display:none}.page-wrap{padding:0 25px}.hero h1{font-size:52px}.overview-grid{gap:18px;grid-template-columns:1fr 1fr}.ranking-panel{padding:22px 20px 0}.ranking-panel .subtle{display:none}.analysis-panel{padding:25px}.analysis-text{font-size:14px}.details-grid{grid-template-columns:1fr;gap:22px}.stats-table{max-width:460px}}
@media(max-width:700px){.topbar{height:auto;min-height:79px;padding:14px 18px;gap:12px;flex-wrap:wrap}.brand,.brand img{width:145px}.top-actions{margin-left:auto}.view-tabs{order:3;width:100%;justify-content:center}.view-tabs button{flex:1;padding:8px 5px}.button{min-height:38px;padding:8px 12px;font-size:12px}.topbar .button.dark{min-height:35px;padding:7px 13px}.page-wrap{padding:0 18px}.hero{padding:30px 0 25px;align-items:center;gap:10px}.edition-line{flex-direction:column;align-items:flex-start;gap:8px;font-size:10px}.edition-tag{font-size:8px;padding:3px 6px}.hero h1{font-size:38px;letter-spacing:-1.7px;margin:14px 0 12px}.hero-subtitle{font-size:11px;max-width:235px;line-height:1.8}.hero-subtitle span{margin:0 3px}.race-stamp{width:69px}.race-stamp strong{font-size:46px}.race-stamp span:first-child{font-size:8px}.race-stamp span:last-child{font-size:10px}.race-nav{padding:13px 0;margin-bottom:22px}.race-nav-end{display:none}.race-nav>.eyebrow{font-size:9px}.overview-grid{grid-template-columns:1fr;gap:16px;margin-bottom:31px}.ranking-panel{padding:20px 20px 0}.section-heading{margin-bottom:17px}.section-heading .subtle{display:none}h2{font-size:22px}.analysis-panel{padding:24px}.analysis-panel h2{font-size:24px}.analysis-text{font-size:14px;line-height:1.8;margin-bottom:22px}.start-section{margin-bottom:32px}.start-table{min-width:900px}.table-scroll{border-radius:5px}.legend{font-size:9px;align-items:flex-start}.red-dot{flex-shrink:0;margin-top:4px}.text-button{font-size:10px;gap:6px}.horses-section>.section-heading{align-items:flex-end}.horses-section h2{font-size:21px;max-width:210px}.horse-tools{flex-wrap:wrap;gap:12px}.search-box{width:100%;min-width:0}.filter-buttons{gap:4px}.horse-tools>.subtle{font-size:10px}.horse-card summary{padding:14px 12px;gap:10px}.horse-number{width:28px;height:31px;font-size:12px}.horse-summary{min-width:0;flex:1}.horse-summary strong{font-size:13px}.horse-summary>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.horse-record{display:none}.horse-card summary>.group-badge{margin-left:0;width:23px;height:23px;font-size:10px}.detail-arrow{margin-left:0}.horse-details{padding:18px 15px}.horse-meta{gap:20px;flex-wrap:wrap;padding-bottom:16px;margin-bottom:18px;font-size:11px}.horse-meta small{font-size:8px}.horse-comment{padding-left:12px}.horse-comment p{font-size:12px}.details-grid{grid-template-columns:1fr;gap:25px}.details-grid section{min-width:0}.stats-table{font-size:10px}.stats-table tbody th{font-size:10px}.stats-table th,.stats-table td{padding:6px}.history-table{font-size:10px;min-width:550px}.page-footer{padding:25px 0;gap:16px;flex-wrap:wrap}.page-footer img{width:115px}.page-footer>span{font-size:9px;max-width:160px;text-align:right}.page-footer a{width:100%;text-align:right;font-size:10px}.view-heading{padding:30px 0 23px}.view-heading h1{font-size:32px;letter-spacing:-1px}.view-heading p{font-size:12px;line-height:1.7}.email-toolbar{padding:13px;flex-direction:column;align-items:stretch;gap:12px}.email-toolbar>div{justify-content:space-between}.email-toolbar label{font-size:11px}.email-instruction{font-size:10px;line-height:1.7}.preview-chrome{padding:0 11px}.preview-chrome p{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-label{display:none}.save-note{padding:12px;gap:10px}.save-note p{font-size:11px}.editor-grid{grid-template-columns:1fr;gap:18px}.editor-card{padding:21px 18px}.editor-card h2{font-size:22px}.comment-fields{grid-template-columns:1fr}.editor-footer{align-items:stretch;flex-direction:column-reverse}.editor-footer>div{flex-direction:column;align-items:stretch}.editor-footer .text-button{justify-content:center;font-size:11px}.form-error{text-align:center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff;font-size:11px}.topbar,.race-nav,.horse-tools,.text-button,.page-footer a,.save-note,.view-tabs,.legend{display:none!important}.page-wrap{max-width:none;padding:0}.hero{padding:10px 0 20px}.hero h1{font-size:36px}.race-stamp{display:none}.overview-grid{grid-template-columns:1.1fr 1fr;gap:15px;margin-bottom:25px}.analysis-panel,.rank-label,.rank-chip,.group-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}.analysis-panel{background:#14375a!important;color:#fff!important}.ranking-panel,.analysis-panel{break-inside:avoid}.start-table{min-width:0;font-size:10px}.start-table th,.start-table td{padding:5px 7px}.horse-card{break-inside:avoid;page-break-inside:avoid}.horse-card:not([open])>.horse-details{display:block!important}.horse-card summary{padding:10px}.horse-details{padding:15px}.details-grid{grid-template-columns:280px 1fr;gap:20px}.table-scroll{overflow:visible}.history-table{min-width:0;font-size:9px}.stats-table{font-size:9px}.horse-record{display:block}.page-footer{padding:20px 0;margin-top:15px}.start-section,.horses-section{margin-bottom:25px}.hero-subtitle{max-width:none}.email-preview-shell{border:0}.toast{display:none!important}}
