/* App presentation port. Source map: docs/demo-fidelity.md. */
.app-frame {
  --app-ink: #0f172a;
  --app-secondary: #475569;
  --app-border: #eef0f3;
  --app-paper: #fbfbfc;
  width: 100%;
  max-width: 440px;
  height: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--app-paper);
  border: 1px solid #dce1e9;
  border-radius: 22px;
  box-shadow: 0 24px 70px #00000024;
  color: var(--app-ink);
  font: 15px/1.5 var(--font);
  text-align: left;
}
.app-frame :is(h3, h4, p, strong, button) {
  letter-spacing: normal;
}
.app-frame button {
  font-family: var(--font);
}
.app-frame [hidden] {
  display: none !important;
}
.app-frame [lang="ar"] {
  font-family: Tajawal, sans-serif;
}
.app-frame [lang="hi"] {
  font-family: "Noto Sans Devanagari", sans-serif;
}
.app-frame [lang="ur"] {
  font-family: "Noto Nastaliq Urdu", serif;
  line-height: 2.2;
}
.app-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding-bottom: 20px;
}
.app-frame .app-paper {
  background: #fff;
  border: 0.5px solid #eef0f3;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px #0f172a0a;
}
.app-sage-header {
  flex: none;
  padding: 16px 12px 14px 20px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}
.app-sage-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.app-sage-title strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.aperture {
  display: block;
  flex: none;
}
.app-sage-header p {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
}
.app-icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #94a3b8;
  flex: none;
}
.app-sage-title .app-icon-button {
  margin-left: auto;
  color: #475569;
}
.app-icon-button:hover {
  background: #f1f3f5;
}
.app-messages {
  padding-top: 8px;
}
.app-message {
  padding: 8px 12px 12px;
}
.app-message-user {
  padding-left: 24px;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}
.app-message-user .message-meta {
  justify-content: flex-end;
}
.message-surface {
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.app-message-user .message-surface {
  background: #f1f3f5;
  width: fit-content;
  margin-left: auto;
}
.message-surface p + p {
  margin-top: 12px;
}
.message-surface strong {
  font-weight: 700;
}
.message-surface .takeaway {
  background: transparent;
  padding: 0;
  margin-top: 12px;
  border: 0;
  color: #0f172a;
  font-size: 15px;
}
.app-thinking {
  font-size: 13px;
  color: #475569;
  padding: 12px;
}
.app-composer {
  display: flex;
  align-items: end;
  gap: 8px;
  flex: none;
  padding: 12px 16px 16px;
  border-top: 1px solid #eef0f3;
  background: #fff;
}
.app-composer input {
  width: 0;
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  height: 48px;
  color: #0f172a;
  background: #fbfbfc;
  border: 1.5px solid #eef0f3;
  border-radius: 14px;
  font: 15px/1.5 var(--font);
}
.app-composer input::placeholder {
  color: #94a3b8;
}
.app-composer button {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #0f172a;
  font-size: 25px;
}
.hero-chat.app-frame {
  height: 615px;
  max-width: 460px;
}
.preview-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 480px;
}
.preview-prompts > span {
  font: 11px var(--mono);
  color: var(--muted);
}
.preview-prompts button {
  font-size: 12px;
  padding: 8px 11px;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
}
.preview-caption {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
}
.demo-stage {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.demo-top {
  max-width: 440px;
  margin: 0 auto 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d6dfed;
}
.demo-top > span:first-child {
  font: 12px var(--mono);
}
.demo-top > span:nth-child(2) {
  color: #a6b5cf;
  font-size: 11px;
}
.reset-demo {
  color: #d6dfed;
}
.demo-panel {
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent;
}
.demo-footer {
  background: transparent;
  border: 0;
  padding: 15px 0 0;
  color: #a6b5cf;
  max-width: 440px;
  margin: auto;
  font-size: 12px;
  line-height: 1.6;
}
.preview-controls {
  max-width: 440px;
  margin: 0 auto 14px;
  color: #d6dfed;
}
.preview-controls > span {
  display: block;
  font: 11px var(--mono);
  margin-bottom: 9px;
}
.preview-controls > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.preview-controls button {
  border: 1px solid #ffffff30;
  border-radius: 7px;
  background: transparent;
  color: #d6dfed;
  padding: 7px 10px;
  font-size: 12px;
  min-height: 36px;
}
.preview-controls button[aria-pressed="true"] {
  color: #0f172a;
  background: #fff;
  border-color: #fff;
}
.language-preview {
  margin-top: 18px;
  margin-bottom: 0;
}
.app-bottom-nav {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 64px;
  background: #fff;
  border-top: 1px solid #eef0f3;
  padding: 5px 4px 3px;
}
.app-bottom-nav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: transparent;
  color: #94a3b8;
  padding: 0;
  border-radius: 8px;
}
.app-bottom-nav button > span {
  font-size: 22px;
  line-height: 26px;
}
.app-bottom-nav small {
  font-size: 10px;
}
.app-bottom-nav .nav-active {
  color: #1e40af;
}
.app-bottom-nav .nav-active:after {
  content: "";
  width: 3px;
  height: 3px;
  background: #1e40af;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
}
.app-bottom-nav button:disabled {
  opacity: 0.55;
}
.app-practice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 0;
}
.session-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.session-dots i {
  display: block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #e2e8f0;
}
.session-dots .current {
  background: #1e40af;
  width: 8px;
  height: 8px;
}
.app-question {
  margin: 12px 20px 20px;
  padding: 16px 18px 18px;
  border: 0.5px solid #eef0f3;
  border-left: 1px solid #e11d48b3;
  border-radius: 14px;
  box-shadow: 0 1px 3px #0f172a0a;
  background: #fff;
}
.question-metadata {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.topic-pill {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  background: #e11d4814;
  border: 1px solid #e11d4838;
  color: #e11d48;
}
.difficulty-pill {
  padding: 4px 7px;
  background: #f1f3f5;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
}
#question-count {
  margin-left: auto;
  font: 600 11px var(--mono);
  color: #94a3b8;
}
.app-question h3 {
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.58 !important;
  margin-top: 18px !important;
}
.app-options {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-options button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  text-align: left;
  padding: 14px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  background: #fff;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.app-options button > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font: 600 12px var(--mono);
  color: #475569;
}
.app-options b {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.48;
}
.app-options i {
  font-style: normal;
  margin-left: auto;
}
.app-options button.is-correct {
  background: #0596690f;
  border-color: #05966940;
}
.app-options button.is-correct i {
  color: #059669;
}
.app-options button.is-wrong {
  background: #dc26260f;
  border-color: #dc262640;
}
.app-options button.is-wrong i {
  color: #dc2626;
}
.app-feedback {
  margin: 20px 20px 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f5f9;
}
.app-feedback strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.app-feedback p {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-top: 4px;
}
.app-frame .saved-explanation {
  margin: 0 20px 12px;
}
.saved-explanation h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.saved-explanation p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}
.app-frame .practice-sage {
  margin: 0 20px;
  padding: 0;
}
.app-frame summary {
  cursor: pointer;
  list-style: none;
}
.app-frame summary::-webkit-details-marker {
  display: none;
}
.practice-sage summary {
  display: flex;
  gap: 12px;
  padding: 16px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.practice-sage summary small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #475569;
  margin-top: 4px;
}
.practice-sage summary > b {
  margin-left: auto;
  color: #94a3b8;
}
.outline-spark {
  font-size: 20px;
}
.practice-sage-body {
  padding: 0 16px 16px;
}
.practice-sage-body > p {
  font-size: 13px;
  color: #475569;
}
.app-tonal {
  border-radius: 20px;
  background: #f1f3f5;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
  margin-top: 14px;
}
#practice-sage-response {
  border-top: 1px solid #eef0f3;
  margin-top: 28px;
  padding-top: 16px;
}
#practice-sage-response small {
  font-size: 12px;
  color: #475569;
}
#practice-sage-response p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
}
.app-next-bar {
  flex: none;
  padding: 10px 20px 16px;
  border-top: 0.5px solid #eef0f3;
  background: #fbfbfc;
}
.app-next-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}
.app-home-header {
  padding: 25px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-home-header h3 {
  font-size: 22px !important;
  margin: 0 !important;
  font-weight: 700;
  flex: 1;
}
.profile-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef0f3;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.home-context {
  margin: 34px 24px;
}
.home-context > span {
  font: 10px var(--mono);
  color: #475569;
}
.home-context strong {
  display: block;
  font-size: 25px;
  line-height: 1.3;
  margin-top: 12px;
}
.home-context p {
  font-size: 13px;
  color: #475569;
  margin-top: 8px;
}
.app-today-plan {
  background: #0f172a;
  border-radius: 16px;
  padding: 18px 20px 17px;
  margin: 0 24px;
  color: #fff;
  box-shadow: 0 1px 3px #0f172a0a;
}
.plan-topline {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.plan-topline > span:first-child {
  font: 600 10px var(--mono);
  letter-spacing: 0.6px;
  color: #ffffff9e;
}
.plan-topline > span:last-child {
  font: 500 12px var(--font);
  color: #ffffffd9;
}
.plan-focus {
  display: inline-block;
  border-radius: 40px;
  background: #ffffff14;
  padding: 6px 8px;
  font: 600 9.5px var(--mono);
  color: #ffffffb8;
  margin-top: 14px;
}
.app-today-plan h3 {
  color: #fff;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.14 !important;
  margin-top: 16px !important;
}
.app-today-plan > p {
  font-size: 13px;
  line-height: 1.34;
  color: #ffffffcc;
  margin-top: 8px;
}
.app-today-plan > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.app-today-plan button b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 21px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  font-weight: 400;
}
#plan-last-session {
  border-top: 1px solid #ffffff1a;
  margin-top: 15px;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff9e;
}
.app-talk-plan {
  display: block;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 24px 24px;
  padding: 7px 0;
}
.app-frame .app-home-checklist {
  margin: 0 24px;
}
.app-home-checklist h4 {
  margin: 10px 0 8px;
  font-size: 19px;
}
.app-home-checklist p {
  font-size: 13px;
  color: #475569;
}
.app-eyebrow {
  font: 12px/1.5 var(--mono);
  color: #475569;
}
.app-outline {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-top: 18px;
}
.app-filled {
  background: #0f172a;
  color: white;
  min-height: 48px;
  width: 100%;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px;
}
.app-text-button {
  padding: 8px 0;
  background: transparent;
  color: #1e40af;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.app-rail {
  padding: 24px 24px 30px;
}
.app-progress-header {
  margin-bottom: 22px;
}
.app-progress-header .app-eyebrow {
  font-size: 10px;
}
.app-progress-header h3 {
  font-size: 30px !important;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin: 8px 0 !important;
  line-height: 1.2;
}
.app-progress-header > p {
  font-size: 15px;
  line-height: 1.5;
  color: #475569;
}
.app-frame .readiness-card {
  border-radius: 18px;
  padding: 22px;
}
.readiness-card h4 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 12px;
}
.readiness-card > p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-top: 8px;
}
.readiness-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #1e40af;
  font-weight: 600;
  padding-top: 18px;
}
.readiness-card details p {
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
}
.recent-work {
  margin-top: 30px;
}
.recent-work h4,
.app-topics h4 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}
.recent-work > p {
  font-size: 14px;
  color: #475569;
  margin-top: 8px;
  line-height: 1.5;
}
.app-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.app-periods button {
  border: 1px solid #eef0f3;
  border-radius: 22px;
  padding: 9px 12px;
  background: #fff;
  color: #475569;
  font-size: 12px;
}
.app-periods button[aria-pressed="true"] {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.app-work-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app-work-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-work-metrics strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}
.app-work-metrics span {
  font-size: 12px;
  color: #475569;
}
.activity-details {
  margin-top: 8px;
}
.activity-details summary {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: #475569;
}
.activity-details > div {
  font-size: 12px;
  line-height: 2;
  padding: 12px;
  background: white;
}
.app-frame .app-topics {
  margin-top: 30px;
}
.app-topics h4 {
  margin: 10px 0 8px;
}
.app-topics p {
  font-size: 13px;
  color: #475569;
}
.app-topic-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef0f3;
  margin-top: 18px;
  padding-top: 18px;
}
.app-topic-row strong {
  font-size: 16px;
  font-weight: 700;
}
.app-topic-row > span {
  font: 600 21px var(--mono);
  text-align: right;
}
.app-topic-row small {
  display: block;
  font: 11px var(--font);
  color: #475569;
  margin-top: 5px;
}
.app-checklist-scroll {
  padding: 24px 24px 40px;
}
.app-authority {
  font-size: 12px;
  color: #475569;
}
#checklist-overview > h3 {
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 !important;
}
.checklist-lead {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}
.checklist-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.checklist-stats strong {
  font-size: 13px;
}
.checklist-stats span {
  font-size: 12px;
  color: #475569;
}
.checklist-next .app-eyebrow {
  font-size: 10px;
  letter-spacing: 1.3px;
}
.checklist-next h4 {
  font-size: 21px;
  font-weight: 700;
  margin: 10px 0 8px;
  line-height: 1.3;
}
.checklist-next p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.checklist-next button {
  margin-top: 18px;
}
.route-heading {
  font-size: 19px;
  margin-top: 28px;
}
.route-intro {
  font-size: 13px;
  color: #475569;
  margin: 8px 0 14px;
}
.app-frame .route-list {
  padding: 0;
}
.route-list button {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 16px;
  gap: 12px;
  background: transparent;
}
.route-list button + button {
  border-top: 1px solid #eef0f3;
}
.route-number {
  width: 28px;
  text-align: center;
  flex: none;
  font: 14px var(--mono);
  color: #475569;
}
.route-number.done {
  color: #059669;
  font-size: 21px;
}
.route-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.route-list small {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
}
.route-list button > b {
  margin-left: auto;
  color: #94a3b8;
  font-size: 20px;
  font-weight: 400;
}
.app-frame .parallel-study {
  margin-top: 24px;
}
.parallel-study h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.parallel-study p {
  font-size: 13px;
  color: #475569;
}
#back-checklist {
  margin-bottom: 14px;
}
.step-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 12px var(--mono);
  color: #475569;
}
.step-kicker b {
  font-family: var(--font);
}
.step-detail h3 {
  font-size: 26px !important;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0 12px !important;
}
.step-detail p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.step-detail .step-status {
  font-size: 12px;
  margin-top: 12px;
}
.step-detail h4 {
  font-size: 16px;
  margin-top: 24px;
}
.step-detail ul {
  padding-left: 18px;
  margin-top: 12px;
}
.step-detail li {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.step-update {
  border-top: 1px solid #eef0f3;
  margin-top: 22px;
}
.step-update summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
}
.step-update p {
  font-size: 12px;
}
.status-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.status-options button {
  border: 1px solid #e2e8f0;
  background: white;
  color: #0f172a;
  border-radius: 22px;
  padding: 10px 12px;
  font-size: 12px;
}
.status-options button[aria-pressed="true"] {
  background: #fbfbfc;
  font-weight: 700;
  border-color: #94a3b8;
}
.step-detail .step-demo-note {
  font-size: 11px;
  margin-top: 20px;
  color: #94a3b8;
}
@media (max-width: 760px) {
  .app-frame {
    height: 710px;
    border-radius: 17px;
  }
  .hero-chat.app-frame {
    height: 650px;
  }
  .app-rail,
  .app-checklist-scroll {
    padding: 22px 20px 30px;
  }
  .app-home-header {
    padding-inline: 20px;
  }
  .app-home-header h3 {
    font-size: 22px !important;
  }
  .home-context {
    margin: 28px 20px;
  }
  .app-today-plan {
    margin-inline: 20px;
    padding: 14px 16px 13px;
  }
  .app-today-plan h3 {
    font-size: 21px !important;
  }
  .app-frame .app-home-checklist {
    margin-inline: 20px;
  }
  .app-question {
    margin-inline: 16px;
  }
  .app-options {
    padding-inline: 16px;
  }
  .question-metadata {
    gap: 5px;
  }
  .topic-pill {
    font-size: 11px;
    padding: 4px 6px;
  }
  .preview-controls button {
    font-size: 11px;
  }
  .app-composer {
    padding: 12px;
  }
  .app-composer input {
    padding-inline: 12px;
  }
  .app-frame .readiness-card {
    padding: 18px;
  }
  .app-periods {
    gap: 5px;
  }
  .app-periods button {
    padding: 8px 9px;
  }
  .plan-topline {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-frame * {
    scroll-behavior: auto !important;
  }
}

@font-face {
  font-family: QPrepMaterial;
  src: url("/assets/brand/material-icons-subset.woff2") format("woff2");
  font-display: block;
}
.material-icon {
  font-family: QPrepMaterial !important;
  font-weight: normal !important;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
}
.app-bottom-nav button {
  color: #475569;
  gap: 4px;
}
.app-bottom-nav .nav-active {
  color: #1e40af;
}
.app-bottom-nav small {
  font-weight: 400;
  line-height: 1.2;
}
.app-bottom-nav .nav-active small {
  font-weight: 600;
}
.sage-dock {
  width: 24px;
  height: 24px;
  background: url("/assets/brand/sage-aperture.svg") center/28px no-repeat;
}
.app-bell {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 20px;
}
.app-frame .home-context {
  margin: 14px 24px 6px;
  padding: 16px 20px 8px;
}
.home-context strong {
  font-size: 23px;
  line-height: 1.3;
  margin-top: 10px;
}
.home-context p {
  font-size: 14px;
  line-height: 1.5;
}
.home-context summary {
  padding: 14px 0;
  color: #1e40af;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.app-feedback {
  background: #fff;
  border: 0.5px solid #eef0f3;
  padding: 13px 14px;
}
.feedback-correct {
  border-left: 1px solid #059669a6;
}
.feedback-correct strong {
  color: #059669;
}
.feedback-wrong {
  border-left: 1px solid #dc2626a6;
}
.feedback-wrong strong {
  color: #dc2626;
}
#sample-activity {
  white-space: pre-line;
}
@media (max-width: 760px) {
  .app-frame .home-context {
    margin-inline: 20px;
  }
}

.sage-options {
  position: relative;
  margin-left: auto;
}
.sage-options summary {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #475569;
}
.sage-options > div {
  position: absolute;
  right: 0;
  top: 42px;
  padding: 6px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  box-shadow: 0 6px 24px #0f172a18;
  z-index: 2;
  width: 160px;
}
.sage-options button {
  background: #fff;
  padding: 12px;
  font-size: 14px;
  text-align: left;
  width: 100%;
}
.app-sage-title .sage-back {
  margin-left: 0;
}
.app-practice-recap {
  padding: 28px 20px;
}
.app-practice-recap h3 {
  font-size: 30px !important;
  line-height: 1.4 !important;
  margin: 12px 0 !important;
  font-weight: 700;
}
.app-practice-recap > p {
  font-size: 14px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 24px;
}
.app-practice-recap .app-paper {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}
#recap-score {
  font-size: 52px;
  line-height: 1.4;
  font-weight: 700;
}
#recap-correct {
  font-size: 16px;
}
.app-practice-recap h4 {
  font-size: 18px;
  margin: 24px 0 14px;
}
.recap-topic {
  font-size: 14px;
  justify-content: space-between;
}
.app-practice-recap > .app-filled {
  margin-top: 30px;
}
.app-practice-recap > .app-text-button {
  display: block;
  margin: 12px auto;
}

.app-frame {
  position: relative;
}
.app-today-plan {
  padding: 14px 16px 13px;
}
.app-today-plan h3 {
  font-size: 21px !important;
  margin-top: 8px !important;
}
.app-today-plan > p {
  margin-top: 5px;
}
.app-today-plan > button {
  margin-top: 10px;
}
.app-sheet-layer {
  position: absolute;
  inset: 0;
  background: #0f172a55;
  z-index: 5;
  display: flex;
  align-items: flex-end;
}
.app-sheet {
  background: #fbfbfc;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 14px 24px 24px;
  box-shadow: 0 -4px 24px #0f172a14;
}
.sheet-handle {
  display: block;
  width: 32px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 3px;
  margin: 0 auto 22px;
}
.app-sheet h4 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}
.app-sheet p {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  margin-top: 12px;
}
.app-sheet h5 {
  font-size: 17px;
  margin: 20px 0 8px;
}
.app-sheet button {
  margin-top: 16px;
}
.app-topic-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.app-topic-row .current-focus {
  padding: 4px 8px;
  margin-top: 6px;
  border-radius: 6px;
  background: #f1f3f5;
  font: 500 10px var(--mono);
}
.topic-accuracy {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.topic-accuracy b {
  font: 600 21px var(--mono);
}
.topic-accuracy span {
  font-size: 12px;
  color: #475569;
}
.topic-track {
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: #f1f3f5;
  overflow: hidden;
  margin-top: 10px;
}
.topic-track span {
  display: block;
  height: 100%;
  background: #475569;
}
.app-topic-row p {
  margin-top: 8px;
  font-size: 12px;
}
.app-topic-row button {
  margin-top: 6px;
}
.app-frame .progress-licensing {
  padding: 22px;
  margin-top: 30px;
}
.progress-licensing h4 {
  margin: 10px 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.progress-licensing p {
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}
.progress-licensing > strong {
  display: block;
  margin-top: 20px;
  font-size: 13px;
}
.progress-licensing h5 {
  font-size: 16px;
  margin: 18px 0 12px;
}
.progress-licensing h5 + p {
  font-size: 12px;
}

.home-focus-section {
  margin: 24px;
}
.home-focus-section h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.home-focus-section > p {
  font-size: 13px;
  color: #475569;
  margin-top: 6px;
}
.app-frame .home-topic-preview {
  padding: 0;
  margin-top: 20px;
}
.home-topic-preview button {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  padding: 18px;
  border-radius: 14px;
  width: 100%;
  background: transparent;
}
.home-topic-preview small {
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.home-topic-preview strong {
  font-size: 17px;
  font-weight: 700;
  margin-top: 6px;
}
.home-topic-preview span,
.home-topic-preview p {
  font-size: 12px;
  color: #475569;
  margin-top: 6px;
}
.home-topic-preview b {
  position: absolute;
  right: 18px;
  top: 40px;
  font-size: 22px;
  color: #94a3b8;
}
.app-work-metrics .activity-details {
  border-top: 1px solid #eef0f3;
  margin-top: 0;
}
