/* Pulse Radar track — Fog Atelier */

.a87-pulse {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 3rem;
}

.a87-pulse-mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1.5rem;
  border-bottom: 1px solid var(--a87-line);
}
@media (max-width: 700px) {
  .a87-pulse-mast { flex-direction: column; align-items: flex-start; }
}
.a87-pulse-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a87-tide);
}
.a87-pulse-mast h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}
.a87-pulse-mast p { margin: 0; color: #3D4A56; max-width: 40ch; }

.a87-pulse-gauge {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  color: var(--a87-azure);
  flex-shrink: 0;
}
.a87-pulse-gauge.is-miss { color: var(--a87-bloom); }
.a87-pulse-gauge.is-idle { color: var(--a87-mute); }
.a87-pulse-gauge svg { width: 100%; height: 100%; }
.a87-pulse-gauge circle:last-of-type {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.a87-pulse-gauge-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.a87-pulse-gauge-copy strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--a87-ink);
}
.a87-pulse-gauge-copy span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3D4A56;
}

.a87-pulse-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 860px) {
  .a87-pulse-grid { grid-template-columns: 1fr; }
}

.a87-pulse-scan {
  background: #12181F;
  color: #FBFCFD;
  border-radius: 14px;
  padding: 1.35rem;
}
.a87-pulse-scan h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}
.a87-pulse-scan > p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}
.a87-pulse-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.a87-pulse-field span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.a87-pulse-field input {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a87-pulse-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}
.a87-pulse-field input:focus {
  outline: none;
  border-color: var(--a87-citrus);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}
.a87-pulse-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.a87-pulse-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 8px;
  background: var(--a87-bloom);
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.a87-pulse-go:hover,
.a87-pulse-go:focus-visible {
  transform: translateY(-2px);
  background: #BE123C;
  color: #FFFFFF !important;
}
.a87-pulse-reset {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #FFE566 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.a87-pulse-reset:hover { color: #FFFFFF !important; }

.a87-pulse-board {
  background: var(--a87-paper);
  border: 1px solid var(--a87-line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--a87-shadow-soft);
}

.a87-pulse-beats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.a87-pulse-beat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--a87-fog);
  border: 1px solid transparent;
  transition: transform 0.25s, border-color 0.2s, background 0.2s;
}
.a87-pulse-beat.is-done {
  background: rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.25);
}
.a87-pulse-beat.is-now {
  background: rgba(29, 78, 216, 0.1);
  border-color: var(--a87-azure);
  transform: translateX(6px);
  animation: a87-pulse-glow 1.8s ease-in-out infinite;
}
@keyframes a87-pulse-glow {
  50% { box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12); }
}
.a87-pulse-beat.is-mute {
  opacity: 1;
  background: #E8EDF2;
  color: #3D4A56;
}
.a87-pulse-beat.is-mute .a87-pulse-beat-ring {
  background: #5A6672;
  color: #FFFFFF;
}
.a87-pulse-beat-ring {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--a87-ink);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
}
.a87-pulse-beat.is-done .a87-pulse-beat-ring { background: var(--a87-tide); color: #FFFFFF; }
.a87-pulse-beat.is-now .a87-pulse-beat-ring { background: var(--a87-azure); color: #FFFFFF; }
.a87-pulse-beat strong { display: block; font-size: 0.95rem; color: var(--a87-ink); }
.a87-pulse-beat small { color: #3D4A56; }

.a87-pulse-hit {
  border-top: 1px dashed var(--a87-line);
  padding-top: 1rem;
}
.a87-pulse-hit header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.a87-pulse-hit em {
  font-style: normal;
  color: var(--a87-tide);
}
.a87-pulse-id {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.a87-pulse-hit dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.a87-pulse-hit dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3D4A56;
}
.a87-pulse-hit dd { margin: 0.15rem 0 0; font-weight: 800; color: var(--a87-ink); }

.a87-pulse-note {
  padding: 1rem;
  background: var(--a87-fog);
  border-radius: 10px;
  border-left: 3px solid var(--a87-azure);
}
.a87-pulse-note.is-miss { border-left-color: var(--a87-bloom); }
.a87-pulse-note strong { display: block; margin-bottom: 0.35rem; color: var(--a87-ink); }
.a87-pulse-note p { margin: 0 0 0.65rem; color: #3D4A56; font-size: 0.9rem; }
.a87-pulse-note a {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: var(--a87-azure);
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: none !important;
}
.a87-pulse-note a:hover {
  background: var(--a87-tide);
  color: #FFFFFF !important;
}

.a87-pulse-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.a87-pulse-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  background: var(--a87-fog);
  color: var(--a87-ink) !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.a87-pulse-links a:hover {
  background: var(--a87-azure);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}
