/* Počasí — pravý sloupec + stránka /pocasi */

.weather-aside-list,
.weather-page-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Panýlek Teď / Naposledy — úvod (pravý sloupec) */
.weather-now--aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.45rem 0.55rem 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(245, 185, 66, 0.12));
  border: 1px solid rgba(14, 165, 233, 0.18);
  text-align: center;
  min-width: 0;
}

.weather-now--aside.weather-now--stale {
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(245, 185, 66, 0.08));
}

.weather-now-fit {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
  font-weight: 650;
  color: var(--color-text, #0f172a);
}

.weather-now--aside .weather-now-title {
  font-size: 12px;
  font-weight: 650;
  color: var(--color-muted, #64748b);
}

.weather-now--aside .weather-now-place {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text, #0f172a);
}

.weather-now--aside .weather-now-temp {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-brand, #0f766e);
  white-space: nowrap;
}

.weather-now--aside .weather-now-humidity {
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--color-muted, #64748b);
}

.weather-day {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 0.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(245, 185, 66, 0.1));
}

.weather-day--compact {
  padding: 0.35rem 0.25rem;
}

.weather-day--uncertain,
.weather-page-day--uncertain {
  opacity: 0.92;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(226, 232, 240, 0.35));
}

.weather-day-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-day-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.weather-day-name {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--color-text, #0f172a);
  text-transform: capitalize;
}

.weather-day-date {
  font-size: 0.8rem;
}

.weather-day-label {
  font-size: 0.82rem;
  color: var(--color-muted, #64748b);
}

.weather-day-temps {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--color-brand, #0f766e);
}

.weather-aside-more {
  margin: 0.65rem 0 0;
}

/* ——— Stránka /pocasi ——— */

.weather-page-hero {
  border: 1px solid color-mix(in srgb, var(--color-brand, #0f766e) 28%, var(--color-border, #e5e7eb));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-brand, #0f766e) 12%, transparent);
}

.weather-page-hero-icon {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-brand, #0f766e) 14%, #fff) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
  border-color: color-mix(in srgb, var(--color-brand, #0f766e) 22%, var(--color-border, #e5e7eb));
}

.weather-page-hero .role-manage-title {
  color: var(--color-brand, #0f766e);
}

.weather-page-obs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.weather-page-obs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-brand, #0f766e) 10%, #fff),
    rgba(14, 165, 233, 0.08)
  );
  border: 1px solid color-mix(in srgb, var(--color-brand, #0f766e) 18%, var(--color-border, #e5e7eb));
}

.weather-page-obs-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted, #64748b);
}

.weather-page-obs-place {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--color-text, #0f172a);
}

.weather-page-obs-temp {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-brand, #0f766e);
  white-space: nowrap;
}

.weather-page-obs-unit {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 0.05em;
}

.weather-page-obs-meta {
  margin: 0;
}

.weather-page-obs-foot {
  margin: 0;
}

.weather-page-obs-foot a {
  font-weight: 650;
}

.weather-page-forecast {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.weather-page-forecast > .scenic-chip-row {
  margin: 0;
}

.weather-page-day {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.weather-page-day-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
}

.weather-page-day-title {
  margin: 0 0 0.15rem;
  font-size: 1.15rem;
  line-height: 1.25;
  text-transform: capitalize;
}

.weather-page-day-date {
  font-weight: 500;
  color: var(--color-muted, #64748b);
  font-size: 0.92rem;
}

.weather-page-day-cond {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted, #475569);
}

/* Výrazný rámeček min/max — hlavní údaj dne */
.weather-page-day-temps-badge {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 8.5rem;
  padding: 0.45rem 0.2rem;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-brand, #0f766e) 12%, #fff) 0%,
    rgba(14, 165, 233, 0.1) 100%
  );
  border: 1.5px solid color-mix(in srgb, var(--color-brand, #0f766e) 32%, var(--color-border, #e5e7eb));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-brand, #0f766e) 10%, transparent);
}

.weather-page-day-temp-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 3.5rem;
  padding: 0.15rem 0.55rem;
}

.weather-page-day-temp-divider {
  width: 1px;
  align-self: stretch;
  margin: 0.25rem 0;
  background: color-mix(in srgb, var(--color-brand, #0f766e) 28%, transparent);
}

.weather-page-day-temp-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted, #64748b);
  line-height: 1;
}

.weather-page-day-temp-value {
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text, #0f172a);
}

.weather-page-day-temp-col--max .weather-page-day-temp-value {
  color: var(--color-brand, #0f766e);
}

.weather-meta-grid {
  margin: 0;
}

.weather-hour-block {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.weather-hour-heading {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted, #64748b);
}

.weather-hour-strip {
  display: flex;
  gap: 0.4rem;
  padding: 0.1rem 0 0.05rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.weather-hour {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 3.25rem;
  padding: 0.4rem 0.3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.weather-hour-time {
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--color-muted, #64748b);
}

.weather-hour-temp {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-brand, #0f766e);
}

.weather-hour-precip {
  font-size: 0.66rem;
  color: #0284c7;
  white-space: nowrap;
}

.weather-icon-svg--hour {
  width: 26px;
  height: 26px;
}

.weather-icon-svg--hero {
  width: 40px;
  height: 40px;
}

.weather-icon-svg {
  display: block;
  flex-shrink: 0;
}

.admin-aside-order-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.admin-aside-order-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.admin-aside-order-num {
  min-width: 1.5rem;
  font-weight: 600;
}

.admin-aside-order-row select {
  flex: 1;
  max-width: 20rem;
}

@media (max-width: 640px) {
  .weather-page-day-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .weather-page-day-temps-badge {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    padding: 0.55rem 0.25rem;
  }

  .weather-page-day-temp-value {
    font-size: 1.65rem;
  }

  .weather-page-obs-head {
    align-items: center;
  }
}
