/* Scroll and placement belong to the tour shell. The reader can grow naturally
   below the map on small screens and at large browser text sizes. */
.tour-card {
  --card-green:var(--olive,#46543f);
  --card-ink:var(--ink,#292d25);
  --card-muted:#5b6053;
  --card-line:var(--line,#d4ccb9);
  color:var(--card-ink);
  font:400 1rem/1.52 var(--sans,"DM Sans",sans-serif);
  padding:clamp(18px,2.2vw,32px);
  overflow-wrap:break-word;
}
.tour-card, .tour-card * {box-sizing:border-box}
.tour-card h2, .tour-card h3, .tour-card p {margin:0}
.tour-card button, .tour-card summary {font:inherit;touch-action:manipulation}
.tour-card button {cursor:pointer}
.tour-card button:disabled {cursor:default}
.tour-card [tabindex="-1"]:focus {outline:none}
.tour-card :is(button,summary):focus-visible {
  outline:3px solid #286cad;
  outline-offset:3px;
}
.tour-glyph {
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  flex:none;width:1.12em;height:1.12em;
}
.tour-arrow {width:1.25em;height:1.25em}
.tour-counter,.tour-overline,.tour-stage-track,.tour-button,.tour-voice-row,.tour-audio-identity,
.tour-walk-label,.tour-response strong,.tour-transcript summary,.tour-completed {
  display:flex;align-items:center;
}
.tour-counter {justify-content:space-between;gap:12px;margin-bottom:clamp(15px,2.1vh,23px)}
.tour-overline,.tour-question-number {
  font:700 .69rem/1.25 var(--sans,"DM Sans",sans-serif);
  text-transform:uppercase;letter-spacing:.125em;
  color:var(--rust,#93442c);
}
.tour-overline {gap:8px;white-space:nowrap}
.tour-overline .tour-glyph {width:17px;height:17px;stroke-width:1.8}
.tour-stage-track {gap:3px;max-width:39%;min-width:56px;flex:0 1 82px}
.tour-stage-track i {display:block;flex:1;height:4px;min-width:2px;background:#ded7c8;border-radius:2px}
.tour-stage-track .past {background:#7a876c}
.tour-stage-track .here {background:var(--rust,#93442c)}
.tour-card .tour-place {
  font:400 clamp(2.35rem,3.1vw,3.45rem)/.99 var(--serif,"Instrument Serif",Georgia,serif);
  letter-spacing:-.025em;color:var(--card-ink);text-wrap:balance;
}
.tour-card .tour-focus {margin-top:8px;color:var(--card-muted);font-size:.98rem;line-height:1.42}
.tour-actions {display:grid;gap:7px;margin-top:22px}
.tour-actions:empty {display:none}
.tour-button {
  justify-content:center;gap:9px;min-height:46px;width:100%;
  border:1px solid transparent;border-radius:7px;padding:10px 13px;
  text-align:center;font:650 .89rem/1.35 var(--sans,"DM Sans",sans-serif)!important;
  transition:background-color .15s ease,border-color .15s ease;
}
.tour-button.tour-primary {
  background:var(--card-green);border-color:var(--card-green);color:#fffdf6;
}
.tour-primary:hover {background:#354732;border-color:#354732}
.tour-button.tour-secondary {background:transparent;border-color:#a8aa92;color:var(--card-green)}
.tour-secondary:hover {background:#edeedc;border-color:#849378}
.tour-button.tour-text {background:transparent;border:0;color:var(--card-green);min-height:44px}
.tour-text:hover {text-decoration:underline;text-underline-offset:3px;background:#eae9dc}
.tour-player {
  margin:22px 0 18px;padding:13px 14px 12px;border:1px solid #c8ceba;border-radius:10px;
  background:#e9eddf;
}
.tour-voice-row {justify-content:space-between;gap:8px;flex-wrap:wrap}
.tour-audio-identity {color:var(--card-green);gap:8px;font-size:.83rem;font-weight:700}
.tour-voice-icon {height:22px;display:flex;align-items:center;gap:2px}
.tour-voice-icon b {width:2px;height:30%;border-radius:3px;background:currentColor}
.tour-voice-icon b:nth-child(2) {height:68%}
.tour-voice-icon b:nth-child(3) {height:100%}
.tour-voice-icon b:nth-child(4) {height:56%}
.tour-voice-icon b:nth-child(5) {height:37%}
.tour-button.tour-play {
  min-height:39px;width:auto;gap:5px;border-color:#b6bea6;border-radius:30px;
  padding:6px 12px;background:#f8f9f0;color:var(--card-green);font-size:.8rem!important;
}
.tour-play:hover {background:white;border-color:var(--card-green)}
.tour-play .tour-glyph {width:13px;height:13px}
.tour-player .tour-audio-status {margin:6px 0 0;font-size:.77rem;line-height:1.4;color:#495641;min-height:1.4em}
.tour-reading {font:400 1.02rem/1.62 var(--sans,"DM Sans",sans-serif);color:var(--card-ink)}
.tour-reading p+p {margin-top:.68em}
.tour-card--listen .tour-reading {border-left:2px solid #c5aa84;padding-left:13px}
.tour-walk {border-block:1px solid var(--card-line);padding:18px 0;margin-top:22px}
.tour-walk-label {gap:9px;color:var(--card-green);font-size:.9rem;font-weight:700}
.tour-walk-label .tour-glyph {width:20px;height:20px}
.tour-walk-label i {display:block;width:5px;height:5px;background:var(--card-green);border-radius:50%;animation:tour-travel 1.5s ease-in-out infinite}
@keyframes tour-travel {50%{opacity:.36}}
.tour-question {margin-top:20px;padding-top:17px;border-top:1px solid var(--card-line)}
.tour-card .tour-question-number {color:var(--card-green)}
.tour-question h3,.tour-completed h3 {
  font:400 clamp(1.62rem,2vw,2.08rem)/1.12 var(--serif,"Instrument Serif",Georgia,serif);
  letter-spacing:-.012em;text-wrap:pretty;
}
.tour-question h3 {margin:8px 0 14px}
.tour-choices {display:grid;gap:7px}
.tour-choice {
  appearance:none;display:flex;align-items:flex-start;gap:10px;width:100%;min-height:46px;
  text-align:left;border:1px solid #c9c6b6;border-radius:7px;padding:10px 11px;background:#fcfaf2;
  color:var(--card-ink);font-size:.9rem!important;line-height:1.4!important;
}
.tour-choice:not(:disabled):hover {background:#f0f0e2;border-color:#81906e}
.tour-choice-mark {
  flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;
  font:600 .72rem/1 var(--sans,"DM Sans",sans-serif);color:#606552;background:#eae8d9;
}
.tour-choice.chosen-correct {background:#e8efdf;border-color:#859772}
.tour-choice.chosen-correct .tour-choice-mark {background:#547048;color:#fff}
.tour-choice.chosen-revisit {background:#f6ede2;border-color:#b49975}
.tour-choice.chosen-revisit .tour-choice-mark {background:#8b633e;color:#fff}
.tour-response {margin-top:13px;border-inline-start:3px solid #a77748;padding:8px 0 8px 11px}
.tour-response strong {gap:6px;color:#77512c;font-size:.93rem}
.tour-response p {font-size:.88rem;line-height:1.48;margin-top:4px}
.tour-response.is-correct {border-color:#788e62}
.tour-response.is-correct strong {color:#425b39}
.tour-transcript {margin-top:14px;border-block:1px solid var(--card-line)}
.tour-question .tour-transcript {margin:0 0 12px}
.tour-transcript summary {cursor:pointer;list-style:none;gap:8px;min-height:44px;color:var(--card-green);font-size:.87rem;font-weight:650}
.tour-transcript summary::-webkit-details-marker {display:none}
.tour-caret {width:7px;height:7px;display:block;margin-left:auto;margin-right:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.tour-transcript[open] .tour-caret {transform:rotate(225deg)}
.tour-transcript .tour-reading {padding:0 2px 14px;font-size:.94rem;line-height:1.53}
.tour-card--quiz .tour-actions {margin-top:14px}
.tour-completed {gap:13px;align-items:flex-start;margin-top:24px;padding:17px 0;border-block:1px solid var(--card-line)}
.tour-done-icon {border:1px solid #b8c3a8;border-radius:50%;background:#e2e9d6;color:var(--card-green);padding:8px;display:grid;place-items:center}
.tour-done-icon .tour-glyph {width:19px;height:19px;stroke-width:2}
.tour-completed p {margin-top:4px;color:var(--card-muted);font-size:.91rem}
.tour-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media (max-width:760px) {
  .tour-card {padding:20px clamp(16px,4.4vw,28px) 24px}
  .tour-card .tour-place {font-size:clamp(2.35rem,7.5vw,3.1rem)}
  .tour-question h3 {font-size:1.85rem}
  .tour-player {margin:16px 0}
  .tour-button.tour-play {min-height:44px}
}
@media (prefers-reduced-motion:reduce) {.tour-card * {animation:none!important;transition:none!important}}

.tour-player .tour-voice-row{flex-wrap:nowrap}
.tour-player .tour-play{min-height:44px;min-width:148px;justify-content:flex-start;gap:9px;padding:9px 15px;background:#3d533e;color:#fffdf5;border:1px solid #3d533e;font-size:.91rem!important}
.tour-player .tour-play:hover{background:#2d412f;border-color:#2d412f}
.tour-player .tour-voice-icon{margin-inline-end:3px;color:#667956}
.tour-player:is([data-audio="failed"],[data-audio="blocked"],[data-audio="stalled"]){background:#f6ebdb;border-color:#c5a783}
.tour-player:is([data-audio="failed"],[data-audio="blocked"],[data-audio="stalled"]) .tour-play{background:#80462f;border-color:#80462f}
.tour-player:is([data-audio="failed"],[data-audio="blocked"],[data-audio="stalled"]) .tour-play:hover{background:#663721}
.tour-card:not(.tour-card--listen) .tour-player{margin:16px 0 10px;padding:10px 12px}
.tour-card--quiz .tour-question{margin-top:12px}

.tour-exercise-help {font-size:.86rem;color:var(--card-muted);line-height:1.45}
.tour-exercise :is(button,select,input) {font-family:var(--sans,"DM Sans",sans-serif);color:var(--card-ink)}
.tour-exercise :is(button,select,input):focus-visible {outline:3px solid #286cad;outline-offset:3px}
.tour-sort-list,.tour-check-list,.tour-order-bank {display:grid;gap:6px;margin-top:11px}
.tour-sort-list label,.tour-check-list label,.tour-order-bank button {
  padding:9px 11px;border:1px solid #cbc7b8;border-radius:6px;background:#fcfaf3;
  font-size:.88rem;line-height:1.4;
}
.tour-sort-list label {display:grid;gap:5px}
.tour-sort-list select {width:100%;min-height:44px;background:#f4f4e8;color:var(--card-green);border:1px solid #aab19b;border-radius:5px;padding:5px 8px;font-size:.84rem}
.tour-check-list label {cursor:pointer;display:flex;align-items:center;gap:9px;min-height:44px}
.tour-check-list input {width:18px;height:18px;flex-shrink:0;accent-color:var(--card-green)}
.tour-check-list label:has(input:checked),.tour-order-bank button[aria-pressed=true] {background:#e7eddf;border-color:#80916e}
.tour-order-bank button {display:flex;align-items:center;gap:8px;min-height:44px;text-align:left}
.tour-order-bank button span {flex:none;display:grid;place-items:center;width:21px;height:21px;border:1px solid #bdc3af;border-radius:50%;color:var(--card-green);font-size:.8rem}
.tour-order-bank button[aria-pressed=true] span {color:white;background:var(--card-green);border-color:var(--card-green)}
.tour-built {margin-top:11px;padding:10px 12px;border-left:2px solid #a5ac8c;background:#eeefdf}
.tour-built strong {font-size:.85rem;color:var(--card-green)}.tour-built p,.tour-built ol {margin:3px 0 0;font-size:.83rem}
.tour-built ol {padding-left:1.25rem}.tour-built ol:empty {display:none}.tour-built li+li {margin-top:3px}
.tour-validation:not(:empty) {margin-top:10px;font-size:.86rem;color:#803e22}
.tour-submit {margin-top:13px}
.tour-exercise .tour-submit {color:white}
.tour-card .tour-submission {font-size:.87rem;line-height:1.45;background:#f0eee1;border-radius:6px;padding:10px 11px}
.tour-submission b {display:block;color:var(--card-green);margin-bottom:3px}
.tour-vote-calls {display:flex;gap:4px;background:#e7e8da;border:1px solid #b9c0aa;border-radius:7px;padding:3px;margin:11px 0 8px}
.tour-vote-calls button {flex:1;min-height:44px;border:0;border-radius:4px;background:transparent;font-size:.86rem;font-weight:650;color:var(--card-green)}
.tour-vote-calls button[aria-pressed=true] {background:var(--card-green);color:#fff}
.tour-hand-study {margin:0;border-radius:7px;border:1px solid #cfbea0;background:linear-gradient(#faf5e7 45%,#ede2c9);padding:9px 8px 5px}
.tour-hand-study figcaption {font-size:.79rem;font-weight:650;color:#655239;text-align:center}
.tour-hand-study ol {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0;margin:0;list-style:none}
.tour-hand-study svg {width:100%;max-height:77px;display:block}
.tour-count-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tour-input-group {display:grid;align-content:start;gap:3px;margin-top:9px}
.tour-input-group label {font-size:.83rem;font-weight:650}
.tour-input-group small {font-size:.77rem;color:var(--card-muted)}
.tour-spinner {display:flex;align-items:stretch;max-width:150px;background:#fbf9ee;border:1px solid #a8ae97;border-radius:6px}
.tour-spinner input {appearance:textfield;-moz-appearance:textfield;width:0;min-width:24px;flex:1;text-align:center;background:transparent;border:0;border-inline:1px solid #d4d4bd;font-size:1.1rem;font-weight:650}
.tour-spinner input::-webkit-inner-spin-button,.tour-spinner input::-webkit-outer-spin-button {-webkit-appearance:none;margin:0}
.tour-spinner button {width:clamp(44px,32%,48px);min-height:44px;border:0;background:transparent;font-weight:bold;font-size:1.17rem;color:var(--card-green)}
.tour-spinner button:hover {background:#e4e9d9}

@media (max-width:650px) {.tour-sort-list select {font-size:1rem}}
