/* public/css/components/frost-prep.css — v2 tokens only. */

.frost-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: var(--v2-bg-overlay);
  z-index: 9100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--v2-transition-base) var(--v2-ease-out);
}
.frost-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.frost-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9101;
  background: var(--v2-bg-card);
  border-radius: var(--v2-radius-lg) var(--v2-radius-lg) 0 0;
  padding: 16px 16px 32px;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--v2-transition-base) var(--v2-ease-out);
}
.frost-sheet.is-open {
  transform: translateY(0);
}

.frost-sheet-handle {
  width: 44px;
  height: 4px;
  background: var(--v2-border-soft);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.frost-sheet-title {
  font-family: var(--v2-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--v2-text-primary);
  margin: 0 0 4px;
}

.frost-sheet-summary {
  font-family: var(--v2-font-body);
  font-size: 14px;
  color: var(--v2-text-secondary);
  margin: 0 0 16px;
  line-height: 1.4;
}

.frost-forecast-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 20px;
}

.frost-forecast-day {
  text-align: center;
  background: var(--v2-bg-secondary);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-radius-md);
  padding: 8px 4px;
}
.frost-forecast-day.is-warm {
  background: var(--v2-pop-sage-bg);
  border-color: var(--v2-pop-sage);
}
.frost-forecast-day.is-marginal {
  background: var(--v2-pop-ochre-bg);
  border-color: var(--v2-pop-ochre);
}
.frost-forecast-day.is-frost {
  background: var(--v2-pop-coral-bg);
  border-color: var(--v2-pop-coral);
}

.frost-forecast-day-label {
  font-family: var(--v2-font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--v2-text-tertiary);
}

.frost-forecast-day-temp {
  font-family: var(--v2-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--v2-text-primary);
  font-variant-numeric: tabular-nums;
}

.frost-section {
  margin-bottom: 20px;
}

.frost-section-title {
  font-family: var(--v2-font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-text-tertiary);
  margin: 0 0 8px;
}

.frost-list-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--v2-border-soft);
  font-family: var(--v2-font-body);
  font-size: 14px;
  color: var(--v2-text-primary);
}
.frost-list-item:last-child {
  border-bottom: none;
}

.frost-empty {
  font-family: var(--v2-font-body);
  font-size: 13px;
  color: var(--v2-text-tertiary);
  font-style: italic;
}

.frost-actions {
  background: var(--v2-bg-secondary);
  border-radius: var(--v2-radius-md);
  padding: 12px;
}

.frost-action-item {
  font-family: var(--v2-font-body);
  font-size: 14px;
  color: var(--v2-text-secondary);
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.frost-action-item::before {
  content: "•";
  color: var(--v2-pop-sage);
  flex-shrink: 0;
  font-weight: 700;
}

/* Home chip — Task 13 uses these classes; styles defined here so they ship together. */
.home-frost-chip {
  margin: 0 16px 16px;
  background: var(--v2-pop-coral-bg);
  border: 1px solid var(--v2-pop-coral);
  border-radius: var(--v2-radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--v2-font-body);
  font-size: 14px;
  color: var(--v2-pop-coral);
  width: calc(100% - 32px);
  text-align: left;
  min-height: 44px;
}

.home-frost-chip-num {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 18px;
}
