/* Shared scientific interface. Molecular content supplies the visual detail. */
:root{--header-height:56px;--space-region:16px;--text-ui:13px;--text-small:12px;--bg:#F4F6F7;--paper:#fff;--soft:#EEF3F4;--ink:#192C32;--mut:#5D6C72;--rule:#DDE4E7;--teal:#164E59;--teal2:#176B77;--red:#AF3935;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--radius:8px}
body{font-family:var(--sans);background:var(--bg);color:var(--ink);font-size:15px;line-height:1.6}button,input,textarea,select{font:inherit}button{touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,textarea,select,summary{outline-offset:3px}a{color:var(--teal2)}header{height:var(--header-height);background:#fff;border-bottom:1px solid var(--rule)}header .in{height:100%;max-width:1360px;gap:28px;padding:0 40px}.brand{display:flex;align-items:center;flex-wrap:wrap;column-gap:10px;color:var(--ink);font-weight:700;font-size:18px;letter-spacing:.015em}.brand svg{width:27px;height:29px;flex:none;color:var(--teal2)}.brand span{display:block;flex-basis:100%;margin:0 0 0 37px;margin-top:-4px;color:var(--mut);font-size:var(--text-small);line-height:1.3;opacity:1;letter-spacing:0;font-weight:400}header nav{align-self:stretch;gap:28px;margin-left:auto;align-items:center}header nav a{color:var(--mut);font-size:13px;letter-spacing:0;text-transform:none;display:flex;align-items:center;align-self:stretch;min-height:44px;padding:0;white-space:nowrap;font-weight:500;border-bottom:2px solid transparent}header nav a:hover{color:var(--teal)}header nav a.on{color:var(--teal);border-bottom:2px solid var(--teal2)}
main{padding-top:36px}.fig{max-width:1200px;padding:0 32px}.wide{max-width:1320px;padding:0 32px}h1,h1.ph{font-size:28px;line-height:1.35;font-weight:650;letter-spacing:-.025em}h2{font-size:20px;font-weight:600;margin-top:44px}p.body,.lede{font-size:15px;color:#3C5058}.byline{border-color:var(--rule)}.cap{font-size:12px;line-height:1.7}.tw{border:1px solid var(--rule);border-radius:6px;background:#fff}table.b{margin-top:0;width:100%;font-size:13px}table.b th{background:#EDF2F4;color:#43585F;font-weight:600;letter-spacing:0;text-transform:none}table.b td,table.b th{padding:12px 14px;border-bottom-color:var(--rule)}table.b tbody tr:last-child td{border-bottom:0}table.b tr.best{background:#EAF3F3}.tabs{gap:4px;border-bottom:1px solid var(--rule);padding-bottom:8px}.tab{border-radius:5px;padding:7px 14px;letter-spacing:0}.tab.on{background:var(--teal);color:#fff}.supporting-copy{font-size:12px;color:var(--mut);line-height:1.7}.workspace-main{max-width:1360px;padding:36px 40px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.page-heading h1{margin:0 0 8px;font-size:28px}.page-heading p{font-size:14px;color:var(--mut);margin:0}.service-status{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:var(--mut)}.service-status::before{content:"";width:6px;height:6px;background:#A9B4B9;border-radius:50%}.service-status[data-online=true]::before{background:#24806D}.service-status[data-online=false]::before{background:#AF3935}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr);gap:24px;align-items:start}.molecule-panel,.result-panel{background:#fff;border:1px solid var(--rule);border-radius:var(--radius);min-width:0;overflow:hidden}.panel-heading{height:62px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--rule)}.panel-heading h2{font-size:16px;margin:0;font-weight:600;white-space:nowrap}.view-tabs{display:flex;padding:3px;background:#F0F3F5;border-radius:6px;gap:2px}.view-tabs button{border:0;background:none;padding:6px 12px;font-size:12px;color:var(--mut);cursor:pointer;border-radius:4px;white-space:nowrap}.view-tabs button[aria-selected=true]{background:#fff;color:var(--teal);box-shadow:0 1px 3px #172F3A14;font-weight:600}.structure-stage{height:370px;background:#fff;position:relative}.structure-view{height:100%;position:relative}.structure-view[hidden]{display:none}#editor{display:block;width:100%;height:100%;border:0}#viewer-3d{position:absolute;inset:0}.viewer-overlay,.editor-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px;color:var(--mut);font-size:14px;background:#fff;z-index:2}.viewer-overlay[hidden],.editor-loading[hidden]{display:none}.viewer-controls{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:center;gap:6px;z-index:3}.viewer-controls[hidden]{display:none}.viewer-controls select,.quiet-button{background:#fff;border:1px solid var(--rule);padding:6px 9px;border-radius:5px;font-size:12px;color:var(--ink);cursor:pointer}.canvas-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 20px;border-top:1px solid var(--rule);background:#FAFBFC;font-size:var(--text-small);color:var(--mut);min-height:46px}.canvas-caption .text-button{font-size:12px;flex:none}.molecule-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;border-top:1px solid var(--rule);padding:12px 24px;font-size:12px;color:var(--mut)}.molecule-meta[hidden]{display:none}.molecule-meta b{font-family:var(--mono);font-size:14px;font-weight:600;color:var(--ink)}.smiles-form{padding:18px 24px 22px;border-top:1px solid var(--rule)}.field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.field-label label{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--ink)}.field-label span{font-size:var(--text-small);color:var(--mut)}textarea#smiles{display:block;width:100%;min-height:74px;resize:vertical;max-height:240px;border:1px solid #C9D4D9;background:#FBFCFD;border-radius:5px;padding:12px;font-family:var(--mono);font-size:12px;line-height:1.65;color:var(--ink);overflow-wrap:anywhere}textarea#smiles::placeholder{color:#63747C}textarea#smiles:focus{outline:2px solid var(--teal2);border-color:transparent}textarea#smiles[aria-invalid=true]{border-color:var(--red)}.input-feedback{font-size:12px;min-height:20px;margin:7px 0 14px;color:var(--mut)}.input-feedback.error{color:var(--red)}.input-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.input-actions>div{display:flex;gap:14px;align-items:center}.primary-button,.secondary-button{display:inline-flex;gap:16px;align-items:center;justify-content:center;min-height:38px;padding:8px 15px;border:1px solid var(--teal);border-radius:5px;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}.primary-button{background:var(--teal);color:#fff}.primary-button:hover:not(:disabled){background:#103D46}.primary-button span[aria-hidden]{font-size:17px}.secondary-button{border-color:#CFD9DD;background:#fff;color:var(--ink)}.secondary-button:hover:not(:disabled){background:var(--soft);border-color:#9AB1B9}.text-button{display:inline-block;background:transparent;border:0;padding:4px 0;color:var(--teal2);font-size:12px;cursor:pointer}.text-button:hover:not(:disabled){text-decoration:underline}.result-state{font-size:var(--text-small);color:var(--mut);text-align:right}.result-empty{min-height:448px;padding:65px 36px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center}.result-empty[hidden]{display:none}.result-empty svg{color:#91ADB4;margin-bottom:24px}.result-empty h3{font-size:17px;font-weight:600;margin-bottom:12px}.result-empty p{font-size:13px;line-height:1.9;color:var(--mut);max-width:29em}.result-empty>span{font-size:var(--text-small);color:var(--mut);margin-top:22px}.result-footnote{margin:0 24px;padding:20px 0;border-top:1px solid var(--rule)}.result-footnote b{font-size:12px;font-weight:600}.result-footnote p{font-size:12px;line-height:1.8;color:var(--mut);margin:7px 0 9px}.result-footnote a{font-size:12px;border:0}.score-summary{padding:22px 24px 0}.metric-label{font-size:12px;color:var(--mut)}.score-number{display:flex;gap:12px;align-items:baseline;margin:3px 0 8px}.score-number strong{font:500 46px/1.2 var(--mono);letter-spacing:-.055em;color:var(--teal)}.score-number>span{font:12px var(--mono);color:var(--mut)}.decision{font-size:12px;display:inline-flex;align-items:center;gap:6px;margin-bottom:22px;color:var(--mut)}.decision::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}[data-tone=positive]{color:#196657!important}[data-tone=warning]{color:#956116!important}.score-track{height:7px;position:relative;background:#E8EEF0;border-radius:2px}.score-track>#score-fill{height:100%;background:var(--teal2);border-radius:2px}.score-track>#threshold-mark{position:absolute;top:-4px;bottom:-4px;width:1px;background:#61727A}.score-track #seed-marks i{position:absolute;top:0;width:7px;height:7px;margin-left:-3.5px;border:1px solid var(--teal);border-radius:50%;background:#fff}.score-labels{display:flex;justify-content:space-between;font:var(--text-small) var(--mono);color:var(--mut);margin-top:9px}.score-context{font-size:var(--text-small);color:var(--mut);margin-top:14px}.result-facts{margin:18px 24px 0;border-top:1px solid var(--rule)}.result-facts>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--rule);align-items:baseline}.result-facts dt{font-size:12px;color:var(--mut);flex:none}.result-facts dd{font-size:12px;text-align:right;font-weight:500}.result-guidance{font-size:12px;color:#455B64;line-height:1.8;margin:15px 24px}.result-actions{display:flex;align-items:center;gap:18px;margin:18px 24px 22px}.result-actions .secondary-button{font-size:12px;min-height:34px;padding:6px 12px}.result-details{border-top:1px solid var(--rule);margin:0 24px;padding:12px 0}.result-details summary{font-size:12px;cursor:pointer;font-weight:500}.result-details[open] summary{margin-bottom:12px}.result-details dl>div{padding:6px 0}.result-details dt{font-size:var(--text-small);color:var(--mut)}.result-details dd{font-family:var(--mono);font-size:var(--text-small);overflow-wrap:anywhere;margin-top:3px}.result-details p{margin-top:10px}.result-error{background:#FFF1F0;color:#97312D;font-size:13px;padding:14px;margin:18px 24px;border:1px solid #EDD1CD;border-radius:5px}.result-panel.stale #result-content{opacity:.42}.result-panel.stale .result-state{color:#956116}.result-panel[aria-busy=true] #result-content{opacity:.45}.sample-section,.history-section{margin-top:32px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading h2{font-size:16px;margin:0}.section-heading>span{font-size:12px;color:var(--mut)}.sample-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.sample-item{display:grid;grid-template-columns:88px 1fr;grid-template-rows:1fr 1fr;align-items:center;column-gap:12px;background:#fff;border:1px solid var(--rule);border-radius:6px;padding:12px 16px;text-align:left;cursor:pointer;color:var(--ink)}.sample-item:hover{border-color:#8CACB5;background:#FAFCFC}.sample-item img{grid-row:1/3;width:88px;height:72px;object-fit:contain}.sample-item b{font:500 12px var(--mono);align-self:end}.sample-item>span{font-size:var(--text-small);color:var(--mut);align-self:start;margin-top:4px}.history-list{border-top:1px solid var(--rule)}.history-item{display:flex;align-items:center;gap:24px;width:100%;padding:12px 0;background:none;border:0;border-bottom:1px solid var(--rule);text-align:left;cursor:pointer;color:var(--ink)}.history-item b{font:500 12px var(--mono);width:110px;flex:none}.history-item span{font:var(--text-small) var(--mono);color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item strong{margin-left:auto;font:500 13px var(--mono)}.history-section>.supporting-copy{margin-top:10px}.workspace-footer{display:flex;align-items:center;gap:24px;border-top:1px solid var(--rule);margin-top:36px;padding:18px 0 22px;font-size:var(--text-small);color:var(--mut)}.workspace-footer a{margin-left:auto;border:0}.workspace-footer #model-version{font-family:var(--mono)}
/* Batch and supporting pages share the same controls and reading density. */
.drop{border:1px dashed #A6BAC2;border-radius:8px;background:#fff;padding:30px;margin-top:20px}.drop:hover{border-color:var(--teal2);background:#FAFCFD}.drop .t{font-size:18px;font-weight:500}.drop .s{font-size:13px}.drop>.mono{font-size:var(--text-small)}.drop .demo{border:1px solid #CFD9DD;border-radius:5px;background:white;color:var(--ink);padding:7px 14px;font:12px var(--sans)}.stats{gap:0;background:#fff;border:1px solid var(--rule);border-radius:8px;margin-top:20px}.stat{padding:18px 24px;border-right:1px solid var(--rule)}.stat:last-child{border-right:0}.stat .k{font-size:12px;letter-spacing:0}.stat .v{font-size:28px}.stat .s{font-size:var(--text-small)}.chips .chip{font-size:12px;border-radius:5px;padding:6px 12px}.chip.on{background:var(--teal);color:#fff}.dl{border-radius:5px;font:13px var(--sans)}.batch-help{margin-top:32px;border-top:1px solid var(--rule)}.batch-help>summary{padding:16px 0;cursor:pointer;color:var(--teal);font-size:14px;font-weight:500}.batch-help .fig{padding:0;max-width:none}.batch-help h2{margin-top:30px}.batch-inspector{display:grid;grid-template-columns:200px 1fr;gap:24px}.batch-inspector img{width:200px;height:160px;object-fit:contain;background:white}.batch-inspector dl{font-size:12px}.batch-inspector dl div{margin-bottom:8px}.batch-inspector dd{font-family:var(--mono);overflow-wrap:anywhere}.swipe{font-size:var(--text-small)}
@media(min-width:981px){.result-panel{min-height:690px}}
@media(max-width:1100px){header .in{padding:0 24px;gap:16px}header nav{gap:20px}.workspace-main{padding:28px 24px 0}.workspace-grid{grid-template-columns:minmax(0,1.25fr) minmax(310px,1fr);gap:18px}.panel-heading{padding:0 18px}.sample-item{grid-template-columns:62px 1fr;padding:12px;gap:8px}.sample-item img{width:62px}.brand span{display:none}.structure-stage{height:350px}}
@media(max-width:980px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.structure-stage{height:410px}.result-empty{min-height:260px;padding:36px}.result-panel{min-height:0}.page-heading{align-items:flex-start}.service-status{margin-top:8px}.result-facts{margin-top:18px}.sample-list{grid-template-columns:repeat(2,minmax(0,1fr))}.result-footnote{padding-bottom:22px}.sample-item{grid-template-columns:88px 1fr}.sample-item img{width:88px}.score-number strong{font-size:42px}}
@media(max-width:700px){header{height:auto;min-height:64px}header .in{height:auto;display:flex;flex-wrap:wrap;padding:8px 20px 0;gap:4px 12px}header nav{order:3;width:100%;gap:22px;overflow-x:auto;scrollbar-width:none;margin:0}header nav a{font-size:12px;min-height:44px;padding:0}.brand{font-size:17px}.workspace-main{padding:24px 16px 0}.page-heading{display:block;margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading p{font-size:13px;max-width:34em}.service-status{font-size:var(--text-small);display:flex;margin-top:12px}.panel-heading{height:58px;padding:0 16px}.panel-heading h2{font-size:15px}.view-tabs button{padding:6px 9px;font-size:var(--text-small)}.structure-stage{height:350px}.canvas-caption{padding:10px 14px;font-size:var(--text-small);gap:8px}.smiles-form{padding:16px}.field-label span{font-size:var(--text-small)}.molecule-meta{padding:10px 16px;gap:7px 12px;font-size:var(--text-small)}.input-actions>div{gap:10px}.primary-button,.secondary-button{padding:8px 12px;font-size:12px;min-height:38px}.input-actions{gap:8px}.input-actions .text-button{font-size:var(--text-small)}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:15px}.section-heading>span{font-size:var(--text-small);text-align:right}.sample-list{gap:10px}.sample-item{display:flex;flex-direction:column;gap:0;padding:12px 8px;text-align:center}.sample-item img{height:80px;width:100%}.sample-item b,.sample-item>span{align-self:center}.sample-item b{font-size:var(--text-small);margin-top:8px}.sample-item>span{font-size:var(--text-small)}.workspace-footer{gap:8px 16px;flex-wrap:wrap;font-size:var(--text-small)}.workspace-footer a{margin-left:0}.history-item{gap:12px}.history-item b{width:80px;font-size:var(--text-small)}.history-item strong{font-size:12px}.fig,.wide{padding:0 20px}h1,h1.ph{font-size:25px}h2{font-size:19px}main{padding-top:26px}.stats{grid-template-columns:1fr 1fr}.stat{padding:14px 16px}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--rule)}.stat .v{font-size:25px}.drop{padding:24px 16px}.drop .t{font-size:16px}.batch-inspector{grid-template-columns:1fr;gap:12px}.batch-inspector img{width:100%;height:140px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.batch-upload{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:28px}.batch-upload h2{margin:0 0 7px;font-size:17px}.batch-upload p{font-size:12px;color:var(--mut)}.upload-actions{display:flex;gap:10px;flex:none}.upload-preview{margin:20px 0;padding:22px;background:#fff;border:1px solid var(--rule);border-radius:8px}.upload-preview[hidden]{display:none}.upload-preview .section-heading h2{font-size:16px;overflow-wrap:anywhere}.preview-smiles{font:12px var(--mono);max-width:600px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-actions{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:16px}.batch-progress{display:flex;align-items:center;gap:16px;margin:16px 0;font-size:12px;color:var(--mut)}.batch-progress[hidden]{display:none}.batch-progress progress{accent-color:var(--teal2);height:7px;width:220px;max-width:40%}.batch-results{margin-top:32px}.batch-results .section-heading{margin-bottom:8px}.batch-results #dlbox{margin:0}.batch-results #dlbox .dl{margin:0;padding:8px 14px;font-size:12px}.batch-results #tstatus{margin-bottom:18px}.batch-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}.batch-toolbar[hidden]{display:none}.batch-toolbar #export-selected{margin-left:auto;font-size:12px}.domain-filter{display:flex;align-items:center;gap:8px;font-size:var(--text-small);color:var(--mut)}.domain-filter select{border:1px solid #CFD9DD;border-radius:5px;background:#fff;color:var(--ink);padding:6px 8px;font-size:12px}.batch-table table{min-width:850px}.batch-table th{white-space:nowrap}.batch-table td{font:12px var(--mono)}.molecule-cell{display:flex;align-items:center;gap:12px;min-width:260px;max-width:400px}.molecule-cell img{width:72px;height:56px;object-fit:contain;flex:none}.molecule-cell>div{min-width:0}.molecule-cell b{display:block;font:500 12px var(--sans);margin-bottom:4px}.molecule-cell span{display:block;font:var(--text-small) var(--mono);color:var(--mut);max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.batch-table .batch-score{font-weight:600;color:var(--teal)}.batch-table .empty-table{padding:48px 24px;text-align:center;font:13px var(--sans);color:var(--mut)}.batch-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--teal2)}.batch-table .batch-row:hover{background:#F8FBFC}.batch-table .dtl>td{background:#F6F9FA;padding:22px 30px}.batch-results>.supporting-copy{margin-top:12px}.batch-inspector dt{color:var(--mut);font:var(--text-small) var(--sans)}.batch-inspector dd{margin-top:2px}.invalid-structure{width:72px;text-align:center;color:var(--red)}
@media(max-width:980px){.batch-upload{flex-direction:column;align-items:flex-start}.upload-actions{flex-wrap:wrap}.preview-actions{align-items:flex-start}.preview-smiles{max-width:350px}}
@media(max-width:700px){.batch-upload{padding:22px 18px;gap:18px}.upload-preview{padding:16px}.preview-actions{flex-direction:column;gap:12px}.batch-toolbar #export-selected{margin-left:0}.batch-toolbar{gap:10px}.preview-smiles{max-width:180px}.batch-results .section-heading{align-items:center}.batch-results .section-heading h2{white-space:nowrap}.batch-results #dlbox .dl{font-size:var(--text-small);padding:6px 8px}.batch-help .fig{padding:0}.batch-help h2{font-size:17px}.batch-progress{font-size:var(--text-small)}}
.validation-distribution>.supporting-copy{margin:10px 0 18px}.validation-hist{height:200px;display:flex;align-items:flex-end;gap:3px;border-bottom:1px solid #A5B8C1;position:relative;padding-top:8px}.distribution-bin{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;cursor:crosshair}.distribution-bin i{display:block;min-height:1px}.distribution-bin:focus-visible{outline:2px solid var(--teal2)}.distribution-pos{background:var(--teal2)}.distribution-neg{background:#C9D6DB}.distribution-threshold{position:absolute;top:0;bottom:0;border-left:1px dashed #71838C;pointer-events:none}.distribution-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:var(--text-small);color:var(--mut);margin-top:12px}.validation-distribution .histx{margin-top:8px}

.result-empty p{text-wrap:pretty}.result-panel .result-state{max-width:190px}#progress-label{font-variant-numeric:tabular-nums}
.batch-upload{text-align:left;cursor:default}.batch-table .srt::after{content:none!important}.data-search{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--rule);border-radius:6px;padding:12px 16px;margin-bottom:22px}.data-search:focus-within{outline:2px solid var(--teal2);outline-offset:2px}.data-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:var(--ink)}.data-search input::placeholder{color:var(--mut)}.data-search>span{font-size:var(--text-small);color:var(--mut);white-space:nowrap}.data-list-heading{display:grid;grid-template-columns:minmax(0,1fr) 90px 110px;gap:20px;padding:12px 20px;border-bottom:1px solid var(--rule);font-size:var(--text-small);color:var(--mut)}.data-list-heading span:not(:first-child){text-align:right}.data-entity{border-bottom:1px solid var(--rule);background:#fff}.data-entity[hidden]{display:none}.data-entity summary{display:grid;grid-template-columns:minmax(0,1fr) 90px 110px;gap:20px;padding:14px 20px;list-style:none;align-items:center;cursor:pointer}.data-entity summary::-webkit-details-marker{display:none}.data-entity summary:hover,.data-entity[open] summary{background:#EEF4F5}.data-molecule{display:flex;align-items:center;gap:20px;min-width:0}.data-molecule>img{width:88px;height:66px;object-fit:contain;flex:none}.data-molecule>div{min-width:0}.data-molecule b{font:500 13px var(--mono)}.data-molecule span{display:block;font:var(--text-small) var(--mono);color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.data-entity summary>strong{font:500 14px var(--mono);text-align:right;color:var(--teal)}.data-entity summary>span{font:12px var(--mono);text-align:right}.data-entity-body{padding:20px 24px 24px 128px;border-top:1px solid var(--rule)}.data-entity-body dl{margin-bottom:18px}.data-entity-body dl>div{margin-bottom:10px}.data-entity-body dt{font-size:var(--text-small);color:var(--mut)}.data-entity-body dd{font-size:13px;margin-top:3px}.data-entity-body .secondary-button{font-size:12px}.data-note{margin-top:14px}.data-distribution h2{margin-top:48px}.data-distribution>.body{margin-bottom:24px}.space-group-row{display:grid;grid-template-columns:95px 1fr 80px;align-items:center;gap:20px;padding:9px 0;font:12px var(--mono)}.space-group-row>div{height:12px;background:#E6ECEF}.space-group-row i{display:block;height:100%}.space-group-row>span:last-child{text-align:right;color:var(--mut)}.data-distribution>.supporting-copy{margin-top:16px;max-width:75ch}.data-availability{border-top:1px solid var(--rule);margin-top:40px;padding-top:22px}.data-availability h2{margin:0 0 14px;font-size:17px}.data-availability p{max-width:75ch}
@media(max-width:700px){header{padding:0;position:relative}header .in{flex-direction:row;align-items:center;padding:8px 20px 0}header nav{flex-wrap:nowrap}.fig{overflow-x:visible}.data-search>span{display:none}.data-list-heading,.data-entity summary{grid-template-columns:minmax(0,1fr) 55px 65px;gap:10px;padding-left:12px;padding-right:12px}.data-molecule{gap:8px}.data-molecule>img{width:45px;height:48px}.data-molecule b{font-size:var(--text-small)}.data-molecule span{font-size:var(--text-small)}.data-entity summary>strong{font-size:12px}.data-entity summary>span{font-size:var(--text-small)}.data-entity-body{padding:16px}.space-group-row{grid-template-columns:75px 1fr 60px;gap:10px;font-size:var(--text-small)}.data-list-heading{font-size:var(--text-small)}}
/* Native drawing workspace and comparison workflow. */
.workspace-main{padding-top:24px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:26px;margin-bottom:5px}.native-stage{height:308px}.smiles-form{padding:14px 20px 18px}.smiles-form textarea#smiles{min-height:60px;font-size:12px;padding:9px 11px}.smiles-form .input-feedback{margin:5px 0 10px}.canvas-caption{min-height:37px;padding:8px 16px}.molecule-meta{padding:9px 20px}.panel-heading{height:56px}.result-panel{min-height:0}.result-empty{min-height:365px}.result-actions{flex-wrap:wrap;gap:12px}.result-actions #pin-reference{font-size:12px}.result-actions .text-button{font-size:var(--text-small)}.comparison-section{margin-top:28px}.comparison-section .section-heading{align-items:center}.comparison-section .section-heading p{margin:7px 0 0}.comparison-empty{padding:24px;border:1px dashed #BCD0D6;border-radius:7px;font-size:13px;color:var(--mut);background:#F9FBFC}.comparison-pair{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--rule);border-radius:8px 8px 0 0;background:#fff;overflow:hidden}.comparison-molecule{padding:18px 22px;min-width:0}.comparison-molecule+.comparison-molecule{border-left:1px solid var(--rule)}.comparison-molecule>div{display:flex;align-items:center;gap:14px;min-height:30px;flex-wrap:wrap}.comparison-molecule>div>span{font-size:12px;color:var(--mut)}.comparison-molecule b{font:500 13px var(--mono)}.comparison-molecule .text-button,.comparison-molecule #comparison-status{margin-left:auto;font-size:var(--text-small)}.comparison-molecule img{display:block;height:155px;width:100%;object-fit:contain;margin:12px 0}.comparison-molecule img[hidden]{display:none}.comparison-molecule p{font:var(--text-small)/1.7 var(--mono);overflow-wrap:anywhere;min-height:30px;color:var(--mut);margin:0}.comparison-delta{display:flex;align-items:center;gap:16px;padding:16px 22px;background:#EDF4F5;border:1px solid var(--rule);border-top:0}.comparison-delta>span{font-size:12px;color:var(--mut)}.comparison-delta strong{font:500 25px var(--mono);color:var(--teal)}.comparison-delta #comparison-context{font-size:var(--text-small);flex:1}.comparison-delta button{font-size:12px;min-height:34px}.comparison-table td:first-child{font-family:var(--sans)}.comparison-section>.supporting-copy,#comparison-content>.supporting-copy{margin-top:12px}.comparison-section .tw{border-top:0;border-radius:0 0 6px 6px}.history-item{display:grid;grid-template-columns:105px minmax(0,1fr) 65px auto;gap:16px;cursor:default}.history-item>div{display:flex;gap:16px}.history-item button{white-space:nowrap}.history-item .text-button{font-size:var(--text-small)}.history-item strong{text-align:right;margin:0}.history-item span{max-width:none}.comparison-table{table-layout:fixed}.comparison-table td{overflow-wrap:anywhere}.comparison-table th,.comparison-table td{width:33.33%}@media(max-width:1100px){.native-stage{height:300px}}@media(max-width:980px){.native-stage{height:330px}.result-empty{min-height:230px}}@media(max-width:700px){.workspace-main{padding-top:20px}.page-heading h1{font-size:23px}.native-stage{height:350px}.smiles-form{padding:14px 16px}.comparison-pair{grid-template-columns:1fr 1fr}.comparison-molecule{padding:12px}.comparison-molecule+.comparison-molecule{border-left:1px solid var(--rule)}.comparison-molecule>div{gap:5px}.comparison-molecule img{height:120px}.comparison-molecule .text-button,.comparison-molecule #comparison-status{margin-left:0;flex-basis:100%}.comparison-delta{padding:14px;gap:10px;flex-wrap:wrap}.comparison-delta #comparison-context{flex-basis:calc(100% - 100px);flex-grow:1}.comparison-delta button{margin-left:auto}.history-item{grid-template-columns:80px 1fr 50px;gap:8px}.history-item>div{grid-column:1/-1;justify-content:flex-end;gap:20px}.comparison-section .section-heading{align-items:flex-start}.comparison-section .section-heading p{font-size:var(--text-small)}.comparison-section .section-heading>button{white-space:nowrap}.comparison-table th,.comparison-table td{font-size:var(--text-small);padding:10px}.comparison-empty{padding:18px;font-size:12px}}
.batch-results-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.batch-result-list{min-width:0}.batch-results-layout.has-inspector{grid-template-columns:minmax(0,1fr) 320px}.candidate-inspector{position:sticky;top:20px;min-width:0;border:1px solid #CCDCE1;border-radius:8px;background:#fff;padding:18px;max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-width:thin}.candidate-inspector[hidden]{display:none}.inspector-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.inspector-heading span{font-size:var(--text-small);color:var(--mut)}.inspector-heading h3{font:600 15px var(--mono);margin:4px 0 0}.inspector-heading button{font-size:19px;min-width:30px;padding:0}.inspector-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 3px;padding-top:12px;border-top:1px solid var(--rule)}.inspector-navigation span{font-size:var(--text-small);color:var(--mut)}.inspector-navigation button{font-size:var(--text-small)}.candidate-inspector>img{display:block;width:100%;height:175px;object-fit:contain}.candidate-inspector>img[hidden]{display:none}.candidate-inspector dl{margin:12px 0}.candidate-inspector dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;border-bottom:1px solid #EAF0F2}.candidate-inspector dt{font:var(--text-small) var(--sans);color:var(--mut);flex:none}.candidate-inspector dd{font:var(--text-small)/1.7 var(--mono);overflow-wrap:anywhere;text-align:right}.candidate-inspector dl>div:has(dd:nth-child(2)):nth-last-child(1){display:block}.candidate-note{border-top:1px solid var(--rule);margin-top:16px;padding-top:16px}.candidate-note label{display:block;font-size:12px;font-weight:500;margin-bottom:7px}.candidate-note textarea{display:block;width:100%;border:1px solid #C9D9E0;border-radius:5px;padding:9px;font:12px/1.7 var(--sans);min-height:82px;resize:vertical;color:var(--ink)}.candidate-note textarea::placeholder{color:#627981}.candidate-note p{margin:6px 0 14px;font-size:var(--text-small)}.candidate-inspector>.secondary-button{width:100%;font-size:12px}.candidate-inspector>.supporting-copy{font-size:var(--text-small);margin-top:12px}.batch-row.is-inspected td{background:#EDF6F7}.batch-row.has-note .molecule-cell b::after{content:' ·';color:var(--teal2);font-size:18px;line-height:0}.batch-results-layout.has-inspector .batch-toolbar #export-selected{margin-left:0}.batch-results-layout.has-inspector .batch-table table{min-width:780px}@media(max-width:1100px){.batch-results-layout.has-inspector{grid-template-columns:minmax(0,1fr) 290px}}@media(max-width:900px){.batch-results-layout.has-inspector{grid-template-columns:minmax(0,1fr)}.candidate-inspector{position:static;order:-1;max-height:none;padding:18px}.candidate-inspector>img{height:160px}.candidate-inspector dl{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.candidate-inspector dl>div{display:block}.candidate-inspector dd{text-align:left}.candidate-inspector .candidate-note textarea{min-height:70px}.candidate-inspector .secondary-button{width:auto}}@media(max-width:500px){.candidate-inspector dl{grid-template-columns:1fr}.candidate-inspector dl>div{display:flex}.candidate-inspector dd{text-align:right}}
[hidden]{display:none!important}
.input-actions>div{flex-wrap:wrap;gap:8px 12px}.smiles-form .input-actions{align-items:flex-end}.comparison-empty[hidden]{display:none!important}.candidate-inspector .inspector-navigation button:disabled{opacity:.4}
.workflow-guide h2{margin-top:30px}.workflow-guide{margin-bottom:24px}
/* Scientific tool surfaces: quiet geometry, direct labels, no promotional empty states. */
:root{--header-height:56px;--space-region:16px;--text-ui:13px;--text-small:12px;--bg:#F7F8F8;--radius:4px}.workspace-main{max-width:1380px;padding-top:24px}.page-heading{margin-bottom:10px}.page-heading h1{font-size:24px;letter-spacing:-.02em}.page-heading p{font-size:12px}.draft-strip{display:flex;align-items:center;gap:16px;min-height:26px;margin:0 0 16px;font-size:var(--text-small);color:var(--mut)}.draft-strip button{font-size:var(--text-small)}.molecule-panel,.result-panel{border-radius:4px}.panel-heading{height:52px;padding:0 20px}.panel-heading h2{font-size:14px}.view-tabs{background:transparent;padding:0;border-radius:0;gap:2px}.view-tabs button{border-radius:3px;padding:5px 10px}.view-tabs button[aria-selected=true]{background:#EAF1F2;box-shadow:none}.native-stage{height:320px}.canvas-caption{background:#FBFCFC;min-height:31px;padding:5px 16px;font-size:var(--text-small)}.canvas-caption .text-button{font-size:var(--text-small)}.score-number strong{font-size:36px;letter-spacing:-.045em}.score-number>span{font-size:var(--text-small)}.score-summary{padding-top:20px}.result-empty{min-height:210px;padding:36px 24px;align-items:flex-start;justify-content:center;text-align:left}.result-empty p{font-size:13px;max-width:28em;line-height:1.8}.result-empty>span{font-size:var(--text-small);margin-top:8px}.result-footnote b{font-size:var(--text-small);font-weight:500;color:var(--mut)}.result-footnote p{font-size:var(--text-small);line-height:1.8}.result-facts>div{padding:10px 0}.result-guidance{font-size:var(--text-small)}.result-actions{margin-top:16px;margin-bottom:18px}.primary-button,.secondary-button{border-radius:3px;font-size:12px;min-height:36px}.comparison-section{border-top:1px solid var(--rule);padding-top:22px;margin-top:28px}.comparison-section .section-heading h2{font-size:15px}.comparison-section .section-heading p{font-size:var(--text-small)}.comparison-empty{border:0;background:none;border-radius:0;padding:0;font-size:12px}.comparison-pair{border-radius:4px 4px 0 0}.comparison-molecule{padding:16px 20px}.comparison-molecule img{height:170px;margin:8px 0}.comparison-delta{background:#F0F4F4;padding:12px 20px;gap:16px}.comparison-delta strong{font-size:22px}.difference-note{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;background:#fff;padding:10px 20px;border:1px solid var(--rule);border-top:0;min-height:36px}.difference-note>span{font-size:var(--text-small);color:var(--mut)}.difference-legend{display:flex;gap:15px;font-size:var(--text-small);color:var(--mut)}.difference-legend>span{display:inline-flex;gap:6px;align-items:center}.difference-legend>span::before{content:'';width:9px;height:9px;border-radius:2px}.difference-legend .removed::before{background:#EFB6AE}.difference-legend .added::before{background:#ABD9C7}.difference-legend .modified::before{background:#F9D17A}.sample-drawer{border-top:1px solid var(--rule);padding-top:0;margin-top:24px}.sample-drawer>summary{display:flex;gap:16px;align-items:center;padding:15px 0;cursor:pointer;list-style:none;font-size:13px;font-weight:500}.sample-drawer>summary::before{content:'›';font-size:16px;font-weight:400;color:var(--mut);transform:rotate(0deg)}.sample-drawer[open]>summary::before{transform:rotate(90deg)}.sample-drawer>summary>span:last-child{font-size:var(--text-small);font-weight:400;color:var(--mut);margin-left:auto}.sample-drawer .sample-list{padding-bottom:16px}.sample-item{border-radius:3px;padding:10px 12px}.history-section{margin-top:20px}.history-section .section-heading h2{font-size:14px}.structure-issues{padding:8px 10px;border:1px solid #E4C6BE;background:#FFFAF8;border-radius:3px;margin:4px 0 12px}.issue-link{display:block;text-align:left;width:100%;border:0;background:none;color:#963F32;padding:5px 0;font-size:12px;line-height:1.7;cursor:pointer}.issue-link:hover{text-decoration:underline}.input-feedback.draft-feedback{color:var(--mut)}.hydrogen-toggle{display:flex;gap:5px;align-items:center;font-size:var(--text-small);color:var(--mut);padding:4px 6px;background:#fff;border:1px solid var(--rule);border-radius:3px;white-space:nowrap}.hydrogen-toggle input{accent-color:var(--teal2);width:12px;height:12px}.viewer-controls{flex-wrap:wrap}.workspace-grid.split-view{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.split-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:370px}.split-stage .structure-view{min-width:0}.split-stage #view-3d{border-left:1px solid var(--rule)}.split-stage .viewer-controls{left:6px;right:6px;gap:4px}.split-stage .viewer-controls select,.split-stage .viewer-controls .quiet-button{font-size:var(--text-small);padding:5px 6px}.split-view .panel-heading{padding:0 16px}.split-view .result-facts>div{display:block}.split-view .result-facts dd{text-align:left;margin-top:4px}.split-view .result-actions{gap:10px}.split-view .result-actions .text-button{font-size:var(--text-small)}@media(max-width:1000px){.workspace-grid.split-view{grid-template-columns:minmax(0,1fr)}.split-view .result-facts>div{display:flex}.split-view .result-facts dd{text-align:right;margin-top:0}}@media(max-width:700px){.workspace-main{padding-top:20px}.page-heading h1{font-size:22px}.draft-strip{margin-bottom:12px;font-size:var(--text-small);flex-wrap:wrap;gap:5px 14px}.panel-heading{padding:0 14px}.native-stage{height:350px}.split-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);height:650px}.split-stage #view-3d{border-left:0;border-top:1px solid var(--rule)}.score-number strong{font-size:34px}.comparison-molecule{padding:12px}.comparison-molecule img{height:125px}.difference-note{padding:10px 12px;gap:8px}.comparison-delta{padding:12px;gap:10px}.comparison-empty{font-size:var(--text-small)}.comparison-table td{font-size:var(--text-small)}.sample-drawer>summary{font-size:12px}.result-empty{min-height:160px;padding:28px 20px}.structure-issues{padding:6px 8px}.issue-link{font-size:var(--text-small)}}

.issue-detail{margin:5px 0;color:#963F32;font-size:12px;line-height:1.7}

@media(max-width:500px){.comparison-pair{grid-template-columns:minmax(0,1fr)}.comparison-molecule+.comparison-molecule{border-left:0;border-top:1px solid var(--rule)}.comparison-molecule img{height:155px}}

/* Single-molecule workflow: full-width drawing, followed by its result. */
.workbench-page .workspace-main{padding-top:20px}
.workbench-page .workspace-grid,
.workbench-page .workspace-grid.split-view{grid-template-columns:minmax(0,1fr);gap:20px}
.workbench-page .native-stage{height:420px}
.workbench-page #result-content{display:grid;grid-template-columns:300px minmax(0,1fr)}
.workbench-page .score-summary{grid-column:1;grid-row:1 / span 2;padding-bottom:8px}
.workbench-page .result-facts{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:0;margin-top:24px}
.workbench-page .result-panel .result-facts>div{display:block;border-bottom:0;padding:0}
.workbench-page .result-panel .result-facts dd{text-align:left;margin-top:7px}
.workbench-page .result-guidance{grid-column:2;grid-row:2;margin-top:10px}
.workbench-page .result-actions{grid-column:1 / -1;grid-row:3;gap:18px}
.workbench-page .split-view .result-actions .text-button{font-size:var(--text-small)}
.workbench-page .result-details{grid-column:1 / -1}
.workbench-page .result-empty{min-height:110px;padding:24px}
.workbench-page .split-view .panel-heading{padding:0 20px}
@media(max-width:700px){
 .workbench-page .workspace-main{padding-top:16px}
 .workbench-page .native-stage{height:350px}
 .workbench-page .split-stage{height:650px}
 .workbench-page #result-content{display:block}
 .workbench-page .result-facts{display:block;margin-top:16px;border-top:1px solid var(--rule)}
 .workbench-page .result-panel .result-facts>div{display:flex;padding:10px 0;border-bottom:1px solid var(--rule)}
 .workbench-page .result-panel .result-facts dd{text-align:right;margin-top:0}
 .workbench-page .split-view .panel-heading{padding:0 14px}
}

.workbench-page main>.result-panel{margin-top:20px;width:100%}

/* The editor frame owns permanent controls; 3D occupies only its reported canvas area. */
.workbench-page .structure-stage{display:block;position:relative}
.workbench-page .structure-stage #view-2d{position:relative;height:100%;width:100%}
.workbench-page .structure-stage #view-3d{position:absolute;z-index:2;min-width:0;background:#fff}
.workbench-page .structure-stage.has-both:not([data-stacked=true]) #view-3d{border-left:1px solid var(--rule)}
.workbench-page .structure-stage.has-both[data-stacked=true] #view-3d{border-top:1px solid var(--rule)}
.workbench-page .native-stage.has-both[data-stacked=true]{height:650px}
.viewer-zoom-controls{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--rule);border-radius:3px;padding:1px 3px;font-size:var(--text-small);color:var(--mut)}
.viewer-zoom-controls button{width:22px;height:24px;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;font-size:15px}
#viewer-zoom-level{min-width:36px;text-align:center;font-variant-numeric:tabular-nums}
.workbench-page .structure-stage #help-panel{position:absolute;top:calc(var(--editor-toolbar-height,44px) + 8px);right:10px;z-index:5;max-width:310px;max-height:calc(100% - var(--editor-toolbar-height,44px) - 20px);overflow-y:auto;padding:16px;background:#fff;border:1px solid #C7D9DF;border-radius:5px;box-shadow:0 8px 28px #193C4A14;font-size:var(--text-small);color:#49636E;line-height:1.9}
.workbench-page .structure-stage #help-panel b{display:block;color:var(--ink);margin-bottom:6px}
.workbench-page .structure-stage #help-panel p{margin:4px 0}
.workbench-page .viewer-controls.canvas-dock{left:auto;right:12px;bottom:12px;justify-content:flex-end;flex-wrap:nowrap;gap:2px}
.workbench-page .structure-stage #view-3d{opacity:0;transform:translateX(7px);pointer-events:none;transition:opacity 180ms ease,transform 220ms cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
.workbench-page .structure-stage #view-3d.is-open{opacity:1;transform:none;pointer-events:auto}
.workbench-page .native-stage{transition:height 220ms cubic-bezier(.2,.7,.2,1)}
@media(max-width:500px){.workbench-page .viewer-controls.canvas-dock{right:8px;bottom:8px;gap:0}}
@media(prefers-reduced-motion:reduce){.workbench-page .native-stage,.workbench-page .structure-stage #view-3d{transition:none;transform:none}}

/* Expand within the page so navigation and calculation history stay available. */
.workbench-page .molecule-panel{width:100%;margin-left:0;transition:width 220ms cubic-bezier(.2,.7,.2,1),margin-left 220ms cubic-bezier(.2,.7,.2,1)}
.workbench-page.editor-is-expanded .workspace-main{padding-top:0}
.workbench-page .molecule-panel.editor-expanded{width:100vw;margin-left:calc((100% - 100vw)/2);border:0;border-bottom:1px solid var(--rule);border-radius:0}
@media(prefers-reduced-motion:reduce){.workbench-page .molecule-panel{transition:none}}

/* Resize affordances sit between surfaces, outside the molecular drawing hit area. */
.editor-height-handle{height:12px;position:relative;border-top:1px solid var(--rule);background:#FAFCFC;cursor:ns-resize;touch-action:none;user-select:none}
.editor-height-handle::after{content:'';position:absolute;left:50%;top:4px;transform:translateX(-50%);width:32px;height:3px;border-radius:2px;background:#A7BCC2}
.canvas-divider{position:absolute;z-index:4;touch-action:none;user-select:none;cursor:ew-resize;background:transparent}
.canvas-divider::after{content:'';position:absolute;left:50%;top:50%;width:3px;height:30px;transform:translate(-50%,-50%);border-radius:2px;background:#A7BCC2}
.canvas-divider[data-stacked=true]{cursor:ns-resize}
.canvas-divider[data-stacked=true]::after{width:30px;height:3px}
.canvas-divider:hover,.canvas-divider:focus-visible,.canvas-divider.is-dragging{background:#176B7718}
.editor-height-handle:hover,.editor-height-handle:focus-visible,.editor-height-handle.is-dragging{background:#E5EFF0}
.canvas-divider:focus-visible,.editor-height-handle:focus-visible{outline:2px solid var(--teal2);outline-offset:-2px}
.workbench-page.canvas-resizing{user-select:none}
.workbench-page.canvas-resizing .native-stage{transition:none}
.workbench-page.canvas-resizing #editor,.workbench-page.canvas-resizing #view-3d{pointer-events:none}

/* Results lead with the submitted molecule, then score and supporting evidence. */
.workbench-page #result-content{display:block}
.workbench-page .result-panel>.panel-heading{min-height:48px}
.result-identity{display:flex;align-items:center;gap:16px;padding:12px 24px 20px}
.result-identity>img{width:80px;height:60px;object-fit:contain;flex:none}
.result-identity>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.result-identity b{font:500 17px var(--mono);color:var(--ink)}
.result-identity span{font-size:var(--text-small);color:var(--mut)}
.result-identity time{margin-left:auto;font-size:var(--text-small);color:var(--mut);font-variant-numeric:tabular-nums}
.result-overview{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(300px,1fr);gap:40px;padding:0 24px 22px}
.workbench-page .result-overview .score-summary{grid-area:auto;padding:0;min-width:0}
.score-reading{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:4px 0 20px}
.score-reading .score-number{margin:0}
.score-reading .score-number strong{font-size:40px;letter-spacing:-.04em}
.score-reading .decision{margin:0;font-size:12px}
.result-overview .score-track{height:6px;background:#E8EEF0;isolation:isolate}
.result-overview .score-track>#score-fill{background:#C8DEE2}
#score-seed-range{position:absolute;top:-3px;height:12px;min-width:2px;background:#176B7720;border:1px solid #87ADB5;border-radius:2px;z-index:1}
.result-overview .score-track>#threshold-mark{top:-5px;bottom:-5px;background:#64777D;z-index:2}
.result-overview .score-track #seed-marks i{top:1px;width:4px;height:4px;margin-left:-2px;background:var(--teal2);border:0;z-index:3}
#score-current{position:absolute;top:-4px;width:14px;height:14px;margin-left:-7px;border:3px solid #fff;border-radius:50%;background:var(--teal2);box-shadow:0 0 0 1px var(--teal2);z-index:4}
.result-overview .score-labels{position:relative;height:16px;margin-top:12px}
#threshold-label{position:absolute;transform:translateX(-50%);white-space:nowrap}
.score-legend{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:10px;color:var(--mut);font-size:var(--text-small)}
.score-legend>span{display:inline-flex;align-items:center;gap:6px}
.score-legend>span::before{content:'';display:block;width:7px;height:7px;background:var(--teal2);border-radius:50%}
.score-legend>.threshold-key::before{width:1px;height:11px;background:#64777D;border-radius:0}
.score-legend>.range-key::before{width:13px;height:7px;border:1px solid #87ADB5;background:#176B7720;border-radius:1px}
.result-overview .score-context{margin:16px 0 4px;font-size:var(--text-small)}
.score-percentile{font-size:var(--text-small);color:var(--mut);margin:0}
.workbench-page .result-overview .result-facts{grid-area:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;padding:2px 0 0 32px;border:0;border-left:1px solid var(--rule);align-content:start;min-width:0}
.workbench-page .result-overview .result-facts>div{display:block;border:0;padding:0;min-width:0}
.workbench-page .result-overview .result-facts dt{font-size:var(--text-small);color:var(--mut);margin:0 0 12px}
.workbench-page .result-overview .result-facts dd{font-size:17px;line-height:1.6;text-align:left;margin:0;font-weight:500}
.result-overview .result-facts dd[data-tone=positive]{color:var(--teal)}
.result-overview .result-facts dd[data-tone=warning]{color:#865F23}
.result-overview .result-facts p{font-size:var(--text-small);color:var(--mut);line-height:1.8;margin-top:9px}
.result-bottom{display:flex;align-items:center;gap:24px;margin:0 24px;padding:16px 0;border-top:1px solid var(--rule)}
.workbench-page .result-bottom .result-guidance{grid-area:auto;margin:0;flex:1;font-size:12px;line-height:1.8}
.workbench-page .result-bottom .result-actions{grid-area:auto;margin:0;gap:20px;flex:none}
.result-panel .result-details{margin:0 24px;padding:14px 0 16px}
.result-panel .result-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px}
.result-panel .result-details dl>div:first-child,.result-panel .result-details dl>div:nth-child(2){grid-column:1/-1}
.result-details .result-footnote{margin:16px 0 0;padding:14px 0 0}
.result-details .result-footnote p{max-width:75ch}
.result-stale-note{margin:0;padding:10px 24px;background:#FCF6E9;color:#79591F;font-size:12px;border-bottom:1px solid #EADCC0;line-height:1.8}
.result-panel.stale #result-content{opacity:.8}
.workbench-page .history-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto 70px auto;gap:20px;padding:12px 0;align-items:center;cursor:default}
.history-item .history-thumbnail{width:64px;height:48px;object-fit:contain;background:#fff;border-radius:3px}
.workbench-page .history-item>.history-identity{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;grid-column:auto}
.workbench-page .history-identity b{font-size:12px;width:auto}
.workbench-page .history-identity span{font-size:var(--text-small);width:100%;min-width:0}
.history-item time{font-size:var(--text-small);color:var(--mut);white-space:nowrap;font-variant-numeric:tabular-nums}
.workbench-page .history-item strong{font-size:16px;color:var(--teal);width:auto;text-align:right;margin:0}
.workbench-page .history-item>.history-actions{grid-column:auto;display:flex;gap:0}
@media(max-width:800px){
 .result-overview{grid-template-columns:minmax(250px,1fr) minmax(240px,1fr);gap:24px}
 .workbench-page .result-overview .result-facts{padding-left:24px;gap:18px}
 .result-bottom{align-items:flex-start;flex-direction:column;gap:12px}
 .workbench-page .history-item{gap:12px;grid-template-columns:56px minmax(0,1fr) auto 60px}
 .history-item .history-thumbnail{width:56px}
 .workbench-page .history-item>.history-actions{grid-column:2/-1;justify-content:flex-end;margin-top:-6px}
}
@media(max-width:700px){
 .result-identity{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px 12px;padding:12px 16px 20px}
 .result-identity>img{width:64px;height:48px}
 .result-identity time{grid-column:1/-1;margin:2px 0 0}
 .result-overview{display:block;padding:0 16px 18px}
 .score-reading{gap:12px;margin-bottom:20px}
 .score-reading .score-number strong{font-size:36px}
 .workbench-page .result-overview .result-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 0 0;margin:20px 0 0;border-left:0;border-top:1px solid var(--rule);gap:20px}
 .workbench-page .result-overview .result-facts dd{font-size:15px}
 .workbench-page .result-overview .result-facts dt{margin-bottom:8px}
 .result-bottom{margin:0 16px}
 .result-panel .result-details{margin:0 16px}
 .result-panel .result-details dl{grid-template-columns:minmax(0,1fr)}
 .result-stale-note{padding:10px 16px}
 .workbench-page .history-item{grid-template-columns:52px minmax(0,1fr) 54px;gap:10px}
 .history-item .history-thumbnail{width:52px;height:44px;grid-row:1/3}
 .history-item time{grid-column:2;grid-row:2}
 .workbench-page .history-item strong{grid-column:3;grid-row:1}
 .workbench-page .history-item>.history-actions{grid-column:3;grid-row:2;margin-top:0}
}

/* Keep the two ends of the calculation loop within reach. */
.result-heading-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:flex-end}
.text-button[hidden]{display:none}
.molecule-panel{scroll-margin-top:20px}
.input-actions>div{flex-wrap:wrap}
.workbench-page .result-overview .result-facts{align-content:start}
@media(max-width:700px){.result-heading-actions{gap:8px}.input-actions>div{gap:10px}.result-heading-actions .result-state{font-size:var(--text-small)}}


/* Native popover navigation keeps the mobile header to one row. */
.mobile-menu-toggle{display:none}
@media(max-width:700px){
 header.has-mobile-menu{height:var(--header-height);min-height:0}
 header.has-mobile-menu .in{height:100%;flex-wrap:nowrap;padding:0 16px;gap:8px}
 header.has-mobile-menu .brand{flex-wrap:nowrap;margin-right:auto}
 
 header.has-mobile-menu .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:10px;border:1px solid #6F879F;border-radius:4px;background:transparent;color:#fff;cursor:pointer}
 .mobile-menu-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 header.has-mobile-menu nav[popover]{position:fixed;inset:calc(var(--header-height) + 8px) 16px auto auto;margin:0;width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 80px);overflow-y:auto;display:none;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border:1px solid var(--rule);border-radius:4px;background:var(--paper);color:var(--ink);box-shadow:0 8px 24px #20242A18}
 header.has-mobile-menu nav[popover]:popover-open{display:flex;animation:mobile-nav-in 150ms ease-out}
 header.has-mobile-menu nav[popover] a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:0;border-radius:3px;font-size:14px;white-space:normal;color:var(--ink)}
 header.has-mobile-menu nav[popover] a:hover{background:var(--soft)}
 header.has-mobile-menu nav[popover] a.on{background:var(--selected);color:var(--accent)}
 header.has-mobile-menu nav[popover] :focus-visible{outline-color:var(--accent)}
}
@keyframes mobile-nav-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){header.has-mobile-menu nav[popover]:popover-open{animation:none}}
