/* Ausgeology · Where would you drill?: styles for this lesson's coaching panel, images, maps, sections and planners. */
:root {
  --wd-sea: #cfe3ec; --wd-land: #f1ead9; --wd-coast: #8fb3c4;
  --wd-geo: #6a4fa3; --wd-need: #1d6f8f; --wd-red: #c0392b; --wd-gold: #c98a12; --wd-hot: #b4441c;
  --wd-plan: #f3ead6; --wd-plan-2: #eadfc6; --wd-herit: #8a3b8f; --wd-mound: #8a5a1c; --wd-track: #8a6a3a;
  --wd-call-halo: rgba(255, 255, 255, 0.92);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wd-sea: #17323f; --wd-land: #2a2f2b; --wd-coast: #4f8299;
    --wd-geo: #b9a2ec; --wd-need: #6fb6d2; --wd-red: #f07a6a; --wd-gold: #f0c050; --wd-hot: #f0905a;
    --wd-plan: #2b2b25; --wd-plan-2: #34342c; --wd-herit: #d59ad9; --wd-mound: #e0a868; --wd-track: #c8a46a;
    --wd-call-halo: rgba(17, 21, 23, 0.9);
  }
}
:root[data-theme="dark"] {
  --wd-sea: #17323f; --wd-land: #2a2f2b; --wd-coast: #4f8299;
  --wd-geo: #b9a2ec; --wd-need: #6fb6d2; --wd-red: #f07a6a; --wd-gold: #f0c050; --wd-hot: #f0905a;
  --wd-plan: #2b2b25; --wd-plan-2: #34342c; --wd-herit: #d59ad9; --wd-mound: #e0a868; --wd-track: #c8a46a;
  --wd-call-halo: rgba(17, 21, 23, 0.9);
}

/* the syllabus quotes in the teacher notes */
blockquote.scsa { margin: 0; padding: 12px 16px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface); max-width: 72ch; }
blockquote.scsa p { margin: 0 0 6px; }
blockquote.scsa ul { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }

/* the brief, what the geologist is after, and the field notebook */
.wd-brief, .wd-need, .wd-log { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; padding: 16px 18px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); max-width: 860px; }
.wd-brief > *, .wd-need > *, .wd-log > * { margin: 0; }
.wd-brief { border-left: 6px solid var(--ochre); }
.wd-brief > .label { color: var(--ochre); }
.wd-brief ul { padding-left: 1.3em; display: grid; gap: 4px; }
.wd-need { border-left: 6px solid var(--wd-need); }
.wd-need > .label { color: var(--wd-need); }
.wd-log { border-left: 6px solid var(--wd-geo); }
.wd-log > .label { color: var(--wd-geo); }
.wd-log .note textarea { min-height: 5.5em; }
/* how much help a screen gives */
.wd-helpm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.wd-helpm b { color: var(--ink); }
.wd-dots { display: inline-flex; gap: 4px; }
.wd-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--wd-geo); }
.wd-dots i.on { background: var(--wd-geo); }
.wd-cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wd-cycle > li { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.wd-cycle h3 { font-size: 1.04rem; margin: 0; }
.wd-cycle p { margin: 0; font-size: 0.97rem; line-height: 1.5; }
.wd-cycle .small { color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 860px) { .wd-cycle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .wd-cycle { grid-template-columns: minmax(0, 1fr); } }

/* number answers */
.num { display: grid; gap: 8px; }
.num label { font-weight: 700; line-height: 1.4; }
.num-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.num-row input { width: 9.5em; max-width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 1.04rem; color: var(--ink); background: var(--surface); font-variant-numeric: tabular-nums; }
.num-row input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 0; }
.num.is-right .num-row input { border-color: var(--good); }
.num.is-wrong .num-row input { border-color: var(--bad); }
.num-unit { color: var(--ink-2); }
.num .fb { margin: 0; }
.nums { display: grid; gap: 18px; max-width: 820px; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; cursor: pointer; min-height: 40px; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent); }

/* the models: shared pieces */
.lab.viz { margin: 4px 0 6px; }
.viz-lead { margin: 0; color: var(--ink-2); max-width: 72ch; }
.viz-read { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); line-height: 1.5; max-width: 820px; }
.sh-axt { font-weight: 700; }
.sh-h4 { margin: 4px 0 0; font-size: 1.02rem; }
.wd-imgbox { position: relative; width: 100%; max-width: 760px; line-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.wd-imgbox canvas { display: block; width: 100%; height: auto; }
.wd-pix canvas { image-rendering: pixelated; }
.wd-over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wd-over.is-picking { cursor: crosshair; }
.wd-over:focus-visible, .wd-plan svg:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.wd-imgfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; max-width: 760px; }
.wd-imgfoot p { margin: 0; }
.wd-views { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 760px; }
.wd-opt { min-height: 40px; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 650; cursor: pointer; text-align: left; line-height: 1.3; }
.wd-opt:hover { border-color: var(--accent); }
.wd-opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wd-opt:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wd-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.wd-budget { font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.wd-ramp { display: grid; grid-template-columns: auto minmax(120px, 220px); grid-template-rows: auto auto; column-gap: 10px; align-items: center; font-size: 0.85rem; color: var(--ink-2); }
.wd-ramp-t { grid-row: 1 / span 2; font-weight: 700; }
.wd-ramp-bar { height: 12px; border-radius: 6px; border: 1px solid var(--line); }
.wd-ramp-lo, .wd-ramp-hi { grid-row: 2; grid-column: 2; }
.wd-ramp-hi { justify-self: end; }
@media (max-width: 620px) { .lab.viz .slider-row .label { white-space: normal; } }
.slider-row output[for="dr-h0"] { min-width: 7.5em; }
.wd-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 980px) { .wd-split { grid-template-columns: minmax(0, 1fr); } }
.wd-fig { display: grid; gap: 10px; min-width: 0; }
.wd-fig svg { width: 100%; height: auto; display: block; }

/* text on the images */
.wd-lab { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: var(--ink); }
.wd-lab-call { font-family: var(--font-body); font-size: 13px; font-weight: 750; fill: #111; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 4px; stroke-linejoin: round; }
.wd-ring { fill: none; stroke: #ffe14d; stroke-width: 3; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7)); }
.wd-ring-ans { stroke: #3cff9d; }
.wd-ann-flank { fill: none; stroke: #ffe14d; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9)); }
.wd-ann-edge { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9)); }
.wd-ann-q { fill: none; stroke: #ffe14d; stroke-width: 3; stroke-dasharray: 3 7; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9)); }
.wd-true-trace { fill: none; stroke: #3cff9d; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.85)); }
.wd-target-zone { fill: rgba(60, 255, 157, 0.18); stroke: #3cff9d; stroke-width: 2; stroke-dasharray: 5 4; }
.wd-mark circle { fill: #ffe14d; stroke: #111; stroke-width: 2; }
.wd-mark-n { font-family: var(--font-mono); font-size: 11px; font-weight: 800; fill: #111; }
.wd-mark-s circle { r: 7px; }
.wd-mark-s .wd-mark-n { font-size: 9px; }
.wd-trace { fill: none; stroke: #ffe14d; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9)); }
.wd-cross circle, .wd-cross path { fill: none; stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 0 2px #000); }
.wd-chip-bg { fill: rgba(255, 255, 255, 0.86); stroke: rgba(0, 0, 0, 0.25); stroke-width: 1; }
.wd-scale-line, .wd-scale-tick { stroke: #111; stroke-width: 2.5; fill: none; }
.wd-scale-t { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: #111; }
.wd-north path { fill: #111; }
.wd-north-t { font-family: var(--font-mono); font-size: 8.5px; font-weight: 800; fill: #111; }

/* screen 1: the map of Western Australia */
.wd-wamap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 820px) { .wd-wamap { grid-template-columns: minmax(0, 1fr); } }
.wd-wamap-fig svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); }
.wd-wamap-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.wd-sea { fill: var(--wd-sea); }
.wd-land { fill: var(--wd-land); stroke: var(--wd-coast); stroke-width: 1.2; }
.wd-coast { fill: none; stroke: var(--wd-coast); stroke-width: 1.2; }
.wd-border { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 3; fill: none; }
.wd-prov { stroke-width: 1; }
.wd-prov-pilbara { fill: rgba(196, 98, 52, 0.28); stroke: rgba(196, 98, 52, 0.7); }
.wd-prov-yilgarn { fill: rgba(176, 138, 52, 0.26); stroke: rgba(176, 138, 52, 0.7); }
.wd-prov-afo { fill: rgba(52, 118, 160, 0.24); stroke: rgba(52, 118, 160, 0.7); }
.wd-provkey { list-style: none; margin: 8px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.86rem; color: var(--ink-2); max-width: 520px; }
.wd-provkey li { display: flex; align-items: center; gap: 6px; }
.wd-provkey .wd-sw { transform: none; }
.wd-sw.wd-prov-pilbara { background: rgba(196, 98, 52, 0.45); border-color: rgba(196, 98, 52, 0.8); }
.wd-sw.wd-prov-yilgarn { background: rgba(176, 138, 52, 0.42); border-color: rgba(176, 138, 52, 0.8); }
.wd-sw.wd-prov-afo { background: rgba(52, 118, 160, 0.4); border-color: rgba(52, 118, 160, 0.8); }
.wd-town { fill: var(--ink); }
.wd-town-t { font-family: var(--font-body); font-weight: 600; fill: var(--ink); }
.wd-sb rect { fill: var(--wd-geo); }
.wd-sb-t { font-family: var(--font-body); font-weight: 700; fill: var(--wd-geo); }
.wd-pin { cursor: pointer; }
.wd-pin-dot { fill: var(--wd-gold); stroke: var(--surface); stroke-width: 2; }
.wd-pin.is-sel .wd-pin-dot { fill: var(--wd-red); stroke: var(--ink); }
.wd-pin.is-future .wd-pin-dot { fill: none; stroke: var(--ink-2); stroke-dasharray: 2 2; opacity: 0.55; }
.wd-pin-t { font-family: var(--font-body); font-weight: 750; fill: var(--ink); paint-order: stroke; stroke: var(--wd-call-halo); stroke-width: 3.5px; stroke-linejoin: round; }
.wd-years { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-yr { min-height: 38px; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.92rem; font-weight: 650; cursor: pointer; }
.wd-yr[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wd-find { min-height: 9em; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 8px; align-content: start; }
.wd-find p { margin: 0; line-height: 1.5; }
.wd-find-h { font-size: 1.05rem; }
.wd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; border: 1.5px solid currentColor; }
.wd-m-eyes { color: #8a5a1c; } .wd-m-air { color: #2f6f9a; } .wd-m-mag { color: #a1322b; } .wd-m-em { color: #6b4aa0; } .wd-m-soil { color: #4f7a2a; } .wd-m-drill { color: #374046; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wd-m-eyes { color: #e0a868; } :root:not([data-theme="light"]) .wd-m-air { color: #7cc0ee; } :root:not([data-theme="light"]) .wd-m-mag { color: #f08a7a; } :root:not([data-theme="light"]) .wd-m-em { color: #c3a6f5; } :root:not([data-theme="light"]) .wd-m-soil { color: #a6d47a; } :root:not([data-theme="light"]) .wd-m-drill { color: #c9d1d6; } }
:root[data-theme="dark"] .wd-m-eyes { color: #e0a868; } :root[data-theme="dark"] .wd-m-air { color: #7cc0ee; } :root[data-theme="dark"] .wd-m-mag { color: #f08a7a; } :root[data-theme="dark"] .wd-m-em { color: #c3a6f5; } :root[data-theme="dark"] .wd-m-soil { color: #a6d47a; } :root[data-theme="dark"] .wd-m-drill { color: #c9d1d6; }
.wd-mkey { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* screen 1: the funnel */
.wd-funnel { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 18px; align-items: center; max-width: 900px; }
@media (max-width: 640px) { .wd-funnel { grid-template-columns: minmax(0, 1fr); } .wd-funnel-fig { max-width: 220px; } }
.wd-funnel-fig { width: 100%; height: auto; }
.wd-fsq rect { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.5; }
.wd-fsq:nth-child(2) rect { fill: color-mix(in srgb, var(--wd-geo) 8%, var(--surface)); }
.wd-fsq:nth-child(3) rect { fill: color-mix(in srgb, var(--wd-geo) 16%, var(--surface)); }
.wd-fsq:nth-child(4) rect { fill: color-mix(in srgb, var(--wd-geo) 26%, var(--surface)); }
.wd-fsq.is-sel rect { stroke: var(--wd-geo); stroke-width: 3.5; }
.wd-fsq-n { font-family: var(--font-mono); font-size: 12px; font-weight: 800; fill: var(--ink-2); }
.wd-funnel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wd-funnel-list li { display: grid; gap: 4px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.wd-funnel-list li.is-sel { border-color: var(--wd-geo); box-shadow: 0 0 0 2px color-mix(in srgb, var(--wd-geo) 35%, transparent); }
.wd-funnel-list button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wd-funnel-list button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wd-funnel-list p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.wd-funnel-list .small { color: var(--ink-2); font-size: 0.88rem; }
.wd-fn { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--wd-geo); color: #fff; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 800; }

/* the coach: watch the geologist, your turn */
.wd-coach { display: grid; gap: 12px; align-content: start; padding: 14px 16px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--wd-geo); min-width: 0; max-width: 760px; }
.wd-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-mode { min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--wd-geo); background: transparent; color: var(--ink); font: inherit; font-weight: 750; cursor: pointer; }
.wd-mode[aria-pressed="true"] { background: var(--wd-geo); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wd-mode[aria-pressed="true"] { color: #141018; } }
:root[data-theme="dark"] .wd-mode[aria-pressed="true"] { color: #141018; }
.wd-mode:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wd-pane { display: grid; gap: 12px; align-content: start; }
.wd-step-n { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--wd-geo); }
.wd-say { position: relative; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--wd-geo) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--wd-geo) 30%, var(--line)); }
.wd-say p { margin: 0 0 6px; line-height: 1.55; }
.wd-say p:last-child { margin-bottom: 0; }
.wd-who { font-size: 0.8rem; font-weight: 800; color: var(--wd-geo); }
.wd-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.wd-task p, .wd-task ol { margin: 0 0 6px; line-height: 1.5; }
.wd-task ol { padding-left: 1.3em; }
.wd-help { display: grid; gap: 8px; }
.wd-help .btn { justify-self: start; }
.wd-hints { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.wd-hints li { line-height: 1.5; }
.wd-nohelp { margin: 0; font-weight: 650; color: var(--ink-2); }
.wd-coach .fb { margin: 0; }
.wd-rocks { display: grid; gap: 12px; }
.wd-rock { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.wd-rock p { margin: 0; line-height: 1.5; }
.wd-rock-opts { display: grid; gap: 6px; }
.wd-rock-why { font-size: 0.95rem; color: var(--ink-2); }

/* screen 2: metamorphism */
.wd-crust { fill: #e9dfcf; }
.wd-fac-gs { fill: rgba(86, 160, 104, 0.24); }
.wd-fac-am { fill: rgba(206, 110, 58, 0.28); }
.wd-fac-gs.is-hl, .wd-fac-am.is-hl { stroke: #111; stroke-width: 2; }
.wd-layer { stroke: rgba(0, 0, 0, 0.35); stroke-width: 1; }
.wd-bas { fill: rgb(131, 178, 106); } .wd-dol { fill: rgb(62, 146, 140); } .wd-bas2 { fill: rgb(150, 190, 120); } .wd-sh { fill: rgb(170, 172, 175); } .wd-gra { fill: rgb(233, 171, 182); }
.wd-shear-z { fill: none; stroke: #b3261e; stroke-width: 6; stroke-linecap: round; opacity: 0.85; }
.wd-shear-z.is-hl { stroke-width: 9; filter: drop-shadow(0 0 3px #ffe14d); }
.wd-iso { stroke: #7a2e12; stroke-width: 1.2; stroke-dasharray: 5 4; }
.wd-iso-t { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: #7a2e12; paint-order: stroke; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3px; }
.wd-fac-t { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; fill: #2c2c2c; paint-order: stroke; stroke: rgba(255, 255, 255, 0.75); stroke-width: 3px; }
.wd-release ellipse { fill: rgba(255, 140, 60, 0.35); stroke: #c2410c; stroke-width: 2; stroke-dasharray: 4 3; }
.wd-release.is-hl ellipse { stroke-width: 3.5; }
.wd-lab-hot { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; fill: #8a2a08; paint-order: stroke; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3.5px; }
.wd-gold ellipse { fill: #f2c230; stroke: #8a5a00; stroke-width: 1.5; }
.wd-gold.is-hl ellipse { filter: drop-shadow(0 0 4px #ffe14d); stroke-width: 2.5; }
.wd-lab-gold { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; fill: #6b4400; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3.5px; }
.wd-fluid circle { fill: #2b8be0; stroke: #fff; stroke-width: 1; }

/* screen 3: the geological map and sections */
.wd-mapwrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.lab.viz .lab-body > * { min-width: 0; }
.wd-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 4px 14px; font-size: 0.9rem; max-width: 760px; }
.wd-legend li { display: flex; align-items: baseline; gap: 7px; line-height: 1.35; }
.wd-legend .small { color: var(--ink-2); font-size: 0.82rem; }
.wd-sw { flex: none; width: 18px; height: 12px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.35); transform: translateY(1px); }
.wd-sw-cover { background: repeating-linear-gradient(45deg, #efe9de 0 3px, #d9d2c4 3px 4px); }
.wd-sw-shear { background: #c0392b; height: 5px; border: none; }
.wd-sw-shaft { background: #111; width: 9px; height: 9px; }
.wd-creek { fill: none; stroke: #2f7fb5; stroke-width: 1.8; }
.wd-track { fill: none; stroke: #7a5a2a; stroke-width: 1.6; stroke-dasharray: 5 3; }
.wd-shear { fill: none; stroke: #c0392b; stroke-width: 4; stroke-linecap: round; }
.wd-shear.is-under { stroke-dasharray: 8 6; }
.wd-shaft { fill: #111; stroke: #fff; stroke-width: 1; }
.wd-sym path { fill: none; stroke: #111; stroke-width: 2; }
.wd-sym-sh path { stroke: #c0392b; }
.wd-sym-t { font-family: var(--font-mono); font-size: 11px; font-weight: 800; fill: #111; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3px; }
.wd-secline { fill: none; stroke: #111; stroke-width: 2.5; }
.wd-secend { font-family: var(--font-mono); font-size: 14px; font-weight: 800; fill: #111; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3.5px; }
.wd-sec { display: grid; gap: 8px; max-width: 760px; }
.wd-sec svg { width: 100%; height: auto; display: block; }
.wd-sec-h { margin: 0; font-weight: 750; }
.wd-sec-ctl { display: grid; gap: 10px; }
.wd-strip-frame { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.wd-strip-shear { stroke: #c0392b; stroke-width: 4; }
.wd-strip-hit { fill: transparent; cursor: pointer; }
.wd-strip-cursor { stroke: var(--focus); stroke-width: 3; }
.wd-sec svg:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wd-sec-bg { fill: var(--surface-2); stroke: var(--line); }
.wd-my-contact { stroke: var(--ink); stroke-width: 2; }
.wd-my-tick { stroke: #111; stroke-width: 3; }
.wd-my-shear { stroke: #c0392b; stroke-width: 3.5; }
.wd-true-contact { stroke: #1a9e5a; stroke-width: 3; stroke-dasharray: 6 4; }
.wd-band { stroke-width: 0.8; stroke-linejoin: round; }
.wd-line-halo { stroke: var(--wd-call-halo); stroke-width: 6; stroke-linecap: round; }
.wd-dip-arc { fill: none; stroke: var(--ink); stroke-width: 1.75; }
.wd-dip-arc.sh { stroke: #c0392b; }
[data-sec] .c-tick { paint-order: stroke; stroke: var(--wd-call-halo); stroke-width: 3px; stroke-linejoin: round; }
.wd-fe-glow { stroke: #f2c230; stroke-width: 10; stroke-linecap: round; }
.wd-fe-mark { fill: #f2c230; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.wd-mv circle { fill: var(--wd-call-halo); stroke: var(--ink); stroke-width: 1.6; }
.wd-mv circle.dot { fill: var(--ink); stroke: none; }
.wd-mv path { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.wd-sec svg.wd-mv-ic { display: inline; width: 1.15em; height: 1.15em; vertical-align: -0.22em; overflow: visible; }
.wd-true-shear { stroke: #1a9e5a; stroke-width: 4; stroke-dasharray: 2 5; stroke-linecap: round; }
.wd-sec-note { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; fill: var(--ink-2); paint-order: stroke; stroke: var(--wd-call-halo); stroke-width: 3px; }

/* screen 6: the magnetic image and profile */
.wd-rowline { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 3 4; filter: drop-shadow(0 0 1px #000); }
.wd-flyline { stroke: #ffe14d; stroke-width: 2.5; filter: drop-shadow(0 0 2px #000); }
.wd-geoline { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.2; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.9)); }
.wd-prof { display: grid; gap: 8px; max-width: 760px; }
.wd-prof svg { width: 100%; height: auto; display: block; }
.wd-prof-line { fill: none; stroke: var(--ink); stroke-width: 2; }

/* screen 7: sampling */
.wd-sample { stroke: rgba(0, 0, 0, 0.7); stroke-width: 0.8; }
.wd-sample.is-ac { stroke-width: 1.6; }
.wd-pend { fill: none; stroke: #111; stroke-width: 2; stroke-dasharray: 5 4; }
.wd-pend-pt { fill: #fff; stroke: #111; stroke-width: 2; }
.wd-target path { stroke: #111; stroke-width: 3; }
.wd-target circle { fill: none; stroke: #e0311f; stroke-width: 3; }
.wd-magmark { fill: none; stroke: #6a4fa3; stroke-width: 3; stroke-dasharray: 3 3; }
.wd-bar-au { stroke: var(--wd-gold); stroke-width: 4; stroke-linecap: round; }
.wd-lines { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; max-width: 760px; }

/* screen 8: drilling */
.wd-hidden-rock { fill: color-mix(in srgb, var(--ink-2) 18%, var(--surface)); }
.wd-sand-sec { fill: #e3a463; stroke: #a8642a; stroke-width: 1; }
.wd-ground { stroke: var(--ink); stroke-width: 1.5; }
.wd-shear-tick { stroke: #c0392b; stroke-width: 3; }
.wd-hole-line { fill: none; stroke: var(--ink); stroke-width: 2; }
.wd-hole-plan .wd-hole-line { stroke-dasharray: 5 4; stroke: var(--accent); stroke-width: 2.5; }
.wd-ic-t { font-family: var(--font-body); font-size: 12px; font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: var(--wd-call-halo); stroke-width: 3.5px; }
.wd-boco { fill: none; stroke: #6b4a2a; stroke-width: 1.5; stroke-dasharray: 6 4; }
.wd-drillctl { display: grid; gap: 10px; max-width: 760px; }
.wd-holes { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 820px; }
.wd-holes .small { color: var(--ink-2); }
.wd-est { display: grid; gap: 10px; max-width: 760px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.wd-est-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.wd-est-grid label { display: grid; gap: 4px; font-weight: 700; font-size: 0.92rem; }
.wd-est-grid input { width: 100%; min-width: 0; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; color: var(--ink); background: var(--surface); }
.wd-est-help { margin: 0; color: var(--ink-2); max-width: 70ch; }
.wd-shrubs circle { fill: color-mix(in srgb, #5f7d3a 40%, transparent); }
.wd-est-out { margin: 0; line-height: 1.5; }
.wd-est-out .small { display: block; margin-top: 4px; color: var(--ink-2); }

/* screen 9: the planning map */
.wd-plan svg { display: block; width: 100%; height: auto; }
.wd-plan-bg { fill: var(--wd-plan); }
.wd-heritage { fill: color-mix(in srgb, var(--wd-herit) 18%, transparent); stroke: var(--wd-herit); stroke-width: 2.5; stroke-dasharray: 6 3; }
.wd-buffer { fill: color-mix(in srgb, var(--wd-mound) 10%, transparent); stroke: var(--wd-mound); stroke-width: 1.5; stroke-dasharray: 4 3; }
.wd-mound { fill: var(--wd-mound); stroke: var(--surface); stroke-width: 1.5; }
.wd-track-old { stroke: var(--wd-track); stroke-width: 3.5; stroke-dasharray: none; }
.wd-newtrack { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.wd-pad { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.wd-pad-t { font-size: 11.5px; }
.wd-plan .wd-lab-call { fill: var(--ink); stroke: var(--wd-call-halo); }
.wd-meter { margin: 0; font-weight: 700; }
.fb { max-width: 760px; }

/* screen 10: the report card */
.wd-table { border-collapse: collapse; width: 100%; max-width: 860px; font-size: 0.95rem; }
.wd-table th, .wd-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wd-table thead th { font-size: 0.85rem; color: var(--ink-2); }
.wd-matrix { position: relative; overflow-x: auto; max-width: 860px; }
.wd-matrix:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wd-mx td { text-align: center; }
.wd-mx tr.is-me th, .wd-mx tr.is-me td { background: color-mix(in srgb, var(--wd-geo) 10%, transparent); font-weight: 750; }
.wd-tick { color: var(--good); font-weight: 900; }
.wd-logs-dl { margin: 0; display: grid; gap: 4px 12px; max-width: 860px; }
.wd-logs-dl dt { font-weight: 750; }
.wd-logs-dl dd { margin: 0 0 8px; white-space: pre-wrap; }
.wd-logs-dl dd.is-empty { color: var(--ink-2); font-style: italic; }
.wd-rcard { position: relative; max-width: 860px; overflow-x: auto; }
