@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #6C5CE7;
  --primary-dark: #A29BFE;
  --secondary: #DFE6E9;
  --accent: #FFEAA7;
  --warm: #2D3436;
  --warm-light: #FF8F00;
  --bg: #FFF8E1;
  --bg-card: #ffffff;
  --bg-hover: #f5f5f0;
  --text: #1a2a1a;
  --text-muted: #5a6a5a;
  --text-light: #8a9a8a;
  --border: #e0e8e0;
  --border-light: #eef3ee;
  --shadow-sm: 0 1px 3px rgba(0, 50, 30, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 50, 30, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 50, 30, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

::selection {
  background: var(--primary);
  color: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.app-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.app-header::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,109,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.app-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: white;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.app-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  margin-left: 3.25rem;
}

/* Tab Navigation */
.tab-nav {
  background: var(--bg-card);
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  position: relative;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(0, 191, 165, 0.04);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.tab-icon {
  font-size: 1.1rem;
}

/* Main Content */
.main-content {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem;
}

/* Location Bar */
.location-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.current-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.location-pin {
  font-size: 1.1rem;
}

.location-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.location-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 180px;
}

.location-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease;
  min-height: 44px;
}

.location-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.search-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.location-error {
  width: 100%;
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Days Grid */
.days-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Day Card */
.day-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
  animation: fadeSlideIn 0.4s ease both;
}

.day-card:nth-child(1) { animation-delay: 0s; }
.day-card:nth-child(2) { animation-delay: 0.05s; }
.day-card:nth-child(3) { animation-delay: 0.1s; }
.day-card:nth-child(4) { animation-delay: 0.15s; }
.day-card:nth-child(5) { animation-delay: 0.2s; }
.day-card:nth-child(6) { animation-delay: 0.25s; }
.day-card:nth-child(7) { animation-delay: 0.3s; }

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.day-card:hover {
  box-shadow: var(--shadow-md);
}

.day-card.today {
  border-left: 3px solid var(--primary);
}

.day-card.today .day-name {
  color: var(--primary);
}

.day-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.day-card-header:hover {
  background: var(--bg-hover);
}

.day-info {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}

.day-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.day-date {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
}

.weather-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.weather-emoji {
  font-size: 1.6rem;
}

.weather-details {
  display: flex;
  flex-direction: column;
}

.weather-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.temp-range {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.temp-high {
  font-weight: 600;
  color: var(--warm);
}

.temp-sep {
  margin: 0 0.15rem;
  color: var(--text-light);
}

.temp-low {
  color: var(--text-muted);
}

.weather-meta {
  display: flex;
  gap: 0.75rem;
}

.meta-item {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}

.expand-arrow {
  font-size: 1.1rem;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.expand-arrow.rotated {
  transform: rotate(180deg);
}

/* Card Body */
.day-card-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-light);
  animation: expandIn 0.3s ease;
}

@keyframes expandIn {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 600px;
  }
}

.generate-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-sm);
  background: rgba(0, 191, 165, 0.04);
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  min-height: 48px;
}

.generate-btn:hover {
  background: rgba(0, 191, 165, 0.1);
  border-color: var(--primary-dark);
}

/* Generating State */
.generating-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  gap: 0.75rem;
}

.generating-state p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pulse-dots {
  display: flex;
  gap: 0.4rem;
}

.pulse-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.2s ease-in-out infinite;
}

.pulse-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.pulse-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Activities */
.activities-list {
  padding-top: 0.75rem;
}

.activity-group {
  margin-bottom: 1rem;
}

.group-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
}

.outdoor-label {
  color: var(--primary-dark);
}

.indoor-label {
  color: var(--warm);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.activity-item:hover {
  background: var(--bg-hover);
}

.activity-main {
  display: flex;
  gap: 0.6rem;
  flex: 1;
}

.activity-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.activity-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.activity-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.activity-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.activity-duration {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.fav-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.fav-btn:hover {
  transform: scale(1.2);
  background: rgba(255, 109, 0, 0.08);
}

.fav-btn.is-fav {
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.regenerate-btn {
  width: 100%;
  padding: 0.65rem;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.regenerate-btn:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary);
}

/* Favorites View */
.favorites-view {
  padding-top: 0.5rem;
}

.favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.fav-count {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--bg);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.favorite-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  transition: all 0.2s ease;
  animation: fadeSlideIn 0.4s ease both;
}

.favorite-card:nth-child(1) { animation-delay: 0s; }
.favorite-card:nth-child(2) { animation-delay: 0.05s; }
.favorite-card:nth-child(3) { animation-delay: 0.1s; }
.favorite-card:nth-child(4) { animation-delay: 0.15s; }
.favorite-card:nth-child(5) { animation-delay: 0.2s; }
.favorite-card:nth-child(6) { animation-delay: 0.25s; }

.favorite-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.favorite-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.favorite-icon {
  font-size: 1.75rem;
}

.remove-btn {
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.25rem;
  border-radius: 50%;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.remove-btn:hover {
  color: var(--warm);
  background: rgba(255, 109, 0, 0.08);
}

.favorite-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.favorite-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.favorite-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.72rem;
  color: var(--text-light);
  background: var(--bg);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  font-weight: 500;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
}

.empty-state h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.5;
}

/* Skeleton Loading */
.loading-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, var(--border-light) 25%, var(--bg) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-line.wide { width: 80%; }
.skeleton-line.medium { width: 55%; }
.skeleton-line.narrow { width: 35%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 640px) {
  .app-header {
    padding: 1.5rem 1rem 1.25rem;
  }

  .app-title {
    font-size: 1.35rem;
  }

  .app-subtitle {
    font-size: 0.8rem;
    margin-left: 2.75rem;
  }

  .logo-icon {
    font-size: 1.6rem;
  }

  .main-content {
    padding: 1rem;
  }

  .location-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .location-search {
    width: 100%;
  }

  .day-card-header {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
  }

  .day-info {
    min-width: auto;
  }

  .weather-meta {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    padding-top: 0.25rem;
  }

  .expand-arrow {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .day-card-header {
    position: relative;
    padding-right: 2.5rem;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .favorites-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

<!-- WALKTHROUGH_SCRIPT:
[
  {"step": 1, "narration": "Welcome to Activity Planner! This app suggests fun outdoor and indoor activities based on your local weather forecast for the week.", "view": "user", "highlight_selector": ".app-header", "wait_for": "tap_to_continue"},
  {"step": 2, "narration": "The Week Plan shows your 7-day weather forecast. Your current location is shown at the top — you can change it by typing a different city.", "view": "user", "highlight_selector": ".location-bar", "wait_for": "tap_to_continue"},
  {"step": 3, "narration": "Each day shows the weather conditions, temperature range, rain probability, and wind speed. Tap any day to expand it.", "view": "user", "highlight_selector": ".day-card", "wait_for": "user_interaction"},
  {"step": 4, "narration": "Once expanded, tap 'Get Activity Suggestions' to have AI recommend outdoor and indoor activities perfectly suited to that day's weather.", "view": "user", "highlight_selector": ".generate-btn", "wait_for": "user_interaction"},
  {"step": 5, "narration": "Love an activity? Tap the star icon to save it to your Favorites. You can always get fresh suggestions with the refresh button.", "view": "user", "highlight_selector": ".fav-btn", "wait_for": "tap_to_continue"},
  {"step": 6, "narration": "Switch to the Favorites tab to see all your saved activities. Remove any by tapping the X. Your favorites sync across all your devices!", "view": "user", "highlight_selector": ".tab-btn:nth-child(2)", "wait_for": "tap_to_continue"}
]
-->

.status-message {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.status-warning {
  color: #b45309;
}

.loading-state {
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.local-forecast {
  border: 2px solid rgba(59, 130, 246, 0.35);
}

.local-forecast-label {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
}

.auth-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 1rem 0;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  text-align: center;
}

.auth-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.auth-icon {
  font-size: 2.2rem;
}

.auth-copy {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 320px;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.auth-btn {
  border: none;
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-btn {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.google-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.auth-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.logout-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding-inline: 0.9rem;
}

.logout-btn:hover {
  color: var(--warm);
  border-color: var(--warm);
  background: rgba(255, 109, 0, 0.06);
}

.auth-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.favorites-subtitle {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.week-view, .favorites-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header h2 {
  margin: 0;
}

.section-header p,
.muted-copy {
  margin: 0;
  opacity: 0.75;
}

.activity-list,
.favorites-grid {
  display: grid;
  gap: 1rem;
}

.activity-card,
.favorites-card,
.rating-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.activity-card-header,
.activity-actions,
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.weather-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: capitalize;
}

.rating-row {
  margin-top: 0.75rem;
  opacity: 0.8;
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.history-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.primary-btn {
  background: #6ea8fe;
  color: #fff;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.weather-chart-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.25rem;
}

.weather-type-chart {
  width: 100% !important;
  max-height: 280px;
}

.chart-empty-state {
  padding: 1rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.weekend-plan-card {
  margin-bottom: 1.5rem;
}

.plan-header {
  align-items: flex-start;
  gap: 1rem;
}

.plan-refresh-btn {
  white-space: nowrap;
}

.plan-grid {
  display: grid;
  gap: 1rem;
}

.plan-summary,
.plan-day-card,
.plan-tips {
  background: var(--card-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  padding: 1rem;
}

.plan-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.history-snapshot {
  margin-top: 1rem;
}

.plan-day-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.plan-day-card ul,
.plan-tips ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.plan-weather-fit {
  opacity: 0.9;
}

.plan-loading,
.plan-error {
  margin-top: 1rem;
}

.share-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.share-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 191, 165, 0.06);
}

.share-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
