/* Ausgeology · Air and water: this lesson's own blocks. Loaded after lesson.css. */
:root {
  --role-pre: #1d5f8a; --role-que: #a5481a; --role-cla: #3e6b2a; --role-sum: #6c4fa8;
  --crust: #8a6a44; --mantle-u: #d98a3a; --mantle-l: #c0612b; --outer: #e3b341; --inner: #f1d98a; --mantle: #d27a35;
  --wv-dot: #1d5f8a; --wv-bg: #eef3f6; --wv-liq: #dbe8f3; --hs: #b8501a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --role-pre: #6aaedc; --role-que: #ec8a52; --role-cla: #8cc56f; --role-sum: #b49ae8;
    --crust: #7a5e3e; --mantle-u: #a8682b; --mantle-l: #8f4a22; --outer: #b38a2c; --inner: #c9b06a; --mantle: #9c5a28;
    --wv-dot: #6aaedc; --wv-bg: #1b2a33; --wv-liq: #1a3346; --hs: #ec8a52;
  }
}
:root[data-theme="dark"] {
  --role-pre: #6aaedc; --role-que: #ec8a52; --role-cla: #8cc56f; --role-sum: #b49ae8;
  --crust: #7a5e3e; --mantle-u: #a8682b; --mantle-l: #8f4a22; --outer: #b38a2c; --inner: #c9b06a; --mantle: #9c5a28;
  --wv-dot: #6aaedc; --wv-bg: #1b2a33; --wv-liq: #1a3346; --hs: #ec8a52;
}

/* ---------- team roles ---------- */
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 960px) { .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .role-grid { grid-template-columns: minmax(0, 1fr); } }
.role-card { display: grid; gap: 6px; align-content: start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.role-card b { font-size: 1.05rem; }
.role-card span { font-size: 0.93rem; line-height: 1.4; }
.role-card i { font-style: normal; font-weight: 700; }
.role-card.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.role-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.role-tag { display: inline-block; justify-self: start; font: 700 0.72rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: #fff; vertical-align: 1px; }
.role-pre { background: #1d5f8a; } .role-que { background: #a5481a; } .role-cla { background: #3e6b2a; } .role-sum { background: #6c4fa8; }
.role-line { font-size: 0.95rem; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- POGIL activity parts ---------- */
.model-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); display: grid; gap: 12px; }
.model-box > .label { color: var(--accent); }
.ctq-list { display: grid; gap: 14px; }
.ctq { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ctq-q { margin: 0; font-weight: 700; line-height: 1.4; }
.ctq-type { display: inline-block; font: 700 0.7rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); margin-left: 6px; vertical-align: 2px; }
.ctq textarea { width: 100%; min-height: 4.5em; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.ctq-btn { justify-self: start; }
.ctq-model { padding: 10px 12px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); }
.ctq-model p { margin: 0; }
.ctq .check { margin: 0; }
.st-how.st-how-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .st-how.st-how-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .st-how.st-how-4 { grid-template-columns: minmax(0, 1fr); } }
.p-c i { background: #8a5a12; } .p-d i { background: #2f7a4a; }
.halo { fill: none !important; stroke: var(--surface); stroke-width: 4.5; stroke-linejoin: round; opacity: 0.9; }

/* ---------- depth profiles ---------- */
.pf-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.92rem; margin: 4px 0 6px; }
.pf-key span { display: inline-flex; align-items: center; gap: 6px; }
.pf-sw { display: inline-block; width: 22px; height: 4px; border-radius: 2px; }
.pf-axis { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.pf-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.pf-tick { font: 500 13px var(--font-mono); fill: var(--ink-2); }
.pf-band { fill: var(--accent-soft); opacity: 0.55; } .pf-band-2 { opacity: 0.25; }
.pf-bandlab { font: 700 12px var(--font-body); fill: var(--ink-2); }
.pf-line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pf-a { stroke: #1d5f8a; background: #1d5f8a; } .pf-b { stroke: #b8501a; background: #b8501a; } .pf-c { stroke: #2f7a4a; background: #2f7a4a; }
:root[data-theme="dark"] .pf-a { stroke: #6aaedc; background: #6aaedc; } :root[data-theme="dark"] .pf-b { stroke: #ec8a52; background: #ec8a52; } :root[data-theme="dark"] .pf-c { stroke: #8cc56f; background: #8cc56f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-a { stroke: #6aaedc; background: #6aaedc; } :root:not([data-theme="light"]) .pf-b { stroke: #ec8a52; background: #ec8a52; } :root:not([data-theme="light"]) .pf-c { stroke: #8cc56f; background: #8cc56f; } }



/* ---------- the Stepper diagrams: energy, circulation, conveyor, Pacific ---------- */
.dg-space { fill: #1c2433; }
.dg-air { fill: #9cc3de; opacity: 0.32; }
.dg-ground { fill: #8c7a55; }
.dg-sea { fill: #2f6f9a; opacity: 0.55; }
.dg-warm { fill: #d4541c; opacity: 0.55; }
.dg-ice { fill: #e8eef2; stroke: #9fb3c0; stroke-width: 1.5; }
.dg-land { fill: #8c7a55; }
.dg-therm { fill: none; stroke: #f2f5f7; stroke-width: 3; stroke-dasharray: 9 6; }
.dg-sun { fill: #f2b51d; }
.dg-cloud { fill: #ffffff; opacity: 0.9; stroke: #9fb3c0; stroke-width: 1.5; }
.dg-mol { fill: #d4541c; stroke: #fff; stroke-width: 2; }
.dg-band { fill: #6c4fa8; opacity: 0.22; stroke: #6c4fa8; stroke-width: 2; }
.dg-dot { fill: #b8501a; stroke: #fff; stroke-width: 2; }
.dg-tick { stroke: var(--ink); stroke-width: 2; }
.dg-lab { font: 700 16px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.dg-sm { font-size: 14px; }
.dg-k { fill: #6c4fa8; } .dg-hk { fill: #b8501a; }
:root[data-theme="dark"] .dg-k { fill: #c3aef0; } :root[data-theme="dark"] .dg-hk { fill: #f09a66; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dg-k { fill: #c3aef0; } :root:not([data-theme="light"]) .dg-hk { fill: #f09a66; } }
.dg-arrow { fill: none; stroke-width: 5; stroke-linecap: round; }
.dga-ink { stroke: var(--ink); } .dga-hot { stroke: #d4541c; } .dga-cold { stroke: #2a7cc0; } .dga-sun { stroke: #e0a10e; }
.dg-h-ink { fill: var(--ink); } .dg-h-hot { fill: #d4541c; } .dg-h-cold { fill: #2a7cc0; } .dg-h-sun { fill: #e0a10e; }
