/* Rally Drill LMS pages. Same look as the rest of the site: dark panels on gravel, Saira Condensed headings, yellow buttons. */
:root {
  --bg: #15191b; --panel: #1d2326; --panel-2: #232a2e; --ink: #e9ece8; --muted: #9aa3a8; --rule: #2f383d;
  --yellow: #f2c230; --red: #e2574f; --beige: #e4d6b4; --green: #5fbf80; --post: #8a9096; --focus: #6fb6e8;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: #2b2823; color: var(--ink); font: 400 16px/1.55 var(--body); }
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; background: #2b2823 url("/bg/gravel-2560.jpg") center / cover no-repeat; }   /* site127: sized to the tallest phone view so the texture does not rescale when the browser bar slides */
a { color: inherit }
a:hover { color: var(--yellow) }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px }
[hidden] { display: none !important }
.wrap { max-width: 1200px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 20px }
.wrap.narrow { max-width: 1040px }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(18px, 3.5vw, 32px); min-width: 0; display: grid; gap: 14px; align-content: start }
.panel.tight { padding: 18px 20px }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px clamp(18px, 3.5vw, 28px) }
.brand { display: flex; align-items: baseline; text-decoration: none; font: italic 800 clamp(28px, 6vw, 44px)/1 var(--display); color: var(--ink) }
.brand svg { height: 30px; width: auto; flex: none; margin-right: 2px }
.brand b { white-space: nowrap; font: inherit; font-size: .92em; text-transform: uppercase }
.brand sup { font: 600 15px/0 var(--body) }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 600 15px var(--display); letter-spacing: .1em; text-transform: uppercase }
nav.main a { color: var(--muted); text-decoration: none; padding: 10px 0; white-space: nowrap; border-bottom: 2px solid transparent }
nav.main a:hover { color: var(--ink) }
nav.main .me-stripes { height: .85em; width: auto; margin-right: .45em; vertical-align: -.05em }
nav.main a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow) }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; margin: 0 }
h1 { font-weight: 800; font-size: clamp(36px, 6vw, 60px); line-height: .95 }
h2 { font-weight: 800; font-size: clamp(24px, 3.4vw, 32px); line-height: 1 }
h3 { font-weight: 700; font-size: 22px; line-height: 1 }
p { margin: 0 }
.eyebrow { font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.muted { color: var(--muted) }
.small { font-size: 14px }
.mono { font: 500 14px var(--mono) }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start }
.split > .side { flex: 1 1 300px; min-width: 0 }
.split > .main { flex: 999 1 560px; min-width: 0 }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px }

/* Forms */
.fld { display: grid; gap: 6px; min-width: 0 }
.fld > span, .lbl { font: 600 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
input[type=text], input[type=url], input[type=email], input[type=password], input[type=search], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--panel-2); color: var(--ink); font: 500 16px var(--body) }
textarea { padding: 12px; min-height: 96px; resize: vertical; line-height: 1.5 }
input[type=date] { -webkit-appearance: none; appearance: none; display: block; max-width: 100%; min-width: 0; box-sizing: border-box }
input[type=date]::-webkit-date-and-time-value { text-align: left }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted) }
.check input { width: 20px; height: 20px; accent-color: var(--yellow) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid var(--yellow); background: var(--yellow); color: #15191b; font: 700 17px var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer }
.btn:hover { color: #15191b; filter: brightness(1.06) }
.btn.ghost { background: transparent; color: var(--yellow) }
.btn.ghost:hover { color: var(--yellow); background: rgba(242,194,48,.08) }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 15px }
.btn.danger { background: transparent; border-color: var(--red); color: #f08a85 }
.btn[disabled] { opacity: .5; cursor: default }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer }
.msg { padding: 12px 16px; border-radius: 10px; font-size: 15px }
.msg.err { background: rgba(226,87,79,.12); border: 1px solid rgba(226,87,79,.5) }
.msg.ok { background: rgba(95,191,128,.12); border: 1px solid rgba(95,191,128,.45) }
.msg.note { background: rgba(242,194,48,.10); border: 1px solid rgba(242,194,48,.45) }
.msg b.tag { font: 700 15px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-right: 6px }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--muted) }
.rules li::before { content: "○ "; }
.rules li.ok { color: var(--ink) } .rules li.ok::before { content: "✓ "; color: var(--green); font-weight: 700 }

/* Badges and status */
.badge { display: inline-block; font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(154,163,168,.12); color: var(--muted); white-space: nowrap }
.badge.ok { background: rgba(95,191,128,.14); color: #8fdcaa }
.badge.warn { background: rgba(242,194,48,.12); color: var(--yellow) }
.badge.bad { background: rgba(226,87,79,.14); color: #f08a85 }
.badge.beige { background: rgba(228,214,180,.12); color: var(--beige) }
.newbox { display: inline-flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 10px 16px 10px 14px; border: 1px solid rgba(95,191,128,.35); border-left: 4px solid var(--green); border-radius: 10px; background: rgba(95,191,128,.12); text-decoration: none }
.newbox span { font: 600 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.newbox b { font: italic 800 20px var(--display); text-transform: uppercase }

/* Cards, lists, tables */
.card { background: var(--panel-2); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; align-content: start; min-width: 0 }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px }
.list > li > a, .list > li > button.item { display: grid; gap: 3px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: inherit; text-decoration: none; cursor: pointer }
.list > li > [aria-current="true"] { border: 1.5px solid var(--yellow); background: var(--panel-2) }
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px }
table.t { width: 100%; border-collapse: collapse; font-size: 15px }
table.t th { text-align: left; font: 600 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--panel-2); padding: 10px 12px; white-space: nowrap }
table.t td { padding: 10px 12px; border-top: 1px solid var(--rule); vertical-align: top }
.stat { display: grid; gap: 2px }
.stat b { font: 800 40px/1 var(--display) }
.bar { height: 8px; border-radius: 4px; background: var(--panel-2); overflow: hidden; border: 1px solid var(--rule) }
.bar i { display: block; height: 100%; background: var(--yellow) }
.foot { text-align: center; font: 500 13px var(--mono); color: #c9c2b4 }
.empty { color: var(--muted); font-size: 15px; padding: 8px 0 }
dialog { background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; max-width: min(640px, 92vw) }
dialog::backdrop { background: rgba(0,0,0,.6) }

/* Drill scene pictures, as drawn in the drills (light "plan" look). */
.dgm { margin: 0; background: #dfe6d3; border: 1px solid #c4ccb6; border-radius: 10px; padding: 8px; --ink: #1b2024; --muted: #3c4448; --sign-yellow: #9a7400; --sign-red: #b3302a; --focus: #1f5fbf; --ok: #2f7d4a; }
.dgm svg { display: block; width: 100%; height: auto }
.dgm .t { fill: var(--ink); font: 500 14px var(--body) } .dgm .tm { fill: var(--muted); font: 400 14px var(--body) }
.dgm .tb { fill: var(--ink); font: 700 15px var(--display); letter-spacing: .03em; text-transform: uppercase }
.sc-key { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #1b2024; margin: 6px 0 0 } .sc-key i { width: 12px; height: 12px; border-radius: 50%; background: #c58cf0; border: 1.2px solid #1d2124; display: inline-block }

/* Diagram builder */
.db { display: grid; gap: 14px }
.db-stage { position: relative; max-width: 760px; width: 100%; touch-action: none; user-select: none; -webkit-user-select: none }
.db-stage .handles { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px) }
.db-stage .handles .h { fill: transparent; stroke: rgba(31,95,191,.45); stroke-width: 1; stroke-dasharray: 3 3; cursor: grab }
.db-stage .handles .h:hover { stroke: #1f5fbf; stroke-dasharray: none }
.db-stage .handles .h.sel { fill: rgba(242,194,48,.25); stroke: #9a7400; stroke-width: 2.5 }
.db-stage .handles .end { fill: #fff; stroke: #1f5fbf; stroke-width: 2; cursor: crosshair }
.db-pal { display: flex; flex-wrap: wrap; gap: 8px }
.db-pal button { min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--panel-2); color: var(--ink); font: 600 14px var(--body); cursor: pointer }
.db-pal button:hover { border-color: var(--yellow) }
.db-bases { display: flex; flex-wrap: wrap; gap: 8px }
.db-bases button { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--rule); background: transparent; color: var(--muted); font: 700 14px var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer }
.db-bases button[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow) }
.db-props { display: grid; gap: 10px }
.db-items { max-height: 260px; overflow: auto }
@media print { body { background: #fff } }
.dgm figcaption { font: 600 14px var(--body); color: #1b2024; margin: 0 0 6px }
.panel figure.dgm { max-width: 760px }

/* Event sign-ups: job tiles, waiver boxes, status chips (My Training, /events/, the organizer board) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px }
.tiles.wide { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) }
.tile { position: relative; display: grid; gap: 6px; align-content: start; min-height: 96px; padding: 16px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--panel-2); color: var(--ink); font: 400 14px/1.4 var(--body); text-align: left; cursor: pointer }
button.tile:hover { border-color: #46525a }
.tile > b { font: 700 20px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding-right: 26px }
.tile.on { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); background: rgba(242,194,48,.07) }
.tile i.n { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #15191b; font: 700 14px/24px var(--display); font-style: normal; text-align: center }
.tile.other { border-style: dashed }
.tile.static { cursor: default; min-height: 0 } .tile.static .row { margin-top: 4px }
.tile .tick, .tick { color: #8fdcaa; font-weight: 600 } .tile .todo, .todo { color: var(--yellow); font-weight: 600 }
.wv { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2) } .wv > div { display: grid; gap: 2px }
.wk { display: grid } .wk-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; padding: 16px 0; border-top: 1px solid var(--rule) }
.wk-row h3 { font-size: 24px } .wk-row .meta { margin: 4px 0 0; font: 500 15px var(--mono); color: var(--muted) } .wk-row .meta b { color: var(--ink); font-weight: 500 }
.chip { display: inline-block; font: 700 13px var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px; white-space: nowrap; font-style: normal; text-decoration: none }
.chip.ok { background: rgba(95,191,128,.14); border: 1px solid rgba(95,191,128,.45); color: #8fdcaa }
.chip.todo { background: rgba(242,194,48,.12); border: 1px solid rgba(242,194,48,.45); color: var(--yellow) }
.chip.req { background: rgba(228,214,180,.12); border: 1px solid rgba(228,214,180,.45); color: var(--beige) }
a.chip:hover { filter: brightness(1.15) }

/* Day picker: the days an event needs volunteers, and the days a volunteer can work */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 100px)); gap: 8px }
@media (max-width: 480px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
.day { display: grid; gap: 2px; align-content: start; padding: 8px 4px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--panel-2); color: var(--muted); text-align: center; cursor: pointer }
.day b { font: 700 18px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink) }
.day small { font: 700 11px var(--display); letter-spacing: .1em; text-transform: uppercase }
.day.ev small:last-child { color: var(--red) }
.day[aria-pressed="true"] { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); background: rgba(242,194,48,.08) }
.day[aria-pressed="true"]::after { content: "✓"; font: 700 13px var(--display); color: var(--yellow) }
.day[aria-pressed="false"] b { color: var(--muted) }
.day.cnt .dn { font: 800 italic 30px/1 var(--display); color: var(--ink) }
.day.cnt[aria-pressed="false"] b { color: var(--ink) }
.day.cnt::after { content: none !important }
/* Jobs by day */
.dj-line { display: block; line-height: 1.45 }
.dj-line .dd { color: var(--yellow); font-weight: 700; margin-right: 6px; white-space: nowrap }
.sched { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px }
.sched b { color: var(--yellow); margin-right: 6px }

/* rd-design1: one header. Account and Sign out sit in an initials menu; on phones the links keep to one row. */
.top nav.main { margin-left: auto }
.me-menu { position: relative }
.me-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: #15191b; display: grid; place-items: center; font: 700 16px var(--display); letter-spacing: .04em; cursor: pointer }
.me-menu summary::-webkit-details-marker { display: none }
.me-menu summary.on { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--yellow) }
.me-pop { position: absolute; right: 0; top: 50px; z-index: 60; min-width: 230px; display: grid; padding: 12px 14px; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5) }
.me-pop b { font-weight: 600 } .me-pop span { font-size: 13px; color: var(--muted); margin-bottom: 6px; overflow-wrap: anywhere }
.me-pop a { padding: 9px 0; border-top: 1px solid var(--rule); text-decoration: none; font: 600 15px var(--display); letter-spacing: .1em; text-transform: uppercase }
@media (max-width: 700px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; gap: 6px 12px }
  .top .brand { font-size: 28px } .top .brand svg { height: 22px }
  .top nav.main { grid-column: 1 / -1; grid-row: 2; margin: 0; flex-wrap: nowrap; overflow-x: auto; gap: 20px; scrollbar-width: none }
  .top nav.main::-webkit-scrollbar { display: none }
  .top .me-menu { grid-column: 2; grid-row: 1 }
}

/* rd-design1: footer, admin and organizer tabs */
.site-foot { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 18px; color: #c9ced2; font-size: 14px; line-height: 1.5; display: grid; gap: 6px }
.site-foot p { margin: 0; max-width: 80ch } .site-foot .disc { margin-top: 8px; font-size: 13px; color: var(--muted) }
@media print { .site-foot { display: none } }
@media (max-width: 700px) { .subnav { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px } .subnav::-webkit-scrollbar { display: none } .subnav a { white-space: nowrap; flex: none } }

/* site65 (chris): wide monitors. Tools, tables and maps use the room; reading pages keep a comfortable width. */
@media (min-width: 1440px) { .wrap:not(.narrow) { max-width: min(1680px, 92vw) } }
/* ---------- Stage maps (site64) ---------- */
:root { --warn: #f0a24a; --radio: #4ea3ff }
.sm-panel { gap: 12px }
#sm-root { display: grid; gap: 14px; min-width: 0 }
#sm-root h2 { margin: 0 }
.sm-save { text-align: right; flex: none }
.sm-save p { margin: 6px 0 0 }
.sm-dirty { color: var(--yellow) } .sm-clean { color: var(--green) }
.sm-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center }
.sm-add { display: grid; gap: 14px }
.sm-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px }
.sm-opt { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; color: var(--ink); font: inherit; cursor: pointer }
.sm-opt:hover { border-color: var(--yellow) }
.sm-opt b { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: .04em }
.sm-opt span:not(.btn) { color: var(--muted); font-size: 14px }
.sm-tip { display: grid; gap: 6px; background: rgba(78,163,255,.08); border: 1px solid rgba(78,163,255,.45); border-left: 4px solid var(--radio); border-radius: 10px; padding: 12px 14px; font-size: 14px; max-width: 80ch }
.sm-tip b { font: 700 16px var(--display); letter-spacing: .06em; text-transform: uppercase }
.sm-tip .sm-tip-k { font: 600 14px var(--body); text-transform: none; letter-spacing: 0 }
.sm-opt code { font: 600 12.5px var(--mono); background: var(--panel); border: 1px solid var(--rule); border-radius: 5px; padding: 0 5px; white-space: nowrap }
.sm-tip code { font: 600 13px var(--mono); background: var(--panel-2); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 6px; white-space: nowrap }
.sm-names summary { cursor: pointer; color: var(--radio); font-weight: 600 }
.sm-names table { border-collapse: collapse; font-size: 13.5px; width: 100% }
.sm-names th, .sm-names td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top }
.sm-names th { font: 600 12px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.sm-names code { margin: 0 4px 2px 0; display: inline-block }
.t-tech { --c: #b0bec5 } .t-refuel { --c: #ffb74d } .t-hq { --c: #4ea3ff } .t-registration { --c: #e0e0e0 }
.sm-check-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px }
.sm-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px }
.sm-team { display: inline-flex; align-items: center; gap: 8px; margin-left: auto }
.sm-team input { width: 130px; padding: 6px 10px }
.sm-addform { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 10px; padding: 12px; margin-bottom: 8px }
.sm-addform .fld { flex: 1 1 150px }
.sm-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 250px; gap: 16px; align-items: start }
.sm-grid > * { min-width: 0 }
.sm-grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) }
.sm-map { height: min(72vh, 680px); min-height: 380px; border-radius: 10px; overflow: hidden; background: #dfe3dc; border: 1px solid var(--rule) }
.sm-map.adding, .sm-map.adding .leaflet-container { cursor: crosshair }
.sm-vols { display: flex; flex-direction: column; gap: 8px; border-radius: 10px; transition: background .15s; min-height: 60px }
.sm-vols.dropback { background: rgba(242,194,48,.08); outline: 1px dashed var(--yellow) }
.sm-vh { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between }
.sm-vh select { width: auto; padding: 4px 8px; font-size: 13px }
.sm-list { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow: auto }
.sm-vol { display: flex; gap: 10px; align-items: center; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; cursor: grab; touch-action: none; user-select: none }
.sm-vol:hover { border-color: #56616a }
.sm-vol b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; font-weight: 600; line-height: 1.3 }
.sm-vol .sm-ctl { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px } .sm-vol .sm-ctl em { font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--yellow); color: var(--yellow) } .sm-vol .sm-ctl em.top { background: var(--yellow); color: #15191b }
.sm-fb { display: grid; gap: 6px } .sm-fbh { display: flex; align-items: center; gap: 8px } .sm-fo { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 10px; padding: 7px 12px; color: var(--ink); font: 700 14px var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-align: left } .sm-fo.act { border-color: var(--green) } .sm-fo > span { white-space: nowrap; flex: none } .sm-fo small { font: 600 12.5px var(--body); letter-spacing: 0; text-transform: none; color: var(--green); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.sm-cnt { background: var(--green); color: #07140c; border-radius: 999px; padding: 0 7px; margin-left: 8px; font: 700 12px var(--display); letter-spacing: 0 } .sm-fx { flex: none; font-size: 13px }
.sm-fp { display: grid; border: 1px solid var(--rule); border-radius: 10px; padding: 2px 10px; background: var(--panel-2); max-height: 42vh; overflow: auto } .sm-fgrp { display: block; padding: 6px 0; border-top: 1px solid var(--rule) } .sm-fgrp:first-child { border-top: 0 } .sm-fl { display: block; font: 600 10.5px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px } .sm-fg { display: flex; flex-wrap: wrap; gap: 5px 6px }
.sm-ck { display: inline-flex !important; width: auto !important; align-items: center; gap: 4px; font-size: 12px; line-height: 1; padding: 3px 8px 3px 5px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; white-space: nowrap } .sm-ck input { width: 13px; height: 13px; margin: 0; flex: none; accent-color: var(--green) } .sm-ck.on { background: var(--green); border-color: var(--green); color: #07140c; font-weight: 700 }
.sm-vol span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35 }
.sm-vol.placed { opacity: .65 }
.sm-av { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: #1d2326; font: 700 11px var(--body); display: flex; align-items: center; justify-content: center; flex: none; font-style: normal }
.sm-vol.placed .sm-av { background: var(--green); color: #11281a }
.sm-w { color: var(--warn) !important; font-style: normal }
/* FCC call sign: a blue radio on the volunteer's card */
.sm-call { display: inline-flex !important; align-items: center; gap: 3px; color: var(--radio) !important; font: 600 11px var(--mono) !important; letter-spacing: .02em }
.sm-call svg { flex: none }
.sm-pins { max-height: 680px; overflow: auto; padding-right: 4px }
.sm-pgh { font: 600 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px }
.sm-pgh:first-of-type { margin-top: 8px }
.sm-prow { display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: var(--ink); padding: 7px 8px; font: inherit; cursor: pointer }
.sm-prow:hover { background: rgba(255,255,255,.04) }
.sm-prow.hot { background: rgba(242,194,48,.14); border-left-color: var(--yellow) }
.sm-prow.sel { background: rgba(242,194,48,.12); border-left-color: var(--yellow) }
.sm-prow b { font-size: 14px; font-weight: 600; min-width: 84px }
.sm-prow span { font-size: 12.5px; color: var(--muted); min-width: 0 }
.sm-prow span.f { color: var(--green) }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; align-self: center; background: var(--yellow) }
.t-start, .t-finish { --c: #43a047 } .t-finish { --c: #e53935 } .t-marshal { --c: #f2c230 } .t-radio { --c: #4ea3ff } .t-medical { --c: #ff6b6b }
.t-spectators { --c: #ab47bc } .t-vc { --c: #ff9800 } .t-regroup, .t-service, .t-parc { --c: #8d9aa3 } .t-control { --c: #26c6da } .t-other { --c: #cfd8dc }
.dot[class*="t-"] { background: var(--c) }
/* pins on a live map: a round badge in the type's color; it grows a little on hover so it's easy to hit */
.pinwrap { background: none; border: 0 }
.lp { width: 26px; height: 26px; border-radius: 50%; background: var(--c, #f2c230); color: #1d2326; border: 2px solid #1d2326; display: flex; align-items: center; justify-content: center; font: 700 9.5px var(--body); box-shadow: 0 2px 4px rgba(0,0,0,.4); transition: transform .14s ease, box-shadow .14s ease }
.lp.full { box-shadow: 0 0 0 3px var(--green), 0 2px 4px rgba(0,0,0,.4) }
.lp:hover, .lp.hot { transform: scale(1.3) }
.lp.sel { transform: scale(1.35); box-shadow: 0 0 0 3px var(--yellow), 0 0 0 7px rgba(242,194,48,.3) }
.lp.ref { opacity: .55; border-style: dashed }
/* pins on an uploaded route book map: invisible until hovered, picked or lit from the list (chris: no circles on the map) */
.hp { width: 26px; height: 26px; border-radius: 50%; background: transparent; transition: transform .14s ease, box-shadow .14s ease, background .14s }
.hp:hover, .hp.hot { transform: scale(1.4); background: rgba(242,194,48,.28); box-shadow: 0 0 0 2px var(--yellow) }
.hp.sel { transform: scale(1.5); background: rgba(242,194,48,.35); box-shadow: 0 0 0 3px var(--yellow), 0 0 0 7px rgba(242,194,48,.25) }
.hp.ref:hover { background: rgba(255,255,255,.25); box-shadow: 0 0 0 2px #fff }
.leaflet-container .leaflet-tooltip.smtag, .leaflet-container .leaflet-tooltip.smtip { background: #1d2326; color: #fff; border: 0; border-radius: 6px; font: 600 12px var(--body); padding: 3px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.4) }
.leaflet-container .leaflet-tooltip.smtag small { font-weight: 400; color: #cfd2d4; font-size: 11.5px }
.leaflet-container .leaflet-tooltip.smtag::before, .leaflet-container .leaflet-tooltip.smtip::before { display: none }
.leaflet-container .leaflet-popup-content-wrapper { background: var(--panel); color: var(--ink); border: 1px solid var(--yellow); border-radius: 12px }
.leaflet-container .leaflet-popup-tip { background: var(--panel) }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted) }
.leaflet-container.leaflet-container { font-family: var(--body) }
.pp h3 { font: 800 22px/1 var(--display); text-transform: uppercase; margin: 0 }
.pp .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45 }
.pp ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px }
.pp li { display: flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 8px; padding: 5px 8px; font-size: 13.5px; cursor: grab; touch-action: none }
.pp li .sm-av { width: 22px; height: 22px; font-size: 9.5px; background: var(--green); color: #11281a }
.pp li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px }
.pp li em { font-style: normal; color: var(--warn); font-size: 12px; flex-basis: 100% }
.pp li button, .pp .links button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font: 12.5px var(--body); text-decoration: underline; padding: 0 }
.pp .links { display: flex; gap: 12px; margin-top: 10px } .pp .links button { margin-left: 0 }
.pp.hot .drophint { border-color: var(--green); color: var(--ink); background: rgba(80,200,120,.12) }
.pp .drophint { margin-top: 10px; border: 1px dashed var(--rule); border-radius: 8px; padding: 7px; text-align: center; font-size: 12.5px; color: var(--muted) }
/* the card you drag: straight, under the pointer, never in the way of the drop */
.sm-ghost { position: fixed; z-index: 1000; pointer-events: none; display: flex; gap: 8px; align-items: center; background: #1d2326; border: 1px solid var(--yellow); border-radius: 10px; padding: 6px 10px; color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.5); transform: translate(-20px, -50%) }
.sm-ghost b { font-size: 13px; display: block } .sm-ghost span { font-size: 11.5px; display: block; color: var(--yellow) } .sm-ghost span.sm-w { color: var(--warn) }
body.sm-dragging, body.sm-dragging * { cursor: grabbing !important; user-select: none }
/* Check the pins / Check the import */
.sm-ck-list { display: flex; flex-direction: column; gap: 6px; max-height: 640px; overflow: auto; padding-right: 4px }
.ck-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 8px }
.ck-row input:not([type=checkbox]), .ck-row select, .km-stage input:not([type=checkbox]) { height: 32px; padding: 4px 8px; font-size: 13.5px; border-radius: 6px }
.ck-row .check input, .km-stage .check input { width: 18px; height: 18px }
.sm-km .ck-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(0, 118px) minmax(0, 130px); margin-left: 10px }
.sm-km .ck-row .ck-note { grid-column: 2 / -1 }
.ck-row.on { border-color: var(--yellow) }
.ck-row.off { opacity: .5 }
.ck-row input[data-ck=label], .ck-row input[data-km=label], .ck-row input[data-gx=label] { flex: 1 1 110px; min-width: 0; padding: 5px 8px }
.ck-row select { flex: 0 1 auto; width: auto; padding: 5px 6px; font-size: 13px; max-width: 100% }
.ck-x { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0 4px }
.ck-note { flex-basis: 100% }
.linkish { background: none; border: 0; padding: 0; color: var(--yellow); text-decoration: underline; cursor: pointer; font: inherit }
.km-stage { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; padding: 4px 0 }
.km-stage.off { opacity: .55 }
.km-stage input[data-km=sname] { flex: 1 1 160px; min-width: 0; font-weight: 700; padding: 5px 8px }
.km-sw { width: 14px; height: 6px; border-radius: 3px; flex: none }
/* leave without saving */
.sm-leave { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px }
.sm-leave-in { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; max-width: 420px; display: grid; gap: 10px }
.sm-leave-in h3 { font: 800 24px var(--display); text-transform: uppercase; margin: 0 }
.sm-leave-in p { margin: 0; color: var(--muted) }
.sm-discard { color: var(--red) !important }
/* board links to the map */
.sm-go { color: var(--yellow) !important; white-space: nowrap }
.sm-off { font-size: 12px; color: var(--warn); white-space: nowrap }
.sm-poscell { white-space: nowrap }
/* My Training: your post on the stage map */
.sm-mine-wrap { display: grid; gap: 12px }
.sm-mine { display: grid; gap: 10px; background: var(--panel-2); border: 1px solid var(--rule); border-radius: 12px; padding: 14px }
.sm-mine-map { position: relative; width: 100%; max-width: 100%; border-radius: 8px; overflow: hidden; background: #fff }
.sm-mine-map img { display: block; width: 100%; height: 100% }
.sm-you { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 4px solid var(--yellow); box-shadow: 0 0 0 3px #1d2326, 0 0 0 9px rgba(242,194,48,.35) }
.sm-mine-live { height: 280px; border-radius: 8px; overflow: hidden }
@media (max-width: 1100px) { .sm-grid { grid-template-columns: 210px minmax(0, 1fr) } .sm-pins { grid-column: 1 / -1; max-height: none } .sm-grid2 { grid-template-columns: 1fr } }
@media (max-width: 700px) { .sm-grid { grid-template-columns: 1fr } .sm-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 4px } .sm-vol { flex: none; max-width: 240px } .sm-map { height: 60vh; min-height: 320px } .sm-team { margin-left: 0 } .sm-save { text-align: left } }
@media (prefers-reduced-motion: reduce) { .lp, .hp { transition: none } }
@media print { .sm-panel { display: none } }

/* site65 (chris): the stage map page uses the whole screen on a computer. Everything for the map is on one screen;
   only the volunteer and pin lists scroll, inside their own columns. Phones keep the normal page. */
.sm-top { display: none }
@media (min-width: 900px) {
  body.smfull { overflow: hidden }
  body.smfull .sm-panel { position: fixed; inset: 0; z-index: 60; margin: 0; border-radius: 0; padding: 0 16px 12px; display: flex; flex-direction: column; background: var(--panel, #1d2326); max-width: none; overflow: hidden }
  body.smfull #sm-root { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 8px }
  body.smfull .sm-head { align-items: center !important; padding: 8px 0; border-bottom: 1px solid var(--rule) }
  body.smfull .sm-intro { display: none }
  body.smfull .sm-top { display: flex; align-items: center; gap: 14px; min-width: 0 }
  body.smfull .sm-top b { font: 700 18px var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap }
  body.smfull .sm-top span { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
  body.smfull .sm-save { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse }
  body.smfull .sm-save p { margin: 0 }
  body.smfull .sm-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center }
  body.smfull .sm-bar .fbtns { flex-wrap: wrap }
  body.smfull #sm-body { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 8px }
  body.smfull #sm-body > p.small { margin: 0 !important; font-size: 12.5px }
  body.smfull #sm-body > p.small.muted { display: none }
  body.smfull .sm-grid { flex: 1; min-height: 0; align-items: stretch }
  body.smfull .sm-grid:not(.sm-grid2) { grid-template-columns: 250px minmax(0, 1fr) 270px }
  /* Check the pins and Check the import: the map on the left, the list on the right (site67 fix: the map was squeezed into the 250px column) */
  body.smfull .sm-grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 480px) }
  body.smfull .sm-grid2 > * { min-height: 0; overflow: auto }
  body.smfull .sm-grid2 > .sm-mapcol { overflow: hidden; flex-direction: column }
  body.smfull .sm-ck-list { max-height: none }
  body.smfull .sm-vols, body.smfull .sm-pins { overflow: auto; min-height: 0; max-height: none }
  body.smfull .sm-vols .sm-list, body.smfull #sm-plist { max-height: none }
  /* site114: a list never shrinks below a readable height (one volunteer left to place was squeezed to a sliver); the column scrolls instead */
  body.smfull .sm-vols > * { flex-shrink: 0 } body.smfull .sm-vols #sm-un { max-height: none }
  body.smfull .sm-mapcol { min-height: 0; display: flex }
  body.smfull .sm-map { height: auto; min-height: 0; max-height: none; flex: 1 }
  body.smfull .sm-add { overflow: auto; min-height: 0 }
  body.smfull #sm-body:has(.sm-add) { overflow: auto }
}
.t-meetup { --c: #5fbf80 }
.sm-mine-stage { height: 380px }

/* site72: show a stage to volunteers, print / share */
.sm-sub { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 6px }
.sm-share { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto }
.sm-pubdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5fbf80; margin-right: 6px; vertical-align: middle }

/* site104: diagram builder */
.db-pal .quick { border-color: #2f7d4a }
.db-signs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel-2) } .db-signs[hidden] { display: none }
.db-signs button { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 3px; width: 84px; padding: 6px 4px; border: 1px solid var(--rule); border-radius: 8px; font-size: 11.5px; line-height: 1.2; text-align: center; color: var(--muted) }
.db-signs button:hover, .db-signs button:focus-visible { border-color: var(--yellow); color: var(--ink) } .db-signs button svg { background: #e0e6d3; border-radius: 6px }
.handles .rotline { stroke: #6aa9e9; stroke-width: 1.5; pointer-events: none } .handles .rot { fill: #fff; stroke: #6aa9e9; stroke-width: 2; cursor: grab }

/* site116: a button that finishes or saves something is green */
.btn.go, .btn.ghost.go { background: var(--green); border-color: var(--green); color: #07140c } .btn.go:hover, .btn.ghost.go:hover { color: #07140c; background: var(--green); filter: brightness(1.06) }

/* site120: work-together groups */
.chip.grp, .sm-grp { display: inline-block; background: #6fb4e8; color: #07140c; font: 700 11px var(--display); letter-spacing: .1em; border-radius: 5px; padding: 1px 6px; margin-left: 6px; white-space: nowrap }
.grpbox { display: grid; gap: 4px; border-left: 4px solid #6fb4e8; background: var(--panel-2); border-radius: 6px; padding: 8px 10px; margin-top: 8px } .grpbox select, .grpbox input[type=text] { width: auto; min-width: 180px; max-width: 260px }

/* site123: resizable Stage map side columns */
.sm-grid { position: relative }
.sm-grip { display: none; position: absolute; top: 0; bottom: 0; width: 10px; cursor: col-resize; touch-action: none; z-index: 5 }
.sm-grip i { position: absolute; left: 3px; top: 50%; height: 56px; width: 4px; margin-top: -28px; border-radius: 3px; background: var(--rule); transition: background .15s }
.sm-grip:hover i, .sm-grip.on i, .sm-grip:focus-visible i { background: var(--yellow) }
@media (min-width: 1101px) {
  .sm-grip { display: block }
  .sm-grid:not(.sm-grid2) { grid-template-columns: var(--sml, 230px) minmax(0, 1fr) var(--smr, 250px) }
  body.smfull .sm-grid:not(.sm-grid2) { grid-template-columns: var(--sml, 250px) minmax(0, 1fr) var(--smr, 270px) }
}

/* site124: what's left strip */
.wlstrip { display: grid; gap: 10px }
.wltiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px }
.wltile { display: grid; gap: 2px; text-align: left; border: 1px solid var(--rule); border-radius: 10px; padding: 8px 12px; background: var(--panel-2); color: var(--ink); cursor: pointer; font: inherit }
.wltile.hot { border-color: var(--yellow) } .wltile:disabled { cursor: default; opacity: .7 }
.wltile b { font: 800 26px/1 var(--display) } .wltile span { font-size: 12.5px; color: var(--muted) } .wltile em { font-style: normal; font-size: 12.5px; color: var(--yellow) } .wltile:disabled em { color: var(--green) }
.wlmeter { display: grid; gap: 4px }
.wlrow { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 90px; gap: 10px; align-items: center; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; padding: 2px 0; cursor: pointer }
.wlrow:hover .wln { text-decoration: underline }
.wlbar { height: 10px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--rule); overflow: hidden } .wlbar i { display: block; height: 100%; background: var(--green) } .wlbar i.low { background: var(--yellow) } .wlbar i.zero { background: #e0615a }
.wlrow small { color: var(--muted); text-align: right }
@media (max-width: 560px) { .wlrow { grid-template-columns: 100px minmax(0, 1fr) 70px } }

/* site125: bulk assign controls */
.vb-asg { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center } .vb-asg select { width: auto; min-width: 150px; max-width: 220px }
#vfbox { margin: 6px 0 }

/* site126: Suggest on the Stage map */
.sm-sugbtn { border-style: dashed }
.sm-vol.sug, .sm-prow.sug { border-style: dashed; border-color: var(--yellow); opacity: 1 }
.sm-vol.sug .sm-av { background: transparent; color: var(--yellow); border: 1.5px dashed var(--yellow) }
.sm-why:empty { display: none } .sm-why { margin: 0 0 10px }
.sm-whybox { border: 1px dashed var(--yellow); border-radius: 10px; padding: 8px 12px; background: var(--panel-2) }
.sm-whybox summary { cursor: pointer; font-size: 13.5px }
.sm-whyl { margin: 4px 0 0; padding-left: 18px; font-size: 13px; display: grid; gap: 2px }

/* site131: requested-job chips on the name line, right-aligned (wrap to their own line when the column is narrow) */
.sm-vol b .sm-ctl { margin: 0 0 0 auto; flex: none; justify-content: flex-end }

/* site132: one scrollbar on the Stage map volunteers column (the whole column scrolls; the Not placed header with Suggest stays pinned) */
body.smfull .sm-vols .sm-vh { position: sticky; top: 0; z-index: 3; background: var(--panel, #262d31); padding: 4px 0 }

/* site133: meet-up points on the stage map sheet */
.s-meet { display: grid; gap: 1px; margin: 6px 0; padding: 6px 10px; border: 2px solid #111; border-radius: 6px; background: #f4f4f4; color: #111 } .s-meet b { font: 800 15px var(--display); letter-spacing: .04em; text-transform: uppercase } .s-meetn { font-weight: 600; font-size: 13px } .s-meet .sm { font-size: 11px }

/* site133: meet-up banner on a crew sheet */
.s-meetb { display: grid; gap: 1px; margin: 6px 0 8px; padding: 6px 10px; border: 2px solid #111; border-radius: 6px; background: #f4f4f4; color: #111 } .s-meetb b { font: 800 15px var(--display); letter-spacing: .04em; text-transform: uppercase } .s-meetb .sm { font-size: 11px }

/* site136: card text fills the card so the chips on the name line sit at the right edge at any column width */
.sm-vol > div { flex: 1; min-width: 0 }


/* site140: the digits in a round marshal marker sit comfortably inside the circle (chris, Nov 21) */
.lp.t-marshal { font-size: 8px; letter-spacing: -.02em }

/* site141: marshal marker digits scale to fit the circle (chris, Nov 22) */
.lp .d { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: -.02em; white-space: nowrap; transform: scale(.62); transform-origin: center }
.lp .d.d1, .lp .d.d2 { transform: scale(.8) } .lp .d.d4, .lp .d.d5 { transform: scale(.5) }

/* site142: Stage name up on the tab row, larger; the ARA Radio Point sign marks radio license holders */
.sm-bar .sm-sn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px }
.sm-sn .sm-team { margin-left: 0 } .sm-sn .sm-team label { font-size: 16px }
.sm-sn .sm-team input { font-size: 18px; font-weight: 700; width: 250px; padding: 7px 10px }
.sm-rsign { width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; flex: none }
.sm-prow .sm-callt { font: 600 11px var(--mono); color: var(--radio); margin-left: 2px }
.lp { position: relative }
.lp .rd { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.5) }
.lp .rd img { width: 18px; height: 18px; border-radius: 50% }

/* site143: Team stays beside the buttons; Stage captain and Captain phone sit together at the right edge */
.sm-tools > .sm-team { margin-left: 8px }
.sm-tools > .sm-capgrp { margin-left: auto; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px }
.sm-capgrp > .sm-team { margin-left: 0 }
@media (max-width: 700px) { .sm-tools > .sm-team, .sm-tools > .sm-capgrp { margin-left: 0; justify-content: flex-start } }

/* site144: count circle on a pin = volunteers placed there (amber: someone hasn't passed the post's drill) */
.lp .ct { position: absolute; right: -9px; top: -9px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #1d2326; color: #fff; font: 700 11px/15px var(--body); letter-spacing: 0; text-align: center; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.5); pointer-events: none }
.lp .ct.w { background: #f2a530; color: #1d2326 }
.lp .rd { pointer-events: none }

/* site144: phones. The stage map column never grows past the screen; Stage name row wraps */
#sm-root { grid-template-columns: minmax(0, 1fr) }
#sm-root > * { min-width: 0 }
.sm-bar .sm-sn { flex-wrap: wrap; max-width: 100%; min-width: 0 }
.sm-sn .sm-team { min-width: 0; flex: 1 1 auto }
.sm-sn .sm-team input { min-width: 0; max-width: 100%; flex: 1 1 140px }
@media (max-width: 700px) { .sm-sn .sm-team input { width: auto } .sm-bar .sm-sn { margin-left: 0; width: 100% } }

@media (max-width: 700px) {
  .sm-list { flex-direction: column; flex-wrap: nowrap; overflow-x: hidden; overflow-y: auto; max-height: 280px; padding-bottom: 0; -webkit-overflow-scrolling: touch; overscroll-behavior: contain }
  .sm-vol { max-width: none; width: 100% }
  .sm-sn .sm-team input { font-size: 16px }
}
