:root{--text: #1c2430;--muted: #545f6d;--bg: #f7f8fa;--surface: #ffffff;--border: #c9d0d9;--accent: #1d5fb8;--accent-text: #ffffff;--accent-tint: #e4edf9;--danger: #b3261e;--warning-bg: #fff6e0;--success: #1b6e2a;--success-bg: #e9f5eb;--danger-bg: #fdeeed;--amber: #b86e00;--amber-text: #7a4800;--focus: #b86e00;--term-bg: #eef3fb;--mono: ui-monospace, "Cascadia Mono", Consolas, monospace;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg);line-height:1.45}*{box-sizing:border-box}body{margin:0;background:var(--bg)}.app{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "tool" "packages";column-gap:3rem;align-items:start;max-width:64rem;margin:0 auto;padding:1.5rem 1rem 3rem}.tool{grid-area:tool;margin-top:2rem}.tool .panel{scroll-margin-top:calc(var(--site-bar-h) + 3.75rem)}.tool .panel:focus,.hero-intro:focus{outline:none}h1{margin:0 0 .25rem;font-size:1.6rem}h2{margin:0 0 .75rem;font-size:1.15rem}.hero-intro{grid-area:intro}.hero-intro h1{margin:0;font-size:clamp(1.75rem,1.45rem + 1.2vw,2.25rem);line-height:1.1;color:var(--accent)}.hero-subtitle{margin:.35rem 0 1.1rem;max-width:65ch;font-size:1.15rem;font-weight:600}.hero-how{margin:0 0 1.1rem}.hero-how>summary{width:fit-content;padding:.25rem 0;font-size:.9rem;font-weight:600;color:var(--accent);cursor:pointer}.hero-how>summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:2px}.hero-steps{list-style:none;display:grid;gap:.6rem;max-width:65ch;margin:0;padding:0}.hero-steps li{display:grid;grid-template-columns:1.6rem minmax(0,1fr);column-gap:.7rem;align-items:start}.hero-step-number{display:inline-grid;place-items:center;width:1.6rem;height:1.6rem;margin-top:-.08rem;border-radius:50%;background:var(--accent-tint);color:var(--accent);font-size:.85rem;font-weight:600;line-height:1}.hero-privacy{margin:0;font-size:.85rem;color:var(--muted)}.author-card{grid-area:author;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"photo text" ". links";column-gap:1rem;align-items:start;background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:1rem}.author-card p{margin:0}.author-photo{grid-area:photo;display:block;width:72px;height:72px;border:1px solid var(--border);border-radius:50%;object-fit:cover;object-position:center}.author-text{grid-area:text;min-width:0}.author-caption{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.author-name{font-size:1.1rem;font-weight:600;line-height:1.25}.author-bio{display:grid;gap:.15rem;margin-top:.35rem;font-size:.85rem;line-height:1.3;color:var(--muted)}.author-bio-short{display:none}.author-links{grid-area:links;list-style:none;display:flex;gap:.25rem;margin:.4rem 0 0 -.45rem;padding:0}.author-links a{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:6px;color:var(--text)}.author-links a:hover{color:var(--accent);background:var(--term-bg)}.author-links a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.author-links svg{width:20px;height:20px}.packages{grid-area:packages;margin-top:1rem}.packages-caption{margin:0 0 .45rem;font-size:.85rem;font-weight:600;color:var(--muted)}.package-list{list-style:none;display:grid;gap:.5rem;margin:0;padding:0}.package-card{display:block;padding:.6rem .85rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);text-decoration:none}.package-card:hover{border-color:var(--accent);background:var(--term-bg)}.package-card:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.package-name{display:block;font-family:var(--mono);font-weight:600;color:var(--accent)}.package-description{display:block;margin-top:.1rem;font-size:.85rem;line-height:1.35;color:var(--muted)}.section-nav{position:sticky;top:var(--site-bar-h);z-index:10;margin:0 -1rem 1rem;padding:.3rem 1rem;background:var(--bg);border-bottom:1px solid var(--border)}.section-nav ul{position:relative;list-style:none;display:flex;gap:.25rem;margin:0;padding:.1rem;overflow-x:auto;scrollbar-width:none}.section-nav a{display:block;padding:.3rem .75rem;border-radius:999px;color:var(--muted);font-size:.9rem;white-space:nowrap;text-decoration:none}.section-nav a:hover{color:var(--text);background:var(--term-bg)}.section-nav a[aria-current=true]{color:var(--accent);background:var(--accent-tint);font-weight:600}.section-nav a:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}@media(min-width:720px){.hero-how>summary{display:none}.hero-card{grid-area:hero;display:grid;grid-template-columns:minmax(0,1fr) 21rem;grid-template-areas:"intro author";column-gap:2rem;align-items:center;padding:1.75rem 2rem;background:var(--surface);border:1px solid var(--border);border-radius:10px}.hero-card .author-card{align-self:stretch;align-content:center;padding:0 0 0 2rem;background:none;border:0;border-left:1px solid var(--border);border-radius:0}.hero-card .hero-how{margin-bottom:1rem}.packages{margin-top:2.5rem}}@media(min-width:1024px){.app{grid-template-columns:11rem minmax(0,1fr);grid-template-areas:"nav hero" "nav main" "nav packages";column-gap:2.5rem;max-width:77.5rem}.tool{display:contents}.tool>main{grid-area:main;margin-top:2.5rem}.tool .panel{scroll-margin-top:calc(var(--site-bar-h) + 1.5rem)}.section-nav{grid-area:nav;align-self:start;top:calc(var(--site-bar-h) + 1.5rem);margin:0;padding:0;background:none;border:none}.section-nav ul{flex-direction:column;gap:.15rem;padding:0;overflow:visible}.section-nav a{padding:.4rem .75rem;border-radius:6px;white-space:normal}}@media(max-width:719.98px){.app{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"author" "intro" "tool" "packages"}.hero-card{display:contents;padding-top:.75rem}.author-card{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"photo text links";column-gap:.6rem;align-items:center;margin-bottom:.75rem;padding:.45rem .4rem .45rem .6rem}.author-photo{width:40px;height:40px}.author-caption{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.author-name{font-size:.95rem}.author-bio{display:none}.author-bio-short{display:block;font-size:.8rem;line-height:1.3;color:var(--muted)}.author-links{gap:0;margin:0}.hero-subtitle{margin:.25rem 0 .35rem;font-size:1rem}.hero-how{margin-bottom:.35rem}.hero-how[open] .hero-steps{margin:.35rem 0 .5rem}.hero-privacy{font-size:.8rem}.tool{margin-top:.75rem}.section-nav{margin-bottom:.75rem}.packages{margin-top:1.5rem}.package-list{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}}.panel{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:1rem;margin-bottom:1rem}button{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:4px;padding:.3rem .7rem;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}button:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}input{font:inherit;border:1px solid var(--border);border-radius:4px;padding:.25rem .45rem}.arm-list{list-style:none;margin:0;padding:0}.arm{border:1px solid var(--border);border-radius:6px;padding:.6rem .75rem}.arm-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.4rem}.arm-title{margin:0;font-size:.95rem;font-weight:600}.arm-body{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.operator{font-size:.8rem;font-weight:600;color:var(--muted);-webkit-user-select:none;user-select:none}.and-label{display:block;text-align:center;margin:.4rem 0}.term{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:4px;background:var(--term-bg);font-family:var(--mono);font-size:.9rem}.term.invalid{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}.term button{border:none;background:transparent;padding:.15rem .2rem;font-family:inherit;font-size:inherit;border-radius:2px}.term .quote{color:var(--accent);font-weight:700;min-width:24px}.term .quote,.term .term-text,.term .remove{min-height:24px}.term .remove{color:var(--muted);min-width:24px;padding:.15rem .45rem;margin-left:.15rem;border-left:1px solid var(--border);border-radius:0 3px 3px 0}.term input{font-family:inherit;font-size:inherit;border:none;background:var(--surface);min-width:8rem}.term .quote--static{display:inline-flex;align-items:center;padding:0 .15rem}.term .add-tag{min-width:24px;min-height:24px;color:var(--accent);font-weight:700}.term .add-tag[aria-expanded=true]{background:var(--accent-tint)}.term-tag-add{position:relative;display:inline-flex;align-items:center}.tag-menu{display:inline-flex;gap:.2rem;margin:0 .15rem}.tag-menu button{min-height:24px;padding:.1rem .4rem;border:1px solid var(--accent);border-radius:4px;background:var(--surface);color:var(--accent)}.tag-menu button:hover{background:var(--accent-tint)}.term-tag{display:inline-flex;align-items:center;margin-left:.1rem;padding-left:.35rem;border-radius:999px;background:var(--accent-tint);color:var(--accent)}.term .term-tag-remove{min-width:24px;min-height:24px;color:var(--muted)}.term button:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.term-input{flex:1 1 10rem;min-width:10rem;max-width:20rem}.issues{margin:.4rem 0 0;padding-left:1.1rem;color:var(--danger);font-size:.9rem}.add-arm{margin-top:.75rem}.label{font-size:.85rem;color:var(--muted)}.query-preview a,.strategy a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.query-preview a:hover,.strategy a:hover{text-decoration-thickness:2px}.query-preview{font-family:var(--mono);background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:.5rem .6rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:.25rem 0 .75rem}.contact-email{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;margin:0 0 .75rem}.contact-email input{width:100%;max-width:24rem}.search-row{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.hint{color:var(--muted);margin:0}.counts{display:flex;flex-wrap:wrap;gap:1.5rem;margin:.9rem 0 .25rem}.counts dt{font-size:.85rem;color:var(--muted)}.counts dd{margin:0;font-size:1.4rem;font-weight:600}.error-text{color:var(--danger)}.reason{display:block;font-size:.85rem;font-weight:400;color:var(--danger)}.warnings{background:var(--warning-bg);border-radius:4px;padding:.5rem .75rem;margin-top:.75rem}.warnings h3{margin:0 0 .25rem;font-size:.9rem}.warnings ul{margin:0;padding-left:1.1rem}.notice{font-size:.85rem;color:var(--muted);margin:.9rem 0 0}.alert{color:var(--danger);margin:.5rem 0 0}.table-wrap{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;font-size:.9rem}.history-table th,.history-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.45rem .4rem}.history-table td.strategy{font-family:var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;min-width:14rem}.history-table td.count,.history-table td.when{white-space:nowrap}.history-table td.studies-cell{min-width:10rem}.studies-cell>*{display:block}.studies-complete{color:var(--success);white-space:nowrap}.studies-missing{color:var(--danger)}.row-actions{display:flex;gap:.3rem;flex-wrap:wrap}.history-toolbar{display:flex;justify-content:flex-end;margin-top:.75rem}.import{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--border)}.import-box{width:100%;font-family:var(--mono);font-size:.9rem;padding:.5rem;border:1px solid var(--border);border-radius:6px;resize:vertical}.import .confirm{width:100%}.confirm{border:1px solid var(--border);border-radius:6px;padding:.75rem;margin-top:.75rem;background:var(--bg)}.confirm p{margin:0 0 .5rem}.confirm-actions{display:flex;gap:.5rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.study-list{list-style:none;margin:.75rem 0 0;padding:0;display:flex;flex-direction:column;gap:.5rem}.study{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.study-name{width:11rem;max-width:100%;font:inherit;font-size:.9rem;font-weight:600;color:var(--text);background:transparent;border:1px solid transparent;border-radius:6px;padding:.3rem .4rem;text-overflow:ellipsis}.study-name::placeholder{color:var(--text);opacity:1}.study-name:hover{border-color:var(--border)}.study-name:focus-visible{border-color:var(--border);background:var(--surface);outline:3px solid var(--focus);outline-offset:2px}.study-box{flex:1 1 18rem;display:flex;align-items:center;gap:.5rem;min-width:0;border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:.15rem .5rem .15rem .15rem}.study-box:focus-within{outline:3px solid var(--focus);outline-offset:2px}.study-input{flex:1 1 10rem;min-width:0;border:none;background:transparent;font-family:var(--mono);font-size:.9rem}.study-input:focus-visible{outline:none}.study-status{margin-left:auto;display:inline-flex;align-items:center;gap:.3rem;font-size:.85rem;color:var(--muted);text-align:right}.study-status svg{flex:none}.study-reason{color:var(--danger)}.study[data-status=found] .study-box{border-color:var(--success);box-shadow:0 0 0 1px var(--success);background:var(--success-bg)}.study[data-status=found] .study-status{color:var(--success);font-weight:600}.study[data-status=not_found] .study-box,.study[data-status=error] .study-box{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger);background:var(--danger-bg)}.study[data-status=not_found] .study-status{color:var(--danger);font-weight:600}.study[data-status=not_in_pubmed] .study-box,.study[data-status=invalid] .study-box{border-color:var(--amber);box-shadow:0 0 0 1px var(--amber);background:var(--warning-bg)}.study[data-status=not_in_pubmed] .study-status,.study[data-status=invalid] .study-status{color:var(--amber-text);font-weight:600}.study-link{color:var(--accent);font-size:.85rem;text-decoration:underline;text-underline-offset:2px}.study-actions{display:flex;gap:.5rem;margin-top:.75rem}.studies-summary{margin:.6rem 0 0;font-weight:600}:root{--site-bar-h: 104px}html{scroll-padding-top:calc(var(--site-bar-h) + .5rem)}.site-bar{position:sticky;top:0;z-index:20;border-bottom:1px solid #c9d0d9;background:#fff}.site-bar__inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;max-width:1080px;min-height:60px;margin:0 auto;padding:.5rem 1.25rem}.site-bar__brand{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;color:#1c2430;font-weight:650;text-decoration:none}.site-bar__brand img{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}.site-bar__id{display:flex;align-items:center;gap:.6rem;min-width:0}.site-bar__social{display:flex;gap:.1rem;margin:0;padding:0;list-style:none}.site-bar__social a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;color:#1c2430}.site-bar__social a:hover{color:#164a90;background:#e8f0fb}.site-bar__social svg{width:17px;height:17px;fill:currentColor}.site-bar__links{display:flex;flex-wrap:wrap;gap:.25rem;margin:0;padding:0;list-style:none}.site-bar__links a{display:inline-flex;align-items:center;min-height:40px;padding:.35rem .75rem;border-radius:6px;color:#545f6d;font-size:.9375rem;font-weight:500;text-decoration:none}.site-bar__links a:hover{color:#1c2430;background:#e8f0fb}.site-bar__links a[aria-current=page]{color:#164a90;background:#e8f0fb}.site-bar a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media(max-width:719.98px){:root{--site-bar-h: 88px}.site-bar__inner{flex-wrap:nowrap;min-height:48px;padding:.25rem 1rem}.site-bar__brand{min-height:40px}.site-bar__name{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.site-bar__links a{padding-inline:.45rem;font-size:.8125rem}.site-bar__id{flex:none;gap:.25rem}.site-bar__inner>nav{min-width:0}.site-bar__links{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.site-bar__links a{white-space:nowrap}.site-bar__social a{width:28px;height:28px}.site-bar__social svg{width:15px;height:15px}}@media(max-width:379px){.site-bar__inner{padding-inline:.6rem}.site-bar__links{gap:0}.site-bar__links a{padding-inline:.35rem;font-size:.75rem}.site-bar__social a{width:26px}}.site-subnav{border-top:1px solid #e3e7ec;background:#f7f8fa}.site-subnav__links{display:flex;gap:.25rem;max-width:1080px;margin:0 auto;padding:.3rem 1.25rem;overflow-x:auto;list-style:none;scrollbar-width:none}.site-subnav__links a{display:inline-flex;align-items:center;min-height:32px;padding:.2rem .7rem;border-radius:999px;color:#545f6d;font-size:.875rem;white-space:nowrap;text-decoration:none}.site-bar__beta{margin-left:.35rem;padding:0 .3rem;border:1px solid currentColor;border-radius:999px;font-size:.625rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.site-subnav__links a:hover{color:#1c2430;background:#e8f0fb}.site-subnav__links a[aria-current=page]{color:#fff;background:#164a90}.site-subnav a:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}@media(max-width:719.98px){.site-subnav__links{padding:.25rem .75rem}.site-subnav__links a{min-height:30px;padding-inline:.55rem;font-size:.8125rem}}
