/* Research desk, experiments, pitch coach, founder journey and listening bar.
   Logical properties throughout, so Persian mirrors without overrides. */
.ax-page, .ax-coach, .ax-experiments, .ax-modal, .ax-journey, .ax-lens, .ax-listen {
  --ax-line: #dce3ed;
  --ax-muted: #596a80;
  --ax-accent: #3558c5;
  --ax-account: #0f6d5c;
  --ax-account-bg: #eef8f4;
  --ax-bot: #6a45b8;
  --ax-bot-bg: #f5f1fd;
  --ax-warn: #a45a06;
  --ax-warn-bg: #fff6e6;
  --ax-bad: #b23a34;
  --ax-bad-bg: #fdf0ef;
}
.ax-page { display: grid; gap: 16px; }
/* Single-column grids must not grow to their widest child (tabs, long quotes) on a phone. */
.ax-page, .ax-panel, .ax-cards, .ax-card, .ax-tensions, .ax-tension, .ax-modal, .ax-coach, .ax-findings, .ax-finding,
.ax-followup, .ax-answer, .ax-starters, .ax-account, .ax-reading, .ax-fit, .ax-test, .ax-journey-body, .ax-lens,
.ax-sides > section, .ax-experiment, .ax-recap { grid-template-columns: minmax(0, 1fr); }
#ax-research { min-width: 0; }
.ax-page .intro { margin-bottom: 0; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ax-page button, .ax-modal button, .ax-coach button { line-height: 1.3; font-family: inherit; }
.ax-page h4, .ax-modal h4, .ax-coach h4 { font-size: 13px; font-weight: 680; letter-spacing: 0; }
.ax-page dl, .ax-modal dl, .ax-coach dl, .ax-experiments dl { margin: 0; }
.ax-page dd, .ax-modal dd, .ax-experiments dd { margin: 0; }
.ax-page .lineicon, .ax-modal .lineicon, .ax-coach .lineicon, .ax-experiments .lineicon { flex: 0 0 auto; width: 16px; height: 16px; }

.ax-hint { color: var(--ax-muted, #596a80); font-size: 13px; line-height: 1.6; }
.ax-hint:empty, .ax-error:empty { display: none; }
.ax-error { color: #b23a34; font-size: 14px; }
.ax-lede { color: #47566a; font-size: 15px; line-height: 1.7; max-width: 76ch; }
.ax-note { color: var(--ax-muted); font-size: 12.5px; line-height: 1.55; }

/* The lens chip and the profile fields behind it */
.ax-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px;
  border: 1px solid #cfd9ef; border-radius: 999px; background: #f1f4fd; color: #2c4594;
  font: inherit; font-size: 13px; font-weight: 640; cursor: pointer;
}
.ax-chip:hover { background: #e6ecfb; }
.ax-chip .lineicon { width: 15px; height: 15px; }
.ax-chip-empty { background: #fff6e6; border-color: #f0d6a4; color: #8a4b03; }
.ax-formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-formrow label { display: grid; gap: 5px; min-width: 0; font-size: 14px; font-weight: 580; }
.ax-formrow select {
  width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #cfd8e6; border-radius: 9px;
  background: #fff; color: inherit; font: inherit; font-size: 15px;
}

/* Tabs */
.ax-tabs {
  display: flex; gap: 4px; padding: 4px; border: 1px solid var(--ax-line); border-radius: 12px; background: #fff;
  overflow-x: auto; scrollbar-width: none;
}
.ax-tabs::-webkit-scrollbar { display: none; }
.ax-tabs button {
  flex: 1 0 auto; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 9px; background: none;
  color: #4b5a70; font-size: 14px; font-weight: 620; white-space: nowrap; cursor: pointer;
}
.ax-tabs button:hover { background: #f3f6fc; }
.ax-tabs button.selected { background: #e9eefc; color: #23408f; }
.ax-panel { display: grid; gap: 16px; margin-top: 16px; min-width: 0; }

/* Ask box */
.ax-ask { display: flex; gap: 8px; align-items: stretch; }
.ax-askbox {
  flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 48px; padding-inline: 14px;
  border: 1px solid #cfd8e6; border-radius: 12px; background: #fff; color: #5b6b82;
}
.ax-askbox:focus-within { border-color: var(--ax-accent); box-shadow: 0 0 0 3px #3558c522; }
.ax-askbox input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink, #19243c);
  font: inherit; font-size: 16px; padding-block: 10px;
}
.ax-ask > .wb-button { min-height: 48px; padding-inline: 20px; font-size: 14px; border-radius: 12px; }
.ax-filter { min-height: 42px; }
.ax-starters h2, .ax-results-title { font-size: 15px; font-weight: 660; letter-spacing: -.1px; color: #33415a; }
.ax-starters { display: grid; gap: 10px; }
.ax-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-example {
  padding: 9px 13px; border: 1px solid var(--ax-line); border-radius: 10px; background: #fff; color: #33415a;
  font: inherit; font-size: 14px; text-align: start; cursor: pointer;
}
.ax-example:hover { border-color: #a9b9dc; background: #f6f8fe; }
.ax-topicbar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--ax-muted); font-size: 13px; }
.ax-topic {
  padding: 6px 11px; border: 1px solid var(--ax-line); border-radius: 999px; background: #fff; color: #44536b;
  font: inherit; font-size: 13px; font-weight: 580; cursor: pointer;
}
.ax-topic:hover { border-color: #a9b9dc; }
.ax-topic.selected { background: #23408f; border-color: #23408f; color: #fff; }

/* Source card */
.ax-cards { display: grid; gap: 14px; }
.ax-card {
  display: grid; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--ax-line); border-radius: 14px; background: #fff;
}
.ax-modal .ax-card { padding: 0; border: 0; }
.ax-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ax-card > header h3 { font-size: 16.5px; font-weight: 680; line-height: 1.4; letter-spacing: -.2px; }
.ax-card > header p { margin-top: 3px; color: var(--ax-muted); font-size: 13.5px; }
.ax-topics { display: flex; flex-wrap: wrap; gap: 5px; }
.ax-topics span { padding: 3px 9px; border-radius: 999px; background: #eef1f7; color: #4d5c74; font-size: 12px; font-weight: 600; }
.ax-badges, .ax-source-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--ax-line); border-radius: 7px;
  background: #fafbfd; color: #4d5c74; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.ax-badge:empty { display: none; }
.ax-badge .lineicon { width: 13px; height: 13px; }
.ax-badge-firsthand { background: var(--ax-account-bg); border-color: #bfe3d6; color: var(--ax-account); }
.ax-badge-observer { background: #eef3fd; border-color: #c9d7f5; color: #2c4594; }
.ax-badge-advice { background: var(--ax-warn-bg); border-color: #f0d6a4; color: var(--ax-warn); }
.ax-state-accepted { background: var(--ax-account-bg); border-color: #bfe3d6; color: var(--ax-account); }
.ax-state-recommended { background: #eef3fd; border-color: #c9d7f5; color: #2c4594; }
.ax-state-discovered { background: var(--ax-warn-bg); border-color: #f0d6a4; color: var(--ax-warn); }

.ax-account, .ax-reading, .ax-fit, .ax-test, .ax-context, .ax-differed {
  display: grid; gap: 9px; padding: 14px 16px; border-radius: 12px; min-width: 0;
}
.ax-account { background: var(--ax-account-bg); border-inline-start: 4px solid var(--ax-account); }
.ax-account h4 { display: flex; align-items: center; gap: 7px; color: var(--ax-account); }
.ax-account-chapter { background: #eef3fd; border-inline-start-color: #3558c5; }
.ax-account-chapter h4 { color: #2c4594; }
.ax-account dl, .ax-context dl, .ax-differed dl, .ax-test dl, .ax-experiment dl { display: grid; gap: 8px; }
.ax-account dl > div, .ax-test dl > div, .ax-experiment dl > div { display: grid; gap: 2px; }
.ax-page dt, .ax-modal dt, .ax-experiments dt {
  color: var(--ax-muted); font-size: 12px; font-weight: 680; letter-spacing: .2px;
}
.ax-account dd, .ax-account > p, .ax-reading p, .ax-fit p, .ax-test dd { font-size: 14.5px; line-height: 1.7; }
.ax-account blockquote {
  margin: 0; padding: 9px 13px; border-radius: 9px; background: #fff; color: #23324a; font-size: 14.5px; font-style: italic; line-height: 1.6;
}
.ax-account blockquote small { display: block; margin-bottom: 2px; color: var(--ax-muted); font-size: 11.5px; font-style: normal; font-weight: 640; }
.ax-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ax-play {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px; border: 0; border-radius: 999px;
  background: var(--ax-account); color: #fff; font: inherit; font-size: 13px; font-weight: 660; cursor: pointer;
}
.ax-play:hover { filter: brightness(1.08); }
.ax-play bdi { font-variant-numeric: tabular-nums; }
.ax-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: #2c4fb8;
  font: inherit; font-size: 13.5px; font-weight: 620; text-align: start; text-decoration: none; cursor: pointer;
}
.ax-link:hover span { text-decoration: underline; }
[dir=rtl] .ax-link > svg.lineicon:first-child:not([data-keep]) { transform: scaleX(-1); }
.ax-where { color: var(--ax-muted); font-size: 12.5px; }

.ax-context, .ax-differed { border: 1px dashed #cdd6e4; background: #fbfcfe; }
.ax-context dl, .ax-differed dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ax-context dd, .ax-differed dd { font-size: 13.5px; line-height: 1.6; color: #33415a; }
.ax-more > summary {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 10px; background: #f3f5fa;
  color: #33415a; font-size: 14px; font-weight: 640; cursor: pointer; list-style: none;
}
.ax-more > summary::-webkit-details-marker { display: none; }
.ax-more > summary::before { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; font-weight: 700; }
.ax-more[open] > summary::before { content: '–'; }
.ax-more[open] > summary { margin-bottom: 12px; }
.ax-more > section + section { margin-top: 12px; }
.ax-reading { background: var(--ax-bot-bg); border-inline-start: 4px solid var(--ax-bot); }
.ax-reading h4 { display: flex; align-items: center; gap: 7px; color: var(--ax-bot); }
.ax-fit { border: 1px solid var(--ax-line); background: #fff; }
.ax-fit-level { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ax-meter { display: inline-flex; gap: 3px; }
.ax-meter i { width: 16px; height: 7px; border-radius: 4px; background: #dfe5ee; }
.ax-fit-1 .ax-meter i:nth-child(-n+1) { background: #d98a1e; }
.ax-fit-2 .ax-meter i:nth-child(-n+2) { background: #5b7fe0; }
.ax-fit-3 .ax-meter i { background: #17977c; }
.ax-fit-evidence { color: #44536b; font-size: 13.5px !important; }
.ax-test { border: 1px solid #c9d7f5; background: #f4f7fe; }
.ax-test h4 { display: flex; align-items: center; gap: 7px; color: #23408f; }
.ax-twist-inline { color: #23408f; font-weight: 600; }
.ax-twist, .ax-closer {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #f1f4fd; color: #2a3c66;
  font-size: 13.5px; line-height: 1.6;
}

/* Conflicting advice */
.ax-tensions { display: grid; gap: 16px; }
.ax-tension { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--ax-line); border-radius: 14px; background: #fff; min-width: 0; }
.ax-tension > h3 { font-size: 18px; font-weight: 700; letter-spacing: -.3px; line-height: 1.35; }
.ax-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-sides > section { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 12px; background: #f6f8fb; min-width: 0; }
.ax-sides > section:first-child { border-block-start: 4px solid #3558c5; }
.ax-sides > section:last-child { border-block-start: 4px solid #d07a1a; }
.ax-sides h4 { display: grid; gap: 3px; font-size: 15px; line-height: 1.45; }
.ax-sides h4 span { color: var(--ax-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.ax-sides ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ax-sides li { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 13.5px; line-height: 1.6; }
.ax-sides li p:first-child { color: #44536b; font-size: 12.5px; }

/* Collected sources and suggestions */
.ax-collect-head, .ax-collect-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ax-collect-head { justify-content: space-between; }
.ax-collect-status { color: #44536b; font-size: 13.5px; }
.ax-conn {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 660; white-space: nowrap;
}
.ax-conn::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ax-conn-offline { background: #e9f6f1; color: #0f6d5c; }
.ax-conn-server { background: #eaf0fd; color: #2c4594; }
.ax-conn-internet { background: #fff3df; color: #8a4b03; }
.ax-counts, .ax-coach-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ax-counts > div, .ax-coach-summary > div {
  display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--ax-line); border-radius: 12px; background: #fff;
}
.ax-counts b, .ax-coach-summary b { font-size: 22px; font-weight: 700; }
.ax-counts span, .ax-coach-summary span { color: var(--ax-muted); font-size: 12.5px; font-weight: 560; }
.ax-publishers { border: 1px solid var(--ax-line); border-radius: 12px; background: #fff; }
.ax-publishers summary { padding: 12px 14px; font-size: 14px; font-weight: 640; cursor: pointer; }
.ax-publishers ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 14px; margin: 0; padding: 0 14px 12px; list-style: none; }
.ax-publishers li { display: flex; justify-content: space-between; gap: 8px; padding-block: 5px; font-size: 13.5px; }
.ax-publishers li span { color: var(--ax-muted); font-size: 12.5px; white-space: nowrap; }
.ax-publishers a, .ax-source a { color: #2c4fb8; text-decoration: none; }
.ax-publishers a:hover, .ax-source a:hover { text-decoration: underline; }
.ax-sources { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--ax-line); border-radius: 12px; background: #fff; overflow: hidden; }
.ax-source { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; }
.ax-source + .ax-source { border-block-start: 1px solid #edf0f5; }
.ax-source > div:first-child { min-width: 0; }
.ax-source a { font-size: 14.5px; font-weight: 620; overflow-wrap: anywhere; }
.ax-source p { margin-top: 2px; color: var(--ax-muted); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.ax-source p:empty { display: none; }
.ax-source-tags { flex: 0 0 auto; justify-content: flex-end; max-width: 46%; }
.ax-suggest { max-width: 640px; padding: 18px; border: 1px solid var(--ax-line); border-radius: 14px; background: #fff; }

/* Dialog content */
.ax-modal { display: grid; gap: 14px; }
.ax-player-modal .ml-embed, .ax-player-modal iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #0e1530; }
.ax-recap { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--ax-account-bg, #eef8f4); border-inline-start: 4px solid var(--ax-account, #0f6d5c); }
.ax-recap small { color: #0f6d5c; font-size: 12px; font-weight: 680; }
.ax-recap p { font-size: 14px; line-height: 1.65; }
.ax-chat #ax-thread { display: grid; gap: 10px; max-height: 46dvh; overflow-y: auto; padding-inline-end: 2px; }
.ax-chat #ax-thread:empty { display: none; }
.ax-bubble { display: grid; gap: 5px; max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.65; }
.ax-bubble small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }
.ax-bubble em { color: var(--ax-muted); font-size: 12px; font-style: normal; }
.ax-bubble ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ax-bubble dl { display: grid; gap: 6px; }
.ax-bubble .wb-button { margin-top: 8px; justify-self: start; }
.ax-bubble-you { justify-self: end; background: #23408f; color: #fff; }
.ax-bubble-you small { color: #c9d6fb; }
.ax-bubble-account { background: var(--ax-account-bg); border-inline-start: 4px solid var(--ax-account); }
.ax-bubble-account small { color: var(--ax-account); }
.ax-bubble-bot { background: var(--ax-bot-bg); border-inline-start: 4px solid var(--ax-bot); }
.ax-bubble-bot small { color: var(--ax-bot); }

/* Experiments in the workbook */
.ax-experiments .wb-heading { align-items: flex-start; }
.ax-experiments .wb-heading > div { flex: 1 1 260px; min-width: 0; }
.ax-experiment-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; padding: 16px; }
.ax-experiment {
  display: grid; gap: 10px; align-content: start; min-width: 0; padding: 14px; border: 1px solid var(--ax-line); border-radius: 12px;
  background: #fff; border-block-start: 4px solid #9fb0cf;
}
.ax-status-running { border-block-start-color: #d98a1e; }
.ax-status-done { border-block-start-color: #17977c; }
.ax-experiment-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ax-status { padding: 2px 9px; border-radius: 999px; background: #eef1f7; color: #44536b; font-size: 12px; font-weight: 680; }
.ax-status-running .ax-status { background: var(--ax-warn-bg); color: var(--ax-warn); }
.ax-status-done .ax-status { background: var(--ax-account-bg); color: var(--ax-account); }
.ax-experiment time { display: inline-flex; align-items: center; gap: 5px; color: var(--ax-muted); font-size: 12.5px; }
.ax-experiment time.ax-late { color: var(--ax-bad); font-weight: 640; }
.ax-experiment h3 { font-size: 15px; font-weight: 660; line-height: 1.5; overflow-wrap: anywhere; }
.ax-experiment dd { font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.ax-result { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #f3f5fa; font-size: 13.5px; line-height: 1.6; }
.ax-result strong { font-size: 12.5px; }
.ax-result.ax-supported { background: var(--ax-account-bg); }
.ax-result.ax-supported strong { color: var(--ax-account); }
.ax-result.ax-refuted { background: var(--ax-bad-bg); }
.ax-result.ax-refuted strong { color: var(--ax-bad); }
.ax-result small { color: #44536b; }
.ax-verdicts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.ax-verdicts legend { margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 580; }
.ax-radio { display: inline-flex !important; grid-template-columns: none; align-items: center; gap: 7px !important; padding: 8px 12px; border: 1px solid #cfd8e6; border-radius: 10px; cursor: pointer; }
.ax-radio input { width: auto; min-height: 0; accent-color: #3558c5; }
.ax-radio:has(input:checked) { border-color: #3558c5; background: #eef2fd; }

/* Pitch coach */
.ax-coach { display: grid; gap: 14px; margin-top: 18px; padding: 20px; border: 1px solid var(--ax-line); border-radius: 16px; background: #fff; }
.ax-coach-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ax-coach-head h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; letter-spacing: -.3px; }
.ax-coach-lens { display: flex; align-items: center; gap: 8px; color: var(--ax-muted); font-size: 13px; flex-wrap: wrap; }
.ax-good b { color: var(--ax-account); }
.ax-warn b { color: var(--ax-warn); }
.ax-findings { display: grid; gap: 12px; }
.ax-finding { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--ax-line); border-radius: 12px; border-inline-start: 4px solid #9fb0cf; min-width: 0; }
.ax-finding-unsupported { border-inline-start-color: var(--ax-bad); }
.ax-finding-cue { border-inline-start-color: #d98a1e; }
.ax-finding-planned { border-inline-start-color: #5b7fe0; }
.ax-finding-supported { border-inline-start-color: #17977c; }
.ax-finding-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ax-kind { font-size: 13px; font-weight: 680; color: #33415a; }
.ax-flag { padding: 2px 9px; border-radius: 999px; background: #eef1f7; color: #44536b; font-size: 12px; font-weight: 680; }
.ax-finding-unsupported .ax-flag { background: var(--ax-bad-bg); color: var(--ax-bad); }
.ax-finding-cue .ax-flag { background: var(--ax-warn-bg); color: var(--ax-warn); }
.ax-finding-planned .ax-flag { background: #eef3fd; color: #2c4594; }
.ax-finding-supported .ax-flag { background: var(--ax-account-bg); color: var(--ax-account); }
.ax-finding blockquote { margin: 0; padding-inline-start: 12px; border-inline-start: 3px solid #dfe5ee; color: #23324a; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.ax-coach-note { display: flex; gap: 7px; align-items: flex-start; color: #44536b; font-size: 13.5px; line-height: 1.6; }
.ax-followup { display: grid; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #f6f8fc; }
.ax-followup h4 { display: flex; align-items: center; gap: 6px; color: #23408f; }
.ax-question { font-size: 15px; font-weight: 600; line-height: 1.6; }
.ax-answer { display: grid; gap: 9px; }
.ax-answer textarea {
  width: 100%; min-height: 70px; padding: 10px 12px; border: 1px solid #cfd8e6; border-radius: 10px; background: #fff; color: inherit;
  font: inherit; font-size: 15px; line-height: 1.6; resize: vertical;
}
.ax-verdict:empty { display: none; }
.ax-verdict { display: grid; gap: 8px; justify-items: start; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; }
.ax-verdict-evidence { background: var(--ax-account-bg); color: #0b5547; }
.ax-verdict-belief { background: var(--ax-warn-bg); color: #6f3d03; }
.ax-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.ax-share .wb-button { gap: 7px; }
.ax-share small { color: var(--ax-muted); font-size: 12.5px; }

/* Founder journey on the overview */
.ax-journey {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 18px; padding: 20px 22px;
  border: 1px solid #d9e2f5; border-radius: 16px; background: linear-gradient(120deg, #f2f5fe, #fbfcff 60%);
}
.ax-journey-art { display: grid; place-items: center; min-width: 0; }
.ax-journey-art svg { width: 100%; max-width: 300px; height: auto; border-radius: 18px; box-shadow: 0 14px 30px -18px rgba(23, 30, 69, .55); }
.ax-journey-art text { font-family: inherit; }
.ax-journey-art .ax-step-top, .ax-journey-art .ax-step-side, .ax-journey-art .ax-step-front { transition: fill .3s; }
.ax-journey-body { display: grid; gap: 12px; min-width: 0; }
.ax-journey-body h2 { font-size: 19px; letter-spacing: -.4px; }
.ax-journey-body > p { color: #47566a; font-size: 14.5px; line-height: 1.65; }
.ax-rungs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: rung; }
.ax-rung {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 7px 10px; border: 1px solid transparent; border-radius: 10px;
  background: none; color: #33415a; font: inherit; font-size: 14px; text-align: start; cursor: pointer;
}
.ax-rung:hover { background: #fff; border-color: #dce3ed; }
.ax-rung > i {
  display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #e3e8f3; color: #4d5c74;
  font-size: 12.5px; font-style: normal; font-weight: 700;
}
.ax-rung > span { flex: 1; min-width: 0; font-weight: 600; }
.ax-rung > b { color: var(--ax-muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ax-rung.is-done > i { background: #17977c; color: #fff; }
.ax-rung.is-done > i .lineicon { width: 14px; height: 14px; }
.ax-rung.is-next { background: #fff; border-color: #c3d0f0; box-shadow: 0 2px 10px #3558c514; }
.ax-rung.is-next > i { background: #3558c5; color: #fff; }
.ax-rung.is-next > b { color: #23408f; }
.ax-journey-next { justify-self: start; gap: 8px; }

/* The lens inside a lesson */
.ax-lens {
  display: grid; gap: 8px; margin-block: 16px; padding: 14px 16px; border: 1px solid #c9d7f5; border-radius: 12px; background: #f4f7fe;
}
.ax-lens h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: #23408f; }
.ax-lens p { font-size: 14.5px; line-height: 1.7; color: #2a3954; }
.ax-lens .wb-actions { margin-top: 2px; }

/* Listening bar: keeps a talk or episode playing while you work elsewhere */
.ax-listen {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-block-start: 1px solid #27325e; background: #151c40; color: #fff;
}
.ax-listen[hidden] { display: none; }
body.ax-listening #main { padding-bottom: 96px; }
.ax-listen-meta { flex: 1 1 180px; min-width: 0; display: grid; gap: 1px; }
.ax-listen-meta strong { font-size: 13.5px; font-weight: 640; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-listen-meta small { color: #aab6e2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-listen-controls { display: flex; align-items: center; gap: 4px; }
.ax-listen button {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 8px; border: 0; border-radius: 10px;
  background: none; color: #fff; font: inherit; font-size: 12.5px; font-weight: 660; cursor: pointer;
}
.ax-listen button:hover { background: #ffffff1c; }
.ax-listen .ax-listen-toggle { background: #fff; color: #151c40; border-radius: 50%; width: 42px; }
.ax-listen .ax-listen-toggle:hover { background: #e7ebfb; }
.ax-listen .lineicon { width: 18px; height: 18px; }
.ax-listen-seek { flex: 2 1 220px; display: flex; align-items: center; gap: 8px; min-width: 0; color: #c9d2f3; font-size: 12px; font-variant-numeric: tabular-nums; }
.ax-listen-seek input { flex: 1; min-width: 0; accent-color: #f39c2c; direction: ltr; }
.ax-listen-note { min-width: 0; }

/* Phone */
@media (max-width: 760px) {
  .ax-formrow, .ax-sides, .ax-context dl, .ax-differed dl, .ax-journey { grid-template-columns: 1fr; }
  .ax-card, .ax-tension, .ax-coach, .ax-suggest { padding: 14px; }
  .ax-ask { flex-direction: column; }
  .ax-ask > .wb-button { width: 100%; }
  .ax-source { flex-direction: column; }
  .ax-source-tags { max-width: 100%; justify-content: flex-start; }
  .ax-experiment-list { grid-template-columns: 1fr; padding: 12px; }
  .ax-counts b, .ax-coach-summary b { font-size: 19px; }
  .ax-counts > div, .ax-coach-summary > div { padding: 10px; }
  .ax-bubble { max-width: 100%; }
  .ax-badge { white-space: normal; }
  .ax-page .intro > div { min-width: 0; }
  .ax-journey { padding: 16px; gap: 12px; }
  .ax-journey-art svg { max-width: 220px; }
  .ax-rung > b { display: none; }
  .ax-listen { flex-wrap: wrap; gap: 6px 10px; padding-inline: 12px; }
  .ax-listen-meta { flex-basis: 50%; }
  .ax-listen-seek { order: 3; flex-basis: 100%; }
  body.ax-listening #main { padding-bottom: 132px; }
  .ax-card .wb-actions .wb-button, .ax-followup .wb-actions .wb-button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-journey-art * { transition: none !important; animation: none !important; }
}

/* Help dialog legend */
.helpbody h3 { margin-top: 16px; font-size: 15px; font-weight: 680; }
.ax-legend { display: grid; gap: 10px; margin: 10px 0 16px; padding: 0; list-style: none; font-size: 14px; line-height: 1.65; color: #33415a; }
.ax-legend li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; }
.ax-legend .ax-conn { justify-self: start; margin-top: 2px; }
@media (max-width: 760px) { .ax-legend li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Install hint in the help dialog */
.ax-install { margin: 4px 0 16px; padding: 12px 14px; border: 1px solid #dfe5f1; border-radius: 12px; background: #f6f8fd; }
.ax-install h3 { margin: 0 0 4px; }
.ax-install p { margin: 0; font-size: 14px; line-height: 1.65; color: #33415a; }
.ax-install .wb-actions { margin-top: 10px; }

/* Weekly promise on the overview */
.ax-commit {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; padding: 18px 22px;
  border: 1px solid #f0dfc4; border-radius: 16px; background: linear-gradient(120deg, #fff8ec, #fffdf8 60%);
}
.ax-commit > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ax-commit h2 { font-size: 19px; letter-spacing: -.4px; }
.ax-commit > p { margin: 0; color: #47566a; font-size: 14.5px; line-height: 1.65; max-width: 72ch; }
.ax-commit-text {
  margin: 0; padding: 10px 14px; border-inline-start: 4px solid #f0a14a; border-radius: 8px; background: #fff;
  font-size: 16px; font-weight: 600; line-height: 1.55; color: #19243c; overflow-wrap: anywhere; white-space: pre-wrap;
}
.ax-commit-due { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ax-commit-due .lineicon { width: 16px; height: 16px; }
.ax-commit-due b { padding: 2px 10px; border-radius: 999px; background: #eaf0fd; color: #2c4594; font-size: 12.5px; font-weight: 650; }
.ax-commit-due.is-today b { background: #fff3df; color: #8a4b03; }
.ax-commit-due.is-late b { background: #fde8e6; color: #a3261c; }
.ax-commit-record { display: flex; align-items: center; gap: 8px; color: #657389; font-size: 12.5px; font-weight: 600; }
.ax-commit-dots { display: inline-flex; gap: 4px; }
.ax-commit-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9dfeb; }
.ax-commit-dots i.is-kept { background: #17977c; }
.ax-commit-dots i.is-missed { background: #fff; box-shadow: inset 0 0 0 2px #c9a1a1; }
.ax-commit-status { min-height: 0; font-size: 13px; color: #657389; }
.ax-commit-status:empty { display: none; }
.wb-form .ax-commit-text { font-size: 15px; background: #fff8ec; }
@media (max-width: 760px) {
  .ax-commit { padding: 16px; }
  .ax-commit .wb-actions .wb-button { flex: 1 1 auto; }
}

/* Backup and restore in the founder profile */
.ax-backup { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e1e6ee; }
.ax-backup h3 { margin: 0; font-size: 15px; font-weight: 680; }
.ax-backup > p { margin: 0; font-size: 14px; line-height: 1.65; color: #47566a; }
.ax-backup-pick { position: relative; cursor: pointer; }
.ax-backup-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ax-backup-pick:focus-within { outline: 2px solid #365ad7; outline-offset: 2px; }

/* “Tell the team”: the private message form (feedback.js). */
.ax-fb-private { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 13px; border-radius: 12px; background: #eef2fd; color: #27408f; font-size: 14px; line-height: 1.55; }
.ax-fb-private .lineicon { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ax-fb-rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.ax-fb-rating legend { padding: 0; font-size: 14px; font-weight: 580; margin-bottom: 6px; }
.ax-fb-rating { max-width: 250px; }
.ax-fb-scores { display: flex; gap: 6px; }
.ax-fb-ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; font-size: 12px; color: #647184; }
.wb-form .ax-fb-score { display: block; position: relative; }
.ax-fb-score input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ax-fb-score span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #cfd6e2; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; color: #19243c; }
.ax-fb-score input:checked + span { background: #3558c5; border-color: #3558c5; color: #fff; }
.ax-fb-score input:focus-visible + span { outline: 3px solid #5980ff; outline-offset: 2px; }
.ax-fb-attach { border: 1px solid #e1e6ee; border-radius: 12px; padding: 12px 14px; background: #fbfcfe; }
.wb-form .ax-fb-check { display: flex; align-items: center; gap: 9px; }
.wb-form .ax-fb-check input { width: 18px; height: 18px; flex: none; }
.ax-fb-attach .ax-hint { margin: 6px 0; }
.ax-fb-numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px 18px; font-size: 13px; }
.ax-fb-numbers li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: #596a80; }
.ax-fb-numbers b { color: #19243c; font-weight: 600; }
