/* ── Reset & Base ─────────────────────────────────────────────── */
#blvd-root, #blvd-root *, #blvd-root *::before, #blvd-root *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#blvd-root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.5; color: #111827;
  background: #F3F4F6; min-height: 100vh; padding-bottom: 72px;
}
.blvd-login-prompt {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #F3F4F6; padding: 24px;
}
.blvd-login-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  max-width: 360px; width: 100%; text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.blvd-login-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.blvd-login-card p  { color: #6B7280; margin-bottom: 24px; }

/* ── Cards ────────────────────────────────────────────────────── */
.blvd-card {
  background: #fff; border-radius: 14px; padding: 16px;
  margin: 8px 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.blvd-card-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.blvd-screen { padding-top: 4px; padding-bottom: 4px; }
.blvd-screen-title {
  font-size: 22px; font-weight: 700; padding: 16px 16px 8px;
}
.blvd-section-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #6B7280; padding: 16px 16px 4px;
}

/* ── Decay dots ───────────────────────────────────────────────── */
.blvd-decay-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.blvd-green  { background: #16A34A; }
.blvd-yellow { background: #CA8A04; }
.blvd-orange { background: #EA580C; }
.blvd-red    { background: #DC2626; }

/* ── Badges & Chips ───────────────────────────────────────────── */
.blvd-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.blvd-badge-green   { background: #DCFCE7; color: #166534; }
.blvd-badge-yellow  { background: #FEF9C3; color: #854D0E; }
.blvd-badge-red     { background: #FEE2E2; color: #991B1B; }
.blvd-badge-blue    { background: #EFF6FF; color: #1D4ED8; }
.blvd-badge-purple  { background: #F5F3FF; color: #6D28D9; }
.blvd-badge-gray    { background: #F3F4F6; color: #374151; }
.blvd-badge-amber   { background: #FEF3C7; color: #92400E; }
.blvd-online  { background: #DCFCE7; color: #166534; }
.blvd-offline { background: #FEE2E2; color: #991B1B; }

/* ── Buttons ──────────────────────────────────────────────────── */
.blvd-btn-primary {
  display: block; width: 100%; background: #2563EB; color: #fff;
  border: none; border-radius: 10px; padding: 13px 20px;
  font-size: 16px; font-weight: 600; min-height: 48px; cursor: pointer;
  text-align: center; text-decoration: none;
}
.blvd-btn-primary:hover { background: #1D4ED8; }
.blvd-btn-sm {
  display: inline-flex; align-items: center; background: #F3F4F6;
  border: 1px solid #E5E7EB; border-radius: 8px; padding: 7px 14px;
  font-size: 14px; font-weight: 500; min-height: 44px; cursor: pointer;
  white-space: nowrap; text-decoration: none; color: #374151;
}
.blvd-btn-sm:hover { background: #E5E7EB; }
.blvd-btn-danger {
  background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA;
}
.blvd-btn-icon {
  background: none; border: 1px solid #E5E7EB; border-radius: 8px;
  width: 44px; height: 44px; font-size: 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── FAB ──────────────────────────────────────────────────────── */
.blvd-fab {
  position: fixed; bottom: 80px; right: 16px;
  width: 56px; height: 56px; background: #2563EB; color: #fff;
  border: none; border-radius: 50%; font-size: 28px; line-height: 1;
  box-shadow: 0 4px 14px rgba(37,99,235,0.45); cursor: pointer; z-index: 90;
  display: flex; align-items: center; justify-content: center;
}

/* ── Alerts ───────────────────────────────────────────────────── */
.blvd-alert {
  border-radius: 10px; padding: 12px 14px; margin-top: 10px;
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
}
.blvd-alert-weather { background: #FFF7ED; border: 1px solid #FDBA74; color: #9A3412; }
.blvd-alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.blvd-alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.blvd-alert-text    { flex: 1; }

/* ── Bottom navigation ────────────────────────────────────────── */
.blvd-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  border-top: 1px solid #E5E7EB; display: flex; height: 62px; z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.blvd-nav-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; font-size: 10px; font-weight: 500;
  color: #9CA3AF; border: none; background: none; cursor: pointer;
  min-height: 44px; padding: 6px 2px; letter-spacing: 0.02em;
}
.blvd-nav-tab.active { color: #2563EB; }
.blvd-nav-tab svg { width: 22px; height: 22px; }

/* ── More drawer ──────────────────────────────────────────────── */
.blvd-more-drawer {
  position: fixed; bottom: 62px; left: 0; right: 0; background: #fff;
  border-top: 1px solid #E5E7EB; z-index: 99; padding: 8px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.blvd-more-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  border: none; background: none; width: 100%; text-align: left;
  font-size: 16px; cursor: pointer; color: #111827; min-height: 52px;
}
.blvd-more-item:hover { background: #F9FAFB; }
.blvd-more-item span { font-size: 20px; }

/* ── Overlay ──────────────────────────────────────────────────── */
.blvd-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.blvd-overlay-dismiss {
  flex: 1; border: none; background: transparent; cursor: pointer;
}

/* ── Bottom sheet ─────────────────────────────────────────────── */
.blvd-bottom-sheet {
  background: #fff; border-radius: 20px 20px 0 0; padding: 0 0 env(safe-area-inset-bottom, 16px);
  max-height: 90vh; overflow-y: auto; z-index: 151; position: relative;
}
.blvd-sheet-handle {
  width: 40px; height: 4px; background: #D1D5DB; border-radius: 2px;
  margin: 12px auto 16px;
}
.blvd-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 12px; border-bottom: 1px solid #F3F4F6;
}
.blvd-sheet-header h3 { font-size: 18px; font-weight: 700; }
.blvd-sheet-body { padding: 16px; }
.blvd-sheet-footer { padding: 12px 16px 16px; border-top: 1px solid #F3F4F6; display: flex; gap: 8px; }

/* ── Dashboard ────────────────────────────────────────────────── */
.blvd-mode-banner {
  background: linear-gradient(135deg, #1D4ED8, #4F46E5);
  color: #fff; border-radius: 14px; margin: 8px 12px; padding: 14px 16px;
}
.blvd-mode-banner-label { font-size: 13px; opacity: 0.85; }
.blvd-mode-banner-title { font-size: 17px; font-weight: 700; margin: 4px 0; }
.blvd-mode-banner-meta  { font-size: 13px; opacity: 0.8; }
.blvd-mode-banner-row   { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }

/* Weather widget */
.blvd-weather-main { display: flex; align-items: baseline; gap: 10px; }
.blvd-temp { font-size: 40px; font-weight: 300; }
.blvd-conditions { font-size: 16px; color: #6B7280; }
.blvd-weather-detail { font-size: 13px; color: #9CA3AF; margin-top: 4px; }

/* Category grid */
.blvd-category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px;
}
.blvd-category-tile {
  background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 10px;
  padding: 10px 8px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; cursor: pointer; border: none;
  min-height: 44px; position: relative;
}
.blvd-category-tile:active { background: #F3F4F6; }
.blvd-category-tile .blvd-decay-dot { position: absolute; top: 8px; right: 8px; }
.blvd-cat-icon  { font-size: 22px; }
.blvd-cat-name  { font-size: 12px; font-weight: 600; color: #374151; }
.blvd-cat-count { font-size: 11px; color: #9CA3AF; }

/* Upcoming list */
.blvd-upcoming-list { list-style: none; }
.blvd-upcoming-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #F3F4F6;
}
.blvd-upcoming-item:last-child { border-bottom: none; }
.blvd-upcoming-date { font-size: 12px; font-weight: 600; color: #6B7280; min-width: 40px; }
.blvd-upcoming-title { flex: 1; font-size: 14px; }

/* Integrations */
.blvd-integration-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #F3F4F6; flex-wrap: wrap;
}
.blvd-integration-item:last-child { border-bottom: none; }
.blvd-integration-name { font-size: 14px; font-weight: 500; flex: 1; }
.blvd-integration-detail { font-size: 12px; color: #9CA3AF; width: 100%; padding-left: 0; }
.blvd-integration-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #9CA3AF; padding: 8px 0 4px; }

/* ── Tasks screen ─────────────────────────────────────────────── */
.blvd-filter-bar {
  display: flex; overflow-x: auto; gap: 6px; padding: 10px 12px;
  background: #fff; border-bottom: 1px solid #E5E7EB;
  position: sticky; top: 0; z-index: 50; scrollbar-width: none;
}
.blvd-filter-bar::-webkit-scrollbar { display: none; }
.blvd-filter {
  white-space: nowrap; border: 1px solid #E5E7EB; border-radius: 999px;
  padding: 6px 14px; font-size: 14px; background: #fff; cursor: pointer;
  min-height: 38px; flex-shrink: 0; color: #374151;
}
.blvd-filter.active { background: #2563EB; color: #fff; border-color: #2563EB; }

.blvd-task-list { background: #fff; margin: 8px 12px; border-radius: 14px; overflow: hidden; }
.blvd-task-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; border-bottom: 1px solid #F3F4F6;
}
.blvd-task-card:last-child { border-bottom: none; }
.blvd-task-info { flex: 1; min-width: 0; }
.blvd-task-name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blvd-task-meta { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.blvd-weather-chip {
  display: inline-block; font-size: 11px; background: #FFF7ED;
  color: #9A3412; border: 1px solid #FDBA74; border-radius: 6px;
  padding: 1px 6px; margin-top: 4px;
}
.blvd-task-done-btn {
  background: #F3F4F6; border: 1.5px solid #D1D5DB; border-radius: 50%;
  width: 38px; height: 38px; font-size: 16px; cursor: pointer;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.blvd-task-done-btn:active { background: #DCFCE7; border-color: #16A34A; }

/* ── Form fields ──────────────────────────────────────────────── */
.blvd-field { margin-bottom: 16px; }
.blvd-field label, .blvd-field-label {
  display: block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: #6B7280; margin-bottom: 5px;
}
.blvd-field input[type="text"],
.blvd-field input[type="email"],
.blvd-field input[type="tel"],
.blvd-field input[type="number"],
.blvd-field input[type="date"],
.blvd-field input[type="time"],
.blvd-field input[type="datetime-local"],
.blvd-field input[type="password"],
.blvd-field select,
.blvd-field textarea,
.blvd-input, .blvd-select, .blvd-textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid #D1D5DB;
  border-radius: 9px; font-size: 16px; font-family: inherit;
  background: #fff; color: #111827; outline: none;
  -webkit-appearance: none; appearance: none;
}
.blvd-field input:focus, .blvd-input:focus,
.blvd-field select:focus, .blvd-select:focus,
.blvd-field textarea:focus, .blvd-textarea:focus { border-color: #2563EB; }
.blvd-field textarea { resize: vertical; min-height: 80px; }
.blvd-masked-field { display: flex; gap: 8px; }
.blvd-masked-field input { flex: 1; }

/* Segmented control */
.blvd-segmented { display: flex; background: #F3F4F6; border-radius: 9px; padding: 3px; gap: 2px; }
.blvd-segmented button {
  flex: 1; border: none; background: transparent; padding: 7px 6px;
  border-radius: 7px; font-size: 14px; cursor: pointer; font-family: inherit;
  min-height: 38px; font-weight: 500; color: #6B7280;
}
.blvd-segmented button.active {
  background: #fff; font-weight: 600; color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Toggle row */
.blvd-toggle-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #F9FAFB;
  cursor: pointer; min-height: 48px; user-select: none;
}
.blvd-toggle-row:last-child { border-bottom: none; }
.blvd-toggle-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; }
.blvd-toggle-row .blvd-toggle-label { font-size: 15px; }

/* Required asterisk */
.blvd-required-note { font-size: 12px; color: #DC2626; font-weight: 600; }

/* ── Pets screen ──────────────────────────────────────────────── */
.blvd-pet-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.blvd-pet-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #F3F4F6; }
.blvd-pet-name { font-size: 20px; font-weight: 700; }
.blvd-pet-breed { font-size: 13px; color: #9CA3AF; }
.blvd-pet-section { padding: 12px 0; border-top: 1px solid #F3F4F6; }
.blvd-pet-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #9CA3AF; margin-bottom: 6px; display: block;
}
details summary { cursor: pointer; font-size: 14px; color: #6B7280; list-style: none; }
details summary::after { content: ' ›'; }
details[open] summary::after { content: ' ↑'; }
details p, details div { margin-top: 8px; font-size: 14px; }

/* ── Plants screen ────────────────────────────────────────────── */
.blvd-zone-header {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #6B7280; padding: 12px 16px 4px;
}
.blvd-plant-list { background: #fff; margin: 0 12px 8px; border-radius: 14px; overflow: hidden; }
.blvd-plant-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid #F3F4F6;
}
.blvd-plant-row:last-child { border-bottom: none; }
.blvd-plant-info { flex: 1; min-width: 0; }
.blvd-plant-name { font-size: 15px; font-weight: 500; }
.blvd-plant-meta { font-size: 12px; color: #9CA3AF; margin-top: 1px; }
.blvd-stage-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: #EFF6FF; color: #1D4ED8; text-transform: capitalize; white-space: nowrap;
}

/* ── Cleaning screen ──────────────────────────────────────────── */
.blvd-room-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.blvd-room-name { font-size: 16px; font-weight: 600; }
.blvd-room-task {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #F9FAFB;
}
.blvd-room-task:last-child { border-bottom: none; }
.blvd-room-task-name { flex: 1; font-size: 14px; }
.blvd-room-task-meta { font-size: 12px; color: #9CA3AF; }

/* ── Calendar screen ──────────────────────────────────────────── */
.blvd-view-toggle {
  display: flex; background: #F3F4F6; border-radius: 10px;
  padding: 3px; margin: 10px 12px; gap: 2px;
}
.blvd-view-toggle button {
  flex: 1; border: none; background: transparent; padding: 7px 6px;
  border-radius: 8px; font-size: 14px; cursor: pointer; min-height: 38px;
  font-weight: 500; color: #6B7280; font-family: inherit;
}
.blvd-view-toggle button.active {
  background: #fff; font-weight: 600; color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.blvd-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 12px 10px;
}
.blvd-cal-nav-btn { background: none; border: none; font-size: 22px; cursor: pointer; padding: 8px; min-height: 44px; min-width: 44px; border-radius: 8px; }
.blvd-cal-nav-btn:hover { background: #F3F4F6; }
.blvd-cal-label { font-size: 17px; font-weight: 600; }

/* Month grid */
.blvd-cal-month { margin: 0 12px; }
.blvd-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; margin-bottom: 2px; }
.blvd-cal-weekday { text-align: center; font-size: 11px; font-weight: 600; color: #9CA3AF; padding: 4px 0; text-transform: uppercase; }
.blvd-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; background: #E5E7EB; border-radius: 12px; overflow: hidden; }
.blvd-cal-cell { background: #fff; min-height: 58px; padding: 5px; cursor: pointer; }
.blvd-cal-cell:hover { background: #F9FAFB; }
.blvd-cal-cell.other-month { background: #FAFAFA; }
.blvd-cal-cell.other-month .blvd-cal-day-num { color: #D1D5DB; }
.blvd-cal-day-num { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.blvd-cal-cell.today .blvd-cal-day-num {
  background: #2563EB; color: #fff; border-radius: 50%;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
}
.blvd-cal-dots { display: flex; flex-wrap: wrap; gap: 2px; }
.blvd-cal-dot { width: 7px; height: 7px; border-radius: 50%; }
.blvd-cal-more { font-size: 10px; color: #9CA3AF; }

/* Day / List view */
.blvd-day-list { list-style: none; margin: 0 12px; }
.blvd-day-event {
  background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border-left: 3px solid var(--event-color, #9CA3AF);
}
.blvd-event-time { font-size: 12px; font-weight: 600; color: #6B7280; min-width: 52px; }
.blvd-event-title { flex: 1; font-size: 14px; font-weight: 500; }
.blvd-event-google { border-style: dashed; opacity: 0.75; }

.blvd-list-date-header {
  font-size: 13px; font-weight: 700; color: #6B7280;
  padding: 14px 12px 6px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ── Settings screen ──────────────────────────────────────────── */
.blvd-settings-accordion { margin: 0 12px 8px; background: #fff; border-radius: 14px; overflow: hidden; }
.blvd-accordion-header {
  width: 100%; text-align: left; padding: 16px; font-size: 16px; font-weight: 600;
  border: none; background: none; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; min-height: 52px;
  border-bottom: 1px solid #F3F4F6;
}
.blvd-accordion-header::after { content: '›'; font-size: 20px; color: #9CA3AF; transition: transform 0.2s; }
.blvd-accordion-header.open::after { transform: rotate(90deg); }
.blvd-accordion-body { padding: 16px; display: none; border-bottom: 1px solid #F3F4F6; }
.blvd-accordion-body.open { display: block; }
.blvd-accordion-body:last-child { border-bottom: none; }

.blvd-integration-config { padding: 16px 0; border-bottom: 1px solid #F9FAFB; }
.blvd-integration-config:last-child { border-bottom: none; }
.blvd-integration-config h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.blvd-integration-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.blvd-test-result { font-size: 13px; font-weight: 500; }
.blvd-test-result.success { color: #16A34A; }
.blvd-test-result.error   { color: #DC2626; }

.blvd-user-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid #F9FAFB; flex-wrap: wrap;
}
.blvd-user-item:last-child { border-bottom: none; }
.blvd-user-name  { font-size: 15px; font-weight: 500; flex: 1; min-width: 120px; }
.blvd-user-email { font-size: 12px; color: #9CA3AF; width: 100%; }

/* Contact list */
.blvd-contact-list { list-style: none; margin-bottom: 12px; }
.blvd-contact-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #F9FAFB; font-size: 14px;
}
.blvd-remove-btn {
  background: none; border: none; color: #DC2626; font-size: 18px; cursor: pointer;
  min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
}

/* ── Vendors screen ───────────────────────────────────────────── */
.blvd-vendor-card {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  margin: 0 12px 8px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.blvd-vendor-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.blvd-vendor-name { font-size: 16px; font-weight: 600; }
.blvd-vendor-company { font-size: 13px; color: #6B7280; }
.blvd-vendor-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.blvd-vendor-phone { font-size: 14px; color: #2563EB; text-decoration: none; }
.blvd-vendor-visits { font-size: 12px; color: #9CA3AF; }

/* ── Bills screen ─────────────────────────────────────────────── */
.blvd-bill-list { background: #fff; margin: 0 12px; border-radius: 14px; overflow: hidden; }
.blvd-bill-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; border-bottom: 1px solid #F3F4F6; cursor: pointer;
}
.blvd-bill-item:last-child { border-bottom: none; }
.blvd-bill-name   { font-size: 15px; font-weight: 500; }
.blvd-bill-method { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.blvd-bill-due-col { text-align: right; }
.blvd-days-until   { font-size: 20px; font-weight: 700; display: block; }
.blvd-due-label    { font-size: 11px; color: #9CA3AF; }

/* ── Modes wizard ─────────────────────────────────────────────── */
.blvd-mode-selector-list { list-style: none; }
.blvd-mode-option {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  border: none; background: none; width: 100%; text-align: left;
  font-size: 16px; cursor: pointer; border-bottom: 1px solid #F3F4F6;
  min-height: 56px;
}
.blvd-mode-option:last-child { border-bottom: none; }
.blvd-mode-option:hover { background: #F9FAFB; }
.blvd-mode-option span { font-size: 22px; }

.blvd-wizard-step { display: none; padding: 16px; }
.blvd-wizard-step.active { display: block; }
.blvd-wizard-progress { display: flex; gap: 4px; padding: 8px 16px 0; }
.blvd-wizard-dot { flex: 1; height: 3px; background: #E5E7EB; border-radius: 2px; }
.blvd-wizard-dot.done { background: #2563EB; }

.blvd-assignment-group { margin-bottom: 16px; }
.blvd-assignment-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #6B7280; margin-bottom: 5px; display: block; }
.blvd-assignment-label.required::after { content: ' *'; color: #DC2626; }
.blvd-gap-warning { font-size: 13px; color: #DC2626; margin-top: 6px; padding: 8px; background: #FEF2F2; border-radius: 8px; }
.blvd-cat-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; }
.blvd-cat-check-label {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid #E5E7EB; border-radius: 8px; cursor: pointer; font-size: 14px;
  min-height: 44px;
}
.blvd-cat-check-label input { width: 16px; height: 16px; flex-shrink: 0; }

.blvd-checklist-preview { background: #F9FAFB; border-radius: 10px; padding: 12px; margin-bottom: 16px; }
.blvd-checklist-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid #F3F4F6; font-size: 14px;
}
.blvd-checklist-item:last-child { border-bottom: none; }
.blvd-checklist-item input { width: 18px; height: 18px; flex-shrink: 0; }
.blvd-checklist-item.required-item { font-weight: 500; }

.blvd-handoff-section { margin-bottom: 14px; }
.blvd-handoff-section label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 5px; }

.blvd-assignment-summary {
  background: #F0F9FF; border: 1px solid #BAE6FD; border-radius: 10px; padding: 12px; margin-bottom: 16px;
}
.blvd-assignment-summary h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #0369A1; }
.blvd-assignment-row { font-size: 14px; margin-bottom: 4px; }
.blvd-assignment-row strong { color: #374151; }

/* ── Active mode card on Modes screen ────────────────────────── */
.blvd-active-mode-screen-card {
  background: linear-gradient(135deg,#1D4ED8,#4F46E5); color:#fff;
  border-radius:14px; padding:18px; margin:8px 12px;
}
.blvd-mode-history-item {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid #F3F4F6; background:#fff;
}
.blvd-mode-history-item:last-child { border-bottom:none; }

/* ── Non-resident simple dashboard ───────────────────────────── */
.blvd-simple-dashboard { padding: 12px; }
.blvd-handoff-banner {
  background: #F0F9FF; border: 1px solid #BAE6FD; border-radius: 12px;
  padding: 14px; margin-bottom: 12px;
}
.blvd-handoff-banner-toggle {
  width: 100%; background: none; border: none; text-align: left;
  font-size: 14px; font-weight: 600; color: #0369A1; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0; min-height: 44px;
}
.blvd-handoff-note-text { margin-top: 10px; font-size: 14px; white-space: pre-wrap; color: #374151; }
.blvd-today-tasks { background: #fff; border-radius: 14px; overflow: hidden; }
.blvd-today-task-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; border-bottom: 1px solid #F3F4F6;
}
.blvd-today-task-item:last-child { border-bottom: none; }
.blvd-today-task-info { flex: 1; }
.blvd-today-task-done { background: #DCFCE7; }
.blvd-today-task-done .blvd-today-task-name { text-decoration: line-through; color: #9CA3AF; }
.blvd-complete-btn {
  background: #2563EB; color: #fff; border: none; border-radius: 8px;
  padding: 8px 14px; font-size: 14px; cursor: pointer; min-height: 44px;
  white-space: nowrap; flex-shrink: 0;
}
.blvd-note-input {
  width: 100%; padding: 8px 10px; border: 1px solid #E5E7EB;
  border-radius: 8px; font-size: 14px; margin-top: 6px; resize: none;
}

/* ── Toast ────────────────────────────────────────────────────── */
.blvd-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: #111827; color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; z-index: 300; pointer-events: none;
  opacity: 1; transition: opacity 0.4s ease;
}
.blvd-toast.hidden { opacity: 0; }

/* ── Loading skeleton ─────────────────────────────────────────── */
.blvd-loading-skeleton {
  background: linear-gradient(90deg,#F3F4F6 25%,#E9EAEC 50%,#F3F4F6 75%);
  background-size: 200% 100%; animation: blvd-shimmer 1.3s infinite;
  height: 120px; border-radius: 14px; margin: 8px 12px;
}
@keyframes blvd-shimmer { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }

/* ── Utility ──────────────────────────────────────────────────── */
.blvd-empty { text-align: center; padding: 40px 20px; color: #9CA3AF; }
.blvd-empty p { font-size: 15px; margin-top: 8px; }
.blvd-mt8  { margin-top: 8px; }
.blvd-mt16 { margin-top: 16px; }
.blvd-flex-between { display: flex; align-items: center; justify-content: space-between; }
.blvd-row  { display: flex; align-items: center; gap: 8px; }
