:root{--ink:#20352f;--muted:#718079;--green:#20664d;--deep:#163f35;--paper:#f6f6f1;--line:#e4e8df;--gold:#d4ba74}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:"Yu Gothic UI","Meiryo",system-ui,sans-serif;font-size:14px;line-height:1.6}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;background:var(--deep);color:#eef5ec;position:fixed;inset:0 auto 0 0;padding:36px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:700;letter-spacing:.04em}.brand-icon{border:1px solid #95a98c;border-radius:50%;height:38px;width:38px;text-align:center;line-height:34px;font-size:27px;color:#dfd4a6}.brand small{display:block;font-size:9px;letter-spacing:.2em;color:#b1c8b9;margin-top:3px}.nav-caption{color:#91ad9b;font-size:10px;letter-spacing:.13em;margin:55px 14px 15px}nav{display:grid;gap:8px}nav a{padding:13px 16px;border-radius:7px;color:#bacfc1;font-size:14px;display:flex;gap:14px;align-items:center}nav a.active{background:#f3f4e9;color:#234b3b;font-weight:700}nav span{font-size:20px;width:22px}.sidebar-bottom{margin-top:auto;border-top:1px solid #3e5e50;padding:25px 12px 0;font-size:11px;color:#d8e5d9}.sidebar-bottom small{display:block;color:#9eb6a5;font-size:10px;margin-top:7px}.small-dot{display:inline-block;width:6px;height:6px;background:#bcd19f;border-radius:50%;margin-right:6px}main{margin-left:234px;width:calc(100% - 234px)}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px;color:var(--muted);font-size:11px;background:#fafbf7}.connection{border:1px solid #dae4d6;border-radius:30px;padding:6px 12px;color:#43684d;background:#f0f5ea}.content{max-width:1360px;margin:auto;padding:42px 46px 25px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#83967e;margin-bottom:9px;font-weight:700}h1{font-size:28px;letter-spacing:.015em;line-height:1.45;margin:0 0 10px;font-weight:650}h2{font-size:16px;margin:0;font-weight:650}p{margin:7px 0}.page-heading p{font-size:12px;color:var(--muted)}.updated{text-align:right;font-size:10px;white-space:nowrap}.updated span,.updated strong{display:block}.updated strong{font-size:12px;font-weight:500;margin-top:4px}.card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:25px;box-shadow:0 3px 8px #24382002;margin-bottom:22px}.toolbar{display:flex;gap:20px;align-items:flex-end;padding:19px 23px}.field{display:grid;gap:5px}.field label{font-size:10px;color:var(--muted);font-weight:600}input,select{height:40px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);padding:0 12px;max-width:100%}.model-field{flex:1}.button{border:1px solid var(--line);border-radius:6px;padding:10px 17px;white-space:nowrap;font-size:12px;font-weight:600;min-height:40px;background:white;color:var(--ink)}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.primary span{margin-left:22px}.button.quiet{background:#fff}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.summary-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{padding:22px 24px}.metric>span{display:block;font-size:11px;color:var(--muted)}.metric strong{display:block;font-size:31px;font-weight:600;letter-spacing:-.025em;line-height:1.4;margin-top:11px;font-variant-numeric:tabular-nums}.metric small{display:block;font-size:10px;color:#8a958c;margin-top:7px}.metric strong.text-size{font-size:21px;line-height:43px;letter-spacing:0}.forecast-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}.race-picker{padding:22px 15px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.race-picker .section-title{padding:0 8px}.race-picker h2{font-size:14px}.race-list{display:grid;gap:5px;max-height:580px;overflow:auto}.race-button{width:100%;text-align:left;border:0;border-radius:6px;background:transparent;padding:12px;display:flex;align-items:center;gap:12px;color:#536758}.race-button:hover{background:#f5f7f0}.race-button.active{background:#eaf1e5;color:#315e43}.race-number{display:flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;background:#f0f3eb;border-radius:6px;font-weight:600;font-size:12px}.race-button.active .race-number{background:#d7e5ca}.race-name{font-size:12px;font-weight:600;display:block}.race-time{display:block;font-size:10px;font-weight:400;color:#7e8b80;margin-top:2px}.pill{display:inline-block;border:1px solid #dde7d5;border-radius:30px;padding:3px 10px;background:#f2f6eb;color:#62814e;font-size:10px;white-space:nowrap}.race-detail{min-width:0}.race-detail h2{font-size:20px}.muted{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{text-align:right;color:#8a948c;font-size:10px;font-weight:500;background:#f6f8f2;border-bottom:1px solid var(--line);padding:11px 9px}td{padding:14px 9px;border-bottom:1px solid #edf0e8;text-align:right;font-variant-numeric:tabular-nums}th:first-child,td:first-child,th:nth-child(2),td:nth-child(2){text-align:left}td.horse-name{font-weight:600;color:#31493b}.horse-no{display:inline-block;width:26px;text-align:center;padding:3px;background:#f2f3ed;border-radius:4px;font-size:10px}.probability{color:#366a49;font-weight:650}.footnote{font-size:10px;color:#8d978d;margin-top:16px;line-height:1.9}.notice{border:1px solid #e4d9b2;background:#f8f3e1;color:#87713c;border-radius:7px;padding:12px 17px;font-size:11px;margin-bottom:22px}.notice.static{margin-top:20px}.error{border:1px solid #edcaca;background:#fff0ed;border-radius:7px;padding:15px;color:#925143;margin-bottom:20px;font-size:12px}.empty{padding:35px 14px;text-align:center;color:#8a948a;font-size:12px;white-space:normal}.chart{height:250px}.chart svg{width:100%;height:100%}.improvement-hero{background:#e9f0e4;display:flex;justify-content:space-between;align-items:center;padding:34px 38px}.improvement-hero h2{font-size:27px;margin:4px 0 15px}.improvement-hero p{font-size:12px;color:#74836f;line-height:2}.improvement-hero .pill{margin-top:15px;background:#fff9e8;border-color:#e6dbb9;color:#91815b}.research-symbol{font-size:135px;line-height:1;color:#b0c49c;font-weight:300;margin-right:30px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:26px 0;color:#9ca497;font-size:12px}.steps span{border-bottom:3px solid #e4e8db;padding:12px 5px}.steps .done{color:#668255;border-color:#a3b98b}.steps .current{color:#4a7041;border-color:#6c8c56;font-weight:600}.comparison{display:flex;gap:45px;align-items:center;padding:20px 5px}.comparison>div span{display:block;color:var(--muted);font-size:12px}.comparison strong{display:block;font-size:32px;font-weight:500;margin-top:8px;font-variant-numeric:tabular-nums}.comparison-arrow{font-size:28px;color:#9db48e}.page-footer{display:flex;justify-content:space-between;color:#9ca69a;font-size:10px;margin-top:35px;padding-top:18px;border-top:1px solid var(--line)}.job{border-left:3px solid var(--green)}.job .section-title{margin-bottom:6px}[hidden]{display:none!important}@media(min-width:1600px){.content{padding-top:55px}}@media(max-width:1100px){.sidebar{width:195px;padding:30px 15px}main{margin-left:195px;width:calc(100% - 195px)}.content{padding:30px 25px}.topbar{padding:0 25px}.summary-grid.four{grid-template-columns:repeat(2,1fr)}.forecast-layout{grid-template-columns:210px minmax(0,1fr)}.toolbar{gap:10px}.metric{padding:18px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:17px 18px;gap:20px}.brand{font-size:16px}.brand small{font-size:8px}.brand-icon{width:32px;height:32px;line-height:29px}.nav-caption,.sidebar-bottom{display:none}nav{display:flex;gap:6px}nav a{font-size:12px;flex:1;padding:10px 8px;justify-content:center;gap:7px}nav span{font-size:16px;width:auto}main{margin:0;width:100%}.topbar{height:53px;padding:0 18px;font-size:10px}.connection{font-size:9px;padding:4px 7px}.content{padding:25px 16px}.page-heading{display:block;margin-bottom:22px}h1{font-size:23px}.page-heading p{font-size:11px}.updated{text-align:left;margin-top:16px;display:flex;gap:10px;align-items:baseline}.updated strong{font-size:11px}.toolbar{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:13px}.field{min-width:0}.toolbar .button{font-size:11px;padding:10px}.summary-grid{gap:9px}.metric{padding:15px 12px;margin-bottom:15px}.metric>span{font-size:9px}.metric strong{font-size:23px;margin-top:8px}.metric strong.text-size{font-size:14px;line-height:32px}.metric small{font-size:9px;line-height:1.5}.forecast-layout{display:block}.race-list{display:flex;overflow-x:auto;padding-bottom:5px;gap:8px}.race-button{width:auto;min-width:132px;padding:9px}.race-picker{padding:15px}.race-picker .section-title{padding:0;margin-bottom:10px}.race-detail{padding:20px 15px}.race-detail h2{font-size:17px}.card{border-radius:9px}.improvement-hero{padding:24px}.improvement-hero h2{font-size:23px}.research-symbol{display:none}.steps{gap:5px;font-size:10px}.steps span{padding:8px 0}.comparison{gap:20px}.comparison strong{font-size:27px}.comparison span{font-size:10px!important}.page-footer{display:block;line-height:2}.page-footer span{display:block}td{padding:13px 9px}.summary-grid.four{gap:10px}.section-title .button{font-size:10px;padding:8px 12px}.chart{height:200px}}
:root{--ink:#1a332a;--muted:#697c70;--green:#23724f;--deep:#102e25;--paper:#f4f6f2;--line:#e2e9e1;--gold:#b59b58}body{font-size:15px;background:radial-gradient(ellipse at 80% 0,#edf3e9 0,transparent 45%),var(--paper);-webkit-font-smoothing:antialiased}.sidebar{background:linear-gradient(165deg,#183e31,#0e271f);width:232px;padding:35px 20px}.brand{font-size:18px;gap:12px}.brand-icon{border:0;background:#ffffff0d;border-radius:12px;height:43px;width:43px;display:grid;place-items:center;color:#c4d6b0}.brand-icon svg{height:28px;width:28px}.brand small{font-size:9px;letter-spacing:.17em}.nav-caption{font-size:11px;color:#92b19a;margin-top:55px}nav a{font-size:14px;padding:14px 16px;border-radius:10px;transition:background .18s,color .18s}nav a:hover{background:#ffffff09}nav a.active{background:#eaf1e3;color:#1e4932;box-shadow:0 3px 15px #06190c22}.sidebar-bottom{font-size:12px;line-height:1.9}.sidebar-bottom small{font-size:10px}main{margin-left:232px;width:calc(100% - 232px)}.topbar{height:75px;background:#fafcf8e8;backdrop-filter:blur(12px);font-size:12px;padding:0 40px}.connection{font-size:11px;padding:7px 13px;color:#3e674a;background:#edf5e9}.content{max-width:1560px;padding:38px 40px 30px}.page-heading{margin-bottom:28px}h1{font-size:30px;font-weight:700;letter-spacing:-.025em}.page-heading p{font-size:13px;line-height:1.8}.eyebrow{font-size:10px;letter-spacing:.15em;color:#6e886d}.updated{font-size:11px}.updated strong{font-size:13px}.card{border:1px solid #e1e8df;border-radius:16px;box-shadow:0 4px 22px #1f442404;margin-bottom:22px}.toolbar{padding:19px 23px;gap:18px;box-shadow:0 3px 16px #18351903}.field label{font-size:11px;margin-bottom:2px}.field input,.field select{height:44px;border-radius:8px;font-size:13px;border-color:#dce5d9}.button{min-height:44px;border-radius:8px;font-size:12px;padding:11px 19px;transition:box-shadow .2s,background .2s}.button.primary{background:#216447;border-color:#216447;box-shadow:0 3px 10px #21644712}.button.primary:hover:enabled{background:#174f36;box-shadow:0 4px 14px #21644725}.button.quiet:hover{background:#f4f8f0}.metric{padding:22px 24px}.metric>span{font-size:12px;color:#74816f}.metric strong{font-size:32px;letter-spacing:-.035em;font-weight:650}.metric small{font-size:11px;line-height:1.7}.forecast-layout{grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start}.race-picker{padding:22px 13px;position:sticky;top:18px}.race-list{gap:5px;max-height:780px}.race-button{padding:12px 10px;gap:11px;border:1px solid transparent;border-radius:9px}.race-button.active{border-color:#d4e1c9;background:#eaf2e3}.race-number{height:34px;width:34px;border-radius:8px}.race-name{font-size:12px;font-weight:650}.race-time{font-size:11px;margin-top:3px}.race-detail{padding:27px;box-shadow:0 5px 24px #1e3d2404}.race-detail> .section-title h2{font-size:23px;letter-spacing:-.025em}.muted{font-size:12px;line-height:1.85}.pill{font-size:11px;padding:4px 11px}.race-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}.podium-item{border:1px solid #e6ece2;border-radius:12px;padding:15px;background:#f9fbf6;min-width:0}.podium-item:first-child{background:linear-gradient(125deg,#eaf2e1,#f5f9ef);border-color:#d8e4cd}.podium-rank{font-size:12px;letter-spacing:.12em;color:#8a9a80;font-weight:650}.podium-rank span{font-size:10px;letter-spacing:0;margin-left:6px;font-weight:400}.podium-name{display:flex;gap:6px;align-items:center;margin:11px 0 7px;font-size:12px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.horse-no{border:1px solid #e1e5da;background:white;border-radius:5px;padding:3px;min-width:24px;font-size:11px;font-weight:600}.podium-item strong{font-size:27px;letter-spacing:-.03em;color:#285d3f;line-height:1.5}.podium-item small{display:block;color:#89937e;font-size:10px;margin-top:4px}.analysis-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:18px;align-items:start;margin:25px 0}.probability-panel,.tickets-panel{border:1px solid #e3e9de;border-radius:13px;padding:20px;min-width:0}.probability-panel h2,.tickets-panel h2{font-size:17px;letter-spacing:-.025em}.tickets-panel h2 small{font-size:11px;color:#89917f;font-weight:400;margin-left:3px}.probability-panel .section-title{gap:8px;margin-bottom:18px}.probability-panel .pill{font-size:10px;padding:3px 8px}.chart-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:10px;color:#6b7b65;padding-bottom:16px}.chart-controls label{display:flex;align-items:center;gap:5px;margin-left:auto;cursor:pointer}.chart-controls input{height:auto;width:13px;accent-color:#477d52;margin:0 3px 0 0}.legend-dot{display:inline-block;height:7px;width:7px;border-radius:3px;flex-shrink:0}.legend-dot.model{background:#6f9c5d}.legend-dot.market{background:#ccd6c5}.chart-scale{display:flex;justify-content:space-between;padding-left:120px;padding-right:47px;color:#99a48e;font-size:9px;margin:4px 0 6px}.prob-row{display:grid;grid-template-columns:112px minmax(0,1fr) 43px;gap:8px;align-items:center;width:100%;background:none;border:1px solid transparent;border-radius:7px;padding:9px 3px;text-align:left;color:#40503d;cursor:pointer;transition:background .15s}.prob-row:hover,.prob-row.is-selected{background:#f2f6eb;border-color:#e6eddf}.prob-label{display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;font-weight:600}.prob-label>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.prob-label small{display:block;font-size:9px;color:#9aa58f;font-weight:400;margin-top:3px}.prob-label .horse-no{font-size:9px;width:22px;min-width:22px;padding:3px 0;text-align:center}.prob-track{height:33px;display:block;min-width:0;background:linear-gradient(90deg,#eef1e9 1px,transparent 1px);background-size:50% 100%;border-right:1px solid #eef1e9}.prob-track svg{display:block;width:100%;height:33px;overflow:visible}.model-bar{fill:#8cac76}.model-bar.leader{fill:#3e7650}.market-bar{fill:#d0d9c8}.prob-value{font-size:11px;text-align:right;color:#345f3b;font-weight:650;font-variant-numeric:tabular-nums}.prob-value small{display:block;font-size:9px;margin-top:5px;font-weight:400;color:#94a38b}.chart-more{background:#f6f8f2;border:1px solid #e7ece1;border-radius:7px;display:block;text-align:center;width:100%;padding:9px;font-size:11px;color:#6e8564;margin-top:13px;cursor:pointer}.footnote{font-size:10px;color:#8a9581;line-height:1.9;margin-top:15px}.tickets-panel{background:linear-gradient(165deg,#fcfcf7,#f7f8f0);border-color:#e4e7da}.tickets-panel>.section-title{display:block;margin-bottom:17px}.ticket-status{font-size:10px;padding:4px 9px;border-radius:5px;display:inline-block;margin-top:10px;font-weight:500;background:#edf0e7;color:#79836e}.ticket-status.warning{background:#f6edd8;color:#9c7938}.ticket-status.fresh{background:#e0edda;color:#4a7540}.ticket-summary{display:flex;align-items:end;justify-content:space-between;padding:17px 0;border-top:1px solid #e5e8db;border-bottom:1px solid #e5e8db;gap:8px}.ticket-summary small{display:block;font-size:10px;color:#839078}.ticket-summary strong{display:block;font-size:26px;line-height:1.5;color:#3b5235;letter-spacing:-.035em}.ticket-summary>span{font-size:9px;color:#929a85;margin-bottom:6px;white-space:nowrap}.ticket-notice{font-size:10px;line-height:1.9;color:#879079;margin:14px 0}.ticket-notice.warning{color:#9b7e47}.ticket-item{border:1px solid #e5e8db;background:#fff;border-radius:9px;padding:15px;margin-top:10px;box-shadow:0 3px 8px #26371d03}.ticket-item-top{display:flex;justify-content:space-between;align-items:center}.ticket-kind{font-size:10px;padding:3px 7px;color:#6a7955;background:#eef3e7;border:1px solid #e3ead8;border-radius:5px}.ticket-amount{font-size:13px;font-weight:650;color:#5e7050;font-variant-numeric:tabular-nums}.ticket-numbers{display:flex;align-items:center;gap:7px;margin:14px 0 10px}.ticket-numbers>span{display:flex;align-items:baseline;gap:1px;justify-content:center;min-width:36px;padding:3px 8px;border:1px solid #d9e2cd;border-radius:6px;font-size:21px;font-weight:650;color:#49643c;background:#fafcf5;line-height:1.6}.ticket-numbers small{font-size:10px}.ticket-numbers b{font-size:13px;color:#b3bea4;font-weight:400}.ticket-horses{font-size:10px;color:#8a9580;line-height:1.9;margin-bottom:14px}.ticket-metrics{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px dashed #e6eadf;padding-top:11px;font-size:9px;color:#93a086}.ticket-metrics strong{font-size:11px;color:#65794e;font-weight:650;margin-left:4px}.ticket-empty{padding:24px 9px 16px;text-align:center}.ticket-empty>span{display:grid;place-items:center;height:42px;width:42px;border-radius:12px;background:#eaf0e1;margin:0 auto 13px;color:#a0b18c;font-size:22px}.ticket-empty strong{display:block;font-size:12px;font-weight:600;color:#6d7a5e}.ticket-empty p{font-size:10px;line-height:2;color:#929b84;margin:10px auto;max-width:250px}.table-section-heading{display:flex;justify-content:space-between;align-items:center;margin-top:27px;padding:20px 0 16px;border-top:1px solid #e9eee3}.table-section-heading h2{font-size:16px}.table-section-heading span{font-size:10px;color:#929e87}th{padding:13px 12px;background:#f4f7ef;font-size:11px}td{padding:16px 12px;font-size:12px}.race-detail table th,.race-detail table td{padding-left:10px;padding-right:10px}.chart-card{padding:27px}.improvement-hero{border-radius:17px;background:linear-gradient(115deg,#e6efdd,#f4f7ec)}.steps span{border-radius:2px}.page-footer{font-size:10px;color:#99a591}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #72a56b;outline-offset:3px}@media(max-width:1350px){.analysis-layout{grid-template-columns:1fr}.tickets-panel #ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px}.ticket-item{margin-top:0}.tickets-panel>.section-title{display:flex}.ticket-status{margin-top:0}.chart-scale{padding-left:145px;padding-right:55px}.prob-row{grid-template-columns:135px minmax(0,1fr) 47px}.prob-label{font-size:12px}.prob-label small,.prob-label .horse-no{font-size:10px}.prob-value{font-size:12px}.chart-controls{font-size:11px}.probability-panel .footnote{font-size:11px}.probability-panel,.tickets-panel{padding:22px}}@media(max-width:1100px){.sidebar{width:195px}main{margin-left:195px;width:calc(100% - 195px)}.content{padding:30px 25px}.topbar{padding:0 25px}.forecast-layout{grid-template-columns:175px minmax(0,1fr)}.race-detail{padding:21px}.race-podium{gap:8px}.podium-item{padding:12px}.podium-name{font-size:10px}.podium-item strong{font-size:24px}.ticket-item{padding:17px}.race-detail>.section-title h2{font-size:20px}}@media(max-width:900px){.forecast-layout{display:block}.race-picker{position:static}.race-list{display:flex;overflow:auto;padding-bottom:4px}.race-button{min-width:160px;width:auto;flex-shrink:0}.race-picker .section-title{margin-bottom:13px}.race-picker{padding:18px}.race-detail{padding:25px}.race-podium{gap:12px}.podium-item{padding:16px}.podium-name{font-size:12px}}@media(max-width:760px){.sidebar{width:100%;padding:20px 18px 15px;position:static;gap:22px}.brand-icon{height:37px;width:37px;border-radius:10px}.brand-icon svg{width:24px;height:24px}.brand{font-size:17px}.brand small{font-size:8px}nav a{font-size:12px;border-radius:8px;padding:11px 8px}.nav-caption,.sidebar-bottom{display:none}main{margin:0;width:100%}.topbar{height:54px;padding:0 17px;font-size:10px}.connection{font-size:9px;padding:5px 8px}.content{padding:27px 15px 25px}.page-heading{margin-bottom:22px}h1{font-size:24px;line-height:1.5}.page-heading p{font-size:12px;line-height:1.9}.updated{font-size:10px;margin-top:14px}.updated strong{font-size:11px}.card{border-radius:14px;margin-bottom:17px}.toolbar{padding:17px;gap:14px}.field label{font-size:11px}.field input,.field select{height:43px;font-size:12px;padding:0 10px;min-width:0}.toolbar .button{font-size:12px;min-height:43px;padding:11px 8px}.summary-grid{gap:9px}.metric{padding:16px 12px}.metric>span{font-size:10px;line-height:1.8;min-height:32px}.metric strong{font-size:26px;margin-top:8px}.metric small{font-size:10px;line-height:1.8;margin-top:8px}.metric strong.text-size{font-size:14px;line-height:36px}.race-picker{padding:17px}.race-name{font-size:12px}.race-time{font-size:10px}.race-button{min-width:150px;padding:11px}.race-detail{padding:21px 16px}.race-detail>.section-title h2{font-size:19px;line-height:1.5}.race-detail>.section-title{align-items:flex-start}.race-detail>.section-title>.pill{font-size:9px;padding:4px 7px}.race-podium{gap:7px;margin:20px 0}.podium-item{padding:12px 9px;border-radius:9px}.podium-rank{font-size:11px}.podium-rank span{font-size:8px;margin-left:3px}.podium-name{font-size:10px;gap:4px;margin-top:11px;display:block;white-space:normal;min-height:40px;line-height:1.7}.podium-name .horse-no{font-size:9px;min-width:19px;width:19px;display:inline-block;margin-right:4px;padding:1px}.podium-item strong{font-size:23px}.podium-item small{font-size:9px}.analysis-layout{margin:20px 0;gap:17px}.probability-panel,.tickets-panel{padding:18px 13px;border-radius:11px}.probability-panel .section-title{gap:5px;margin-bottom:15px}.probability-panel h2,.tickets-panel h2{font-size:16px}.probability-panel .pill{font-size:9px}.prob-row{grid-template-columns:106px minmax(0,1fr) 42px;gap:5px;padding:9px 1px}.prob-label{font-size:10px;gap:5px}.prob-label .horse-no{min-width:20px;width:20px;font-size:9px}.prob-label small{font-size:8px}.prob-value{font-size:10px}.prob-value small{font-size:8px}.chart-scale{padding-left:112px;padding-right:47px;font-size:9px}.chart-controls{font-size:9px;gap:5px;padding-bottom:12px}.chart-controls label{font-size:9px;margin-left:0}.chart-controls>span:nth-child(2){margin-right:auto}.probability-panel .footnote{font-size:10px}.ticket-summary{padding:14px 0}.ticket-summary strong{font-size:27px}.ticket-summary>span{font-size:10px}.ticket-notice{font-size:11px;line-height:1.9}.tickets-panel #ticket-list{grid-template-columns:1fr;gap:10px}.ticket-item{padding:17px}.ticket-kind{font-size:11px}.ticket-horses{font-size:11px}.ticket-metrics{font-size:10px}.ticket-metrics strong{font-size:12px}.ticket-amount{font-size:14px}.ticket-empty strong{font-size:13px}.ticket-empty p{font-size:11px}.footnote{font-size:10px;line-height:2}.table-section-heading{margin-top:20px}th{font-size:10px}td{font-size:11px}.improvement-hero{padding:25px}.improvement-hero h2{font-size:23px}.steps{font-size:10px}.notice,.error{font-size:11px;line-height:1.9;border-radius:9px}.summary-grid.four .metric>span{min-height:auto}.page-footer{font-size:10px;line-height:2.1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.venue-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0 6px 17px}.venue-chip{border:1px solid #e2e8db;background:#fafcf7;border-radius:6px;color:#8b9880;font-size:10px;padding:5px 8px;cursor:pointer}.venue-chip.active{background:#e8f0de;border-color:#cfdcbe;color:#507047;font-weight:600}.forecast-summary .metric{padding:18px 23px}.forecast-summary .metric strong{font-size:27px}.forecast-summary .metric strong.text-size{font-size:19px;line-height:37px}.forecast-summary .metric small{font-size:10px}.race-detail{scroll-margin-top:16px}@media(max-width:760px){.forecast-summary{gap:8px}.forecast-summary .metric{padding:13px 10px;margin-bottom:15px}.forecast-summary .metric>span{min-height:auto;font-size:9px;white-space:nowrap}.forecast-summary .metric strong{font-size:24px;line-height:32px;margin-top:6px}.forecast-summary .metric strong.text-size{font-size:13px;line-height:32px}.forecast-summary .metric small{display:none}.venue-filters{margin:0 0 11px}.venue-chip{font-size:11px;padding:5px 10px}.race-detail{scroll-margin-top:14px}.page-heading .eyebrow{font-size:9px}.page-heading p{font-size:11px}}
/* Compact workspace: prioritise the race, probabilities and saved tickets. */
:root{--paper:#f3f5f6;--ink:#192d29;--line:#dfe6e3}body{background:var(--paper)}.sidebar{width:188px;padding:24px 15px;background:#122e28}.brand{font-size:15px;gap:9px}.brand small{font-size:8px}.brand-icon{width:33px;height:33px}.brand-icon svg{width:23px;height:23px}.sidebar nav{margin-top:38px}nav a{padding:12px;font-size:13px}.sidebar-bottom{font-size:11px}main{margin-left:188px;width:calc(100% - 188px)}.topbar{height:64px;padding:0 26px;background:#fff;border-bottom:1px solid var(--line)}.topbar h1{font-size:19px;margin:0;letter-spacing:.02em}.header-status{display:flex;align-items:center;gap:18px}.updated{display:flex;align-items:center;gap:7px;margin:0;font-size:10px}.updated strong{font-size:11px;font-weight:550}.connection{font-size:10px;padding:5px 9px;background:#edf3ef}.content{padding:20px 26px;max-width:1700px}.card{border-radius:10px;box-shadow:none;margin-bottom:16px}.toolbar{padding:12px 16px;gap:12px;margin-bottom:0;align-items:end}.field input,.field select{height:38px;font-size:12px}.field label{font-size:10px}.button{min-height:38px;padding:8px 15px;font-size:12px}.forecast-summary{display:flex;align-items:center;gap:22px;margin:12px 2px 16px;font-size:11px;color:#76837c}.forecast-summary strong{font-size:12px;font-weight:650;color:#345247}.mode-tag{margin-left:auto;font-size:10px;letter-spacing:.05em;color:#5e796b}.forecast-layout{grid-template-columns:174px minmax(0,1fr);gap:16px}.race-picker{padding:16px 10px;top:16px}.race-picker .section-title{padding:0 5px;margin-bottom:12px}.race-picker h2{font-size:13px}.venue-filters{gap:4px;margin:0 4px 10px}.venue-chip{font-size:10px;padding:4px 7px}.race-list{max-height:calc(100vh - 310px);gap:3px}.race-button{padding:9px 7px;gap:8px;border-radius:7px}.race-number{width:29px;height:29px;font-size:10px}.race-name{font-size:11px}.race-time{font-size:10px}.race-detail{padding:20px}.race-detail>.section-title h2{font-size:20px}.race-detail>.section-title .eyebrow{font-size:10px;letter-spacing:.03em}.race-detail>#race-caption{margin:8px 0 14px;font-size:11px}.analysis-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,.85fr);gap:20px;margin:16px 0}.probability-panel,.tickets-panel{padding:16px;border-radius:8px}.probability-panel{border:0;padding:0 18px 0 0;border-right:1px solid #e5eae7;border-radius:0}.probability-panel .section-title{margin-bottom:14px}.probability-panel h2,.tickets-panel h2{font-size:15px}.tickets-panel{background:#f7f9f6;border-color:#e0e7df}.tickets-panel>.section-title{display:flex;align-items:center;margin-bottom:12px;gap:8px}.ticket-status{margin:0;font-size:10px;padding:4px 7px}.chart-controls{font-size:10px;padding-bottom:9px}.chart-scale{padding-left:129px;padding-right:47px}.prob-row{grid-template-columns:120px minmax(0,1fr) 40px;padding:7px 2px;gap:7px}.prob-label{font-size:11px}.prob-label small{display:none}.prob-value{font-size:11px}.prob-track,.prob-track svg{height:30px}.prob-value small{font-size:9px;margin-top:3px}.chart-more{margin-top:10px;padding:7px}.ticket-summary{padding:11px 0}.ticket-summary strong{font-size:25px}.ticket-notice{font-size:10px;line-height:1.7;margin:11px 0}.ticket-item{padding:12px;margin-top:9px;box-shadow:none}.tickets-panel #ticket-list{display:block}.ticket-numbers{margin:9px 0 6px}.ticket-numbers>span{font-size:19px;min-width:31px;line-height:1.5}.ticket-horses{margin-bottom:9px}.ticket-empty{padding:17px 5px 8px}.ticket-empty>span{display:none}.footnote{font-size:10px;line-height:1.7;margin-top:12px}.horse-details{border-top:1px solid #e4eae6;margin-top:18px}.horse-details summary{cursor:pointer;font-size:12px;font-weight:600;padding:15px 0;color:#476359}.horse-details summary span{font-size:10px;font-weight:400;color:#8b978f;margin-left:10px}.horse-details[open] summary{margin-bottom:5px}.notice,.error{padding:10px 13px;margin-bottom:14px;font-size:11px;border-radius:7px}.page-footer{margin-top:20px;padding-top:14px;font-size:10px}.improvement-hero{padding:22px;background:#edf3ed}.improvement-hero h2{font-size:21px}.research-symbol{display:none}
@media(min-width:1500px){.prob-row{padding:9px 2px}.race-detail{padding:24px}.analysis-layout{gap:26px}.probability-panel{padding-right:24px}.race-list{max-height:calc(100vh - 305px)}}
@media(max-width:1100px){.analysis-layout{grid-template-columns:1fr}.probability-panel{border:0;padding:0}.tickets-panel #ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.ticket-item{margin:0}.forecast-layout{grid-template-columns:155px minmax(0,1fr)}}
@media(max-width:900px){.forecast-layout{display:block}.race-list{display:flex;max-height:none;gap:6px}.race-button{min-width:145px}.race-picker{padding:12px}.race-picker .section-title{display:none}.venue-filters{margin:0 0 9px}.analysis-layout{grid-template-columns:minmax(0,1.2fr) minmax(230px,1fr)}.probability-panel{padding-right:10px}.prob-row{grid-template-columns:94px minmax(0,1fr) 38px;gap:4px}.prob-label{font-size:10px}.chart-scale{padding-left:103px;padding-right:42px}.chart-controls label{margin-left:0}.tickets-panel #ticket-list{display:block}.ticket-item{margin-top:9px}}
@media(max-width:760px){.sidebar{width:100%;padding:12px 15px;gap:12px}.brand{font-size:15px}.brand small{display:none}.brand-icon{width:28px;height:28px}.brand-icon svg{width:20px;height:20px}.sidebar nav{margin-top:0}nav a{font-size:11px;padding:8px;min-height:34px}main{width:100%;margin:0}.topbar{height:48px;padding:0 15px}.topbar h1{font-size:16px}.header-status{gap:8px}.updated{font-size:9px;gap:4px}.updated strong{font-size:10px}.connection{font-size:9px;padding:4px 6px}.content{padding:12px}.toolbar{padding:12px;gap:10px;grid-template-columns:1fr 1fr}.field label{font-size:10px}.field input,.field select{height:36px;font-size:11px}.toolbar .button{min-height:36px;padding:8px;font-size:11px}.forecast-summary{gap:14px;margin:10px 2px 12px;font-size:10px}.forecast-summary strong{font-size:11px}.mode-tag{font-size:9px}.race-picker{margin-bottom:12px}.race-detail{padding:16px 12px}.race-detail>.section-title h2{font-size:17px}.race-detail>.section-title .eyebrow{font-size:9px}.race-detail>#race-caption{font-size:10px;margin:7px 0 12px}.analysis-layout{grid-template-columns:1fr;gap:18px;margin:14px 0}.probability-panel{padding:0}.probability-panel h2,.tickets-panel h2{font-size:15px}.probability-panel .section-title{margin-bottom:12px}.prob-row{grid-template-columns:110px minmax(0,1fr) 40px;padding:7px 1px;gap:5px}.prob-label{font-size:10px}.chart-scale{padding-left:116px;padding-right:46px}.chart-controls{font-size:9px;padding-bottom:8px}.chart-controls label{font-size:9px;margin-left:auto}.tickets-panel{padding:14px}.ticket-notice{font-size:11px}.ticket-item{padding:13px}.ticket-metrics{font-size:10px}.ticket-horses{font-size:11px}.horse-details summary span{display:none}.page-footer{margin-top:14px;font-size:9px}.improvement-hero{padding:18px}.improvement-hero h2{font-size:19px}}
/* Readable type and tighter vertical rhythm. */
body{font-size:16px;line-height:1.4;color:#19352b}.topbar{height:60px}.topbar h1{font-size:23px;font-weight:750;color:#173e31;letter-spacing:-.02em;line-height:1.2}.brand{font-size:17px;line-height:1.3}.brand small{font-size:10px}.sidebar{width:202px}.sidebar nav{margin-top:28px}nav{gap:5px}nav a{font-size:15px;padding:11px;line-height:1.3}.sidebar-bottom{font-size:13px;line-height:1.4}.sidebar-bottom small{font-size:11px;line-height:1.4}main{margin-left:202px;width:calc(100% - 202px)}.updated,.updated strong{font-size:12px;line-height:1.3}.connection{font-size:12px;line-height:1.3}.content{padding:16px 22px}.toolbar{padding:10px 14px;gap:12px}.field{gap:3px}.field label{font-size:12px;color:#536b5e;line-height:1.2}.field input,.field select{font-size:14px;height:38px;line-height:1.2}.button{font-size:14px;min-height:38px;line-height:1.25;padding:8px 13px}.forecast-summary{font-size:13px;line-height:1.3;margin:10px 2px 12px}.forecast-summary strong{font-size:14px}.mode-tag{font-size:12px}.forecast-layout{grid-template-columns:192px minmax(0,1fr);gap:14px}.race-picker{padding:13px 9px}.race-picker h2{font-size:15px}.race-picker .section-title{margin-bottom:10px}.venue-chip{font-size:12px;padding:4px 7px;line-height:1.2}.race-list{gap:2px;max-height:calc(100vh - 282px)}.race-button{padding:7px;gap:7px;line-height:1.25}.race-name{font-size:13px;line-height:1.3;color:#344f42}.race-time{font-size:12px;line-height:1.2;margin-top:3px}.race-number{width:30px;height:30px;font-size:12px}.race-detail{padding:17px}.race-detail>.section-title{margin-bottom:9px}.race-detail>.section-title h2{font-size:23px;line-height:1.3}.race-detail>.section-title .eyebrow{font-size:12px;line-height:1.2;margin-bottom:5px;color:#657b6c}.pill,.race-detail>.section-title>.pill{font-size:12px;line-height:1.2;padding:5px 9px}.race-detail>#race-caption{font-size:13px;line-height:1.4;margin:6px 0 12px;color:#607466}.analysis-layout{margin:12px 0;gap:16px;grid-template-columns:minmax(0,1.35fr) minmax(274px,.9fr)}.probability-panel{padding-right:15px}.probability-panel h2,.tickets-panel h2{font-size:18px;line-height:1.25}.tickets-panel h2 small{font-size:12px}.probability-panel .section-title,.tickets-panel>.section-title{margin-bottom:10px}.probability-panel .pill{font-size:12px}.chart-controls{font-size:12px;line-height:1.2;gap:5px;padding-bottom:6px}.chart-controls label{font-size:12px;gap:4px}.chart-scale{font-size:11px;padding-left:146px;padding-right:57px;margin:4px 0}.prob-row{grid-template-columns:137px minmax(0,1fr) 50px;padding:4px 1px;gap:7px;line-height:1.25}.prob-label{font-size:14px;line-height:1.25;gap:6px;font-weight:650}.prob-label .horse-no{font-size:12px;width:23px;min-width:23px;padding:3px 0;line-height:1.2}.prob-track,.prob-track svg{height:26px}.prob-value{font-size:15px;line-height:1.15;color:#214d35;font-weight:700}.prob-value small{font-size:11px;line-height:1.1;margin-top:2px;color:#73866f}.chart-more{font-size:13px;line-height:1.2;padding:7px;margin-top:8px}.footnote,.probability-panel .footnote{font-size:12px;line-height:1.4;color:#6d7e6a;margin-top:10px}.tickets-panel{padding:13px}.ticket-status{font-size:11px;line-height:1.2;padding:4px 6px}.ticket-summary{padding:9px 0}.ticket-summary small{font-size:12px;line-height:1.2}.ticket-summary strong{font-size:29px;line-height:1.25;margin-top:3px}.ticket-summary>span{font-size:11px;line-height:1.3}.ticket-notice{font-size:13px;line-height:1.4;margin:9px 0}.ticket-item{padding:11px;margin-top:8px}.ticket-kind{font-size:13px;line-height:1.2;padding:3px 6px}.ticket-amount{font-size:16px;line-height:1.2}.ticket-numbers{margin:7px 0 5px}.ticket-numbers>span{font-size:23px;line-height:1.2;padding:3px 7px}.ticket-horses{font-size:14px;line-height:1.3;margin:5px 0 8px;color:#526b48}.ticket-metrics{font-size:12px;line-height:1.25;padding-top:8px;gap:5px}.ticket-metrics strong{font-size:14px;margin-left:3px}.ticket-empty{padding:13px 3px 7px}.ticket-empty strong{font-size:15px;line-height:1.3}.ticket-empty p{display:none}.horse-details{margin-top:12px}.horse-details summary{font-size:14px;line-height:1.3;padding:12px 0}.horse-details summary span{font-size:12px}.horse-no{font-size:12px}th{font-size:13px;line-height:1.3}td{font-size:14px;line-height:1.35;padding-top:10px;padding-bottom:10px}.race-detail table td{padding-top:10px;padding-bottom:10px}.muted{font-size:14px;line-height:1.45}.notice,.error{font-size:13px;line-height:1.4;padding:9px 12px}.metric>span,.metric small{font-size:13px;line-height:1.4}.metric{padding:17px}.metric strong{margin-top:7px;line-height:1.2}.metric small{margin-top:5px}.steps{font-size:13px;line-height:1.3}.improvement-hero p{font-size:14px;line-height:1.5}.page-footer{font-size:11px;line-height:1.4;margin-top:16px;padding-top:10px}
@media(max-width:1200px){.analysis-layout{grid-template-columns:1fr}.probability-panel{padding:0;border:0}.tickets-panel #ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.ticket-item{margin-top:0}}
@media(max-width:900px){.forecast-layout{display:block}.race-list{max-height:none;gap:5px}.race-button{min-width:165px;padding:7px}.race-picker{padding:11px}.race-picker .section-title{display:none}.analysis-layout{grid-template-columns:1fr}.venue-filters{margin-bottom:8px}}
@media(max-width:760px){.sidebar{width:100%;padding:10px 13px;gap:9px}.brand{font-size:17px}.sidebar nav{margin:0}nav a{font-size:13px;padding:8px 6px;line-height:1.2;min-height:34px}nav span{font-size:16px}.topbar{height:auto;min-height:66px;padding:10px 13px;align-items:flex-start;flex-direction:column;gap:5px}.topbar h1{font-size:21px;line-height:1.2}.header-status{width:100%;gap:10px;justify-content:space-between}.updated,.updated strong{font-size:11px}.connection{font-size:11px;padding:3px 7px}main{margin:0;width:100%}.content{padding:10px}.toolbar{padding:10px;gap:9px}.field label{font-size:12px}.field input,.field select{font-size:13px;height:36px;padding:0 8px}.toolbar .button{font-size:13px;min-height:36px;padding:7px}.forecast-summary{font-size:12px;gap:13px;margin:8px 2px 10px}.forecast-summary strong{font-size:13px}.mode-tag{font-size:11px}.venue-chip{font-size:13px;padding:4px 8px}.race-name{font-size:13px;line-height:1.25}.race-time{font-size:11px;line-height:1.2}.race-number{font-size:12px}.race-picker{margin-bottom:10px}.race-detail{padding:13px 11px}.race-detail>.section-title h2{font-size:20px;line-height:1.25}.race-detail>.section-title .eyebrow{font-size:11px;margin-bottom:5px}.race-detail>.section-title>.pill{font-size:10px;padding:4px 6px}.race-detail>#race-caption{font-size:12px;line-height:1.35;margin:5px 0 10px}.analysis-layout{gap:15px;margin:11px 0}.probability-panel h2,.tickets-panel h2{font-size:18px}.probability-panel .pill{font-size:11px}.chart-controls,.chart-controls label{font-size:11px;line-height:1.2}.chart-controls label{margin-left:auto}.chart-scale{font-size:10px;padding-left:133px;padding-right:52px}.prob-row{grid-template-columns:126px minmax(0,1fr) 46px;gap:5px;padding:4px 0;line-height:1.2}.prob-label{font-size:13px;gap:5px}.prob-label .horse-no{font-size:11px;width:21px;min-width:21px}.prob-value{font-size:14px}.prob-value small{font-size:10px}.prob-track,.prob-track svg{height:25px}.footnote,.probability-panel .footnote{font-size:12px;line-height:1.4}.tickets-panel{padding:12px}.ticket-status{font-size:11px}.ticket-notice{font-size:13px;line-height:1.4}.ticket-summary>span{font-size:11px}.ticket-horses{font-size:14px;line-height:1.3}.ticket-metrics{font-size:12px}.ticket-metrics strong{font-size:14px}.ticket-amount{font-size:16px}.tickets-panel #ticket-list{grid-template-columns:1fr}.ticket-kind{font-size:13px}.ticket-empty strong{font-size:15px}.horse-details summary{font-size:14px}.notice,.error{font-size:12px;line-height:1.4}.metric>span,.metric small{font-size:12px;line-height:1.35;min-height:0}.metric strong.text-size{font-size:17px;line-height:1.35}.metric{padding:13px 10px}.steps{font-size:11px}.steps span{padding:7px 2px}.page-footer{font-size:10px;line-height:1.4}.page-footer span{line-height:1.4}th{font-size:12px}td{font-size:13px}}
/* Mathematical research identity and meaningful colour accents. */
:root{--green:#136b60;--gold:#bb8423}.topbar{border-top:3px solid #bf903d;background:linear-gradient(100deg,#fffdf6,#fff 65%)}.topbar h1{font-family:"Segoe UI Variable Display","Yu Gothic UI","Meiryo",system-ui,sans-serif;font-weight:900;font-size:25px;letter-spacing:-.035em;color:#163f38;text-shadow:none;position:relative;padding-left:15px;line-height:1.25}.topbar h1::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;background:linear-gradient(#b77c21,#e4be67);border-radius:2px}.brand{font-family:"Yu Gothic UI","Meiryo",system-ui,sans-serif;font-weight:800;letter-spacing:-.025em}.brand small{font-family:system-ui,sans-serif;font-size:8px;letter-spacing:.1em;color:#d2b471}.brand-icon{color:#e0b65f;background:#ffffff0b}.sidebar{background:linear-gradient(165deg,#123e38,#102b2b 75%);border-right:1px solid #24574b}nav a.active{background:#f4e9c9;color:#274a3b;border-left:3px solid #d0a247;padding-left:8px}.button.primary{background:#156b61;border-color:#156b61}.button.primary:hover:enabled{background:#0e554d}.venue-chip.active{background:#dceee8;border-color:#8dbfaf;color:#195e4c}.race-button.active{background:#e3f1ec;border-color:#90c2ad}.race-button.active .race-number{background:#176e5b;color:#fff}.race-detail{border-top:3px solid #438c79}.tickets-panel{background:linear-gradient(145deg,#fffcf1,#fbf6e7);border-color:#dfcca4;border-top:3px solid #c69638}.ticket-kind{background:#f2e5bf;color:#73541d;border-color:#e6d4a0}.ticket-numbers>span{color:#785921;background:#fffaf0;border-color:#dfcc9b}.ticket-summary strong{color:#76531a}.ticket-amount{color:#785a27}.model-bar{fill:#398f7d}.model-bar.leader{fill:#14695c}.market-bar{fill:#a9c5db}.legend-dot.model{background:#248776}.legend-dot.market{background:#a9c5db}.prob-track{background-image:linear-gradient(90deg,#e0e8ed 1px,transparent 1px)}.chart-scale,.prob-row{display:grid;grid-template-columns:137px minmax(35px,1fr) 50px 67px;gap:7px}.chart-scale{padding:0;margin:4px 0 6px;align-items:center}.chart-axis{grid-column:2;display:flex;justify-content:space-between;font-size:10px}.ev-heading{grid-column:4;font-size:11px;text-align:center;color:#80682f;font-weight:600}.expected-multiple{display:block;font-size:13px;text-align:center;border-radius:5px;background:#f1f4f6;border:1px solid #e1e8ed;color:#5c7180;padding:4px 2px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.expected-multiple.above-par{background:#fbefd1;border-color:#e5cc90;color:#85601d;font-weight:750}.prob-value{color:#186b59}.prob-value small{color:#6085a1}.prob-row:hover,.prob-row.is-selected{background:#eef6f5;border-color:#b7d7d0}.ticket-status.warning{background:#f6e2c3;color:#905516}.ticket-status.fresh{background:#d2ece4;color:#15654c}.horse-details summary{color:#346b7c}.metric strong{color:#155e53}.chart-more{background:#edf5f3;border-color:#d4e6e0;color:#356e60}
@media(min-width:1201px) and (max-width:1450px){.analysis-layout{grid-template-columns:minmax(0,1fr) 278px}.chart-scale,.prob-row{grid-template-columns:119px minmax(30px,1fr) 45px 62px;gap:5px}.prob-label{font-size:13px}.expected-multiple{font-size:12px}}
@media(max-width:760px){.topbar h1{font-size:22px;letter-spacing:-.035em;padding-left:12px}.brand{font-size:17px}.brand small{display:none}.chart-scale,.prob-row{grid-template-columns:105px minmax(30px,1fr) 39px 56px;gap:4px}.chart-scale{padding:0;margin:4px 0}.prob-label{font-size:12px;gap:4px}.prob-label .horse-no{min-width:19px;width:19px;font-size:10px}.prob-value{font-size:13px}.prob-value small{font-size:10px}.expected-multiple{font-size:12px;padding:4px 1px}.ev-heading{font-size:10px}.chart-axis{font-size:9px}.chart-controls,.chart-controls label{font-size:11px}.chart-controls label{margin-left:auto}.topbar{min-height:70px}}

/* Paper ticket presentation; saved plans remain clearly marked as virtual. */
.tickets-panel[data-plan="present"]{background:linear-gradient(155deg,#e7f3ed,#f6faf6);border-color:#96bcaa;border-top-color:#277353}.tickets-panel[data-plan="present"] .ticket-summary strong{color:#185c41}.tickets-panel[data-plan="absent"]{background:#f0f3f6;border-color:#ced7e0;border-top-color:#7b8fa0}.tickets-panel[data-plan="absent"] h2,.tickets-panel[data-plan="absent"] .ticket-summary strong{color:#556b7a}.tickets-panel[data-plan="absent"] .ticket-status{background:#dde5ec;color:#4e6374}.tickets-panel[data-plan="absent"] .ticket-empty{border:1px dashed #bbc8d2;border-radius:6px;background:#f8fafb;padding:20px 8px;margin-top:10px}.tickets-panel[data-plan="absent"] .ticket-empty strong{color:#5d7282}.tickets-panel[data-freshness="warning"] .ticket-status{background:#f9e2b9;color:#865918}.paper-ticket.ticket-item{position:relative;background:repeating-linear-gradient(135deg,#4d9a7620 0,#4d9a7620 1px,transparent 1px,transparent 8px),#fcfff5;border:1px solid #a0bba2;border-radius:3px;padding:0;overflow:hidden;box-shadow:0 3px 7px #23492b0c;color:#203b2b}.paper-ticket-header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 9px;border-bottom:1px solid #b5c9b3;font-size:10px;background:#e0edda;color:#345e3c;font-weight:650;line-height:1.25}.paper-ticket-header>span:first-child{border:1px solid #6e9873;padding:2px 4px;white-space:nowrap;letter-spacing:.05em}.paper-ticket-header b{margin-left:4px;font-size:12px;color:#204c32}.paper-ticket-main{display:flex;align-items:stretch;gap:10px;padding:10px 10px 5px}.paper-ticket .ticket-kind{display:grid;place-items:center;writing-mode:vertical-rl;text-orientation:upright;border:1px solid #577d5c;border-radius:0;background:#fcfff5;color:#274b2b;font-size:17px;letter-spacing:.13em;font-weight:800;padding:5px 3px;min-width:32px;line-height:1.25}.paper-ticket-selection{min-width:0;flex:1}.paper-ticket .ticket-numbers{margin:0 0 4px;gap:4px;flex-wrap:wrap}.paper-ticket .ticket-numbers>span{font-family:"Consolas","Segoe UI",monospace;background:transparent;border:0;border-bottom:2px solid #4f7554;border-radius:0;padding:0 1px;color:#183c28;font-size:34px;min-width:38px;line-height:1.05;font-weight:800;letter-spacing:-.06em}.paper-ticket .ticket-numbers b{color:#476747;font-size:17px}.paper-ticket .ticket-numbers small{font-family:inherit;font-size:12px}.paper-ticket .ticket-horses{font-size:12px;font-weight:600;color:#3d5c3d;line-height:1.25;margin:5px 0 0}.paper-ticket-value{display:flex;align-items:center;justify-content:space-between;padding:3px 10px 7px;gap:5px;font-size:11px;color:#577554}.paper-ticket .ticket-amount{font-family:"Consolas","Yu Gothic UI",monospace;font-size:22px;font-weight:800;line-height:1.2;color:#20482f;letter-spacing:-.03em}.paper-ticket .ticket-metrics{border-top:1px solid #ccdbc5;margin:0 9px;padding:7px 0;font-size:10px;color:#5d7655;gap:4px}.paper-ticket .ticket-metrics strong{font-size:12px;color:#365c3c}.paper-ticket-stub{position:relative;display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #8aa785;margin:0;padding:6px 10px;background:#e6efde;font-size:10px;font-weight:650;line-height:1.2;letter-spacing:.04em;color:#55774e}.paper-ticket-stub::before,.paper-ticket-stub::after{content:"";position:absolute;top:-5px;width:8px;height:8px;background:#edf6ef;border-radius:50%;border:1px solid #a0bba2}.paper-ticket-stub::before{left:-5px}.paper-ticket-stub::after{right:-5px}.paper-ticket-stub>span:last-child{font-family:Consolas,monospace;font-weight:400;letter-spacing:.08em}@media(max-width:760px){.paper-ticket-header{font-size:11px;padding:7px 10px}.paper-ticket-header b{font-size:13px}.paper-ticket .ticket-horses{font-size:14px}.paper-ticket .ticket-metrics{font-size:11px}.paper-ticket .ticket-metrics strong{font-size:13px}.paper-ticket-stub{font-size:11px}.paper-ticket .ticket-kind{font-size:19px}.paper-ticket .ticket-numbers>span{font-size:37px}.paper-ticket .ticket-amount{font-size:24px}}
/* Fixed landscape ticket proportions and consistent line icons. */
.ui-icon{display:inline-block;width:19px;height:19px;flex:none;vertical-align:-3px;color:currentColor}nav .ui-icon{width:21px;height:21px}.field label,.button,h2{display:flex;align-items:center;gap:7px}.field label .ui-icon{width:15px;height:15px}.button{justify-content:center}.button .ui-icon{width:17px;height:17px}h2 .ui-icon{width:19px;height:19px;color:#418978}.tickets-panel h2 .ui-icon{color:#4c7d5c}.horse-details summary .ui-icon{width:16px;height:16px;margin-right:6px}.forecast-layout{grid-template-columns:246px minmax(0,1fr)}.race-name{font-size:14px}.race-picker .section-title{padding:0 6px}.race-picker h2{font-size:15px}.race-button{gap:10px}.tickets-panel #ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:13px}.ticket-record{min-width:0;max-width:380px;width:100%;container-type:inline-size}.paper-ticket.ticket-item{width:100%;aspect-ratio:85/53;height:auto;min-height:0;display:grid;grid-template-rows:23% 43% 20% 14%;padding:0;margin:0;box-sizing:border-box;overflow:hidden}.paper-ticket-header{padding:0 3cqw;font-size:3.1cqw;gap:2cqw;line-height:1.1;min-height:0;white-space:nowrap}.paper-ticket-header>span:first-child{padding:1cqw;font-size:3.3cqw}.paper-ticket-header b{font-size:3.8cqw;margin-left:1cqw}.paper-ticket-main{padding:1cqw 3cqw;gap:3cqw;min-height:0;align-items:center}.paper-ticket .ticket-kind{font-size:5.5cqw;padding:1cqw;min-width:9cqw;height:90%;line-height:1;letter-spacing:.03em}.paper-ticket-selection{min-width:0}.paper-ticket .ticket-numbers{flex-wrap:nowrap;gap:1.3cqw;margin:0}.paper-ticket .ticket-numbers>span{font-size:12cqw;min-width:12cqw;line-height:1.05;padding:0 .5cqw;border-bottom-width:1px}.paper-ticket .ticket-numbers b{font-size:5cqw}.paper-ticket .ticket-numbers small{font-size:3.7cqw}.paper-ticket-value{padding:0 3cqw 1cqw;font-size:3.6cqw;line-height:1.1}.paper-ticket .ticket-amount{font-size:7.4cqw;line-height:1;white-space:nowrap}.paper-ticket-stub{padding:0 3cqw;font-size:3.2cqw;line-height:1;min-height:0}.paper-ticket-stub::before,.paper-ticket-stub::after{width:2.4cqw;height:2.4cqw;top:-1.2cqw}.ticket-record>.ticket-horses{font-size:12px;line-height:1.4;margin:6px 0 5px;color:#3d6047;font-weight:600}.ticket-record>.ticket-metrics{font-size:11px;line-height:1.3;padding-top:5px;border-top:1px dashed #b7ccba;gap:5px}.ticket-record>.ticket-metrics strong{font-size:12px;color:#285e3c}.tickets-panel h2{white-space:nowrap;gap:5px}.tickets-panel h2 small{margin-left:0}
@media(max-width:1100px) and (min-width:901px){.forecast-layout{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:900px){.forecast-layout{display:block}.race-button{min-width:200px}.race-list{gap:7px}.race-picker .section-title{display:flex;margin-bottom:9px}.race-picker .section-title h2{font-size:14px}.tickets-panel #ticket-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}}@media(max-width:760px){nav .ui-icon{width:18px;height:18px}.ui-icon{width:18px;height:18px}nav a{gap:6px}.toolbar .button{gap:5px}.toolbar .button .ui-icon{width:15px;height:15px}.race-button{min-width:200px}.race-name{font-size:14px}.ticket-record>.ticket-horses{font-size:13px}.ticket-record>.ticket-metrics{font-size:12px}.ticket-record>.ticket-metrics strong{font-size:13px}.tickets-panel #ticket-list{grid-template-columns:1fr}.tickets-panel h2 .ui-icon{width:18px;height:18px}}

/* Larger numerical readouts and a thermal-print paper ticket. */
.chart-scale,.prob-row{grid-template-columns:119px minmax(30px,1fr) 61px 80px;gap:6px}.prob-value,.expected-multiple{font-family:"Bahnschrift","Segoe UI","Yu Gothic UI",sans-serif;font-size:20px;font-weight:800;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.prob-value{line-height:1.1;color:#135b49}.prob-value small{font-size:13px;line-height:1.1;font-weight:600;color:#4b7597;margin-top:3px}.expected-multiple{font-size:19px;line-height:1.2;padding:5px 2px;color:#39596c;border-color:#d1dde5;background:#f1f6f9;letter-spacing:-.04em}.expected-multiple.above-par{font-weight:800;color:#75500e;background:#ffedbd;border-color:#dfbd66}.ev-heading{font-size:12px}.prob-row{padding:5px 1px}.prob-track,.prob-track svg{height:28px}.tickets-panel #ticket-list{gap:14px}.paper-ticket.ticket-item{grid-template-rows:26% 42% 18% 14%;border:1px solid #7d9879;border-radius:1px;background:repeating-radial-gradient(ellipse at 30% 40%,transparent 0,transparent 2px,#5a9a4824 2.5px,#5a9a4824 3px,transparent 3.5px,transparent 7px),#f8fceb;color:#182618;box-shadow:0 3px 5px #213e241a}.paper-ticket-header{background:transparent;border-bottom:1px solid #819677;padding:1.5cqw 3cqw;display:grid;grid-template-columns:auto 1fr auto;gap:2cqw;color:#182618;font-family:"MS Gothic","Yu Gothic UI",monospace;white-space:nowrap}.paper-venue{font-size:7cqw;font-weight:900;letter-spacing:.06em;line-height:1}.paper-race{font-family:Consolas,monospace;font-size:11cqw;font-weight:800;line-height:1;letter-spacing:-.09em;text-align:left}.paper-race small{display:inline-block;font-family:"MS Gothic","Yu Gothic UI",sans-serif;font-size:3cqw;letter-spacing:0;margin-left:1.6cqw;writing-mode:vertical-rl;line-height:1.1}.paper-date{font-size:2.9cqw;line-height:1.25;text-align:right;letter-spacing:-.04em;font-weight:600}.paper-date b{display:block;font-size:3.8cqw;margin-top:1cqw;border:1px solid #586b51;padding:.5cqw 1cqw;text-align:center;letter-spacing:.08em}.paper-ticket-main{padding:1cqw 3cqw;gap:3cqw}.paper-ticket .ticket-kind{background:#f6faeb;border:1.5px solid #253a25;font-family:"MS Gothic","Yu Gothic UI",sans-serif;color:#172718;font-size:6cqw;font-weight:900;line-height:1;min-width:10cqw;padding:1cqw;height:90%;letter-spacing:.02em}.paper-selection-label{display:block;font-size:3cqw;font-weight:600;line-height:1;color:#435840;margin-bottom:.8cqw;letter-spacing:.18em}.paper-ticket .ticket-numbers{gap:1.2cqw;position:relative;align-items:center}.paper-ticket .ticket-numbers::before,.paper-ticket .ticket-numbers::after{content:"";border-top:1.8cqw solid transparent;border-bottom:1.8cqw solid transparent;flex:none}.paper-ticket .ticket-numbers::before{border-left:2cqw solid #233a20}.paper-ticket .ticket-numbers::after{border-right:2cqw solid #233a20}.paper-ticket .ticket-numbers>span{font-family:"Consolas","MS Gothic",monospace;font-weight:900;color:#152d17;border-bottom:0;font-size:13cqw;letter-spacing:-.1em;min-width:12cqw;padding:0;line-height:1}.paper-ticket .ticket-numbers b{font-size:5cqw;color:#152d17}.paper-ticket-value{padding:0 3cqw 1cqw;font-family:"MS Gothic","Yu Gothic UI",monospace;color:#2b4026;font-size:3.5cqw;border-top:1px dotted #a4b29a;margin:0 2cqw}.paper-ticket .ticket-amount{color:#162b16;font-size:8cqw;line-height:1;font-family:Consolas,"MS Gothic",monospace;font-weight:900;letter-spacing:-.06em}.paper-ticket-stub{background:#d9e8cd;border-top:1px dashed #7c9372;color:#2d4a2a;font-family:"MS Gothic","Yu Gothic UI",monospace;font-size:3.3cqw;padding:0 3cqw;font-weight:700}.paper-ticket-stub>span:last-child{font-weight:700;letter-spacing:.02em}.paper-ticket-stub::before,.paper-ticket-stub::after{display:none}.ticket-record>.ticket-metrics strong{font-size:16px;font-weight:800}.ticket-record>.ticket-metrics{font-size:12px}.ticket-record>.ticket-horses{color:#36573a}
@media(max-width:760px){.chart-scale,.prob-row{grid-template-columns:99px minmax(24px,1fr) 54px 73px;gap:4px}.prob-value{font-size:19px}.prob-value small{font-size:12px}.expected-multiple{font-size:18px;padding:5px 1px}.ev-heading{font-size:11px}.prob-label{font-size:12px}.chart-axis{font-size:10px}.ticket-record>.ticket-metrics strong{font-size:16px}}
/* Balanced numerical emphasis with clearer recommendation status. */
.prob-value,.expected-multiple{font-family:"Segoe UI","Yu Gothic UI","Meiryo",system-ui,sans-serif;font-size:17px;font-weight:600;letter-spacing:-.015em}.prob-value small{font-size:12px;font-weight:400}.expected-multiple{font-size:16px;padding:4px 2px}.expected-multiple.above-par{font-weight:650}.ticket-status{font-size:14px;font-weight:650;line-height:1.25;padding:5px 9px}.tickets-panel>.section-title{flex-wrap:wrap;row-gap:7px}@media(max-width:760px){.prob-value{font-size:17px}.prob-value small{font-size:11px}.expected-multiple{font-size:16px}.ticket-status{font-size:14px;padding:5px 8px}}

/* Reference-inspired left race panel and right boxed combinations. */
:root{--vermilion:#ad4941}.topbar{border-top-color:#ad4941}.topbar h1::before{background:linear-gradient(#9e3b34,#ce776b)}.tickets-panel h2 .ui-icon{color:#ad4941}.tickets-panel[data-plan="present"]{border-top-color:#b9574d}.tickets-panel[data-plan="present"] h2{color:#884139}.sample-ticket.paper-ticket{position:relative;display:grid;grid-template-columns:35% 65%;grid-template-rows:1fr;aspect-ratio:85/53;width:100%;height:auto;min-height:0;border:1px solid #b8c9bf;background:#fbfef9;box-shadow:0 2px 5px #243c2c10;border-radius:2px;padding:0;margin:0;overflow:hidden;font-family:"MS Gothic","Yu Gothic UI",sans-serif;color:#26372f}.sample-ticket-info{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:1.6cqw;padding:3cqw 2.5cqw;background:linear-gradient(90deg,transparent 68%,#c8f4e8bb 68%,#c8f4e8bb 89%,transparent 89%);min-width:0}.sample-date{font-size:3.5cqw;line-height:1;white-space:nowrap;font-weight:650}.sample-venue{font-size:8cqw;line-height:1;letter-spacing:.08em;font-weight:800}.sample-race{display:flex;align-items:center;gap:1.1cqw;white-space:nowrap}.sample-race b{background:#26372f;color:#fff;font-family:Consolas,monospace;font-size:9cqw;line-height:1;padding:.1cqw 1.3cqw;letter-spacing:-.06em}.sample-race span{font-size:3.7cqw;font-weight:700}.sample-stamp{border:1.2px solid #b65b51;color:#a24a40;letter-spacing:.12em;padding:1cqw .8cqw;font-size:4cqw;line-height:1;font-weight:800;transform:rotate(-5deg);margin:2cqw 0}.sample-race-name{font-size:3.5cqw;line-height:1.2;max-height:9cqw;overflow:hidden;font-weight:650;margin-top:auto}.sample-ticket-info>small{font-size:2.8cqw;line-height:1.2;font-weight:650;white-space:nowrap}.sample-ticket-bets{position:relative;z-index:1;display:grid;grid-template-columns:13% 87%;grid-template-rows:1fr 11%;padding:4cqw 2.4cqw 2.5cqw 1cqw;min-width:0;gap:2cqw 0}.sample-kind{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid #3f5547;padding:1cqw .2cqw;min-height:0;background:#ffffff30}.sample-kind>span{font-family:Consolas,monospace;font-size:2cqw;font-weight:800;line-height:1;letter-spacing:-.04em}.sample-kind strong{writing-mode:vertical-rl;text-orientation:upright;font-family:"Yu Mincho","MS PMincho",serif;font-size:8cqw;font-weight:900;line-height:1.05;letter-spacing:.15em}.sample-lines{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:space-around;gap:2cqw;padding-left:1.2cqw;min-width:0}.sample-line{display:flex;align-items:center;justify-content:space-between;gap:1cqw;min-width:0}.sample-combination{display:flex;align-items:center;gap:.8cqw;white-space:nowrap}.sample-combination b{border:1px solid #395344;background:#ffffff45;font-family:Consolas,monospace;font-size:9cqw;line-height:1;min-width:8cqw;padding:0 .8cqw;text-align:center;letter-spacing:-.08em;font-weight:800}.sample-combination em{font-style:normal;font-size:4cqw}.sample-amount{font-family:Consolas,monospace;font-size:6.5cqw;line-height:1;font-weight:650;letter-spacing:-.09em;white-space:nowrap}.sample-amount small{font-family:"MS Gothic",sans-serif;font-size:2.8cqw;letter-spacing:0}.sample-total{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;font-size:3.5cqw;line-height:1;white-space:nowrap;font-weight:700}.sample-total strong{font-family:Consolas,"MS Gothic",monospace;font-size:5cqw;letter-spacing:-.06em}.sample-watermark{position:absolute;inset:6% 0 0 46%;font-family:Georgia,serif;font-size:20cqw;font-weight:800;letter-spacing:-.05em;line-height:1.2;color:#56d2b125;transform:rotate(-7deg);pointer-events:none}.sample-ticket-details{padding-top:6px;display:grid;gap:6px}.sample-ticket-details>div{font-size:12px;line-height:1.4;border-bottom:1px dashed #c8d8cc;padding-bottom:5px}.sample-ticket-details strong{display:block;font-weight:600;color:#365b43}.sample-ticket-details span{display:block;font-size:11px;color:#6b7c6b;margin-top:2px}.sample-ticket-details b{font-size:13px;font-weight:600;color:#355b42}.sample-record{max-width:420px}.tickets-panel #ticket-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}@media(min-width:1201px){.analysis-layout{grid-template-columns:minmax(0,1fr) 320px;gap:15px}}@media(max-width:760px){.sample-ticket-details>div{font-size:13px}.sample-ticket-details span{font-size:12px}.sample-ticket-details b{font-size:14px}}

.sample-ticket[data-key-count="3"] .sample-combination b{font-size:7cqw;min-width:6cqw;padding:0 .4cqw}.sample-ticket[data-key-count="3"] .sample-combination{gap:.4cqw}.sample-ticket[data-key-count="3"] .sample-combination em{font-size:3cqw}.sample-ticket[data-key-count="3"] .sample-amount{font-size:5.3cqw}
/* User-selected title typography. */
.topbar h1{font-family:Meiryo,"メイリオ",sans-serif;font-weight:700;letter-spacing:normal;font-size:25px;line-height:1.3}@media(max-width:760px){.topbar h1{font-size:22px;letter-spacing:normal;font-weight:700}}

/* White stock and black thermal print, following the second reference. */
.sample-ticket.paper-ticket{background:#fffef8;border-color:#aaa99e;box-shadow:0 3px 6px #25362916;color:#262c28;grid-template-columns:34% 66%}.sample-ticket-info{background:none;border-right:1px solid #a7a89d;padding:3cqw 2.2cqw;gap:1.5cqw}.sample-date{font-size:3.3cqw;font-weight:500}.sample-venue{font-size:8.2cqw;color:#222b24}.sample-race b{background:#29302b;font-size:9cqw;letter-spacing:-.07em}.sample-race span{font-size:3.7cqw}.sample-stamp{transform:none;color:#434d44;border-color:#9d9e92;font-size:3.2cqw;padding:.8cqw;letter-spacing:.03em;margin:.5cqw 0}.sample-race-name{font-size:3.7cqw;line-height:1.25;font-weight:500}.sample-ticket-info>small{font-size:2.5cqw;color:#444b42}.sample-ticket-bets{padding:3cqw 2.4cqw 2.2cqw 1.1cqw;grid-template-columns:14% 86%;grid-template-rows:12% 1fr 12%;gap:1.5cqw 0}.sample-kind{grid-row:1/3;background:none;border-color:#8c9087;padding:1cqw .2cqw}.sample-kind strong{color:#292f29;font-size:7cqw;letter-spacing:.2em;font-weight:700}.sample-kind>span{font-weight:500;font-size:2.1cqw}.sample-caption{grid-column:2;grid-row:1;border:1px solid #9ea194;font-size:3.4cqw;font-weight:700;letter-spacing:.14em;line-height:1.15;text-align:center;margin-left:2cqw;color:#4b5148}.sample-lines{grid-column:2;grid-row:2;padding-left:1.6cqw;gap:1.5cqw;justify-content:space-around}.sample-line{display:flex;flex-direction:column;align-items:stretch;gap:1.2cqw}.sample-selection{display:flex;align-items:center;gap:1.1cqw;min-width:0}.sample-combination{gap:.5cqw;flex-shrink:0}.sample-combination b{font-size:5.7cqw;font-weight:700;line-height:1;background:#2d332e;border:0;color:#fff;min-width:5.5cqw;padding:.2cqw .5cqw;letter-spacing:-.04em}.sample-combination em{font-size:3cqw;color:#383f35}.sample-pick-name{font-size:3.6cqw;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:-.04em;font-weight:650;min-width:0}.sample-amount{font-family:"MS Gothic",Consolas,monospace;align-self:flex-end;font-weight:500;font-size:7.5cqw;line-height:1;letter-spacing:-.06em;color:#292f28;white-space:nowrap}.sample-amount>span{font-size:3cqw;letter-spacing:.06em;vertical-align:middle;margin-right:.8cqw}.sample-amount small{font-size:3cqw}.sample-total{grid-row:3;font-size:3.4cqw;color:#343c31;line-height:1}.sample-total strong{font-size:5.2cqw;font-weight:650}.sample-watermark{display:none}.sample-ticket[data-key-count="3"] .sample-combination b{font-size:4.8cqw;min-width:5cqw;padding:.2cqw .3cqw}.sample-ticket[data-key-count="3"] .sample-combination em{font-size:2.7cqw}.sample-ticket[data-key-count="3"] .sample-amount{font-size:7cqw}.sample-ticket[data-key-count="3"] .sample-pick-name{font-size:3cqw}
/* Clear, contemporary Japanese title lettering. */
.topbar h1{font-family:"BIZ UDPGothic","BIZ UDPゴシック","Hiragino Kaku Gothic ProN","Yu Gothic UI",sans-serif;font-size:24px;font-weight:700;letter-spacing:.015em;line-height:1.35}@media(max-width:760px){.topbar h1{font-size:21px;letter-spacing:0;font-weight:700}}

.sample-ticket[data-row-count="3"] .sample-line{gap:.5cqw}.sample-ticket[data-row-count="3"] .sample-amount{font-size:6cqw}.sample-ticket[data-row-count="3"] .sample-lines{gap:.6cqw}

.selection-policy{background:#fff;border:1px solid #dce5df;border-radius:8px;padding:10px 13px;margin:0 0 13px;color:#426856;font-size:12px}.selection-policy summary{cursor:pointer;font-weight:650;line-height:1.4}.selection-policy summary span{font-size:10px;background:#f7ede6;color:#9e5c43;border-radius:4px;padding:2px 6px;margin-left:7px}.selection-policy p{font-size:12px;line-height:1.6;margin:9px 0 0;color:#617363}.monthly-risk{background:#f7faf7;border:1px solid #cbdcce;border-radius:6px;padding:10px;margin:10px 0;font-size:12px}.monthly-risk>strong{font-size:12px;color:#496c50}.monthly-risk p{font-size:11px;line-height:1.5;margin:6px 0 0;color:#6c7e6b}.monthly-risk dl{margin:8px 0;display:grid;gap:5px}.monthly-risk dl>div{display:flex;justify-content:space-between;gap:7px}.monthly-risk dt{font-size:10px;color:#758570}.monthly-risk dd{font-size:13px;font-weight:650;margin:0;color:#35633f}@media(max-width:760px){.selection-policy{font-size:12px}.monthly-risk dt{font-size:11px}.monthly-risk p{font-size:12px}}

.settings-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.settings-presets button{background:#fff;border:1px solid #d7e4dc;border-top:3px solid #4c8a73;border-radius:9px;text-align:left;padding:16px;color:#335b48}.settings-presets button:first-child{background:#edf5ef;border-top-color:#ad4941}.settings-presets strong{display:block;font-size:15px}.settings-presets span{display:block;font-size:12px;line-height:1.6;color:#6a7f6d;margin-top:7px}.settings-presets small{display:block;font-size:11px;margin-top:11px;color:#7b5545}.settings-form{padding:22px}.settings-form-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.settings-form h2{font-size:17px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 16px}.settings-grid>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#466251;min-width:0}.settings-grid input,.settings-grid select{height:40px;width:100%;font-size:15px;font-weight:500}.settings-grid small,.settings-kinds>small{font-size:11px;line-height:1.5;color:#83907b;font-weight:400}.settings-kinds{border:1px solid #e0e8df;border-radius:8px;padding:14px;margin:23px 0}.settings-kinds legend{font-size:13px;color:#49664e;font-weight:650}.settings-kinds>div{display:flex;flex-wrap:wrap;gap:10px}.settings-kinds label{display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:6px;background:#f1f5ef;border:1px solid #dce5d7;font-size:13px;color:#496144}.settings-kinds input{height:16px;width:16px;accent-color:#397a5b;padding:0}.settings-kinds>small{display:block;margin-top:10px}.settings-advanced{border-bottom:1px solid #e5ebe1;padding-bottom:16px}.settings-advanced summary{font-size:13px;font-weight:600;color:#627b5a;cursor:pointer}.settings-advanced .settings-grid{margin-top:15px}.settings-assessment{font-size:12px;line-height:1.7;padding:13px;background:#eff5ed;border:1px solid #dce7d4;border-radius:7px;color:#637a57;margin:18px 0}.settings-assessment.warning{background:#fff4e3;border-color:#e7ce9b;color:#8b6f37}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-message{font-size:13px;line-height:1.6;color:#8d4d39;margin:14px 0;min-height:20px}#settings-mode{margin-bottom:15px}.settings-form input:disabled,.settings-form select:disabled{background:#eef1ec;color:#7f8e79}.settings-actions .primary{min-width:130px}@media(max-width:1100px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){nav{flex-wrap:wrap;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}nav a{justify-content:flex-start;font-size:12px;padding:9px;gap:7px}.settings-presets{grid-template-columns:1fr;gap:9px}.settings-presets button{padding:13px}.settings-presets span{font-size:12px}.settings-grid{grid-template-columns:1fr;gap:17px}.settings-form{padding:17px 13px}.settings-grid>label{font-size:13px}.settings-grid small,.settings-kinds>small{font-size:12px}.settings-form-heading{align-items:flex-start;gap:8px}.settings-form-heading .pill{font-size:10px}.settings-kinds label{padding:8px 10px}.settings-assessment{font-size:12px}.settings-actions .button{flex:1;font-size:12px}#settings>.section-title{align-items:flex-start;gap:10px}#settings>.section-title .pill{font-size:10px}.settings-message{font-size:13px}}

.remote-card{padding:14px 18px;margin-bottom:14px;border-left:3px solid var(--accent,#b44736)}.remote-card p{margin:5px 0;font-size:13px;line-height:1.6}.remote-card h2{font-size:15px}.remote-card .section-title{margin-bottom:5px}

.progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px;font-size:14px}.progress-label span{font-variant-numeric:tabular-nums;font-weight:700}.progress-track{height:12px;overflow:hidden;border-radius:10px;background:#e3ebe7}.progress-track>span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#2c6a59,#368b72);transition:width .4s ease}.progress-track.indeterminate>span{animation:progress-wait 1.8s ease-in-out infinite}@keyframes progress-wait{from{transform:translateX(-100%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.progress-track.indeterminate>span{animation:none}.progress-track>span{transition:none}}@media(max-width:600px){.progress-label{align-items:flex-start;flex-direction:column;gap:4px}}

/* Compact update controls; connection instructions open only when requested. */
.toolbar{padding:10px 14px;gap:10px;align-items:end}.toolbar .field{gap:3px}.toolbar .field input,.toolbar .field select{height:36px;font-size:13px}.toolbar .model-field{flex:1;min-width:150px}.toolbar .button{min-height:36px;padding:8px 12px;font-size:12px;white-space:nowrap}.remote-options{position:relative;flex:none;margin:0 0 5px;font-size:12px;color:#62786c}.remote-options summary{cursor:pointer;white-space:nowrap;padding:4px 0;list-style:none}.remote-options summary::before{content:'⌄';margin-right:5px}.remote-options[open] summary::before{content:'⌃'}.remote-options summary span{color:#286e59;font-size:11px;margin-left:4px}.remote-options-body{position:absolute;right:0;top:30px;z-index:20;width:330px;max-width:80vw;background:#fff;border:1px solid #dae5de;border-radius:8px;box-shadow:0 8px 24px #1835291a;padding:13px}.remote-options-body p{font-size:12px;line-height:1.6;margin:0 0 8px}.remote-option-actions{display:flex;gap:8px;flex-wrap:wrap}.job{padding:10px 14px;margin:9px 0;border-left-width:2px}.job .section-title{margin:0;gap:10px}.job h2{font-size:13px}.job #job-message{font-size:12px;margin:5px 0 0;line-height:1.5}.job:not(.is-running){display:flex;align-items:center;gap:12px;flex-wrap:wrap}.job:not(.is-running) #job-message{margin:0}.job .progress-label{font-size:13px;margin:8px 0 6px}.job .progress-track{height:9px}.job #job-progress-note{font-size:11px;margin:6px 0 0}.toolbar+.job[hidden]{display:none}@media(max-width:760px){.toolbar{padding:10px;gap:8px;grid-template-columns:1fr 1fr}.toolbar .model-field{min-width:0}.toolbar .field input,.toolbar .field select{font-size:12px;height:36px}.toolbar .button{font-size:12px;padding:8px}.remote-options{grid-column:1/-1;justify-self:end;margin:-3px 0 -4px}.remote-options-body{top:25px;width:300px;max-width:calc(100vw - 48px)}.job{padding:9px 11px}.job .progress-label{flex-direction:row;align-items:center;font-size:12px}.job #job-progress-note{display:none}}
.job[hidden]{display:none}

.prob-label .single-win-odds{display:block;font-size:11px;line-height:1.5;font-weight:500;color:#718078;margin-top:2px;letter-spacing:0;font-variant-numeric:tabular-nums}.prob-row{min-height:47px}@media(max-width:760px){.prob-label .single-win-odds{font-size:11px}}

.expected-stack{display:grid;gap:3px;min-width:0}.expected-stack .expected-multiple{display:flex;align-items:center;justify-content:space-between;gap:3px;font-size:13px;padding:3px 5px;min-width:0;white-space:nowrap}.expected-stack .expected-multiple small{font-size:9px;font-weight:500;opacity:.8}.expected-stack .place-multiple{background:#f4f1ec;border-color:#e6dfd4;color:#786649}.expected-stack .place-multiple.above-par{background:#fbedd2;border-color:#ead69f;color:#88692c}.ev-heading small{display:block;font-size:9px;font-weight:500;margin-top:3px;white-space:nowrap}.prob-row{min-height:57px}@media(max-width:760px){.expected-stack .expected-multiple{font-size:12px;padding:3px}.expected-stack .expected-multiple small{font-size:9px}}

/* Separate positive expectation from the neutral place-bet tint. */
.expected-multiple.above-par,.expected-stack .expected-multiple.above-par,.expected-stack .place-multiple.above-par{background:#fde5df;border-color:#dc8b7a;color:#a53829;font-weight:700}.horse-no,.prob-label .horse-no{font-size:16px;font-weight:750;min-width:27px;width:27px;height:29px;line-height:29px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}@media(max-width:760px){.horse-no,.prob-label .horse-no{font-size:15px;min-width:25px;width:25px;height:28px;line-height:28px}}

.model-comparison{margin-bottom:16px;padding:18px}.comparison-message{padding:10px 12px;background:#edf4ef;border-left:3px solid #3b8268;font-size:13px;line-height:1.6}.comparison-scopes{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.comparison-scopes button{padding:8px 11px;border:1px solid #d6e2db;border-radius:6px;background:#fff;color:#63796d;font-size:12px}.comparison-scopes button.active{background:#286d59;color:#fff;border-color:#286d59}.comparison-table th,.comparison-table td{white-space:nowrap;font-size:12px}.comparison-table td small{display:block;color:#809086;font-size:10px}.comparison-recommended{font-size:10px;background:#fae6df;color:#a44731;border:1px solid #e8b6a7;border-radius:4px;margin-left:7px;padding:2px 5px}.comparison-method{font-size:12px;line-height:1.7;color:#728579;margin-top:12px}.comparison-method summary{cursor:pointer;font-weight:600;color:#51755e}@media(max-width:760px){.model-comparison{padding:13px}.comparison-scopes button{font-size:11px}.comparison-table th,.comparison-table td{font-size:12px}}

.prob-heading{font-size:10px;text-align:right;color:#76897d;line-height:1.4}.prob-heading small{display:block;font-size:9px}.prob-value .place-probability{display:block;font-size:11px;font-weight:550;color:#7e705c;line-height:1.5;margin-top:3px;white-space:nowrap}

/* Keep the extra update action compact on smaller screens. */
.toolbar{flex-wrap:wrap}#odds-update{white-space:nowrap}

.residual-study-table{min-width:900px}.residual-study-table small{display:block;white-space:normal;font-size:12px;line-height:1.45;color:#758276;max-width:330px}.residual-study-table td:nth-child(3){white-space:normal;min-width:240px;max-width:360px}

/* Inline AI horse wordmark, without a background or frame. */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:16px;letter-spacing:-.035em}.brand-heading{display:flex;align-items:center;gap:3px;white-space:nowrap;line-height:1.15}.brand small{font-size:7.5px;letter-spacing:.08em}.brand .brand-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;min-width:25px;height:16px;flex:0 0 25px;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.brand-icon img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.brand{font-size:18px;gap:0}.brand .brand-icon{width:28px;min-width:28px;flex-basis:28px;height:18px}.brand small{display:none}}
/* Dashboard heading shares the application's UI typeface. */
.topbar h1{font-family:inherit;font-size:25px;font-weight:700;letter-spacing:-.025em;line-height:1.3;font-feature-settings:normal}@media(max-width:760px){.topbar h1{font-size:21px;letter-spacing:-.025em}}

/* Compact dashboard wordmark with the shared AI horse silhouette. */
.topbar h1{display:flex;align-items:center;gap:10px}.dashboard-logo{display:inline-block;flex:0 0 1.55em;width:1.55em;height:1em;background:var(--deep);-webkit-mask:url('/brand-logo.svg?v=tail1') center/contain no-repeat;mask:url('/brand-logo.svg?v=tail1') center/contain no-repeat}

.model-guide { margin-block: .65rem 1rem; padding: .65rem .85rem; border: 1px solid #b7c9bd; border-radius: .55rem; background: #f4f8f4; color: #19382e; font-size: .9375rem; line-height: 1.55; }
.model-guide summary { cursor: pointer; font-weight: 700; }
.model-guide dl { display: grid; gap: .2rem; margin: .65rem 0 0; }
.model-guide dt { font-weight: 700; }
.model-guide dd { margin: 0 0 .65rem; }
.model-guide dd:last-child { margin-bottom: 0; }

.model-guide-link { color: inherit; text-decoration: underline; text-underline-offset: .17em; font-weight: 700; }
.model-guide-page { max-width: 44rem; margin: 2rem auto; padding: 0 1rem; color: #19382e; }
.model-guide-page h1 { margin: 1rem 0; font-size: clamp(1.4rem, 4vw, 2rem); }
.model-guide-page .model-guide dt { margin-top: .4rem; }
.horse-name-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.horse-explanation { box-sizing: border-box; position: fixed; inset: 0; max-width: min(38rem, calc(100vw - 2rem)); width: 100%; max-height: 85dvh; overflow: auto; margin: auto; border: 1px solid #a9bcb0; border-radius: .8rem; padding: 1.2rem; background: #fff; color: #19382e; font-size: 1rem; line-height: 1.55; }
.horse-explanation::backdrop { background: #15281ccc; }
.horse-explanation h2 { margin: 0 0 .7rem; }
.horse-explanation dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem .7rem; padding: .65rem; background: #eff5ef; }
.horse-explanation dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.horse-explanation-close { margin-top: .7rem; padding: .4rem .8rem; border: 1px solid #829c8a; border-radius: .4rem; background: #edf5ed; color: inherit; font: inherit; cursor: pointer; }

/* Keep the model picker and update actions within their own columns. */
.toolbar .field { min-width: 0; }
.toolbar .model-field { flex: 1 1 10rem; }
.toolbar .field input,
.toolbar .field select { display: block; box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar .button { min-width: 0; white-space: normal; }
}
