:root {
  --bg-deep: #110f1a;
  --bg-card: #1c1829;
  --bg-card-hover: #252036;
  --leo-gold: #f4b860;
  --taurus-emerald: #52b788;
  --libra-rose: #e5989b;
  --cosmic-purple: #9d4edd;
  --text-main: #f8f7ff;
  --text-muted: #b8b2cc;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --danger: #e5636f;
}

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

body {
  background: radial-gradient(circle at top right, #241734, var(--bg-deep) 60%);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  padding: 1.5rem;
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

.cosmic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.brand h1 {
  font-size: 1.75rem;
  background: linear-gradient(90deg, var(--leo-gold), var(--libra-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle { color: var(--text-muted); font-size: 0.9rem; }

.header-widgets { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.moon-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(244, 184, 96, 0.3);
  padding: 0.6rem 1rem;
  border-radius: 14px;
}

#moonEmoji { font-size: 1.8rem; }
.moon-badge strong { display: block; font-size: 0.9rem; color: var(--leo-gold); }
.moon-badge small { color: var(--text-muted); font-size: 0.78rem; }

.clock-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 0.6rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
}

#liveClock {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.portal-btn {
  background: linear-gradient(135deg, var(--cosmic-purple), #6c2bd9);
  color: white;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: transform 0.15s ease;
}
.portal-btn:hover { transform: scale(1.04); }

/* TAB NAV */
.tab-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.tab-btn:hover { color: var(--text-main); background: var(--bg-card-hover); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--cosmic-purple), #6c2bd9);
  color: white;
  border-color: transparent;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.anchor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5rem;
}

.manifestation-card { border-top: 3px solid var(--cosmic-purple); }
.leo-card { border-top: 3px solid var(--leo-gold); }
.grounding-card { border-top: 3px solid var(--taurus-emerald); }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.card-header h2 { font-size: 1.1rem; }

.helper-text {
  color: var(--text-muted);
  font-size: 0.83rem;
  margin-bottom: 0.65rem;
}

textarea, input[type="text"], input[type="number"], input[type="date"], select {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.7rem;
  font-family: inherit;
  font-size: 0.92rem;
}
textarea { min-height: 92px; resize: vertical; }
textarea:focus, input:focus, select:focus { outline: 2px solid var(--leo-gold); }
input[type="date"] { color-scheme: dark; }

.spotlight-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(244, 184, 96, 0.08);
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 184, 96, 0.3);
}
.spotlight-input-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--leo-gold);
  cursor: pointer;
}

.sensory-checks { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.88rem; }
.sensory-checks label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.sensory-checks input { accent-color: var(--taurus-emerald); }
.peace-select { margin-top: 0.35rem; }

.divider { border: none; border-top: 1px solid var(--border-subtle); margin: 0.75rem 0; }

.badge-pill {
  background: rgba(244, 184, 96, 0.2);
  color: var(--leo-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.mini-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
}
.mini-btn:hover { background: rgba(255, 255, 255, 0.16); }

.workspace-layout { display: grid; grid-template-columns: 1fr 290px; gap: 1.25rem; }
@media (max-width: 1024px) { .workspace-layout { grid-template-columns: 1fr; } }

.task-creator {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 680px) { .task-creator { grid-template-columns: 1fr; } }

.add-btn {
  background: var(--leo-gold);
  color: #110f1a;
  font-weight: 700;
  border: none;
  padding: 0 1.25rem;
  border-radius: 10px;
  cursor: pointer;
}

.row-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.row-form.solo-form { grid-template-columns: 1fr auto; }
@media (max-width: 680px) { .row-form { grid-template-columns: 1fr; } }

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

.kanban-col {
  background: rgba(28, 24, 41, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.highlight-col {
  border: 1px solid rgba(244, 184, 96, 0.5);
  background: linear-gradient(180deg, rgba(244, 184, 96, 0.07), rgba(28, 24, 41, 0.85));
}

.col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.col-header h3 { font-size: 0.98rem; }
.col-desc { color: var(--text-muted); font-size: 0.76rem; margin-bottom: 0.85rem; }

.count-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}
.gold-badge { background: var(--leo-gold); color: #110f1a; }

.task-list { display: flex; flex-direction: column; gap: 0.6rem; }

.task-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.task-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

.task-actions button,
.line-item button,
.check-item button {
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--text-muted);
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
}

.task-actions button:hover,
.line-item button:hover,
.check-item button:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.move-select {
  width: auto;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.72rem;
  padding: 0.2rem 0.35rem;
}

/* WEEK GRID */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.week-day {
  background: rgba(28, 24, 41, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem;
  min-height: 170px;
}

.week-day.today-glow {
  border: 1px solid rgba(244, 184, 96, 0.5);
  background: linear-gradient(180deg, rgba(244, 184, 96, 0.07), rgba(28, 24, 41, 0.85));
}

.week-day h3 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.week-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.55rem; }
.week-item {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  align-items: flex-start;
}
.week-item button { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.8rem; }
.week-item button:hover { color: white; }
.week-form { display: flex; gap: 0.4rem; }
.week-form input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.8rem;
  width: 100%;
  min-width: 0;
}

/* BILLS */
.bills-summary {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.bills-summary strong { color: var(--leo-gold); }
.bills-summary .overdue-note { color: var(--danger); }

.line-list { display: flex; flex-direction: column; gap: 0.55rem; }

.line-item {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.line-item.paid { opacity: 0.55; text-decoration: line-through; }
.line-item.overdue {
  border: 1px solid rgba(229, 99, 111, 0.55);
  background: rgba(229, 99, 111, 0.08);
}
.line-item .due-tag {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.76rem;
  white-space: nowrap;
}
.line-item.overdue .due-tag { color: var(--danger); font-weight: 700; }

.line-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--taurus-emerald); cursor: pointer; }

/* CHECK LIST (self care) */
.check-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

.check-item {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.check-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--taurus-emerald); cursor: pointer; }
.check-item .done-label { text-decoration: line-through; opacity: 0.55; }

/* DOPAMINE SIDEBAR */
.timer-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
}

.timer-digits {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--taurus-emerald);
}

.timer-controls { display: flex; justify-content: center; gap: 0.5rem; margin: 0.5rem 0; }

.dopamine-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.dopa-btn {
  width: 100%;
  text-align: left;
  background: rgba(82, 183, 136, 0.1);
  border: 1px solid rgba(82, 183, 136, 0.25);
  color: var(--text-main);
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  transition: background 0.15s ease;
}
.dopa-btn:hover { background: rgba(82, 183, 136, 0.22); }

/* COSMIC TOAST */
.cosmic-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #2d1b4e, #1c1829);
  border: 2px solid var(--leo-gold);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  max-width: 380px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.hidden { display: none; }
.toast-content { display: flex; align-items: flex-start; gap: 0.85rem; }
.toast-icon { font-size: 1.8rem; }
.toast-content h4 { color: var(--leo-gold); margin-bottom: 0.25rem; }
.toast-content p { font-size: 0.84rem; color: var(--text-main); }
.close-toast { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; }

@media (max-width: 680px) {
  body { padding: 1rem; }
  .cosmic-toast { left: 1rem; right: 1rem; max-width: none; }
}

/* WINS CARD */
.wins-card { border-top: 3px solid var(--leo-gold); margin-bottom: 1.75rem; }
.wins-list { display: flex; flex-direction: column; gap: 0.4rem; }
.win-row {
  background: rgba(244, 184, 96, 0.07);
  border: 1px solid rgba(244, 184, 96, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
}

/* BLOCKS */
.date-picker { width: auto; }
.breakdown-form {
  background: rgba(157, 78, 221, 0.08);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  grid-template-columns: 2fr 1fr 1fr auto;
}

.timeline-wrap { margin-bottom: 1rem; }
.timeline {
  position: relative;
  height: 44px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}
.tl-block {
  position: absolute;
  top: 6px;
  height: 32px;
  border-radius: 6px;
  opacity: 0.85;
  min-width: 4px;
}
.tl-done { opacity: 0.35; }
.timeline-hours {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 0.25rem 0.2rem 0;
}

.block-item .cat-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.block-item small { color: var(--text-muted); }

/* JOURNAL */
.journal-nav { display: flex; align-items: center; gap: 0.4rem; }
.journal-nav strong { font-size: 0.85rem; color: var(--leo-gold); }
.card-inner-prompt {
  background: rgba(157, 78, 221, 0.08);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}
.mood-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.mood-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
}
.mood-btn:hover { color: var(--text-main); }
.mood-btn.active {
  background: linear-gradient(135deg, var(--cosmic-purple), #6c2bd9);
  color: white;
  border-color: transparent;
}
.journal-save { display: block; margin-top: 0.7rem; padding: 0.6rem 1.25rem; }
.journal-item span:first-child { font-size: 1.1rem; }

/* TASK META + BADGES */
.task-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  grid-column: 1 / -1;
}
@media (max-width: 680px) { .task-meta { grid-template-columns: 1fr 1fr; } }
.repeat-badge { color: var(--cosmic-purple); background: rgba(157, 78, 221, 0.14); }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.task-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  border-radius: 99px;
  padding: 0.12rem 0.5rem;
}
.overdue-badge { background: rgba(229, 99, 111, 0.18); color: var(--danger); font-weight: 700; }
.pri-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pri-high { background: var(--leo-gold); }
.pri-med { background: var(--cosmic-purple); }
.pri-low { background: var(--taurus-emerald); }

input[type="time"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.7rem;
  font-family: inherit;
  font-size: 0.92rem;
  color-scheme: dark;
}
input[type="time"]:focus { outline: 2px solid var(--leo-gold); }

/* HOURLY SCHEDULE */
.schedule-card { border-top: 3px solid var(--cosmic-purple); margin-bottom: 1.75rem; }
.now-banner {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.25), rgba(108, 43, 217, 0.15));
  border: 1px solid rgba(157, 78, 221, 0.4);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}
.hourly-grid { display: flex; flex-direction: column; }
.hour-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0.55rem;
  padding: 0.3rem 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
  min-height: 34px;
}
.hour-row:last-child { border-bottom: none; }
.hour-row.now {
  background: rgba(244, 184, 96, 0.08);
  border-left: 3px solid var(--leo-gold);
  border-radius: 8px;
}
.hour-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 0.25rem;
}
.hour-row.now .hour-label { color: var(--leo-gold); font-weight: 700; }
.hour-content { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hour-chip {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
}
.week-tasks { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.week-task-chip {
  font-size: 0.72rem;
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid rgba(157, 78, 221, 0.35);
  color: var(--text-main);
  border-radius: 99px;
  padding: 0.25rem 0.6rem;
}

/* MOBILE PASS */
@media (max-width: 680px) {
  body { padding: 0.75rem; }
  .brand h1 { font-size: 1.3rem; }
  .subtitle { font-size: 0.78rem; }
  .tab-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 15, 26, 0.95);
    backdrop-filter: blur(6px);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 0.4rem 0.75rem 0.5rem;
  }
  .tab-btn { white-space: nowrap; flex-shrink: 0; padding: 0.6rem 1rem; }
  .kanban-grid { grid-template-columns: 1fr; }
  .kanban-col { min-height: auto; }
  .task-actions button, .line-item button, .check-item button, .mini-btn, .dopa-btn { min-height: 40px; }
  .add-btn { min-height: 44px; }
  textarea, input[type="text"], input[type="number"], input[type="date"], input[type="time"], select {
    font-size: 16px;
    min-height: 44px;
  }
  .cosmic-toast { bottom: 0.75rem; right: 0.75rem; left: 0.75rem; max-width: none; }
  .week-grid { grid-template-columns: 1fr 1fr; }
  .timeline { height: 38px; }
  .card { padding: 1rem; }
  .hour-row { grid-template-columns: 48px 1fr; }
}

/* ASTRO TAB */
.astro-moonline {
  background: rgba(244, 184, 96, 0.08);
  border: 1px solid rgba(244, 184, 96, 0.3);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.astro-skyrow { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.sky-chip {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: var(--text-muted);
}
.astro-sub {
  font-size: 0.95rem;
  margin: 0.9rem 0 0.5rem;
  color: var(--leo-gold);
}
.astro-advice { display: flex; flex-direction: column; gap: 0.45rem; }
.astro-advice-line {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
}
.astro-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
}
.astro-day-card {
  background: rgba(28, 24, 41, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.7rem 0.6rem;
  text-align: center;
}
.astro-day-card.astro-today {
  border: 1px solid rgba(244, 184, 96, 0.5);
  background: linear-gradient(180deg, rgba(244, 184, 96, 0.07), rgba(28, 24, 41, 0.85));
}
.astro-day-head { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 700; }
.astro-day-moon { font-size: 0.75rem; color: var(--libra-rose); margin: 0.25rem 0; }
.astro-day-note { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }

/* GOOGLE CALENDAR SYNC */
.sched-controls { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.sync-status { font-size: 0.72rem; color: var(--text-muted); }
.gcal-chip {
  background: rgba(66, 133, 244, 0.12);
  border: 1px solid rgba(66, 133, 244, 0.4);
}
.cal-picker { margin-bottom: 0.8rem; font-size: 0.85rem; }
.cal-picker summary { cursor: pointer; color: var(--text-muted); font-size: 0.78rem; }
.cal-picker div { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.5rem 0.2rem; }
.cal-pick { display: flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.cal-pick input { accent-color: var(--cosmic-purple); }
.week-task-chip.gcal {
  background: rgba(66, 133, 244, 0.12);
  border: 1px solid rgba(66, 133, 244, 0.4);
}
@media (max-width: 680px) {
  .sched-controls { justify-content: flex-start; }
}

/* QUICK-ADD TASK CARD: pinned near the top, always reachable */
.task-quick-card {
  position: sticky;
  top: 0.6rem;
  z-index: 40;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.task-quick-card .task-creator { margin-bottom: 0; }
@media (max-width: 680px) {
  .task-quick-card { top: 3.4rem; }  /* clears the sticky tab bar */
  .task-creator { gap: 0.45rem; }
  .task-quick-card .add-btn { padding: 0.55rem 0.9rem; }
}

/* MONTH VIEW */
.month-nav { display: flex; align-items: center; gap: 0.4rem; }
.month-nav span { font-weight: 700; min-width: 9.5rem; text-align: center; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month-dow { font-size: 0.72rem; color: var(--text-muted); text-align: center; font-weight: 700; padding: 0.2rem 0; }
.month-cell {
  min-height: 76px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.25rem;
  overflow: hidden;
}
.month-cell.out { opacity: 0.35; }
.month-cell.today { border-color: var(--leo-gold); box-shadow: 0 0 0 1px var(--leo-gold); }
.month-day { font-size: 0.75rem; font-weight: 700; display: block; }
.month-chips { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.month-chip {
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 1px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.month-chip.gcal { background: rgba(66, 133, 244, 0.12); border: 1px solid rgba(66, 133, 244, 0.4); }
@media (max-width: 680px) {
  .month-cell { min-height: 52px; }
  .month-day { font-size: 0.65rem; }
  .month-chip { font-size: 0.55rem; }
  .month-nav span { min-width: 7.5rem; font-size: 0.85rem; }
}

/* ---- GANTT DAY TIMELINE ---- */
.gantt-anytime { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.4rem 0.6rem 0.5rem; }
.g-anytime-label { color: #9a8fb8; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 0.4rem; white-space: nowrap; }
.gantt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gantt-inner { position: relative; min-width: 680px; }
.gantt-axis { position: relative; height: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.g-tick { position: absolute; bottom: 0.12rem; transform: translateX(-50%); font-size: 0.64rem; color: #9a8fb8; }
.gantt-row { position: relative; height: 2.5rem; border-bottom: 1px dashed rgba(255,255,255,0.07); }
.gantt-row:last-child { border-bottom: none; }
.g-bar {
  position: absolute; top: 0.3rem; bottom: 0.3rem; border-radius: 0.65rem;
  border: 1px solid rgba(255,255,255,0.28); padding: 0 0.6rem;
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-size: 0.76rem; line-height: 1; overflow: hidden; white-space: nowrap;
  cursor: default; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.g-bar-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; font-weight: 600; }
.g-bar-time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; font-size: 0.63rem; font-weight: 500; opacity: 0.85; }
.g-task { background: rgba(124,77,255,0.20); border-color: #9f7bff; }
.g-gcal { background: rgba(92,107,192,0.28); border-color: #7986cb; }
.gantt-nowline {
  position: absolute; top: 1.55rem; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--leo-gold), rgba(255,213,79,0));
  pointer-events: none; z-index: 3;
}
.gantt-nowline span {
  position: absolute; top: 0.2rem; left: 4px;
  font-size: 0.62rem; color: var(--leo-gold); font-weight: 700; white-space: nowrap;
  background: rgba(26,16,46,0.85); border-radius: 0.4rem; padding: 0.05rem 0.35rem;
}
.gantt-axis .g-tick:first-child { transform: none; }
.gantt-axis .g-tick:last-child { transform: translateX(-100%); }
.gantt-empty { padding: 1.4rem 0.6rem; text-align: center; color: #b9a9d9; font-size: 0.85rem; font-style: italic; }
@media (max-width: 640px) {
  .gantt-inner { min-width: 560px; }
  .g-bar { font-size: 0.66rem; padding: 0.1rem 0.35rem; }
}
/* ---- clickable event details ---- */
.g-gcal { cursor: pointer; transition: filter 0.15s ease; }
.g-gcal:hover, .gcal-detail:hover { filter: brightness(1.35); cursor: pointer; }
.month-chip.gcal-detail, .week-task-chip.gcal-detail { cursor: pointer; }
.ev-overlay {
  position: fixed; inset: 0; background: rgba(10, 6, 24, 0.72); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.ev-overlay.hidden { display: none; }
.ev-modal {
  background: linear-gradient(160deg, #241542, #1a0f2e);
  border: 1px solid rgba(159, 123, 255, 0.45); border-radius: 1rem;
  max-width: 30rem; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 1.4rem 1.5rem 1.6rem; position: relative; color: #efe9ff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}
.ev-close {
  position: absolute; top: 0.6rem; right: 0.6rem; background: none; border: none;
  color: #b9a9d9; font-size: 1rem; cursor: pointer; padding: 0.2rem 0.4rem;
}
.ev-close:hover { color: #fff; }
.ev-title { margin: 0 1.4rem 0.7rem 0; font-size: 1.15rem; line-height: 1.3; }
.ev-row { display: flex; gap: 0.5rem; padding: 0.22rem 0; font-size: 0.85rem; }
.ev-k { color: #9a8fb8; min-width: 4.6rem; flex-shrink: 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0.1rem; }
.ev-desc {
  margin-top: 0.7rem; padding: 0.6rem 0.8rem; background: rgba(159, 123, 255, 0.1);
  border-radius: 0.6rem; font-size: 0.85rem; line-height: 1.45; white-space: normal;
}
.ev-link {
  display: inline-block; margin-top: 0.9rem; color: #ffd54f; font-size: 0.82rem;
  text-decoration: underline;
}
.ev-loading { color: #b9a9d9; font-size: 0.88rem; font-style: italic; }
@media (max-width: 640px) {
  .ev-modal { padding: 1.1rem 1rem 1.3rem; max-height: 85vh; }
}
/* --- journal entry popup --- */
.jrn-text {
  margin-top: 0.8rem; padding: 0.7rem 0.9rem; background: rgba(159, 123, 255, 0.1);
  border-radius: 0.6rem; font-size: 0.88rem; line-height: 1.5; white-space: pre-wrap;
}
.jrn-edit { margin-top: 0.9rem; }

.ev-note {
  margin-top: 0.9rem; padding: 0.6rem 0.8rem; background: rgba(255, 213, 79, 0.1);
  border: 1px solid rgba(255, 213, 79, 0.3); border-radius: 0.6rem;
  font-size: 0.8rem; line-height: 1.4; color: #ffe9a8;
}
.ev-reconnect {
  background: rgba(255, 213, 79, 0.18); border: 1px solid rgba(255, 213, 79, 0.5);
  color: #ffd54f; border-radius: 0.5rem; padding: 0.15rem 0.55rem; font-size: 0.78rem;
  cursor: pointer; margin: 0 0.15rem;
}
.ev-reconnect:hover { background: rgba(255, 213, 79, 0.3); }
/* ---- calendar-event categories ---- */
.cal-events-list { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cal-events-list .hour-chip { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.cal-events-list .hour-chip small { font-size: 0.64rem; opacity: 0.75; }
.ev-cat-select {
  background: rgba(159, 123, 255, 0.15); color: #efe9ff; border: 1px solid rgba(159, 123, 255, 0.4);
  border-radius: 0.5rem; padding: 0.2rem 0.45rem; font-size: 0.8rem; cursor: pointer;
}
.ev-cat-select option { background: #241542; color: #efe9ff; }
/* ---- focus session (blocks page) ---- */
.blocks-top-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
@media (max-width: 760px) { .blocks-top-row { grid-template-columns: 1fr; } }
.focus-picker { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.6rem; }
.focus-picker select, .focus-picker input[type="text"] {
  width: 100%; background: rgba(159, 123, 255, 0.12); color: #efe9ff;
  border: 1px solid rgba(159, 123, 255, 0.35); border-radius: 0.6rem; padding: 0.45rem 0.6rem; font-size: 0.85rem;
}
.focus-task-label { font-weight: 600; font-size: 0.95rem; margin: 0.5rem 0 0.2rem; }
.focus-clock {
  font-size: 2.6rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.1;
  color: #efe9ff; font-variant-numeric: tabular-nums; margin: 0.2rem 0 0.4rem;
}
.focus-est-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; margin-bottom: 0.4rem; }
.focus-est-row input {
  width: 4.2rem; background: rgba(159, 123, 255, 0.12); color: #efe9ff;
  border: 1px solid rgba(159, 123, 255, 0.35); border-radius: 0.5rem; padding: 0.25rem 0.4rem;
}
.focus-over { color: #ff8fa3; font-weight: 600; }
.focus-bar-wrap { height: 0.45rem; background: rgba(159, 123, 255, 0.15); border-radius: 999px; overflow: hidden; margin-bottom: 0.55rem; }
.focus-bar-wrap > div { height: 100%; width: 0%; background: linear-gradient(90deg, #9d4edd, #48cae4); border-radius: 999px; transition: width 0.4s ease; }
.focus-controls { display: flex; gap: 0.45rem; margin-top: 0.2rem; }
.focus-sidebar small { display: block; margin-top: 0.5rem; opacity: 0.8; min-height: 1em; }

/* ---- Today block thumbnails ---- */
.thumb-strip { display: flex; gap: 0.55rem; overflow-x: auto; padding: 0.4rem 0.7rem 0.55rem; scrollbar-width: thin; }
.thumb-strip.hidden { display: none; }
.blk-thumb { flex: 0 0 auto; width: 148px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 11px; padding: 0.45rem 0.6rem 0.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.blk-thumb.gcal-detail { cursor: pointer; }
.blk-thumb.gcal-detail:hover { background: var(--bg-card-hover); }
.blk-now { border-color: var(--leo-gold) !important; box-shadow: 0 0 0 2px rgba(244, 184, 96, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3); }
.bt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.2rem; }
.bt-emoji { font-size: 0.95rem; line-height: 1; }
.bt-now { font-size: 0.55rem; font-weight: 800; letter-spacing: 0.06em; color: #110f1a; background: var(--leo-gold); border-radius: 6px; padding: 1px 6px; text-transform: uppercase; }
.bt-title { font-size: 0.78rem; font-weight: 600; color: var(--text-main); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.95rem; }
.bt-time { font-size: 0.66rem; color: var(--text-muted); margin-top: 0.25rem; white-space: nowrap; }
.bt-word { font-size: 0.6rem; color: var(--text-muted); margin-top: 0.1rem; }
.bt-progress { height: 3px; background: rgba(255, 255, 255, 0.18); border-radius: 2px; margin-top: 0.35rem; overflow: hidden; }
.bt-progress i { display: block; height: 100%; background: var(--leo-gold); border-radius: 2px; }

/* ---- 3-day horoscope ---- */
.horo3day { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.horo-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1rem 1.1rem; }
.horo-card.horo-today { border-color: var(--leo-gold); box-shadow: 0 0 0 1px rgba(244, 184, 96, 0.25); }
.horo-head { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--leo-gold); margin-bottom: 0.5rem; }
.horo-body { font-size: 0.88rem; line-height: 1.55; }
.horo-aspect { font-weight: 600; }
.horo-aspect.hard { color: var(--libra-rose); }
.horo-aspect.soft { color: var(--taurus-emerald); }
.horo-aspect.conj { color: var(--cosmic-purple); }
.row-form.bills-form { grid-template-columns: 2fr 1fr 1fr 1fr 2fr auto; }
@media (max-width: 680px) { .row-form.bills-form { grid-template-columns: 1fr; } }
.tab-task-list { margin-top: 0.75rem; }

/* Custom repeat day picker */
#taskCustomDays { display: none; }
.ccc-day-chip {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text, #f8f7ff);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  line-height: 1.2;
}
.ccc-day-chip:hover { border-color: var(--cosmic-purple, #9d4edd); }
.ccc-day-chip.on { background: var(--cosmic-purple, #9d4edd); border-color: var(--cosmic-purple, #9d4edd); color: #fff; }
.ccc-day-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* --- job leads from Fo --- */
.job-lead{border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:.75rem .85rem;margin-bottom:.6rem;background:rgba(157,78,221,.08)}
.job-lead .lead-title{font-weight:600;color:#f4b860;text-decoration:none;font-size:.95rem}
.job-lead .lead-title:hover{text-decoration:underline}
.job-lead .lead-sub{font-size:.8rem;opacity:.85;margin-top:.25rem}
.job-lead .lead-fit{font-size:.8rem;opacity:.72;margin-top:.3rem}
.lead-actions{display:flex;gap:.5rem;margin-top:.55rem;flex-wrap:wrap}
.lead-btn{border:none;border-radius:999px;padding:.4rem .85rem;cursor:pointer;font-weight:600;font-size:.8rem;color:#081c15}
.lead-apply{background:#52b788}
.lead-reject{background:transparent;border:1px solid rgba(229,99,111,.55);color:#e5636f}
.job-lead.reviewed{opacity:.55;padding:.45rem .85rem}
.chip{display:inline-block;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:.05rem .5rem;font-size:.72rem;margin-right:.3rem;vertical-align:middle}

/* --- site visit report --- */
.site-report-row{display:flex;gap:.75rem;padding:.45rem 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:.88rem;align-items:baseline}
.site-report-row:last-child{border-bottom:none}
.site-report-row .k{width:150px;flex:none;opacity:.65;font-size:.78rem}

.lead-btn.lead-more{background:transparent;border:1px solid rgba(157,77,221,.5);color:#c9a6f0}
.lead-btn.lead-more:hover{background:rgba(157,77,221,.15)}
.lead-details{margin-top:.55rem;padding:.6rem .75rem;border:1px solid rgba(157,77,221,.35);border-radius:10px;background:rgba(17,15,26,.55);font-size:.8rem;line-height:1.5}
.lead-details .ld-row{margin-bottom:.3rem}
.lead-details .ld-k{color:#f4b860;font-weight:600;margin-right:.4rem}
.lead-details .ld-sum{margin:.35rem 0 .45rem;opacity:.9}
.lead-details .ld-link{color:#9d4edd;font-weight:600;text-decoration:none}
.lead-details .ld-link:hover{text-decoration:underline}

/* --- today duo: compact wins tile + daily brief tile --- */
.today-duo{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.75rem}
.wins-tile{border-top:3px solid var(--leo-gold);margin-bottom:0}
.wins-tile .card-header h2{font-size:.95rem}
.wins-tile .badge-pill{font-size:.72rem}
.wins-list.compact{gap:.22rem}
.wins-list.compact .win-row{font-size:.78rem;padding:.18rem 0}
.brief-tile{border-top:3px solid var(--cosmic-purple,#9d4edd);margin-bottom:0;display:flex;flex-direction:column}
.brief-tile .card-header h2{font-size:.95rem}
.brief-meta{font-size:.75rem;opacity:.75;line-height:1.45;margin:.35rem 0 .6rem;flex:1;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.brief-open{align-self:flex-start}
.brief-modal{max-width:40rem}
.brief-body .brief-h{color:#f4b860;font-size:.9rem;margin:.9rem 0 .3rem}
.brief-body .brief-h:first-child{margin-top:0}
.brief-body .brief-p{font-size:.85rem;line-height:1.55;margin:0 0 .4rem;white-space:pre-wrap}
.brief-stamp{margin-top:1rem;font-size:.72rem;opacity:.55;text-align:right}
@media (max-width:640px){.today-duo{grid-template-columns:1fr}}

/* astro glyphs: dedicated symbol font so planets/aspects never render as boxes */
.aglyph{font-family:"Noto Sans Symbols 2","Segoe UI Symbol","Apple Symbols","Noto Sans",sans-serif;font-size:1.05em}
/* self-hosted Noto Sans Symbols 2 (math subset): astro glyphs render everywhere, no tofu */
@font-face {
  font-family: 'Noto Sans Symbols 2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosanssymbols2/v25/I_uyMoGduATTei9eI8daxVHDyfisHr71-ujgfE71.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* self-hosted Noto Sans Symbols 2 (symbols subset): astro glyphs render everywhere, no tofu */
@font-face {
  font-family: 'Noto Sans Symbols 2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosanssymbols2/v25/I_uyMoGduATTei9eI8daxVHDyfisHr71-vrgfE71.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* --- daily brief modal: calmer read, gold bullets --- */
.brief-body .brief-h{font-size:1rem;margin:1.15rem 0 .45rem;padding-bottom:.3rem;border-bottom:1px solid rgba(244,184,96,.22)}
.brief-body .brief-h:first-child{margin-top:0}
.brief-body .brief-lead{font-size:.87rem;line-height:1.6;margin:0 0 .35rem;opacity:.92}
.brief-body .brief-ul{list-style:none;margin:.25rem 0 .7rem;padding:0;display:grid;gap:.5rem}
.brief-body .brief-ul li{position:relative;padding-left:1.15rem;font-size:.87rem;line-height:1.6}
.brief-body .brief-ul li::before{content:"\2726";position:absolute;left:0;top:.05em;color:#f4b860;font-size:.72em}
.brief-body .brief-p{font-size:.87rem;line-height:1.6;margin:0 0 .4rem;white-space:pre-wrap}

/* --- Today tab: featured deep-dive natal reading (real transits) --- */
.today-horo-featured{border-top:3px solid var(--cosmic-purple,#9d4edd)}
.horo-body{font-size:.88rem;line-height:1.65;display:flex;flex-direction:column;gap:.85rem;margin-top:.85rem}
.horo-section{background:rgba(0,0,0,.22);border:1px solid var(--border-subtle);border-left:3px solid var(--cosmic-purple,#9d4edd);border-radius:2px;padding:.75rem .9rem}
.horo-section p{margin:0 0 .5rem}
.horo-section p:last-child{margin-bottom:0}
.horo-section-title{font-family:'Space Grotesk',sans-serif;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--leo-gold,#f4b860);margin-bottom:.4rem;display:block}
.horo-section.leo-sec{border-left-color:var(--leo-gold,#f4b860)}
.horo-section.libra-sec{border-left-color:var(--libra-rose,#e5989b)}
.horo-section.taurus-sec{border-left-color:var(--taurus-emerald,#52b788)}
.horo-power-box{background:rgba(244,184,96,.10);border:1px solid rgba(244,184,96,.5);border-left:3px solid var(--leo-gold,#f4b860);border-radius:2px;padding:.7rem .9rem;font-size:.85rem;line-height:1.55;margin-top:.4rem}
.horo-power-label{font-family:'Space Grotesk',sans-serif;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--leo-gold,#f4b860);display:block}
.horo-power-move{font-size:1.02rem;font-weight:700;margin:.25rem 0 .35rem}
.horo-power-meta{font-size:.78rem;color:var(--text-muted,#b8a9d9);border-top:1px solid var(--border-subtle);padding-top:.4rem}

.horo-body.hidden{display:none !important}

/* layman gloss + sky legend (specifics first, plain terms under) */
.horo-plain { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.astro-legend { margin-top: 0.7rem; font-size: 0.74rem; color: var(--text-muted); line-height: 1.55; }

/* bill chips on the month grid */
.month-chip.bill { background: rgba(244, 184, 96, 0.14); border: 1px solid rgba(244, 184, 96, 0.45); font-weight: 600; }

/* layman-first astrology: tech details demoted, section summary emphasized */
.astro-tech { display: block; font-size: 0.72rem; opacity: 0.62; margin-top: 2px; }
.astro-summary { display: block; font-weight: 600; margin-bottom: 5px; }

/* --- task roulette --- */
.roulette-out {
  margin-top: 0.4rem; font-size: 1.15rem; font-weight: 700; color: var(--leo-gold, #f4b860);
  min-height: 1.6rem; line-height: 1.35;
}
.roulette-done { margin-top: 0.5rem; }
.roulette-card .mini-btn:disabled { opacity: 0.55; cursor: wait; }

/* --- bill pay links --- */
.bill-pay {
  padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  color: #0d2818; background: #52b788; text-decoration: none; line-height: 1.5; white-space: nowrap;
}
.bill-pay:hover { background: #6fce9f; }
.line-item.paid .bill-pay { opacity: 0.45; }

/* --- cloud vault card --- */
.vault-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.vault-status { font-size: 0.85rem; opacity: 0.85; }
.vault-card .helper-text { margin-bottom: 0.6rem; }
