/* [project]/apps/web/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-emerald-300: #5ee9b5;
    --spacing: .25rem;
    --container-3xl: 48rem;
    --container-5xl: 64rem;
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }

  @supports (color: lab(0% 0 0)) {
    :root, :host {
      --color-emerald-300: lab(83.9203% -48.7124 13.8849);
    }
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .mx-auto {
    margin-inline: auto;
  }

  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .min-h-48 {
    min-height: calc(var(--spacing) * 48);
  }

  .w-full {
    width: 100%;
  }

  .max-w-3xl {
    max-width: var(--container-3xl);
  }

  .max-w-5xl {
    max-width: var(--container-5xl);
  }

  .justify-between {
    justify-content: space-between;
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }

  .border-emerald-300 {
    border-color: var(--color-emerald-300);
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-8 {
    padding: calc(var(--spacing) * 8);
  }

  .pl-4 {
    padding-left: calc(var(--spacing) * 4);
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}

:root {
  --paper: #f8f9f5;
  --ink: #20382c;
  --muted: #788276;
  --line: #e1e6dc;
  --green: #416847;
  --light: #edf2e6;
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft YaHei, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button, a, input, select, textarea {
  outline-offset: 5px;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

button, input, select, textarea, a {
  -webkit-tap-highlight-color: transparent;
}

input:not([type="checkbox"]), select, textarea {
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5ddcf;
  border-radius: 10px;
  min-height: 46px;
  padding: 12px 14px;
}

input:focus, textarea:focus, select:focus {
  border-color: #0000;
  outline: 2px solid #91a37c;
}

input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  letter-spacing: -.04em;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  letter-spacing: -.02em;
  font-size: 19px;
  font-weight: 600;
}

h3 {
  font-size: 16px;
  font-weight: 600;
}

p {
  line-height: 1.8;
}

label {
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  display: grid;
}

.button {
  background: var(--green);
  color: #fff;
  border: 1px solid #0000;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  transition: background .15s, transform .15s;
  display: inline-flex;
}

.button:hover {
  color: #fff;
  background: #315537;
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.button.secondary:hover {
  background: var(--light);
}

.button.ghost {
  color: var(--muted);
  background: none;
  border-color: #0000;
}

.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 3px 14px #21352903;
}

.brand {
  font-family: var(--serif);
  letter-spacing: -1px;
  align-items: center;
  gap: 11px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.brand-symbol {
  background: var(--green);
  color: #f4f5db;
  border-radius: 11px;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  display: grid;
  position: relative;
}

.brand-symbol > span {
  font: 9px sans-serif;
  position: absolute;
  top: 4px;
  right: 5px;
}

.brand-dot {
  color: #91a777;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff95;
  align-items: center;
  height: 90px;
  display: flex;
}

.site-nav {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: min(1160px, 100% - 64px);
  margin: auto;
  display: flex;
}

.nav-links {
  color: var(--muted);
  align-items: center;
  gap: 30px;
  font-size: 13px;
  display: flex;
}

.nav-links a.active {
  color: var(--green);
  font-weight: 600;
}

.nav-account {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1160px;
  color: var(--muted);
  justify-content: space-between;
  gap: 20px;
  margin: 60px auto 0;
  padding: 25px 0;
  font-size: 12px;
  display: flex;
}

.page-wrap {
  max-width: 1160px;
  margin: auto;
  padding: 44px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.text-link {
  color: var(--green);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  display: inline-flex;
}

.pill {
  color: #587444;
  background: #eef3e7;
  border: 1px solid #d7e1ca;
  border-radius: 100px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  font-size: 11px;
  display: inline-flex;
}

.status-dot {
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  display: flex;
}

.page-heading h1 {
  margin: 8px 0;
}

.page-heading p {
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  display: flex;
}

.section-heading p {
  color: var(--muted);
  font-size: 12px;
}

.loading-block {
  background: linear-gradient(90deg, #edf0e8, #f6f8f1, #edf0e8);
  border-radius: 14px;
  height: 130px;
}

.notice {
  background: var(--light);
  color: var(--green);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.8;
}

.notice.error {
  color: #a55738;
  background: #fff2ea;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 24px 0;
  font-size: 13px;
}

.empty-state svg {
  color: #8fa185;
  margin: 0 auto 12px;
  display: block;
}

.empty-state p {
  margin-bottom: 12px;
}

.welcome-hero {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 68px 0 80px;
  display: grid;
}

.hero-copy h1 {
  letter-spacing: -.06em;
  margin: 22px 0;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 550;
  line-height: 1.42;
}

.hero-copy h1 span {
  color: #6a885a;
}

.hero-copy > p {
  color: #7c8578;
  max-width: 410px;
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  align-items: center;
  gap: 24px;
  margin: 30px 0 20px;
  display: flex;
}

.hero-note {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  font-size: 11px;
  display: flex;
}

.study-preview {
  background: #e9eee0;
  border: 1px solid #dce4d1;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  transform: rotate(1.5deg);
}

.preview-top {
  letter-spacing: .09em;
  color: #6a7e57;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 10px;
  display: flex;
}

.preview-paper {
  background: #fffdf7;
  border: 1px solid #e9e9db;
  border-radius: 14px;
  padding: 34px 30px;
  transform: rotate(-1.5deg);
  box-shadow: 0 16px 24px #34482b08;
}

.preview-word {
  font-family: var(--serif);
  letter-spacing: -2px;
  margin: 22px 0 10px;
  font-size: 52px;
  line-height: 1.2;
}

.preview-phonetic {
  color: #969b87;
  font-size: 12px;
}

.preview-definition {
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  font-size: 18px;
  display: flex;
}

.pos {
  font: italic 14px var(--serif);
  color: #9a9e8e;
}

.preview-example {
  font: italic 16px/1.7 var(--serif);
  color: #8a907e;
  border-top: 1px solid #eeeede;
  margin: 24px 0 0;
  padding-top: 20px;
}

.preview-bottom {
  color: #80916e;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 10px;
  display: flex;
}

.encounter-tag {
  background: #fff;
  border: 1px solid #e1e5d9;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 12px;
  display: flex;
  position: absolute;
  bottom: 33px;
  right: -25px;
  transform: rotate(-1.5deg);
  box-shadow: 0 8px 24px #34482b0a;
}

.encounter-tag svg {
  color: #739451;
}

.welcome-divider {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 30px;
  display: grid;
}

.step-number {
  font: 22px var(--serif);
  color: #a2b194;
}

.step-item h3 {
  margin: 17px 0 9px;
}

.step-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.encounter-story {
  background: #edf1e7;
  border: 1px solid #e0e6d8;
  border-radius: 16px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 65px;
  padding: 35px 40px;
  display: grid;
}

.encounter-story h2 {
  margin: 12px 0;
  font-size: 24px;
}

.encounter-story p {
  color: var(--muted);
  font-size: 13px;
}

.reading-sample {
  font: 20px/1.9 var(--serif);
  color: #8c9382;
  background: #fffdf8;
  border: 1px solid #e7e8da;
  border-radius: 12px;
  padding: 30px;
}

.reading-sample mark {
  color: #476441;
  background: #e7efdc;
  border-bottom: 1px dotted #64804a;
  padding: 2px 4px;
}

.reading-sample small {
  color: #96a087;
  margin-top: 18px;
  font: 11px / 1.8 sans-serif;
  display: block;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  display: grid;
}

.stat-label {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.stat-value {
  letter-spacing: -.06em;
  margin-top: 14px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.3;
}

.stat-value small {
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 7px;
  font-size: 13px;
  font-weight: 400;
}

.stat-caption {
  color: #99a08f;
  margin-top: 8px;
  font-size: 11px;
}

.stat-card.debt {
  background: #edf2e5;
  border-color: #d8e2ca;
}

.dashboard-columns {
  grid-template-columns: 1.08fr 1fr;
  gap: 22px;
  margin-top: 24px;
  display: grid;
}

.forecast-chart {
  align-items: flex-end;
  gap: 15px;
  height: 148px;
  padding-top: 18px;
  display: flex;
}

.forecast-day {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 100%;
  display: flex;
}

.forecast-count {
  color: var(--muted);
  font-size: 10px;
}

.forecast-bar {
  background: #e1e9d6;
  border-radius: 5px 5px 2px 2px;
  width: 100%;
  max-width: 36px;
  min-height: 3px;
}

.forecast-day:first-child .forecast-bar {
  background: #668454;
}

.forecast-label {
  color: var(--muted);
  white-space: nowrap;
  font-size: 10px;
}

.memory-list {
  gap: 15px;
  display: grid;
}

.memory-row {
  grid-template-columns: 78px 1fr 30px;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  display: grid;
}

.memory-track {
  background: #f0f3eb;
  border-radius: 6px;
  height: 6px;
  overflow: hidden;
}

.memory-fill {
  background: #73905e;
  border-radius: 6px;
  height: 100%;
}

.memory-row:nth-child(3) .memory-fill {
  background: #b3bd8d;
}

.memory-row:nth-child(4) .memory-fill {
  background: #d1bd8f;
}

.memory-row:nth-child(5) .memory-fill {
  background: #c99880;
}

.plan-section {
  margin-top: 24px;
}

.plan-form {
  grid-template-columns: minmax(180px, 1.3fr) 1fr auto;
  align-items: end;
  gap: 16px;
  display: grid;
}

.plan-note {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 11px;
  display: flex;
}

.plan-list {
  gap: 12px;
  display: grid;
}

.plan-row {
  background: #fafbf7;
  border: 1px solid #e9ece2;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  display: flex;
}

.plan-row h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.plan-row p {
  color: var(--muted);
  font-size: 11px;
}

.plan-daily {
  white-space: nowrap;
  font-size: 24px;
}

.plan-daily span {
  color: var(--muted);
  text-align: right;
  font-size: 10px;
  display: block;
}

.onboarding {
  background: #eef4e7;
  border: 1px solid #dce6d0;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px 22px;
  display: flex;
}

.onboarding p {
  color: var(--muted);
  font-size: 12px;
}

.onboarding strong {
  margin-bottom: 3px;
  font-size: 14px;
  display: block;
}

.login-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  max-width: 980px;
  min-height: calc(100vh - 180px);
  margin: auto;
  padding: 70px 28px;
  display: grid;
}

.login-story h1 {
  margin: 22px 0;
  font-size: 40px;
  line-height: 1.5;
}

.login-story > p {
  color: var(--muted);
  max-width: 340px;
  font-size: 14px;
}

.login-quote {
  font: italic 25px/1.6 var(--serif);
  color: #6c8359;
  border-left: 2px solid #b5c6a2;
  margin-top: 40px;
  padding-left: 20px;
}

.login-quote small {
  color: var(--muted);
  margin-top: 12px;
  font: 11px sans-serif;
  display: block;
}

.login-card {
  padding: 36px;
}

.login-card h2 {
  margin: 10px 0;
  font-size: 24px;
}

.login-card > p {
  color: var(--muted);
  font-size: 13px;
}

.login-buttons {
  gap: 12px;
  margin: 28px 0;
  display: grid;
}

.oauth-button {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border-color: #dce3d4;
  justify-content: flex-start;
  gap: 18px;
}

.oauth-button:hover {
  color: var(--ink);
  background: #f2f5ee;
}

.oauth-button .provider-symbol {
  text-align: center;
  width: 20px;
  font-size: 18px;
  font-weight: 700;
}

.oauth-button small {
  color: #98a08e;
  margin-left: auto;
  font-size: 10px;
}

.login-footnote {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  line-height: 1.9;
  font-size: 11px !important;
}

.error-panel {
  max-width: 620px;
  margin: 80px auto;
}

.error-panel h1 {
  margin: 16px 0;
  font-size: 25px;
}

.error-panel p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 14px;
}

@media (max-width: 1240px) {
  .page-wrap, .site-footer {
    margin-left: 32px;
    margin-right: 32px;
  }

  .welcome-hero {
    gap: 45px;
  }

  .encounter-tag {
    right: -10px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 75px;
  }

  .site-nav {
    gap: 15px;
    width: calc(100% - 36px);
  }

  .brand {
    font-size: 23px;
  }

  .brand-symbol {
    width: 31px;
    height: 31px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .nav-links .nav-optional {
    display: none;
  }

  .page-wrap {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 30px;
  }

  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 25px 0 45px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .study-preview {
    justify-self: center;
    width: 100%;
    max-width: 450px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step-item {
    grid-template-columns: 30px 1fr;
    column-gap: 12px;
    display: grid;
  }

  .step-number {
    grid-row: 1 / 3;
  }

  .step-item h3 {
    margin: 0 0 8px;
  }

  .encounter-story {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 42px;
    padding: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stats-grid .card {
    padding: 20px;
  }

  .dashboard-columns, .plan-form {
    grid-template-columns: 1fr;
  }

  .page-heading {
    align-items: flex-start;
  }

  .page-heading > .pill {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading .text-link {
    font-size: 11px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 20px 0;
  }

  .login-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 480px;
    padding: 40px 20px;
  }

  .login-story h1 {
    font-size: 30px;
  }

  .login-story > .eyebrow, .login-quote {
    display: none;
  }

  .login-card {
    padding: 28px;
  }

  .card {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.statistics-chart {
  margin: 24px 0 12px;
}

.statistics-chart svg {
  width: 100%;
  max-height: 300px;
  display: block;
  overflow: visible;
}

.statistics-chart circle {
  cursor: pointer;
}

.statistics-chart circle:focus {
  stroke: #b1c49c;
  stroke-width: 5px;
  outline: none;
}

.chart-detail {
  min-height: 30px;
  color: var(--muted);
  font-size: 12px;
}

.statistics-value {
  margin: 16px 0;
  font-size: clamp(20px, 2.5vw, 30px);
}

.statistics-details {
  margin-top: 22px;
  font-size: 13px;
}

.statistics-details summary {
  cursor: pointer;
  color: var(--green);
}

.table-scroll {
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
}

.table-scroll table {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  font-size: 12px;
}

.table-scroll td, .table-scroll th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 11px 14px;
}

.statistics-breakdown, .statistics-words {
  margin-top: 20px;
}

.statistics-breakdown > div, .statistics-words > a {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  font-size: 13px;
  display: flex;
}

.statistics-words p, .statistics-words > a > span {
  color: var(--muted);
  font-size: 12px;
}

.statistics-words > a > span {
  text-align: right;
  flex-shrink: 0;
}

.settings-page {
  max-width: 1000px;
}

.memory-settings-form {
  gap: 18px;
  display: grid;
}

.memory-settings-form .plan-form {
  grid-template-columns: 1fr 1fr;
}

.memory-settings-form details {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.memory-settings-form details > * + * {
  margin-top: 18px;
}

.memory-settings-form summary {
  color: var(--green);
  cursor: pointer;
}

.checkbox-setting {
  align-items: center;
  gap: 8px;
  display: flex;
}

.settings-actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.memory-settings-form textarea {
  overflow-wrap: anywhere;
  width: 100%;
}

@media (max-width: 600px) {
  .memory-settings-form .plan-form {
    grid-template-columns: 1fr;
  }
}

.admin-import-fields {
  border: 0;
  gap: 18px;
  min-width: 0;
  padding: 0;
  display: grid;
}

.word-search {
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
  display: flex;
}

.word-search label {
  flex: 1;
  gap: 8px;
  min-width: 0;
  max-width: 400px;
  display: grid;
}

.word-search input {
  width: 100%;
  min-width: 0;
}

.word-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  display: grid;
}

.word-title {
  font-size: 24px;
  font-family: var(--serif);
  font-weight: 700;
}

.load-more {
  margin-top: 24px;
}

.timeline-entry {
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  padding: 16px 0;
}

.nav-mobile {
  display: none;
}

.nav-actions {
  flex: none;
  align-items: center;
  gap: 14px;
  display: flex;
}

.nav-links {
  margin-left: auto;
}

.header-menu {
  position: relative;
}

.header-menu summary {
  cursor: pointer;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  font-size: 13px;
  list-style: none;
  display: flex;
}

.header-menu summary::-webkit-details-marker {
  display: none;
}

.header-menu summary:focus-visible, .header-menu-panel a:focus-visible, .header-menu-panel button:focus-visible {
  outline: 2px solid var(--accent, #416847);
  outline-offset: 4px;
  border-radius: 8px;
}

.header-menu-panel {
  z-index: 60;
  background: var(--surface, #fffefb);
  border: 1px solid var(--line, #e1e6dc);
  border-radius: 14px;
  min-width: 170px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  box-shadow: 0 12px 36px #20321c12;
}

.header-menu-panel a, .header-menu-panel button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
}

.header-menu-panel a:hover, .header-menu-panel button:hover, .header-menu-panel a[aria-current="true"] {
  background: #eff3e9;
}

.account-panel {
  min-width: 250px;
  max-width: min(320px, 100vw - 32px);
}

.account-panel p {
  padding: 8px 12px;
  font-size: 12px;
}

.account-identity {
  overflow-wrap: anywhere;
  border-bottom: 1px solid #e1e6dc;
  gap: 4px;
  margin-bottom: 5px;
  padding: 12px;
  display: grid;
}

.account-identity span {
  color: #788276;
  font-size: 12px;
}

.account-avatar {
  object-fit: cover;
  border-radius: 50%;
  flex: none;
  width: 32px;
  height: 32px;
  display: block;
}

.account-initial {
  color: #416847;
  background: #eaf0e2;
  place-items: center;
  font-size: 14px;
  display: grid;
}

:lang(en) .hero-copy h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.14;
}

:lang(en) .hero-actions {
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .nav-mobile {
    display: block;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .site-nav > a .brand > span:last-child {
    display: none;
  }
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/