/* GardenIt — To do extras: forecast card, voice, notifications panel, banner. */

/* ---------- Small pills (36 px) ---------- */
.pill-teal, .pill-outline, .pill-dark {
  height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px var(--f-body); white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}
.pill-teal { background: var(--teal); color: #fff; }
.pill-teal:hover { background: var(--teal-600); }
.pill-teal:disabled { opacity: .4; cursor: default; }
.pill-outline { border: 1px solid var(--faint); color: var(--body); font-weight: 500; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-light--line { border: 1px solid var(--line); }

/* ---------- Eyebrow city (tap to change location) ---------- */
.eyebrow-link { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.eyebrow-link:hover { color: var(--teal-ink); }

/* ---------- Forecast card ---------- */
.fc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 14px;
}
.fc-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-day { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fc-day + .fc-day { border-left: 1px solid var(--line); padding-left: 12px; }
.fc-day__cond { font: 400 19px/1.25 var(--f-display); color: var(--ink); }
.fc-day__temp { font: 500 13px var(--f-mono); color: var(--ink); }
.fc-day__temp span { color: var(--faint); }
.fc-day__rain { font: 500 12px var(--f-mono); color: var(--muted); }
.fc-day__rain.is-alert { color: var(--teal-ink); }
.fc-days + .fc-note { border-top: 1px solid var(--line); padding-top: 12px; }
.fc-note { font-size: 13px; line-height: 1.45; color: var(--body); }

.fc-setup { gap: 12px; }
.fc-setup__text { font-size: 14px; line-height: 1.45; color: var(--body); }
.fc-setup__row { display: flex; gap: 8px; }
.fc-city { border-radius: var(--r-pill); }

/* ---------- Voice ---------- */
.mic {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mic.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.rec-bar {
  background: var(--ink); color: #fff; border-radius: var(--r-list);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.rec-bar__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal);
  animation: rec-pulse 800ms step-end infinite;
}
@keyframes rec-pulse { 50% { opacity: .3; } }
.rec-bar__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rec-bar__label { color: var(--teal-light); }
.rec-bar__heard { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }

/* ---------- Notifications panel ---------- */
.panel {
  position: absolute; z-index: 20;
  inset: max(var(--safe-top), 12px) 0 0 0;
  display: flex; flex-direction: column;
  animation: fade var(--dur) var(--ease);
}
.panel__sheet {
  flex: 1; min-height: 0;
  background: var(--page); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  box-shadow: var(--shadow-sheet);
  display: flex; flex-direction: column;
}
.panel__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; }
.panel__head .title-block { gap: 2px; }
.panel__title { font: 400 28px/1.15 var(--f-display); color: var(--ink); }
.panel__body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 20px calc(28px + var(--safe-bottom));
  display: flex; flex-direction: column; gap: 22px;
}

.sg-card {
  background: var(--teal-wash); border: 1px solid var(--teal-line); border-radius: var(--r-list);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.sg-card__body { display: flex; flex-direction: column; gap: 4px; }
.sg-card__eyebrow { color: var(--teal-ink); }
.sg-card__title { font: 500 16px/1.35 var(--f-body); color: var(--ink); }
.sg-card__why { font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.sg-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sg-off { margin-left: auto; font: 500 13px var(--f-body); color: var(--muted); padding: 8px 2px; }
.sg-confirm {
  background: var(--surface); border-radius: var(--r-thumb);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  animation: fade var(--dur) var(--ease);
}
.sg-confirm__title { font: 500 14px/1.4 var(--f-body); color: var(--ink); }
.sg-confirm__text { font-size: 13px; line-height: 1.45; color: var(--muted); }

.panel-empty { padding: 32px 4px; display: flex; flex-direction: column; gap: 6px; }
.panel-empty__title { font: 400 22px/1.25 var(--f-display); color: var(--ink); }
.panel-empty__text { font-size: 14px; line-height: 1.5; color: var(--muted); }

.muted-row { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.muted-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.muted-chip {
  height: 32px; padding: 0 6px 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--f-body); color: var(--body);
}
.muted-chip button {
  height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--teal-wash); color: var(--teal-ink);
  font: 500 12px var(--f-body);
}

/* ---------- In-app banner ---------- */
.banner {
  position: absolute; z-index: 25;
  left: 12px; right: 12px; top: calc(var(--safe-top) + 4px);
  background: var(--ink); color: #fff; border-radius: 22px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-banner);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.banner.is-on { opacity: 1; pointer-events: auto; }
.banner__top { display: flex; justify-content: space-between; }
.banner__brand { font: 600 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); }
.banner__when { font-size: 12px; color: var(--faint); }
.banner__body { display: flex; flex-direction: column; gap: 3px; }
.banner__title { font: 600 15px/1.35 var(--f-body); }
.banner__why { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.banner__later, .banner__add {
  height: 36px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font: 500 13px var(--f-body); color: #fff;
}
.banner__later { border: 1px solid rgba(255, 255, 255, .35); }
.banner__add { background: var(--teal); font-weight: 600; }
.banner__mute { align-self: center; font: 500 12px var(--f-body); color: rgba(255, 255, 255, .7); padding: 2px 0; }
