/* Local, dependency-free styles; no font, image or service requests. */
:root{color-scheme:light;--navy:#172d43;--ink:#24384b;--muted:#627284;--teal:#087d79;--teal-dark:#056762;--teal-soft:#e7f4f1;--line:#dce4e9;--paper:#fff;--canvas:#f4f7f9;--red:#963e47;--red-soft:#fcf0f0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,input,select,summary,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button{color:inherit}a{color:var(--teal)}input,select{max-width:100%;min-width:0;border:1px solid #b9c8d1;border-radius:8px;background:white;color:var(--ink)}input{width:100%;min-height:44px;padding:10px 12px}input::placeholder{color:#788593}input[type=search]{appearance:none}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #147fca;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}h1,h2,h3,p,dl{margin:0}h1,h2,h3{color:var(--navy)}h1{font-size:30px;letter-spacing:-.035em;line-height:1.2}h2{font-size:20px;line-height:1.3;letter-spacing:-.02em}h3{font-size:16px}button{touch-action:manipulation}[hidden]{display:none!important}.muted{color:var(--muted);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:20;padding:12px 18px;background:white;border:2px solid var(--teal);border-radius:8px}.skip-link:focus{top:12px}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{max-width:1504px;margin:auto;padding:17px 32px;display:flex;align-items:center;gap:28px;min-height:74px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-.04em;color:var(--navy)}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--navy);color:white;font-size:22px;font-weight:700;letter-spacing:-.08em;padding-right:3px}.header-caption{color:var(--muted);font-size:13px}.about{position:relative;margin-left:auto;font-size:13px}.about summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--muted)}.about summary::after{content:"⌄"}.about-content{position:absolute;right:0;top:48px;width:min(380px,calc(100vw - 32px));padding:22px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #172d431a;z-index:10;line-height:1.6}.about-content p{margin-top:10px;color:var(--muted)}.page{max-width:1504px;margin:auto;padding:28px 32px 0}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--teal);margin-bottom:7px}.intro-text{font-size:14px;color:var(--muted);margin-top:7px}.reference-note{font-size:12px;color:var(--muted);padding:7px 12px;border:1px solid var(--line);border-radius:30px;background:#ffffff80;white-space:nowrap}.workspace{display:grid;grid-template-columns:292px minmax(0,1fr);align-items:start;gap:28px}.sidebar{min-width:0}.filter-panel{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:13px}.filter-heading{display:flex;justify-content:space-between;align-items:center}.filter-description{font-size:13px;color:var(--muted);line-height:1.6;margin:10px 0 17px}.mode-field{border:0;padding:0;margin:0;min-width:0}.mode-field legend{font-size:12px;font-weight:650;margin-bottom:8px}.mode-switch{display:flex;padding:3px;background:var(--canvas);border:1px solid var(--line);border-radius:9px;gap:2px}.mode-switch label{position:relative;flex:1;cursor:pointer;min-width:0}.mode-switch input{position:absolute;width:1px;height:1px;min-height:0;opacity:0;padding:0;left:50%;top:50%}.mode-switch span{display:flex;justify-content:center;align-items:center;min-height:40px;border-radius:6px;font-size:12px;font-weight:650;white-space:nowrap}.mode-switch input:checked+span{color:var(--teal-dark);background:var(--paper);box-shadow:0 1px 4px #172d4314}.mode-switch input[value=exclude]:checked+span{color:var(--red)}.mode-switch input:focus-visible+span{outline:3px solid #147fca;outline-offset:2px}.filter-tip{font-size:11px;color:var(--muted);margin:8px 0 20px}.group-selector{display:flex;border-bottom:1px solid var(--line);gap:10px;margin-bottom:16px}.group-button{flex:1;border:0;border-bottom:3px solid transparent;background:none;min-height:44px;font-weight:700;color:var(--muted)}.group-button[aria-pressed=true]{border-bottom-color:var(--teal);color:var(--teal)}.antigen-section h3{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:12px}.antigen-search-label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.antigen-section input{font-size:14px;min-height:42px}.antigen-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}.antigen-button{position:relative;display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 4px 6px 13px;min-width:0;border:1px solid var(--line);border-radius:7px;background:var(--paper);font-size:13px;font-variant-numeric:tabular-nums}.antigen-value{overflow-wrap:anywhere;white-space:pre-wrap}.antigen-sign{position:absolute;left:4px;font-size:12px;font-weight:750}.antigen-button[data-mode=find]{background:var(--teal-soft);color:var(--teal-dark);border-color:#84bfb4}.antigen-button[data-mode=exclude]{background:var(--red-soft);color:var(--red);border-color:#d6a4a9}.limits{font-size:11px;color:var(--muted);line-height:1.55;margin-top:16px}.selection-message{font-size:12px;color:var(--red);line-height:1.5;margin-top:8px}.selection-message:empty{display:none}.filter-actions{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.draft-summary{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:9px;font-size:11px;color:var(--muted)}.text-button{padding:5px 0;min-height:36px;color:var(--teal-dark);font-size:11px;border:0;background:none;text-decoration:underline;text-underline-offset:3px}.primary-button,.secondary-button,.filter-toggle{min-height:44px;border-radius:8px;padding:10px 15px;font-size:14px;font-weight:650}.primary-button{border:1px solid var(--teal);background:var(--teal);color:white;width:100%}.secondary-button{border:1px solid #b9cbd1;background:white;color:var(--teal-dark)}.results{min-width:0;scroll-margin-top:20px}.results-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:3px 0 19px}.results-head .muted{margin-top:6px}.view-switch{display:flex;gap:2px;border:1px solid var(--line);border-radius:8px;padding:3px;background:white;flex-shrink:0}.view-switch button{border:0;border-radius:5px;background:none;color:var(--muted);font-size:12px;min-height:34px;padding:5px 10px;font-weight:550}.view-switch button[aria-pressed=true]{background:var(--navy);color:white}.search-tools{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px}.serovar-search{width:100%;min-width:0}.serovar-search label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.serovar-search input{background:white;border-color:#c4d1d9;min-height:46px}.selection-bar{border:1px solid var(--line);background:#fff;border-radius:9px;padding:12px 14px;margin-bottom:16px}.selection-bar-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:8px}.pending-label{font-size:11px;font-weight:650;color:#866019}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{min-height:34px;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px;font-size:12px;padding:5px 9px;border:1px solid #b8d9d3;background:var(--teal-soft);color:var(--teal-dark)}.chip.exclude{border-color:#e2c5c8;background:var(--red-soft);color:var(--red)}#apply-pending{margin-top:10px;min-height:36px;padding:6px 12px;font-size:12px}.feedback{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e3c998;border-radius:9px;background:#fff9ec;padding:15px 16px;margin-bottom:12px;font-size:13px}.feedback strong{color:#775018}.feedback p{margin-top:5px;color:#785f39;line-height:1.6}.feedback .secondary-button{flex-shrink:0}.result-status{font-size:12px;color:var(--muted);margin:0 0 12px;min-height:18px}.is-stale .result-status{color:#84601e}.is-stale .table-wrapper,.is-stale .cards{border-color:#decda9}.table-wrapper{width:100%;max-width:100%;overflow-x:auto;background:white;border:1px solid var(--line);border-radius:10px;scrollbar-width:thin}table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:660px;font-size:14px}th,td{text-align:left;vertical-align:top;padding:17px 17px;border-bottom:1px solid #e8edf1;overflow-wrap:anywhere;white-space:pre-wrap}thead th{background:#eef3f6;color:var(--navy);font-weight:650;font-size:13px;padding-top:14px;padding-bottom:14px;position:sticky;top:0;z-index:1}thead th:first-child{width:30%}thead th:nth-child(2){width:19%}thead th:nth-child(3){width:20%}thead th:nth-child(4){width:15.5%}thead th:nth-child(5){width:15.5%}thead th span{display:block;font-size:10px;font-weight:450;color:var(--muted);margin-top:2px}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfc}.serovar-name{font-weight:600;color:var(--navy)}.group-cell{font-size:12px;color:var(--muted)}.formula{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-variant-numeric:tabular-nums;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-card{padding:18px;border:1px solid var(--line);border-radius:10px;background:white;min-width:0}.result-card h3{font-size:16px;font-weight:650;overflow-wrap:anywhere;white-space:pre-wrap}.card-group{font-size:12px;color:var(--muted);margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.card-antigens{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;border-top:1px solid #e8edf1;margin-top:12px;padding-top:10px}.card-antigens div{min-width:0}.card-antigens dt{font-size:11px;color:var(--muted);font-weight:650;margin-bottom:3px}.card-antigens dd{font-size:14px;margin:0}.empty-state{padding:46px 20px;text-align:center;background:white;border:1px solid var(--line);border-radius:10px}.empty-symbol{display:block;color:#90abae;font-size:38px;margin-bottom:8px}.empty-state h3{font-size:19px}.empty-state p{color:var(--muted);font-size:14px;max-width:400px;margin:10px auto 20px}.pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 0;color:var(--muted);font-size:12px}.page-size-label{display:flex;align-items:center;gap:8px}.page-size-label select{padding:8px;min-height:40px;font-size:13px}.page-navigation{display:flex;align-items:center;gap:13px;font-variant-numeric:tabular-nums}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:white;font-size:19px;line-height:1}.page-range{font-variant-numeric:tabular-nums}.data-note{font-size:11px;color:var(--muted);line-height:1.7;padding:14px 0;border-top:1px solid var(--line)}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:28px 0 22px;margin-top:26px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.site-footer>span{font-size:11px}.mobile-only{display:none}dialog{padding:0;border:0}dialog:not([open]){display:none}dialog::backdrop{background:#10253680;backdrop-filter:blur(2px)}.drawer-open,.drawer-open body{overflow:hidden;overscroll-behavior:none}.noscript{margin:20px;padding:20px;border:1px solid var(--line);background:white}
/* Above 959px, let the table participate in page scrolling and keep its
   heading sticky. On narrow screens only the table's own wrapper can scroll. */
@media(min-width:960px){.sidebar{position:sticky;top:16px}.filter-panel{max-height:calc(100dvh - 32px);overflow-y:auto;scrollbar-width:thin}.antigen-grid{max-height:min(32dvh,300px);overflow-y:auto;overscroll-behavior:contain;padding:3px;margin-left:-3px;margin-right:-3px;scrollbar-width:thin}.filter-actions{position:sticky;bottom:-20px;background:white;z-index:2;padding-bottom:16px;box-shadow:0 -10px 15px white}.table-wrapper{overflow:visible}table{min-width:0}thead th:first-child{border-top-left-radius:10px}thead th:last-child{border-top-right-radius:10px}}
@media(min-width:1600px){.workspace{grid-template-columns:310px minmax(0,1fr);gap:34px}.antigen-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:960px){.page{padding-left:24px;padding-right:24px}.workspace{gap:20px;grid-template-columns:270px minmax(0,1fr)}.filter-panel{padding:17px}th,td{padding-left:12px;padding-right:12px}.results-head{flex-wrap:wrap}.reference-note{display:none}}
@media(max-width:959px){.mobile-only{display:inline-flex}.header-inner{padding:10px 20px;min-height:64px;gap:16px}.header-caption{font-size:12px}.page{padding:20px 20px 0}.page-intro{margin-bottom:20px}.reference-note{display:none}.workspace{display:block}.sidebar{display:none}.results-head{padding:0 0 15px}.results-head h2{font-size:20px}.filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:var(--navy);border:1px solid var(--navy);color:white;min-height:46px}.badge{display:inline-grid;place-items:center;min-width:21px;min-height:21px;padding:1px 5px;font-size:11px;background:#ffffff24;border-radius:5px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card-antigens dd{font-size:16px}#filter-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);max-width:100%;height:100%;height:100dvh;max-height:100%;border-radius:16px 0 0 16px;background:white;overflow:auto;overscroll-behavior:contain}#filter-dialog .filter-panel{border:0;border-radius:0;padding:20px 22px calc(20px + env(safe-area-inset-bottom))}#filter-dialog .filter-heading{position:sticky;top:-20px;background:white;z-index:3;padding-top:6px;padding-bottom:8px}#close-filters{width:44px;min-height:44px;font-size:27px}.filter-description{font-size:14px}.mode-field legend,.antigen-search-label{font-size:14px}.mode-switch span{font-size:14px;min-height:44px}.filter-tip{font-size:12px}.antigen-section h3{font-size:13px}.antigen-section input{font-size:16px;min-height:44px}.antigen-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.antigen-button{font-size:16px;min-height:46px}.antigen-sign{font-size:12px;left:3px}.group-button{font-size:16px}.limits{font-size:12px}.draft-summary{font-size:12px}.text-button{font-size:12px;min-height:44px}.filter-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));background:white;z-index:2;padding:10px 0 calc(18px + env(safe-area-inset-bottom));box-shadow:0 -9px 16px white}.primary-button,.secondary-button{min-height:44px;font-size:16px}.selection-message{font-size:14px}.filter-actions .draft-summary{margin-bottom:4px}.chip{min-height:44px;font-size:13px}.view-switch button{min-height:44px}.icon-button{width:44px;min-height:44px}.page-size-label select{min-height:44px;font-size:16px}#apply-pending{min-height:44px;font-size:14px}#filters-form{margin:0}.selection-bar{padding:10px 12px}.site-footer{margin-top:16px}}
@media(max-width:599px){.header-inner{padding:8px 16px;min-height:60px;gap:8px}.brand{font-size:21px;gap:8px}.brand-mark{width:32px;height:32px;font-size:21px}.header-caption{display:none}.about{font-size:12px}.about-content{right:0}.page{padding:17px 16px 0}.page-intro{margin-bottom:19px}.eyebrow{font-size:9px;margin-bottom:5px}h1{font-size:26px}.intro-text{font-size:13px;margin-top:6px}.results-head{align-items:center;gap:8px;padding-bottom:13px}.results-head h2{font-size:16px}.results-head .muted{font-size:11px;line-height:1.55;max-width:220px}.view-switch{gap:0;padding:2px}.view-switch button{font-size:11px;padding:4px 8px;min-height:44px}.search-tools{gap:8px;margin-bottom:12px}.serovar-search label{font-size:11px;margin-bottom:6px}.serovar-search input{font-size:16px;padding:10px;min-height:46px}.filter-toggle{font-size:12px;padding:10px}.result-status{font-size:11px;line-height:1.6;margin-bottom:10px}.cards{grid-template-columns:minmax(0,1fr);gap:9px}.result-card{padding:14px 15px}.result-card h3{font-size:16px}.card-group{font-size:11px;margin-top:3px}.card-antigens{gap:14px;margin-top:10px;padding-top:8px}.card-antigens dd{font-size:16px}.selection-bar-heading{font-size:11px}.feedback{align-items:flex-start;flex-direction:column;font-size:13px;padding:13px}.feedback .secondary-button{font-size:14px;width:100%}.pagination{gap:12px;padding:14px 0;font-size:11px}.page-size-label{gap:6px}.page-range{order:3;width:100%;text-align:center}.page-navigation{gap:10px}.data-note{font-size:10px}.site-footer{padding-top:20px;gap:15px;font-size:11px}.site-footer>span{font-size:10px;max-width:210px;text-align:right}.filter-panel h2{font-size:21px}#filter-dialog{border-radius:0}#filter-dialog .filter-panel{padding-left:20px;padding-right:20px}.antigen-grid{gap:7px}.filter-description{margin-top:5px;margin-bottom:14px}.filter-tip{margin-bottom:12px}.empty-state{padding:32px 18px}.empty-state p{font-size:13px}}
@media(min-width:960px){.filter-panel{max-height:calc(100dvh - 240px)}.filter-actions{position:sticky;bottom:-20px;background:white;z-index:3;padding-bottom:20px;box-shadow:0 -10px 16px white}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
