:root{--ink:#19342f;--muted:#63766d;--green:#2b6750;--lime:#dcf197;--paper:#f6f7f0;--line:#dce2d5;--amber:#8b5c19}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tahoma,'Noto Sans Thai',system-ui,sans-serif;font-size:15px;line-height:1.65}button,input,select{font:inherit}button,a,input,summary,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 16px;color:var(--ink)}button:hover{background:#edf3df}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8da541;outline-offset:3px}a{color:var(--green)}header{max-width:1240px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:2px}.mark{background:var(--ink);color:var(--lime);padding:12px;border-radius:50%;font-size:15px}.edition,.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--muted)}main{max-width:1240px;margin:auto;padding:0 32px}.hero{display:grid;grid-template-columns:1fr 330px;gap:40px;align-items:center;padding:44px 0 36px}h1{font-size:42px;line-height:1.4;letter-spacing:-1.6px;margin:12px 0 16px}h1 em{font-style:normal;font-weight:400;color:var(--green)}.hero p{color:var(--muted)}.race{background:var(--ink);color:white;padding:27px 30px;border-radius:24px;position:relative}.race>strong{display:block;font-size:70px;line-height:1.3;letter-spacing:-3px;color:var(--lime)}.race strong small{font-size:21px;letter-spacing:0}.race p{color:#d6e4d2;font-size:12px}.race a{color:var(--lime)}.race summary{font-size:12px;cursor:pointer}nav{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;position:sticky;top:0;background:var(--paper);z-index:2}nav button{border:0;background:transparent;color:var(--muted)}nav button.active{background:var(--ink);color:white}h2{font-size:23px;letter-spacing:-.5px;margin:0}h3{font-size:17px;margin:0 0 12px}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:28px 0 18px}.sub{font-size:13px;color:var(--muted);margin:6px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.stat{padding:23px;background:white;border:1px solid var(--line);border-radius:16px}.stat.primary{background:var(--lime);border-color:var(--lime)}.stat strong{display:block;font-size:34px;font-weight:600;letter-spacing:-1px;line-height:1.5}.stat small{font-size:12px;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:20px}.two{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.notice{border-left:3px solid #c39449;background:#f5edda;border-radius:4px 10px 10px 4px;padding:13px 17px;color:#74551e;font-size:13px;margin:16px 0}.barrow{display:grid;grid-template-columns:70px 1fr 75px;gap:12px;align-items:center;margin:13px 0;font-size:12px}.bartrack{background:#eff2e8;height:14px;border-radius:4px;overflow:hidden}.bar{background:var(--green);height:100%;border-radius:4px}.barrow button{padding:0;border:0;background:none;text-align:left;text-decoration:underline}.barrow span:last-child{text-align:right}.legend{color:var(--muted);font-size:12px}.event{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:14px}.event:last-child{border:0}.event b{font-size:13px;min-width:65px}.event p{margin:4px 0;color:var(--muted);font-size:13px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.toolbar input,.toolbar select{border:1px solid var(--line);padding:9px;border-radius:8px;background:white;max-width:100%;color:var(--ink)}.toolbar label{font-size:12px;color:var(--muted)}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{font-weight:500;background:#eef2e7;color:var(--muted);white-space:nowrap}th,td{padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:top}tr:last-child td{border:0}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.badge{display:inline-block;padding:3px 8px;border-radius:6px;background:#eaf2e4;color:#3d6549;font-size:11px;white-space:nowrap}.badge.warn{background:#f5edda;color:var(--amber)}td strong{display:block;min-width:180px}.minor{font-size:12px;color:var(--muted)}.plain{border:0;background:transparent;color:var(--green);padding:5px 0;text-decoration:underline}.empty{padding:45px;text-align:center;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.asset{padding:0;overflow:hidden;text-align:left;background:white}.asset img{width:100%;height:200px;object-fit:cover;object-position:top;background:#e4e9e1}.asset>div{padding:12px;font-size:12px}.asset b{display:block}.smallgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.smallgrid>div{background:#eff3e9;border-radius:10px;padding:15px}.smallgrid strong{font-size:23px;display:block}.smallgrid span{font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:18px;width:min(960px,95vw);max-height:92vh;padding:0;color:var(--ink)}dialog::backdrop{background:#0c251de0}.modalhead{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 22px;position:sticky;top:0;background:white;border-bottom:1px solid var(--line);z-index:3}#modalBody{padding:24px}.sourceimg{display:block;max-width:100%;height:auto;margin:20px auto}.sourcebox{border:1px solid var(--line);padding:18px;border-radius:10px;margin:18px 0}.sourcebox p{margin:8px 0}.sourcebox small{display:block;overflow-wrap:anywhere}svg.trend{width:100%;height:auto;display:block;max-height:230px}svg text{font-family:inherit;font-size:12px;fill:var(--muted)}footer{border-top:1px solid var(--line);margin-top:38px;padding:22px 0;font-size:12px;color:var(--muted)}footer span{float:right}footer p{font-size:11px}.filelist{overflow-wrap:anywhere;font-size:12px}details{margin-top:14px}summary{cursor:pointer}.actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:800px){.hero{grid-template-columns:1fr 260px;gap:20px}h1{font-size:31px}.stats{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(3,1fr)}}@media(max-width:570px){header,main{padding-left:18px;padding-right:18px}.edition{display:none}.hero{grid-template-columns:1fr;padding:28px 0;gap:20px}h1{font-size:31px}.race{padding:20px}.race>strong{font-size:48px}.race>p{margin:4px 0}nav{gap:0;overflow-x:auto}nav button{padding:10px;white-space:nowrap;font-size:13px}.stat{padding:16px}.stat strong{font-size:28px}.panel{padding:18px}.sectionhead{align-items:start;flex-direction:column}.gallery{grid-template-columns:repeat(2,1fr)}.smallgrid{grid-template-columns:repeat(2,1fr)}.modalhead{padding:12px}#modalBody{padding:16px}footer span{float:none;display:block}.toolbar{align-items:end}.toolbar input{max-width:145px}}
.calendar{margin:22px 0}.calheading{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.calnav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calnav strong{font-size:17px}.calnav button{padding:6px 12px}.calnav button:last-child{font-size:12px}.callegend{display:flex;flex-wrap:wrap;gap:10px 20px;margin:18px 0 8px;font-size:12px}.callegend .trained{color:#2b6750}.callegend .rest{color:#476c9c}.callegend .missing{color:#718078}.callegend .weighed{color:#846427}.calgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:20px}.weekday{text-align:center;font-size:12px;color:var(--muted);padding:6px}.calday{display:flex;flex-direction:column;align-items:start;text-align:left;border-radius:10px;min-height:110px;padding:10px;line-height:1.5;min-width:0}.calday .daynumber{font-size:20px;font-weight:700;margin-bottom:5px}.calday .daystatus{font-size:12px}.calday small{font-size:11px;color:var(--muted)}.calday.trained{background:#e8f1dc;border-color:#c6d8b8}.calday.rest{background:#e8eff8;border-color:#c3d3e8}.calday.weighed{background:#f8f0db;border-color:#e6d6af}.calday.missing{background:#f7f8f4;border-style:dashed}.calday.future{background:#fafbf8;border-color:#edf0e8;color:#7a857f}.calday.future .daystatus{font-size:10px}.calday.future small{display:none}.calday.selected{outline:2px solid var(--green);outline-offset:1px}.weightdot{font-size:10px;color:#776026;margin-top:6px}.daydetail{margin-top:24px;background:#f6f8f2;padding:20px;border-radius:12px;border:1px solid var(--line)}.daydetail .sectionhead{margin:0 0 12px}.daywork{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:14px 0}.dayweights{margin-top:18px}.dayweights h4{margin:0 0 8px}.dayweights>div{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:6px 0;font-size:13px}.resttext{color:#355c87;font-weight:700}.daywork p{margin:5px 0}@media(max-width:650px){.calendar{padding:12px}.calgrid{gap:4px}.calday{padding:5px;min-height:100px;border-radius:7px}.calday .daynumber{font-size:17px}.calday .daystatus{font-size:10px}.calday small{font-size:9px;overflow-wrap:anywhere}.calday.future .daystatus{font-size:9px}.weightdot{font-size:9px}.calnav{gap:8px}.calnav strong{font-size:15px}.daydetail{padding:13px}.daywork{flex-direction:column;gap:6px}.callegend{gap:6px 12px;font-size:11px}}
.hero{padding:20px 0;grid-template-columns:1fr 270px}.hero h1{font-size:29px;margin:8px 0}.hero p{margin:8px 0}.race{padding:16px 20px}.race>strong{font-size:44px}.calendar{margin-top:16px}.energykey{display:flex;align-items:center;gap:8px 15px;flex-wrap:wrap;padding:12px 0;font-size:12px}.energykey span{display:flex;gap:5px;align-items:center}.energykey i{width:12px;height:12px;border-radius:3px}.energykey small{flex-basis:100%;color:var(--muted)}.calday{min-height:173px;gap:3px;background:#fff!important;border-style:solid}.calday.rest{background:#eef4fa!important}.calday.missing{background:#f7f8f4!important;border-style:dashed}.calday.future{background:#fafbf8!important}.dayenergy{display:flex;align-items:end;gap:8px;width:100%;min-height:61px;margin:4px 0}.minimeter{width:17px;flex-shrink:0;height:56px;border-bottom:1px solid #9aafa0;background:#edf0e9;display:flex;align-items:end;border-radius:3px;overflow:hidden}.minimeter>span{width:100%;border-radius:3px 3px 0 0}.emptybar{align-items:center;justify-content:center;background:transparent;border:0;color:#91a195}.energyvalue{font-size:12px;font-weight:700;overflow-wrap:anywhere}.calweight,.calfood{display:block;font-size:11px;line-height:1.5}.calweight small{display:block}.calfood{color:var(--muted)}.dailyfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 24px}.dailyfacts>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px}.dailyfacts span{display:block;font-size:12px;color:var(--muted)}.dailyfacts b{font-size:20px}.daydetail h4{margin:23px 0 10px}.daydetail td p{margin:4px 0}.daydetail td{font-size:12px}.daydetail td b{white-space:nowrap}@media(max-width:650px){.hero{grid-template-columns:1fr}.hero h1{font-size:25px}.race{padding:12px 16px}.race>strong{font-size:30px}.calday{min-height:170px;padding:4px}.dayenergy{flex-direction:column;align-items:start;gap:3px;min-height:80px}.minimeter{width:14px;height:48px}.energyvalue{font-size:10px}.calweight,.calfood{font-size:9px;overflow-wrap:anywhere}.daystatus{min-height:30px}.dailyfacts{gap:5px}.dailyfacts>div{padding:8px}.dailyfacts b{font-size:14px}.dailyfacts span{font-size:10px}.calday.future .daystatus{font-size:9px}.calgrid{gap:3px}}

/* Ordered quantity colors; neutral direction-of-change */
.sequentialkey{display:inline-block;width:110px;height:10px;border-radius:6px;background:linear-gradient(90deg,#c3dfcf,#79b39b,#39876a,#16543e)}.weightchange{display:block;color:#41534c;font-size:11px;font-variant-numeric:tabular-nums;margin:3px 0}.calweight{margin-top:8px}.calweight b{font-size:13px}.calday.weighed,.calday.foodonly{background:#fff;border-color:#dce2d5}.calday.rest{background:#f0f3f1;border-color:#dce2d5}.calday .daystatus{min-height:20px}.calhelp{margin:8px 0;font-size:12px}.calday{min-height:162px}.calday.future .emptybar{visibility:hidden}.calday.future .energyvalue{visibility:hidden}@media(max-width:650px){.calweight b{font-size:10px}.weightchange,.calweight .weightchange{font-size:9px}.calday{min-height:153px}.energykey{gap:7px}.energykey small{width:100%}.calday .daystatus{min-height:20px}}

/* Day status by background; accessible labels retained */
.calday.trained{background:#e7f2e8;border-color:#afcbb5}.calday.missing,.calday.weighed,.calday.foodonly,.calday.rest{background:#eff1f0;border-color:#d4d9d6}.calday.future{background:#fafbf8;border-color:#edf0e8}.statuskey{display:flex;gap:10px 20px;flex-wrap:wrap;margin-top:16px;font-size:12px;color:#52665c}.statuskey>span{display:inline-flex;align-items:center;gap:7px}.statuskey i{display:inline-block;width:15px;height:15px;border:1px solid #afcbb5;border-radius:4px}.statuskey .hastraining{background:#e7f2e8}.statuskey .notraining{background:#eff1f0;border-color:#d4d9d6}.calday .daystatus{min-height:18px}.calday.rest .daystatus{font-weight:700;color:#52665c}

/* Separate confirmed rest / missing / future, no missing-value glyphs */
.calday.rest{background:#e5f1fc;border-color:#aacbe8}.calday.rest .daystatus{color:#345d80}.calday.future{background:#fff;border:1px dashed #c6d0ca;color:#89958e}.statuskey .restday{background:#e5f1fc;border-color:#aacbe8}.statuskey .futureday{background:#fff;border:1px dashed #c6d0ca}.sequentialkey{background:linear-gradient(to right,#c3dfcf 0%,#79b39b 33.333%,#39876a 66.667%,#16543e 100%)}.minimeter>span{background-repeat:no-repeat}

/* Today indicator and quiet future cells, no dotted future borders */
.calday.future{background:#fff;border:1px solid #e5e9e6;color:#9ba59f;box-shadow:none}.calday.missing,.calday.weighed,.calday.foodonly{background:#e4e8e5;border:1px solid #cbd2cd}.calday.future.selected{outline:2px solid #668775}.statuskey .futureday{background:#fff;border:1px solid #d6ddd8}.calday .daynumber{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;line-height:1}.calday.istoday .daynumber{background:#236b51;color:#fff;border-radius:50%;font-weight:700}.statuskey .todaykey{background:#236b51;border-color:#236b51;border-radius:50%}.calday.future:hover{background:#f8faf8}.calnav [data-month="today"]{font-weight:700;border-color:#a3b7aa}.calday.future .daystatus{color:#9ba59f}@media(max-width:650px){.calday .daynumber{min-width:25px;height:25px}.calday.future{background:#fff}}

.diarymarker{font-weight:700;color:#365c49}.daydetail h5{font-size:13px;margin:18px 0 8px}

/* Compact journal: content-sized calendar weeks and distinct source strips */
header{padding:10px 22px;min-height:0}.brand{gap:12px}.wordmark{font-size:24px;line-height:1;font-weight:900;letter-spacing:-1.2px;color:#193e30}.wordmark>span{font-weight:500;color:#618372}.brandperson{font-size:13px;border-left:1px solid #ced9d0;padding-left:12px}.edition{font-size:10px;letter-spacing:1px}main{padding:0 22px}.hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px 0}.hero h1{font-size:23px;letter-spacing:-.6px;margin:0;line-height:1.3}.hero>div{flex:1 1 210px}.race{display:flex;align-items:center;gap:7px 10px;flex-wrap:wrap;max-width:100%;border-radius:10px;padding:9px 12px}.race .racelabel{font-size:10px}.race>strong{display:inline;font-size:21px;letter-spacing:0;line-height:1.2}.race>strong small{font-size:13px}.race>p{font-size:9px;margin:0;max-width:100px;line-height:1.3}.race details{margin:0;max-width:330px}.race summary{font-size:10px}.race details[open]{flex-basis:100%}nav{padding-bottom:6px;gap:5px}nav button{font-size:12px;padding:7px 11px}.calendar{margin:12px 0;padding:14px}.calheading{gap:7px;flex-wrap:wrap;justify-content:flex-start}.calheading h2{font-size:16px;white-space:nowrap;margin-right:8px}.calnav{gap:5px;flex-wrap:nowrap}.calnav strong{font-size:14px;white-space:nowrap}.calnav button{font-size:11px;padding:4px 8px}.calnav button:last-child{font-size:11px}.calhelp{font-size:10px;margin:8px 0}.calgrid{margin-top:8px;gap:5px;grid-auto-rows:auto;align-items:stretch}.weekday{padding:3px;font-size:11px}.calday{min-height:42px!important;padding:5px;gap:4px;border-radius:7px;justify-content:flex-start}.calday .daynumber{margin:0;font-size:14px;min-width:25px;height:25px}.calday .daystatus{min-height:0;font-size:10px;line-height:1.2}.dayenergy{display:flex;align-items:center;gap:5px;width:100%;min-height:0;margin:0;padding:4px;background:rgba(255,255,255,.65);border-radius:4px}.minimeter{width:11px;height:38px;flex-shrink:0}.energyvalue{font-size:12px;line-height:1.2;font-weight:700;overflow-wrap:normal}.energyvalue small{display:block;font-size:9px;font-weight:400;margin-top:2px}.calweight{display:block;width:100%;padding:4px;margin:0;background:#f3eee4;border-top:1px solid #e5decc;border-radius:4px;line-height:1.3;color:#534c3e}.calweight b{font-size:12px}.calweight small{display:block;font-size:9px}.calweight .weightchange{margin:2px 0;font-size:10px}.calfood{display:block;width:100%;padding:4px;margin:0;border-radius:4px;line-height:1.3;font-size:10px}.calfood small{display:block;font-size:9px;font-weight:700}.linesource{background:#dcf4df;color:#245c35;border-left:2px solid #62ae70}.diarymarker{background:#e9e4fa;color:#574578;border-left:2px solid #aa98cb;font-weight:400}.statuskey{font-size:10px;gap:6px 12px;margin-top:10px}.calendar>.legend{font-size:10px;margin:6px 0}.daydetail{margin-top:14px}.calday.selected{outline-width:2px}@media(max-width:650px){header{padding:9px 12px}main{padding:0 10px}.hero{padding:10px 0;gap:7px}.hero h1{font-size:19px}.hero>div{flex:1 1 180px}.race{padding:7px 10px;gap:5px 8px}.race>strong{font-size:19px}.calendar{padding:9px}.calheading{gap:5px}.calheading h2{font-size:14px;margin-right:3px}.calnav{gap:3px}.calnav strong{font-size:12px}.calnav button{padding:4px 6px;font-size:10px}.calnav button:last-child{font-size:10px}.calgrid{gap:3px}.calday{padding:3px;gap:3px;min-height:35px!important}.dayenergy{gap:3px;padding:3px}.minimeter{height:32px;width:8px}.energyvalue{font-size:10px}.energyvalue small{font-size:8px}.calweight{padding:3px}.calweight b{font-size:10px}.calweight small,.calweight .weightchange{font-size:8px}.calfood{padding:3px;font-size:9px}.calfood small{font-size:8px}}@media(max-width:400px){.calheading{align-items:flex-start}.calnav{flex-wrap:wrap}.calday .daynumber{font-size:13px}.energyvalue{font-size:9px}}

.dayenergy{flex-direction:row}

.racecount{background:linear-gradient(110deg,#193e30,#286249);padding:10px 15px;gap:16px;flex-wrap:nowrap}.countfocus{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.countfocus>span{font-size:11px;color:#e0edda}.countfocus strong{font-size:36px;line-height:1;color:#d8f39a;letter-spacing:-1px;font-variant-numeric:tabular-nums}.racedate{border-left:1px solid #72917e;padding-left:14px;display:flex;flex-direction:column;gap:3px}.racedate>b{font-size:15px;color:#fff}.racedate>small{font-size:8px;color:#e0edda;max-width:160px;line-height:1.4}.calheading{position:relative;padding-right:62px;min-height:44px}.todayjump{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;width:44px;height:44px;padding:4px;border-radius:50%;border:1px solid #236b51;background:#236b51;color:white}.todayjump:hover{background:#19513c}.todayjump svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.todayjump svg circle{fill:currentColor;stroke:none}.todayjump span{font-size:8px;line-height:1}.daydetail .sectionhead{margin:0 0 8px;align-items:center;flex-direction:row}.daydetail .sectionhead h3{margin:0}.dailyfacts{margin:0 0 10px!important}.daydetail h4{margin:12px 0 6px}.daydetail .dailyfacts+h4{margin-top:8px}.daydetail{padding:12px}@media(max-width:650px){.racecount{padding:8px 11px;gap:11px}.countfocus strong{font-size:30px}.racedate{padding-left:10px}.racedate>b{font-size:13px}.calheading{padding-right:51px}.calnav{flex-wrap:wrap}.calnav [data-month="latest"]{font-size:9px}.daydetail{padding:10px}.daydetail h4{margin-top:10px}}

/* LINE originals remain separate from confirmed training values. */
.lineconnect{margin-left:auto;align-self:center;font-size:13px;color:#276746;padding:8px;text-decoration:none}
.lineinbox{margin-top:18px;padding-top:12px;border-top:1px solid #dce5dc}.lineinbox h4{margin:0}.lineinbox a{font-size:12px;color:#276746}.lineinbox iframe{display:block;border:0;width:100%;min-height:130px;height:240px;background:transparent}.calnav button[data-month="-1"],.calnav button[data-month="1"]{font-family:inherit;color:inherit;background:transparent;border:0;font-size:24px;min-width:32px;padding:4px}.calheading .calnav{flex:1}

.weight-panel{margin-top:18px}.weight-tools{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.weight-tools h3{margin:0;font-size:19px}.weight-tools p{margin:3px 0}.weight-ranges{display:flex;gap:4px;background:#eef3ed;padding:4px;border-radius:10px}.weight-ranges button{font-size:12px;padding:7px 9px;background:transparent;border:0;color:#44634e}.weight-ranges button[aria-pressed="true"]{background:#fff;box-shadow:0 1px 4px #173c1920;color:#1c4c34}.weight-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dce8dc;border:1px solid #dce8dc;border-radius:12px;overflow:hidden;margin:14px 0}.weight-facts>div{display:flex;flex-direction:column;background:#f4f8f1;padding:12px}.weight-facts span{font-size:12px;color:#576e5e}.weight-facts strong{font-size:26px;font-variant-numeric:tabular-nums;font-weight:650;color:#254b36}.weight-facts strong small{font-size:13px;font-weight:400}.weight-facts small{font-size:11px;color:#647267}.weight-chart-scroll{overflow-x:auto}.weight-chart{display:block;width:100%;min-width:540px;height:auto}.weight-chart text{font:13px system-ui;fill:#5a6f60}.weight-chart .weight-value{font-size:15px;font-weight:700;fill:#244c36}.weight-chart a:focus circle{stroke:#163c26;stroke-width:3}.weight-key{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:11px;color:#58705f;margin:0 0 12px}.weight-day-list{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px}.weight-day-list button{display:flex;flex-direction:column;text-align:left;gap:3px;min-width:100px;padding:10px;border:1px solid #dce6db;border-radius:9px;background:#fafcf8;color:#244d36}.weight-day-list button>span{font-size:12px}.weight-day-list b{font-size:18px}.weight-day-list small{font-size:11px;font-weight:400;white-space:nowrap}.weight-readings{margin-top:8px}.weight-note{margin-top:12px}.weight-method{font-size:12px}.weight-method a{color:#37684b}@media(max-width:480px){.weight-facts>div{padding:8px}.weight-facts strong{font-size:22px}.weight-facts small{font-size:10px}}

.day-sections{display:grid;gap:12px;margin-top:14px}.day-section{--source:#dce8e1;--surface:#f5f9f6;border:1px solid var(--source);border-left:4px solid var(--source);border-radius:12px;overflow:hidden;background:var(--surface);padding:0 14px 12px}.source-training{--source:#bdd4d9;--surface:#f3f8f9}.source-weight{--source:#e4d7b5;--surface:#fcf9f0}.source-diary{--source:#d4c9e4;--surface:#f8f5fc}.source-line{--source:#add8b8;--surface:#f1f9f3}.source-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin:0 -14px 10px;padding:10px 14px;background:var(--source)}.daydetail .source-heading h4{font-size:16px;margin:0;color:#253d31}.source-heading>span{font-size:11px;color:#354b3e}.source-empty{margin:0;font-size:13px;color:#617267}.day-section .tablewrap{background:#ffffffb8;border-radius:8px}.day-section table{margin:0}.day-section th{background:#ffffff8c}.day-section .weightchange{display:block}.source-line .lineinbox{margin:0;border:0;padding:0}.line-inbox-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:12px 0 8px;font-size:13px}.source-line iframe{background:#fff;border-radius:9px}.line-history{margin-bottom:10px}.day-section>p:last-child{margin-bottom:0}.calnav{color:#294b39;font-family:inherit}.calnav strong{font-family:inherit}.calnav button[data-month="-1"],.calnav button[data-month="1"]{color:#294b39;font-family:inherit;font-weight:500}.dailyfacts{margin-bottom:10px}

#lineupdates + #app{display:flow-root}#lineupdates + #app>.calendar:first-child{margin-top:0}

.hero .racecount{width:clamp(340px,55%,480px);justify-content:space-evenly}.hero .racedate{flex:1}.hero .racedate>small{max-width:none}@media(max-width:600px){.hero .racecount{width:100%;flex:1 1 300px}}

.shared-meal-card{padding:12px 0;border-bottom:1px solid #dce5dc}.shared-meal-card li{overflow-wrap:anywhere}.meal-summary-dialog{width:min(560px,92vw);max-height:88vh;overflow:auto;border:1px solid #cbdccc;border-radius:16px;padding:22px}.meal-summary-dialog label{display:block;margin:12px 0}.meal-summary-dialog input,.meal-summary-dialog textarea{display:block;box-sizing:border-box;width:100%;font:inherit;padding:10px;border:1px solid #a5b9a8;border-radius:8px}.meal-summary-dialog button{margin:5px}.meal-summary-dialog::backdrop{background:#173e3170}

.hero .race.race-summary {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 16px;
  background:#193e32;
}
.race-summary .racedate {
  display:flex; flex-flow:row wrap; align-items:baseline; justify-content:flex-start;
  gap:2px 8px; padding:0; border:0; text-align:start;
}
.race-summary .racedate b {flex-basis:100%;font-size:16px;line-height:1.3}
.race-summary .racedate time,.race-summary .racedate small {color:#dce9df;font-size:12px;line-height:1.4}
.race-summary .countfocus {
  display:flex; flex-direction:column; align-items:center; gap:0;
  position:relative; padding-inline-start:14px; border-inline-start:1px solid #567563;
}
.race-summary #countLabel {align-self:flex-start;color:#deeadf;font-size:12px;line-height:1.2}
.race-summary .count-amount {display:flex;align-items:baseline;gap:4px}
.race-summary #raceDays {color:#dcf4a5;font-size:30px;line-height:1.1;font-weight:750}
.race-summary #countUnit {color:#dcf4a5;font-size:14px}

body[data-bp-admin="false"] .calday .calfood.diarymarker {
  display: none;
}

.photo-albums{display:grid;gap:8px}
.album-row{width:100%;display:flex;align-items:center;gap:12px;padding:8px 12px;text-align:start;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink);cursor:pointer;list-style:none}
.album-row::-webkit-details-marker{display:none}
.album-row img{width:50px;height:48px;object-fit:cover;object-position:top;border-radius:6px}
.album-row small{margin-inline-start:auto;color:var(--muted)}
summary.album-row::after{content:'';width:7px;height:7px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg);margin:0 4px}
.photo-album[open]>summary::after{transform:rotate(225deg)}
.photo-album>.gallery{padding:12px 4px}

.sectionhead.album-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
.album-heading h2 { margin: 0 }
.album-heading select { min-height: 40px; padding-inline: 8px; font: inherit }
