
:root {
  color-scheme: dark;
  --bg: #191c1a;
  --surface: #242925;
  --text: #e3e6df;
  --muted: #b0b8ac;
  --line: #596552;
  --accent: #acc383;
  --green: #acc383;
  --amber: #ffd486;
  --red: #ffabac;
  font: 17px/1.55 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  background: var(--bg);
  color: var(--text)
}
* {
  box-sizing: border-box
}
body {
  margin: 0
}
button,input,select,textarea {
  font: inherit
}
button,summary {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent
}
button {
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--accent)
}
button:disabled {
  opacity: .65;
  cursor: default
}
button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px
}
[hidden] {
  display: none!important
}
.shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column
}
header {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1rem .5rem;
  padding-top: max(1rem,env(safe-area-inset-top))
}
main {
  padding: 0 24px 1.5rem;
  flex: 1
}
h1 {
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -.045em;
  margin: 1rem 0 .6rem;
  font-weight: 650
}
h2 {
  font-size: 1.15rem;
  margin: 1.7rem 0 .5rem
}
p {
  margin: .6rem 0 1.3rem
}
#intake h1,.intro {
  text-align: center
}
.intro {
  margin-bottom: 1.5rem
}
.radar {
  width: 224px;
  height: 224px;
  position: relative;
  margin: 1.25rem auto 1.5rem;
  isolation: isolate;
}
.radar-scale { display: block; width: 100%; height: 100%; }
.scope-face { fill: #111910; stroke: #667951; stroke-width: 1.5; }
.range-rings { fill: none; stroke: #526344; stroke-width: .8; }
.scope-crosshair { fill: none; stroke: #677c54; stroke-width: .8; }
.scope-crosshair .diagonals { stroke: #364a2e; stroke-dasharray: 2 4; }
.bearing-ticks { stroke: #88997a; stroke-width: 1; }
.bearing-labels { fill: #b2bba9; font: 8px ui-monospace,Menlo,monospace; text-anchor: middle; letter-spacing: .7px; }
.radar-sweep {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 286deg, #87ac5820 310deg, #b4d78170 359deg, transparent 360deg);
  transform: rotate(55deg);
}
.radar-sweep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 50%;
  background: #c1df91;
  box-shadow: 0 0 5px #a4c77488;
}
.radar.active .radar-sweep { animation: sweep 1.8s linear infinite; }
@keyframes sweep { from { transform: rotate(55deg); } to { transform: rotate(415deg); } }
label {
  display: block;
  margin: 1rem 0 .35rem;
  font-weight: 550
}
input:not([type=checkbox]),textarea,select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  padding: .7rem .8rem;
  min-height: 48px
}
textarea {
  resize: vertical;
  border-color: var(--accent);
  min-height: 154px
}
::placeholder {
  color: #a0ab99;
  opacity: 1
}
.hint,.footnote {
  font-size: .83rem;
  line-height: 1.45;
  color: var(--muted)
}
.hint {
  margin: .4rem 0 1rem
}
.footnote {
  text-align: center;
  margin: 1rem 0
}
.primary {
  width: 100%;
  background: var(--accent);
  color: #182012;
  border-color: transparent;
  font-weight: 700;
  letter-spacing: .025em;
  margin-top: 1.25rem;
  min-height: 56px;
  box-shadow: inset 0 1px 0 #d2e0bc80
}
details {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .75rem 1rem;
  margin: 1rem 0
}
summary {
  min-height: 28px;
  font-weight: 550
}
details p {
  margin: .7rem 0
}
nav {
  display: flex;
  gap: 4px;
  padding: .5rem .75rem max(.5rem,env(safe-area-inset-bottom));
  border-top: 1px solid #475143;
  background: var(--bg)
}
nav button {
  flex: 1;
  border: 0;
  color: var(--text);
  font-size: .85rem;
  border-radius: 3px;
  padding: .65rem .25rem
}
nav [aria-current=page] {
  color: var(--accent);
  background: #acc3830d
}
#people-panel,#settings-panel {
  padding-top: 1.5rem
}
#people-list {
  margin: 1.5rem 0
}
.person {
  border-block: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  gap: .65rem;
  align-items: center;
  flex-wrap: wrap
}
.person div {
  flex: 1 1 170px;
  min-width: 0
}
.person strong,.person small {
  display: block;
  overflow-wrap: anywhere
}
.person small {
  color: var(--muted);
  font-size: .8rem
}
.person button {
  padding: .4rem .6rem;
  font-size: .85rem;
  border: 0
}
.setting {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: .7rem 0
}
.setting .hint {
  display: block;
  font-weight: 400;
  margin: .3rem 0
}
.setting input {
  width: 26px;
  height: 26px;
  accent-color: var(--accent);
  flex-shrink: 0
}
.notice {
  border-left: 3px solid var(--accent);
  padding: .5rem 1rem;
  margin: 1rem 24px;
  font-size: .9rem
}
#people-error {
  color: var(--red);
  overflow-wrap: anywhere
}
.result-symbol {
  width: 132px;
  height: 132px;
  border: 3px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 5rem;
  font-weight: 250;
  line-height: 1;
  margin: 2rem auto
}
#result h1 {
  text-align: center
}
#result .next-step {
  border-top: 3px solid var(--accent);
  padding-top: 1.3rem;
  margin-top: 2rem
}
.quiet {
  display: block;
  border: 0;
  margin: .5rem auto
}
dl {
  font-size: .85rem
}
dt {
  color: var(--muted);
  margin-top: .8rem
}
dd {
  margin: 0;
  overflow-wrap: anywhere
}
#working {
  text-align: center;
  padding-top: 2rem
}
.large-text {
  font-size: 22px
}
.reduced-motion * {
  animation: none!important;
  transition: none!important
}
#boot-failure {
  padding: 1rem
}
a {
  color: var(--accent)
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    transition: none!important
  }
}
@media(min-width:700px) {
  .shell {
    margin: 28px auto;
    border: 1px solid #4b5645;
    border-radius: 6px;
    overflow: hidden;
    min-height: 850px
  }
  body {
    background: radial-gradient(ellipse at 50% 35%,#343c32 0%,#191c1a 65%);
    min-height: 100vh
  }
  .shell {
    background: var(--bg)
  }
}
@media(max-width:360px) {
  main {
    padding-inline: 18px
  }
  h1 {
    font-size: 1.35rem
  }
  .radar {
    margin-top: .75rem
  }
}
