/* The decorative layers never intercept data interaction or change header geometry. */
.atlas-gene-context{margin:16px 20px;border-top:1px solid #cbdedb;color:#284f59;font-size:12px;line-height:1.6;overflow-wrap:anywhere;min-width:0}
.atlas-gene-context>summary{font-weight:600}
.atlas-gene-scope{margin:0 0 14px;padding:12px;background:#e8f1ef;border-left:3px solid #248778}
.atlas-gene-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.atlas-gene-record>div{min-width:0}.atlas-gene-record dt{color:#5b7479;font-size:11px}.atlas-gene-record dd{margin:0;font-weight:600}
.atlas-gene-track{padding:12px;margin:12px 0;background:#edf4f3;border:1px solid #d6e4e2;border-radius:8px}
.atlas-gene-track h4,.atlas-gene-sequence h4{font-size:12px;margin:0 0 8px}
.atlas-gene-track svg{display:block;width:100%;height:auto;max-height:70px;overflow:visible}
.atlas-gene-track line{stroke:#90afad;stroke-width:3}.atlas-gene-track rect{fill:#187c70}
.atlas-gene-track polygon{fill:#b4ceca;stroke:#628e88;stroke-width:2}
.atlas-gene-track polygon[data-selected=true]{fill:#187c70;stroke:#0b514c;stroke-width:4}
.atlas-gene-axis{display:flex;justify-content:space-between;font-family:ui-monospace,monospace;font-size:10px}
.atlas-gene-note{font-size:11px;color:#5a7278;margin:8px 0;line-height:1.6}
.atlas-gene-track p{margin:8px 0 0}
.atlas-gene-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.atlas-gene-features button{min-width:0;min-height:48px;padding:9px 12px;text-align:left;border:1px solid #c9dcd8;background:#fff;color:#30535b;border-radius:6px;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.atlas-gene-features button[aria-pressed=true]{border-color:#187c70;background:#e2f0eb}
.atlas-gene-features b,.atlas-gene-features span{display:block}.atlas-gene-features span{font-size:10px;color:#536f76}
.atlas-gene-context :is(button,summary,select,a):focus-visible{outline:2px solid #187c70;outline-offset:3px}
.atlas-gene-selected{font-weight:600;margin:12px 0}
.atlas-gene-sequence{border-top:1px solid #d6e4e2;padding-bottom:10px}
.atlas-gene-navigation{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:12px 0}
.atlas-gene-navigation button,.atlas-gene-navigation select{min-height:44px;border:1px solid #bcd3cf;border-radius:5px;padding:8px;background:#fff;color:#30535b;font:inherit;max-width:100%}
.atlas-gene-navigation button{cursor:pointer;flex:1 1 130px}.atlas-gene-navigation button:disabled{opacity:.5;cursor:default}
.atlas-gene-navigation label{display:grid;gap:4px;flex:1 1 120px;font-size:11px}
.atlas-gene-bases{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;text-align:left}
.atlas-gene-bases caption{text-align:left;font-size:10px;color:#59747a;margin:6px 0}
.atlas-gene-bases th,.atlas-gene-bases td{padding:6px 4px;border-bottom:1px solid #d6e4e2;font-weight:400}
.atlas-gene-bases thead th{font-weight:600;font-size:10px}.atlas-gene-bases code{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.4px;color:#164e49;white-space:nowrap}
.atlas-gene-sources a{color:#146f65;text-decoration:underline;display:inline-block;min-height:32px;padding:4px 0}
@media(max-width:760px){.atlas-gene-context{margin:14px}.atlas-gene-record{grid-template-columns:minmax(0,1fr)}.atlas-gene-track{padding:9px}.atlas-gene-features{grid-template-columns:minmax(0,1fr)}.atlas-gene-navigation{align-items:stretch}.atlas-gene-navigation label{flex-basis:100%;order:-1}.atlas-gene-bases th,.atlas-gene-bases td{font-size:10px;padding:6px 2px}.atlas-gene-bases code{font-size:10px;letter-spacing:0}.atlas-gene-sources a{min-height:44px;padding:10px 0}}
@media print{.atlas-gene-context{margin:12px 0;break-inside:auto}.atlas-gene-track,.atlas-gene-record,.atlas-gene-bases{break-inside:avoid;print-color-adjust:exact}.atlas-gene-navigation,.atlas-gene-features{display:none!important}.atlas-gene-sources a::after{content:' (' attr(href) ')';overflow-wrap:anywhere}}
.atlas-mechanism-context{margin:4px 0 20px;border:1px solid #d4e4e3;border-radius:10px;background:#f0f7f5;color:#254b55;overflow-wrap:anywhere}
.atlas-mechanism-context>h3{margin:0;padding:12px 14px;font-size:13px;line-height:1.4;border-bottom:1px solid #d4e4e3}
.atlas-context-flow{counter-reset:context-step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0}
.atlas-context-flow>li{position:relative;min-width:0;padding:12px 14px;border-right:1px solid #d4e4e3;counter-increment:context-step}
.atlas-context-flow>li:last-child{border-right:0}
.atlas-context-flow h4{display:flex;align-items:center;gap:6px;margin:0 0 9px;font-size:11px;line-height:1.4;color:#426a70}
.atlas-context-flow h4::before{content:counter(context-step);display:grid;place-items:center;flex:0 0 20px;height:20px;background:#dceee8;color:#136d63;border-radius:50%;font-size:10px}
.atlas-context-flow h4 span{margin-left:auto;font-size:10px;font-weight:400}
.atlas-context-flow p{margin:6px 0;font-size:11px;line-height:1.5}
.atlas-context-code{font-weight:700;color:#176d64}
.atlas-context-flow ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:11px;line-height:1.5}
.atlas-context-flow ul li{min-width:0}
.atlas-context-flow a{color:#146f65;text-decoration:underline;text-underline-offset:2px}
.atlas-context-flow small{display:block;color:#526f76;font-size:10px;line-height:1.4}
.atlas-context-gene{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.atlas-context-extra{margin-top:8px;font-size:11px}
.atlas-context-extra summary{width:fit-content;min-height:28px;padding:4px 0;cursor:pointer;color:#146f65}
.atlas-context-extra ul{margin-top:6px}
.atlas-context-empty{color:#526f76}
.atlas-context-scope{margin:0;padding:10px 14px;border-top:1px solid #d4e4e3;font-size:11px;line-height:1.5;color:#526f76}
.atlas-mechanism-context :is(a,summary):focus-visible{outline:2px solid #148b80;outline-offset:3px;border-radius:2px}
@media(max-width:1100px){.atlas-context-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-context-flow>li:nth-child(2){border-right:0}.atlas-context-flow>li:nth-child(n+3){border-top:1px solid #d4e4e3}}
@media(max-width:600px){.atlas-context-flow>li{padding:10px}.atlas-context-flow a{display:inline-block;padding:3px 0;min-height:24px}.atlas-context-flow ul{font-size:12px}.atlas-context-extra summary{min-height:44px;padding:12px 0}}
@media(max-width:359px){.atlas-context-flow{grid-template-columns:minmax(0,1fr)}.atlas-context-flow>li{border-right:0}.atlas-context-flow>li+li{border-top:1px solid #d4e4e3}}
.atlas-mechanism-scene{margin:0 0 26px;overflow:hidden;border:1px solid #d9e4e5;border-radius:14px;background:#f7faf9;contain:layout;min-width:0}
.atlas-lesson-chooser{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.atlas-lesson-chooser button{min-height:44px;padding:9px 15px;border:1px solid #bfd2d3;border-radius:7px;color:#3d5e66;background:#fff;font:inherit;font-size:12px;cursor:pointer}
.atlas-lesson-chooser button[aria-pressed=true]{border-color:#248778;background:#e6f4ef;color:#136e61}
.atlas-lesson-chooser button:focus-visible{outline:2px solid #148b80;outline-offset:3px}
.atlas-scene-heading{display:flex;justify-content:space-between;gap:12px;padding:17px 20px;align-items:center}
.atlas-scene-heading small{font-size:10px;color:#526f76;letter-spacing:.7px}
.atlas-scene-heading h3{margin:5px 0 0;font-size:18px;color:#1b404b;line-height:1.3}
.atlas-scene-heading>span{font-size:11px;color:#526e77;white-space:nowrap}
.atlas-scene-viewport{position:relative;width:100%;aspect-ratio:5/3;background:#091b26;overflow:hidden;isolation:isolate}
.atlas-scene-poster,.atlas-scene-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.atlas-scene-canvas{z-index:1}
.atlas-scene-labels{position:absolute;inset:0;z-index:2;pointer-events:none}
.atlas-scene-labels span{position:absolute;max-width:38%;font-size:10px;line-height:1.3;color:#edf8f7;text-shadow:0 1px 4px #071b26;background:#0a1f2bcc;padding:4px 7px;border:1px solid #92b8bc30;border-radius:4px;transform:translate(-50%,-50%);white-space:normal;text-align:center}
.atlas-scene-labels [data-scene-label=outside]{left:22.2%;top:17.1%}
.atlas-scene-labels [data-scene-label=outer]{left:31.4%;top:27.1%}
.atlas-scene-labels [data-scene-label=periplasm]{left:27.1%;top:50.2%}
.atlas-scene-labels [data-scene-label=inner]{left:26.1%;top:72.8%}
.atlas-scene-labels [data-scene-label=enzyme]{left:57%;top:41.6%}
.atlas-scene-labels [data-scene-label=target]{left:72.1%;top:62%}
.atlas-scene-labels [data-scene-label=water]{left:54.6%;top:40.4%}
.atlas-scene-labels [data-scene-label=product]{left:46.7%;top:58.4%}
.atlas-scene-labels [data-scene-label=water]{transform:translate(-120%,-160%)}
.atlas-scene-labels [data-scene-label=product]{transform:translate(-50%,-180%)}
.atlas-scene-labels [data-scene-label=target]{transform:translate(-50%,-170%)}
.atlas-mechanism-scene[data-motion-mechanism="MEXAB"] [data-scene-label="resting"]{left:65%!important;top:auto!important;bottom:6px;transform:translate(-50%,0)}
.atlas-scene-controls{display:flex;align-items:center;gap:8px;padding:12px 18px 0;flex-wrap:wrap}
.atlas-scene-controls button{border:1px solid #bfd2d3;border-radius:6px;padding:7px 13px;background:#fff;font:inherit;font-size:11px;cursor:pointer}
.atlas-scene-controls span{margin-left:auto;color:#526f76;font-size:10px}
.atlas-scene-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 18px}
.atlas-scene-stages button{border:1px solid #d1dfe0;border-radius:6px;padding:10px 12px;text-align:left;font:inherit;font-size:11px;background:#fff;color:#3d5e66;cursor:pointer;min-width:0}
.atlas-scene-stages button[aria-pressed=true]{border-color:#248778;background:#e6f4ef;color:#136e61}
.atlas-mechanism-scene button:focus-visible{outline:2px solid #148b80;outline-offset:3px}
.atlas-scene-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.atlas-scene-stages button,.atlas-scene-controls button{min-height:44px}
.atlas-scene-description{padding:0 20px;margin:14px 0;min-height:48px;font-size:12px;line-height:1.65;color:#254753}
.atlas-scene-priority{font-size:12px;background:#eef5f2;border-top:0;border-bottom:1px solid #d4e1df}
.atlas-scene-views{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid #dce7e6}
.atlas-scene-views button,.atlas-scene-story-steps button{min-height:44px;border:1px solid #bfd2d3;border-radius:6px;padding:8px 12px;background:#fff;color:#305964;font:inherit;font-size:12px;cursor:pointer}
.atlas-scene-views [aria-pressed=true]{border-color:#248778;background:#e6f4ef;color:#136e61}
.atlas-scene-story-steps{list-style:none;margin:0;padding:14px;display:grid;gap:14px}
.atlas-scene-story-steps li{border:1px solid #d8e6e2;border-radius:8px;padding:16px;background:#fff;min-width:0;scroll-margin-top:100px}
.atlas-scene-story-steps [data-current=true]{border-color:#248778;background:#eef7f2}
.atlas-scene-story-steps h4,.atlas-scene-comparison h4{font-size:13px;line-height:1.5;margin:0 0 8px;color:#254753}
.atlas-scene-story-steps p,.atlas-scene-comparison p{font-size:12px;line-height:1.7;color:#345761;margin:0 0 12px}
.atlas-scene-story-steps img{display:none;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;border-radius:5px;margin-bottom:12px;background:#091b26}
.atlas-mechanism-scene[data-view=story]{contain:none;overflow:visible}
.atlas-mechanism-scene[data-view=story] .atlas-scene-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.atlas-mechanism-scene[data-view=story] .atlas-scene-viewport{position:sticky;top:86px;border-radius:0 0 6px 0}
.atlas-mechanism-scene[data-view=story] .atlas-scene-labels{display:none}
.atlas-scene-comparison{padding:18px}
.atlas-scene-comparison .atlas-scene-compare-note{padding:10px;background:#eef5f2;border-radius:5px;font-size:11px}
.atlas-scene-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.atlas-scene-compare-grid figure{margin:0;min-width:0;border:1px solid #d8e6e2;border-radius:8px;overflow:hidden;background:#fff}
.atlas-scene-compare-grid label{display:grid;gap:8px;padding:12px;color:#426a70;font-size:12px}
.atlas-scene-compare-grid select{min-width:0;width:100%;min-height:44px;padding:8px;border:1px solid #bfd2d3;border-radius:5px;background:#fff;color:#254753;font:inherit;font-size:12px}
.atlas-scene-compare-grid select:focus-visible{outline:2px solid #148b80;outline-offset:3px}
.atlas-scene-compare-grid img{display:block;width:100%;height:auto;aspect-ratio:5/3;background:#091b26;object-fit:cover}
.atlas-scene-compare-grid figcaption{padding:14px;overflow-wrap:anywhere}
.atlas-mechanism-scene[data-view=compare] :is(.atlas-scene-controls,.atlas-scene-stages,.atlas-scene-description,.atlas-scene-navigation,.atlas-scene-timeline,.atlas-scene-key,[data-scene-label-toggle],[data-scene-link]){display:none}
@media(max-width:1100px){.atlas-mechanism-scene[data-view=story] .atlas-scene-body{grid-template-columns:minmax(0,1fr)}.atlas-mechanism-scene[data-view=story] .atlas-scene-viewport{position:relative;top:0}.atlas-scene-story-steps img{display:block}.atlas-scene-compare-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.atlas-scene-views{padding:12px;gap:6px}.atlas-scene-views button{font-size:11px;padding:8px}.atlas-scene-comparison,.atlas-scene-story-steps{padding:12px}.atlas-scene-story-steps li{padding:12px}}
.atlas-scene-navigation{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:12px 18px}
.atlas-scene-navigation button,.atlas-scene-reading-options button{min-height:44px;padding:8px 12px;border:1px solid #bfd2d3;border-radius:6px;background:#fff;color:#305964;font:inherit;font-size:11px;cursor:pointer}
.atlas-scene-navigation button:disabled{opacity:.5;cursor:default}
.atlas-scene-navigation output{font-size:11px;color:#41666c;text-align:center;white-space:nowrap}
.atlas-scene-timeline{display:grid;gap:8px;margin:12px 20px;font-size:11px;color:#426a70}
.atlas-scene-timeline input{width:100%;min-height:32px;margin:0;accent-color:#147d70;cursor:pointer}
.atlas-scene-timeline input:focus-visible,.atlas-scene-reading summary:focus-visible,.atlas-scene-key summary:focus-visible,.atlas-scene-reading-options a:focus-visible{outline:2px solid #148b80;outline-offset:3px}
.atlas-scene-fallback,.atlas-scene-unavailable{margin:12px 20px;padding:10px 12px;background:#eef4f3;border-radius:6px;font-size:12px;line-height:1.5;color:#41666c}
.atlas-scene-reading,.atlas-scene-key{margin:12px 20px;border-top:1px solid #dce7e6;color:#254753;font-size:12px;line-height:1.6}
.atlas-mechanism-scene summary{padding:12px 0;min-height:44px;cursor:pointer;color:#146f65}
.atlas-scene-reading ol{list-style:none;margin:0;padding:0}
.atlas-scene-reading li{padding:8px 0}
.atlas-scene-reading h4{margin:0;font-size:12px}
.atlas-scene-reading p{margin:5px 0;font-size:12px}
.atlas-scene-key ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.atlas-scene-key li{padding:4px 8px;border:1px solid #d1dfe0;border-radius:5px;background:#edf5f2;font-size:11px;max-width:100%;overflow-wrap:anywhere}
.atlas-scene-reading-options{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 20px 16px}
.atlas-scene-reading-options [aria-pressed=true]{border-color:#248778;background:#e6f4ef}
.atlas-scene-reading-options a{color:#146f65;font-size:11px;text-decoration:underline;padding:8px 0;min-height:32px}
.atlas-mechanism-scene[data-labels=false] .atlas-scene-labels{display:none}
@media(max-width:760px){.atlas-scene-labels{display:none}.atlas-scene-navigation{margin:12px}.atlas-scene-navigation button{font-size:10px;padding:8px}.atlas-scene-timeline,.atlas-scene-reading,.atlas-scene-key,.atlas-scene-reading-options,.atlas-scene-fallback{margin-left:14px;margin-right:14px}.atlas-scene-reading-options [data-scene-label-toggle]{display:none}}
@media print{
  .atlas-scene-views,.atlas-scene-story-steps,.atlas-scene-comparison select{display:none!important}
  .atlas-mechanism-scene[data-view=story] .atlas-scene-body{display:block}.atlas-mechanism-scene[data-view=story] .atlas-scene-viewport{position:relative;top:0}
  body:has(.atlas-mechanism-scene) :is(header,footer,.mechanism-list-panel,.mechanism-toolbar,.mechanism-hero,.atlas-lesson-chooser,.atlas-scene-controls,.atlas-scene-stages,.atlas-scene-navigation,.atlas-scene-timeline,.atlas-scene-reading-options,.atlas-scene-announcement,.atlas-scene-fallback,.atlas-pwa-tools,.atlas-pwa-dialog,.prototype-banner,.mechanism-kpis){display:none!important}
  body:has(.atlas-mechanism-scene),body:has(.atlas-mechanism-scene) :is(.workspace,.mechanism-layout,.mechanism-detail,.mechanism-card){height:auto!important;max-height:none!important;overflow:visible!important;display:block!important;width:auto!important;background:#fff!important}
  .atlas-mechanism-scene{contain:none;overflow:visible;border-radius:0;break-inside:auto}
  .atlas-scene-canvas{display:none!important}.atlas-scene-poster{opacity:1!important;visibility:visible!important}
  .atlas-scene-viewport{max-width:145mm;break-inside:avoid;print-color-adjust:exact}
  .atlas-scene-priority,.atlas-context-flow{print-color-adjust:exact}
  .atlas-scene-reading li,.atlas-scene-model,.atlas-context-flow>li{break-inside:avoid}
  .atlas-scene-model a::after{content:' (' attr(href) ')';overflow-wrap:anywhere}
  .atlas-mechanism-context details{display:block}.atlas-mechanism-context details::details-content{content-visibility:visible;display:block}
}
.atlas-scene-catalog{margin:0 20px;padding:10px 0;border-top:1px solid #dce7e6;font-size:11px;line-height:1.6;color:#567078;overflow-wrap:anywhere}
.atlas-scene-catalog p{margin:4px 0}
.atlas-scene-model{font-size:10px;line-height:1.6;color:#526f76;padding:0 20px;margin:10px 0}
body .atlas-scene-model a{color:#167767;text-decoration:underline}
.atlas-scene-scope{font-size:11px;line-height:1.6;color:#455f68;background:#eaf1f0;padding:12px 20px;margin:0;border-top:1px solid #d4e1df}
.atlas-mechanism-scene [hidden]{display:none!important}
#mechanism-detail .amr-motion[hidden]{display:none!important}
@media(max-width:760px){.atlas-scene-heading{padding:14px}.atlas-scene-heading h3{font-size:16px}.atlas-scene-heading>span{display:none}.atlas-scene-labels span{font-size:8px;padding:3px 4px}.atlas-scene-stages{margin:10px 12px}.atlas-scene-stages button{font-size:10px;padding:8px}.atlas-scene-description{padding:0 14px;min-height:72px}.atlas-scene-controls{padding:10px 12px 0}.atlas-scene-controls span{margin-left:0}.atlas-scene-catalog{margin:0 14px}.atlas-scene-scope,.atlas-scene-model{padding-left:14px;padding-right:14px}}
@media(max-width:760px){.atlas-scene-labels :is([data-scene-label=outside],[data-scene-label=periplasm],[data-scene-label=water],[data-scene-label=product]){display:none}}
@media(max-width:760px){.atlas-scene-labels [data-scene-label=target]{transform:translate(-50%,-50%)}}
.atlas-scene-labels [data-scene-label="active"]{left:50%;top:43%;transform:translate(-115%,40%)}
.atlas-scene-labels [data-scene-label="anchor"]{left:62%;top:32%;transform:translate(10%,-70%)}
@media(max-width:760px){.atlas-scene-labels [data-scene-label="anchor"]{display:none}.atlas-scene-labels [data-scene-label="active"]{font-size:8px}}
