:root{--green:#234c3c;--deep:#18392e;--cream:#f4f6f0;--paper:#fffef9;--ink:#20372d;--muted:#68756b;--line:#dce2d6;--gold:#956d25;--gold-pale:#f1e9d6;--error:#933c34;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--green);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button,input,select,textarea{border-radius:8px}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #b8c6b7;max-width:100%}input,select{min-height:46px;padding:9px 12px;width:100%}input:invalid,select:invalid{border-color:var(--error)}textarea{width:100%;padding:10px 12px;resize:vertical;min-height:74px}button{border:0}h1,h2,h3,p{margin-top:0}h2{line-height:1.45;letter-spacing:.025em}button,summary{touch-action:manipulation}.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}.skip-link{position:absolute;left:16px;top:-80px;z-index:20;background:var(--paper);padding:10px 18px}.skip-link:focus{top:12px}.site-header{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:25px 32px;border-bottom:1px solid var(--line)}.site-header nav{display:flex;gap:28px;font-size:13px;font-weight:650}.site-header nav a{text-decoration:none;padding:9px 0}.site-header nav a:last-child{color:var(--muted)}main{max-width:1136px;margin:0 auto;padding:0 32px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:52px;align-items:center;padding:68px 0 40px}.eyebrow{display:flex;align-items:center;gap:12px;font:700 11px/1.5 Arial,sans-serif;letter-spacing:.17em;color:var(--gold);margin-bottom:14px}.gold-line{width:34px;height:2px;background:var(--gold)}h1{font-size:clamp(32px,4vw,51px);font-weight:750;letter-spacing:.045em;line-height:1.42;margin:0 0 23px}.hero-description{font-size:14px;line-height:1.95;color:#546358;margin-bottom:24px}.status-line{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.badge{border:1px solid #bcc8b4;padding:4px 10px;color:var(--green);border-radius:4px;font-weight:700}.race-card{background:var(--green);color:var(--paper);padding:23px 25px 20px;border-radius:var(--radius);box-shadow:0 13px 30px #20372d0b}.race-card-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#d9e3d2;border-bottom:1px solid #f4f6f033;padding-bottom:12px;margin-bottom:17px}.race-card-top strong{font-size:15px;font-weight:500;color:#e6cc92}.race-card h2{font-size:23px;line-height:1.6;font-weight:650;margin:0 0 13px}.race-card p{font-size:11px;line-height:1.8;color:#d9e3d2}.race-card-bottom{border-top:1px solid #f4f6f033;padding-top:10px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#d9e3d2}.race-card-bottom strong{font:500 28px/1.2 Georgia,serif;color:#fff}.page-notice{display:flex;gap:12px;align-items:flex-start;border:1px solid #ddd6c2;border-radius:10px;background:#f5f0e4;padding:14px 18px;font-size:11px;color:#69634f;margin-bottom:48px}.page-notice>span{display:grid;place-items:center;border:1px solid #b2a580;width:17px;height:17px;border-radius:50%;font:italic 13px Georgia,serif;flex:0 0 17px;margin-top:1px}.page-notice p{margin:0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:21px}.section-heading h2{font-size:24px;margin:0;font-weight:700}.section-heading .eyebrow{margin-bottom:7px}.comparison-state{font-size:11px;font-weight:650;color:var(--green);border-radius:100px;background:#e5ecdf;padding:7px 13px;white-space:nowrap}.comparison-state.is-dirty{background:var(--gold-pale);color:#7c5b23}.ranking-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:11px}.ranking-toolbar p{margin:0;display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block;margin-right:3px}.muted{color:var(--muted)}.text-button{background:none;color:var(--green);padding:7px 0;font-size:11px;text-decoration:underline;text-underline-offset:4px}.ranking-table-wrap{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper)}.ranking-table{border-collapse:collapse;width:100%;font-size:13px;table-layout:fixed}.ranking-table thead{background:var(--green);color:#f4f6f0}.ranking-table th{text-align:left;padding:13px 15px;font-size:10px;font-weight:500;letter-spacing:.03em}.ranking-table th:nth-child(1){width:100px;text-align:center}.ranking-table th:nth-child(2){width:70px;text-align:center}.ranking-table th:nth-child(4){width:140px;text-align:right}.ranking-table th:nth-child(5){width:115px;text-align:center}.ranking-table td{border-bottom:1px solid #e8ecdf;padding:15px;vertical-align:middle}.ranking-table tr:last-child td{border-bottom:0}.ranking-table tr.is-top{background:#f7f6ed}.ranking-table tr.is-excluded{color:#899087;background:#f0f1eb}.rank-current{text-align:center!important;font:500 24px/1.2 Georgia,serif;font-variant-numeric:tabular-nums}.rank-current .rank-circle{width:35px;height:35px;display:inline-grid;place-items:center;border-radius:50%}.is-top .rank-circle{background:var(--green);color:#fff}.rank-base{text-align:center;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.horse-name{font-weight:700;letter-spacing:.025em;font-size:14px}.horse-number{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;background:#eef1e8;border:1px solid #e1e6d9;font-size:10px;border-radius:4px;color:#52624d;margin-right:10px;font-weight:650;flex-shrink:0}.horse-cell-link{display:inline-flex;align-items:center;flex-wrap:wrap;text-decoration:none}.horse-sub{font-size:10px;font-weight:400;color:var(--muted);margin-top:3px;display:block}.role-tag{display:inline-block;font:600 9px/1.5 sans-serif;padding:2px 6px;border-radius:4px;background:#e9eddf;color:#53634e;margin-left:9px;vertical-align:middle}.score-cell{text-align:right;font-variant-numeric:tabular-nums;font-size:17px;font-weight:650}.score-base{display:block;font-size:9px;font-weight:400;color:var(--muted)}.delta-cell{text-align:center;font-size:11px;font-weight:650}.delta-up{color:#326348}.delta-down{color:#8f6445}.delta-same{color:#879080;font-weight:400}.missing-flag{font-size:9px;display:inline-block;color:#746347;background:#eee8d8;border-radius:3px;padding:1px 5px;margin-left:6px}.loading-cell{text-align:center!important;padding:32px!important;color:var(--muted)}.ranking-note{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;padding:11px 2px}.ranking-note p{margin:0}.ranking-note p:last-child{white-space:nowrap}.ranking-detail{border:1px solid var(--line);background:var(--paper);padding:18px;border-radius:10px;font-size:12px;margin-top:8px}.input-section{margin-top:51px;padding-top:35px;border-top:1px solid var(--line)}.optional-label{font-size:10px;color:var(--muted);white-space:nowrap}.section-intro{font-size:12px;color:#697367;margin-top:-4px;margin-bottom:22px}.race-input-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span:first-child{font-size:11px;font-weight:650;display:flex;gap:7px;align-items:center}.field small{font-weight:400;font-size:9px;color:var(--muted)}.field-hint{font-size:9px;color:var(--muted)}.field-help{font-size:10px;color:var(--muted);margin:16px 0 0}.horse-input-section{margin-top:47px;padding-top:35px;border-top:1px solid var(--line)}.evaluation-key{display:flex;gap:9px 20px;flex-wrap:wrap;color:var(--muted);font-size:9px;margin-bottom:15px}.horse-input-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.horse-input-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;min-width:0;align-self:start;overflow:hidden}.horse-input-card[open]{border-color:#b0bda4}.horse-input-card summary{cursor:pointer;display:flex;align-items:center;gap:8px;list-style:none;padding:15px 16px;position:relative;font-size:12px;font-weight:650}.horse-input-card summary::-webkit-details-marker{display:none}.horse-input-card summary::after{content:'＋';margin-left:auto;font-size:16px;color:#6c7b64;font-weight:400}.horse-input-card[open] summary::after{content:'−'}.horse-input-card summary .horse-number{width:23px;height:23px;margin:0}.input-horse-name{flex:1}.horse-input-rank{font-size:9px;color:var(--muted);font-weight:400}.horse-input-body{padding:0 16px 18px}.horse-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px}.horse-input-grid .field>span:first-child{font-size:10px}.horse-input-grid input,.horse-input-grid select{font-size:12px}.horse-checkbox{display:flex;gap:9px;align-items:center;font-size:11px;margin:17px 0}.horse-checkbox input{width:18px;height:18px;min-height:0;accent-color:var(--green);margin:0;padding:0}.horse-note-field{margin-top:14px}.horse-note-field>span:first-child{font-size:10px}.horse-note-field textarea{font-size:12px}.input-edited-mark{width:5px;height:5px;border-radius:50%;background:var(--gold);display:none}.horse-input-card.has-input .input-edited-mark{display:inline-block}.horse-input-card.is-excluded summary{text-decoration:line-through;color:#7c8279}.local-note{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:10px;margin:20px 0}.local-note p{margin:0}.local-icon{font-size:22px;line-height:1}.action-panel{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 23px;background:#e8edde;border:1px solid #d7dfca;border-radius:12px;margin:24px 0 32px}.action-status{display:flex;flex-direction:column;gap:3px;font-size:9px;color:var(--muted)}.action-status strong{font-size:11px;color:var(--green);font-weight:600}.action-buttons{display:flex;gap:10px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:13px 20px;font-size:12px;font-weight:650;line-height:1.5;min-height:46px;white-space:nowrap}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--deep)}.button-quiet{background:#f4f6ef;color:var(--green);border:1px solid #c6d2bb}.button-outline{background:transparent;color:var(--green);border:1px solid #bcc9b4}.scenario-section{display:grid;grid-template-columns:1fr auto;gap:10px 32px;align-items:center;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.scenario-section h2{font-size:17px;margin-bottom:8px}.scenario-section .eyebrow{font-size:9px;margin-bottom:6px}.scenario-section p:not(.eyebrow){font-size:10px;color:var(--muted);margin-bottom:0;max-width:550px}.scenario-actions{display:flex;gap:10px;flex-wrap:wrap}.scenario-actions .button{font-size:10px;padding:11px 15px;min-height:42px}.scenario-status{grid-column:1/-1}.read-next{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:38px 0 34px}.read-next h2{font-size:22px;margin-bottom:10px;line-height:1.6}.read-next p:not(.eyebrow){font-size:11px;color:var(--muted);max-width:620px;margin-bottom:0}.article-link{display:flex;align-items:center;justify-content:space-between;gap:35px;white-space:nowrap;font-size:11px;font-weight:700;padding:13px 0;text-decoration:none;border-bottom:1px solid var(--green)}.method-section{border-top:1px solid var(--line);padding-top:32px;margin-bottom:45px}.method-details{border-bottom:1px solid var(--line)}.method-details summary{cursor:pointer;font-size:12px;font-weight:650;padding:18px 0}.details-body{font-size:11px;color:#596655;padding:0 4px 18px;overflow-wrap:anywhere}.details-body p{margin-bottom:12px}.details-body ul{padding-left:18px}.details-body li{margin:5px 0}.details-body .formula{display:block;background:#e9edde;color:var(--green);border-radius:7px;padding:13px;font-family:ui-monospace,monospace;font-size:11px;white-space:pre-wrap;margin:12px 0}.details-body table{border-collapse:collapse;width:100%;font-size:10px}.details-body td,.details-body th{text-align:left;border-bottom:1px solid var(--line);padding:7px 5px}.responsibility-note{font-size:10px;color:var(--muted);margin-top:20px}.site-footer{max-width:1200px;padding:28px 32px 35px;margin:0 auto;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:16px 28px;font-size:10px;color:var(--muted)}.footer-brand>a{font:500 20px/1.3 Georgia,serif;text-decoration:none;letter-spacing:.02em}.footer-brand p{margin:8px 0 0;font-size:9px}.footer-links{display:flex;gap:24px;align-items:center}.footer-links a{font-size:10px;color:var(--muted);text-decoration:none}.analytics-control{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:13px}.analytics-control p{margin:0;font-size:9px}.analytics-control .text-button{font-size:9px}.error-message{color:var(--error);border:1px solid #d7b9ae;background:#fff8f4;padding:16px;border-radius:10px;font-size:12px}#scenario-status.is-error{color:var(--error)}
@media(max-width:850px){.hero{gap:28px;grid-template-columns:1fr 245px}.hero-description{font-size:12px}.desktop-break{display:none}.race-card{padding:21px}.race-card h2{font-size:20px}.section-heading h2{font-size:22px}.race-input-grid{gap:15px}.action-panel{padding:18px}.scenario-section{grid-template-columns:1fr}.read-next{align-items:flex-start}.article-link{gap:12px}.ranking-table th:nth-child(1){width:80px}.ranking-table th:nth-child(2){width:60px}.ranking-table th:nth-child(4){width:110px}.ranking-table th:nth-child(5){width:90px}.horse-name{font-size:13px}.horse-input-rank{display:none}}
@media(max-width:600px){.site-header{padding:17px 20px}.site-header nav{gap:16px;font-size:10px}.site-header nav a:last-child{display:none}main{padding:0 20px}.hero{grid-template-columns:1fr;padding:36px 0 25px;gap:24px}.hero h1{font-size:35px;margin-bottom:19px}.hero-description{font-size:12px;margin-bottom:19px}.hero .eyebrow{font-size:9px;margin-bottom:16px}.status-line{gap:7px 10px;font-size:9px}.badge{font-size:9px}.race-card{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:18px 20px;border-radius:12px}.race-card-top{grid-column:1/-1;margin-bottom:8px;padding-bottom:9px;font-size:10px}.race-card h2{font-size:17px;line-height:1.45;margin:0;grid-column:1;grid-row:2}.race-card h2 br{display:none}.race-card p{font-size:9px;margin:6px 0 0;grid-column:1;grid-row:3}.race-card p br{display:none}.race-card-bottom{grid-column:2;grid-row:2/4;border:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:4px;padding:0}.race-card-bottom strong{font-size:27px}.race-card-bottom>span{font-size:8px}.page-notice{padding:12px 13px;font-size:9px;gap:10px;margin-bottom:32px}.page-notice>span{width:15px;height:15px;flex-basis:15px;font-size:11px}.section-heading{gap:12px;margin-bottom:16px;align-items:center}.section-heading h2{font-size:19px;letter-spacing:.01em}.section-heading .eyebrow{font-size:9px;margin-bottom:5px}.comparison-state{font-size:8px;padding:5px 9px}.ranking-toolbar{font-size:9px}.ranking-toolbar .muted{display:none}.ranking-toolbar .text-button{font-size:9px}.ranking-table th{padding:10px 4px;font-size:8px}.ranking-table th:nth-child(1){width:49px}.ranking-table th:nth-child(2){width:37px}.ranking-table th:nth-child(3){padding-left:7px}.ranking-table th:nth-child(4){width:61px;padding-right:8px}.ranking-table th:nth-child(5){width:47px}.ranking-table td{padding:13px 4px}.rank-current{font-size:20px}.rank-current .rank-circle{height:30px;width:30px}.rank-base{font-size:11px}.horse-number{width:18px;height:20px;font-size:8px;margin-right:5px}.horse-name{font-size:11px;letter-spacing:0;white-space:nowrap}.horse-cell-link{flex-wrap:nowrap}.horse-sub{font-size:8px;line-height:1.5;margin-top:4px}.role-tag{display:none}.score-cell{font-size:14px;padding-right:8px!important}.score-base{font-size:8px}.delta-cell{font-size:8px}.missing-flag{display:block;width:max-content;font-size:8px;margin:3px 0 0}.ranking-note{display:block;font-size:9px;padding-top:10px}.ranking-note p:last-child{margin-top:5px;text-align:right;font-size:8px}.optional-label{font-size:8px}.input-section{margin-top:32px;padding-top:27px}.section-intro{font-size:10px;line-height:1.8;margin-bottom:17px}.race-input-grid{grid-template-columns:1fr 1fr;gap:18px 14px}.field>span:first-child{font-size:10px}.field-hint{font-size:8px}.race-input-grid input,.race-input-grid select{font-size:14px}.field-help{font-size:9px}.horse-input-section{margin-top:30px;padding-top:27px}.evaluation-key{font-size:8px;gap:6px 12px}.horse-input-list{grid-template-columns:1fr;gap:8px}.horse-input-card summary{padding:14px;font-size:12px}.horse-input-rank{display:inline;font-size:8px}.horse-input-body{padding:0 14px 16px}.horse-input-grid{gap:15px 12px}.horse-input-grid input,.horse-input-grid select,.horse-note-field textarea{font-size:16px}.horse-input-grid select{padding:8px}.local-note{font-size:9px;gap:8px;margin-top:17px}.action-panel{position:sticky;bottom:10px;z-index:5;display:block;padding:12px;border-radius:12px;box-shadow:0 5px 24px #18392e24;margin:21px -7px 25px;background:#e8eddeed;backdrop-filter:blur(8px)}.action-status{gap:0;font-size:8px;flex-direction:row;justify-content:space-between;margin-bottom:9px}.action-status strong{font-size:8px}.action-buttons{width:100%;gap:8px}.action-buttons .button{padding:11px 12px;font-size:11px;min-height:43px}.action-buttons .button-primary{flex:1;gap:20px}.scenario-section{padding:23px 0;gap:16px}.scenario-section h2{font-size:16px}.scenario-section p:not(.eyebrow){font-size:9px}.scenario-actions{gap:9px}.scenario-actions .button{flex:1;font-size:10px}.read-next{display:block;padding:29px 0}.read-next h2{font-size:20px}.read-next p:not(.eyebrow){font-size:10px}.article-link{font-size:10px;justify-content:space-between;margin-top:20px;width:100%}.method-section{padding-top:25px;margin-bottom:30px}.method-details summary{font-size:11px;padding:16px 0}.details-body{font-size:10px}.responsibility-note{font-size:9px}.site-footer{padding:25px 20px 105px;grid-template-columns:1fr}.footer-links{gap:22px}.analytics-control{align-items:flex-start;gap:10px}.analytics-control p{font-size:8px}.analytics-control .text-button{font-size:8px;flex-shrink:0;padding:0}.footer-brand p{font-size:8px}.error-message{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.horse-reference{font-size:10px;line-height:1.8;color:var(--muted);margin:0 0 15px;padding:11px 12px;background:#f1f3ea;border-radius:6px}
@media print{body{background:#fff;font-size:10pt}.site-header nav,.page-notice,.input-section,.horse-input-section,.action-panel,.scenario-section,.read-next,.site-footer,.text-button,.method-details:not([open]),.skip-link{display:none!important}.site-header{padding:0 0 12px;max-width:none}.site-header .tupelia-brand-mark>span{display:none!important}main{padding:0;max-width:none}.hero{padding:22px 0;gap:20px;grid-template-columns:1fr 220px}.hero h1{font-size:28px}.hero-description{font-size:10px}.race-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}.status-line{font-size:8px}.ranking-section{break-inside:avoid-page}.section-heading h2{font-size:18px}.ranking-table{font-size:10px}.ranking-table th,.ranking-table td{padding:7px 10px}.ranking-table thead,.is-top .rank-circle{-webkit-print-color-adjust:exact;print-color-adjust:exact}.rank-current{font-size:18px}.horse-name{font-size:11px}.score-cell{font-size:12px}.ranking-note{font-size:8px}.method-section{margin-top:20px}.method-details summary{font-size:11px}.details-body,.responsibility-note{font-size:8px}.ranking-detail{font-size:9px}.error-message{display:none}}
@media(max-width:600px){.action-panel{position:fixed;left:13px;right:13px;bottom:10px;margin:0}.site-footer{padding-bottom:135px}}
@media(max-width:360px){.ranking-table th:nth-child(1){width:39px}.ranking-table th:nth-child(2){width:30px}.ranking-table th:nth-child(4){width:51px}.ranking-table th:nth-child(5){width:38px}.horse-name{font-size:10px}.horse-number{width:16px;margin-right:4px}.ranking-table td{padding-inline:3px}.hero h1{font-size:31px}.section-heading h2{font-size:17px}.comparison-state{font-size:7px;padding:5px 7px}}
