/* [project]/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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --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;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@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, ui-sans-serif, system-ui, 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 {
    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 {
  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .isolate {
    isolation: isolate;
  }

  .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;
    }
  }

  .block {
    display: block;
  }

  .block\! {
    display: block !important;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .shrink {
    flex-shrink: 1;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

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

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

  .lowercase {
    text-transform: lowercase;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .underline {
    text-decoration-line: underline;
  }

  .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);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

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

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .\[a\:b\] {
    a: b;
  }

  .\[admin\:warn\] {
    admin: warn;
  }
}

@media (min-width: 1280px) {
  :root {
    --nav-width: 64px;
    --nav-item-size: 48px;
    --nav-letter-size: 16px;
    --nav-label-size: 9px;
    --topbar-font: 14px;
    --topbar-padding: 0 20px;
    --chat-content-width: 860px;
    --content-max-width: 1100px;
    --content-padding: 24px;
    --content-padding-top: 24px;
    --section-gap: 24px;
    --row-height: 64px;
    --row-padding: 12px 16px;
    --card-radius: 10px;
    --card-gap: 10px;
    --text-xs: 10px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 17px;
    --text-xl: 22px;
    --text-2xl: 32px;
  }
}

@media (min-width: 1536px) {
  :root {
    --nav-width: 72px;
    --nav-item-size: 52px;
    --nav-letter-size: 17px;
    --nav-label-size: 10px;
    --topbar-font: 15px;
    --topbar-padding: 0 24px;
    --chat-content-width: 920px;
    --content-max-width: 1280px;
    --content-padding: 32px;
    --content-padding-top: 28px;
    --section-gap: 28px;
    --row-height: 68px;
    --row-padding: 14px 20px;
    --card-radius: 10px;
    --card-gap: 12px;
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 18px;
    --text-xl: 24px;
    --text-2xl: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --chat-content-width: 100%;
  }
}

:root {
  --nav-width: 56px;
  --nav-item-size: 44px;
  --nav-letter-size: 15px;
  --nav-label-size: 8px;
  --topbar-font: 14px;
  --topbar-padding: 0 16px;
  --chat-content-width: 820px;
  --content-max-width: 960px;
  --content-padding: 20px;
  --content-padding-top: 20px;
  --section-gap: 20px;
  --row-height: 60px;
  --row-padding: 12px 14px;
  --card-radius: 8px;
  --card-gap: 8px;
  --bg: #fff;
  --white: #fff;
  --ink: #2c2c2a;
  --ink2: #1a1a1a;
  --muted: #666;
  --faint: #eceae3;
  --amber: #ef9f27;
  --amberlite: #faeeda;
  --green: #eaf3de;
  --greentxt: #27500a;
  --redlite: #fcebeb;
  --redtxt: #e24b4a;
  --ambertxt: #854f0b;
  --r: var(--radius-md);
  --rl: var(--radius-lg);
  --rxl: 16px;
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow-md: 3px 3px 0 var(--ink);
  --shadow-lg: 5px 5px 0 var(--ink);
  --shadow-xl: 8px 8px 0 var(--ink);
  --topbar-h: 52px;
  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-hero: 48px;
  --muted-light: #767676;
  --muted-faint: #949494;
  --surface: #f7f5f0;
  --surface-alt: #faf9f7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 20px;
  --bubble-border: #c8c0b0;
  --bubble-shadow: 2px 3px 0 #b4a07833;
  --amber-light: #fff3dc;
  --amber-dark: #854f0b;
  --amber-deeper: #412402;
  --ink-mid: #666;
  --ink-light: #999;
  --ink-faint: #bbb;
  --surface-warm: #f0ede8;
  --border: #0000001a;
  --border-mid: #00000026;
  --border-strong: #00000040;
  --subj-english: #378add;
  --subj-science: #1d9e75;
  --subj-maths: #ef9f27;
  --subj-cs: #7f77dd;
  --subj-general: #888;
  --c-green: #eaf3de;
  --c-green-text: #27500a;
  --c-amber-sem: #faeeda;
  --c-amber-text: #854f0b;
  --c-red: #fcebeb;
  --c-red-text: #a32d2d;
  --c-blue: #e6f1fb;
  --c-blue-text: #185fa5;
  --c-teal: #e1f5ee;
  --c-teal-text: #0f6e56;
  --c-purple: #eeedfe;
  --c-purple-text: #534ab7;
  --transition-fast: .15s ease;
  --transition-panel: .25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes lumi-shake {
  0%, 100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-2px);
  }
}

.lumi-shake {
  animation: .4s ease-in-out lumi-shake;
}

@keyframes lumi-hint-glow {
  0%, 100% {
    box-shadow: 0 0 #ef9f2700;
  }

  50% {
    box-shadow: 0 0 12px 4px #ef9f2766;
  }
}

.lumi-hint-glow {
  animation: 1.5s infinite lumi-hint-glow;
}

html[data-theme="mono"] {
  --bg: #fff;
  --surface: #fff;
  --surface-alt: #f5f5f5;
  --surface-warm: #f0f0ef;
  --border: #e5e5e5;
  --border-mid: #d4d4d4;
  --faint: #e5e5e5;
  --ink2: #1a1a18;
  --muted: #4a4a47;
  --muted-light: #6a6a67;
  --muted-faint: #a8a8a5;
  --bubble-border: #e0e0de;
  --bubble-shadow: 0 1px 3px #0000000f;
  --radius-lg: 10px;
  --rxl: 12px;
  --nav-width: 80px;
  --nav-item-size: 48px;
  --nav-letter-size: 15.6px;
  --nav-label-size: 8px;
  --topbar-h: 52px;
  --topbar-font: 13px;
  --topbar-padding: 0 20px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow-sm: 2px 2px 0 #2c2c2a;
  --shadow-md: 3px 3px 0 #2c2c2a;
  --shadow-lg: 5px 5px 0 #2c2c2a;
}

html[data-theme="mono"] .lumiore-nav-btn.active {
  background: #1717171a;
}

html[data-theme="mono"] .lumiore-nav-btn:hover:not(.active) {
  background: #1717170d;
}

html[data-theme="mono"] .lumiore-btn-primary {
  color: #fff;
  box-shadow: none;
  background: #1a1a18;
  border-color: #1a1a18;
}

html[data-theme="mono"] .lumiore-btn-ghost {
  box-shadow: none;
  border-color: #e0e0de;
}

html[data-theme="mono"] .settings-tab.active {
  border-bottom-color: var(--ink2);
}

html[data-theme="mono"] .lumiore-score-card, html[data-theme="mono"] .lumiore-bubble-ai {
  box-shadow: var(--shadow-sm);
  border-color: var(--faint);
}

html[data-theme="mono"] .s-save-btn {
  box-shadow: none;
  border: 1px solid #e5e5e5;
}

html[data-theme="mono"] .s-save-btn:hover {
  box-shadow: none;
  border-color: #2c2c2a;
  transform: none;
}

html[data-theme="mono"] .btn-signout {
  box-shadow: none;
  border: 1px solid #2c2c2a;
}

html[data-theme="mono"] .btn-export {
  border: 1px solid #e5e5e5;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.lumiore-skip-link {
  background: var(--amber);
  color: #fff;
  z-index: 1000;
  border-radius: 0 0 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
  top: -40px;
  left: 0;
}

.lumiore-skip-link:focus {
  top: 0;
}

.lumiore-nav-strip-minimal {
  width: var(--nav-width);
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 50;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
  display: flex;
}

.lumiore-topbar-minimal {
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--topbar-padding);
  z-index: 100;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

.lumiore-page-content {
  padding: var(--content-padding-top) var(--content-padding);
  flex: 1;
  overflow-y: auto;
}

.lumiore-page-content > * {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.lumiore-accent-box {
  border-radius: var(--card-radius);
  margin-bottom: var(--card-gap);
  font-size: var(--text-sm);
  border-left: 4px solid var(--amber);
  background: var(--c-amber-sem);
  color: var(--c-amber-text);
  padding: 10px 14px;
  line-height: 1.5;
}

.lumiore-accent-box-red {
  border-left-color: var(--c-red-text);
  background: var(--c-red);
  color: var(--c-red-text);
}

.lumiore-accent-box-green {
  border-left-color: var(--c-green-text);
  background: var(--c-green);
  color: var(--c-green-text);
}

.lumiore-meta-grid {
  gap: var(--card-gap);
  margin-bottom: var(--section-gap);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  display: grid;
}

.lumiore-meta-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--row-padding);
  text-align: center;
}

.lumiore-meta-cell-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.lumiore-meta-cell-val {
  font-size: var(--text-xl);
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-serif);
}

.rpt-main {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.rpt-sub-nav {
  border-bottom: 1px solid var(--border, #e5e5e5);
  flex-shrink: 0;
}

.rpt-tab-row {
  padding: 0 20px;
  display: flex;
}

.rpt-tab {
  color: var(--muted, #737373);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 10px 16px;
  transition: all .15s;
}

.rpt-tab.active {
  color: var(--ink, #2c2c2a);
  border-bottom-color: var(--amber, #ef9f27);
}

.rpt-subj-row {
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  display: flex;
}

.rpt-sp {
  cursor: pointer;
  border: 1px solid var(--border, #e5e5e5);
  background: var(--secondary, #f5f5f5);
  color: var(--muted, #737373);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 9999px;
  padding: 4px 14px;
  transition: all .12s;
}

.rpt-sp.active {
  background: var(--amber, #ef9f27);
  border-color: var(--ink, #2c2c2a);
  box-shadow: var(--shadow-sm);
  color: var(--ink, #2c2c2a);
}

.rpt-expl-wrap {
  flex-shrink: 0;
  padding: 8px 24px 0;
}

.rpt-expl-btn {
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e5e5e5);
  cursor: pointer;
  width: 100%;
  color: var(--muted, #737373);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  transition: all .12s;
  display: flex;
}

.rpt-expl-btn:hover {
  border-color: var(--amber, #ef9f27);
  color: var(--ink, #2c2c2a);
}

.rpt-expl-body {
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e5e5e5);
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 0;
  transition: max-height .35s;
  overflow: hidden;
}

.rpt-expl-body.open {
  max-height: 800px;
}

.rpt-expl-inner {
  padding: 20px 20px 16px;
}

.rpt-expl-layout {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  display: flex;
}

.rpt-expl-svg-wrap {
  flex-shrink: 0;
  width: 200px;
}

.rpt-expl-right {
  flex: 1;
}

.rpt-expl-intro {
  color: var(--muted, #737373);
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.7;
}

.rpt-expl-intro strong {
  color: var(--foreground, #171717);
}

.rpt-taxonomy {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 14px;
  font-size: 11px;
}

.rpt-taxonomy th {
  background: var(--ink, #2c2c2a);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-taxonomy th:first-child {
  border-radius: 6px 0 0;
}

.rpt-taxonomy th:last-child {
  border-radius: 0 6px 0 0;
}

.rpt-taxonomy tr:nth-child(2n) td {
  background: #fafafa;
}

.rpt-taxonomy td {
  border-bottom: 1px solid var(--border, #e5e5e5);
  vertical-align: top;
  color: var(--ink, #2c2c2a);
  padding: 8px 10px;
  line-height: 1.5;
}

.rpt-taxonomy td:first-child {
  white-space: nowrap;
  font-weight: 700;
}

.rpt-taxonomy td .tax-example {
  color: var(--muted, #737373);
  margin-top: 3px;
  font-size: 10px;
  font-style: italic;
}

.rpt-type-pill {
  border-radius: 10px;
  margin-bottom: 3px;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 700;
  display: inline-block;
}

.rpt-tp-proc {
  color: #854f0b;
  background: #faeeda;
}

.rpt-tp-conc {
  color: #185fa5;
  background: #e6f1fb;
}

.rpt-tp-misc {
  color: #a32d2d;
  background: #fcebeb;
}

.rpt-tp-tran {
  color: #27500a;
  background: #eaf3de;
}

.rpt-tp-care {
  color: #534ab7;
  background: #eeedfe;
}

.rpt-tp-reca {
  color: #737373;
  background: #f5f5f5;
}

.rpt-refs {
  background: var(--secondary, #f5f5f5);
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 8px;
  padding: 12px 14px;
}

.rpt-refs-title {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted, #737373);
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-refs-grid {
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  display: grid;
}

.rpt-ref-item {
  color: var(--muted, #737373);
  font-size: 10px;
  line-height: 1.5;
}

.rpt-ref-item a {
  color: var(--amber, #ef9f27);
  font-weight: 600;
  text-decoration: none;
}

.rpt-ref-item a:hover {
  text-decoration: underline;
}

.rpt-prog-bar {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 12px 24px 8px;
  display: flex;
}

.rpt-prog-step {
  background: var(--border, #e5e5e5);
  cursor: pointer;
  border-radius: 2px;
  flex: 1;
  height: 3px;
  transition: background .4s;
}

.rpt-prog-step.done {
  background: var(--amber, #ef9f27);
}

.rpt-prog-step.cur {
  background: var(--ink, #2c2c2a);
}

.rpt-prog-label {
  color: var(--muted, #737373);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
}

.rpt-card-container {
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 10px 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.rpt-story-card {
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e5e5e5);
  will-change: transform, opacity;
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100% - 8px);
  padding: 24px 32px;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1), opacity .42s;
  position: absolute;
  overflow-y: auto;
}

.rpt-story-card.active {
  opacity: 1;
  transform: translateX(0);
}

.rpt-story-card.prev {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-112%);
}

.rpt-story-card.nxt {
  opacity: 0;
  pointer-events: none;
  transform: translateX(112%);
}

.rpt-c-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted, #737373);
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.rpt-c-dot {
  background: var(--amber, #ef9f27);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.rpt-c-h {
  font-family: var(--font-serif);
  color: var(--foreground, #171717);
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.rpt-c-h em {
  color: var(--amber, #ef9f27);
  font-style: normal;
}

.rpt-c-h .rpt-red {
  color: var(--c-red-text);
}

.rpt-c-p {
  color: var(--muted, #737373);
  max-width: 540px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.rpt-c-p strong {
  color: var(--foreground, #171717);
  font-weight: 600;
}

.rpt-stat-row {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.rpt-sbox {
  background: var(--secondary, #f5f5f5);
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 10px;
  flex: 1;
  min-width: 76px;
  padding: 9px 12px;
}

.rpt-sbox.ab {
  border-color: var(--amber, #ef9f27);
  background: #faeeda;
}

.rpt-sbox.gb {
  background: #eaf3de;
  border-color: #c0dd97;
}

.rpt-sbox-n {
  font-family: var(--font-serif);
  color: var(--foreground, #171717);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.rpt-sbox.ab .rpt-sbox-n {
  color: #854f0b;
}

.rpt-sbox.gb .rpt-sbox-n {
  color: #27500a;
}

.rpt-sbox-l {
  color: var(--muted, #737373);
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.3;
}

.rpt-sbox.ab .rpt-sbox-l {
  color: #854f0b;
}

.rpt-sbox.gb .rpt-sbox-l {
  color: #27500a;
}

.rpt-ibox {
  border-left: 3px solid var(--amber, #ef9f27);
  background: #faeeda;
  border-radius: 0 8px 8px 0;
  margin-top: 9px;
  padding: 8px 12px;
}

.rpt-ibox-lbl {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #854f0b;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-ibox-txt {
  color: var(--foreground, #171717);
  font-size: 11px;
  line-height: 1.5;
}

.rpt-dbox {
  border-left: 3px solid var(--c-red-text);
  background: #fcebeb;
  border-radius: 0 8px 8px 0;
  margin-top: 9px;
  padding: 8px 12px;
}

.rpt-dbox-txt {
  color: var(--c-red-text);
  font-size: 11px;
  line-height: 1.5;
}

.rpt-fp-layout {
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.rpt-fp-r {
  flex: 1;
}

.rpt-conf3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
  display: grid;
}

.rpt-cb {
  text-align: center;
  border-radius: 8px;
  padding: 8px 6px;
}

.rpt-cb-v {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.rpt-cb-l {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
}

.rpt-cb-ok {
  background: #eaf3de;
}

.rpt-cb-ok .rpt-cb-v, .rpt-cb-ok .rpt-cb-l {
  color: #27500a;
}

.rpt-cb-wn {
  border: 1.5px solid var(--c-red-text);
  background: #fcebeb;
}

.rpt-cb-wn .rpt-cb-v, .rpt-cb-wn .rpt-cb-l {
  color: var(--c-red-text);
}

.rpt-cb-ns {
  background: var(--secondary, #f5f5f5);
}

.rpt-cb-ns .rpt-cb-v, .rpt-cb-ns .rpt-cb-l {
  color: var(--muted, #737373);
}

.rpt-pull {
  border-left: 3px solid var(--amber, #ef9f27);
  background: var(--secondary, #f5f5f5);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
}

.rpt-pull-lbl {
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #854f0b;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-pull-txt {
  color: var(--foreground, #171717);
  font-size: 12px;
  line-height: 1.65;
  font-family: var(--font-serif);
  font-weight: 400;
}

.rpt-arc-big {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.rpt-arc-n {
  font-family: var(--font-serif);
  color: var(--muted, #737373);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.rpt-arc-arr {
  color: var(--border, #e5e5e5);
  font-size: 22px;
}

.rpt-arc-n2 {
  font-family: var(--font-serif);
  color: #27500a;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.rpt-arc-boxes {
  gap: 8px;
  display: flex;
}

.rpt-arb {
  border: 1px solid var(--border, #e5e5e5);
  text-align: center;
  border-radius: 8px;
  flex: 1;
  padding: 7px 10px;
}

.rpt-arb.g {
  background: #eaf3de;
  border-color: #c0dd97;
}

.rpt-arb.a {
  border-color: var(--amber, #ef9f27);
  background: #faeeda;
}

.rpt-arb-l {
  color: var(--muted, #737373);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 9px;
}

.rpt-arb.g .rpt-arb-l {
  color: #27500a;
}

.rpt-arb.a .rpt-arb-l {
  color: #854f0b;
}

.rpt-arb-v {
  font-family: var(--font-serif);
  color: var(--foreground, #171717);
  font-size: 17px;
  font-weight: 700;
}

.rpt-arb.g .rpt-arb-v {
  color: #27500a;
}

.rpt-arb.a .rpt-arb-v {
  color: #854f0b;
}

.rpt-spot {
  border: 1px solid;
  border-radius: 8px;
  margin-bottom: 4px;
  padding: 6px 10px;
}

.rpt-spot:last-child {
  margin-bottom: 0;
}

.rpt-spot.p {
  background: #fcebeb;
  border-color: #f0aaaa;
}

.rpt-spot.f {
  background: #faeeda;
  border-color: #fac775;
}

.rpt-spot.r {
  background: var(--secondary, #f5f5f5);
  border-color: var(--border, #e5e5e5);
}

.rpt-srow {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.rpt-sn {
  color: var(--foreground, #171717);
  font-size: 13px;
  font-weight: 600;
}

.rpt-sm {
  margin-top: 2px;
  font-size: 11px;
}

.rpt-spot.p .rpt-sm {
  color: var(--c-red-text);
}

.rpt-spot.f .rpt-sm {
  color: #854f0b;
}

.rpt-spot.r .rpt-sm {
  color: var(--muted, #737373);
}

.rpt-spill2 {
  border: 1px solid;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-spot.p .rpt-spill2 {
  color: var(--c-red-text);
  border-color: var(--c-red-text);
}

.rpt-spot.f .rpt-spill2 {
  color: #854f0b;
  border-color: var(--amber, #ef9f27);
}

.rpt-spot.r .rpt-spill2 {
  color: var(--muted, #737373);
  border-color: var(--border, #e5e5e5);
}

.rpt-cbar {
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  display: flex;
}

.rpt-ct {
  background: #00000014;
  border-radius: 3px;
  width: 56px;
  height: 5px;
  overflow: hidden;
}

.rpt-cf {
  border-radius: 3px;
  height: 100%;
}

.rpt-cl {
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}

.rpt-action-box {
  border-left: 3px solid var(--amber, #ef9f27);
  background: #faeeda;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
  padding: 11px 15px;
}

.rpt-action-lbl {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #854f0b;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
}

.rpt-action-txt {
  color: var(--foreground, #171717);
  font-size: 12px;
  line-height: 1.6;
}

.rpt-pv-row {
  color: var(--muted, #737373);
  border-top: 1px solid var(--border, #e5e5e5);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 11px;
  display: flex;
}

.rpt-pv-label {
  color: var(--muted, #737373);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}

.rpt-pv-btn {
  border: 1px solid var(--border, #e5e5e5);
  cursor: pointer;
  color: var(--muted, #737373);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  background: none;
  border-radius: 6px;
  padding: 4px 12px;
  transition: all .12s;
}

.rpt-pv-btn:hover {
  border-color: var(--ink, #2c2c2a);
  color: var(--ink, #2c2c2a);
}

.rpt-pv-btn.agree {
  color: #27500a;
  background: #eaf3de;
  border-color: #27500a;
}

.rpt-pv-btn.disagree {
  border-color: var(--c-red-text);
  color: var(--c-red-text);
  background: #fcebeb;
}

.rpt-pv-btn.note-active {
  border-color: var(--amber, #ef9f27);
  color: #854f0b;
  background: #faeeda;
}

.rpt-pv-sep {
  color: var(--border, #e5e5e5);
}

.rpt-pv-form {
  width: 100%;
  margin-top: 8px;
  display: none;
}

.rpt-pv-form.open {
  display: block;
}

.rpt-pv-ta {
  width: 100%;
  font-size: 11px;
  font-family: var(--font-sans);
  border: 1px solid var(--border, #e5e5e5);
  resize: none;
  background: var(--bg, #fff);
  min-height: 52px;
  color: var(--ink, #2c2c2a);
  border-radius: 6px;
  outline: none;
  padding: 7px 10px;
}

.rpt-pv-ta:focus {
  border-color: var(--amber, #ef9f27);
}

.rpt-pv-sub {
  background: var(--amber, #ef9f27);
  border: 1.5px solid var(--ink, #2c2c2a);
  box-shadow: var(--shadow-sm);
  color: var(--ink, #2c2c2a);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 6px;
  margin-top: 5px;
  padding: 5px 14px;
}

.rpt-freshness {
  color: var(--muted, #737373);
  text-align: right;
  margin-top: 6px;
  font-size: 10px;
}

.rpt-card-nav {
  border-top: 1px solid var(--border, #e5e5e5);
  background: var(--bg, #fff);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  display: flex;
}

.rpt-nav-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.rpt-nav-counter {
  color: var(--muted, #737373);
  font-size: 12px;
  font-weight: 500;
}

.rpt-btn-back {
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e5e5e5);
  cursor: pointer;
  color: var(--muted, #737373);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  padding: 9px 20px;
  transition: all .12s;
}

.rpt-btn-back:hover {
  border-color: var(--ink, #2c2c2a);
  color: var(--ink, #2c2c2a);
}

.rpt-btn-next {
  background: var(--amber, #ef9f27);
  border: 2px solid var(--ink, #2c2c2a);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink, #2c2c2a);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  padding: 10px 26px;
  transition: transform .1s, box-shadow .1s;
}

.rpt-btn-next:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.rpt-skeleton {
  background: var(--faint, #f5f5f5);
  border-radius: 4px;
  animation: 1.2s ease-in-out infinite rptPulse;
}

@keyframes rptPulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.rpt-toast {
  background: var(--ink, #2c2c2a);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  transition: opacity .2s;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.rpt-toast.show {
  opacity: 1;
}

.rpt-view-all {
  text-align: center;
  margin-top: 10px;
}

.rpt-view-all-btn {
  color: var(--amber, #ef9f27);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: none;
  border: none;
}

.rpt-demo-watermark {
  z-index: 10;
  pointer-events: none;
  transform-origin: center;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: rotate(-25deg);
}

.rpt-demo-watermark span {
  color: #1717170f;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.rpt-demo-banner {
  color: #854f0b;
  background: #faeeda;
  border: 1px solid #ef9f27;
  border-radius: 8px;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin: 8px 24px 0;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
}

.rpt-demo-banner-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.rpt-reliability-banner {
  flex-shrink: 0;
  padding: 8px 24px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.rpt-reliability-early {
  color: #854f0b;
  background: #faeeda;
  border-bottom: 1px solid #ef9f27;
}

.rpt-reliability-ok {
  color: #737373;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
}

.rpt-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px;
}

.ivc-card {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  max-width: 320px;
  margin-top: 10px;
  padding: 10px 12px;
}

.ivc-label {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.ivc-score-row {
  border-bottom: 1px solid var(--faint);
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  display: flex;
}

.ivc-score-row:last-child {
  border-bottom: none;
}

.ivc-score-subj {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-serif);
  min-width: 50px;
}

.ivc-score-box {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 1px 6px;
  display: inline-flex;
}

.ivc-score-first {
  background: var(--faint);
  color: var(--muted);
}

.ivc-score-latest {
  background: var(--amberlite);
  color: var(--ambertxt);
  border: 1px solid var(--amber);
}

.ivc-score-best {
  background: var(--green);
  color: var(--greentxt);
  border: 1px solid var(--greentxt);
}

.ivc-score-arrow {
  color: var(--muted);
  font-size: 10px;
}

.ivc-trend {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
}

.ivc-trend-up {
  color: var(--greentxt);
}

.ivc-trend-down {
  color: var(--redtxt);
}

.ivc-trend-flat {
  color: var(--muted);
}

.ivc-spot {
  border-left: 3px solid;
  border-radius: 6px;
  margin-bottom: 4px;
  padding: 5px 8px;
}

.ivc-spot:last-child {
  margin-bottom: 0;
}

.ivc-spot-red {
  border-color: var(--redtxt);
  background: var(--redlite);
}

.ivc-spot-amber {
  border-color: var(--amber);
  background: var(--amberlite);
}

.ivc-spot-green {
  border-color: var(--greentxt);
  background: var(--green);
}

.ivc-spot-topic {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-serif);
}

.ivc-spot-meta {
  color: var(--muted);
  margin-top: 1px;
  font-size: 10px;
}

.ivc-pill {
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 8px;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 600;
  display: inline-block;
}

.ivc-pill-red {
  background: var(--redlite);
  color: var(--redtxt);
}

.ivc-pill-amber {
  background: var(--amberlite);
  color: var(--ambertxt);
}

.ivc-pill-green {
  background: var(--green);
  color: var(--greentxt);
}

.ivc-snap-header {
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  display: flex;
}

.ivc-snap-subj {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-serif);
}

.ivc-snap-badge {
  text-transform: uppercase;
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 9px;
  font-weight: 600;
}

.ivc-snap-badge-good {
  background: var(--green);
  color: var(--greentxt);
}

.ivc-snap-badge-warn {
  background: var(--amberlite);
  color: var(--ambertxt);
}

.ivc-snap-badge-none {
  background: var(--faint);
  color: var(--muted);
}

.ivc-snap-grid {
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  display: grid;
}

.ivc-snap-cell-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 9px;
  font-family: var(--font-sans);
}

.ivc-snap-cell-value {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.ivc-snap-cell-warn {
  color: var(--ambertxt);
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #d4d0c8;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8b4ac;
}

.font-hand {
  font-family: var(--font-hand) !important;
}

.font-serif {
  font-family: var(--font-serif) !important;
}

.font-sans {
  font-family: var(--font-sans) !important;
}

.lumiore-a1-wrap {
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  display: flex;
  position: relative;
}

.lumiore-a1-wrap .ring {
  opacity: 0;
  border: 1.8px solid #ef9f27;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation-name: lumioA1Ring;
  animation-duration: 2.6s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  position: absolute;
}

.lumiore-a1-wrap .r1 {
  animation-delay: 0s;
}

.lumiore-a1-wrap .r2 {
  animation-delay: .65s;
}

.lumiore-a1-wrap .r3 {
  animation-delay: 1.3s;
}

.lumiore-a1-wrap .r4 {
  animation-delay: 1.95s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lumioA1Ring {
  0% {
    opacity: .9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(4.2);
  }
}

.lumiore-a1-L {
  font-family: var(--font-serif);
  color: #ef9f27;
  z-index: 2;
  text-shadow: 0 0 20px #f5a62366;
  letter-spacing: -1px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  animation: 2.6s ease-in-out infinite lumioLPulse;
  position: relative;
}

@keyframes lumioLPulse {
  0%, 100% {
    text-shadow: 0 0 12px #f5a6234d;
  }

  50% {
    text-shadow: 0 0 24px #f5a623b3;
  }
}

.lumiore-a1-mini {
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
  position: relative;
}

.lumiore-a1-mini .ring {
  opacity: 0;
  border: 1.2px solid #ef9f27;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation-name: lumioA1Ring;
  animation-duration: 2.6s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  position: absolute;
}

.lumiore-a1-mini .r1 {
  animation-delay: 0s;
}

.lumiore-a1-mini .r2 {
  animation-delay: .65s;
}

.lumiore-a1-mini .r3 {
  animation-delay: 1.3s;
}

.lumiore-a1-mini .r4 {
  animation-delay: 1.95s;
}

.lumiore-mark {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 28px;
  height: 28px;
  font-family: var(--font-serif);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  color: var(--ink);
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  box-shadow: 2px 2px #2c2c2a;
}

.lumiore-avatar {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 36px;
  height: 36px;
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 2px 2px #2c2c2a;
}

.lumiore-badge {
  background: var(--amber);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  white-space: nowrap;
  border-radius: 10px;
  padding: 3px 11px;
  font-size: 10px;
  font-weight: 600;
}

.lumiore-section-label {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
}

.lumiore-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
}

.lumiore-ctx-pill {
  color: #171717;
  white-space: nowrap;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: .875rem;
  font-weight: 500;
  display: flex;
}

.lumiore-ctx-dot {
  background: #171717;
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.lumiore-input-bar {
  border: 1px solid var(--amber-border-subtle);
  box-shadow: 0 1px 4px var(--amber-glow);
  background: #fff;
  border-radius: 12px;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  transition: border-color .15s;
  display: flex;
}

.lumiore-input-bar:focus-within {
  border-color: var(--amber-border-focus);
}

.lumiore-input-bar input, .lumiore-input-bar textarea, .lumiore-chat-input {
  font-family: var(--font-sans);
  color: #171717;
  resize: none;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  overflow-y: hidden;
}

.lumiore-input-bar input::placeholder, .lumiore-input-bar textarea::placeholder, .lumiore-chat-input::placeholder {
  color: #737373;
}

.lumiore-math-toggle-btn {
  color: #737373;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 2px;
  height: 28px;
  padding: 0 6px;
  font-size: 13px;
  font-style: italic;
  transition: all .12s;
  display: flex;
}

.lumiore-math-toggle-btn:hover, .lumiore-math-toggle-btn.active {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amberlite);
}

.lumiore-math-chevron {
  border-bottom: 2px solid;
  border-right: 2px solid;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  transition: transform .15s, margin-bottom .15s;
  display: inline-block;
  transform: rotate(45deg);
}

.lumiore-math-toggle-btn.active .lumiore-math-chevron {
  margin-bottom: -1px;
  transform: rotate(-135deg);
}

.lumiore-math-popover {
  border: 1px solid var(--amber-border-subtle);
  background: #fff;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  display: flex;
}

.lumiore-math-chip {
  color: #171717;
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.4;
  transition: all .1s;
}

.lumiore-math-chip:hover {
  border-color: var(--amber);
  background: var(--amberlite);
}

.lumiore-attach-btn {
  color: #737373;
  cursor: pointer;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  transition: all .12s;
  display: flex;
}

.lumiore-attach-btn:hover {
  color: #171717;
  border-color: #171717;
}

.lumiore-attach-btn.has-file {
  color: var(--amber);
  border-color: var(--amber);
}

.lumiore-send {
  color: #737373;
  cursor: default;
  background: #f5f5f5;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 700;
  transition: all .12s;
  display: flex;
}

.lumiore-send:not(:disabled) {
  background: var(--amber);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
}

.lumiore-send:not(:disabled):hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.lumiore-chip-g {
  background: var(--green);
  color: var(--greentxt);
  border: 1px solid #b8d98a;
}

.lumiore-chip-a {
  background: var(--amberlite);
  color: var(--ambertxt);
  border: 1px solid #f5c97a;
}

.lumiore-chip-r {
  background: var(--redlite);
  color: var(--redtxt);
  border: 1px solid #f0aaaa;
}

.lumiore-hint-chip {
  border: 1.5px solid var(--faint);
  color: #666;
  cursor: pointer;
  background: var(--white);
  white-space: nowrap;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  transition: all .12s;
}

.lumiore-hint-chip:hover {
  border-color: var(--amber);
  color: var(--ink);
  background: var(--amberlite);
}

.lumiore-toggle {
  background: var(--border);
  cursor: pointer;
  border-radius: 11px;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  transition: background .2s;
  position: relative;
}

.lumiore-toggle.on {
  background: var(--amber);
}

.lumiore-toggle-thumb {
  background: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: transform .2s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #0003;
}

.lumiore-toggle.on .lumiore-toggle-thumb {
  transform: translateX(18px);
}

.lumiore-paper {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.lumiore-paper-spine {
  background: var(--amberlite);
  border-right: 2px solid var(--amber);
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 38px;
  padding: 36px 0;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.lumiore-paper-hole {
  border: 1.5px solid var(--amber);
  background: var(--bg);
  border-radius: 50%;
  width: 14px;
  height: 14px;
}

.lumiore-dl-btn {
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  width: 100%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-align: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 11px;
  transition: transform .1s, box-shadow .1s;
  display: block;
}

.lumiore-dl-btn:hover {
  box-shadow: var(--shadow-lg);
  transform: translate(-1px, -1px);
}

.lumiore-score-card, .lumiore-score-card *, .lumiore-mistake-table, .lumiore-mistake-table * {
  font-family: var(--font-sans) !important;
}

.lumiore-score-card .lumiore-score-num {
  font-family: var(--font-serif) !important;
}

.lumiore-correct {
  color: #2d5a10;
}

.lumiore-wrong {
  color: #8a1f1f;
}

.lumiore-tip {
  background: #faeeda;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
}

.lumiore-warn {
  color: #7a4500;
  font-weight: 600;
}

@layer animations {
  .mag-scan {
    animation: 2s ease-in-out infinite magScan;
  }

  @keyframes magScan {
    0%, 100% {
      transform: translateX(-14px);
    }

    50% {
      transform: translateX(14px);
    }
  }

  .comma-run {
    animation: .7s ease-in-out infinite alternate commaHop;
  }

  @keyframes commaHop {
    from {
      transform: translateY(0)rotate(-5deg);
    }

    to {
      transform: translateY(-8px)rotate(5deg);
    }
  }

  .pencil-chase {
    animation: 1.4s ease-in-out infinite alternate pencilGo;
  }

  @keyframes pencilGo {
    from {
      transform: translateX(-12px)rotate(-10deg);
    }

    to {
      transform: translateX(12px)rotate(-10deg);
    }
  }

  .wiz-star1 {
    animation: 2s ease-in-out infinite wizStar;
  }

  .wiz-star2 {
    animation: 2s ease-in-out .4s infinite wizStar;
  }

  .wiz-star3 {
    animation: 2s ease-in-out .8s infinite wizStar;
  }

  @keyframes wizStar {
    0%, 100% {
      opacity: 1;
      transform: scale(1)rotate(0);
    }

    50% {
      opacity: .15;
      transform: scale(.3)rotate(180deg);
    }
  }

  .cloth-wipe {
    animation: 1.4s ease-in-out infinite alternate clothWipe;
  }

  @keyframes clothWipe {
    from {
      transform: translateX(-20px)rotate(-8deg);
    }

    to {
      transform: translateX(20px)rotate(8deg);
    }
  }

  .polish-sp1 {
    animation: 1.4s .1s infinite polSp;
  }

  .polish-sp2 {
    animation: 1.4s .4s infinite polSp;
  }

  .polish-sp3 {
    animation: 1.4s .7s infinite polSp;
  }

  @keyframes polSp {
    0%, 100% {
      opacity: 0;
      transform: scale(0);
    }

    40% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .let-a {
    animation: 2.2s ease-in-out infinite alternate letA;
  }

  .let-b {
    animation: 2.2s ease-in-out infinite alternate letB;
  }

  .let-c {
    animation: 2.2s ease-in-out infinite alternate letC;
  }

  @keyframes letA {
    from {
      transform: translate(6px, 4px)rotate(22deg);
    }

    to {
      transform: translate(-24px)rotate(0);
    }
  }

  @keyframes letB {
    from {
      transform: translate(0, 6px)rotate(-10deg);
    }

    to {
      transform: translate(0)rotate(0);
    }
  }

  @keyframes letC {
    from {
      transform: translate(-6px, 4px)rotate(20deg);
    }

    to {
      transform: translate(24px)rotate(0);
    }
  }

  .gear-cw {
    transform-origin: 32px 46px;
    animation: 3s linear infinite gearCW;
  }

  .gear-ccw {
    transform-origin: 62px 30px;
    animation: 2.1s linear infinite gearCCW;
  }

  @keyframes gearCW {
    from {
      transform: rotate(0);
    }

    to {
      transform: rotate(360deg);
    }
  }

  @keyframes gearCCW {
    from {
      transform: rotate(0);
    }

    to {
      transform: rotate(-360deg);
    }
  }

  .oil-can-tip {
    transform-origin: 74px 18px;
    animation: 1.8s ease-in-out infinite oilTip;
  }

  @keyframes oilTip {
    0%, 100% {
      transform: rotate(-10deg);
    }

    30%, 70% {
      transform: rotate(18deg);
    }
  }

  .oil-drop {
    animation: 1.8s ease-in infinite oilFall;
  }

  @keyframes oilFall {
    0% {
      opacity: 0;
      transform: translateY(0);
    }

    15% {
      opacity: 1;
    }

    80% {
      opacity: 1;
      transform: translateY(22px);
    }

    100% {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  .wrench-turn {
    transform-origin: 44px 44px;
    animation: .9s ease-in-out infinite wrenchT;
  }

  @keyframes wrenchT {
    0%, 100% {
      transform: rotate(-20deg);
    }

    50% {
      transform: rotate(20deg);
    }
  }

  .bolt-pulse {
    animation: .9s ease-in-out infinite boltP;
  }

  @keyframes boltP {
    0%, 100% {
      fill: #ef9f27;
    }

    50% {
      fill: #fff;
    }
  }

  .bit1 {
    animation: .5s step-start infinite bitBlink;
  }

  .bit2 {
    animation: .5s step-start .1s infinite bitBlink;
  }

  .bit3 {
    animation: .5s step-start .2s infinite bitBlink;
  }

  .bit4 {
    animation: .5s step-start .3s infinite bitBlink;
  }

  @keyframes bitBlink {
    0%, 100% {
      opacity: 1;
    }

    50% {
      opacity: 0;
    }
  }

  .bar1 {
    transform-origin: bottom;
    animation: .6s infinite barPulse;
  }

  .bar2 {
    transform-origin: bottom;
    animation: .6s .15s infinite barPulse;
  }

  .bar3 {
    transform-origin: bottom;
    animation: .6s .3s infinite barPulse;
  }

  @keyframes barPulse {
    0%, 100% {
      transform: scaleY(.3);
    }

    50% {
      transform: scaleY(1);
    }
  }

  .book-float {
    animation: 2s ease-in-out infinite alternate bookFlt;
  }

  @keyframes bookFlt {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-8px);
    }
  }

  .book-page {
    transform-origin: 0;
    animation: .7s ease-in-out infinite alternate pageFlip;
  }

  @keyframes pageFlip {
    from {
      transform: rotateY(0);
    }

    to {
      transform: rotateY(-35deg);
    }
  }

  .book-glow {
    animation: 2s ease-in-out infinite alternate bookGlow;
  }

  @keyframes bookGlow {
    from {
      opacity: .15;
      r: 18px;
    }

    to {
      opacity: .5;
      r: 26px;
    }
  }

  .pizza-mag {
    animation: 2.2s ease-in-out infinite pizzaMag;
  }

  @keyframes pizzaMag {
    0%, 100% {
      transform: translate(-12px, 8px)rotate(-5deg);
    }

    50% {
      transform: translate(12px, -6px)rotate(5deg);
    }
  }

  .whisk-spin {
    transform-origin: 44px 54px;
    animation: .9s linear infinite whiskS;
  }

  @keyframes whiskS {
    from {
      transform: rotate(0);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .wsp {
    animation: wspFly var(--d) ease var(--dl) infinite;
  }

  @keyframes wspFly {
    0% {
      opacity: 0;
      transform: translate(0)scale(0);
    }

    25% {
      opacity: 1;
      transform: translate(var(--tx), var(--ty)) scale(1.1);
    }

    100% {
      opacity: 0;
      transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 1.8)) scale(0);
    }
  }

  .bub {
    animation: bubRise var(--d) ease var(--dl) infinite;
  }

  @keyframes bubRise {
    0% {
      opacity: 0;
      transform: translateY(0)scale(.5);
    }

    40% {
      opacity: 1;
      transform: translateY(-10px)scale(1);
    }

    100% {
      opacity: 0;
      transform: translateY(-22px)scale(.3);
    }
  }

  .mallow {
    animation: mallowBounce 1.1s ease-in-out var(--dl) infinite alternate;
  }

  @keyframes mallowBounce {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-7px);
    }
  }

  .steam {
    animation: steamRise 1.6s ease-in-out var(--dl) infinite;
  }

  @keyframes steamRise {
    0%, 100% {
      opacity: .15;
      transform: translateY(0)scaleX(1);
    }

    50% {
      opacity: .6;
      transform: translateY(-8px)scaleX(.5);
    }
  }

  .spat-fold {
    transform-origin: 22px 54px;
    animation: 1.4s ease-in-out infinite alternate spatF;
  }

  @keyframes spatF {
    from {
      transform: rotate(-30deg);
    }

    to {
      transform: rotate(20deg);
    }
  }

  .confetti {
    animation: confF var(--d) ease var(--dl) infinite;
  }

  @keyframes confF {
    0% {
      opacity: 0;
      transform: translate(0)rotate(0);
    }

    25% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      transform: translate(var(--tx), 18px) rotate(var(--r));
    }
  }

  .bulb-grow {
    transform-origin: 44px 44px;
    animation: 1.6s ease-in-out infinite alternate bulbG;
  }

  @keyframes bulbG {
    from {
      opacity: .55;
      transform: scale(.88);
    }

    to {
      opacity: 1;
      transform: scale(1.12);
    }
  }

  .ray-pulse {
    animation: rayP 1.6s ease-in-out var(--dl) infinite alternate;
  }

  @keyframes rayP {
    from {
      opacity: .2;
      transform: scale(.6);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .hl-hop {
    animation: hlHop .85s ease-in-out var(--dl) infinite alternate;
  }

  @keyframes hlHop {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-13px);
    }
  }

  .charge-fill {
    transform-origin: bottom;
    animation: 2.2s ease-in-out infinite chargeFill;
  }

  @keyframes chargeFill {
    0%, 10% {
      opacity: 0;
      transform: scaleY(0);
    }

    20% {
      opacity: 1;
      transform: scaleY(.1);
    }

    85% {
      opacity: 1;
      transform: scaleY(1);
    }

    100% {
      opacity: 0;
      transform: scaleY(1);
    }
  }

  .zap-icon {
    animation: 2.2s 1.1s infinite zapFlash;
  }

  @keyframes zapFlash {
    0%, 100% {
      opacity: 0;
    }

    40%, 60% {
      opacity: 1;
    }
  }

  .wand-arm {
    transform-origin: 42px 60px;
    animation: 1.4s ease-in-out infinite alternate wandWv;
  }

  @keyframes wandWv {
    from {
      transform: rotate(-18deg);
    }

    to {
      transform: rotate(14deg);
    }
  }

  .fig-bob {
    animation: 2.8s ease-in-out infinite alternate figBob;
  }

  @keyframes figBob {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-3px);
    }
  }

  .wand-sp {
    animation: wsparkFly var(--d) ease var(--dl) infinite;
  }

  @keyframes wsparkFly {
    0% {
      opacity: 0;
      transform: translate(0)scale(0);
    }

    20% {
      opacity: 1;
      transform: translate(calc(var(--tx) * .3), calc(var(--ty) * .3)) scale(1.2);
    }

    80% {
      opacity: .6;
      transform: translate(calc(var(--tx) * .85), calc(var(--ty) * .85)) scale(.7);
    }

    100% {
      opacity: 0;
      transform: translate(var(--tx), var(--ty)) scale(0);
    }
  }

  .tip-pulse {
    animation: 1.4s ease-in-out infinite alternate tipP;
  }

  @keyframes tipP {
    from {
      r: 4;
      opacity: .3;
    }

    to {
      r: 8;
      opacity: .9;
    }
  }

  .mwand-wave {
    transform-origin: 60px 60px;
    animation: 1.2s ease-in-out infinite alternate mWandW;
  }

  @keyframes mWandW {
    from {
      transform: rotate(-15deg);
    }

    to {
      transform: rotate(15deg);
    }
  }

  .glitter {
    animation: glitFall var(--d) ease var(--dl) infinite;
  }

  @keyframes glitFall {
    0% {
      opacity: 0;
      transform: translate(0)scale(0);
    }

    25% {
      opacity: 1;
      transform: translate(var(--tx), -8px) scale(1);
    }

    100% {
      opacity: 0;
      transform: translate(calc(var(--tx) * 1.5), 24px) scale(0);
    }
  }

  .pixie {
    animation: pixieFall var(--d) ease var(--dl) infinite;
  }

  @keyframes pixieFall {
    0% {
      opacity: 0;
      transform: translate(0)scale(0);
    }

    30% {
      opacity: 1;
      transform: translate(var(--tx), var(--ty)) scale(1);
    }

    100% {
      opacity: 0;
      transform: translate(calc(var(--tx) * 1.8), calc(var(--ty) * 1.822px)) scale(0);
    }
  }

  @keyframes lumiore-skeleton {
    from {
      opacity: .25;
    }

    to {
      opacity: .6;
    }
  }

  .diag-pencil {
    animation: 2s forwards diagDraw;
  }

  @keyframes diagDraw {
    to {
      stroke-dashoffset: 0;
    }
  }

  .diag-pencil-tip {
    animation: 2s forwards diagPencilMove;
  }

  @keyframes diagPencilMove {
    0% {
      transform: translate(-60px, 16px);
    }

    33% {
      transform: translate(-20px, -4px);
    }

    66% {
      transform: translate(10px, 6px);
    }

    100% {
      transform: translate(30px, -20px);
    }
  }

  .diag-ruler {
    animation: 1.8s ease-in-out infinite diagRulerSlide;
  }

  @keyframes diagRulerSlide {
    0%, 100% {
      transform: translateX(-6px);
    }

    50% {
      transform: translateX(6px);
    }
  }

  .diag-compass {
    transform-origin: 44px 44px;
    animation: 2s linear infinite diagSpin;
  }

  @keyframes diagSpin {
    from {
      transform: rotate(0);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .diag-label {
    opacity: 0;
    animation: diagLabelPop .4s ease var(--dl) forwards;
  }

  @keyframes diagLabelPop {
    from {
      opacity: 0;
      transform: scale(.3);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .diag-dot {
    opacity: 0;
    animation: diagDotPop .3s ease var(--dl) forwards;
  }

  @keyframes diagDotPop {
    from {
      opacity: 0;
      transform: scale(0);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .diag-line {
    animation: diagLineDraw .6s ease var(--dl) forwards;
  }

  @keyframes diagLineDraw {
    to {
      stroke-dashoffset: 0;
    }
  }

  .diag-fill {
    animation: diagFillIn .5s ease var(--dl) forwards;
  }

  @keyframes diagFillIn {
    from {
      opacity: 0;
    }

    to {
      opacity: .45;
    }
  }

  .diag-plot {
    opacity: 0;
    animation: diagPlotDrop .35s ease var(--dl) forwards;
  }

  @keyframes diagPlotDrop {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .diag-ink {
    animation: 1.6s ease-in-out infinite diagInkBob;
  }

  @keyframes diagInkBob {
    0%, 100% {
      transform: translateY(0)rotate(-2deg);
    }

    50% {
      transform: translateY(-6px)rotate(2deg);
    }
  }

  .diag-ink-trail {
    stroke-dashoffset: 40px;
    animation: 2.5s .5s forwards diagInkDraw;
  }

  @keyframes diagInkDraw {
    from {
      stroke-dashoffset: 40px;
    }

    to {
      stroke-dashoffset: 0;
    }
  }
}

.lumiore-topbar {
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  display: flex;
}

.lumiore-nav-strip {
  z-index: 50;
  background: #f5f5f5;
  border-right: 1px solid #e5e5e5;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  width: 80px;
  padding: 16px 8px 24px;
  display: flex;
}

.lumiore-nav-btn {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 12px 8px;
  transition: background .2s;
  display: flex;
  position: relative;
}

.lumiore-nav-btn.active {
  background: #1717171a;
}

.lumiore-nav-btn:hover:not(.active) {
  background: #1717170d;
}

.lumiore-nav-letter {
  font-family: var(--font-sans);
  color: #171717;
  font-size: 15.6px;
  font-weight: 700;
  line-height: 1;
}

.lumiore-nav-btn.active .lumiore-nav-letter {
  color: #171717;
}

.lumiore-nav-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #17171780;
  font-size: 8px;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1;
}

.lumiore-nav-btn.active .lumiore-nav-label {
  color: #171717;
}

.lumiore-nav-btn.switch-btn {
  border: 1px solid var(--amber);
  background: #faeeda;
}

.lumiore-nav-btn.switch-btn .lumiore-nav-letter, .lumiore-nav-btn.switch-btn .lumiore-nav-label {
  color: #854f0b;
}

.lumiore-nav-btn.switch-btn:hover {
  background: var(--amber);
}

.lumiore-nav-btn.switch-btn:hover .lumiore-nav-letter, .lumiore-nav-btn.switch-btn:hover .lumiore-nav-label {
  color: #2c2c2a;
}

.lumiore-nav-btn.logout-btn {
  background: #fcebeb;
  border: 1px solid #a32d2d;
}

.lumiore-nav-btn.logout-btn .lumiore-nav-letter, .lumiore-nav-btn.logout-btn .lumiore-nav-label {
  color: #a32d2d;
}

.lumiore-nav-btn.logout-btn:hover {
  background: #a32d2d;
}

.lumiore-nav-btn.logout-btn:hover .lumiore-nav-letter, .lumiore-nav-btn.logout-btn:hover .lumiore-nav-label {
  color: #fff;
}

.lp-legend {
  color: #17171773;
  text-align: center;
  font-size: 8px;
  line-height: 1.4;
  font-family: var(--font-sans);
  width: 100%;
  padding: 4px 0 0;
}

.lumiore-bubble-ai {
  font-family: var(--font-sans);
  color: #171717;
  box-shadow: none;
  overflow-wrap: break-word;
  word-break: break-word;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 2px 12px 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.lumiore-bubble-ai .katex {
  font-size: 1.3em;
}

.lumiore-bubble-user {
  background: var(--amber);
  color: #2c2c2a;
  border: 1.5px solid #2c2c2a;
  border-radius: 12px 12px 2px;
  max-width: 72%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 2px 2px #2c2c2a;
}

.lumiore-timestamp {
  color: #737373;
  margin: 2px 0 12px;
  font-size: 10px;
}

.lumiore-badge-sm {
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  border-radius: 5px;
  padding: 2px 7px;
}

.lumiore-eyebrow {
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
}

.lumiore-stat-card {
  background: var(--white);
  border: .5px solid var(--faint);
  border-radius: 8px;
  padding: 16px;
}

.lumiore-stat-value {
  color: var(--ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  font-family: var(--font-serif);
}

.lumiore-stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 5px;
}

.lumiore-shell {
  background: #fff;
  flex-direction: column;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.lumiore-shell-row {
  flex-direction: row;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.ask-lumi-chip {
  color: #171717;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-sans);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  padding: 5px 12px;
  transition: border-color .12s, background .12s, color .12s;
}

.ask-lumi-chip:hover {
  color: #854f0b;
  background: #faeeda;
  border-color: #ef9f27;
}

.ask-lumi-panel-toggle {
  color: #737373;
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-sans);
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 500;
  transition: border-color .12s, color .12s;
}

.ask-lumi-panel-toggle:hover {
  color: #854f0b;
  border-color: #ef9f27;
}

.lumiore-workspace {
  background: #fff;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.lumiore-topbar-title {
  color: #737373;
  letter-spacing: .1px;
  font-size: 13px;
  font-weight: 500;
}

.lumiore-topbar-logo {
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  display: flex;
}

.lumiore-topbar-wordmark {
  font-family: var(--font-serif);
  letter-spacing: -.4px;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  color: #2c2c2a;
  font-size: 18px;
  font-weight: 700;
}

.lumiore-ai-sup {
  color: var(--amber, #ef9f27);
  letter-spacing: .3px;
  cursor: pointer;
  border-bottom: 1px dotted var(--amber, #ef9f27);
  padding-bottom: 1px;
  font-size: .5em;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  top: -.35em;
}

.lumiore-ai-sup:hover {
  color: var(--amber-txt, #854f0b);
  border-bottom-style: solid;
}

.lumiore-topbar-center {
  flex: 1;
  align-items: center;
  gap: 8px;
  display: flex;
}

.lumiore-topbar-right {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.lumiore-topbar-divider {
  color: #e5e5e5;
  flex-shrink: 0;
  margin: 0 4px;
  font-size: 16px;
}

.lumiore-topbar-page {
  flex-direction: column;
  display: flex;
}

.lumiore-topbar-page-title {
  color: #737373;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.lumiore-topbar-page-sub {
  color: #737373;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.lumiore-home-btn {
  font-size: var(--text-base);
  color: var(--muted);
  cursor: pointer;
  border: 1.5px solid var(--faint);
  font-weight: 500;
  font-family: var(--font-sans);
  background: none;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  transition: all .12s;
  display: flex;
}

.lumiore-home-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.lumiore-loading-text {
  color: var(--muted);
  font-style: italic;
}

.topbar-tagline {
  font-family: var(--font-sans);
  color: #737373;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .72rem;
  font-weight: 400;
  overflow: hidden;
}

.topbar-tagline .find-how {
  color: var(--amber);
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: inherit;
  background: none;
  border: none;
  margin-left: 4px;
  padding: 0;
  text-decoration: underline;
}

.topbar-tagline .find-how:hover {
  opacity: .8;
}

.lumiore-overlay {
  z-index: 200;
  background: #0006;
  justify-content: center;
  align-items: center;
  display: none;
  position: fixed;
  inset: 0;
}

.lumiore-overlay.open {
  display: flex;
}

.lumiore-overlay-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 8px 32px #0000001f;
}

.lumiore-overlay-close {
  cursor: pointer;
  color: #737373;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: .9rem;
  display: flex;
  position: absolute;
  top: 16px;
  right: 16px;
}

.lumiore-overlay-close:hover {
  background: #f5f5f5;
}

.lumiore-overlay-title {
  font-family: var(--font-serif);
  color: #171717;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 300;
}

.lumiore-overlay-body {
  color: #737373;
  font-size: .875rem;
  line-height: 1.7;
}

.lumiore-overlay-body p {
  margin-bottom: 12px;
}

.lumiore-overlay-body p:last-child {
  margin-bottom: 0;
}

.lumiore-overlay-body strong {
  color: #171717;
  font-weight: 600;
}

.lumiore-toast {
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  z-index: 9999;
  white-space: nowrap;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.lumiore-toast.info {
  background: var(--amber);
  color: var(--ink);
}

.lumiore-toast.error {
  color: #fff;
  background: #8a1f1f;
}

@keyframes lumiore-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lumiore-diagram-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  width: 100%;
  max-width: 100%;
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 12px;
  margin-bottom: 2px;
  margin-left: 38px;
  animation: .4s cubic-bezier(.22, 1, .36, 1) both lumiore-fade-up;
  overflow: hidden;
}

.lumiore-diagram-header {
  border-bottom: 1.5px solid var(--faint);
  background: var(--surface-alt);
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  display: flex;
}

.lumiore-diagram-loading {
  border: 1.5px solid var(--amber);
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 240px;
  margin-bottom: 4px;
  margin-left: 38px;
  animation: .3s both lumiore-fade-up;
  overflow: hidden;
}

.lumiore-diagram-loading-header {
  border-bottom: 1px solid #f5a62333;
  padding: 8px 11px;
}

.lumiore-diagram-loading-body {
  justify-content: center;
  align-items: center;
  min-height: 100px;
  padding: 16px;
  display: flex;
}

.lumiore-diagram-loading-verb {
  color: var(--amber);
  font-size: 11px;
  font-family: var(--font-sans);
  text-align: center;
  opacity: .8;
  padding: 6px 12px;
}

.lumiore-diagram-title {
  font-size: var(--text-sm);
  color: var(--ink);
  flex: 1;
  font-weight: 600;
}

.lumiore-diagram-menu-trigger {
  color: var(--muted-faint);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.lumiore-diagram-menu {
  background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 10;
  border-radius: 9px;
  min-width: 160px;
  position: absolute;
  top: 22px;
  right: 0;
  overflow: hidden;
}

.lumiore-diagram-menu-item {
  font-size: var(--text-sm);
  color: var(--ink2);
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-sans);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  display: flex;
}

.lumiore-diagram-menu-item:hover {
  background: #f7f5f0;
}

.lumiore-diagram-menu-item + .lumiore-diagram-menu-item {
  border-top: 1px solid var(--faint);
}

.lumiore-diagram-body {
  justify-content: center;
  padding: 12px;
  display: flex;
}

.lumiore-diagram-body svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.lumiore-diagram-footer {
  border-top: 1.5px solid var(--faint);
  background: var(--surface-alt);
  align-items: center;
  padding: 7px 11px;
  display: flex;
}

.lumiore-diagram-ask-btn {
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  display: flex;
}

.lumiore-inline-card {
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  width: 100%;
  margin-bottom: 6px;
  overflow: hidden;
}

.lumiore-inline-card-header {
  background: #fff6;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  display: flex;
}

.lumiore-inline-card-icon {
  font-size: 12px;
}

.lumiore-inline-card-label {
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--ink2);
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.lumiore-inline-card-body {
  font-family: var(--font-sans);
  color: var(--ink2);
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.6;
}

.lumiore-msg-content {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.lumiore-ai-row {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
  display: flex;
}

.lumiore-user-row {
  justify-content: flex-end;
  margin-bottom: 4px;
  display: flex;
}

.lumiore-tail-outer {
  border-style: solid;
  border-width: 7px 10px 7px 0;
  border-color: transparent var(--bubble-border) transparent transparent;
  pointer-events: none;
  width: 0;
  height: 0;
  position: absolute;
  top: 14px;
  left: -10px;
}

.lumiore-tail-inner {
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent var(--surface) transparent transparent;
  pointer-events: none;
  width: 0;
  height: 0;
  position: absolute;
  top: 15px;
  left: -7px;
}

.lumiore-chat-card {
  background: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
  border: 1px solid #e5e5e5;
  max-width: 88%;
  margin-bottom: 6px;
  margin-left: 38px;
  animation: .4s cubic-bezier(.22, 1, .36, 1) both lumiore-fade-up;
  overflow: hidden;
}

.lumiore-chat-card-round {
  box-shadow: none;
  border-radius: 10px;
}

.lumiore-chat-card-lg {
  box-shadow: none;
  border-radius: 12px;
}

.lumiore-card-header {
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  display: flex;
}

.lumiore-badge-amber {
  background: var(--amberlite);
  color: var(--ambertxt);
  border: 1.5px solid var(--amber);
}

.lumiore-badge-red {
  background: var(--redlite);
  color: var(--redtxt);
  border: 1.5px solid #f0aaaa;
}

.lumiore-score-grid {
  grid-template-columns: 1fr 1fr 1fr;
  display: grid;
}

.lumiore-score-cell {
  text-align: center;
  padding: 10px 6px;
}

.lumiore-score-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 7px;
  font-family: var(--font-sans);
  margin-top: 2px;
}

.lumiore-progress-row {
  border-top: 1px solid var(--faint);
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  display: flex;
}

.lumiore-progress-track {
  background: var(--faint);
  border-radius: 3px;
  flex: 1;
  height: 5px;
  overflow: hidden;
}

.lumiore-progress-fill {
  background: var(--amber);
  border-radius: 3px;
  height: 100%;
}

.lumiore-progress-pct {
  color: var(--ambertxt);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.lumiore-mistake-tbl {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
  font-family: var(--font-sans);
}

.lumiore-mistake-tbl th {
  text-align: left;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 8px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--faint);
  background: var(--surface-alt);
  padding: 5px 8px;
}

.lumiore-mistake-tbl td {
  vertical-align: middle;
  font-size: 10px;
  font-family: var(--font-sans);
  padding: 7px 8px;
}

.lumiore-type-pill {
  font-size: 9px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 5px;
  padding: 2px 7px;
  display: inline-block;
}

.lumiore-nudge-chip {
  border: 2px solid var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 220px;
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 20px;
  padding: 7px 14px;
  overflow: hidden;
}

.lumiore-nudge-ctas {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.lumiore-nudge-chip.primary {
  background: var(--amber);
  color: var(--ink);
}

.lumiore-nudge-chip.ghost {
  background: var(--white);
  color: var(--muted);
}

.lumiore-nudge-chip:disabled {
  opacity: .45;
  cursor: default;
  box-shadow: none;
}

.lumiore-doclink-body {
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.lumiore-doclink-icon {
  flex-shrink: 0;
  font-size: 28px;
}

.lumiore-doclink-meta {
  flex: 1;
  min-width: 0;
}

.lumiore-doclink-subject {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-sans);
}

.lumiore-doclink-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.lumiore-doclink-date {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-sans);
  margin-top: 1px;
}

.lumiore-doclink-actions {
  flex-shrink: 0;
  gap: 6px;
  display: flex;
}

.lumiore-btn-primary {
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  border-radius: 8px;
  padding: 6px 12px;
}

.lumiore-btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--faint);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  border-radius: 8px;
  padding: 6px 12px;
}

.lumiore-btn-new-chat {
  font-size: var(--text-base);
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: .2px;
  border-radius: 8px;
  padding: 7px 18px;
}

.lumiore-chat-header {
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  display: flex;
}

.lumiore-btn-new-sm {
  background: var(--amber);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #737373;
  box-shadow: 2px 2px 0 var(--ink);
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 5px 12px;
}

.lumiore-btn-history {
  border: 1.5px solid var(--faint);
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--muted);
  border-radius: 7px;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  display: flex;
}

.lumiore-btn-cost {
  border: 1.5px solid var(--faint);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  color: var(--ink);
  border-radius: 7px;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  transition: background .12s;
  display: flex;
}

.lumiore-cost-panel {
  background: #fafaf8;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
  padding: 8px 16px;
  display: flex;
}

.lumiore-cost-label {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-sans);
  letter-spacing: .3px;
  font-weight: 600;
}

.lumiore-cost-group {
  gap: 16px;
  display: flex;
}

.lumiore-cost-item {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.lumiore-cost-key {
  color: var(--muted);
  font-size: 9px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.lumiore-cost-val {
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  color: var(--ink);
}

.lumiore-history-list {
  background: #fafaf8;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  max-height: 220px;
  overflow-y: auto;
}

.lumiore-history-empty {
  color: var(--muted-light);
  padding: 14px 18px;
  font-size: 12px;
}

.lumiore-history-item {
  cursor: pointer;
  border-bottom: 1px solid #f0ede6;
  justify-content: space-between;
  align-items: center;
  padding: 9px 18px;
  transition: background .1s;
  display: flex;
}

.lumiore-history-item:hover {
  background: #f5f3ee;
}

.lumiore-history-item.active {
  background: var(--amberlite);
}

.lumiore-history-title {
  font-size: var(--text-sm);
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 75%;
  overflow: hidden;
}

.lumiore-history-item.active .lumiore-history-title {
  font-weight: 600;
}

.lumiore-history-date {
  font-size: var(--text-sm);
  color: var(--muted-light);
  flex-shrink: 0;
}

.lumiore-resume-card {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  padding: 13px 16px;
  display: flex;
}

.lumiore-resume-icon {
  flex-shrink: 0;
  font-size: 20px;
}

.lumiore-resume-body {
  flex: 1;
  min-width: 0;
}

.lumiore-resume-actions {
  flex-shrink: 0;
  gap: 6px;
  display: flex;
}

.lumiore-btn-continue {
  border: 1.5px solid var(--ink);
  background: var(--amber);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 7px;
  padding: 5px 12px;
}

.lumiore-btn-fresh {
  border: 1.5px solid var(--faint);
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--muted);
  background: none;
  border-radius: 7px;
  padding: 5px 10px;
}

.lumiore-drop-zone {
  border: 2px dashed var(--faint);
  text-align: center;
  cursor: pointer;
  background: none;
  border-radius: 13px;
  margin: 4px 0;
  padding: 22px;
  transition: border-color .15s;
}

.lumiore-drop-zone:hover {
  border-color: var(--amber);
}

.lumiore-drop-icon {
  margin-bottom: 7px;
  font-size: 26px;
}

.lumiore-drop-label {
  font-size: var(--text-base);
  margin-bottom: 3px;
  font-weight: 500;
}

.lumiore-drop-hint {
  font-size: var(--text-sm);
  color: var(--muted-light);
}

.lumiore-hint-bar {
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 22px 10px;
  display: flex;
}

.lumiore-quoted-bar {
  background: var(--amberlite);
  border-bottom: 1px solid var(--amber);
  align-items: center;
  gap: 7px;
  padding: 7px 22px;
  display: flex;
}

.lumiore-input-footer {
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.lumiore-input-wrap {
  flex-direction: column;
  align-items: stretch;
  padding: 10px 22px 18px;
  display: flex;
}

.lumiore-quote-strip {
  background: var(--amberlite);
  border-left: 3px solid var(--amber);
  width: 100%;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--ink);
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 12px;
  animation: .15s ease-out lumiore-fade-up;
  display: flex;
}

.lumiore-quote-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: .8;
  flex: 1;
  overflow: hidden;
}

.lumiore-quote-dismiss {
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1;
}

.lumiore-quote-dismiss:hover {
  color: var(--ink);
}

.lumiore-reply-btn {
  cursor: pointer;
  color: var(--muted);
  opacity: 0;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1;
  transition: opacity .15s;
}

.lumiore-user-row:hover .lumiore-reply-btn, [data-msg-id]:hover .lumiore-reply-btn {
  opacity: 1;
}

.lumiore-reply-btn:hover {
  color: var(--amber);
}

.lumiore-copy-btn {
  z-index: 2;
  background: var(--surface);
  cursor: pointer;
  color: var(--muted);
  border: 1.5px solid #e0ddd6;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 5px;
  transition: color .12s, border-color .12s, background .12s;
  display: inline-flex;
  position: absolute;
  top: 8px;
  right: 8px;
}

.lumiore-copy-btn svg {
  stroke: currentColor;
  width: 16px;
  height: 16px;
}

.lumiore-copy-btn:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.lumiore-copy-btn[data-copied="true"] {
  color: #16a34a !important;
  background: #dcfce7 !important;
  border-color: #4ade80 !important;
}

.lumiore-copy-icon-copy {
  display: inline-flex;
}

.lumiore-copy-icon-check {
  display: none;
}

.lumiore-copy-btn[data-copied="true"] .lumiore-copy-icon-copy {
  display: none !important;
}

.lumiore-copy-btn[data-copied="true"] .lumiore-copy-icon-check {
  display: inline-flex !important;
}

.lumiore-copied-flash {
  animation: 1.5s ease-out lumiore-copy-flash !important;
}

@keyframes lumiore-copy-flash {
  0% {
    border-color: var(--amber);
    background: #fef3c7;
    box-shadow: 0 0 0 4px #f5a6234d;
  }

  40% {
    border-color: var(--amber);
    background: #fef9ee;
    box-shadow: 0 0 0 8px #f5a62314;
  }

  100% {
    background: var(--surface);
    border-color: var(--bubble-border);
    box-shadow: var(--bubble-shadow);
  }
}

.lumiore-msg-actions {
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  display: flex;
}

.lumiore-btn-stop {
  color: #8a1f1f;
  height: 34px;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  background: #fcebeb;
  border: 1.5px solid #8a1f1f;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 600;
}

.lumiore-canvas {
  background: var(--bg);
  z-index: 1;
  isolation: isolate;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.lumiore-canvas-progress-track {
  z-index: 20;
  background: #f0ede6;
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.lumiore-canvas-body {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
  overflow: auto;
}

.lumiore-canvas-doc-label {
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-bottom: 2px;
  display: flex;
}

.lumiore-canvas-doc-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.lumiore-canvas-iframe {
  border: 2px solid var(--ink);
  width: 100%;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--white);
  opacity: 1;
  border-radius: 3px;
  height: calc(100vh - 140px);
  transition: none;
}

.lumiore-canvas-overlay {
  z-index: 15;
  background: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: absolute;
  inset: 0;
}

.lumiore-loading-card {
  background: var(--white);
  border: 2px solid var(--ink);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.lumiore-loading-card-spine {
  background: var(--amber);
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.lumiore-loading-card-inner {
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px 32px 32px;
  display: flex;
}

.lumiore-canvas-anim-wrap {
  transform-origin: center;
  transform: scale(1);
}

.lumiore-canvas-anim-verb {
  font-family: var(--font-sans);
  color: var(--ink2);
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.lumiore-step-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.lumiore-step-row {
  font-size: var(--text-base);
  font-family: var(--font-sans);
  align-items: center;
  gap: 10px;
  display: flex;
}

.lumiore-step-done {
  color: #4ade80;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.lumiore-step-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.lumiore-step-dot-active {
  background: var(--amber);
  animation: 1s ease-in-out infinite lumiore-dot-pulse;
}

.lumiore-step-dot-pending {
  background: var(--faint);
}

.lumiore-canvas-empty {
  text-align: center;
  opacity: .5;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
}

.lumiore-canvas-empty-icon {
  border: 2px solid var(--ink);
  width: 90px;
  height: 90px;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--white);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  display: flex;
}

.lumiore-canvas-empty-title {
  font-family: var(--font-hand);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.lumiore-canvas-empty-hint {
  color: var(--muted-light);
  max-width: 200px;
  font-size: 12px;
  line-height: 1.6;
}

.lumiore-canvas-footer {
  border-top: 1px solid var(--faint);
  background: var(--bg);
  flex-shrink: 0;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  display: flex;
}

.lumiore-divider {
  background: var(--faint);
  height: .5px;
  margin: 28px 0;
}

.settings-shell {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.settings-tabbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  padding: 0 20px;
  display: flex;
}

.settings-tab {
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  padding: 11px 16px;
  transition: color .12s, border-color .12s;
}

.settings-tab.active {
  color: var(--ink);
  border-bottom-color: var(--amber);
}

.settings-tab:hover:not(.active) {
  color: var(--ink2);
}

.settings-content {
  background: #f5f5f5;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  display: flex;
  overflow-y: auto;
}

.settings-panel {
  width: 100%;
  max-width: 560px;
}

.s-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.s-close {
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  color: var(--muted);
  z-index: 1;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  transition: all .12s;
  display: flex;
  position: absolute;
  top: 16px;
  right: 16px;
}

.s-close:hover {
  border-color: var(--ink);
  color: var(--foreground);
}

.s-card-section {
  border-top: 1px solid var(--faint);
}

.s-section-label {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 16px 18px 8px;
  font-size: 10px;
  font-weight: 700;
}

.s-row {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  display: flex;
}

.s-row-key {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.s-row-hint {
  color: var(--muted);
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
}

.s-input {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  width: 200px;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .15s;
}

.s-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px #ef9f2714;
}

.s-select {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  width: 200px;
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color .15s;
}

.s-select:focus {
  border-color: var(--amber);
}

.s-chips {
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 18px 4px;
  display: flex;
}

.s-chip {
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: #f5f5f5;
  border-radius: 999px;
  padding: 6px 16px;
  transition: all .12s;
}

.s-chip.active {
  background: var(--amber);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.s-chip:hover:not(.active) {
  background: var(--amberlite);
}

.s-chips-hint {
  color: var(--muted);
  padding: 0 18px 14px;
  font-size: 11px;
}

.s-textarea-block {
  border-bottom: 1px solid var(--faint);
  flex-direction: column;
  gap: 7px;
  padding: 14px 18px;
  display: flex;
}

.s-textarea-block:last-of-type {
  border-bottom: none;
}

.s-textarea-lbl {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.s-private-badge {
  text-transform: uppercase;
  letter-spacing: .3px;
  background: var(--surface);
  color: var(--muted-light);
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
}

.s-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--faint);
  border-radius: var(--r);
  resize: none;
  outline: none;
  height: 78px;
  padding: 9px 11px;
  line-height: 1.6;
  transition: border-color .12s;
}

.s-textarea:focus {
  border-color: var(--amber);
}

.s-char {
  color: var(--muted-faint);
  text-align: right;
  font-size: 10px;
}

.s-explainer {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  border-radius: var(--rl);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  display: flex;
}

.s-explainer-title {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.s-explainer-body {
  font-size: var(--text-sm);
  color: var(--ambertxt);
  line-height: 1.7;
}

.s-explainer-bullets {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.s-explainer-bullet {
  color: var(--ambertxt);
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}

.s-bullet-dot {
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 5px;
}

.s-cost-grid {
  background: var(--faint);
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  display: grid;
}

.s-cost-cell {
  background: var(--white);
  text-align: center;
  padding: 14px;
}

.s-cost-num {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.s-cost-num.amber {
  color: var(--amber);
}

.s-cost-lbl {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
}

.s-cost-rows {
  border-top: 1px solid var(--faint);
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px;
  display: flex;
}

.s-cost-row {
  justify-content: space-between;
  font-size: 12px;
  display: flex;
}

.s-cost-row-lbl {
  color: var(--muted);
}

.s-cost-row-val {
  color: var(--ink2);
  font-family: monospace;
  font-weight: 600;
}

.s-cost-row-val.blue {
  color: #185fa5;
}

.s-cost-row-val.amber {
  color: var(--ambertxt);
}

.s-cost-total {
  font-size: 13px;
  font-weight: 700;
}

.s-plan {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  margin: 14px 18px;
  padding: 13px 15px;
  display: flex;
}

.s-plan-badge {
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 7px;
  flex-shrink: 0;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 700;
}

.s-plan-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.s-plan-detail {
  color: var(--ambertxt);
  margin-top: 1px;
  font-size: 11px;
}

.s-progress-track {
  background: var(--faint);
  border-radius: 3px;
  width: 72px;
  height: 5px;
  overflow: hidden;
}

.s-progress-fill {
  background: var(--amber);
  border-radius: 3px;
  height: 100%;
}

.s-save-bar {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  display: flex;
}

.s-save-btn {
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  padding: 8px 22px;
  transition: transform .1s, box-shadow .1s;
}

.s-save-btn:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.s-save-btn:disabled {
  opacity: .6;
  cursor: default;
  box-shadow: var(--shadow-sm);
  transform: none;
}

.s-save-btn.saved {
  background: var(--greenlite);
  border-color: var(--greentxt);
  color: var(--greentxt);
  box-shadow: none;
}

.s-save-btn.error {
  background: var(--red-lt, #fcebeb);
  border-color: var(--red-txt, #a32d2d);
  color: var(--red-txt, #a32d2d);
}

.s-account-row {
  border-top: 1px solid var(--border);
  padding: 12px 18px;
}

.s-account-key {
  color: var(--ink);
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 500;
}

.s-account-val {
  color: var(--muted);
  font-size: 13px;
}

.btn-signout {
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  padding: 8px 18px;
  transition: opacity .12s;
}

.btn-signout:hover {
  opacity: .85;
}

.btn-export {
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  padding: 8px 18px;
  transition: all .12s;
}

.btn-export:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.empty-wrap {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 40px 32px;
  display: flex;
}

.empty-inner {
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  display: flex;
}

.empty-illo {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}

.empty-title {
  font-family: var(--font-hand);
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.3;
}

.empty-body {
  color: var(--muted);
  max-width: 320px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
}

.empty-cta {
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .1s, box-shadow .1s;
  display: inline-flex;
}

.empty-cta:hover {
  box-shadow: var(--shadow-lg);
  transform: translate(-1px, -1px);
}

.empty-tip {
  background: var(--amberlite);
  border: 1.5px solid var(--amber);
  text-align: left;
  border-radius: 10px;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  display: flex;
}

.empty-tip-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 20px;
}

.empty-tip-title {
  color: var(--ambertxt);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.empty-tip-body {
  color: var(--ambertxt);
  font-size: 12px;
  line-height: 1.6;
}

.diff-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  max-width: 88%;
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  margin-bottom: 2px;
  margin-left: 38px;
  animation: .35s cubic-bezier(.22, 1, .36, 1) both lumiore-fade-up;
  overflow: hidden;
}

.diff-card-header {
  border-bottom: 1px solid var(--faint);
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  display: flex;
}

.diff-options {
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  display: flex;
}

.diff-option {
  border: 1.5px solid var(--faint);
  cursor: pointer;
  background: var(--surface);
  -webkit-user-select: none;
  user-select: none;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  transition: border-color .12s, background .12s, transform .1s, box-shadow .1s;
  display: flex;
}

.diff-option:hover {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translate(-1px, -1px);
}

.diff-option.selected {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-sm);
}

.diff-option.locked {
  opacity: .35;
  pointer-events: none;
}

.diff-option.selected.locked {
  opacity: 1;
}

.diff-icon {
  background: var(--white);
  border: 1.5px solid var(--faint);
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  transition: background .12s, border-color .12s;
  display: flex;
}

.diff-option.selected .diff-icon {
  background: var(--amber);
  border-color: var(--ink);
}

.diff-name {
  color: var(--ink2);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
}

.diff-desc {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.diff-option.selected .diff-name {
  color: var(--ambertxt);
}

.diff-option.selected .diff-desc {
  color: var(--ambertxt);
  opacity: .8;
}

.diff-radio {
  border: 1.5px solid var(--faint);
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  transition: all .12s;
  display: flex;
}

.diff-option.selected .diff-radio {
  background: var(--amber);
  border-color: var(--ink);
  color: var(--ink);
}

.diff-generate {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 100%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 11px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .1s, box-shadow .1s;
  display: flex;
}

.diff-generate:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.login-shell {
  background: #fff;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
}

.login-right {
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 420px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  position: relative;
}

.login-right:before {
  content: "";
  background: var(--amber);
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.login-card-mark {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 56px;
  height: 56px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-serif);
  color: var(--ink);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  display: flex;
}

.login-card-title {
  font-family: var(--font-serif);
  color: #171717;
  text-align: center;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
}

.login-card-sub {
  color: #737373;
  text-align: center;
  max-width: 280px;
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.6;
}

.login-google-btn {
  width: 100%;
  font-family: var(--font-sans);
  color: #171717;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .1s, box-shadow .1s;
  display: flex;
}

.login-google-btn:hover {
  border-color: #2c2c2a;
}

.google-g {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.login-divider {
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
}

.login-divider-line {
  background: #e5e5e5;
  flex: 1;
  height: 1px;
}

.login-divider-text {
  color: #737373;
  white-space: nowrap;
  background: #fff;
  font-size: 12px;
}

.login-next-card {
  width: 100%;
  box-shadow: none;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 28px;
  padding: 14px 16px;
}

.login-next-title {
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #737373;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.login-next-steps {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.login-next-step {
  color: var(--ambertxt);
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.login-next-num {
  background: var(--amber);
  color: #2c2c2a;
  border: 2px solid #2c2c2a;
  border-radius: 9999px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  box-shadow: 2px 2px #2c2c2a;
}

.login-footer {
  color: #737373;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .login-right {
    width: 100%;
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .lumiore-send, .lumiore-btn-stop, .lumiore-nudge-chip {
    min-width: 44px;
    min-height: 44px;
  }

  input[type="text"], textarea, .lumiore-input-bar input {
    font-size: 16px !important;
  }
}

@media (max-width: 600px) {
  .lumiore-shell-row > aside {
    width: 0 !important;
    min-width: 0 !important;
    display: none !important;
  }

  .lumiore-input-footer {
    padding: 0;
  }

  .lumiore-input-wrap {
    padding: 6px 10px 10px;
  }

  .lumiore-input-bar {
    gap: 8px;
    padding: 6px 10px;
  }

  .lumiore-input-bar input, .lumiore-input-bar textarea {
    font-size: 15px;
  }

  .lumiore-send {
    width: 34px;
    height: 34px;
  }

  .lumiore-btn-stop {
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .lumiore-quote-strip {
    padding: 4px 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.diagram-card {
  max-width: 100%;
  margin: 8px 0;
  overflow: visible;
}

.diagram-layout {
  grid-template-columns: 180px 1fr 180px;
  align-items: start;
  gap: 12px;
  display: grid;
}

@media (min-width: 1100px) {
  .diagram-card-bleed {
    width: min(100vw - 32px, 1600px);
    max-width: min(100vw - 32px, 1600px);
    margin-left: calc(50% + -1 * min(50vw - 16px, 800px));
    margin-right: calc(50% + -1 * min(50vw - 16px, 800px));
  }
}

.col-left {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  display: flex;
}

.col-right {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

.col-center svg {
  display: block;
  overflow: hidden;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.def-item {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}

.def-item:hover {
  border-color: #fac775;
}

.def-item.active {
  border-color: #ef9f27;
  box-shadow: 0 0 0 3px #faeeda;
}

.def-item.teal.active {
  border-color: #9fe1cb;
  box-shadow: 0 0 0 3px #e1f5ee;
}

.def-item.purple.active {
  border-color: #cecbf6;
  box-shadow: 0 0 0 3px #eeedfe;
}

.def-item.green.active {
  border-color: #c0dd97;
  box-shadow: 0 0 0 3px #eaf3de;
}

.def-item.blue.active {
  border-color: #b5d4f4;
  box-shadow: 0 0 0 3px #e6f1fb;
}

.def-top {
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  display: flex;
}

.def-dot {
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.def-item.teal .def-dot {
  background: #9fe1cb;
}

.def-item.purple .def-dot {
  background: #cecbf6;
}

.def-item.green .def-dot {
  background: #c0dd97;
}

.def-item.blue .def-dot {
  background: #b5d4f4;
}

.def-name {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
}

.def-hint {
  color: #888;
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.3;
}

.def-chevron {
  color: #ccc;
  font-size: 9px;
  transition: transform .2s;
}

.def-item.active .def-chevron {
  color: #ef9f27;
  transform: rotate(180deg);
}

.def-body {
  padding: 0 12px 10px 28px;
  display: none;
}

.def-item.active .def-body {
  display: block;
}

.def-definition {
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1.5;
}

.def-mistake {
  background: #faeeda;
  border-radius: 4px;
  align-items: flex-start;
  gap: 5px;
  margin-top: 7px;
  padding: 6px 8px;
  display: flex;
}

.def-mistake-text {
  color: #854f0b;
  font-size: 10px;
  line-height: 1.4;
}

.def-mistake-label {
  margin-bottom: 1px;
  font-weight: 600;
  display: block;
}

.def-ask-btn {
  color: #ef9f27;
  cursor: pointer;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-top: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  transition: background .15s, border-color .15s;
}

.def-ask-btn:hover {
  background: #faeeda;
  border-color: #ef9f27;
}

.def-ask-btn:focus {
  outline-offset: 2px;
  outline: 2px solid #ef9f27;
}

.btn-diagram-download {
  color: #ef9f27;
  cursor: pointer;
  background: none;
  border: 1.5px solid #ef9f27;
  border-radius: 6px;
  margin-top: 10px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
}

@keyframes pulse-ring {
  0% {
    stroke-opacity: .9;
    stroke-width: 3px;
  }

  50% {
    stroke-opacity: .3;
    stroke-width: 5px;
  }

  100% {
    stroke-opacity: .9;
    stroke-width: 3px;
  }
}

.lumi-highlight {
  fill: none;
  stroke: #ef9f27;
  stroke-width: 3px;
  pointer-events: none;
  animation: 1.2s ease-in-out infinite pulse-ring;
}

.onboarding-card {
  background: var(--white);
  border: 2px solid var(--ink);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}

.onboarding-card.wide {
  max-width: 480px;
}

.onboarding-mark {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  color: var(--ink);
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  display: flex;
}

.onboarding-input {
  border-radius: var(--radius-md);
  border: 2px solid var(--faint);
  width: 100%;
  height: 44px;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
  outline: none;
  padding: 0 14px;
}

.onboarding-input:focus {
  border-color: var(--amber);
}

.onboarding-input::placeholder {
  color: var(--muted);
}

.onboarding-btn {
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  background: var(--white);
  width: 100%;
  height: 44px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: transform .1s, box-shadow .1s;
}

.onboarding-btn:hover:not(:disabled) {
  box-shadow: var(--shadow-lg);
  transform: translate(-1px, -1px);
}

.onboarding-btn:disabled {
  opacity: .5;
  cursor: default;
}

.onboarding-btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.onboarding-btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.onboarding-btn-ghost {
  border: 1.5px solid var(--amber);
  box-shadow: none;
  color: var(--ambertxt);
  background: none;
  font-weight: 600;
}

.onboarding-error {
  color: var(--redtxt);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  margin-top: 4px;
}

.onboarding-label {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-sans);
  letter-spacing: .3px;
  margin-bottom: 4px;
  font-weight: 600;
  display: block;
}

.onboarding-heading {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 700;
}

.onboarding-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-sans);
  margin: 0 0 24px;
  line-height: 1.6;
}

.onboarding-path-card {
  border: 2px solid var(--faint);
  background: var(--white);
  cursor: pointer;
  min-height: 120px;
  transition: all var(--transition-fast);
  border-radius: 12px;
  flex: 1;
  padding: 20px;
}

.onboarding-path-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.onboarding-path-card.selected {
  border-color: var(--ink);
  background: var(--amberlite);
  box-shadow: var(--shadow-sm);
}

.onboarding-pill {
  border-radius: var(--radius-full);
  border: 1.5px solid var(--faint);
  background: var(--surface);
  height: 32px;
  color: var(--muted);
  font-size: var(--text-sm);
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  padding: 0 14px;
}

.onboarding-pill.active {
  border-color: var(--ink);
  background: var(--amberlite);
  color: var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  font-weight: 700;
}

.onboarding-summary {
  background: var(--surface);
  border: 1.5px solid var(--faint);
  border-radius: var(--radius-md);
  text-align: left;
  padding: 16px;
}

.onboarding-keypad-btn {
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  background: var(--white);
  width: 64px;
  height: 48px;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-sm);
  transition: transform .1s, box-shadow .1s;
}

.onboarding-keypad-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.onboarding-keypad-btn:disabled {
  box-shadow: none;
  color: #0000;
  cursor: default;
  background: none;
  border-color: #0000;
}

.onboarding-keypad-btn:disabled:hover {
  transform: none;
}

.onboarding-dot {
  border: 2px solid var(--ink);
  width: 20px;
  height: 20px;
  transition: background var(--transition-fast);
  background: none;
  border-radius: 50%;
}

.onboarding-dot.filled {
  background: var(--amber);
}

.pin-overlay {
  z-index: 1000;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.pin-overlay-backdrop {
  background: #2c2c2a73;
  position: absolute;
  inset: 0;
}

.pin-overlay-card {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  border-radius: 16px;
  width: 90vw;
  max-width: 340px;
  padding: 32px 28px 24px;
  position: relative;
}

.lumiore-nav-logo {
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  padding: 0 8px;
  display: flex;
}

.child-switcher-dropdown {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 100;
  min-width: 160px;
  padding: 4px 0;
  position: absolute;
  bottom: 0;
  left: 48px;
}

.child-switcher-option {
  cursor: pointer;
  width: 100%;
  font-family: var(--font-sans);
  color: var(--ink);
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  display: flex;
}

.child-switcher-option:hover {
  background: var(--amberlite);
}

.child-switcher-option.active {
  background: var(--amberlite);
  color: var(--ambertxt);
  font-weight: 600;
}

.child-switcher-initial {
  background: var(--amber);
  width: 24px;
  height: 24px;
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.journey-summary-strip {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  display: flex;
}

.journey-stat-pills {
  flex-shrink: 0;
  gap: 8px;
  display: flex;
}

.journey-stat-pill {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-full);
  box-shadow: 1px 1px 0 var(--ink);
  background: #f5f5f5;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 12px;
  display: flex;
}

.journey-stat-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.journey-stat-value {
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.journey-stat-label {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 10px;
}

.journey-lumi-says {
  border: 1px solid var(--amber-border-subtle);
  border-radius: var(--radius-md);
  min-width: 180px;
  box-shadow: 0 1px 4px var(--amber-glow);
  background: #fff;
  flex: 1;
  padding: 6px 10px;
}

.journey-lumi-says-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ambertxt);
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 600;
  display: block;
}

.journey-lumi-says-text {
  font-family: var(--font-sans);
  color: #171717;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.journey-subject-pills {
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 18px 0;
  display: flex;
}

.journey-subject-pill {
  font-family: var(--font-sans);
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  transition: background .12s;
}

.journey-subject-pill:hover {
  background: var(--amberlite);
}

.journey-subject-pill.active {
  background: var(--amber);
  box-shadow: var(--shadow-sm);
}

.journey-chevron-row {
  width: 100%;
  display: flex;
}

.journey-chevron {
  background: #f5f5f5;
  border-top: 3px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
  border-right: none;
  flex: 1;
  min-height: 50px;
  padding: 8px 12px;
  position: relative;
}

.journey-chevron:last-child {
  border-right: 1px solid #e5e5e5;
}

.journey-chevron.zone2 {
  opacity: .55;
}

.journey-chevron-content {
  z-index: 1;
  position: relative;
}

.journey-chevron-name {
  font-family: var(--font-sans);
  color: var(--ink2);
  font-size: 11px;
  font-weight: 600;
}

.journey-chevron-date {
  font-family: var(--font-sans);
  color: var(--muted);
  margin-top: 1px;
  font-size: 10px;
}

.journey-chevron-meta {
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  display: flex;
}

.journey-chevron-topics {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 9px;
}

.journey-chevron-arrow {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 2;
  background: #f5f5f5;
  width: 13px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -7px;
}

.journey-days-badge {
  font-family: var(--font-sans);
  white-space: nowrap;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
}

.journey-canvas {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  flex: 1;
  min-height: 260px;
  padding-bottom: 60px;
  position: relative;
  overflow: visible;
}

.journey-stop {
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.journey-stop:hover {
  transform: scale(1.08);
}

.journey-stop.selected {
  filter: brightness(.95);
}

.journey-minimap {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  height: 24px;
}

.journey-legend {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 8px 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  display: flex;
}

.journey-legend-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .05em;
  font-size: 13px;
  font-weight: 600;
}

.journey-legend-item {
  font-family: var(--font-sans);
  color: var(--ink2);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  display: flex;
}

.journey-right-panel {
  flex-shrink: 0;
  width: 240px;
  padding: 0 12px 12px;
  overflow-y: auto;
}

.student-journey .journey-right-panel {
  width: 210px;
  padding: 0 0 12px;
}

.journey-right-card {
  box-shadow: none;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 11px 13px;
  transition: border-color .12s;
}

.journey-right-card:hover {
  border-color: var(--ink);
}

.journey-right-card.nudge {
  background: var(--amberlite);
  border-color: var(--amber);
}

.journey-right-card-title {
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .06em;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
}

.journey-exam-row {
  border-radius: var(--radius-sm);
  border: 1px solid var(--faint);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 6px 8px;
  display: flex;
}

.journey-exam-row.missing {
  opacity: .6;
  border-style: dashed;
}

.journey-exam-row-left {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.journey-exam-date {
  font-family: var(--font-sans);
  color: var(--ink2);
  min-width: 40px;
  font-size: 10px;
  font-weight: 600;
}

.journey-exam-name {
  font-family: var(--font-sans);
  color: var(--ink2);
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.journey-exam-scope {
  font-family: var(--font-sans);
  color: var(--muted);
  margin-top: 1px;
  font-size: 9px;
  display: block;
}

.journey-add-link {
  font-family: var(--font-sans);
  color: var(--amber);
  cursor: pointer;
  white-space: nowrap;
  font-size: 10px;
  text-decoration: underline;
}

.journey-nudge-btn {
  font-family: var(--font-sans);
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.journey-nudge-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.journey-cancel-btn {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
}

.journey-cancel-btn:hover {
  background: var(--faint);
}

.journey-year-row {
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  display: flex;
}

.journey-year-label {
  font-family: var(--font-sans);
  color: var(--muted);
  min-width: 42px;
  font-size: 10px;
}

.journey-year-bars {
  flex-direction: column;
  flex: 1;
  gap: 3px;
  display: flex;
}

.journey-year-bar {
  border-radius: 3px;
  min-width: 3px;
  height: 6px;
  transition: width .3s;
}

.journey-year-bar.last {
  background: #b0aba4;
}

.journey-year-bar.this {
  background: var(--amber);
}

.journey-year-pct {
  font-family: var(--font-sans);
  color: var(--ink2);
  text-align: right;
  min-width: 28px;
  font-size: 10px;
  font-weight: 600;
}

.journey-delta-badge {
  font-family: var(--font-sans);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 600;
}

.journey-year-legend {
  font-family: var(--font-sans);
  color: var(--muted);
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 9px;
  display: flex;
}

.journey-year-legend-dot {
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.journey-year-legend-dot.last {
  background: #b0aba4;
}

.journey-year-legend-dot.this {
  background: var(--amber);
}

.journey-activity-trail {
  margin-top: 4px;
}

.journey-activity-empty {
  font-family: var(--font-sans);
  color: var(--muted);
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px 10px;
  font-size: 11px;
  line-height: 1.6;
}

.journey-session-item {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 1px 1px 0 var(--ink);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 6px;
  padding: 8px;
}

.journey-session-item:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.journey-session-item-row {
  align-items: flex-start;
  gap: 6px;
  display: flex;
}

.journey-session-icon-box {
  background: var(--amberlite);
  border: 1px solid var(--amber);
  border-radius: 5px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  display: flex;
}

.journey-session-expand {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
}

.journey-session-expanded {
  font-family: var(--font-sans);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--faint);
  margin-top: 6px;
  padding-top: 6px;
  font-size: 9px;
  line-height: 1.6;
}

.journey-tooltip {
  border-radius: var(--radius-md);
  background: var(--white);
  z-index: 1000;
  border: 1px solid #e5e5e5;
  width: 210px;
  padding: 12px;
  box-shadow: 0 4px 20px #00000014;
}

.journey-tooltip-close {
  font-family: var(--font-sans);
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 8px;
}

.journey-tooltip-name {
  font-family: var(--font-serif);
  color: var(--ink2);
  margin-bottom: 6px;
  padding-right: 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.journey-tooltip-badge {
  font-family: var(--font-sans);
  border-radius: 4px;
  margin-bottom: 8px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
  display: inline-block;
}

.journey-tooltip-bar-row {
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  display: flex;
}

.journey-tooltip-bar {
  background: var(--faint);
  border-radius: 2px;
  flex: 1;
  height: 4px;
  overflow: hidden;
}

.journey-tooltip-bar-fill {
  border-radius: 2px;
  height: 100%;
  transition: width .3s;
}

.journey-tooltip-drilldown {
  width: 100%;
  font-family: var(--font-sans);
  text-align: center;
  color: var(--ink, #171717);
  border: 1px dashed var(--ink, #171717);
  cursor: pointer;
  background: none;
  border-radius: 6px;
  margin-top: 8px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 500;
}

.journey-tooltip-drilldown:hover {
  background: var(--surface, #f6f4ee);
}

.journey-tooltip-drilldown:focus-visible {
  outline: 2px solid var(--amber, #ef9f27);
  outline-offset: 2px;
}

.journey-tooltip-lumi {
  font-family: var(--font-sans);
  color: var(--ambertxt);
  background: var(--amberlite);
  border: 1px solid var(--amber);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  padding: 6px 8px;
  font-size: 10px;
  font-style: italic;
  line-height: 1.4;
}

.journey-tooltip-sessions {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  display: flex;
}

.journey-tooltip-session-icon {
  background: var(--amberlite);
  border: 1px solid var(--amber);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 17px;
  height: 17px;
  font-size: 10px;
  display: flex;
}

.journey-tooltip-session-meta {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 10px;
}

.journey-tooltip-btn {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  width: 100%;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  padding: 7px;
  font-size: 11px;
  font-weight: 600;
}

.journey-tooltip-btn:hover {
  box-shadow: var(--shadow-sm);
  transform: translate(-1px, -1px);
}

.journey-view-toggle {
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}

.journey-view-toggle button {
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
}

.journey-view-toggle button.active {
  background: var(--ink);
  color: #fff;
}

.journey-view-toggle button.inactive {
  color: var(--muted);
  background: none;
}

.journey-view-toggle button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.journey-toast {
  color: #fff;
  font-family: var(--font-sans);
  z-index: 9999;
  box-shadow: none;
  background: #2c2c2a;
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  animation: .2s lumiore-fade-up;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.journey-nudge-card {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  padding: 14px 16px;
}

.journey-nudge-card-title {
  font-family: var(--font-sans);
  color: var(--ambertxt);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
}

.journey-nudge-card-body {
  font-family: var(--font-sans);
  color: var(--ambertxt);
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.5;
}

@keyframes journey-skeleton {
  0% {
    opacity: .6;
  }

  50% {
    opacity: .3;
  }

  100% {
    opacity: .6;
  }
}

.journey-skeleton {
  background: var(--faint);
  border-radius: var(--radius-sm);
  animation: 1.5s ease-in-out infinite journey-skeleton;
}

.sj-lumi-voice {
  font-family: var(--font-sans);
  color: var(--foreground);
  font-size: 11px;
  line-height: 1.5;
}

.student-journey .journey-lumi-says-text {
  font-family: var(--font-sans);
  font-style: normal;
}

.sj-focus-row {
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  display: flex;
}

.sj-focus-name {
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.sj-focus-subj {
  font-family: var(--font-sans);
  background: var(--amberlite);
  color: var(--ambertxt);
  border: 1px solid var(--amber);
  border-radius: 4px;
  margin-top: 2px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
  display: inline-block;
}

.student-journey .sj-focus-subj {
  color: #737373;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
}

.sj-lumi-note {
  background: var(--amberlite);
  border: 1px solid var(--amber);
  border-radius: 7px;
  margin-bottom: 9px;
  padding: 7px 9px;
}

.student-journey .sj-lumi-note {
  background: #fff;
  border: 1px solid #c00;
  border-radius: 8px;
}

.sj-cta {
  background: var(--amber);
  border: 2px solid var(--ink);
  width: 100%;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  color: var(--ink);
  border-radius: 7px;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.sj-cta:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-1px, -1px);
}

.sj-prog-row {
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  display: flex;
}

.sj-prog-lbl {
  font-family: var(--font-sans);
  color: var(--muted);
  flex-shrink: 0;
  width: 66px;
  font-size: 10px;
}

.sj-prog-track {
  background: var(--border);
  border-radius: 3px;
  flex: 1;
  height: 5px;
  overflow: hidden;
}

.sj-prog-fill {
  border-radius: 3px;
  height: 100%;
}

.sj-prog-n {
  font-family: var(--font-sans);
  color: var(--ink2);
  text-align: right;
  min-width: 12px;
  font-size: 10px;
  font-weight: 600;
}

.sj-celebrate {
  background: var(--green);
  border: 1.5px solid #c0dd97;
  border-radius: 7px;
  margin-top: 8px;
  padding: 6px 9px;
}

.sj-cu-tag {
  font-family: var(--font-sans);
  border-radius: 4px;
  margin-bottom: 5px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  display: inline-block;
}

.sj-cu-urg {
  color: #fff;
  background: #c00;
}

.sj-cu-ok {
  background: var(--amberlite);
  color: var(--ambertxt);
  border: 1px solid var(--amber);
}

.sj-cu-date-big {
  font-family: var(--font-serif);
  color: var(--ink2);
  margin-bottom: 1px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.sj-cu-sub {
  font-family: var(--font-sans);
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 10px;
}

.f8-shell {
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: #fff;
  flex-direction: column;
  display: flex;
}

.f8-shell--dark {
  background: #0a0a0a;
}

.f8-status-bar {
  background: #f5f5f5;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 6px 18px;
  display: flex;
}

.f8-status-bar--dark {
  background: #111;
}

.f8-time {
  color: #000;
  font-size: 12px;
  font-weight: 600;
}

.f8-time--light {
  color: #fff;
}

.f8-status-icons {
  align-items: center;
  gap: 5px;
  display: flex;
}

.f8-signal {
  align-items: flex-end;
  gap: 2px;
  display: flex;
}

.f8-signal span {
  background: #000;
  border-radius: 1px;
  width: 3px;
}

.f8-signal--light span {
  background: #fff;
}

.f8-battery {
  background: #000;
  border-radius: 2px;
  width: 16px;
  height: 9px;
  position: relative;
}

.f8-battery:after {
  content: "";
  background: #000;
  border-radius: 0 2px 2px 0;
  width: 3px;
  height: 5px;
  position: absolute;
  top: 2px;
  right: -4px;
}

.f8-battery--light, .f8-battery--light:after {
  background: #fff;
}

.f8-topbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  display: flex;
}

.f8-topbar--dark {
  background: #0a0a0a;
  border-color: #222;
}

.f8-topbar-back {
  color: #ef9f27;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.f8-topbar-back--light {
  color: #fff;
}

.f8-topbar-title {
  color: #000;
  font-size: 15px;
  font-weight: 600;
}

.f8-topbar-title--light {
  color: #fff;
}

.f8-body {
  background: #fff;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 32px;
  display: flex;
  overflow-y: auto;
}

.f8-body--center {
  text-align: center;
  align-items: center;
}

.f8-logo-row {
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}

.f8-logo-mark {
  background: var(--amber);
  color: #000;
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-serif);
  font-optical-sizing: none;
  border: 2px solid #2c2c2a;
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 2px 2px #2c2c2a;
}

.f8-logo-text {
  color: #000;
  letter-spacing: -.4px;
  font-size: 20px;
  font-weight: 700;
}

.f8-logo-text .ore {
  color: var(--amber);
}

.f8-logo-super {
  color: var(--amber);
  font-size: .4em;
  position: relative;
  top: -.3em;
}

.f8-tagline {
  color: #737373;
  margin-bottom: 28px;
  font-size: 12px;
}

.f8-h2 {
  color: #171717;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 8px;
}

.f8-h3 {
  color: #171717;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
}

.f8-body-text {
  color: #737373;
  font-size: 13px;
  line-height: 1.5;
}

.f8-muted {
  color: #737373;
  font-size: 12px;
}

.f8-section-label {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #737373;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
}

.f8-greeting {
  margin-bottom: 20px;
}

.f8-greeting-label {
  color: #737373;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 400;
}

.f8-greeting-name {
  color: #171717;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-serif);
}

.f8-hero-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 22px 18px;
  transition: border-color .12s;
}

.f8-hero-card:hover {
  border-color: var(--amber);
}

.f8-hero-icon {
  margin-bottom: 8px;
  font-size: 38px;
}

.f8-hero-desc {
  color: #737373;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.5;
}

.f8-amber-btn {
  background: var(--amber);
  color: #000;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 2px solid #2c2c2a;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all .1s;
  display: flex;
  box-shadow: 2px 2px #2c2c2a;
}

.f8-amber-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px #000;
}

.f8-amber-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.f8-ghost-btn {
  color: #171717;
  width: 100%;
  box-shadow: none;
  cursor: pointer;
  text-align: center;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .12s;
}

.f8-ghost-btn:hover {
  border-color: #2c2c2a;
}

.f8-card {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 16px;
}

.f8-card-sm {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.f8-pill {
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.f8-pill--amber {
  color: #854f0b;
  background: #faeeda;
  border: 1.5px solid #ef9f27;
}

.f8-pill--green {
  color: #2d5a10;
  background: #eaf3de;
  border: 1.5px solid #2d5a10;
}

.f8-link-card {
  cursor: pointer;
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
  display: flex;
}

.f8-link-icon {
  border: 1.5px solid #000;
  border-radius: 7px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  display: flex;
}

.f8-link-icon--green {
  background: #eaf3de;
}

.f8-link-icon--amber {
  background: var(--amberlite);
}

.f8-chevron {
  color: #bbb;
  margin-left: auto;
  font-size: 18px;
}

.f8-progress-wrap {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  height: 8px;
  margin: 12px 0;
  overflow: hidden;
}

.f8-progress-fill {
  background: var(--amber);
  border-radius: 8px;
  height: 100%;
  animation: 2.5s ease-in-out infinite alternate f8-fill-progress;
}

@keyframes f8-fill-progress {
  from {
    width: 15%;
  }

  to {
    width: 88%;
  }
}

.f8-verb-anim {
  color: #888;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  animation: 2s ease-in-out infinite f8-verb-fade;
}

@keyframes f8-verb-fade {
  0%, 80% {
    opacity: 1;
  }

  90%, 100% {
    opacity: .2;
  }
}

.f8-amber-pulse {
  background: var(--amberlite);
  border: 2px solid var(--amber);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  font-size: 22px;
  animation: 1.6s ease-in-out infinite f8-pulse-amber;
  display: flex;
}

@keyframes f8-pulse-amber {
  0%, 100% {
    box-shadow: 0 0 #ef9f2773;
  }

  50% {
    box-shadow: 0 0 0 10px #ef9f2700;
  }
}

.f8-bottom-nav {
  background: #fff;
  border-top: 2px solid #000;
  flex-shrink: 0;
  padding: 8px 0 6px;
  display: flex;
}

.f8-bnav-item {
  cursor: pointer;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 2px;
  padding: 3px 0;
  display: flex;
}

.f8-bnav-icon {
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 14px;
  display: flex;
}

.f8-bnav-icon--active {
  background: var(--amber);
  border: 1.5px solid #000;
}

.f8-bnav-label {
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 9px;
  font-weight: 600;
}

.f8-bnav-label--active {
  color: #000;
}

.f8-camera-screen {
  background: #0a0a0a;
  flex-direction: column;
  flex: 1;
  align-items: center;
  min-height: 460px;
  display: flex;
  position: relative;
}

.f8-camera-viewfinder {
  border-radius: 10px;
  position: absolute;
  inset: 20px 16px 110px;
  overflow: hidden;
}

.f8-camera-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.f8-corner {
  border-color: var(--amber);
  border-style: solid;
  width: 22px;
  height: 22px;
  position: absolute;
}

.f8-corner--tl {
  border-width: 3px 0 0 3px;
  border-radius: 3px 0 0;
  top: 8px;
  left: 8px;
}

.f8-corner--tr {
  border-width: 3px 3px 0 0;
  border-radius: 0 3px 0 0;
  top: 8px;
  right: 8px;
}

.f8-corner--bl {
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 3px;
  bottom: 8px;
  left: 8px;
}

.f8-corner--br {
  border-width: 0 3px 3px 0;
  border-radius: 0 0 3px;
  bottom: 8px;
  right: 8px;
}

.f8-page-counter {
  color: #fff;
  z-index: 10;
  background: #000000a6;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.f8-edge-label {
  color: #aaa;
  letter-spacing: .04em;
  white-space: nowrap;
  font-size: 10px;
  position: absolute;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
}

.f8-thumb-strip {
  z-index: 5;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  display: flex;
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
}

.f8-thumb {
  border: 2px solid var(--amber);
  cursor: pointer;
  background: #222;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 50px;
  display: flex;
  position: relative;
}

.f8-thumb-num {
  color: var(--amber);
  font-size: 8px;
  font-weight: 600;
  position: absolute;
  bottom: 2px;
  right: 3px;
}

.f8-thumb-loading {
  background: #0006;
  border-radius: 3px;
  position: absolute;
  inset: 0;
}

.f8-thumb-loading:after {
  content: "";
  border: 2px solid var(--amber);
  border-top-color: #0000;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  animation: .6s linear infinite f8-spin;
  position: absolute;
  top: 50%;
  left: 50%;
}

@keyframes f8-spin {
  to {
    transform: rotate(360deg);
  }
}

.f8-capture-btn {
  border: 3px solid var(--amber);
  cursor: pointer;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px #ef9f2733;
}

.f8-capture-btn:disabled {
  opacity: .3;
}

.f8-capture-inner {
  background: var(--amber);
  border: 2px solid #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.f8-gallery-btn {
  color: #000;
  cursor: pointer;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  bottom: 14px;
  left: 16px;
}

.f8-done-btn {
  background: var(--amber);
  color: #000;
  cursor: pointer;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  bottom: 14px;
  right: 16px;
}

.f8-confirm-row {
  border-bottom: 1px solid #e5e5e5;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  display: flex;
}

.f8-field-label {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #737373;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 600;
}

.f8-field-value {
  color: #171717;
  font-size: 14px;
  font-weight: 600;
}

.f8-edit-tag {
  background: var(--amberlite);
  color: #854f0b;
  border: 1px solid var(--amber);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: 8px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 600;
}

.f8-dropdown {
  color: #000;
  border: 1.5px solid var(--amber);
  background: #fff;
  border-radius: 6px;
  width: 100%;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.f8-clarity-row {
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.f8-clarity-track {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  flex: 1;
  height: 7px;
  overflow: hidden;
}

.f8-clarity-fill {
  background: var(--amber);
  border-radius: 4px;
  height: 100%;
}

.f8-clarity-pct {
  color: #000;
  min-width: 36px;
  font-size: 13px;
  font-weight: 600;
}

.f8-toggle-row {
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  display: flex;
}

.f8-toggle-on {
  background: var(--amber);
  cursor: pointer;
  border: 2px solid #000;
  border-radius: 14px;
  justify-content: flex-end;
  align-items: center;
  width: 40px;
  height: 23px;
  padding-right: 3px;
  display: flex;
  box-shadow: 2px 2px #000;
}

.f8-toggle-off {
  cursor: pointer;
  background: #e5e5e5;
  border: 2px solid #000;
  border-radius: 14px;
  align-items: center;
  width: 40px;
  height: 23px;
  padding-left: 3px;
  display: flex;
  box-shadow: 2px 2px #000;
}

.f8-toggle-thumb {
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}

.f8-divider {
  background: #e5e5e5;
  height: 1px;
  margin: 8px 0;
}

.f8-score-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 14px;
  padding: 20px 16px;
}

.f8-score-big {
  color: #171717;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-serif);
}

.f8-score-denom {
  color: #737373;
  font-size: 22px;
  font-weight: 400;
}

.f8-topic-row {
  border-bottom: 1px solid #e5e5e5;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  display: flex;
}

.f8-topic-row:last-child {
  border-bottom: none;
}

.f8-topic-dot {
  border: 1.5px solid #2c2c2a;
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.f8-note {
  color: #737373;
  text-align: center;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.6;
}

.f8-note strong {
  color: #171717;
  font-weight: 600;
}

.f8-foggy-thumb {
  border: 2px solid var(--amber);
  background: #f5f5f5;
  border-radius: 4px;
  flex-shrink: 0;
  width: 46px;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.f8-foggy-lines {
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  display: flex;
}

.f8-foggy-line {
  background: #ccc;
  border-radius: 1px;
  height: 2px;
}

.f8-foggy-overlay {
  background: repeating-linear-gradient(45deg, #ef9f272e 0 4px, #0000 4px 8px);
  position: absolute;
  inset: 0;
}

.f8-foggy-badge {
  background: var(--amber);
  color: #000;
  border: 1.5px solid #000;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  position: absolute;
  bottom: 3px;
  right: 3px;
}

.f8-error-card {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.f8-btn-row {
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.f8-btn-row .f8-amber-btn, .f8-btn-row .f8-ghost-btn {
  padding: 9px;
  font-size: 13px;
  box-shadow: 2px 2px #000;
}

.lo-readiness {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.lo-readiness-empty {
  background: #f9f9f9;
  border-style: dashed;
}

.lo-rdy-header {
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  display: flex;
}

.lo-rdy-title {
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #737373;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.lo-rdy-bar-row {
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  display: flex;
}

.lo-rdy-bar {
  background: #f0f0f0;
  border-radius: 4px;
  flex: 1;
  height: 8px;
  overflow: hidden;
}

.lo-rdy-bar-fill {
  border-radius: 4px;
  height: 100%;
  transition: width .6s;
}

.lo-rdy-pct {
  text-align: right;
  min-width: 48px;
  font-size: 20px;
  font-weight: 600;
}

.lo-rdy-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}

.lo-rdy-exam-info {
  color: #737373;
  margin-bottom: 6px;
  font-size: 11px;
}

.lo-rdy-gaps {
  color: #854f0b;
  border-left: 3px solid var(--amber);
  margin-bottom: 6px;
  padding: 4px 0 4px 10px;
  font-size: 12px;
}

.lo-rdy-gaps-label {
  color: #737373;
  font-weight: 500;
}

.lo-rdy-suggestion {
  color: #737373;
  font-size: 12px;
  font-style: italic;
}

.lo-rdy-link {
  color: var(--amber);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}

.lumiore-loader-full {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 200px;
  display: flex;
}

.lumiore-loader-msg {
  color: #17171780;
  font-size: 12px;
  font-family: var(--font-sans);
  text-align: center;
  animation: .3s ease-out fvgFadeIn;
}

.lumiore-loader-inline {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.lumiore-loader-spinner {
  border: 2.5px solid #e5e5e5;
  border-top-color: var(--amber);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .7s linear infinite lumiore-spin;
}

.lumiore-loader-text {
  color: #17171780;
  font-size: 13px;
}

.lumiore-mark-animate {
  animation: 2.6s ease-in-out infinite lumioLPulse;
}

@keyframes lumiore-spin {
  to {
    transform: rotate(360deg);
  }
}

.fmt-marker {
  border-left: 3px solid var(--amber);
  margin: 4px 0;
  padding: 4px 0 4px 12px;
  display: block;
}

.fmt-marker-warn {
  border-left-color: #a32d2d;
}

.fmt-marker-good {
  border-left-color: #639922;
}

.fmt-marker-action {
  border-left-color: var(--amber);
  font-weight: 600;
}

.fmt-marker-pin {
  border-left-color: #e5e5e5;
}

.hint-dot-pulse {
  animation: 2s ease-in-out infinite hintPulse;
}

@keyframes hintPulse {
  0%, 100% {
    box-shadow: 0 0 #ef9f2766;
  }

  50% {
    box-shadow: 0 0 0 4px #ef9f2700;
  }
}

.fvg-backdrop {
  z-index: 9999;
  background: #0000004d;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.fvg-card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 20px;
  animation: .25s ease-out fvgFadeIn;
  position: relative;
  box-shadow: 0 8px 32px #0000001f;
}

.fvg-close {
  color: #737373;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 14px;
}

.fvg-close:hover {
  color: #171717;
}

.fvg-illustration {
  justify-content: center;
  align-items: center;
  min-height: 64px;
  margin-bottom: 16px;
  display: flex;
}

.fvg-title {
  font-family: var(--font-serif);
  color: #171717;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.fvg-body {
  color: #4a4a4a;
  max-width: 340px;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.55;
}

.fvg-dots {
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  display: flex;
}

.fvg-dot {
  background: #e5e5e5;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: background .2s;
}

.fvg-dot-active {
  background: var(--amber);
}

.fvg-nav {
  justify-content: center;
  gap: 10px;
  display: flex;
}

.fvg-btn-next {
  background: var(--amber);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  flex: 1;
  max-width: 260px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 2px 2px #000;
}

.fvg-btn-next:hover {
  background: #d48b1f;
}

.fvg-btn-back {
  color: #737373;
  cursor: pointer;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
}

.fvg-btn-back:hover {
  background: #f5f5f5;
}

.fvg-mini-ring {
  transform: scale(.6);
}

.fvg-icon-ring, .fvg-icon-hex, .fvg-icon-upload {
  justify-content: center;
  display: flex;
}

.fvg-trio {
  justify-content: center;
  gap: 24px;
  display: flex;
}

.fvg-trio-item {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.fvg-trio-icon {
  font-size: 28px;
}

.fvg-trio-label {
  color: #737373;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11px;
  font-weight: 500;
}

@keyframes fvgFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .fvg-card {
    max-width: calc(100vw - 32px);
    padding: 24px 16px 16px;
  }

  .fvg-body {
    font-size: 13px;
  }
}

:root {
  --foreground: #171717;
  --secondary: #f5f5f5;
  --border-neutral: #e5e5e5;
  --greenlite: var(--green);
  --red-lt: var(--redlite);
  --red-txt: var(--c-red-text);
  --font-mono: "Menlo", "Courier New", monospace;
  --text-md: 14px;
  --amber-border-subtle: #ef9f2759;
  --amber-glow: #ef9f2714;
  --amber-border-focus: #ef9f2799;
  --surface-cool: #fafaf8;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-3-5: 14px;
  --space-4-5: 18px;
  --shadow-xs: 1px 1px 0 var(--ink);
  --shadow-2xl: 6px 6px 0 var(--ink);
  --radius-xs: 4px;
  --radius-pill: 9999px;
  --transition-base: .12s ease;
  --transition-micro: .1s ease;
  --transition-slow: .2s ease;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@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;
}

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

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

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

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

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

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

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

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

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

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

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

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

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

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

/*# sourceMappingURL=app_globals_71f961d1.css.map*/