/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  margin: 0;
  background: #eef2f7;
  color: #10233f;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-block {
  margin: 0;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 16px rgba(16, 35, 63, 0.07);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

h1 {
  margin: 0;
  font-size: 1.25rem;
}

.meter-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
}

.meter-card {
  width: 100%;
}

.meter-frame {
  --meter-max-width: 420px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.meter-image {
  width: 100%;
  max-width: var(--meter-max-width);
  height: auto;
  object-fit: contain;
  display: block;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.best-time-card {
  text-align: center;
}

.row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

button,
select {
  border: 1px solid #86a4d4;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.7rem;
}

input[type='datetime-local'] {
  border: 1px solid #86a4d4;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.7rem;
}

label {
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  font-size: 0.9rem;
}

button {
  cursor: pointer;
}

button.primary {
  background: #1d65d8;
  color: #fff;
  border-color: #1d65d8;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.75rem 1.5rem;
  gap: 0.75rem 1.5rem;
}


.confidence-track {
  background: #e5e7eb;
  border-radius: 9999px;
  height: 10px;
}

.confidence-fill {
  height: 10px;
  border-radius: 9999px;
  background: #0ea5e9;
}

.weather-cell {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #e3ebf9;
  padding: 0.2rem 0;
  gap: 0.75rem;
}

.weather-key {
  font-weight: 700;
  color: #27406f;
}

.weather-value {
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.why-toggle {
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #10233f;
}

.why-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease;
}

.why-content > * {
  overflow: hidden;
}

.why-content.expanded {
  grid-template-rows: 1fr;
  margin-top: 0.75rem;
}


.winter-mode-badge {
  margin: 0;
  align-self: center;
  font-size: 0.85rem;
  color: #1f4f75;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
}
.suppression-note {
  margin: 0;
  font-size: 0.9rem;
  color: #36598f;
}

.simulation-banner {
  margin: 0;
  background: #e6f7ec;
  border: 1px solid #9cd8af;
  color: #0f5132;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}

.admin-debug-table {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.admin-debug-table th,
.admin-debug-table td {
  border: 1px solid #d7e2f4;
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.admin-debug-table th {
  background: #f2f6fd;
}

.forecast-chart-shell {
  width: 100%;
  position: relative;
}

.forecast-chart-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 8%,
    rgba(255, 255, 255, 0) 92%,
    rgba(255, 255, 255, 0.45) 100%
  );
}

.forecast-chart-frame {
  width: 100%;
  height: 140px;
  padding: 0;
  margin: 0;
}

.forecast-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

@media (max-width: 640px) {
  .card {
    padding: 0.75rem;
    border-radius: 18px;
  }

  .header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .row {
    width: 100%;
    gap: 0.5rem;
  }

  .row button,
  .row select {
    flex: 1 1 100%;
    min-height: 44px;
  }

  .weather-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .confidence-track,
  .confidence-fill {
    height: 12px;
  }
}

@media (max-width: 399px) {
  .meter-frame {
    --meter-max-width: 320px;
  }
}

