/* v7.2.5 mare selection. The native panel body owns vertical scrolling. */
.breed-mobile{box-sizing:border-box;--bm-ink:#244b3e;--bm-green:#245e4b;--bm-border:#dfe4d5;--bm-paper:#fbf9ef;color:var(--bm-ink);background:var(--bm-paper);width:100%;max-width:760px;min-width:0;margin:0 auto;padding:0 14px 18px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.breed-mobile *{box-sizing:border-box;min-width:0}.breed-mobile button,.breed-mobile input{font:inherit}.breed-mobile button{min-height:44px;touch-action:manipulation;cursor:pointer;border:1px solid var(--bm-border);border-radius:12px;color:var(--bm-ink);background:#fffdf5;padding:8px 12px;white-space:normal;box-shadow:none}.breed-mobile button:disabled{opacity:.48;cursor:not-allowed}.breed-mobile button:focus-visible,.breed-mobile input:focus-visible{outline:3px solid #b89853;outline-offset:2px}.breed-mobile button:active:not(:disabled){background:#e8eddc}.breed-mobile h2,.breed-mobile h3,.breed-mobile p{margin:0}.breed-mobile h2{font-size:23px;line-height:1.4}.breed-mobile h3{font-size:14px;line-height:1.5}.breed-mobile .bm-primary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:var(--bm-green);color:#fffdf0;min-height:50px;font-size:16px;font-weight:700;border-color:var(--bm-green)}.breed-mobile .bm-primary:active:not(:disabled){background:#174936}.breed-mobile .bm-secondary{background:#fffdf5}.breed-mobile .bm-text-button{border:0;background:transparent;padding:8px 2px;text-align:left;font-weight:650}.bm-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.bm-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;border-bottom:1px solid var(--bm-border)}.bm-toolbar .bm-text-button{padding:8px 4px}.bm-heading{padding:10px 0 17px}.bm-heading>small{font-size:10px;letter-spacing:.12em;color:#6b806d}.bm-heading h2{margin:5px 0 8px;font-size:22px}.bm-heading p{color:#6c7c68;font-size:12px}.bm-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px;gap:3px;background:#edf0e1;border-radius:14px;margin-bottom:15px}.breed-mobile .bm-filter{border:0;padding:7px 3px;font-size:12px;background:transparent}.breed-mobile .bm-filter.is-selected{background:var(--bm-green);color:#fffdf0;font-weight:700}.bm-search form{margin:0;display:block}.bm-search label{display:block;font-size:11px;color:#667760;margin-bottom:5px}.bm-search-row{display:flex;gap:7px}.bm-search input{width:100%;flex:1;min-height:44px;max-width:100%;border:1px solid #d8dfcf;border-radius:12px;background:#fffef7;padding:9px 11px;font-size:16px;color:var(--bm-ink)}.bm-search button{flex:0 0 58px;background:var(--bm-green);color:#fffdf0}.bm-list-count{font-size:11px;color:#76816d;padding:12px 1px 8px}.bm-mare-cards{display:grid;gap:9px}.breed-mobile .bm-mare-card{width:100%;display:grid;grid-template-columns:86px minmax(0,1fr) 10px;gap:8px;align-items:center;text-align:left;padding:10px 9px;border-radius:16px;background:#fffdf5}.bm-card-copy{display:grid;gap:3px}.bm-card-copy>strong{font-size:15px;line-height:1.45}.bm-card-top{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px}.bm-card-top>small{font-size:9px;color:#74816b}.bm-status{display:inline-flex;align-items:center;justify-content:center;background:#e8eddb;color:#43654c;border-radius:99px;font-size:10px;font-weight:650;padding:3px 9px;line-height:1.5}.bm-status.is-waiting{background:#f4ebd7;color:#846c37}.bm-status.is-unavailable{background:#ece9e0;color:#756f64}.bm-card-meta,.bm-card-pedigree,.bm-card-result{font-size:10px;color:#75806c;line-height:1.6}.bm-card-pedigree{color:#516b55}.bm-chevron{font-size:24px;color:#6e856f}.bm-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;margin:18px 0 10px}.bm-pagination>span{font-size:11px;color:#78846e}.bm-planning-note{font-size:11px;color:#7a826f;text-align:center;padding:4px 7px}.bm-empty{border:1px dashed #cdd7bf;border-radius:16px;padding:25px 17px;text-align:center}.bm-empty p{margin:9px 0 15px;color:#76816d;font-size:12px}.bm-empty button{margin:auto}
/* Existing realistic 2D horse portraits. Farm race-model rendering stays independent. */
.bm-horse-art{position:relative;display:block;width:86px;height:94px;overflow:hidden;border-radius:9px;background:#e7ebdd}.bm-horse-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%}.bm-mare-card>.bm-horse-art{background:#edf0e3;border-radius:12px}.bm-breadcrumb{font-size:11px;color:#7a8874;padding:7px 0 12px}.bm-profile-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.bm-ownership{font-size:11px;font-weight:650}.bm-paddock{position:relative;isolation:isolate;height:330px;max-width:100%;overflow:hidden;border:1px solid #dfe5d6;border-radius:17px;background:radial-gradient(ellipse at 50% 42%,#e1e7d7,#cbd6c0)}.bm-horse-count{position:absolute;right:10px;top:10px;z-index:2;background:#fffdf1e6;border-radius:99px;padding:3px 12px;font-size:11px;color:#77856f}.bm-paddock .bm-horse-art-large{position:absolute;width:100%;height:100%;inset:0;background:transparent;border-radius:0}.bm-horse-art-large img{object-fit:contain;object-position:center}.bm-horse-pager{position:absolute;left:7px;right:7px;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}.breed-mobile .bm-horse-page{pointer-events:auto;min-width:44px;width:44px;min-height:48px;padding:5px;font-size:27px;line-height:1;background:#fffcf1e8;border-color:#dbe1d1}.bm-horse-heading{padding:14px 1px 11px}.bm-horse-heading h2{font-size:25px}.bm-horse-heading p{font-size:12px;color:#7c8571;margin-top:3px}.bm-nearby{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 15px}.breed-mobile .bm-nearby-horse{padding:3px 3px 7px;border-radius:12px;background:#f4f4e9}.bm-nearby-horse .bm-horse-art{width:100%;height:62px;max-width:100%;margin:auto}.bm-nearby-horse>span:last-child{display:block;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.breed-mobile .bm-nearby-horse.is-selected{border:2px solid #ba9a53;padding:2px 2px 6px;background:#fffdf1}.bm-section{padding:13px 0;border-top:1px solid var(--bm-border)}.bm-section h3{margin-bottom:9px}.bm-parents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.breed-mobile .bm-parent-link{display:block;padding:9px 8px;min-height:49px;background:#f3f3e8;font-size:10px;text-align:left;border-radius:11px}.bm-parent-link strong{font-size:12px;display:inline;color:#2e5e4b}.bm-family{font-size:11px;color:#7e8673;padding-top:7px}.bm-section>.bm-text-button{font-size:11px}.bm-record{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 10px}.bm-record>div{background:#f0f2e5;border-radius:12px;padding:8px 10px}.bm-record dt{font-size:10px;color:#76846d}.bm-record dd{font-size:24px;font-weight:650;line-height:1.3;margin:0}.bm-record dd small{font-size:11px;font-weight:500;margin-left:4px}.bm-prize{font-size:12px;display:flex;justify-content:space-between;gap:8px}.bm-record-origin{font-size:10px;color:#89917d;margin-top:5px!important}.bm-progeny{margin:0 0 9px;background:#eef2e4;border:1px solid #dfe5d5;border-radius:13px;padding:13px}.bm-progeny p{font-size:12px}.breed-mobile .bm-progeny-link{width:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:6px 0;text-align:left}.bm-progeny-link>span:first-child{font-size:10px;color:#6d8266}.bm-progeny-link>strong{flex:1;font-size:13px}.bm-status-detail p,.bm-contract{font-size:11px;color:#6e7d65}.bm-contract{padding:8px 0}.bm-profile-list-link{margin:5px 0}.bm-profile-list-link .bm-text-button{font-size:12px}.bm-plan-footer{position:sticky;bottom:0;z-index:4;background:var(--bm-paper);padding:10px 0 max(8px,env(safe-area-inset-bottom));border-top:1px solid #d9e2cc;margin-top:6px}.bm-plan-footer>p,.bm-readiness>p{font-size:11px;line-height:1.65;margin-bottom:8px}.bm-readiness .bm-unavailable{background:#f0eadd;padding:10px 12px;border-radius:10px;color:#806744}.bm-readiness .bm-confirm-warnings{padding:10px 12px;background:#f2efdf;border-radius:10px;color:#766a43}
@media(min-width:620px){.breed-mobile{padding:0 24px 24px}.bm-mare-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-paddock{height:400px}.bm-profile{max-width:620px}}
@media(max-width:350px){.breed-mobile{padding-left:10px;padding-right:10px}.breed-mobile .bm-mare-card{grid-template-columns:72px minmax(0,1fr) 8px;gap:6px;padding:9px 7px}.bm-mare-card>.bm-horse-art{width:72px}.bm-paddock{height:290px}.bm-status{padding:3px 7px}}
