/* Погода в карточке ответа (site/js/weather-view.js): одна строка под «что
   проверено», подробности по нажатию. Справка: зелёного нет, предупреждение
   янтарное, сбой серый со словами. */
.v-weather { margin-top: 8px; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.v-weather-head {
  display: flex;
  min-height: 26px;
  align-items: center;
  gap: 6px;
  list-style: none;
}
summary.v-weather-head { cursor: pointer; }
.v-weather-head::-webkit-details-marker { display: none; }
summary.v-weather-head::after {
  width: 6px;
  height: 6px;
  flex: none;
  margin: -3px 4px 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}
.v-weather-details[open] > summary.v-weather-head::after { margin-top: 3px; transform: rotate(225deg); }
.v-weather-text { min-width: 0; }
.v-weather-mark {
  display: grid;
  width: 15px;
  height: 15px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--muted);
  color: var(--surface);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
}
.v-weather-mark svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.is-ok > .v-weather-mark { background: none; color: var(--brand); }
.is-warn > .v-weather-mark { background: var(--marker-part); }
.is-warn > .v-weather-mark::before { content: "!" / ""; }
.is-wait > .v-weather-mark::before { content: "…" / ""; }
.is-miss > .v-weather-mark::before { content: "✕" / ""; }
.is-miss > .v-weather-text { color: var(--muted); }

.v-weather-body {
  display: grid;
  gap: 8px;
  margin: 4px 0 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.v-weather-body .v-facts { margin-top: 0; }
.v-weather-notes {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--status-warn-bg);
  color: var(--status-warn-ink);
  font-size: 12px;
  list-style: none;
}
.v-weather-note,
.v-weather-source { margin: 0; color: var(--muted); font-size: 11.5px; }

/* Солнце для съёмки (site/js/sun-view.js): свёрнутая строка как «Подробнее»,
   по нажатию направление, высота, восход, закат и золотой час. Линия на карте
   янтарная (sun-layer.js), не цвет статуса ответа. */
.v-sun { margin-top: 9px; border-top: 1px solid var(--line); }
.v-sun-summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  list-style: none;
}
.v-sun-summary::-webkit-details-marker { display: none; }
.v-sun-summary::after {
  width: 7px;
  height: 7px;
  flex: none;
  margin: -4px 4px 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}
.v-sun[open] > .v-sun-summary::after { margin-top: 4px; transform: rotate(225deg); }
.v-sun-body { display: grid; gap: 8px; padding-bottom: 10px; }
.v-sun-body .v-facts { margin-top: 0; }
.v-sun-place { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.v-sun-below { color: var(--ink); font-size: 13px; font-weight: 700; }
.v-sun-night { color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
#map path.sun-line { stroke: var(--marker-part); }
#map path.sun-end { fill: var(--marker-part); stroke: var(--surface); }
