/* Psychology-first journeys use Aira's existing palette, not a new theme. */
.compass-panel { max-width: 760px; margin: 0 auto; }
.compass-panel h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 12px 0; }
.compass-panel h2 { font-size: 1.25rem; margin: 24px 0 12px; }
.compass-muted { color: var(--muted, #536c64); font-size: .9rem; line-height: 1.5; }
.compass-grid { display: grid; gap: 12px; }
.compass-card { display: flex; align-items: center; gap: 14px; padding: 18px; width: 100%; border: 1px solid #24463824; border-radius: 22px; background: #fff8e7; color: #244638; text-align: left; text-decoration: none; font: inherit; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease; }
.compass-card > span:first-child { font-size: 1.4rem; }
.compass-card > span:nth-child(2) { flex: 1; min-width: 0; }
.compass-card strong, .compass-card small { display: block; overflow-wrap: anywhere; }
.compass-card small { margin-top: 4px; font-size: .82rem; color: #536c64; }
.app-insight-widget-copy > strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.compass-card:active { transform: scale(.99); }
.compass-card:focus-visible, .compass-dialog button:focus-visible { outline: 3px solid #244638; outline-offset: 3px; }
.compass-dialog { border: 0; border-radius: 28px; padding: 0; width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 32px); color: #244638; background: #fff8e7; box-shadow: 0 24px 90px #17372f40; }
.compass-dialog::backdrop { background: #17372f66; backdrop-filter: blur(5px); }
.compass-dialog header { position: sticky; top: 0; z-index: 1; background: #fff8e7; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #24463818; }
.compass-dialog header p { margin: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.compass-dialog button { cursor: pointer; font: inherit; }
.compass-close { border: 0; border-radius: 50%; min-width: 44px; min-height: 44px; color: #244638; background: #e4efea; }
.compass-body { padding: 16px 24px 24px; }
.compass-body h2 { font-size: 1.65rem; line-height: 1.2; margin: 0 0 10px; }
.compass-body label { display: grid; gap: 8px; font-weight: 600; margin: 18px 0; }
.compass-body input, .compass-body textarea, .compass-body select { font: inherit; font-size: 16px; width: 100%; padding: 13px; border: 1px solid #24463845; border-radius: 14px; color: #244638; background: #fffdf5; box-sizing: border-box; }
.compass-body textarea { min-height: 108px; resize: vertical; }
.compass-body textarea.compass-summary { min-height: 240px; }
.compass-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.compass-actions button, .compass-actions a, .compass-panel > button { border: 1px solid #24463840; border-radius: 18px; padding: 12px 16px; min-height: 44px; background: #e4efea; color: #244638; font: inherit; text-decoration: none; }
.compass-actions .compass-primary { background: #244638; color: #fff8e7; }
.compass-dialog button:disabled { opacity: .55; cursor: wait; }
.compass-detail { padding: 12px 16px; margin: 12px 0; border-radius: 16px; background: #e4efea; overflow-wrap: anywhere; }
.compass-detail dt { font-size: .8rem; color: #536c64; margin-bottom: 6px; }
.compass-detail dd { margin: 0; white-space: pre-wrap; }
.compass-status { min-height: 1.4em; font-size: .88rem; }
.compass-check { display: flex !important; gap: 10px; align-items: center; font-weight: 400 !important; }
.compass-check input { width: 22px; min-height: 22px; }
.compass-undo { display: flex; gap: 12px; align-items: center; padding: 12px; margin: 12px 0; border-radius: 16px; background: #fff8e7; }
.compass-undo button { min-height: 44px; border: 0; border-radius: 12px; color: #244638; background: #e4efea; padding: 8px 16px; }
.compass-undo[hidden] { display: none; }
body:has(.compass-dialog[open]) { overflow: hidden; }
body:has(.compass-dialog[open]) .aira-unified-launcher { visibility: hidden; }
@media (max-width: 700px) {
  .app-welcome { padding: 18px !important; min-height: auto !important; margin-bottom: 12px !important; }
  .app-welcome h1 { font-size: 1.65rem !important; line-height: 1.15 !important; margin: 6px 0 !important; }
  .app-welcome #app-welcome-copy { display: none; }
  .app-welcome .eyebrow { font-size: .7rem; margin: 0; }
  .app-preview-notice { font-size: .75rem !important; padding: 10px 12px !important; margin-bottom: 12px !important; }
  .app-immediate-support { padding: 8px 12px !important; margin-bottom: 16px !important; flex-direction: row !important; align-items: center !important; }
  .compass-dialog { margin: auto auto 0; width: 100%; max-width: 540px; max-height: calc(100dvh - 16px); border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .compass-body { padding: 16px 20px 24px; }
  .app-activity-dialog-icon { display: none; }
  .app-activity-dialog-body h2 { font-size: 1.6rem; }
  .app-activity-featured .app-activity-card { min-height: 150px; }
  .app-activity-featured .app-activity-open { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; min-height: 150px; padding: 20px 54px 16px 18px; }
  .app-activity-featured .app-activity-card-icon { width: 40px; height: 40px; font-size: 22px; }
  .app-activity-featured .app-activity-card-copy { margin-top: 0; }
  .app-activity-featured .app-activity-card-copy strong { font-size: 22px; line-height: 1.2; }
  .app-activity-featured .app-activity-card-hint { grid-column: 2; padding-top: 0; }
  .app-activity-secondary .app-activity-open { min-height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .compass-card, .compass-dialog, .app-experiment-choices button { transition: none !important; animation: none !important; transform: none !important; }
}
