/* Unwind detector card. Namespaced .uw-* so it cannot collide with style.css,
 * theme-v4.css or the other card modules. The stage is carried by its word and
 * glyph as well as by colour. */
.unwind-card { display: flex; flex-direction: column; gap: 6px; border-left: 4px solid #475569; }
.unwind-card.uw-onset { border-left-color: #22c55e; box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.unwind-card.uw-pressure { border-left-color: #f59e0b; }
.unwind-card.uw-none { border-left-color: #475569; }
.unwind-card.uw-forming { border-left-color: #334155; }
.uw-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uw-head .label { flex: 0 0 auto; }
.uw-tag { font-size: 9px; letter-spacing: .08em; padding: 1px 7px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-dim); }
.uw-meta { flex: 1 1 auto; text-align: right; font-size: 10px; color: var(--text-dimmer);
  font-variant-numeric: tabular-nums; }
.uw-word { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800;
  letter-spacing: .03em; line-height: 1.1; text-wrap: balance; }
.uw-icon { font-size: 15px; }
.uw-onset .uw-word { color: #4ade80; }
.uw-pressure .uw-word { color: #fbbf24; }
.uw-none .uw-word, .uw-forming .uw-word { color: var(--text-dim); }
.uw-line { font-size: 12px; color: var(--text); line-height: 1.45; overflow-wrap: anywhere; }
.uw-q { font-size: 11px; color: var(--text-dim); }
.uw-noteline { font-size: 11px; color: #86efac; }
.uw-timing { font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.uw-pfh { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dimmer);
  margin-top: 4px; }
.uw-pf { font-size: 11px; font-variant-numeric: tabular-nums; }
.uw-pf b { color: var(--text-dim); font-weight: 600; margin-right: 4px; }
.uw-details summary { cursor: pointer; font-size: 11px; color: var(--text-dim); }
.uw-details summary:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.uw-details h4 { font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dimmer); margin: 10px 0 4px; font-weight: 600; }
.uw-scroll { overflow-x: auto; }
table.uw-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 11px;
  font-variant-numeric: tabular-nums; }
table.uw-table th, table.uw-table td { text-align: left; padding: 3px 8px 3px 0; vertical-align: top;
  border-bottom: 1px solid var(--border); }
table.uw-table thead th { font-weight: 500; color: var(--text-dimmer); white-space: nowrap; }
table.uw-table tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
table.uw-table td { color: var(--text); }
.uw-sub { display: block; font-size: 10px; color: var(--text-dimmer); }
.uw-z { color: var(--text-dim); }
.uw-hit { color: #4ade80; font-weight: 600; }
.uw-warn { color: #fbbf24; font-weight: 600; }
.uw-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.uw-events li { font-size: 11px; color: var(--text); padding-left: 8px; border-left: 2px solid var(--border);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.uw-events li.uw-ev-onset { border-left-color: #22c55e; }
.uw-events li.uw-ev-pressure { border-left-color: #f59e0b; }
.uw-note, .uw-foot { font-size: 10px; color: var(--text-dimmer); line-height: 1.45; margin: 4px 0 0; }
.uw-empty { font-size: 12px; color: var(--text-dimmer); }
@media (max-width: 480px) {
  .uw-word { font-size: 17px; }
  .uw-meta { text-align: left; flex-basis: 100%; }
}
