/* ====== Elder Zone S2.3 — 长辈旅游规划 CSS ====== */

/* Header */
.et-header { margin-bottom: 20px; }
.et-title { font-size: 20px; font-weight: 700; color: #fff; }
.et-subtitle { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* Sections */
.et-section { background: rgba(255,255,255,0.03); border-radius: 14px; padding: 16px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.06); }
.et-section-title { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 12px; }

/* Persona Cards */
.et-personas { display: flex; gap: 10px; flex-wrap: wrap; }
.et-persona-card { flex: 1; min-width: 90px; background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; transition: all 0.2s; }
.et-persona-card:active { transform: scale(0.97); }
.et-persona-card.active { background: rgba(34,197,94,0.08); }
.et-persona-icon { font-size: 28px; margin-bottom: 6px; }
.et-persona-label { font-size: 14px; font-weight: 600; color: #fff; }
.et-persona-desc { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px; line-height: 1.4; }
.et-persona-pace { font-size: 11px; margin-top: 6px; font-weight: 500; }

/* Plan Form */
.et-plan-form { display: flex; flex-direction: column; gap: 12px; }
.et-form-row { display: flex; align-items: center; gap: 10px; }
.et-form-row > label { font-size: 13px; color: rgba(255,255,255,0.6); min-width: 64px; flex-shrink: 0; }
.et-form-row input, .et-form-row select { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 12px; color: #fff; font-size: 14px; }
.et-form-row input::placeholder { color: rgba(255,255,255,0.3); }
.et-checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.et-checkbox { display: flex; align-items: center; gap: 4px; font-size: 13px; color: rgba(255,255,255,0.6); cursor: pointer; }
.et-checkbox input { width: 16px; height: 16px; accent-color: #22C55E; }
.et-plan-btn { background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; border: none; border-radius: 10px; padding: 12px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.et-plan-btn:active { opacity: 0.85; }
.et-plan-btn:disabled { opacity: 0.5; }

/* Health Check */
.et-health-check { display: flex; flex-direction: column; gap: 10px; }
.et-health-pending { font-size: 13px; color: rgba(255,255,255,0.5); }
.et-health-btn { background: rgba(59,130,246,0.15); color: #3B82F6; border: 1px solid rgba(59,130,246,0.3); border-radius: 8px; padding: 8px 16px; font-size: 13px; cursor: pointer; align-self: flex-start; }
.et-health-btn:active { background: rgba(59,130,246,0.25); }
.et-health-result { border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.et-health-suitable { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); }
.et-health-caution { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); }
.et-health-pending { background: rgba(255,255,255,0.03); }
.et-health-level { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.et-health-suitable .et-health-level { color: #22C55E; }
.et-health-caution .et-health-level { color: #F59E0B; }
.et-health-message { font-size: 13px; color: rgba(255,255,255,0.7); }
.et-checklist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.et-check-item { display: flex; gap: 8px; align-items: flex-start; padding: 8px; background: rgba(255,255,255,0.02); border-radius: 8px; }
.et-check-icon { font-size: 16px; flex-shrink: 0; }
.et-check-name { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
.et-check-detail { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.et-health-disclaimer { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 8px; }

/* Scenic Search */
.et-search-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.et-search-bar input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 12px; color: #fff; font-size: 14px; }
.et-search-bar input::placeholder { color: rgba(255,255,255,0.3); }
.et-search-bar button { background: rgba(34,197,94,0.15); color: #22C55E; border: 1px solid rgba(34,197,94,0.3); border-radius: 8px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.et-scenic-count { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.et-scenic-card { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 14px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.06); cursor: pointer; transition: border-color 0.2s; }
.et-scenic-card:active { border-color: rgba(34,197,94,0.3); }
.et-scenic-name { font-size: 15px; font-weight: 600; color: #fff; }
.et-scenic-city { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.et-scenic-info { display: flex; gap: 12px; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.5); }
.et-scenic-notes { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.et-scenic-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.et-no-result { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; padding: 20px; }
.et-searching { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; padding: 20px; }

/* Accessibility Tags */
.et-access-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.et-tag { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.et-tag-green { background: rgba(34,197,94,0.15); color: #22C55E; }
.et-tag-blue { background: rgba(59,130,246,0.15); color: #3B82F6; }
.et-tag-orange { background: rgba(245,158,11,0.15); color: #F59E0B; }

/* Mini Links */
.et-mini-link { font-size: 12px; color: #3B82F6; text-decoration: none; padding: 2px 8px; background: rgba(59,130,246,0.1); border-radius: 6px; }
.et-mini-link:active { background: rgba(59,130,246,0.2); }
.et-spot-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* Itinerary */
.et-itinerary { margin-top: 20px; }
.et-itin-header { margin-bottom: 16px; }
.et-itin-title { font-size: 18px; font-weight: 700; color: #fff; }
.et-itin-meta { display: flex; gap: 12px; margin-top: 6px; }
.et-itin-persona { background: rgba(34,197,94,0.15); color: #22C55E; padding: 3px 10px; border-radius: 10px; font-size: 12px; }
.et-itin-pace { font-size: 12px; color: rgba(255,255,255,0.5); }

/* Tips Section */
.et-tips-section { background: rgba(59,130,246,0.04); border-radius: 12px; padding: 14px; margin-bottom: 16px; border: 1px solid rgba(59,130,246,0.1); }
.et-tips-title { font-size: 14px; font-weight: 600; color: #3B82F6; margin-bottom: 10px; }
.et-tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.et-tips-col { }
.et-tips-cat { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.et-tips-col ul { margin: 0; padding-left: 16px; }
.et-tips-col li { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* Day Card */
.et-day-card { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 14px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.06); }
.et-day-header { margin-bottom: 10px; }
.et-day-num { font-size: 14px; font-weight: 600; color: #22C55E; background: rgba(34,197,94,0.1); padding: 3px 10px; border-radius: 8px; }

/* Time Slot */
.et-time-slot { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.et-time-label { font-size: 12px; color: rgba(255,255,255,0.4); min-width: 50px; flex-shrink: 0; padding-top: 2px; }
.et-time-content { flex: 1; }
.et-spot-name { font-size: 14px; font-weight: 600; color: #fff; }
.et-spot-name.et-rest { color: rgba(255,255,255,0.4); font-weight: 400; }
.et-spot-duration, .et-spot-ticket, .et-spot-route { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.et-spot-notes { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.et-lunch { background: rgba(245,158,11,0.03); border-radius: 8px; padding: 8px 10px; margin: 4px 0; }

/* Health Tips in itinerary */
.et-health-tips { margin-top: 8px; padding: 8px; background: rgba(245,158,11,0.05); border-radius: 8px; }
.et-health-tip { font-size: 12px; color: rgba(245,158,11,0.8); line-height: 1.5; padding: 2px 0; }
.et-health-tip::before { content: '💊 '; }

/* Rest Reminder */
.et-rest-reminder { font-size: 12px; color: rgba(59,130,246,0.7); margin-top: 8px; padding: 6px 10px; background: rgba(59,130,246,0.05); border-radius: 8px; }
.et-rest-reminder::before { content: '💤 '; }

/* Deep Links */
.et-deep-links { margin-top: 16px; padding: 14px; background: rgba(255,255,255,0.03); border-radius: 12px; }
.et-dl-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.et-dl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.et-dl-btn { padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
.et-dl-ctrip { background: rgba(59,130,246,0.15); color: #3B82F6; border: 1px solid rgba(59,130,246,0.3); }
.et-dl-fliggy { background: rgba(255,87,34,0.15); color: #FF5722; border: 1px solid rgba(255,87,34,0.3); }
.et-dl-cruise { background: rgba(168,85,247,0.15); color: #A855F7; border: 1px solid rgba(168,85,247,0.3); }

/* Disclaimer */
.et-disclaimer { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 12px; line-height: 1.5; }

/* Share Button */
.et-share-btn { width: 100%; margin-top: 12px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 12px; font-size: 14px; cursor: pointer; }
.et-share-btn:active { background: rgba(255,255,255,0.1); }

/* Loading */
.et-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px; color: rgba(255,255,255,0.5); font-size: 14px; }
.et-spinner { width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.1); border-top-color: #22C55E; border-radius: 50%; animation: et-spin 0.8s linear infinite; }
@keyframes et-spin { to { transform: rotate(360deg); } }

/* Error */
.et-error { font-size: 13px; color: #EF4444; text-align: center; padding: 20px; }

/* Voice Section */
.et-voice-section { text-align: center; }
.et-voice-btn { background: rgba(168,85,247,0.15); color: #A855F7; border: 1px solid rgba(168,85,247,0.3); border-radius: 10px; padding: 10px 24px; font-size: 14px; cursor: pointer; }
.et-voice-btn:active { background: rgba(168,85,247,0.25); }
.et-voice-btn.listening { background: rgba(239,68,68,0.15); color: #EF4444; border-color: rgba(239,68,68,0.3); animation: et-pulse 1s ease-in-out infinite; }
@keyframes et-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

/* Mobile responsive */
@media (max-width: 768px) {
  .et-personas { flex-direction: column; }
  .et-tips-grid { grid-template-columns: 1fr; }
  .et-form-row { flex-direction: column; align-items: flex-start; }
  .et-form-row > label { margin-bottom: 4px; }
}

/* Persona Adjust */
.et-persona-adjust { display: flex; gap: 10px; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.et-adjust-icon { width: 24px; height: 24px; background: #F59E0B; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; flex-shrink: 0; }
.et-adjust-title { font-size: 14px; font-weight: 600; color: #F59E0B; }
.et-adjust-desc { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.et-adjust-change { font-size: 12px; color: #F59E0B; margin-top: 4px; font-weight: 500; }

/* Weather Overview */
.et-weather-overview { margin-bottom: 12px; }
.et-weather-title { font-size: 14px; font-weight: 600; color: #3B82F6; }

/* Health Warnings */
.et-health-warnings { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.et-health-warning { font-size: 12px; color: rgba(239,68,68,0.8); padding: 2px 0; }

/* Day Weather */
.et-day-weather { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: rgba(59,130,246,0.06); border-radius: 8px; margin-bottom: 10px; font-size: 12px; }
.et-day-weather.et-weather-unsuitable { background: rgba(245,158,11,0.08); }
.et-w-icon { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); }
.et-w-temp { color: rgba(255,255,255,0.6); }
.et-w-advice { color: rgba(245,158,11,0.8); flex: 1; }
.et-weather-adjusted { font-size: 11px; color: #F59E0B; padding: 4px 10px; background: rgba(245,158,11,0.05); border-radius: 6px; margin-bottom: 8px; }
/* ============================================================
   浅色模式适配 — elder-travel.css 完整覆盖
   ============================================================ */

[data-theme=light] .et-title { color: #1a1a2e !important; }
[data-theme=light] .et-subtitle { color: #888 !important; }
[data-theme=light] .et-section { background: #f8f9fa !important; border-color: #e9ecef !important; }
[data-theme=light] .et-section-title { color: #333 !important; }

/* Persona Cards */
[data-theme=light] .et-persona-card { background: #fff !important; border-color: #e0e0e0 !important; }
[data-theme=light] .et-persona-card.active { background: #f0fdf4 !important; border-color: #22C55E !important; }
[data-theme=light] .et-persona-label { color: #1a1a2e !important; }
[data-theme=light] .et-persona-desc { color: #888 !important; }

/* Plan Form */
[data-theme=light] .et-form-row > label { color: #555 !important; }
[data-theme=light] .et-form-row input,
[data-theme=light] .et-form-row select {
  background: #fff !important;
  border-color: #e0e0e0 !important;
  color: #333 !important;
}
[data-theme=light] .et-form-row input::placeholder { color: #bbb !important; }
[data-theme=light] .et-checkbox { color: #555 !important; }
[data-theme=light] .et-checkbox input { accent-color: #22C55E; }

/* Health Check */
[data-theme=light] .et-health-pending { color: #888 !important; background: #f5f5f5 !important; }
[data-theme=light] .et-health-message { color: #555 !important; }
[data-theme=light] .et-check-name { color: #333 !important; }
[data-theme=light] .et-check-detail { color: #888 !important; }
[data-theme=light] .et-check-item { background: #f8f8f8 !important; }
[data-theme=light] .et-health-disclaimer { color: #aaa !important; }
[data-theme=light] .et-health-result { background: #f8f9fa !important; }

/* Scenic Search */
[data-theme=light] .et-search-bar input {
  background: #fff !important;
  border-color: #e0e0e0 !important;
  color: #333 !important;
}
[data-theme=light] .et-search-bar input::placeholder { color: #bbb !important; }
[data-theme=light] .et-scenic-count { color: #888 !important; }
[data-theme=light] .et-scenic-card {
  background: #fff !important;
  border-color: #f0f0f0 !important;
}
[data-theme=light] .et-scenic-name { color: #1a1a2e !important; }
[data-theme=light] .et-scenic-city { color: #aaa !important; }
[data-theme=light] .et-scenic-info { color: #888 !important; }
[data-theme=light] .et-scenic-notes { color: #aaa !important; }
[data-theme=light] .et-no-result { color: #aaa !important; }
[data-theme=light] .et-searching { color: #888 !important; }

/* Tags */
[data-theme=light] .et-tag-green { background: rgba(34,197,94,0.1) !important; color: #16a34a !important; }
[data-theme=light] .et-tag-blue { background: rgba(59,130,246,0.1) !important; color: #2563eb !important; }
[data-theme=light] .et-tag-orange { background: rgba(245,158,11,0.1) !important; color: #d97706 !important; }

/* Mini Links */
[data-theme=light] .et-mini-link { color: #2563eb !important; background: rgba(59,130,246,0.08) !important; }

/* Itinerary */
[data-theme=light] .et-itin-title { color: #1a1a2e !important; }
[data-theme=light] .et-itin-persona { background: rgba(34,197,94,0.1) !important; color: #16a34a !important; }
[data-theme=light] .et-itin-pace { color: #888 !important; }

/* Tips Section */
[data-theme=light] .et-tips-section { background: rgba(59,130,246,0.04) !important; border-color: rgba(59,130,246,0.1) !important; }
[data-theme=light] .et-tips-title { color: #2563eb !important; }
[data-theme=light] .et-tips-cat { color: #555 !important; }
[data-theme=light] .et-tips-col li { color: #777 !important; }

/* Day Card */
[data-theme=light] .et-day-card { background: #fff !important; border-color: #f0f0f0 !important; }
[data-theme=light] .et-day-num { color: #16a34a !important; background: rgba(34,197,94,0.1) !important; }

/* Time Slot */
[data-theme=light] .et-time-slot { border-bottom-color: #f0f0f0 !important; }
[data-theme=light] .et-time-label { color: #aaa !important; }
[data-theme=light] .et-spot-name { color: #1a1a2e !important; }
[data-theme=light] .et-spot-name.et-rest { color: #aaa !important; }
[data-theme=light] .et-spot-duration,
[data-theme=light] .et-spot-ticket,
[data-theme=light] .et-spot-route { color: #888 !important; }
[data-theme=light] .et-spot-notes { color: #aaa !important; }
[data-theme=light] .et-lunch { background: rgba(245,158,11,0.05) !important; }

/* Health Tips */
[data-theme=light] .et-health-tips { background: rgba(245,158,11,0.05) !important; }
[data-theme=light] .et-health-tip { color: #d97706 !important; }

/* Rest Reminder */
[data-theme=light] .et-rest-reminder { color: #2563eb !important; background: rgba(59,130,246,0.05) !important; }

/* Deep Links */
[data-theme=light] .et-deep-links { background: #f8f9fa !important; }
[data-theme=light] .et-dl-title { color: #333 !important; }
[data-theme=light] .et-dl-ctrip { background: rgba(59,130,246,0.1) !important; color: #2563eb !important; border-color: rgba(59,130,246,0.2) !important; }
[data-theme=light] .et-dl-fliggy { background: rgba(255,87,34,0.1) !important; color: #ea580c !important; border-color: rgba(255,87,34,0.2) !important; }
[data-theme=light] .et-dl-cruise { background: rgba(168,85,247,0.1) !important; color: #9333ea !important; border-color: rgba(168,85,247,0.2) !important; }

/* Disclaimer */
[data-theme=light] .et-disclaimer { color: #bbb !important; }

/* Share Button */
[data-theme=light] .et-share-btn { background: #f5f5f5 !important; color: #666 !important; border-color: #e0e0e0 !important; }

/* Loading */
[data-theme=light] .et-loading { color: #888 !important; }
[data-theme=light] .et-spinner { border-color: #e0e0e0 !important; border-top-color: #22C55E !important; }

/* Voice Section */
[data-theme=light] .et-voice-section { background: #f8f9fa !important; border-color: #e9ecef !important; }
[data-theme=light] .et-voice-btn { background: rgba(168,85,247,0.1) !important; color: #9333ea !important; border-color: rgba(168,85,247,0.2) !important; }
[data-theme=light] .et-voice-btn.listening { background: rgba(239,68,68,0.1) !important; color: #dc2626 !important; border-color: rgba(239,68,68,0.2) !important; }

/* Persona Adjust */
[data-theme=light] .et-persona-adjust { background: rgba(245,158,11,0.05) !important; border-color: rgba(245,158,11,0.2) !important; }
[data-theme=light] .et-adjust-title { color: #d97706 !important; }
[data-theme=light] .et-adjust-desc { color: #777 !important; }
[data-theme=light] .et-adjust-change { color: #d97706 !important; }

/* Weather */
[data-theme=light] .et-weather-title { color: #2563eb !important; }
[data-theme=light] .et-day-weather { background: rgba(59,130,246,0.05) !important; }
[data-theme=light] .et-day-weather.et-weather-unsuitable { background: rgba(245,158,11,0.05) !important; }
[data-theme=light] .et-w-icon { color: #555 !important; }
[data-theme=light] .et-w-temp { color: #777 !important; }
[data-theme=light] .et-w-advice { color: #d97706 !important; }
[data-theme=light] .et-weather-adjusted { color: #d97706 !important; background: rgba(245,158,11,0.05) !important; }

/* Health Warnings */
[data-theme=light] .et-health-warnings { background: rgba(239,68,68,0.04) !important; border-color: rgba(239,68,68,0.15) !important; }
[data-theme=light] .et-health-warning { color: #dc2626 !important; }

/* Narration */
[data-theme=light] .et-narration-box { background: #f8f9fa !important; color: #333 !important; border-color: #e9ecef !important; }

/* Modal */
[data-theme=light] .et-modal-content { background: #fff !important; color: #333 !important; }
[data-theme=light] .et-modal-title { color: #1a1a2e !important; }
[data-theme=light] .et-modal-body { color: #555 !important; }

/* Checklist */
[data-theme=light] .et-checklist-item { color: #555 !important; }
[data-theme=light] .et-checklist-category { color: #1a1a2e !important; }

/* Modal classes for theme support */
.et-modal-content { background: #1a1a2e; color: #fff; }
.et-modal-subtitle { color: rgba(255,255,255,0.5); }
.et-modal-notes { color: rgba(255,255,255,0.6); }
.et-modal-disclaimer { color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.1); }

[data-theme=light] .et-modal-content { background: #fff !important; color: #333 !important; }
[data-theme=light] .et-modal-subtitle { color: #888 !important; }
[data-theme=light] .et-modal-notes { color: #666 !important; }
[data-theme=light] .et-modal-disclaimer { color: #aaa !important; border-top-color: #f0f0f0 !important; }

/* 溢出修复 */
.et-travel-panel { max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
