.wos-intel {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  overflow-wrap: anywhere;
}
.wos-intel h2,
.wos-intel h3 {
  margin: 0;
}
.wos-intel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.wos-intel__header h2 {
  font: 600 1.125rem/1.35 var(--font-heading);
  letter-spacing: -.025em;
}
.wos-intel__freshness,
.wos-intel__meta {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}
.wos-intel__section,
.wos-intel__player-section,
.wos-intel__city {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  overflow: clip;
}
.wos-intel__section > summary,
.wos-intel__player-section > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.wos-intel__section > summary::-webkit-details-marker,
.wos-intel__player-section > summary::-webkit-details-marker,
.wos-intel__history > summary::-webkit-details-marker,
.wos-intel__inline-details > summary::-webkit-details-marker {
  display: none;
}
.wos-intel__section-summary::after,
.wos-intel__player-summary::after {
  content: '+';
  margin-left: auto;
  color: var(--muted);
  font-size: 1.05rem;
}
.wos-intel__section[open] > .wos-intel__section-summary::after,
.wos-intel__player-section[open] > .wos-intel__player-summary::after {
  content: '−';
}
.wos-intel__section[open] > summary,
.wos-intel__player-section[open] > summary {
  border-bottom: 1px solid var(--border);
}
.wos-intel__section-summary > strong,
.wos-intel__player-summary {
  font-weight: 600;
}
.wos-intel__count,
.wos-intel__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.2;
  white-space: nowrap;
}
.wos-intel__section-content,
.wos-intel__player-content {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
}
.wos-intel__rows {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.wos-intel__row {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--gray-50);
}
.wos-intel__row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.wos-intel__row-top > strong,
.wos-intel__row > strong {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.hero-card > summary {
  cursor: pointer;
  list-style: none;
  min-height: 28px;
}
.hero-card > summary::-webkit-details-marker { display: none; }
.hero-card > summary::after {
  content: '+';
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-card[open] > summary::after { content: '−'; }
.hero-card > :not(summary) { margin-top: 7px; }
.hero-card__identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-right: auto;
}
.hero-card__identity > strong { overflow-wrap: anywhere; }
.hero-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--gray-100);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.hero-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-gear {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 5px 0;
}
.hero-gear__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 9px 3px 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  text-align: center;
}
.hero-gear__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 22px;
}
.hero-gear__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-gear__icon.has-art {
  width: min(100%, 48px);
  height: 48px;
}
.hero-gear__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hero-gear__name,
.hero-gear__refine {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.25;
}
.hero-gear__level {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero-gear__item.is-unknown .hero-gear__icon,
.hero-gear__item.is-unknown .hero-gear__level { color: var(--muted); }
@media (max-width: 480px) {
  .hero-gear { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wos-intel__line,
.wos-intel__change-values {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.wos-intel__change-values {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.wos-intel__arrow {
  color: var(--muted);
}
.wos-intel__actions,
.wos-intel__limits {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wos-intel__action {
  min-height: 44px;
}
.wos-intel__empty,
.wos-intel__note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--gray-50);
  color: var(--muted);
  line-height: 1.45;
}
.wos-intel__note {
  border-left: 3px solid var(--primary);
}
.wos-intel__subsection {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.wos-intel__subsection + .wos-intel__subsection {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.wos-intel__subsection h3,
.wos-intel__city h3 {
  font: 600 .95rem/1.4 var(--font-heading);
}
.wos-intel__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
  gap: 6px;
  min-width: 0;
}
.wos-intel__metric {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--gray-50);
}
.wos-intel__metric > span {
  color: var(--muted);
  font-size: .75rem;
}
.wos-intel__metric > strong {
  overflow-wrap: anywhere;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
.wos-intel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.wos-intel__filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 7px;
  min-width: 0;
}
.wos-intel__input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.wos-intel__filter {
  min-width: min(100%, 190px);
  min-height: 44px;
  padding: 8px 32px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.wos-intel__inline-details,
.wos-intel__history {
  min-width: 0;
  padding-top: 5px;
  border-top: 1px solid var(--border);
}
.wos-intel__inline-details > summary,
.wos-intel__history > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  list-style: none;
}
.wos-intel__inline-content {
  display: grid;
  gap: 6px;
  padding-bottom: 6px;
}
.wos-intel__player-section > summary {
  flex-wrap: wrap;
  font-weight: 600;
}
.wos-intel__player-summary > .wos-intel__meta {
  margin-left: auto;
  font-weight: 400;
}
.wos-intel__city {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--gray-50);
}
.wos-intel__history-row,
.wos-intel__subrow {
  display: grid;
  gap: 3px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.wos-intel__history-row:first-of-type,
.wos-intel__subrow:first-of-type {
  border-top: 0;
}
.wos-intel__chart-bar {
  fill: var(--primary);
}
.wos-intel__chart-value,
.wos-intel__chart-date {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 8px;
}
.wos-intel__chart-value {
  font-size: 7px;
}
.wos-intel__source {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wos-intel__player-section .wos-intel__metrics {
  padding: 10px;
}
.wos-intel__player-content > svg {
  width: 100%;
  height: auto;
  max-height: 90px;
}

.map-briefing { gap: 4px; }
.map-response-summary { margin: 0; font-size: 14px; color: var(--text); }
.map-intel-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.map-intel-tools > .wos-intel__section { border: 0; background: transparent; border-radius: 0; }
.map-intel-tools > .wos-intel__section > summary { min-height: 44px; padding: 6px 2px; gap: 2px; font-size: 12px; white-space: nowrap; }
.map-intel-tools .wos-intel__count { display: none; }
.map-intel-tools > .wos-intel__section[open] { grid-column: 1 / -1; }
#detail .wos-intel__header h2 { font-size: 17px; }
#detail .wos-intel__metric { border: 0; border-radius: 0; padding: 8px 0; background: none; }
#detail .wos-intel__player-section { border-width: 0 0 1px; border-radius: 0; }
#detail .wos-intel__player-section > summary { padding-inline: 0; }
#detail .wos-intel__player-content { padding-inline: 0; }

@media (max-width: 600px) {
  .wos-intel__header {
    display: grid;
    gap: 3px;
  }
  .wos-intel__section > summary,
  .wos-intel__player-section > summary {
    padding-inline: 11px;
  }
  .wos-intel__section-content,
  .wos-intel__player-content {
    padding: 8px;
  }
  .wos-intel__row {
    padding: 9px;
  }
  .wos-intel__toolbar {
    align-items: stretch;
  }
  .wos-intel__filter {
    width: 100%;
  }
  .wos-intel__filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .wos-intel__limits {
    width: 100%;
  }
  .wos-intel__limits > button {
    flex: 1;
  }
  .wos-intel__player-summary > .wos-intel__meta {
    width: calc(100% - 24px);
    margin-left: 0;
  }
}

.map-calendar-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 2px;font-size:12px;color:var(--primary)}
