/* Scoped QR journey: preserve TBL navy, gold and paper. */
.tbl-batch{--batch-navy:#071426;--batch-paper:#f4f1e9;--batch-gold:#d5a33d;max-width:1100px;margin-inline:auto;padding:3.5rem 1.25rem;color:var(--batch-paper);font-family:Manrope,'Noto Sans Thai',sans-serif;line-height:1.65}
.tbl-batch *,.tbl-batch-dialog *{box-sizing:border-box}
.tbl-batch h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.15;letter-spacing:-.035em;margin:.5rem 0 1rem;color:#f4f1e9}
.tbl-batch h2,.tbl-batch-dialog h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.3;margin:.4rem 0 1rem;color:#f4f1e9}
.tbl-batch p,.tbl-batch-dialog p{margin:.65rem 0 1rem}
.tbl-batch__heading{max-width:760px;margin-bottom:2rem}
.tbl-batch__eyebrow{color:#e4b95b!important;font-size:.72rem!important;font-weight:700;letter-spacing:.14em;line-height:1.6;text-transform:uppercase}
.tbl-batch__panel{padding:clamp(1.25rem,4vw,2.25rem);background:#0d2035;border:1px solid #d5a33d66;border-radius:18px;box-shadow:0 15px 60px #0002}
.tbl-batch__panel-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.tbl-batch__panel-top nav{white-space:nowrap;font-size:.85rem}
.tbl-batch__panel-top a,.tbl-batch a:not(.tbl-batch__primary),.tbl-batch-dialog a:not(.tbl-batch__primary){color:#e4b95b}
.tbl-batch__steps{padding-left:1.5rem;margin:1rem 0 1.5rem;color:#e0e4eb}
.tbl-batch__steps li{padding-left:.3rem;margin:.45rem 0}
.tbl-batch__steps li::marker{color:#e4b95b;font-weight:700}
.tbl-batch label,.tbl-batch-dialog label{display:block;font-weight:700;margin-bottom:.55rem;color:#f4f1e9}
.tbl-batch__form-row{display:flex;gap:.65rem;align-items:stretch}
.tbl-batch__form-row input{flex:1;min-width:0;width:100%;min-height:52px;background:#071426;border:1px solid #718096;border-radius:8px;padding:.85rem 1rem;color:#fff;font:inherit;font-size:1rem;letter-spacing:.025em}
.tbl-batch__form-row input::placeholder{color:#aeb8c5;letter-spacing:0}
.tbl-batch__primary,.tbl-batch__secondary,.tbl-batch__text,.tbl-batch__filters a{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.8rem 1.15rem;border:1px solid transparent;border-radius:8px;font:inherit;font-size:.9rem;font-weight:700;line-height:1.45;text-align:center;text-decoration:none;cursor:pointer;white-space:normal}
.tbl-batch .tbl-batch__primary,.tbl-batch-dialog .tbl-batch__primary{background:#d5a33d;color:#071426!important;border-color:#d5a33d}
.tbl-batch__primary:hover{background:#e4b95b!important}
.tbl-batch__secondary{border-color:#d5a33d88;background:transparent;color:#e4b95b}
.tbl-batch__secondary:hover{background:#d5a33d12}
.tbl-batch__text{background:transparent;color:#e4b95b;padding-inline:0;text-decoration:underline;text-underline-offset:4px}
.tbl-batch__muted{font-size:.83rem;color:#b9c4d2}
.tbl-batch__sample-short{display:flex;align-items:center;gap:1rem;border-top:1px solid #ffffff20;padding-top:1.2rem;margin-top:1.3rem}
.tbl-batch__sample-short a{flex-shrink:0}
.tbl-batch__sample-short p{font-size:.8rem;color:#c2cbd6;margin:0;max-width:34rem}
.tbl-batch__tools{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0 2.75rem}
.tbl-batch__browse{padding-block:1rem 2rem;scroll-margin-top:140px}
.tbl-batch__filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.4rem 0}
.tbl-batch__filters a{border:1px solid #627084;padding:.5rem .9rem;color:#d5dce5!important}
.tbl-batch__filters a[aria-current]{background:#e4b95b;color:#071426!important;border-color:#e4b95b}
.tbl-batch__empty{padding:1.5rem;border:1px dashed #617086;border-radius:12px;background:#0a1b2d}
.tbl-batch__empty p{font-size:.9rem;color:#b9c4d2;margin-bottom:0}
.tbl-batch__sample{padding:1.75rem;border:1px solid #ffffff26;background:#0d2035;border-radius:14px;margin:0 0 2rem}
.tbl-batch__sample p:not(.tbl-batch__eyebrow){max-width:780px}
.tbl-batch__lot{font-family:monospace;overflow-wrap:anywhere;color:#c5cfdb}
.tbl-batch__help{border-bottom:1px solid #ffffff29;padding:1rem 0}
.tbl-batch__help summary{cursor:pointer;font-weight:700;color:#f4f1e9;padding:.4rem 0;min-height:44px}
.tbl-batch__help p{color:#c2cbd6;max-width:850px}
.tbl-batch__notice{padding:1.25rem;border:1px solid #e4b95b;border-radius:8px;margin-top:1rem;background:#1c2939}
.tbl-batch__notice p{font-size:.9rem}
.tbl-batch__records{list-style:none;padding:0;display:grid;gap:.75rem}
.tbl-batch__records a{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:1.2rem;border:1px solid #627084;border-radius:8px}
.tbl-batch__documents{padding-block:2rem 1rem}
.tbl-batch__documents .tbl-batch__tools{margin-bottom:1.5rem}
.tbl-batch__documents iframe{width:100%;height:70vh;min-height:400px;background:#fff;border:0}
.tbl-batch [hidden],.tbl-batch-dialog [hidden]{display:none!important}
.tbl-batch :focus-visible,.tbl-batch-dialog :focus-visible{outline:3px solid #f1c878;outline-offset:4px}
.tbl-batch-dialog{--batch-navy:#071426;--batch-paper:#f4f1e9;--batch-gold:#d5a33d;width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;margin:auto;border:0;border-radius:18px;background:#0d2035;color:#f4f1e9;font-family:Manrope,'Noto Sans Thai',sans-serif;line-height:1.65;overflow:auto;overscroll-behavior:contain}
.tbl-batch-dialog::backdrop{background:#020b16d9;backdrop-filter:blur(5px)}
.tbl-batch-dialog .tbl-batch__panel{border:1px solid #d5a33d66;box-shadow:none}
body:has(.tbl-batch-dialog[open]){overflow:hidden}
@media(max-width:600px){.tbl-batch{padding:2rem 1rem}.tbl-batch__form-row{flex-direction:column}.tbl-batch__sample-short{align-items:flex-start;flex-direction:column;gap:.65rem}.tbl-batch__tools>a{flex:1 1 45%}.tbl-batch__filters a{flex:1 1 40%;font-size:.8rem}.tbl-batch__sample{padding:1.25rem}.tbl-batch-dialog .tbl-batch__panel{padding:1.2rem}.tbl-batch-dialog h2{font-size:1.45rem}.tbl-batch-dialog .tbl-batch__steps{font-size:.9rem;margin-block:.75rem 1rem}.tbl-batch-dialog .tbl-batch__sample-short{margin-top:1rem;padding-top:1rem}}

/* The inline contact help replaces floating chat badges on this document journey. */
body:has(#main .tbl-batch) .tbl-contact-float,body:has(#main .tbl-batch) .tbl-line-float{display:none!important}

/* Laboratory action matches the site's rectangular supporting-action style. */
.tbl-batch a.tbl-batch__lab{border-radius:2px;border-color:var(--p14-gold,#d5a33d);background:#142536;color:var(--p14-gold,#d5a33d);padding:12px 18px;font-size:14px;font-weight:600;line-height:1.5}
.tbl-batch a.tbl-batch__lab:hover{background:#1c3248}
.tbl-batch__lab svg{flex:none}
