:root {
  --bg: #f4f6f4;
  --card: #ffffff;
  --text: #111111;
  --muted: #5a5a5a;
  --orange: #ffac2a;
  --green: #7bbf9b;
  --blue: #7fb8d9;
  --purple: #8b6fb2;
  --gold: #e7ba57;
  --border: rgba(0, 0, 0, 0.12);
  --soft-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  --radius: 18px;
  --radius-small: 12px;
  --max-width: 560px;
  --bottom-nav-height: 74px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: url("/assets/images/bg.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: 1400px auto;
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-header { display: flex; justify-content: center; padding: 8px 16px 2px; }
.logo { width: 142px; height: auto; display: block; }

.app-main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px 16px calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

.page { animation: softIn 150ms ease-out; }
@keyframes softIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.eyebrow {
  margin: 6px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 10px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead-text, .body-text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.help-text { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

.section-block {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title {
  margin: 0 0 10px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.2;
}
.message-board, .booking-card, .install-card { background: rgba(255, 255, 255, 0.88); }
.quick-actions, .button-stack { display: grid; grid-template-columns: 1fr; gap: 12px; }

.btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.primary-btn, .mini-btn { background: var(--orange); color: #111; }
.secondary-btn { background: #fff; color: #111; border: 1px solid var(--border); }
.btn:active, .module-card:active, .bottom-nav-btn:active { transform: translateY(1px); }

.search-filter-block { margin: 16px 0; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.search-box .icon { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--text); }

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 2px;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.filter-chip.is-active { border-color: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.13); }
.filter-chip.tag-suggested { background: rgba(126, 158, 192, 0.20); }
.filter-chip.tag-open { background: rgba(123, 191, 155, 0.20); }
.filter-chip.tag-aware, .filter-chip.tag-awareness { background: rgba(127, 184, 217, 0.22); }
.filter-chip.tag-engaged { background: rgba(175, 145, 205, 0.22); }
.filter-chip.tag-values { background: rgba(154, 188, 132, 0.22); }
.filter-chip.tag-anxiety { background: rgba(132, 171, 201, 0.22); }
.filter-chip.tag-grounding { background: rgba(147, 190, 174, 0.22); }
.filter-chip.tag-couples, .filter-chip.tag-relationships { background: rgba(179, 150, 190, 0.20); }
.filter-chip.tag-workplace { background: rgba(191, 178, 126, 0.22); }
.filter-chip.tag-thoughts { background: rgba(145, 160, 204, 0.20); }
.filter-chip.tag-feelings { background: rgba(198, 145, 165, 0.20); }
.filter-chip.tag-attention { background: rgba(121, 176, 186, 0.20); }
.filter-chip.tag-pdf { background: rgba(150, 150, 166, 0.20); }
.filter-chip.tag-learn { background: rgba(139, 180, 154, 0.20); }

.module-list { display: flex; flex-direction: column; gap: 0; }
.compact-list { margin-top: 2px; }
.module-card {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--soft-border);
  color: var(--text);
  text-align: left;
}
.module-list .module-card:last-child { border-bottom: 0; }
.module-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f4f6f4;
  color: #111;
}
.module-card-icon .icon { width: 25px; height: 25px; }
.type-audio { background: rgba(127, 184, 217, 0.24); color: #111; }
.type-tool { background: rgba(123, 191, 155, 0.24); color: #111; }
.type-learn { background: rgba(154, 188, 132, 0.24); color: #111; }
.type-pdf { background: rgba(139, 111, 178, 0.20); color: #111; }
.type-video { background: rgba(191, 178, 126, 0.24); color: #111; }
.type-link { background: rgba(126, 158, 192, 0.22); color: #111; }
.module-card-body { min-width: 0; display: block; }
.module-card-title { display: block; font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.2; }
.module-card-description { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.module-meta-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.type-badge { padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px; color: #111; background: #fff; }
.module-card-arrow { color: var(--muted); display: flex; justify-content: flex-end; }
.module-card-arrow .icon { width: 18px; height: 18px; }

.module-page .back-link {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}
.module-content { padding: 0; background: transparent; border: 0; border-radius: 0; }
.module-content-plain { padding-bottom: 16px; }
.module-heading-block { margin-bottom: 8px; }
.audio-player-shell { margin: 12px 0 8px; padding: 14px; border-radius: 18px; background: rgba(255, 172, 42, 0.55); }
.audio-player { width: 100%; display: block; }
.field-label { display: block; margin: 14px 0 6px; font-weight: 700; font-family: "Poppins", system-ui, sans-serif; }
.text-area {
  width: 100%;
  min-height: 94px;
  resize: vertical;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
.result-area, .note-panel {
  margin-top: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--soft-border);
  border-radius: 14px;
}
.result-area h2 { margin: 0 0 8px; font-family: "Poppins", system-ui, sans-serif; font-size: 18px; }
.empty-state { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); }
.module-subtitle {
  margin: 20px 0 8px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
}
.content-list {
  margin: 0 0 16px 20px;
  padding: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
.content-list li { margin: 6px 0; }
.admin-warning { display: none; }


.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--max-width));
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.bottom-nav-btn {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #222;
}
.bottom-nav-btn .icon { width: 25px; height: 25px; }
.bottom-nav-btn.is-active { background: rgba(255, 172, 42, 0.23); }

.drawer-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.drawer-layer.is-open { pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,0); transition: background 160ms ease; }
.drawer-layer.is-open .drawer-backdrop { background: rgba(0, 0, 0, 0.26); }
.drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: min(84vw, 340px);
  height: 100%;
  padding: max(14px, env(safe-area-inset-top, 0px)) 14px 20px;
  background: #fff;
  border-right: 1px solid var(--border);
  transform: translateX(-102%);
  transition: transform 180ms ease;
  box-shadow: var(--shadow);
}
.drawer-layer.is-open .drawer { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 14px; }
.drawer-logo { width: 56px; height: auto; display: block; margin: 0; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: #111; }
.icon-btn .icon { width: 22px; height: 22px; }
.drawer-list { display: flex; flex-direction: column; gap: 8px; }
.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #111;
  font-weight: 700;
  text-align: left;
}
.drawer-item .icon { width: 22px; height: 22px; }
.drawer-item.is-active { border-color: rgba(255, 172, 42, 0.55); background: rgba(255, 172, 42, 0.14); }

.update-banner {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  transform: translateX(-50%);
  width: min(calc(100% - 28px), calc(var(--max-width) - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 30;
  font-weight: 700;
}

.auth-shell { justify-content: center; }
.auth-main { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 28px 16px; }
.auth-logo { margin: 0 auto 18px; }
.auth-card { margin-top: 0; }
.text-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 16px;
}
.code-panel { margin-top: 14px; padding-top: 2px; display: grid; gap: 10px; }
.notice-panel { margin: 12px 0; padding: 12px; border-radius: 14px; font-weight: 700; line-height: 1.35; }
.success-panel { background: rgba(123, 191, 155, 0.20); border: 1px solid rgba(123, 191, 155, 0.38); }
.error-panel { background: rgba(198, 145, 145, 0.20); border: 1px solid rgba(198, 145, 145, 0.40); }
.simple-list { display: grid; gap: 10px; }
.simple-list-row { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--soft-border); }
.simple-list-row:last-child { border-bottom: 0; }
.simple-list-row span { color: var(--muted); font-size: 13px; }
.inline-empty { margin: 4px 0 0; color: var(--muted); }

.mini-btn { width: auto; min-height: 38px; padding: 8px 14px; font-size: 13px; }
.icon { display: block; }

@media (min-width: 520px) {
  .quick-actions { grid-template-columns: 1fr 1fr; }
}

/* v0.1.3 auth/dev and Choice Point refinements */
.login-email-input { margin-bottom: 12px; }
.dev-access-panel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--soft-border);
}
.dev-access-panel summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--muted);
}
.dev-access-panel .btn { margin-top: 12px; }
.module-hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0 14px;
  border-radius: 16px;
}
.step-bubbles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 18px;
}
.step-bubble {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
}
.step-bubble.is-active { background: var(--orange); border-color: var(--orange); }
.choice-step-mount .module-subtitle { margin-top: 8px; }
.muted-text { color: var(--muted); }
.button-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
.choice-nav-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.summary-box {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--soft-border);
  background: rgba(255, 255, 255, 0.78);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.choice-diagram {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.choice-arrow, .choice-centre {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--soft-border);
}
.choice-arrow strong, .choice-centre strong {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
}
.choice-arrow span, .choice-centre span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.choice-away { border-left: 5px solid #d66a6a; }
.choice-towards { border-left: 5px solid #7bbf9b; }
.choice-centre { border-left: 5px solid #7fb8d9; }
.reset-tool-btn { margin-top: 10px; }

/* v0.1.4 UI refinements */
.filter-chip.tag-all { background: #ffffff; }
.filter-chip.tag-suggested { background: rgba(92, 127, 186, 0.22); }
.filter-chip.tag-open { background: rgba(58, 166, 120, 0.22); }
.filter-chip.tag-aware, .filter-chip.tag-awareness { background: rgba(72, 157, 207, 0.24); }
.filter-chip.tag-engaged { background: rgba(144, 93, 202, 0.24); }
.filter-chip.tag-values { background: rgba(103, 171, 89, 0.24); }
.filter-chip.tag-anxiety { background: rgba(218, 93, 93, 0.22); }
.filter-chip.tag-grounding { background: rgba(73, 176, 160, 0.24); }
.filter-chip.tag-couples, .filter-chip.tag-relationships { background: rgba(205, 98, 168, 0.22); }
.filter-chip.tag-workplace { background: rgba(93, 116, 210, 0.22); }
.filter-chip.tag-thoughts { background: rgba(117, 111, 206, 0.22); }
.filter-chip.tag-feelings { background: rgba(223, 104, 136, 0.22); }
.filter-chip.tag-attention { background: rgba(51, 164, 188, 0.22); }
.filter-chip.tag-pdf { background: rgba(132, 92, 184, 0.22); }
.filter-chip.tag-learn { background: rgba(242, 207, 79, 0.32); }
.filter-chip.tag-video { background: rgba(219, 67, 67, 0.20); }
.filter-chip.tag-stress { background: rgba(211, 118, 64, 0.22); }
.filter-chip.tag-habits, .filter-chip.tag-urges { background: rgba(181, 118, 58, 0.22); }
.filter-chip.tag-self-sabotage { background: rgba(189, 75, 95, 0.20); }
.filter-chip.tag-self-compassion { background: rgba(219, 121, 177, 0.22); }
.filter-chip.tag-communication { background: rgba(80, 177, 132, 0.22); }
.filter-chip.tag-body { background: rgba(72, 174, 202, 0.20); }
.filter-chip.tag-choice-point { background: rgba(151, 106, 207, 0.20); }

.type-learn { background: rgba(242, 207, 79, 0.34); color: #111; }
.type-video { background: rgba(219, 67, 67, 0.18); color: #111; }
.module-card-icon.type-learn .icon { color: #8d6b00; }
.module-card-icon.type-video .icon { color: #a62b2b; }
.quick-action-tile.type-learn .icon { color: #8d6b00; }
.quick-action-tile.type-video .icon { color: #a62b2b; }

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-action-tile {
  min-height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background: #fff;
  color: #111;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
}
.quick-action-tile .icon { width: 34px; height: 34px; }
.quick-action-tile:active { transform: translateY(1px); }

.recently-unlocked-block.pulse-on-view {
  animation: tbtPulse 900ms ease-out 1;
}
@keyframes tbtPulse {
  0% { box-shadow: 0 0 0 rgba(0,0,0,0); transform: scale(1); }
  35% { box-shadow: 0 0 0 5px rgba(123, 191, 155, 0.20); transform: scale(1.01); }
  100% { box-shadow: 0 0 0 rgba(0,0,0,0); transform: scale(1); }
}

.video-thumbnail-link { display: block; margin: 10px 0 14px; }
.video-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--soft-border);
  background: #fff;
}
.update-button-stack { margin-bottom: 16px; }
.app-update-note { margin-top: 16px; }


.audio-practice-notice {
  margin: 14px 0 4px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(190, 58, 58, 0.22);
  background: rgba(190, 58, 58, 0.07);
}
.audio-practice-notice p {
  margin: 0 0 7px;
  color: var(--text);
  line-height: 1.45;
}
.audio-practice-notice p:last-child { margin-bottom: 0; }
.audio-practice-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #be3a3a;
  color: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  animation: warningPulse 3.2s ease-in-out infinite;
}
@keyframes warningPulse {
  0%, 78%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(190, 58, 58, 0); }
  86% { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(190, 58, 58, 0.12); }
  94% { transform: scale(1); box-shadow: 0 0 0 rgba(190, 58, 58, 0); }
}
.values-compass-tool .values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0;
}
.values-compass-tool .values-summary-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

/* v0.1.8 Admin v1 */
.admin-page .section-block { scroll-margin-top: 12px; }
.admin-form-grid { display: grid; gap: 12px; }
.admin-form-grid .field-label { margin: 0; }
.admin-pin-btn, .admin-refresh-btn { margin-top: 12px; }
.admin-search-box { margin: 8px 0 10px; }
.admin-user-list { display: grid; gap: 8px; margin-top: 10px; }
.admin-user-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--soft-border);
  border-radius: 15px;
  background: #fff;
  color: var(--text);
  text-align: left;
}
.admin-user-row.is-active { border-color: rgba(255, 172, 42, 0.72); background: rgba(255, 172, 42, 0.10); }
.admin-user-row span:first-child { min-width: 0; display: grid; gap: 3px; }
.admin-user-row small, .admin-access-row small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.3; }
.admin-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.admin-status.is-active { background: rgba(123, 191, 155, 0.22); }
.admin-status.is-inactive { background: rgba(190, 58, 58, 0.12); }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 38px;
  font-weight: 700;
  line-height: 1.35;
}
.check-row input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.admin-access-groups { display: grid; gap: 10px; }
.admin-access-group {
  border: 1px solid var(--soft-border);
  border-radius: 15px;
  background: rgba(255,255,255,0.72);
  padding: 10px 12px;
}
.admin-access-group summary {
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.admin-access-row {
  padding: 9px 0;
  border-top: 1px solid var(--soft-border);
}
.admin-access-row:first-of-type { border-top: 0; }
.admin-device-row .mini-admin-btn { margin-top: 8px; }
.mini-admin-btn { width: auto; min-height: 38px; padding: 8px 12px; font-size: 13px; }
@media (min-width: 520px) {
  .admin-form-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-grid .field-label:last-child { grid-column: 1 / -1; }
}


/* v0.1.13 profile, drawer, support, and audio warning refinements */
.drawer-header { padding-top: 8px; padding-bottom: 8px; }
.profile-name-input { margin-bottom: 12px; }
.profile-action-btn { margin-top: 12px; }
.danger-btn { background: #ff1f1f; color: #fff; border: 1px solid #d40000; }
.danger-btn:hover { background: #d90000; }
.help-contact-box .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.help-contact-box .icon { width: 18px; height: 18px; }
.audio-practice-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0 4px;
  padding: 14px;
  border-radius: 16px;
  background: #fff1f1;
  border: 1px solid rgba(214, 59, 59, 0.24);
}
.audio-practice-notice p { margin: 0 0 6px; }
.audio-practice-notice p:last-child { margin-bottom: 0; }
.audio-practice-icon {
  color: #e11d1d;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: warningPulse 2.8s ease-in-out infinite;
}
.audio-practice-icon .icon { width: 28px; height: 28px; }
@keyframes warningPulse {
  0%, 70%, 100% { transform: scale(1); opacity: 1; }
  82% { transform: scale(1.13); opacity: 0.82; }
}


/* v0.1.14 audio notice refinements */
.audio-practice-notice { grid-template-columns: auto 1fr; gap: 10px; padding: 11px 12px; }
.audio-practice-notice p { font-size: 0.78rem; line-height: 1.32; margin: 0 0 4px; }
.audio-practice-notice strong { font-size: 0.82rem; }
.audio-practice-icon { background: transparent !important; border-radius: 0 !important; color: #e11d1d; box-shadow: none !important; }
.audio-practice-icon .icon { width: 28px; height: 28px; }


/* v0.1.15 module button polish */
.choice-point-tool .btn, .bullseye-tool .btn, .values-card-sort-tool .btn { background: var(--orange); color: #111; border: none; }
.choice-point-tool .btn[disabled], .bullseye-tool .btn[disabled], .values-card-sort-tool .btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* v0.1.23 message board rich text */
.message-board .message-content p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}
.message-board .message-content p:last-child {
  margin-bottom: 0;
}
.message-board .message-content a {
  color: #1f5f8f;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* v1.35 tab page cards and home quick-start/progress cards */
.tab-page-card {
  box-shadow: var(--shadow);
  border-color: rgba(0, 0, 0, 0.08);
}
.home-get-started-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.home-get-started-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 1px solid var(--soft-border);
  background: #fff;
  color: var(--text);
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}
.home-get-started-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(127, 184, 217, 0.22);
  color: #111;
}
.home-get-started-icon .icon {
  width: 25px;
  height: 25px;
}
.home-get-started-card > span:last-child {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
}
.home-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-progress-tile {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--soft-border);
  background: #fff;
}
.home-progress-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-progress-tile strong {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}
.home-progress-tile span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.home-progress-tile.is-placeholder {
  background: rgba(255, 255, 255, 0.72);
}
