.org341-page {
  --org-text:#e7f1e9;
  --org-accent:#d1eb9c;
  --org-border:#759c947a;
  background-position:center,right center;
}
.org341-page .c318-heading h1 { max-width:23ch; }
.org341-lab { min-width:0; color:var(--org-text,#e7f1e9); }
.org341-head { max-width:76ch; margin:0 0 1rem; }
.org341-head span { color:#c6dca4; font-size:.85rem; font-weight:700; }
.org341-head h2 { font-size:clamp(1.52rem,3vw,2.24rem); line-height:1.2; color:#f4f3e6; margin:.4rem 0 .65rem; }
.org341-head p { line-height:1.55; margin:0; color:#d4e4dc; }
.org341-options,.org341-reaction,.org341-inspector {
  min-width:0; border:1px solid var(--org-border,#759c947a); background:#132e36;
  border-radius:.7rem; padding:.9rem; margin:.85rem 0;
}
.org341-options { display:flex; flex-wrap:wrap; align-items:end; gap:.65rem 1rem; }
.org341-lab label { display:grid; gap:.4rem; min-width:0; font-size:.9rem; font-weight:650; color:#e2ede0; }
.org341-lab select {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0; border-radius:.4rem;
  color:#e8f0e6; background:#173730; border:1px solid #83a399; font:inherit; padding:.62rem .65rem;
}
.org341-options > label { flex:1 1 12rem; }
.org341-toolbar,.org341-steps { display:flex; flex-wrap:wrap; gap:.42rem; align-items:center; }
.org341-lab button {
  min-height:40px; padding:.55rem .7rem; font:650 .85rem/1.24 system-ui,sans-serif; color:#edf4e8;
  border:1px solid #829e99; border-radius:.42rem; background:#1c4149; cursor:pointer;
}
.org341-lab button[aria-pressed=true],.org341-lab button[aria-current=step] { background:#d0e699; color:#142e24; border-color:#e2f0bb; }
.org341-lab button:disabled { opacity:.48; cursor:default; }
.org341-lab :is(button,select,input,svg):focus-visible { outline:2px solid #e3f5b1; outline-offset:2px; }
.org341-instruction { color:#d4e4d6; margin:.75rem 0 .5rem; font-size:.87rem; }
.org341-models { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; align-items:stretch; }
.org341-models[data-count="1"] { grid-template-columns:minmax(0,1fr); }
.org341-models[data-count="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.org341-molecule {
  margin:0; min-width:0; display:flex; flex-direction:column; border-radius:.7rem;
  background:radial-gradient(ellipse at 48% 48%,#254654,#102730 68%,#0d2027);
  border:1px solid var(--org-border,#759c947a); overflow:hidden;
}
.org341-molecule figcaption {
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.22rem .75rem; align-items:center;
  padding:.65rem .75rem; background:#173640; color:#e9f1e8; line-height:1.35; font-size:.91rem; min-height:3rem;
}
.org341-molecule figcaption strong { color:#d7eaa9; }
.org341-molecule svg { display:block; width:100%; max-height:410px; height:auto; margin:auto; touch-action:pan-y; cursor:grab; }
.org341-molecule svg:active { cursor:grabbing; }
.org341-molecule svg:focus-visible { outline-offset:-3px; }
.org341-molecule svg [data-atom] { cursor:pointer; }
.org341-molecule svg text { stroke:none; paint-order:normal; }
.org341-legend { display:flex; flex-wrap:wrap; gap:.42rem .95rem; margin:.65rem 0; padding:0; list-style:none; color:#e1eae2; font-size:.85rem; }
.org341-legend li { display:flex; align-items:center; gap:.38rem; }
.org341-legend i { display:inline-block; width:.82rem; height:.82rem; border:1px solid #d7e5df80; border-radius:50%; background:var(--atom); }
.org341-inspector p { line-height:1.55; margin:.1rem 0 .7rem; }
.org341-inspector [data-reading] { color:#e5efcb; border-left:3px solid #b5d589; margin-top:.85rem; padding:.15rem .65rem; }
.org341-choices { margin-top:.7rem; align-items:end; }
.org341-notice { color:#f4e1ae; background:#293c34; border-left:3px solid #e1c476; padding:.55rem .75rem; line-height:1.5; }
.org341-equation { font-size:clamp(1.13rem,2.45vw,1.62rem); font-weight:750; color:#e1edbb; margin:.1rem 0 .5rem; overflow-wrap:anywhere; }
.org341-reaction p:not(.org341-equation) { color:#d6e4db; margin:.5rem 0; line-height:1.45; }
.org341-scrubber { margin:.65rem 0; }
.org341-scrubber input { width:100%; accent-color:#cce59a; }
.org341-inventory { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 0; }
.org341-inventory div { min-width:64px; border:1px solid #688981; border-radius:5px; padding:.43rem .6rem; color:#e2edd5; }
.org341-inventory dt { font-size:.82rem; }
.org341-inventory dd { margin:.3rem 0 0; font-variant-numeric:tabular-nums; font-weight:700; }
.org341-orbitals { border-top:1px solid #779b935e; margin-top:.75rem; padding-top:.7rem; }
.org341-orbitals label { max-width:21rem; }
.org341-orbitals [data-orbitals] { display:flex; align-items:center; gap:.75rem; margin-top:.4rem; }
.org341-orbitals svg { display:block; width:min(125px,28%); flex:none; }
.org341-orbitals [data-orbitals] strong { color:#deedb8; }
@media(max-width:660px) {
  .org341-models[data-count="3"] { grid-template-columns:minmax(0,1fr); }
  .org341-models { gap:.45rem; }
  .org341-molecule figcaption { font-size:.78rem; padding:.5rem .55rem; }
  .org341-options,.org341-reaction,.org341-inspector { padding:.65rem; }
  .org341-lab button { min-height:42px; }
}
.org341-bond-summary { margin:.25rem 0 .65rem; color:#d7edab; font-weight:650; font-size:.88rem; }
.org341-model-note { margin:.55rem 0 .1rem; color:#cdded3; font-size:.8rem; }
.org341-models[data-count="1"] .org341-molecule svg { max-height:350px; }
.org341-choices { margin:.5rem 0 .65rem; }
.org341-panes { margin:0 0 .55rem; }
.org341-panes:has(button[hidden]) { display:none; }
.org341-models.is-stacked { grid-template-columns:minmax(0,1fr); }
.org341-models.is-stacked svg { max-height:350px; }

/* Figuras intercaladas na leitura das quatro aulas de fundamentos. */
.org341-teaching { margin:1.45rem 0 1.75rem; min-width:0; }
.org341-figure-controls { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:.75rem; }
#chemistry-study .org341-figure-controls button {
  min-height:42px; padding:.45rem .78rem; border-color:#7c9a87; font-size:.88rem;
}
#chemistry-study .org341-figure-controls button[aria-pressed=true] {
  background:#d7e9b4; color:#172f28; border-color:#53765e;
}
#chemistry-study .org341-teaching button:focus-visible { outline:3px solid #366457; }
.org341-sketches {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:.65rem;
}
.org341-sketches:has(> :only-child) { grid-template-columns:minmax(0,29rem); }
.org341-sketch,.org341-orbital-demo {
  min-width:0; margin:0; background:#f7f7e9; color:#1c3838; border:1px solid #849b86;
  border-radius:.65rem; padding:.65rem .8rem;
}
.org341-sketch figcaption,.org341-orbital-demo figcaption { line-height:1.4; }
.org341-sketch svg { display:block; width:100%; max-height:174px; margin:auto; }
.org341-sketch svg path { stroke:#234342; stroke-width:2.8; stroke-linecap:round; }
.org341-sketch svg .is-multiple { stroke:#67439c; }
.org341-sketch svg .is-delocalized { stroke:#67439c; stroke-width:2.7; fill:none; }
.org341-sketch svg text {
  font:750 14px/1 system-ui,sans-serif; fill:#203b3d; text-anchor:middle; dominant-baseline:central;
  paint-order:stroke; stroke:#f7f7e9; stroke-width:4px; stroke-linejoin:round;
}
.org341-sketch svg .focus,.org341-sketch svg .accent { fill:#26554b; font-weight:850; }
.org341-sketch svg .focus { fill:#67439c; }
.org341-sketch svg .oxygen { fill:#aa332c; }
.org341-formula-display { min-height:94px; display:grid; place-items:center; font-size:clamp(1.5rem,4vw,2.6rem); font-weight:750; }
.org341-orbital-demo { max-width:29rem; background:#19343f; border-color:#6d8f89; color:#eff8ed; }
.org341-orbital-demo figcaption { display:flex; flex-wrap:wrap; gap:.35rem .85rem; }
.org341-orbital-demo figcaption span { font-size:.83rem; color:#d2e5df; }
.org341-orbital-demo svg { display:block; width:min(100%,225px); height:auto; margin:.2rem auto; }
#chemistry-study .org341-teaching p { font-size:.88rem; line-height:1.45; margin:.4rem 0 .15rem; }
.org341-geometry-demo { max-width:29rem; color:#edf4e8; }
.org341-geometry-demo svg { max-height:250px; cursor:default; }
#chemistry-study .org341-geometry-demo p { padding:0 .75rem .55rem; }
.org341-reading-step { color:#496c58; font-size:.79rem; font-weight:750; display:block; margin:0 0 .65rem; }
.org341-guide { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:.55rem; margin:.75rem 0; padding:0; list-style:none; counter-reset:org-step; }
.org341-guide li { counter-increment:org-step; display:flex; gap:.5rem; align-items:baseline; color:#deece2; font-size:.87rem; line-height:1.45; background:#15383b; border:1px solid #789a876b; border-radius:.5rem; padding:.65rem; }
.org341-guide li::before { content:counter(org-step); color:#d9eea8; font-weight:800; }
.org341-options > .org341-toolbar { min-width:0; }
.org341-molecule figcaption span { min-width:0; overflow-wrap:anywhere; }
#chemistry-study .org341-lab .org341-inspector button { padding:.45rem .65rem; }
.org341-models[data-count="1"] .org341-molecule svg,
.org341-models.is-stacked svg { width:min(100%,680px); }
@media(max-width:800px) {
  #chemistry-study .org341-foundations .c318-topics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  #chemistry-study .org341-foundations .c318-topics button { padding:.42rem .55rem; font-size:.8rem; line-height:1.25; }
  #chemistry-study .org341-foundations .c318-document { padding:1.1rem; }
}
@media(max-width:540px) {
  .org341-models[data-count="2"] { grid-template-columns:minmax(0,1fr); }
  .org341-models[data-count="2"] svg { max-height:245px; }
}
.org341-name-parts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; margin:.7rem 0 .15rem; }
.org341-name-parts div { background:#e4ede0; border-radius:.4rem; padding:.45rem; min-width:0; }
.org341-name-parts div:nth-child(2) { background:#e9e0f2; }
.org341-name-parts div:nth-child(3) { background:#efe7cd; }
.org341-name-parts dt,.org341-name-parts dd { margin:0; overflow-wrap:anywhere; }
.org341-name-parts dt,.org341-name-parts dd:last-child { font-size:.82rem; line-height:1.3; }
.org341-name-parts dd:nth-child(2) { font-size:1.65rem; font-weight:800; line-height:1.45; }
@media(max-width:540px) { .org341-panes { display:none; } }

.org341-sketch .org341-formula-display {
  display:flex; justify-content:center; align-items:center; text-align:center;
  padding:.5rem 0; font-size:clamp(1rem,2.2vw,1.5rem); overflow-wrap:anywhere; word-break:break-word;
}
.org341-sketch svg .hydrogen-bond { stroke:#6e438e; stroke-dasharray:2.5 5; }
.org341-sketch svg .org341-depth { stroke:#67439c; stroke-width:1.65; }
.org341-equation-parts {
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center; gap:.65rem; margin:.65rem 0;
}
.org341-equation-parts div { min-width:0; padding:.55rem .65rem; border-radius:.4rem; background:#284a4c; color:#edf7ef; }
.org341-change .org341-equation-parts div { color:#213c37; background:#e3eee0; }
.org341-equation-parts small { display:block; margin-bottom:.2rem; }
.org341-equation-parts strong { display:block; font-size:clamp(.94rem,2vw,1.16rem); overflow-wrap:anywhere; }
.org341-equation-parts > span { font-size:1.22rem; }
#chemistry-study .org341-lab .org341-balance {
  display:flex; align-items:center; flex-wrap:wrap; gap:.6rem .85rem;
  margin:.85rem 0; padding:.7rem .8rem; border-radius:.5rem; min-width:0;
}
#chemistry-study .org341-lab .org341-balance legend { font-size:.92rem; font-weight:700; }
#chemistry-study .org341-lab .org341-balance label { display:flex; gap:.48rem; align-items:center; padding:0; }
#chemistry-study .org341-lab .org341-balance select { width:auto; min-width:3.4rem; }
#chemistry-study .org341-lab .org341-balance p { flex:1 1 15rem; margin:0; }
.org341-inventory .org341-mismatch { border-color:#f2b574; background:#47352a; color:#fff1dc; }
#chemistry-study .org341-steps { margin-top:.7rem; }

.org341-boil { margin-top:.9rem; border-top:1px solid #779b9380; padding-top:.7rem; }
.org341-temperature {
  display:grid; grid-template-columns:4.3rem minmax(0,1fr) 4.4rem; gap:.55rem;
  align-items:center; margin:.55rem 0; max-width:39rem; font-size:.84rem;
}
.org341-temperature strong { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.org341-track { height:.55rem; border-radius:1rem; background:#44656c; position:relative; }
.org341-track i {
  position:absolute; left:var(--position); top:50%; width:.85rem; height:.85rem; transform:translate(-50%,-50%);
  border:1px solid #edf8dd; border-radius:50%; background:#c8e28e;
}
.org341-temperature:nth-of-type(2) .org341-track i { background:#b7cef5; }
.org341-axis { color:#c2d6cc; font-size:.7rem; }
.org341-axis > div { display:flex; justify-content:space-between; gap:.2rem; }
#chemistry-study .org341-molecule svg[aria-label$="Vista em bastão."] { cursor:default; }
#chemistry-study .org341-lab [data-pick][aria-pressed=true] {
  background:#d0e699; color:#142e24; border-color:#e2f0bb;
}
@media(max-width:540px) {
  #chemistry-study .org341-equation-parts { grid-template-columns:minmax(0,1fr); gap:.3rem; }
  #chemistry-study .org341-equation-parts > span { line-height:1; justify-self:center; transform:rotate(90deg); }
}
