.review-card,.review-summary {--review-ink:#235e59;--review-border:#bcd4ce}
.review-card {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);padding:0;margin:13px 0 10px;border:1px solid var(--review-border);border-radius:8px;background:#f6faf9;overflow:visible}
.review-card h2,.review-summary h2 {color:var(--review-ink);margin:0 0 6px}
.review-item {min-width:0;padding:8px 13px}
.review-item + .review-item {border-inline-start:1px solid #dce7e3}
.review-label {display:flex;align-items:center;gap:7px}
.review-item p,.review-reference,.review-dialog header p,.review-download span {margin:4px 0;color:#526572;font-size:13px;line-height:1.5}
.review-action {color:var(--review-ink);border-color:var(--review-border);font-weight:600;padding:7px 11px}
.method-help {display:inline-grid;place-items:center;border:1px solid #79958e;border-radius:50%;height:22px;width:22px;padding:0;color:#315e56;font-weight:700;background:white;line-height:1}
.review-popover {position:fixed;z-index:1000;background:white;border:1px solid #aac5be;border-radius:9px;padding:13px 15px;box-shadow:0 5px 21px #223d4930;width:min(345px,calc(100vw - 24px));max-height:55vh;overflow:auto;color:#273943;line-height:1.45;font-size:13px}
.review-popover p,.review-method p,.review-context p {margin:7px 0}
.review-popover a,.review-method a,.review-context a,.review-reference a,#review-hit-body a {color:#215e66;text-decoration:underline;text-underline-offset:2px}
.review-summary {border-color:var(--review-border);margin-top:16px}
.review-summary-row {display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid #dce7e3;padding:10px 0;flex-wrap:wrap}
.review-summary-row p {margin:4px 0;color:var(--muted);font-size:13px}
.review-dialog {color:var(--ink);margin:0 0 0 auto;padding:24px clamp(18px,3vw,34px);width:min(660px,100%);max-width:100%;height:100%;max-height:100%;overflow:auto;border:0;border-top:4px solid #43837c;box-shadow:-12px 0 42px #263a4024}
.review-dialog::backdrop {background:rgb(39 55 67 / .33)}
.review-dialog > header,.review-download,.review-run,.review-filters {display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-dialog h2 {font-size:22px;margin:0;color:#245c57}
.review-dialog h3 {font-size:15px;margin:18px 0 8px}
.review-close {font-size:24px;min-width:38px;padding:2px 8px}
.review-intro {margin:18px 0 13px;font-size:15px;color:var(--ink);line-height:1.45}
.review-run,.review-filters {align-items:end}
.review-run label,.review-filters label {flex:1;min-width:0}
.review-dialog label {display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px;color:var(--muted)}
.review-dialog input,.review-dialog select {min-width:0;width:100%;min-height:36px;padding:6px 8px;border:1px solid #bbc9d0;border-radius:5px;background:white;color:var(--ink)}
.review-reference {margin:9px 0 14px}
.review-counts {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.review-counts > div,.review-context {padding:11px 13px;border:1px solid #c4d9d3;border-radius:7px;background:#f1f7f4}
.review-counts strong {display:block;font-size:23px;color:#245c57}
.review-counts span {font-size:13px}
.review-method {padding:12px 0;border-top:1px solid var(--line);margin-top:12px}
.review-method summary {cursor:pointer;font-weight:650;color:#2c5c61}
.review-method form {margin-top:12px}
.review-assay-grid {display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.review-context {font-size:14px;line-height:1.5}
.review-table-wrap {overflow-x:auto;margin-top:12px}
.review-dialog table {width:100%;border-collapse:collapse;font-size:13px}
.review-dialog th,.review-dialog td {padding:8px 5px;text-align:left;border-bottom:1px solid var(--line);white-space:normal}
.review-dialog th {background:#f3f6f7}
.review-message,.review-record {margin:12px 0;line-height:1.45}
.review-record {border-left:3px solid #9fb0bd;padding:4px 10px;background:#f5f7f8}
.review-record.flag {border-color:#95682d;background:#faf5eb}
#review-assay-message {display:block;margin-top:6px}
.review-download {margin:8px 0 12px}
.review-dialog [hidden],.review-popover[hidden]{display:none}
@media(max-width:650px){.review-card{grid-template-columns:1fr}.review-item{padding:7px 10px}.review-item + .review-item{border-inline-start:0;border-top:1px solid #dce7e3}.review-filters{align-items:stretch;flex-direction:column}.review-run{align-items:stretch;flex-wrap:wrap}.review-counts>div{padding:8px}.review-assay-grid{gap:8px}}

.review-popover details,.review-method details{margin-top:9px}.review-popover summary,.review-record summary{cursor:pointer;color:#2d6361;font-weight:600}.review-popover details[open]{padding-bottom:3px}.review-summary .actions{flex-wrap:wrap}

.review-dialog h2 span{font-size:.78em;font-weight:550;color:var(--muted);margin-inline-start:5px}
.review-counts h3{margin:0 0 4px;font-size:14px}
.review-counts .review-number{display:block;font-size:24px;font-weight:680;color:#245c57}
.review-counts p,.review-reading{font-size:14px;line-height:1.6;margin:6px 0}
.review-reading{margin-top:14px}
#review-viability-dialog{margin:auto;width:min(610px,calc(100% - 24px));height:fit-content;max-height:90dvh;border-radius:12px;border-top-color:#7b687e}
#review-viability-dialog h2{color:#604e65}
#review-viability-dialog .review-context{margin-top:16px;background:#f5f2f6;border-color:#d9d1dc}
#review-viability-dialog .review-record{margin-bottom:8px}
@media(max-width:480px){.review-counts{grid-template-columns:1fr}.review-dialog h2 span{display:block;margin:3px 0 0}.review-counts>div{padding:10px 12px}}

.review-entry{background:none;border:0;border-radius:3px;padding:2px 0;color:#245c57;font:inherit;font-weight:650;text-align:start}
.review-entry span{font-size:.85em;color:#53746d}
.review-entry:hover,.review-entry:focus-visible{text-decoration:underline;background:transparent}
.review-item p{margin:2px 0 0;line-height:1.35}
.review-label .method-help{width:18px;height:18px;font-size:11px}
.review-summary{padding-block:12px}
.review-summary>summary{cursor:pointer;font-weight:600;color:#425b6e}
.review-summary[open]>summary{margin-bottom:8px}
.review-counts small{display:block;color:#526572;margin-top:2px}
.review-dialog .review-method{margin-top:6px;padding:9px 0}
.review-dialog .review-intro{font-size:14px;margin:10px 0}
.review-dialog .review-context{margin-block:10px}
.compact-hint{justify-content:flex-end;margin-top:7px}
.input-help{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#425b6e}
.input-help .method-help{flex:0 0 22px}

.review-method .viability-equation {display:table;margin:6px 0 9px;padding:6px 10px;background:#f4f1f5;color:#54465c;border-left:3px solid #8c7896;font-variant-numeric:tabular-nums;font-weight:600}

.formulation-study {margin:12px 0;border:1px solid #cdbfce;border-radius:8px;background:#fbf9fc;color:#362f39}
.formulation-study summary {padding:12px 15px;color:#604e65;font-size:15px;font-weight:650;cursor:pointer}
.formulation-study .study-body {padding:0 15px 12px}
.formulation-study .study-body h3 {margin:1px 0 3px;font-size:20px}
.formulation-study .study-body p {margin:0 0 9px;font-size:13px;line-height:1.4}
#study-viability {width:100%;margin:5px 0 10px;font-variant-numeric:tabular-nums}
#study-viability th,#study-viability td {padding:6px 8px;background:transparent}
#study-viability thead th {font-size:12px;color:#584e5e}
#study-viability :is(td,th):nth-child(n+2) {text-align:right;white-space:nowrap}
#study-viability tbody th {font-size:14px;font-weight:550}
#study-viability td {font-size:17px;font-weight:650;color:#5f4d68}
.formulation-study a {font-size:13px;color:#385975;text-decoration:underline;text-underline-offset:2px}
@media(max-width:460px){#study-viability th,#study-viability td{padding:6px 4px}.formulation-study .study-body{padding-inline:10px}}

.sequence-reviews {display:grid;gap:3px;margin:8px 0 12px}
.sequence-reviews > div {display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.sequence-reviews .review-entry {font-size:14px}
.sequence-reviews span {font-size:12px;color:#516574}
.sequence-reviews .method-help {width:15px;height:15px;font-size:10px}
.editor-link {color:#245e59;text-decoration:underline;text-underline-offset:3px;font-weight:650;font-size:14px}
.next-actions .editor-link {display:block;width:fit-content;text-align:left;margin:5px 0}
.mod-footer {flex-wrap:wrap}.mod-footer .editor-link {margin-right:auto}
.mod-footer #mod-description:empty {display:none}
#review-viability-dialog {box-sizing:border-box;margin:0 0 0 auto;width:min(740px,100%);height:100%;max-height:100%;padding:20px 24px;border-radius:0}
#review-viability-pane {margin-top:16px}
#literature-feedback {font-size:13px;color:#53636d;margin:8px 0}
.lit-heading {display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.lit-heading h3 {font-size:17px;margin:7px 0}
.lit-heading a,#literature-papers a {color:#3d4f67;text-underline-offset:2px}
.lit-heading a {white-space:nowrap;font-size:13px}
#literature-papers {padding:0;margin:0;list-style:none}
#literature-papers li {padding:8px 0;border-top:1px solid var(--line)}
#literature-papers a {display:block;font-size:15px;line-height:1.3;font-weight:600}
#literature-papers small {display:block;color:#566874;font-size:12px;margin-top:3px}
.variant-assays {border-top:1px solid var(--line);margin-top:10px;padding-top:9px}
.variant-assays>summary {font-size:14px;cursor:pointer;color:#42515c;font-weight:600}
#site-editor {scroll-margin-top:14px;container-type:inline-size}
@container (max-width:680px){#site-edit-form .site-chem{grid-template-columns:1fr 1fr}}
#site-editor h2 {margin:0 0 15px}
#site-editor h3 {font-size:15px;margin:14px 0 8px}
.site-setup,.site-chem {display:grid;gap:12px;margin-bottom:12px}
.site-setup {grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.site-chem {grid-template-columns:repeat(4,minmax(0,1fr))}
#site-edit-form label {display:grid;gap:4px;font-weight:600;font-size:13px;color:#4f6170}
#site-edit-form :is(input,select,output) {box-sizing:border-box;min-width:0;width:100%;min-height:36px;padding:6px 8px}
#site-edit-form output {background:#f2f5f5;border-radius:5px;display:block;color:#324b50}
#site-message {margin-left:10px;font-size:13px;color:#46596a}
#site-readings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#site-readings div {padding:12px;border:1px solid #c9d6d3;border-radius:7px;background:#f4f8f7}
#site-readings div:last-child {border-color:#cdc1cf;background:#f8f4f8}
#site-readings small,#site-readings strong {display:block;overflow-wrap:anywhere}
#site-readings small {font-size:12px;color:#455362}
#site-readings strong {font-size:24px;color:#394e5a;margin-top:6px}
@media(max-width:600px){#review-viability-dialog{padding:16px}.site-chem{grid-template-columns:1fr 1fr}#site-readings div{padding:8px}#site-readings strong{font-size:18px}}
