.ml-banner{bottom:auto;height:240px;background-position:center 40%}
.ml-p1 .pb,.ml-p2 .pb,.ml-p3 .pb{padding:4px 10px}
.ml-ch{display:grid;grid-template-columns:170px 1fr;grid-template-rows:auto 1fr;column-gap:12px;height:100%}
.ml-bowl{height:104px;border-radius:50%/45%;background-size:cover;background-position:center;border:3px solid var(--brown);box-shadow:0 3px 0 rgba(0,0,0,.3);margin-top:6px}
.ml-desc{grid-row:2;font-size:16px;line-height:1.05;padding-top:4px}
.ml-plan{grid-column:2;grid-row:1/3;min-width:0}
.ml-h{font-family:'Brush';font-size:26px;text-align:center;line-height:1}
.ml-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ml-sh{font-family:'Brush';font-size:20px;color:var(--red2);border-bottom:2px solid #a98d63;margin-bottom:3px}
#ml-prof{width:100%;font:inherit;font-size:17px;padding:2px 6px;border:2px solid var(--brown);border-radius:6px;background:#fbf1d6;color:var(--ink);margin-bottom:3px}
.ml-ing{display:flex;align-items:center;gap:8px;font-size:17px;line-height:1.05;margin:1px 0}.ml-ing .chk{width:18px;height:18px;font-size:14px;border-width:2px}.ml-ing span:nth-child(2){flex:1}
.ml-kv{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:17px;line-height:1.2}.ml-kv span{display:flex;align-items:center;gap:6px}.ml-kv svg{width:22px;height:22px;stroke:var(--red2);fill:none;stroke-width:2.2}
.ml-kv.tot{border-top:2px solid #a98d63;margin-top:2px;padding-top:2px;font-family:'Brush';font-size:20px}.ml-pill{background:var(--red);color:var(--cream);padding:0 10px;border-radius:5px;font-weight:400}
.ml-step{display:flex;align-items:center;gap:6px;font-size:17px;margin-bottom:2px}.ml-step span{flex:1}.ml-step b{min-width:74px;text-align:center;font-weight:400;font-size:20px}.ml-step small{font-size:14px;color:#6a5640}
.ml-step .btn{min-width:30px;padding:0 8px;min-height:26px}
.ml-warn{font-size:15px;color:#b3261e;line-height:1}
.ml-total{margin-top:3px;text-align:center;font-size:17px;border:2px solid #c9a96a;background:rgba(224,168,42,.2);border-radius:6px;color:#7d1d19}
.ml-sts{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;height:100%}
.ml-st{display:flex;flex-direction:column;gap:1px;min-width:0}.ml-sth{display:flex;align-items:center;gap:6px;line-height:1}.ml-sth b{font-family:'Brush';font-weight:400;font-size:20px}.ml-sth span{font-size:18px}
.ml-ico{position:relative;flex:none;width:36px;height:36px;border-radius:7px;border:2px solid var(--brown);background-size:700%;display:grid;place-items:center}.ml-ico em{font-style:normal;font-size:20px;color:#fff;text-shadow:0 0 4px #000,0 0 3px #000}
.ml-days{font-size:15px;color:#6a5640;line-height:1}.ml-st .bar{height:10px}
.ml-buy{font-size:16px!important;min-height:24px!important;padding:0 6px!important;margin-top:2px;white-space:nowrap}.ml-buy small{font-size:14px;opacity:.8}
.ml-p2 .ph .sub{display:flex;align-items:center;gap:10px;font-size:16px}.ml-p2 .ph .btn{min-height:26px;font-size:17px;padding:0 8px}.ml-cap{white-space:nowrap}
.ml-tw{display:flex;gap:8px;height:100%}.ml-ts{flex:1;min-width:0;max-height:100%}
.ml-t{font-size:16px}.ml-t th{position:sticky;top:0;background:#efe0b9;font-size:15px;padding:0 4px;z-index:1}.ml-t td{padding:2px 3px;white-space:nowrap}
.ml-t tr[data-act]{cursor:pointer}.ml-t tr.sel td{background:rgba(224,168,42,.3)}.ml-t tr[data-act]:hover td{background:rgba(255,246,223,.6)}
.ml-nm{display:flex;align-items:center;gap:5px}.ml-nm b{font-weight:400}
.ml-t .pill{font-size:14px;padding:0 7px;border-width:2px}
.ml-mini{display:flex;align-items:center;gap:4px}.ml-mini span{width:22px;text-align:right}.ml-mini .bar{width:28px;height:9px;border-width:1px}
.ml-dt{display:flex;gap:2px}.ml-dt button{width:21px;height:22px;border:2px solid var(--brown);border-radius:5px;background:#f8ecd0;font:inherit;font-size:13px;line-height:1;padding:0;cursor:pointer;color:var(--ink)}.ml-dt button.on{background:var(--red);color:var(--cream)}
.ml-dn{flex:none;width:176px;border-left:2px dotted #a98d63;padding-left:8px;overflow:hidden}.ml-dh2{font-family:'Brush';font-size:19px;line-height:1}
.ml-dwrap{position:relative;width:78px;height:78px;float:left;margin:2px 6px 0 0}.ml-dwrap svg{width:100%;height:100%}.ml-dc{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:.9}.ml-dc b{font-family:'Brush';font-weight:400;font-size:22px}.ml-dc span{font-size:11px}
.ml-lgs{margin-left:84px}.ml-lg{display:flex;align-items:center;gap:4px;font-size:14px;line-height:1.15}.ml-lg i{width:10px;height:10px;border-radius:2px;flex:none}.ml-lg span{flex:1;white-space:nowrap}.ml-lg b{font-weight:400}

.ml-p4 .pb,.ml-p5 .pb{padding:4px 10px}
.ml-sh2{font-family:'Brush';font-size:21px;color:var(--red2);line-height:1;margin-bottom:2px}
.ml-sm{font-size:14px;line-height:1;margin:2px 0}
.ml-hr{display:flex;justify-content:space-between;align-items:center;font-size:18px;line-height:1.2}.ml-hr span{display:flex;align-items:center;gap:6px;font-family:'Brush';font-size:20px}.ml-hr svg{width:22px;height:22px;stroke:var(--red2);fill:none;stroke-width:2.2}.ml-hr small{font-size:13px;color:#6a5640}
.ml-p5 .bar{height:10px;margin-bottom:2px}
.ml-doc{display:flex;align-items:center;gap:6px;margin-top:3px;background:linear-gradient(#b8352c,#951f19);border-radius:6px;padding:0 6px 0 0;overflow:hidden}.ml-doc img{width:34px;height:34px;object-fit:cover;border-right:2px solid var(--brown)}.ml-dh{font-family:'Brush';color:var(--cream);font-size:19px}
.ml-rec{display:flex;gap:6px;align-items:flex-start;font-size:14px;line-height:1.02;margin-top:3px}.ml-rec .chk{width:16px;height:16px;font-size:12px;border-width:2px;margin-top:1px}.ml-rec.go{cursor:pointer}.ml-rec.go:hover{background:rgba(255,246,223,.7)}.ml-rec.w .chk{color:#b3261e}.ml-rec.w{color:#7d1d19}
.ml-acts{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:100%;padding:2px}
.ml-ac{display:flex;gap:8px;align-items:center;text-align:left;padding:6px 8px;border:3px solid var(--brown);border-radius:9px;background:url(../assets/tex_washi.jpg);background-size:300px;cursor:pointer;color:var(--ink);font:inherit;box-shadow:0 3px 0 rgba(0,0,0,.3);min-width:0}
.ml-ac:hover{filter:brightness(1.07);transform:translateY(-1px)}.ml-ac:active{transform:translateY(1px)}
.ml-ac>i{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:8px;background:linear-gradient(#b8352c,#8f1f1a);border:2px solid #4a2418}.ml-ac>i svg{width:38px;height:38px;stroke:var(--cream);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ml-ac b{display:block;font-family:'Brush';font-weight:400;font-size:25px;line-height:1}.ml-ac span{display:block;font-size:14px;line-height:1.02;margin-top:2px}.ml-ac em{display:block;font-style:normal;font-size:14px;color:var(--red2);margin-top:2px;line-height:1}
/* compact body-condition rows so 5 wrestlers fit; more than that scrolls with a visible bar */
.ml-p3 .ml-t td{padding:0 3px;line-height:1}.ml-p3 .ml-t th{padding:0 4px;line-height:1.1}
.ml-p3 .ml-nm{gap:4px}.ml-p3 .ml-nm .face,.ml-p3 .ml-nm img{width:22px;height:22px}
.ml-p3 .ml-t .pill{font-size:13px;padding:0 6px;line-height:1.1}.ml-p3 .ml-mini .bar{height:7px}
.ml-p3 .ml-dt button{width:19px;height:18px;font-size:12px}
.ml-ts{scrollbar-width:auto;scrollbar-color:#8a6a46 #e4d3a8}

.ml-risk{font:inherit;line-height:1.5;color:#852820;text-decoration:underline;border:0;background:none;cursor:pointer;padding:0}

.ml-lg span{min-width:0;white-space:normal;overflow-wrap:anywhere}.ml-lg b{flex:none}

/* Keep the reserve explanation and target summary visible without shrinking type. */
.ml-p4 .pb{padding-top:2px;padding-bottom:2px}
.ml-p4 .ml-sm{margin:0}
.ml-p4 .pb > .bar:last-child{height:8px}

/* Keep the action copy readable in both fonts without letting the icon take its width. */
.ml-p6 .ml-ac{gap:6px;padding:4px 6px}.ml-p6 .ml-ac>i{width:38px;height:38px}.ml-p6 .ml-ac>i svg{width:28px;height:28px}
