/* Batch cards for /lab-results/ (same look as the product-page batch cards in cart-drawer.css) */
html body .mp-labx-batch{scroll-snap-align:start;border:1px solid #c9d6e4;border-radius:16px;padding:14px;display:grid;gap:12px;align-content:start;background:#fff;min-width:0}
html body .mp-labx-batch.bad{background:#fffafa;border-color:#efc2c5}
html body .mp-labx-bh{display:flex;justify-content:space-between;align-items:start;gap:8px}
html body .mp-labx-bh b{display:block;font-size:15px;color:#0b2447}
html body .mp-labx-bh code{font:500 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#6a7b90;overflow-wrap:anywhere;background:none;padding:0}
html body .mp-labx-st{font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.12em;border-radius:6px;padding:5px 7px;white-space:nowrap;text-transform:uppercase}
html body .mp-labx-st.ok{background:#e8f6ef;color:#1f7a5c}
html body .mp-labx-st.bad{background:#fbecec;color:#b4232f}
html body .mp-labx-bbig{font:800 38px/1 Inter,Arial,sans-serif;letter-spacing:-.02em;color:#0b2447;font-variant-numeric:tabular-nums}
html body .mp-labx-bbig small{font-size:16px;color:#6a7b90}
html body .mp-labx-bk{font:500 10px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;color:#6a7b90;margin-top:4px}
html body .mp-labx-bh{align-items:center}
html body .mp-labx-bh b{font-size:15.5px}
html body .mp-labx-batch.bad .mp-labx-bb a{border-color:#efc2c5}
html body .mp-labx-batch{padding:16px;gap:14px;border-radius:20px}
html body .mp-labx-bh{display:flex;align-items:center;gap:12px}
html body .mp-labx-thumb{flex:none;width:52px;height:52px;border-radius:12px;overflow:hidden;background:#eef2f6}
html body .mp-labx-thumb img{width:100%;height:100%;object-fit:cover;display:block}
html body .mp-labx-batch.bad .mp-labx-thumb img{filter:grayscale(1);opacity:.7}
html body .mp-labx-bt{flex:1;min-width:0}
html body .mp-labx-bt b{display:block;font-size:15.5px;line-height:1.2;color:#0b2447}
html body .mp-labx-bt code{display:block;font:500 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;color:#6a7b90;background:none;padding:0;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .mp-labx-bh .mp-labx-st{align-self:flex-start}
html body .mp-labx-bk{letter-spacing:.16em}
html body .mp-labx-box2{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f1f4f8;border-radius:14px;padding:12px 14px}
html body .mp-labx-batch.bad .mp-labx-box2{background:#fbf0f0}
html body .mp-labx-box2 span,html body .mp-labx-tile>span,html body .mp-labx-row span{display:flex;justify-content:space-between;align-items:center;font:500 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;color:#6a7b90;text-transform:uppercase}
html body .mp-labx-box2 b{display:block;font-size:14px;color:#0b2447;margin-top:5px}
html body .mp-labx-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .mp-labx-tile{border:1.5px solid #c9d6e4;border-radius:12px;padding:10px 12px;min-width:0;background:#fff}
html body .mp-labx-tile.ok{border-color:#b9e2cf;background:#e8f6ef}
html body .mp-labx-tile.x{border-color:#efc2c5;background:#fbecec}
html body .mp-labx-tile.ok>span{color:#1f7a5c}
html body .mp-labx-tile.x>span{color:#b4232f}
html body .mp-labx-tile i{font-style:normal;font-size:13px;font-weight:800;letter-spacing:0}
html body .mp-labx-tile b{display:block;font-size:14.5px;color:#0b2447;margin-top:6px;overflow-wrap:anywhere}
html body .mp-labx-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:2px 0}
html body .mp-labx-row b{font-size:14px;color:#0b2447}
html body .mp-labx-foot{border-top:1px solid #e3ebf2;padding-top:12px;font:500 10.5px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;color:#6a7b90;text-transform:uppercase}
html body .mp-labx-foot.bad{color:#b4232f}
html body .mp-labx-bb2{display:grid;gap:8px;justify-items:center}
html body a.mp-labx-bview{width:100%;display:flex;justify-content:center;align-items:center;border:1.5px solid #c9d6e4;border-radius:999px;padding:12px;font-weight:700;font-size:15px;color:#0b2447;text-decoration:none;background:#fff}
html body .mp-labx-batch.bad a.mp-labx-bview{border-color:#efc2c5}
html body a.mp-labx-bver{font-size:13px;font-weight:600;color:#15365f;text-decoration:underline;text-underline-offset:3px}
html body .mp-labx-batch{grid-template-columns:minmax(0,1fr)}
html body .mp-labx-tile b{font-size:14px}
html body .mp-labx-btr{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
html body .mp-labx-btr b{white-space:nowrap}
html body .mp-labx-btr .mp-labx-st{flex:none}
@media(max-width:899px){html body .mp-labx-batch{padding:14px}html body .mp-labx-thumb{width:46px;height:46px}}
html body .mp-labx-tile{padding:10px}
html body .mp-labx-tile>span{letter-spacing:.08em}
html body .mp-labx-tile b{font-size:13.5px}
html body .mp-labx-box2 b{font-size:13.5px}
html body .mp-labx-bb2{justify-items:stretch}
html body a.mp-labx-bview,html body .mp-labx-batch.bad a.mp-labx-bview{background:#0b2447;border-color:#0b2447;color:#fff}
html body a.mp-labx-bver{display:flex;justify-content:center;align-items:center;width:100%;border:1.5px solid #c9d6e4;border-radius:999px;padding:11px;font-size:14px;font-weight:700;color:#0b2447;text-decoration:none;background:#fff}
html body .mp-labx-batch.bad a.mp-labx-bver{border-color:#efc2c5}
/* Lab Results page: grid of batch cards (owner 2026-11-14) */
html body #registryGrid,html body #heldGrid{display:grid!important;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch}
@media(min-width:640px){html body #registryGrid,html body #heldGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){html body #registryGrid,html body #heldGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){html body #registryGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}html body #registryGrid .mp-labx-batch{padding:14px;gap:12px}html body #registryGrid .mp-labx-bbig{font-size:34px}html body #registryGrid .mp-labx-box2{padding:10px 12px;gap:8px}html body #registryGrid .mp-labx-tile{padding:9px}html body #registryGrid .mp-labx-tile>span{letter-spacing:.06em;font-size:9.5px}html body #registryGrid .mp-labx-tile b,html body #registryGrid .mp-labx-box2 b{font-size:13px}}
html body .result-card.lrc{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-width:0}
html body .result-card.lrc>.mp-labx-batch{height:100%;box-sizing:border-box;align-content:start}
html body .lrc .mp-labx-btr b{white-space:normal}
html body .lrc .mp-labx-bbig{color:#1f8a5f}
html body .lrc .bad .mp-labx-bbig{color:#0b2447}
html body .lrc .mp-labx-st.wait{background:#fdf3dc;color:#8a6212}
html body .lrc .mp-labx-tile.wait{border-color:#dfe6ee;background:#f6f8fa}
html body .lrc a.mp-labx-thumb{display:block}
html body .lrc-why{margin:0;font-size:13px;line-height:1.45;color:#8b2a31}
html body a.lrc-prod{justify-self:center;font-size:13.5px;font-weight:700;color:#1f7a5c;text-decoration:underline;text-underline-offset:3px}
html body button.lrc-more{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;margin:0;padding:6px 0 0;border:0;border-top:1px solid #e3ebf2;padding-top:12px;background:none;font:600 13px/1.3 Inter,Arial,sans-serif;color:#15365f;cursor:pointer}
html body button.lrc-more::after{content:"";width:7px;height:7px;border:solid #15365f;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
html body button.lrc-more[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(-2px)}
html body .bad button.lrc-more{border-top-color:#f3d6d8}
html body .lrc-detail{display:grid;gap:10px}
html body .lrc-detail[hidden]{display:none}
html body ul.lrc-list{list-style:none;margin:0;padding:0;display:grid}
html body ul.lrc-list li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;border-bottom:1px dashed #e3ebf2;font-size:13px}
html body ul.lrc-list li:last-child{border-bottom:0}
html body ul.lrc-list li b{display:block;color:#0b2447;font-weight:600}
html body ul.lrc-list li small{display:block;font-size:11px;color:#6a7b90}
html body ul.lrc-list li em{font-style:normal;font-weight:600;color:#1f7a5c;text-align:right}
html body ul.lrc-list li em.is-fail{color:#b4232f}
html body ul.lrc-list li em.is-empty{color:#8a98a8}
html body a.lrc-report{justify-self:center;font-size:13px;font-weight:600;color:#15365f;text-decoration:underline;text-underline-offset:3px}
html body .lrc-cmp{display:block;font-size:12.5px;color:#4c5d72;margin-top:2px}
html body .lrc .mp-labx-bt code{margin-top:3px}
html body .lrc .mp-labx-bt code{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
/* 11-14 v2: one row of buttons; product name links to the product; mobile = swipe left to right */
html body .lrc .lrc-btns{grid-template-columns:1fr 1fr;gap:8px}
html body .lrc .lrc-btns a{padding:11px 6px!important;font-size:13.5px!important;white-space:nowrap}
html body .lrc .lrc-btns a:only-child{grid-column:1 / -1}
html body .lrc a.lrc-name{color:inherit;text-decoration:none}
html body .lrc a.lrc-name:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:639px){
html body #registryGrid,html body #heldGrid{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:2px 16px 10px;scroll-padding:0 16px;scrollbar-width:none}
html body #registryGrid::-webkit-scrollbar,html body #heldGrid::-webkit-scrollbar{display:none}
html body #registryGrid>.result-card,html body #heldGrid>.result-card{flex:0 0 86%;scroll-snap-align:start}
}
html body .result-card.lrc>.mp-labx-batch{display:flex;flex-direction:column}
html body .lrc .mp-labx-foot{margin-top:auto}
/* owner 2026-11-24 "the cap color part is uneven": spare height goes above the cap row, so cap / tests / buttons stay together */
html body .lrc .mp-labx-row{margin-top:auto}
html body .lrc .mp-labx-row + .mp-labx-foot{margin-top:0}
