:root {
  color-scheme: dark;
  --bg-950: #0b1020;
  --bg-900: #111827;
  --bg-850: #162033;
  --bg-800: #243244;
  --text-100: #f4f7fb;
  --text-300: #c7d2de;
  --muted: #8da1b4;
  --accent: #5eead4;
  --accent-strong: #ccfbf1;
  --warm: #fbbf24;
  --leaf: #86efac;
  --ring: rgba(94, 234, 212, 0.42);
  --card: rgba(22, 32, 51, 0.88);
  --card-strong: rgba(11, 16, 32, 0.78);
  --border: rgba(167, 190, 214, 0.2);
  --danger: #fca5a5;
  --danger-border: rgba(248, 113, 113, 0.45);
  --danger-bg: rgba(127, 29, 29, 0.28);
  --container: 1120px;
  --radius: 8px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg-950);
  color: var(--text-100);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 44%, var(--bg-950) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.page {
  width: 92vw;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 0 44px;
}

.page-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  padding: 10px 0 18px;
}

.page-header-topline {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.dashboard-subtitle {
  color: var(--text-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  opacity: 0.7;
  text-transform: uppercase;
}

.dashboard-footer {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  order: 4;
  padding-top: 16px;
}

.dashboard-last-updated {
  color: var(--text-300);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0.75;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.admin-dashboard-link,
.detection-audio-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration-color: rgba(204, 251, 241, 0.45);
  text-underline-offset: 4px;
}

.admin-dashboard-link {
  flex: 0 0 auto;
  font-size: 0.92rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.status-line,
.empty p,
.outage p {
  color: var(--text-300);
  line-height: 1.5;
  margin-bottom: 0;
}

.dashboard-refresh-status {
  color: var(--warm);
  font-size: 0.9rem;
  margin: 8px 0 0;
}

.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.metric,
.daily-chart,
.ranked-species,
.species-gallery,
.empty,
.outage {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.metric {
  min-height: 132px;
  padding: 18px;
}

.metric h2 {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.metric p {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 8px;
}

.metric .scientific-name {
  display: block;
}

.scientific-name {
  color: var(--muted);
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 0;
}

.window-selector {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.window-option {
  background: var(--card-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-300);
  font-size: 0.92rem;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 14px;
  text-decoration: none;
}

.window-option:hover,
.window-option:focus-visible,
.window-option.is-selected {
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.54);
  color: var(--accent-strong);
}

.daily-chart,
.ranked-species,
.species-gallery {
  padding: 20px;
}

.daily-chart,
.ranked-species {
  margin-bottom: 16px;
}

.species-gallery {
  margin-bottom: 16px;
}

.daily-chart h2,
.ranked-species h2,
.species-gallery h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.chart-bars {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chart-day {
  align-items: center;
  border-radius: var(--radius);
  color: inherit;
  display: grid;
  gap: 10px;
  grid-template-columns: 92px minmax(90px, 1fr) 42px;
  min-height: 44px;
  padding: 4px;
  text-decoration: none;
}

.chart-day:hover,
.chart-day:focus-visible {
  background: rgba(94, 234, 212, 0.08);
}

.chart-label {
  color: var(--text-300);
  font-size: 0.88rem;
  white-space: nowrap;
}

.chart-track {
  background: rgba(141, 161, 180, 0.16);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

.chart-fill {
  background: linear-gradient(90deg, var(--accent), var(--warm));
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 3px;
  width: var(--bar-size);
}

.chart-day[data-count="0"] .chart-fill {
  min-width: 0;
}

.chart-count {
  color: var(--text-100);
  font-weight: 800;
  text-align: right;
}

.daily-calendar-header {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
  margin-bottom: 18px;
}

.daily-calendar-header h2 {
  margin: 0;
  text-align: center;
}

.calendar-month-control {
  background: var(--card-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-300);
  font-size: 0.86rem;
  font-weight: 800;
  justify-self: start;
  min-height: 38px;
  padding: 9px 14px;
  text-decoration: none;
}

.calendar-month-control:last-child {
  justify-self: end;
}

.calendar-month-control:hover,
.calendar-month-control:focus-visible {
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.54);
  color: var(--accent-strong);
}

.calendar-month-control.is-disabled {
  cursor: default;
  opacity: 0.38;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.calendar-day {
  border: 1px solid rgba(167, 190, 214, 0.16);
  border-radius: 6px;
  color: var(--text-100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76px;
  padding: 8px;
  text-decoration: none;
}

a.calendar-day:hover,
a.calendar-day:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ring);
  transform: translateY(-1px);
}

.calendar-day-number {
  color: var(--text-300);
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-day-count {
  align-self: flex-end;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.calendar-day.is-future {
  background: rgba(11, 16, 32, 0.2);
  border-style: dashed;
  opacity: 0.35;
}

.heat-level-0 {
  background: rgba(141, 161, 180, 0.1);
}

.heat-level-1 {
  background: rgba(13, 148, 136, 0.24);
}

.heat-level-2 {
  background: rgba(13, 148, 136, 0.4);
}

.heat-level-3 {
  background: rgba(20, 184, 166, 0.52);
}

.heat-level-4 {
  background: rgba(45, 212, 191, 0.64);
}

.calendar-day.heat-level-4,
.calendar-day.heat-level-4 .calendar-day-number {
  color: var(--bg-950);
}

.calendar-legend {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.76rem;
  gap: 5px;
  justify-content: flex-end;
  margin-top: 14px;
}

.calendar-legend i {
  border: 1px solid rgba(167, 190, 214, 0.16);
  border-radius: 3px;
  display: block;
  height: 14px;
  width: 14px;
}

.ranked-species ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranked-species li {
  align-items: center;
  background: rgba(11, 16, 32, 0.38);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  grid-template-columns: 36px minmax(0, 1fr);
  min-height: 58px;
  padding: 10px 12px;
}

.dashboard-activity .ranked-species-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-activity .ranked-species-row {
  background: transparent;
  border: 0;
  display: block;
  min-height: 0;
  min-width: 0;
  padding: 0;
}

.ranked-species-link {
  align-items: center;
  background: rgba(11, 16, 32, 0.38);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  color: inherit;
  display: grid;
  gap: 12px;
  grid-template-columns: 36px minmax(0, 1fr);
  height: 100%;
  min-height: 58px;
  padding: 10px 12px;
  text-decoration: none;
}

.ranked-species-link > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ranked-species-link:hover,
.ranked-species-link:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ring);
  transform: translateY(-1px);
}

.species-rank {
  align-items: center;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  color: #fde68a;
  display: inline-flex;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.ranked-species strong {
  display: block;
  margin-bottom: 3px;
}

.species-count {
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 700;
  margin-right: 8px;
}

.species-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.species-card {
  background: rgba(11, 16, 32, 0.44);
  border: 1px solid rgba(167, 190, 214, 0.16);
  border-radius: var(--radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.species-card:focus-visible,
.species-card:hover {
  border-color: rgba(94, 234, 212, 0.54);
  box-shadow: 0 0 0 4px var(--ring);
}

.species-card-image,
.species-card-placeholder {
  aspect-ratio: 4 / 3;
  background: rgba(141, 161, 180, 0.14);
  border-bottom: 1px solid rgba(167, 190, 214, 0.14);
  display: block;
  width: 100%;
}

.species-card-image {
  object-fit: cover;
}

.species-card-placeholder {
  align-items: center;
  color: var(--text-300);
  display: flex;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.35;
  padding: 18px;
  text-align: center;
}

.bird-silhouette-placeholder {
  overflow: hidden;
  padding: 0;
}

.bird-silhouette-placeholder img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.species-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.species-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0 0 5px;
}

.species-card-facts {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.species-card-facts div {
  display: grid;
  gap: 3px;
}

.species-card-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.species-card-facts dd {
  color: var(--text-100);
  font-size: 0.94rem;
  line-height: 1.35;
  margin: 0;
}

.species-card-link {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: auto;
  text-decoration-color: rgba(204, 251, 241, 0.45);
  text-underline-offset: 4px;
}

.section-toggle {
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: 8px;
  color: var(--accent-strong);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
  margin-top: 14px;
  min-height: 42px;
  padding: 10px 14px;
  text-align: center;
}

.section-toggle:hover,
.section-toggle:focus-visible {
  background: rgba(94, 234, 212, 0.18);
  border-color: rgba(94, 234, 212, 0.64);
}

[hidden] {
  display: none !important;
}

.species-modal {
  background: transparent;
  border: 0;
  color: var(--text-100);
  max-height: min(760px, 88vh);
  max-width: min(1180px, 94vw);
  padding: 0;
  width: 100%;
}

.species-modal::backdrop {
  background: rgba(2, 6, 23, 0.78);
}

.species-modal-panel {
  background: var(--bg-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  max-height: inherit;
  overflow: auto;
  padding: 22px;
}

.species-modal-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.species-modal-header h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.modal-count {
  color: var(--leaf);
  font-weight: 800;
  margin: 10px 0 0;
}

.modal-close {
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.46);
  border-radius: var(--radius);
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 12px;
}

.species-modal-photo {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.species-modal-photo-frame {
  background: rgba(11, 16, 32, 0.64);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  display: grid;
  min-height: 220px;
  overflow: hidden;
  place-items: center;
}

.species-modal-photo-frame img {
  display: block;
  max-height: min(420px, 52vh);
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.species-modal-photo-controls {
  align-items: center;
  color: var(--text-300);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
}

.species-modal-photo-controls button {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(167, 190, 214, 0.28);
  border-radius: var(--radius);
  color: var(--text-100);
  cursor: pointer;
  font: inherit;
  min-height: 36px;
  padding: 7px 10px;
}

.detection-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detection-pagination {
  display: grid;
  gap: 14px;
}

.detection-pagination-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.detection-pagination-toolbar label {
  color: var(--text-300);
  font-size: 0.9rem;
  font-weight: 800;
}

.detection-pagination-toolbar select,
.detection-page-navigation button {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(167, 190, 214, 0.28);
  border-radius: var(--radius);
  color: var(--text-100);
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
}

.detection-page-navigation {
  align-items: center;
  display: flex;
  gap: 10px;
}

.detection-page-navigation button {
  cursor: pointer;
  font-weight: 800;
}

.detection-page-navigation button:disabled {
  cursor: default;
  opacity: 0.48;
}

.detection-page-navigation span {
  color: var(--text-300);
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 92px;
  text-align: center;
}

.modal-detection-grid,
.species-detail-detection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.modal-detection-grid .detection-row,
.species-detail-detection-grid .detection-row {
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.modal-detection-grid .confidence-label,
.species-detail-detection-grid .confidence-label {
  text-align: left;
}

.species-page-size-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.species-page-size-form button {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(167, 190, 214, 0.28);
  border-radius: var(--radius);
  color: var(--text-100);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 12px;
}

.species-detail-back {
  margin-bottom: 18px;
}

.species-detail-back a,
.species-pagination a {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.species-detail-header .scientific-name {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.species-detail-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.species-detail-facts div,
.species-detail-media,
.species-activity-chart,
.species-detail-history,
.activity-date-detections {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.species-detail-facts div {
  padding: 14px;
}

.species-detail-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.species-detail-facts dd {
  font-weight: 800;
  margin: 0;
}

.species-detail-media,
.species-activity-chart,
.species-detail-history,
.activity-date-detections {
  margin-bottom: 16px;
  padding: 20px;
}

.species-detail-selected-image,
.species-detail-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

.species-detail-placeholder {
  max-width: 700px;
}

.species-detail-media .species-modal-photo {
  margin-top: 16px;
}

.species-detail-history h2,
.activity-date-detections > h2 {
  margin-bottom: 16px;
}

.species-activity-header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.species-activity-header h2 {
  margin-bottom: 6px;
}

.species-activity-header h3 {
  margin-bottom: 6px;
}

.species-activity-header p,
.species-activity-empty {
  color: var(--text-300);
  line-height: 1.45;
  margin-bottom: 0;
}

.species-activity-period-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.species-activity-period-selector a {
  border: 1px solid rgba(167, 190, 214, 0.28);
  border-radius: 999px;
  color: var(--text-300);
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 13px;
  text-decoration: none;
}

.species-activity-period-selector a:hover,
.species-activity-period-selector a:focus-visible,
.species-activity-period-selector a[aria-current="page"] {
  background: rgba(94, 234, 212, 0.12);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.species-activity-empty {
  margin-top: 14px;
}

.species-activity-bars {
  align-items: end;
  display: grid;
  gap: clamp(2px, 0.5vw, 7px);
  grid-template-columns: repeat(24, minmax(0, 1fr));
  height: 172px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.species-activity-bar {
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 18px;
  min-width: 0;
  position: relative;
}

.species-activity-bar::after {
  background: var(--bg-900);
  border: 1px solid rgba(94, 234, 212, 0.7);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  color: var(--text-100);
  content: attr(data-tooltip);
  font-size: 0.78rem;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 6px 8px;
  pointer-events: none;
  position: absolute;
  top: -42px;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
  visibility: hidden;
  white-space: nowrap;
  z-index: 1;
}

.species-activity-bar-fill {
  align-self: end;
  background: linear-gradient(180deg, var(--warm), var(--accent));
  border-radius: 999px 999px 2px 2px;
  height: max(2px, var(--bar-size));
  justify-self: center;
  max-width: 10px;
  transition: filter 120ms ease-out, transform 120ms ease-out;
  width: 100%;
}

.species-activity-bar[data-count="0"] .species-activity-bar-fill {
  background: rgba(141, 161, 180, 0.3);
}

.species-activity-bar:hover,
.species-activity-bar:focus-visible {
  z-index: 1;
}

.species-activity-bar:hover::after,
.species-activity-bar:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.species-activity-bar:hover .species-activity-bar-fill,
.species-activity-bar:focus-visible .species-activity-bar-fill {
  filter: brightness(1.22) saturate(1.15);
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.species-activity-hour {
  align-self: end;
  color: var(--text-300);
  font-size: clamp(0.58rem, 1.5vw, 0.76rem);
  font-weight: 800;
  line-height: 1.1;
  overflow: visible;
  text-align: center;
  white-space: nowrap;
}

.activity-date-header {
  margin-bottom: 16px;
}

.activity-date-header p:last-child {
  color: var(--leaf);
  font-weight: 800;
  margin: 10px 0 0;
}

.species-pagination {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  min-height: 44px;
}

.detection-pagination-toolbar .species-pagination {
  margin-top: 0;
}

.species-pagination a,
.species-pagination span {
  padding: 10px 4px;
}

.detection-row {
  align-items: center;
  background: rgba(11, 16, 32, 0.42);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 144px;
  min-height: 72px;
  padding: 12px;
}

.detection-row h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 4px;
}

.detection-row h3 a {
  color: var(--accent-strong);
  text-underline-offset: 4px;
}

.detection-row time {
  color: var(--text-300);
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.detection-audio-link {
  display: inline-block;
  font-size: 0.9rem;
  margin-top: 8px;
}

.confidence {
  display: grid;
  gap: 7px;
}

.confidence-label {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.confidence-bar {
  background: rgba(141, 161, 180, 0.16);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.confidence-fill {
  background: linear-gradient(90deg, var(--leaf), var(--accent));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--confidence-percent);
}

.empty,
.outage {
  padding: 24px;
}

.empty h2,
.outage h1 {
  margin-bottom: 8px;
}

.outage {
  background:
    linear-gradient(180deg, var(--danger-bg), rgba(22, 32, 51, 0.88)),
    var(--card);
  border-color: var(--danger-border);
}

.outage h1 {
  color: #fee2e2;
}

.outage p {
  color: var(--danger);
}

.admin-shell {
  color: var(--text-100);
}

.admin-shell-header,
.admin-page {
  width: 92vw;
  max-width: var(--container);
}

.admin-shell-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 72px;
  padding: 14px 0;
}

.admin-brand {
  color: var(--text-100);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-nav a,
.admin-nav-button,
.admin-button-secondary,
.admin-button-danger,
.admin-form button,
.admin-tool-grid a {
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-nav a,
.admin-nav-button {
  background: rgba(11, 16, 32, 0.36);
  border: 1px solid rgba(167, 190, 214, 0.18);
  color: var(--text-300);
  min-height: 38px;
  padding: 8px 11px;
  text-decoration: none;
}

.admin-nav form,
.admin-inline-form,
.custom-image-actions form {
  margin: 0;
}

.admin-nav-button,
.admin-form button,
.admin-button-secondary,
.admin-button-danger {
  cursor: pointer;
}

.admin-nav a:hover,
.admin-nav a:focus-visible,
.admin-nav-button:hover,
.admin-nav-button:focus-visible {
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.54);
  color: var(--accent-strong);
}

.admin-page {
  margin: 0 auto;
  padding: 28px 0 44px;
}

.admin-page--narrow {
  max-width: 520px;
}

.admin-page h1 {
  margin-bottom: 18px;
}

.admin-page h2 {
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.admin-intro,
.admin-back-link,
.admin-panel p {
  color: var(--text-300);
  line-height: 1.5;
}

.admin-back-link a {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.admin-panel,
.admin-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.admin-panel {
  margin-bottom: 16px;
  padding: 20px;
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.admin-settings-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.admin-form label {
  color: var(--text-300);
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 7px;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form input:not([type]),
.admin-form select {
  background: rgba(11, 16, 32, 0.64);
  border: 1px solid rgba(167, 190, 214, 0.22);
  border-radius: var(--radius);
  color: var(--text-100);
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.admin-form input[type="file"] {
  color: var(--text-300);
  padding: 9px;
}

.admin-form input:focus,
.admin-form select:focus {
  border-color: rgba(94, 234, 212, 0.7);
  box-shadow: 0 0 0 4px var(--ring);
  outline: none;
}

.admin-form button,
.admin-button-secondary,
.admin-button-danger {
  border: 1px solid rgba(94, 234, 212, 0.46);
  min-height: 42px;
  padding: 9px 13px;
}

.admin-form button {
  background: rgba(94, 234, 212, 0.18);
  color: var(--accent-strong);
  justify-self: start;
}

.admin-button-secondary {
  background: rgba(141, 161, 180, 0.12);
  border-color: rgba(167, 190, 214, 0.28);
  color: var(--text-300);
}

.admin-button-danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: #fee2e2;
}

.admin-form button:hover,
.admin-form button:focus-visible,
.admin-button-secondary:hover,
.admin-button-secondary:focus-visible {
  background: rgba(94, 234, 212, 0.24);
  color: var(--accent-strong);
}

.admin-button-danger:hover,
.admin-button-danger:focus-visible {
  background: rgba(127, 29, 29, 0.44);
}

.form-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius);
  color: #fee2e2;
  font-weight: 800;
  padding: 12px;
}

.admin-tool-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-tool-grid a {
  background: rgba(11, 16, 32, 0.44);
  border: 1px solid rgba(167, 190, 214, 0.16);
  color: var(--text-100);
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  text-decoration: none;
}

.admin-tool-grid a:hover,
.admin-tool-grid a:focus-visible {
  border-color: rgba(94, 234, 212, 0.54);
  box-shadow: 0 0 0 4px var(--ring);
}

.admin-tool-grid span {
  color: var(--text-300);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.admin-toggle-row {
  align-items: center;
  background: rgba(11, 16, 32, 0.38);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 12px;
}

.admin-toggle-row input[type="checkbox"] {
  appearance: none;
  background: rgba(141, 161, 180, 0.22);
  border: 1px solid rgba(167, 190, 214, 0.34);
  border-radius: 999px;
  cursor: pointer;
  height: 28px;
  margin: 0;
  position: relative;
  width: 52px;
}

.admin-toggle-row input[type="checkbox"]::before {
  background: var(--text-300);
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 0.16s ease, background-color 0.16s ease;
  width: 20px;
}

.admin-toggle-row input[type="checkbox"]:checked {
  background: rgba(94, 234, 212, 0.26);
  border-color: rgba(94, 234, 212, 0.62);
}

.admin-toggle-row input[type="checkbox"]:checked::before {
  background: var(--accent-strong);
  transform: translateX(24px);
}

.admin-table-panel {
  overflow-x: auto;
}

.admin-species-filter-form {
  align-items: end;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
}

.admin-form .admin-species-filter-field {
  display: grid;
}

.admin-form .admin-species-filter-toggle {
  display: flex;
}

.admin-form input[type="search"] {
  background: rgba(11, 16, 32, 0.64);
  border: 1px solid rgba(167, 190, 214, 0.22);
  border-radius: var(--radius);
  color: var(--text-100);
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.admin-species-table {
  border-collapse: collapse;
  min-width: 910px;
  width: 100%;
}

.admin-species-table th,
.admin-species-table td {
  border-bottom: 1px solid rgba(167, 190, 214, 0.14);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-species-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-species-table th .admin-sort-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 5px;
  text-decoration: none;
}

.admin-species-table th .admin-sort-link:hover,
.admin-species-table th .admin-sort-link:focus-visible {
  color: var(--text-100);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-sort-indicator {
  font-size: 0.85rem;
  line-height: 1;
}

.admin-species-table td {
  color: var(--text-300);
  line-height: 1.35;
}

.admin-species-table a {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.admin-species-thumbnail {
  border-radius: 4px;
  display: block;
  height: 54px;
  object-fit: cover;
  width: 72px;
}

.admin-species-pagination {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  min-height: 44px;
}

.admin-species-pagination a {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.admin-species-pagination span[aria-disabled="true"] {
  color: var(--muted);
}

.admin-fact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 16px;
}

.admin-fact-grid div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 96px;
  padding: 14px;
}

.admin-fact-grid dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.admin-fact-grid dd {
  color: var(--text-100);
  line-height: 1.35;
  margin: 0;
}

.admin-upload-form {
  background: rgba(11, 16, 32, 0.28);
  box-shadow: none;
  margin-bottom: 12px;
}

.upload-feedback {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.upload-feedback li {
  background: rgba(11, 16, 32, 0.38);
  border: 1px solid rgba(167, 190, 214, 0.14);
  border-radius: var(--radius);
  color: var(--text-300);
  padding: 10px 12px;
}

.upload-feedback strong {
  color: var(--accent-strong);
}

.custom-image-thumbnails {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.custom-image-thumbnail {
  background: rgba(11, 16, 32, 0.44);
  border: 1px solid rgba(167, 190, 214, 0.16);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 12px;
}

.custom-image-edit-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  width: 100%;
}

.custom-image-edit-button:hover img,
.custom-image-edit-button:focus-visible img {
  filter: brightness(1.08);
}

.custom-image-thumbnail img,
.image-editor-full-image {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.custom-image-thumbnail span {
  color: var(--text-300);
  font-size: 0.88rem;
  line-height: 1.35;
  padding: 0 12px;
  overflow-wrap: anywhere;
}

.custom-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px;
}

.custom-image-actions button {
  font-size: 0.86rem;
  min-height: 38px;
}

.image-editor-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-100);
  max-height: 92vh;
  max-width: min(980px, 94vw);
  padding: 0;
  width: 94vw;
}

.image-editor-modal::backdrop {
  background: rgba(3, 7, 18, 0.72);
}

.image-editor-form {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.image-editor-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
}

.image-crop-workspace {
  background: #020617;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-crop-workspace .image-editor-full-image {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.image-crop-box {
  border: 2px solid var(--accent-strong);
  box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.46);
  cursor: grab;
  min-height: 20px;
  min-width: 20px;
  position: absolute;
  touch-action: none;
}

.image-crop-box:active {
  cursor: grabbing;
}

.image-editor-side {
  display: grid;
  gap: 14px;
}

.image-crop-preview {
  aspect-ratio: 4 / 3;
  background: #020617;
  border: 1px solid rgba(167, 190, 214, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-crop-preview img {
  display: block;
  max-width: none;
  object-fit: fill;
  position: absolute;
}

.image-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dashboard-mobile-nav {
  display: none;
}

.dashboard-navigation-ready.dashboard-shell {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.dashboard-navigation-ready .dashboard-mobile-nav {
  align-items: stretch;
  background: rgba(11, 16, 32, 0.97);
  border-top: 1px solid var(--border);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 0;
  padding-bottom: env(safe-area-inset-bottom);
  position: fixed;
  right: 0;
  z-index: 20;
}

.dashboard-mobile-tab {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text-300);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 2px;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 8px 4px;
  position: relative;
}

.dashboard-mobile-tab.is-current {
  color: var(--accent-strong);
  font-weight: 900;
}

.dashboard-mobile-tab-icon {
  display: block;
  fill: currentColor;
  flex: 0 0 22px;
}

.dashboard-mobile-tab.is-current::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 24%;
  position: absolute;
  right: 24%;
  top: 2px;
}

.dashboard-destination {
  min-width: 0;
}

.dashboard-overview {
  order: 1;
}

.dashboard-activity {
  order: 2;
}

.dashboard-species {
  order: 3;
}

.dashboard-mobile-heading {
  margin-bottom: 16px;
}

.dashboard-mobile-heading .eyebrow {
  margin-bottom: 4px;
}

.dashboard-mobile-heading h2 {
  margin-bottom: 0;
}

.dashboard-mobile-empty {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  margin-bottom: 14px;
  padding: 20px;
}

.dashboard-mobile-empty p:last-child {
  color: var(--text-300);
  line-height: 1.5;
  margin-bottom: 0;
}

.featured-detection-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.featured-detection-grid .featured-detection {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
  min-width: 0;
}

.featured-detection-grid .featured-detection > img,
.featured-detection-grid .featured-detection-placeholder {
  height: auto;
  min-height: 0;
}

.featured-detection-grid .featured-detection-body {
  align-self: stretch;
  padding: 12px;
}

.featured-detection-grid .featured-detection-body h3 {
  font-size: clamp(1rem, 4.5vw, 1.3rem);
}

.featured-detection-empty {
  margin-bottom: 0;
  min-width: 0;
  padding: 14px;
}

.featured-detection-empty h2 {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.dashboard-overview .metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-overview .metric {
  min-height: 108px;
}

.dashboard-overview .metric p,
.dashboard-overview .metric .scientific-name {
  overflow-wrap: anywhere;
}

.dashboard-activity .window-selector {
  justify-content: flex-start;
}

.featured-detection {
  display: grid;
  grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
  margin-bottom: 14px;
  overflow: hidden;
  text-decoration: none;
}

.featured-detection > img,
.featured-detection-placeholder {
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
  width: 100%;
}

.featured-detection-placeholder {
  align-items: center;
  background: linear-gradient(145deg, var(--bg-800), var(--bg-900));
  color: var(--muted);
  display: flex;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.featured-detection-body {
  align-self: center;
  min-width: 0;
  padding: 14px;
}

.featured-detection-body h3 {
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.featured-detection-body p {
  color: var(--text-300);
  line-height: 1.35;
  margin-bottom: 6px;
}

.featured-detection-body .eyebrow {
  color: var(--accent);
  font-size: 0.7rem;
}

.featured-confidence {
  font-weight: 800;
}

@media (min-width: 760px) {
  .dashboard-navigation-ready.dashboard-shell {
    padding-bottom: 44px;
  }

  .dashboard-mobile-nav {
    display: none !important;
  }

  .dashboard-destination {
    display: contents;
  }

  .dashboard-mobile-only,
  .dashboard-mobile-heading {
    display: none;
  }

  .dashboard-shell > .page-header {
    order: 0;
  }

  .dashboard-shell > .dashboard-footer {
    order: 7;
  }

  .dashboard-overview .featured-detection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: 1;
  }

  .dashboard-overview .featured-detection-grid .featured-detection-body h3 {
    font-size: clamp(1rem, 1.7vw, 1.3rem);
  }

  .dashboard-overview .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: 2;
  }

  .dashboard-activity .window-selector {
    justify-content: flex-end;
    order: 3;
  }

  .dashboard-species .species-gallery {
    order: 4;
  }

  .dashboard-activity .daily-chart {
    order: 5;
  }

  .dashboard-activity .ranked-species {
    order: 6;
  }

  .dashboard-activity .ranked-species-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-detection {
    grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  }

}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 840px) {
  .page {
    padding: 20px 0 32px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .window-selector {
    justify-content: flex-start;
  }

  .chart-day {
    grid-template-columns: 68px minmax(80px, 1fr) 34px;
  }

  .admin-shell-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-nav {
    justify-content: flex-start;
  }

  .admin-tool-grid,
  .custom-image-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-species-filter-form {
    grid-template-columns: 1fr;
  }

  .image-editor-layout {
    grid-template-columns: 1fr;
  }

  .admin-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .modal-detection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .species-detail-detection-grid {
    grid-template-columns: 1fr;
  }

  .species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .species-card-body {
    min-width: 0;
    padding: 10px;
  }

  .species-card h3 {
    font-size: 0.98rem;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .species-card .scientific-name,
  .species-card-facts,
  .species-card-link {
    display: none;
  }
}

@media (max-width: 560px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 108px;
  }

  .window-option {
    text-align: center;
    width: 100%;
  }

  .section-toggle {
    width: 100%;
  }

  .chart-bars {
    gap: 11px;
  }

  .chart-day {
    gap: 6px;
    grid-template-columns: 1fr 38px;
  }

  .chart-label {
    grid-column: 1 / -1;
  }

  .daily-chart.daily-calendar {
    padding: 14px 10px;
  }

  .daily-calendar-header {
    gap: 6px;
    grid-template-columns: minmax(68px, 1fr) auto minmax(68px, 1fr);
    margin-bottom: 14px;
  }

  .daily-calendar-header h2 {
    font-size: 1rem;
  }

  .calendar-month-control {
    font-size: 0.76rem;
    min-height: 34px;
    padding: 8px 9px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 3px;
  }

  .calendar-weekdays {
    font-size: 0.6rem;
  }

  .calendar-day {
    min-height: 52px;
    padding: 5px;
  }

  .calendar-day-number {
    font-size: 0.68rem;
  }

  .calendar-day-count {
    font-size: 0.92rem;
  }

  .calendar-legend {
    justify-content: center;
  }

  .species-modal-header,
  .detection-row {
    grid-template-columns: 1fr;
  }

  .species-detail-facts {
    grid-template-columns: 1fr;
  }

  .species-pagination {
    flex-wrap: wrap;
  }

  .species-activity-period-selector {
    width: 100%;
  }

  .species-activity-period-selector a {
    flex: 1;
    text-align: center;
  }

  .species-activity-bars {
    height: 136px;
  }

  .species-activity-bar-fill {
    max-width: 6px;
  }

  .species-activity-hour {
    font-size: 0.58rem;
  }

  .species-modal-header {
    display: grid;
  }

  .modal-close {
    width: 100%;
  }

  .confidence-label {
    text-align: left;
  }

  .admin-nav,
  .admin-nav form,
  .admin-nav a,
  .admin-nav-button,
  .admin-form button,
  .admin-button-secondary,
  .admin-button-danger {
    width: 100%;
  }

  .admin-tool-grid,
  .custom-image-thumbnails,
  .admin-fact-grid {
    grid-template-columns: 1fr;
  }

  .admin-toggle-row {
    align-items: flex-start;
  }
}
