/* ============================================================
   Aminora Anxiety Companion — Visual System
   Palette: Deep purple-black night, lavender accents
   Typography: Cormorant Garamond · Cinzel · Crimson Text
   ============================================================ */

/* ---- Base reset ---- */
*, *::before, *::after { box-sizing: border-box; }

/* ---- Animations ---- */
@keyframes tw {
  0%, 100% { opacity: 0.06; }
  50%       { opacity: 0.5; }
}

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes orb {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(14px, -10px); }
}

@keyframes shimmer {
  from { opacity: 0.4; }
  to   { opacity: 0.9; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ---- Root layout ---- */
.anxiety-root {
  min-height: 100vh;
  background: #050714;
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  position: relative;
  overflow-x: hidden;
  color: rgba(226, 217, 243, 0.82);
  -webkit-font-smoothing: antialiased;
}

/* ---- Orbs (hidden — background matches main site) ---- */
.anxiety-orb1 {
  display: none;
}

.anxiety-orb2 {
  display: none;
}

/* ---- Stars layer ---- */
.anxiety-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.anxiety-star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: tw var(--d) var(--dl) ease-in-out infinite;
}

/* ---- Main content wrap ---- */
.anxiety-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 0 88px;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.anxiety-header {
  padding: 32px 22px 22px;
}

.anxiety-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.anxiety-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.26);
  margin-bottom: 5px;
}

.anxiety-title {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
  color: rgba(226, 217, 243, 0.82);
  line-height: 1.15;
  margin: 0;
}

.anxiety-subtitle {
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 13.5px;
  font-style: italic;
  color: rgba(167, 139, 250, 0.38);
  margin-top: 4px;
  line-height: 1.5;
}

.anxiety-date-block {
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
}

.anxiety-date-day {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: rgba(167, 139, 250, 0.22);
}

.anxiety-date-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(167, 139, 250, 0.32);
  margin-top: 1px;
}

/* ---- Summary strip ---- */
.anxiety-summary-strip {
  margin-top: 16px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: 7px;
  display: flex;
  animation: fadeUp 0.5s ease;
}

.anxiety-summary-stat {
  flex: 1;
  text-align: center;
  padding: 2px 0;
  border-right: 1px solid rgba(167, 139, 250, 0.07);
}

.anxiety-summary-stat:last-child {
  border-right: none;
}

.anxiety-summary-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
}

.anxiety-summary-label {
  font-family: 'Cinzel', serif;
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.26);
  margin-top: 1px;
}

/* ---- Content area ---- */
.anxiety-content {
  padding: 0 22px;
}

/* ---- Section header ---- */
.anxiety-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.anxiety-section-label {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.26);
}

/* ---- Buttons ---- */
.anxiety-btn {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.5), rgba(79, 70, 229, 0.42));
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 5px;
  padding: 10px 20px;
  color: #e9d5ff;
  font-family: 'Cinzel', serif;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  width: 100%;
}

.anxiety-btn:hover {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.72), rgba(79, 70, 229, 0.62));
  border-color: rgba(167, 139, 250, 0.48);
}

.anxiety-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.anxiety-btn-ghost {
  background: none;
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 5px;
  padding: 9px 16px;
  color: rgba(167, 139, 250, 0.42);
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.anxiety-btn-ghost:hover {
  border-color: rgba(167, 139, 250, 0.3);
  color: rgba(167, 139, 250, 0.68);
}

.anxiety-btn-soft {
  width: 100%;
  padding: 10px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 5px;
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.6);
  cursor: pointer;
  transition: all 0.2s;
}

.anxiety-btn-soft:hover {
  background: rgba(167, 139, 250, 0.11);
  border-color: rgba(167, 139, 250, 0.32);
}

/* ---- Bottom nav ---- */
.anxiety-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5, 4, 16, 0.98), rgba(5, 4, 16, 0.9));
  border-top: 1px solid rgba(167, 139, 250, 0.07);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 8px 20px 16px;
  z-index: 10;
}

.anxiety-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 8px 18px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.anxiety-nav-btn.active {
  background: rgba(167, 139, 250, 0.1);
}

.anxiety-nav-btn:hover {
  background: rgba(167, 139, 250, 0.07);
}

.anxiety-nav-icon {
  font-size: 13px;
  color: rgba(167, 139, 250, 0.3);
  transition: color 0.2s;
}

.anxiety-nav-btn.active .anxiety-nav-icon {
  color: rgba(192, 132, 252, 0.75);
}

.anxiety-nav-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.26);
  transition: color 0.2s;
}

.anxiety-nav-btn.active .anxiety-nav-label {
  color: rgba(192, 132, 252, 0.62);
}

/* ---- Form inputs ---- */
.anxiety-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 5px;
  padding: 11px 14px;
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 15px;
  color: rgba(226, 217, 243, 0.82);
  outline: none;
  line-height: 1.6;
  caret-color: #c084fc;
  transition: border-color 0.2s;
}

.anxiety-input:focus {
  border-color: rgba(167, 139, 250, 0.32);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.05);
}

.anxiety-input-label {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.32);
  display: block;
  margin-bottom: 8px;
}

textarea.anxiety-input {
  resize: none;
}

input[type="date"].anxiety-input,
input[type="time"].anxiety-input {
  color-scheme: dark;
}

/* ---- Form helpers ---- */
.anxiety-helper-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  font-style: italic;
  color: rgba(167, 139, 250, 0.35);
  line-height: 1.7;
}

/* ---- Step wizard ---- */
.anxiety-steps {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 26px;
}

.anxiety-step-dot {
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.08);
  width: 6px;
}

.anxiety-step-dot.active {
  background: rgba(192, 132, 252, 0.6);
  width: 22px;
}

.anxiety-step-dot.done {
  background: rgba(192, 132, 252, 0.35);
}

.anxiety-step-counter {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: rgba(167, 139, 250, 0.28);
  margin-left: 4px;
}

/* ---- Intensity slider/picker ---- */
.anxiety-intensity-wrap {
  margin-bottom: 16px;
}

.anxiety-intensity-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.anxiety-intensity-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
}

.anxiety-intensity-val-denom {
  font-size: 11px;
  color: rgba(167, 139, 250, 0.3);
}

.anxiety-intensity-blocks {
  display: flex;
  gap: 4px;
}

.anxiety-intensity-block {
  flex: 1;
  height: 30px;
  border-radius: 3px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anxiety-intensity-block:hover {
  background: rgba(167, 139, 250, 0.07);
}

.anxiety-intensity-block.on {
  border-color: transparent;
}

.anxiety-intensity-block-num {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  color: rgba(167, 139, 250, 0.2);
  transition: color 0.15s;
}

.anxiety-intensity-block.on .anxiety-intensity-block-num {
  color: rgba(255, 255, 255, 0.7);
}

/* Inline intensity bar (read-only display) */
.anxiety-intensity-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.anxiety-intensity-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.anxiety-intensity-bar-fill {
  height: 100%;
  border-radius: 2px;
}

.anxiety-intensity-bar-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 300;
  min-width: 30px;
}

/* ---- Symptom picker ---- */
.anxiety-symptoms-wrap {
  margin-bottom: 16px;
}

.anxiety-symptoms-group-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.22);
  margin: 12px 0 6px;
}

.anxiety-symptoms-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.anxiety-symptom-pill {
  cursor: pointer;
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
}

.anxiety-symptom-pill:hover {
  background: rgba(167, 139, 250, 0.06);
  border-color: rgba(167, 139, 250, 0.18);
}

.anxiety-symptom-pill.selected {
  background: rgba(167, 139, 250, 0.09);
  border-color: rgba(192, 132, 252, 0.38);
}

.anxiety-symptom-icon {
  font-size: 10px;
  color: rgba(167, 139, 250, 0.25);
  transition: color 0.18s;
}

.anxiety-symptom-pill.selected .anxiety-symptom-icon {
  color: rgba(192, 132, 252, 0.75);
}

.anxiety-symptom-label {
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 12.5px;
  color: rgba(167, 139, 250, 0.38);
  transition: color 0.18s;
}

.anxiety-symptom-pill.selected .anxiety-symptom-label {
  color: rgba(226, 217, 243, 0.78);
}

/* None of these pill */
.anxiety-symptom-pill.none-pill {
  border-style: dashed;
}

/* ---- Log card ---- */
.anxiety-log-card {
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(167, 139, 250, 0.11);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.anxiety-log-card.awaiting {
  border-color: rgba(192, 132, 252, 0.17);
}

.anxiety-log-card-header {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.anxiety-log-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  background: rgba(154, 184, 160, 0.5);
  box-shadow: 0 0 8px rgba(154, 184, 160, 0.3);
}

.anxiety-log-card.awaiting .anxiety-log-card-dot {
  background: rgba(192, 132, 252, 0.6);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.35);
}

.anxiety-log-card-body {
  flex: 1;
  min-width: 0;
}

.anxiety-log-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.anxiety-log-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(226, 217, 243, 0.82);
  line-height: 1.3;
}

.anxiety-log-card-age {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.28);
  flex-shrink: 0;
  margin-top: 2px;
}

.anxiety-log-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.09em;
  color: rgba(167, 139, 250, 0.32);
}

.anxiety-log-card-intensity-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.anxiety-intensity-mini {
  display: flex;
  align-items: center;
  gap: 5px;
}

.anxiety-intensity-mini-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(167, 139, 250, 0.28);
}

.anxiety-intensity-mini-bar {
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.anxiety-intensity-mini-fill {
  height: 100%;
}

.anxiety-intensity-mini-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: rgba(167, 139, 250, 0.38);
}

.anxiety-awaiting-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.32);
}

.anxiety-log-card-chevron {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  color: rgba(167, 139, 250, 0.22);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.anxiety-log-card-chevron.open {
  transform: rotate(180deg);
}

/* Expanded card content */
.anxiety-log-card-expanded {
  border-top: 1px solid rgba(167, 139, 250, 0.07);
  padding: 16px;
  animation: fadeDown 0.3s ease;
}

/* ---- Upcoming card ---- */
.anxiety-upcoming-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(192, 132, 252, 0.17);
  border-radius: 8px;
}

.anxiety-upcoming-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 7px;
}

.anxiety-upcoming-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(226, 217, 243, 0.8);
  line-height: 1.3;
}

.anxiety-countdown {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.5);
  flex-shrink: 0;
  margin-left: 12px;
}

.anxiety-event-datetime {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.09em;
  color: rgba(167, 139, 250, 0.28);
  margin-bottom: 10px;
}

/* ---- Awaiting card ---- */
.anxiety-awaiting-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-left: 3px solid rgba(192, 132, 252, 0.35);
  border-radius: 8px;
}

.anxiety-awaiting-prompt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(226, 217, 243, 0.7);
  line-height: 1.6;
  margin-bottom: 12px;
}

.anxiety-awaiting-event {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.35);
  margin-bottom: 6px;
}

.anxiety-awaiting-days-ago {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(167, 139, 250, 0.28);
  margin-bottom: 14px;
}

/* ---- Aminora AI response block ---- */
.anxiety-aminora-block {
  margin-top: 14px;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(88, 28, 220, 0.07), rgba(167, 139, 250, 0.04));
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 6px;
}

.anxiety-aminora-header {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.35);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.anxiety-aminora-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.75;
  color: rgba(226, 217, 243, 0.6);
  margin: 0;
}

.anxiety-aminora-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: rgba(167, 139, 250, 0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ---- Before / After comparison ---- */
.anxiety-ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.anxiety-ba-side {
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: 6px;
}

.anxiety-ba-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.3);
  margin-bottom: 8px;
}

.anxiety-ba-intensity-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}

.anxiety-ba-feelings {
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(226, 217, 243, 0.5);
  line-height: 1.7;
  margin: 8px 0 0;
}

.anxiety-ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: rgba(167, 139, 250, 0.3);
  padding-top: 24px;
}

.anxiety-ba-delta {
  text-align: center;
  margin-top: 16px;
  padding: 10px 16px;
  background: rgba(154, 184, 160, 0.05);
  border: 1px solid rgba(154, 184, 160, 0.15);
  border-radius: 6px;
}

.anxiety-ba-delta.higher {
  background: rgba(194, 112, 112, 0.05);
  border-color: rgba(194, 112, 112, 0.15);
}

.anxiety-ba-delta-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: rgba(154, 184, 160, 0.8);
  margin-bottom: 4px;
}

.anxiety-ba-delta.higher .anxiety-ba-delta-num {
  color: rgba(194, 112, 112, 0.8);
}

.anxiety-ba-delta-text {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.28);
}

/* ---- Patterns view ---- */
.anxiety-patterns-bar-wrap {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: 8px;
}

.anxiety-patterns-bar-row {
  margin-bottom: 12px;
}

.anxiety-patterns-bar-row:last-child {
  margin-bottom: 0;
}

.anxiety-patterns-bar-name {
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 12.5px;
  color: rgba(226, 217, 243, 0.52);
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.anxiety-patterns-bar-delta {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  color: rgba(154, 184, 160, 0.7);
}

.anxiety-patterns-track {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
}

.anxiety-patterns-track-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  color: rgba(167, 139, 250, 0.25);
  width: 28px;
}

.anxiety-patterns-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.anxiety-patterns-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.anxiety-patterns-bar-fill.before { background: rgba(194, 112, 112, 0.5); }
.anxiety-patterns-bar-fill.after  { background: rgba(154, 184, 160, 0.5); }

.anxiety-patterns-bar-num {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  width: 16px;
  text-align: right;
}

/* Insight cards */
.anxiety-insight-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: 7px;
  border-left: 2px solid rgba(167, 139, 250, 0.3);
  margin-bottom: 10px;
}

.anxiety-insight-inner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.anxiety-insight-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.anxiety-insight-title {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.32);
  margin-bottom: 6px;
}

.anxiety-insight-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.72;
  color: rgba(226, 217, 243, 0.56);
  margin: 0;
}

/* Locked state */
.anxiety-patterns-locked {
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.07);
  border-radius: 8px;
}

.anxiety-patterns-locked-icon {
  font-size: 24px;
  color: rgba(167, 139, 250, 0.18);
  margin-bottom: 12px;
}

.anxiety-patterns-locked-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(167, 139, 250, 0.36);
  line-height: 1.72;
}

/* ---- Safety banner ---- */
.anxiety-safety-banner {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(194, 112, 112, 0.05);
  border: 1px solid rgba(194, 112, 112, 0.2);
  border-radius: 7px;
  animation: fadeUp 0.4s ease;
}

.anxiety-safety-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  font-style: italic;
  color: rgba(226, 217, 243, 0.65);
  line-height: 1.7;
  margin-bottom: 10px;
}

.anxiety-safety-link {
  font-family: 'Cinzel', serif;
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.2);
  padding-bottom: 1px;
}

/* ---- Empty states ---- */
.anxiety-empty {
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.07);
  border-radius: 8px;
}

.anxiety-empty-icon {
  font-size: 24px;
  color: rgba(167, 139, 250, 0.18);
  margin-bottom: 12px;
}

.anxiety-empty-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(167, 139, 250, 0.36);
  line-height: 1.72;
}

/* ---- Loading skeleton ---- */
.anxiety-skeleton {
  background: rgba(167, 139, 250, 0.06);
  border-radius: 4px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ---- Stacks of cards ---- */
.anxiety-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---- Misc detail view ---- */
.anxiety-detail-before-quote {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 139, 250, 0.08);
  border-radius: 6px;
  margin-bottom: 20px;
}

.anxiety-detail-before-label {
  font-family: 'Cinzel', serif;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.26);
  margin-bottom: 6px;
}

.anxiety-detail-before-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(226, 217, 243, 0.4);
  line-height: 1.7;
  margin: 0;
}

/* ---- Symptoms display (read-only) ---- */
.anxiety-symptoms-display {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}

.anxiety-symptom-chip {
  font-family: 'Cormorant Garamond', 'Crimson Text', serif;
  font-size: 12px;
  padding: 3px 9px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.11);
  border-radius: 3px;
  color: rgba(226, 217, 243, 0.52);
}

/* ---- View animations ---- */
.anxiety-view {
  animation: fadeUp 0.32s ease;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: rgba(167, 139, 250, 0.15); }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .anxiety-wrap { padding: 0 0 80px; }
  .anxiety-header { padding: 24px 16px 16px; }
  .anxiety-content { padding: 0 16px; }
  .anxiety-title { font-size: 22px; }
  .anxiety-ba-wrap { grid-template-columns: 1fr; }
}
