/* HEMOTEST requests: scoped controls, no global or image-layout changes. */
.hb-page{background:#f5f8f8;color:#233b3a}
.hb-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:980px;margin:auto;padding:24px 22px}
.hb-header .brand{font-size:24px;font-weight:700;color:#1c665e;letter-spacing:.08em;text-decoration:none}
.hb-header>span{font-size:12px;letter-spacing:.14em;color:#667c76}
.hb-shell{max-width:900px;margin:0 auto 40px;padding:0 18px}
.hb-shell .panel,.hb-admin .panel{padding:28px;border:1px solid #d8e4df;border-radius:18px;box-shadow:0 5px 24px #173d3010;margin-bottom:18px;background:#fff}
.hb-shell h1{font-size:clamp(25px,4vw,36px);line-height:1.25;margin:15px 0}
.hb-shell h2{font-size:21px;margin:30px 0 16px}.hb-shell p{line-height:1.55}
.hb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.hb-page .hb-field{display:block;min-width:0;margin:0;font-weight:500;line-height:1.45}
.hb-page .hb-field input,.hb-page .hb-field select,.hb-page .hb-field textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;padding:12px 14px;min-height:48px;border:1px solid #bccfc7;border-radius:10px;background:#fff;color:#233b3a;margin:7px 0 0}
.hb-page .hb-field select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%234d6f63' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.hb-page .hb-field input:focus,.hb-page .hb-field select:focus,.hb-page .hb-field textarea:focus{outline:2px solid #22796c;outline-offset:2px}
.hb-page .hb-check{display:flex;align-items:flex-start;gap:12px;margin:22px 0;padding:10px 8px;line-height:1.5;font-weight:400;text-align:left;cursor:pointer}
.hb-page .hb-check input{width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px;box-sizing:border-box;margin:3px 0 0;padding:0;accent-color:#216a5b}
.hb-check>span{min-width:0;overflow-wrap:anywhere}.hb-check small{display:block;font-weight:400;margin-top:4px;color:#536f63}
.hb-page .hb-check.hb-candidate{border:1px solid #d8e4df;border-radius:12px;padding:14px;margin:12px 0;background:#fbfdfc}
.hb-candidate:has(input:checked){outline:2px solid #22796c}
.hb-required,.hb-error{color:#9d332c}.hb-error{display:block;font-size:14px;margin-top:7px;font-weight:500}
.hb-page [aria-invalid="true"]{border-color:#9d332c!important;outline-color:#9d332c!important}
.hb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 4px}.hb-actions h1{flex:1;min-width:0}
.hb-actions .button{white-space:normal;text-align:center;line-height:1.35;min-height:44px;padding:11px 18px}
.hb-actions form{margin:0}.hb-service{display:flex;flex-direction:column;gap:6px;border:1px solid #d8e4df;background:#f0f7f4;border-radius:12px;padding:18px;margin-top:22px}.hb-service>span{font-size:13px;color:#536f63}
.hb-note{background:#f0f7f4;border-left:3px solid #84ab9c;padding:12px 16px;border-radius:8px;margin:22px 0}
.hb-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.hb-page .language-switcher{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin:0 0 20px;padding:3px}
.hb-page .hb-language{border:0;background:transparent;color:#355c50;font:inherit;font-size:14px;min-height:42px;padding:9px 12px;cursor:pointer;border-radius:8px}
.hb-page .hb-language.active{background:#e7f1ed;font-weight:700}.hb-admin{max-width:1180px}
.hb-count{display:inline-block;border:1px solid #c6d9d0;border-radius:100px;padding:3px 9px;font-size:15px;vertical-align:middle;white-space:nowrap}
.hb-toolbar{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}
.hb-toolbar .hb-field select{min-width:200px}.hb-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hb-queue h2{font-size:20px;overflow-wrap:anywhere}
.hb-queue .panel{margin:0}.hb-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.hb-details div{min-width:0}.hb-details dt{font-size:13px;color:#536f63}.hb-details dd{margin:5px 0 0;overflow-wrap:anywhere}
.hb-search{display:flex;align-items:flex-end;gap:14px;margin:20px 0}.hb-search .hb-field{flex:1}.hb-receipt{font-size:21px}
.hb-page [hidden]{display:none!important}
@media(max-width:620px){.hb-grid,.hb-details,.hb-queue{grid-template-columns:1fr}.hb-shell .panel,.hb-admin .panel{padding:20px 16px}.hb-shell{padding:0 12px}.hb-header{padding:20px 16px}.hb-actions .button{max-width:100%}.hb-search{align-items:stretch;flex-direction:column}.hb-admin{padding:16px}.hb-toolbar{align-items:stretch;flex-direction:column}.hb-details{gap:13px}.hb-page .language-switcher{justify-content:center}}
@media(forced-colors:active){.hb-page .hb-field select{appearance:auto;background-image:none}}

/* A custom city is a demand signal, not an advertised operating branch. */
.hb-city-other{grid-column:1 / -1}.hb-city-other small{display:block;margin-top:7px;font-size:13px;line-height:1.45;font-weight:400;color:#536f63}.hb-page input[data-hb-phone]{direction:ltr;text-align:left}
