/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Segoe UI",ui-sans-serif,system-ui,sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-6xl: 72rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --leading-tight: 1.25;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-cream: #fbf5ed;
    --color-paper: #fffdfa;
    --color-cocoa: #4b342c;
    --color-terracotta: #a7553d;
    --color-peach: #f7e4d7;
    --color-sand: #e7d7c6;
    --color-muted: #7c695e;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .mx-auto {
    margin-inline: auto;
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-9 {
    margin-top: calc(var(--spacing) * 9);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-1 {
    margin-left: var(--spacing);
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .min-h-svh {
    min-height: 100svh;
  }
  .w-11 {
    width: calc(var(--spacing) * 11);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-full {
    width: 100%;
  }
  .max-w-6xl {
    max-width: var(--container-6xl);
  }
  .max-w-sm {
    max-width: var(--container-sm);
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-9 {
    gap: calc(var(--spacing) * 9);
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-\[2rem\] {
    border-radius: 2rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-sand\/70 {
    border-color: color-mix(in srgb, #e7d7c6 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-sand) 70%, transparent);
    }
  }
  .border-sand\/80 {
    border-color: color-mix(in srgb, #e7d7c6 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-sand) 80%, transparent);
    }
  }
  .bg-cream {
    background-color: var(--color-cream);
  }
  .bg-paper {
    background-color: var(--color-paper);
  }
  .bg-peach {
    background-color: var(--color-peach);
  }
  .p-7 {
    padding: calc(var(--spacing) * 7);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-7 {
    padding-block: calc(var(--spacing) * 7);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pb-7 {
    padding-bottom: calc(var(--spacing) * 7);
  }
  .pb-10 {
    padding-bottom: calc(var(--spacing) * 10);
  }
  .text-center {
    text-align: center;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .text-cocoa {
    color: var(--color-cocoa);
  }
  .text-muted {
    color: var(--color-muted);
  }
  .text-terracotta {
    color: var(--color-terracotta);
  }
  .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);
  }
  @media (width >= 40rem) {
    .sm\:w-72 {
      width: calc(var(--spacing) * 72);
    }
    .sm\:p-10 {
      padding: calc(var(--spacing) * 10);
    }
    .sm\:px-10 {
      padding-inline: calc(var(--spacing) * 10);
    }
    .sm\:text-5xl {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  @media (width >= 64rem) {
    .lg\:mx-0 {
      margin-inline: 0px;
    }
    .lg\:w-80 {
      width: calc(var(--spacing) * 80);
    }
    .lg\:grid-cols-\[1\.1fr_1fr\] {
      grid-template-columns: 1.1fr 1fr;
    }
    .lg\:gap-20 {
      gap: calc(var(--spacing) * 20);
    }
    .lg\:py-6 {
      padding-block: calc(var(--spacing) * 6);
    }
    .lg\:text-left {
      text-align: left;
    }
  }
}
@layer components {
  :root {
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
    color: #1d2c3a;
    background: #f2f3ed;
    font-synthesis: none;
    --nav: #132337;
    --nav2: #1d3349;
    --muted: #6c7a84;
    --green: #4ce0ad;
    --gold: #ffcc62;
    --paper: #fffef8;
    --line: #dbe1db;
    --pixel: "Courier New",monospace;
    --accent: #156a63;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  button,input,select,textarea {
    font: inherit;
  }
  button,a,input,select,textarea {
    touch-action: manipulation;
  }
  button,a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: not-allowed;
    opacity: .55;
  }
  a {
    color: inherit;
  }
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid #3498ff;
    outline-offset: 3px;
  }
  button {
    border: 0;
  }
  svg {
    vertical-align: middle;
  }
  .shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 246px 1fr;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 246px;
    background: var(--nav);
    color: #dce7ee;
    padding: 30px 21px;
    display: flex;
    flex-direction: column;
    z-index: 30;
    overflow: auto;
  }
  .brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    margin: 0 3px 32px;
  }
  .brand-logo {
    height: 42px;
    width: 42px;
    background: var(--green);
    color: var(--nav);
    display: grid;
    place-items: center;
    font: bold 28px var(--pixel);
    box-shadow: 4px 4px #080f19;
    border: 2px solid #94f1d0;
  }
  .brand-name {
    font: bold 18px/1.05 var(--pixel);
    letter-spacing: 1px;
    color: #fff;
  }
  .brand-name small {
    font: 10px/2 var(--pixel);
    color: #83a2b6;
    letter-spacing: 2px;
  }
  .nav-label {
    color: #7892a7;
    font: 10px var(--pixel);
    letter-spacing: 2px;
    margin: 15px 12px 10px;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    margin: 4px 0;
    color: #adbfcd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    transition: background .15s;
  }
  .nav-link svg {
    width: 18px;
    height: 18px;
  }
  .nav-link:hover {
    background: #213a50;
    color: #fff;
  }
  .nav-link.active {
    background: #234b4b;
    color: #8ff1cd;
    box-shadow: inset 3px 0 var(--green);
  }
  .nav-link .badge {
    margin-left: auto;
    background: #37565f;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    color: #bdffdf;
  }
  .sidebar-card {
    padding: 16px;
    background: var(--nav2);
    border: 1px solid #355166;
    margin-top: 26px;
    box-shadow: 3px 3px #0c1929;
  }
  .sidebar-card b {
    color: var(--gold);
    font: 12px var(--pixel);
  }
  .sidebar-card p {
    color: #abc0cf;
    font-size: 11px;
    line-height: 1.7;
    margin: 8px 0;
  }
  .sidebar-footer {
    margin-top: auto;
    padding: 24px 9px 0;
    font-size: 10px;
    color: #8ea6ba;
    line-height: 1.8;
  }
  .online-dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: var(--green);
    margin-right: 6px;
    box-shadow: 0 0 0 3px #4ce0ad15;
  }
  .workspace {
    grid-column: 2;
    min-width: 0;
  }
  .topbar {
    height: 76px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background: #fcfcf7;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .breadcrumbs {
    font-size: 12px;
    color: #7d8b90;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .breadcrumbs strong {
    color: #263d48;
    font-weight: 600;
  }
  .top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .search-btn {
    color: #7c898d;
    background: transparent;
    border: 1px solid #d9dfd8;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    min-width: 200px;
  }
  .search-btn svg {
    width: 15px;
    height: 15px;
  }
  .key {
    margin-left: auto;
    font: 9px var(--pixel);
    background: #ebeee7;
    padding: 2px 5px;
  }
  .level {
    font: 11px var(--pixel);
    color: #627482;
  }
  .avatar {
    width: 32px;
    height: 32px;
    background: #ffe3a1;
    display: grid;
    place-items: center;
    font: bold 12px var(--pixel);
    box-shadow: 2px 2px #d2af66;
  }
  .mobile-menu {
    display: none;
    background: transparent;
    color: var(--nav);
    font-size: 22px;
    padding: 6px;
  }
  .main {
    max-width: 1480px;
    margin: auto;
    padding: 32px 38px 50px;
  }
  .eyebrow {
    font: bold 10px var(--pixel);
    letter-spacing: 2px;
    color: #6c8a85;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font: 700 27px/1.25 var(--pixel);
    letter-spacing: -1px;
    margin: 0;
    color: #1c3243;
  }
  .page-heading p {
    color: var(--muted);
    font-size: 12px;
    margin: 9px 0 0;
    line-height: 1.6;
  }
  .date-label {
    font: 10px var(--pixel);
    color: #7a8a8c;
    white-space: nowrap;
    padding: 9px 0;
  }
  .pixel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 17px;
    background: var(--nav);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--nav);
    box-shadow: 3px 3px #a6b2b0;
    min-height: 41px;
  }
  .pixel-btn:hover {
    background: #28485b;
    transform: translate(-1px,-1px);
    box-shadow: 4px 4px #9caaa8;
  }
  .pixel-btn.primary {
    background: #2cb789;
    color: #082d27;
    border-color: #173d35;
    box-shadow: 3px 3px #173d35;
  }
  .pixel-btn.light {
    background: var(--paper);
    color: #42575d;
    border-color: #d7ded6;
    box-shadow: 2px 2px #d7ded6;
  }
  .pixel-btn.small {
    padding: 7px 11px;
    min-height: 33px;
    font-size: 10px;
  }
  .pixel-btn svg {
    width: 14px;
    height: 14px;
  }
  .hero {
    background: var(--nav);
    border: 3px solid #0e1a2b;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 260px;
    position: relative;
    min-height: 214px;
    margin-bottom: 25px;
    box-shadow: 5px 5px #d3dbd3;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(#62849b30 1px,transparent 1px),linear-gradient(90deg,#62849b30 1px,transparent 1px);
    background-size: 24px 24px;
  }
  .hero-copy {
    position: relative;
    padding: 30px 33px;
  }
  .hero .eyebrow {
    color: #76c9ab;
  }
  .hero h2 {
    font: 700 25px/1.35 var(--pixel);
    letter-spacing: -.8px;
    margin: 10px 0;
    color: #fff;
  }
  .hero p {
    color: #a7becd;
    font-size: 12px;
    max-width: 530px;
    line-height: 1.8;
    margin: 9px 0 18px;
  }
  .hero .pixel-btn {
    box-shadow: 3px 3px #080e18;
  }
  .hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center,#40625d50,transparent 70%);
  }
  .hero-art svg {
    height: 150px;
    width: 180px;
    image-rendering: pixelated;
    filter: drop-shadow(5px 8px 0 #091725);
  }
  .hero-art::after {
    content: "LEVEL UP YOUR KNOWLEDGE";
    position: absolute;
    bottom: 20px;
    color: #648a97;
    font: 7px var(--pixel);
    letter-spacing: 1.5px;
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 25px;
  }
  .stat {
    background: var(--paper);
    padding: 17px 19px;
    border: 1px solid #d8dfd6;
    box-shadow: 3px 3px #e2e7de;
    display: flex;
    gap: 14px;
    align-items: center;
  }
  .stat-icon {
    height: 39px;
    width: 39px;
    background: var(--tint,#e8f3ed);
    display: grid;
    place-items: center;
    color: var(--tone,#357b63);
    border: 1px solid #00000009;
  }
  .stat-icon svg {
    width: 20px;
    height: 20px;
  }
  .stat-value {
    font: bold 24px var(--pixel);
    letter-spacing: -1px;
  }
  .stat-value small {
    color: #99a5a9;
    font: 12px var(--pixel);
    letter-spacing: 0;
  }
  .stat-label {
    font-size: 10px;
    color: #7b898a;
    margin-top: 4px;
  }
  .dashboard-middle {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .panel {
    background: var(--paper);
    border: 1px solid #d8dfd6;
    padding: 22px 24px;
    box-shadow: 3px 3px #e2e7de;
  }
  .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
  }
  .section-title h2 {
    font: 700 14px var(--pixel);
    margin: 0;
    color: #29414d;
  }
  .section-title p,.section-title span {
    font-size: 10px;
    color: #85938f;
    margin: 0;
  }
  .section-title a {
    font-size: 10px;
    color: #167c64;
    text-decoration: none;
    font-weight: 700;
  }
  .activity-chart {
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 14px;
    height: 116px;
    border-bottom: 1px solid var(--line);
    padding: 0 6px;
  }
  .bar-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 43px;
    position: relative;
  }
  .bar {
    width: 100%;
    height: var(--h);
    background: #a3d5bd;
    border: 1px solid #6ebc99;
    min-height: 3px;
    box-shadow: 2px 0 #88bca6;
  }
  .bar-col.today .bar {
    background: #35ba8e;
    border-color: #218d6c;
  }
  .bar-number {
    font: 9px var(--pixel);
    color: #729284;
    padding-bottom: 5px;
  }
  .chart-days {
    display: flex;
    justify-content: space-around;
    font: 9px var(--pixel);
    color: #80928a;
    padding-top: 9px;
  }
  .activity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #8c9991;
    margin-top: 14px;
  }
  .legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #35ba8e;
    margin-right: 5px;
  }
  .goal-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 22px 0;
  }
  .ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#33b48c calc(var(--p)*1%),#e8eee5 0);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    position: relative;
  }
  .ring:before {
    content: "";
    position: absolute;
    inset: 8px;
    background: var(--paper);
    border-radius: 50%;
  }
  .ring span {
    position: relative;
    font: bold 20px var(--pixel);
  }
  .goal-text b {
    font-size: 13px;
    color: #355947;
  }
  .goal-text p {
    font-size: 11px;
    color: #819088;
    line-height: 1.7;
    margin: 5px 0;
  }
  .goal-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #6b7d72;
    border-top: 1px dashed #d4ddd1;
    padding-top: 14px;
  }
  .goal-setting input {
    width: 55px;
    border: 1px solid #ced8cd;
    padding: 5px;
    font: 11px var(--pixel);
    background: #fafbf6;
  }
  .discipline-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
  }
  .discipline-card {
    display: block;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid #d8dfd6;
    box-shadow: 3px 3px #e0e6db;
    padding: 19px 20px;
    transition: transform .15s;
    position: relative;
    overflow: hidden;
  }
  .discipline-card:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--color);
  }
  .discipline-card:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px #cfdace;
  }
  .discipline-card h3 {
    font-size: 12px;
    line-height: 1.5;
    margin: 12px 0 6px;
    color: #30434c;
    min-height: 36px;
  }
  .discipline-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .disc-code {
    font: bold 10px var(--pixel);
    color: var(--color);
    background: var(--color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb,var(--color) 9%,transparent);
    }
    padding: 5px 7px;
  }
  .tiny-badge {
    font: 8px var(--pixel);
    color: #748a7b;
    background: #edf3e9;
    padding: 4px 6px;
  }
  .tiny-badge.empty {
    color: #9a9f98;
    background: #f1f2eb;
  }
  .card-meta {
    font-size: 10px;
    color: #8c9696;
    line-height: 1.7;
  }
  .progress-track {
    height: 5px;
    background: #e8ede5;
    margin-top: 16px;
    position: relative;
  }
  .progress-track span {
    display: block;
    width: var(--p);
    height: 100%;
    background: var(--color,#36b58b);
  }
  .card-bottom {
    display: flex;
    justify-content: space-between;
    color: #7a8a82;
    font-size: 9px;
    margin-top: 8px;
  }
  .footer-note {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    font: 8px var(--pixel);
    letter-spacing: .8px;
    color: #9aa5a0;
    border-top: 1px solid #dce3d8;
    padding-top: 18px;
  }
  .filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .filters input,.filters select {
    border: 1px solid #cbd6cc;
    padding: 10px 12px;
    background: var(--paper);
    font-size: 12px;
    color: #425c5b;
    min-height: 40px;
  }
  .filters input {
    flex: 1;
    min-width: 160px;
  }
  .result-count {
    font: 10px var(--pixel);
    color: #83948b;
    margin: 10px 0;
  }
  .topic-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 13px;
  }
  .topic-card {
    background: var(--paper);
    border: 1px solid #d6dfd3;
    padding: 17px 19px;
    text-decoration: none;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .topic-card:hover {
    border-color: var(--color,#35b38a);
  }
  .topic-code {
    font: 10px var(--pixel);
    padding: 5px;
    background: #eef3ec;
    color: #7a8a7a;
    flex-shrink: 0;
  }
  .topic-card h3 {
    font-size: 12px;
    margin: 3px 0 8px;
    line-height: 1.7;
    color: #32494e;
  }
  .topic-card p {
    font-size: 10px;
    color: #89978e;
    line-height: 1.6;
    margin: 0;
  }
  .topic-summary {
    border-left: 4px solid var(--color);
    margin-bottom: 22px;
    padding: 17px 21px;
    background: #eaf0e8;
    font-size: 12px;
    line-height: 1.9;
    color: #4d6359;
  }
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .item-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .study-item {
    display: flex;
    gap: 13px;
    align-items: center;
    background: var(--paper);
    border: 1px solid #d8e0d5;
    padding: 14px 16px;
    text-decoration: none;
  }
  .study-item:hover {
    border-color: #8bb4a5;
  }
  .study-item .item-copy {
    min-width: 0;
    flex: 1;
  }
  .study-item h3 {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 4px;
    color: #344f51;
  }
  .study-item p {
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
    color: #8d9b94;
  }
  .item-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: #eaf5eb;
    color: #338366;
    flex-shrink: 0;
  }
  .item-icon svg {
    width: 15px;
    height: 15px;
  }
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 8px var(--pixel);
    padding: 5px 7px;
    white-space: nowrap;
    background: #eef0eb;
    color: #71827a;
  }
  .status-pill.success {
    background: #def4e7;
    color: #23815d;
  }
  .status-pill.danger {
    background: #fce4df;
    color: #b04e40;
  }
  .status-pill.warning {
    background: #fff0cc;
    color: #9b7420;
  }
  .empty-state {
    padding: 34px 24px;
    background: #f7f8f1;
    border: 1px dashed #cdd8c9;
    text-align: center;
    color: #87998b;
  }
  .empty-state strong {
    display: block;
    font: 13px var(--pixel);
    color: #536f5c;
    margin: 10px;
  }
  .empty-state p {
    font-size: 11px;
    line-height: 1.8;
  }
  .reader-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 23px;
    align-items: start;
  }
  .reader {
    background: var(--paper);
    border: 1px solid #d5dfd1;
    padding: 28px 30px;
    min-width: 0;
  }
  .reader-aside {
    position: sticky;
    top: 100px;
  }
  .reader h2 {
    font: 700 17px var(--pixel);
    line-height: 1.6;
    color: #26494a;
    margin-top: 0;
  }
  .reader .prose {
    font-size: 13px;
    line-height: 1.95;
    color: #435b5c;
    overflow-wrap: anywhere;
  }
  .prose h3 {
    font: 700 15px var(--pixel);
    color: #324e4c;
    margin-top: 25px;
  }
  .prose p {
    margin: 9px 0;
  }
  .prose .bullet {
    margin: 6px 0;
    padding-left: 15px;
    border-left: 2px solid #d7e3d5;
  }
  .prose blockquote {
    margin: 10px 0;
    padding: 8px 15px;
    background: #f0f4ea;
    border-left: 3px solid #a2bca4;
  }
  .prose pre {
    overflow: auto;
    background: #142b36;
    color: #d5eee4;
    padding: 15px;
    font: 12px/1.7 var(--pixel);
  }
  .prose a {
    color: #2b8b71;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .pdf-section {
    margin: 24px 0;
    border-top: 1px solid #dce4d7;
    padding-top: 20px;
  }
  .pdf-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: 12px var(--pixel);
    margin-bottom: 12px;
    gap: 10px;
  }
  .pdf-frame {
    display: block;
    width: 100%;
    height: 610px;
    border: 1px solid #cfdbce;
    background: #e4e9df;
  }
  .pdf-help {
    color: #89988c;
    font-size: 10px;
    line-height: 1.8;
    margin: 8px 0;
  }
  .form-label {
    font-size: 11px;
    font-weight: 600;
    color: #4e675f;
    display: block;
    margin: 18px 0 8px;
  }
  textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #cbd8c8;
    background: #fdfef9;
    font-size: 12px;
    line-height: 1.7;
    resize: vertical;
  }
  .reader-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 17px;
  }
  .aside-panel {
    background: var(--paper);
    border: 1px solid #d5dfd1;
    padding: 18px;
    margin-bottom: 15px;
  }
  .aside-panel h3 {
    font: 700 11px var(--pixel);
    color: #486256;
    margin: 0 0 12px;
  }
  .aside-panel p {
    font-size: 10px;
    color: #82978a;
    line-height: 1.8;
  }
  .aside-panel a.aside-link {
    display: block;
    font-size: 11px;
    color: #3d7c66;
    line-height: 1.7;
    margin: 8px 0;
    text-decoration: none;
  }
  .aside-line {
    font-size: 10px;
    color: #8c9c8f;
    margin: 8px 0;
    line-height: 1.6;
  }
  .answer-form {
    margin-top: 20px;
  }
  .answer-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid #d5dfd0;
    margin: 9px 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.8;
  }
  .answer-label:hover {
    background: #f0f6ec;
    border-color: #85b59c;
  }
  .answer-label:has(input:checked) {
    background: #e5f5ea;
    border-color: #32936b;
    box-shadow: inset 3px 0 #32936b;
  }
  .answer-label input {
    margin-top: 5px;
    accent-color: #22835e;
  }
  .answer-label .option-letter {
    font: bold 12px var(--pixel);
    color: #48836a;
    padding-top: 3px;
  }
  .answer-label .option-text {
    white-space: pre-wrap;
  }
  .feedback {
    padding: 18px 20px;
    background: #e0f4e6;
    border: 1px solid #94c6a5;
    margin: 20px 0;
  }
  .feedback.error {
    background: #fbebe4;
    border-color: #e1b3a0;
  }
  .feedback.flagged {
    background: #fff3d3;
    border-color: #d8c17e;
  }
  .feedback h3 {
    font: 700 14px var(--pixel);
    margin: 0 0 8px;
  }
  .feedback p {
    font-size: 12px;
    line-height: 1.7;
    margin: 5px 0;
  }
  .review-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 13px;
  }
  .review-buttons button {
    background: #ffffff99;
    border: 1px solid #b5c4b3;
    padding: 7px 10px;
    font: 10px var(--pixel);
    color: #40664b;
  }
  .warning-note {
    font-size: 11px;
    line-height: 1.8;
    background: #fff3d4;
    border-left: 3px solid #dbb153;
    padding: 13px 17px;
    margin-bottom: 15px;
    color: #8d7435;
  }
  .table-wrap {
    background: var(--paper);
    border: 1px solid #d8e0d4;
    overflow: auto;
  }
  table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
  }
  th {
    text-align: left;
    color: #809386;
    font: 9px var(--pixel);
    letter-spacing: .5px;
    padding: 15px;
    background: #f5f7ef;
    border-bottom: 1px solid #dbe3d6;
  }
  td {
    padding: 14px 15px;
    border-bottom: 1px solid #e9eee5;
    line-height: 1.6;
    vertical-align: middle;
  }
  td a.title-link {
    display: block;
    text-decoration: none;
    color: #37584e;
    font-weight: 600;
    max-width: 360px;
  }
  td small {
    color: #8d9e8f;
    font-size: 9px;
  }
  tr:last-child td {
    border-bottom: 0;
  }
  .history-note {
    max-width: 270px;
    color: #809184;
    font-size: 10px;
    white-space: pre-wrap;
  }
  .mini-activity {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mini-activity b {
    font: 11px var(--pixel);
  }
  .read-check {
    color: #238661;
  }
  .sync-warning {
    padding: 12px 18px;
    background: #fff1cf;
    border-bottom: 1px solid #e1cc98;
    font-size: 11px;
    color: #937535;
  }
  .loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font: 13px var(--pixel);
    background: var(--nav);
    color: var(--green);
  }
  .pixel-loader {
    width: 15px;
    height: 15px;
    background: var(--green);
    box-shadow: 20px 0 #4ce0ad55;
    animation: blink 1s steps(2,end) infinite;
  }
  @keyframes blink {
    50% {
      opacity: .4;
    }
  }
  #toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    max-width: 400px;
    padding: 15px 20px;
    background: var(--nav);
    color: #daf6e9;
    font-size: 12px;
    line-height: 1.7;
    border: 2px solid #477361;
    box-shadow: 4px 4px #0003;
    display: none;
  }
  #toast.show {
    display: block;
  }
  #toast.error {
    background: #6b3029;
    border-color: #dca594;
  }
  dialog {
    width: min(650px,94vw);
    border: 3px solid var(--nav);
    box-shadow: 8px 8px #0004;
    padding: 30px;
    background: var(--paper);
    color: var(--nav);
    max-height: 80vh;
  }
  dialog::backdrop {
    background: #0c1d2b99;
  }
  dialog label {
    font: 11px var(--pixel);
    display: block;
    margin: 8px 0 18px;
  }
  dialog input {
    width: 100%;
    padding: 12px;
    border: 1px solid #becfbd;
    background: white;
    font-size: 13px;
  }
  dialog form {
    margin: 0;
  }
  dialog .close {
    position: absolute;
    right: 10px;
    top: 6px;
    background: transparent;
    font-size: 26px;
    color: #6f8b7c;
  }
  #search-results {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  #search-results a {
    font-size: 12px;
    line-height: 1.7;
    padding: 10px 12px;
    background: #f0f4e9;
    text-decoration: none;
  }
  #search-results small {
    display: block;
    font: 9px var(--pixel);
    color: #87a18a;
  }
  .back-link {
    font-size: 11px;
    color: #698575;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
  }
  .chip-list {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 13px;
  }
  .chip {
    display: inline-block;
    padding: 6px 9px;
    background: #e6f0e4;
    border: 1px solid #c4d8c2;
    color: #537e55;
    font-size: 10px;
    text-decoration: none;
  }
  .subtitle-note {
    font-size: 11px;
    color: #839285;
    line-height: 1.8;
    margin: 16px 0;
  }
  .link-button {
    background: none;
    color: #28795c;
    font-size: 10px;
    text-decoration: underline;
    padding: 4px;
  }
  .error-page {
    max-width: 600px;
    margin: 70px auto;
    padding: 35px;
    background: #fff8e9;
    border: 2px solid #e0be8c;
    color: #6b5b42;
  }
  .error-page h1 {
    font: 20px var(--pixel);
  }
  .error-page p {
    line-height: 1.8;
    font-size: 13px;
  }
  .empty-inline {
    font-size: 12px;
    line-height: 1.9;
    color: #87988a;
    padding: 15px;
    border: 1px dashed #cbd8c5;
    background: #f7f8f0;
  }
  .mobile-overlay {
    display: none;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }
  @media (min-width:1450px) {
    .discipline-grid {
      grid-template-columns: repeat(4,1fr);
    }
  }
  @media (max-width:1100px) {
    .shell {
      grid-template-columns: 210px 1fr;
    }
    .sidebar {
      width: 210px;
      padding: 25px 15px;
    }
    .main {
      padding: 27px 25px;
    }
    .topbar {
      padding: 0 25px;
    }
    .discipline-grid {
      grid-template-columns: repeat(2,1fr);
    }
    .reader-layout {
      grid-template-columns: minmax(0,1fr) 240px;
    }
    .reader {
      padding: 23px;
    }
    .stat {
      padding: 14px 12px;
      gap: 9px;
    }
    .stat-icon {
      width: 30px;
      height: 30px;
    }
    .stat-value {
      font-size: 21px;
    }
    .hero {
      grid-template-columns: 1fr 180px;
    }
    .hero-copy {
      padding: 25px;
    }
    .hero h2 {
      font-size: 22px;
    }
    .hero-art svg {
      width: 140px;
    }
    .search-btn {
      min-width: 140px;
    }
    .reader-aside {
      top: 94px;
    }
  }
  @media (max-width:820px) {
    .shell {
      display: block;
    }
    .sidebar {
      transform: translateX(-100%);
      transition: transform .2s;
      width: 246px;
    }
    .nav-open .sidebar {
      transform: translateX(0);
    }
    .nav-open .mobile-overlay {
      display: block;
      position: fixed;
      inset: 0;
      background: #0e1f2b88;
      z-index: 25;
      border: 0;
    }
    .workspace {
      width: 100%;
    }
    .mobile-menu {
      display: block;
    }
    .topbar {
      height: 65px;
      padding: 0 18px;
    }
    .top-actions {
      gap: 10px;
    }
    .breadcrumbs {
      display: none;
    }
    .level {
      display: none;
    }
    .search-btn {
      min-width: 0;
    }
    .search-btn .key {
      display: none;
    }
    .main {
      padding: 25px 20px;
    }
    .reader-layout {
      grid-template-columns: 1fr;
    }
    .reader-aside {
      position: static;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .reader-aside .aside-panel {
      margin: 0;
    }
    .stats {
      gap: 11px;
    }
    .stat-icon {
      display: none;
    }
    .stat-label {
      font-size: 9px;
    }
    .dashboard-middle {
      gap: 14px;
    }
    .panel {
      padding: 18px;
    }
    .hero-art {
      display: none;
    }
    .hero {
      grid-template-columns: 1fr;
    }
    .hero-copy {
      padding: 27px;
    }
    .hero h2 {
      font-size: 24px;
    }
    .footer-note {
      font-size: 7px;
    }
    .page-heading h1 {
      font-size: 23px;
    }
    .date-label {
      font-size: 8px;
    }
    .split {
      grid-template-columns: 1fr;
    }
    .pdf-frame {
      height: 570px;
    }
  }
  @media (max-width:520px) {
    .main {
      padding: 23px 15px;
    }
    .page-heading {
      gap: 10px;
    }
    .page-heading h1 {
      font-size: 21px;
    }
    .page-heading p {
      font-size: 11px;
    }
    .date-label {
      display: none;
    }
    .hero h2 {
      font-size: 22px;
    }
    .hero-copy {
      padding: 24px 21px;
    }
    .stats {
      grid-template-columns: repeat(2,1fr);
    }
    .stat {
      padding: 15px;
    }
    .stat-value {
      font-size: 25px;
    }
    .stat-icon {
      display: grid;
      width: 32px;
      height: 32px;
    }
    .dashboard-middle {
      grid-template-columns: 1fr;
    }
    .discipline-grid {
      gap: 12px;
    }
    .discipline-card {
      padding: 15px 13px;
    }
    .discipline-card h3 {
      font-size: 11px;
    }
    .card-meta {
      font-size: 9px;
    }
    .tiny-badge {
      font-size: 7px;
    }
    .topic-list {
      grid-template-columns: 1fr;
    }
    .reader {
      padding: 20px 17px;
    }
    .reader h2 {
      font-size: 16px;
    }
    .reader .prose {
      font-size: 12px;
    }
    .reader-aside {
      grid-template-columns: 1fr;
    }
    .pdf-frame {
      height: 490px;
    }
    .filters {
      gap: 8px;
    }
    .filters select {
      flex: 1;
      min-width: 130px;
    }
    .page-heading .pixel-btn {
      font-size: 9px;
      padding: 8px;
    }
    .footer-note {
      display: block;
      line-height: 2;
    }
    .answer-label {
      padding: 11px;
      font-size: 11px;
    }
    .table-wrap th,.table-wrap td {
      padding: 12px 10px;
    }
    td .status-pill {
      font-size: 7px;
    }
    .search-btn {
      font-size: 10px;
    }
    .chip {
      font-size: 9px;
    }
    #toast {
      bottom: 15px;
      left: 15px;
      right: 15px;
    }
  }
  @media (prefers-reduced-motion:reduce) {
    * {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
  svg {
    width: 18px;
    height: 18px;
  }
  .empty-state>svg {
    width: 30px;
    height: 30px;
  }
  .icon-btn {
    display: grid;
    place-items: center;
    padding: 7px;
    background: transparent;
    color: #789085;
  }
  .brand-name small {
    display: block;
  }
  [data-action="note"] {
    display: none;
  }
  .cloud-logout {
    background: none;
    border: 1px solid #b6c5be;
    padding: 8px 12px;
    cursor: pointer;
    font: 12px var(--pixel);
  }
  .cloud-account {
    font: 10px var(--pixel);
    color: #506872;
  }
  .auth-layout {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fffef8;
  }
  .auth-story {
    background: #132337;
    color: #fffef8;
    padding: 56px clamp(28px,6vw,100px);
    background-image: linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);
    background-size: 24px 24px;
  }
  .auth-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #132337;
    font: bold 28px var(--pixel);
    text-decoration: none;
  }
  .auth-brand:first-letter {
    background: #4ce0ad;
  }
  .auth-brand span {
    font: bold 18px var(--pixel);
    letter-spacing: 3px;
    color: #fffef8;
  }
  .pixel-book {
    font: 100px var(--pixel);
    color: #4ce0ad;
    margin: 40px 0 20px;
    text-shadow: 6px 6px #268872;
  }
  .auth-story h1 {
    font-size: clamp(34px,4vw,56px);
    letter-spacing: -2px;
    line-height: 1.12;
    margin: 20px 0;
  }
  .auth-story p {
    max-width: 390px;
    color: #bacbd5;
    font-size: 17px;
    line-height: 1.8;
  }
  .auth-path {
    font: 11px var(--pixel);
    margin-top: 38px;
    color: #ffce65;
    letter-spacing: 1px;
  }
  .auth-small {
    font: 12px/1.8 var(--pixel);
    color: #a5bec8;
    margin-top: 28px;
  }
  .auth-form {
    align-self: center;
    max-width: 500px;
    width: 100%;
    padding: 48px 36px;
    margin: auto;
  }
  .auth-step {
    font: bold 11px var(--pixel);
    letter-spacing: 1px;
    color: #188268;
  }
  .auth-form h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 18px 0 10px;
  }
  .auth-form p {
    color: #65757d;
    line-height: 1.7;
    font-size: 14px;
  }
  .oauth-buttons {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }
  .oauth-buttons button {
    background: #fffef8;
    color: #253944;
    border: 1px solid #b6c6c1;
    padding: 13px;
    font: 13px var(--pixel);
    cursor: pointer;
    box-shadow: 3px 3px #e0e7df;
  }
  .oauth-buttons button:disabled {
    opacity: .55;
    cursor: default;
  }
  .auth-divider {
    text-align: center;
    color: #869289;
    font: 10px var(--pixel);
    margin: 25px 0;
  }
  .auth-form label,.password-page label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 600;
    font-size: 13px;
  }
  .auth-form input,.password-page input {
    width: 100%;
    padding: 13px;
    border: 1px solid #acbdb3;
    background: white;
    font: 16px system-ui;
    border-radius: 0;
  }
  .auth-form input:focus-visible,.password-page input:focus-visible {
    outline: 3px solid #4ce0ad;
    outline-offset: 2px;
  }
  .auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 25px;
  }
  .auth-status {
    min-height: 24px;
    font-size: 13px !important;
  }
  .auth-switch {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  .auth-switch button {
    background: none;
    border: 0;
    padding: 4px 0;
    color: #156a63;
    text-decoration: underline;
    cursor: pointer;
    font: 13px system-ui;
  }
  .auth-footnote {
    font-size: 11px !important;
    margin-top: 25px;
  }
  .auth-form small {
    font-size: 11px;
    color: #718478;
  }
  .password-page {
    max-width: 440px;
    padding: 32px;
    margin: 60px auto;
  }
  .password-page button {
    margin-top: 25px;
  }
  .password-page h1 {
    line-height: 1.2;
  }
  .cloud-account {
    white-space: nowrap;
  }
  @media (max-width:760px) {
    .auth-layout {
      grid-template-columns: 1fr;
    }
    .auth-story {
      padding: 30px 25px;
    }
    .auth-story h1 {
      font-size: 32px;
      margin-top: 16px;
    }
    .pixel-book,.auth-small {
      display: none;
    }
    .auth-story p {
      font-size: 14px;
      margin-bottom: 0;
    }
    .auth-path {
      font-size: 9px;
      margin-top: 22px;
    }
    .auth-form {
      padding: 30px 25px;
    }
    .auth-form h2 {
      font-size: 28px;
    }
    .cloud-account {
      display: none;
    }
  }
}
@layer base {
  :root {
    font-family: var(--font-sans);
    color: var(--color-cocoa);
    background: var(--color-cream);
    --nav: #f5e8da;
    --nav2: #efdbc7;
    --muted: #7c695e;
    --green: #d8ad7a;
    --gold: #d8ad7a;
    --paper: #fffdfa;
    --line: #e7d7c6;
    --pixel: var(--font-sans);
    --accent: #a7553d;
  }
  body {
    margin: 0px;
    background-color: var(--color-cream);
    color: var(--color-cocoa);
  }
  button,a,input,textarea,select {
    -webkit-tap-highlight-color: transparent;
  }
  button:not(:disabled),a {
    touch-action: manipulation;
  }
  button:focus-visible,a:focus-visible {
    outline: 3px solid #a7553d;
    outline-offset: 4px;
  }
}
@layer components {
  :root {
    font-family: var(--font-sans);
    color: #4b342c;
    background: #fbf5ed;
    --nav: #f5e8da;
    --nav2: #efdbc7;
    --muted: #7c695e;
    --green: #d8ad7a;
    --gold: #d8ad7a;
    --paper: #fffdfa;
    --line: #e7d7c6;
    --pixel: var(--font-sans);
    --accent: #a7553d;
  }
  .auth-switch .friendly-link {
    color: #a7553d;
    font-family: var(--font-sans);
  }
  .hero {
    background-image: none;
  }
  .hero-art::before,.hero-art::after {
    display: none;
  }
  .hero-art svg {
    filter: none;
  }
  .sidebar-card,.pixel-btn.primary,.pixel-btn.light,.pixel-btn:not(.light) {
    box-shadow: none;
  }
  .brand-logo {
    border-color: #a7553d;
  }
  .hero .eyebrow {
    color: #a7553d;
  }
  .hero-art {
    image-rendering: auto;
  }
  .top-actions .level {
    color: #9b7b66;
  }
  .hero::before {
    display: none;
  }
  .hero .pixel-btn {
    box-shadow: none;
  }
  .hero-art svg {
    image-rendering: auto;
  }
  .brand-mark {
    display: inline-flex;
    height: calc(var(--spacing) * 11);
    width: calc(var(--spacing) * 11);
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    background-color: var(--color-terracotta);
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
  }
  .welcome-page {
    font-family: var(--font-sans);
  }
  .welcome-card {
    box-shadow: 0 18px 60px #76513b0c;
  }
  .welcome-copy svg {
    width: 100%;
    height: auto;
  }
  .welcome-tag {
    display: inline-block;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-peach);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2);
    font-size: 10px;
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    --tw-tracking: 0.12em;
    letter-spacing: 0.12em;
    color: var(--color-terracotta);
  }
  .field-label {
    margin-bottom: calc(var(--spacing) * 2);
    display: block;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-cocoa);
  }
  .friendly-input {
    width: 100%;
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-sand);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    color: var(--color-cocoa);
    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));
    --tw-outline-style: none;
    outline-style: none;
    &:focus {
      border-color: var(--color-terracotta);
    }
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(4px + 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);
    }
    &:focus {
      --tw-ring-color: var(--color-peach);
    }
  }
  .friendly-input::placeholder {
    color: #a49386;
  }
  .friendly-primary {
    display: inline-flex;
    min-height: calc(var(--spacing) * 12);
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 3);
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: var(--color-terracotta);
    padding-inline: calc(var(--spacing) * 5);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    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));
    &:hover {
      @media (hover: hover) {
        background-color: #91462f;
      }
    }
    &:disabled {
      cursor: wait;
    }
    &:disabled {
      opacity: 60%;
    }
  }
  .friendly-link {
    cursor: pointer;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding: 0px;
    color: var(--color-terracotta);
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .social-button {
    min-height: calc(var(--spacing) * 11);
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-sand);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-cocoa);
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-cream);
      }
    }
  }
  .coffee-button {
    display: inline-flex;
    min-height: calc(var(--spacing) * 11);
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    border-radius: calc(infinity * 1px);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: #e1c092;
    background-color: #f9e5bd;
    padding-inline: calc(var(--spacing) * 5);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: #674728;
    text-decoration-line: none;
    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));
    &:hover {
      @media (hover: hover) {
        background-color: #f4d8a3;
      }
    }
  }
  .coffee-button:disabled {
    cursor: default;
    opacity: .7;
  }
  .auth-status {
    min-height: 0;
    color: #9e472f;
  }
  .auth-status:empty {
    display: none;
  }
  .password-page {
    margin-inline: auto;
    margin-block: calc(var(--spacing) * 16);
    max-width: var(--container-md);
    border-radius: var(--radius-3xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-sand);
    background-color: var(--color-paper);
    padding: calc(var(--spacing) * 8);
  }
  .password-page h1 {
    margin-bottom: calc(var(--spacing) * 3);
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .password-page input {
    border-radius: var(--radius-xl);
    border-color: var(--color-sand);
  }
  .password-page button {
    border-radius: var(--radius-xl);
    background-color: var(--color-terracotta);
    color: var(--color-white);
  }
  .shell {
    background: #fbf5ed;
  }
  .sidebar {
    background: #f5e8da;
    color: #4b342c;
    border-right: 1px solid #e7d7c6;
  }
  .brand-name {
    color: #4b342c;
    letter-spacing: 1px;
  }
  .brand-name small {
    color: #967464;
  }
  .brand-logo {
    border-radius: var(--radius-2xl);
    background-color: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: none;
  }
  .nav-label,.sidebar-footer {
    color: #907c6d;
  }
  .nav-link {
    border-radius: var(--radius-xl);
    color: #755b4c;
    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));
    &:hover {
      @media (hover: hover) {
        background-color: #efddcc;
      }
    }
  }
  .nav-link.active {
    background: #fffaf3;
    color: #924e37;
    box-shadow: 0 3px 12px #754d3607;
  }
  .sidebar-card {
    border-radius: var(--radius-2xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-sand);
    background-color: #fcf5eb;
    color: var(--color-cocoa);
  }
  .sidebar-card b {
    color: #a55c3f;
  }
  .sidebar-card p {
    color: #8b7464;
  }
  .topbar {
    background: #fffdfa;
    border-color: #e7d7c6;
  }
  .main {
    max-width: 1500px;
  }
  .page-heading h1 {
    color: #4b342c;
    letter-spacing: -.8px;
    font-family: var(--font-sans);
    font-weight: 650;
  }
  .page-heading p,.subtitle-note {
    color: #7c695e;
  }
  .eyebrow,.section-title h2 {
    color: #8d5e46;
  }
  .hero {
    background: #f2dfcd;
    color: #4b342c;
    border: 1px solid #e7cdb5;
    border-radius: 26px;
    box-shadow: none;
  }
  .hero h2 {
    color: #593e30;
    font-family: var(--font-sans);
    font-weight: 650;
    letter-spacing: -.5px;
  }
  .hero p {
    color: #816554;
  }
  .hero-art {
    background: transparent;
  }
  .hero-art svg {
    width: 250px;
    height: auto;
    max-width: 100%;
  }
  .pixel-btn {
    border-radius: var(--radius-xl);
    box-shadow: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
  }
  .pixel-btn.primary,.pixel-btn:not(.light) {
    background: #a7553d;
    color: white;
    border-color: #a7553d;
  }
  .pixel-btn.light {
    background: #fffaf3;
    color: #86553d;
    border-color: #ddc5b0;
  }
  .pixel-btn:hover {
    transform: translateY(-1px);
  }
  .stat,.panel,.discipline-card,.topic-card,.item-card,.reader,.aside-panel,.topic-summary,.empty-state,.table-wrap {
    border-radius: var(--radius-2xl);
    border-color: var(--color-sand);
    background-color: var(--color-paper);
    box-shadow: 0 5px 20px #70482904;
  }
  .stat-value,.discipline-card h3,.section-title h2,.reader h2,.panel h3 {
    font-family: var(--font-sans);
    color: #4b342c;
  }
  .discipline-card {
    padding: 22px;
  }
  .discipline-card:hover {
    border-color: #be8a67;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #70482909;
  }
  .discipline-card h3 {
    font-size: 16px;
    line-height: 1.5;
  }
  .card-meta,.card-bottom {
    font-size: 12px;
    color: #7c695e;
  }
  .tiny-badge,.status-pill,.chip {
    border-radius: 999px;
    letter-spacing: 0;
    font-family: var(--font-sans);
  }
  .progress-track {
    border-radius: 999px;
    background: #f0e4d6;
  }
  .progress-track span {
    border-radius: 999px;
  }
  .answer-label {
    border-radius: 14px;
    border-color: #e7d7c6;
    background: #fffdf9;
  }
  .answer-label:hover {
    background: #fcf1e5;
  }
  .answer-label:has(input:checked) {
    border-color: #a7553d;
    background: #faeadd;
  }
  textarea,select,.filters input {
    border-radius: 12px;
    border-color: #ddc8b5;
    background: #fffdfa;
    color: #4b342c;
  }
  .feedback {
    border-radius: 16px;
  }
  .review-buttons button {
    border-radius: 999px;
  }
  .prose {
    color: #5a4538;
    font-size: 15px;
    line-height: 1.9;
  }
  .prose pre {
    border-radius: 14px;
  }
  .search-btn,.cloud-logout {
    border-radius: 10px;
    color: #86553d;
  }
  .footer-note {
    color: #a18b7b;
    letter-spacing: .3px;
  }
  .online-dot {
    background: #88a57b;
  }
  #search-dialog {
    border-radius: 22px;
    border-color: #e7d7c6;
    background: #fffdfa;
  }
  #toast {
    border-radius: 14px;
    background: #694735;
    color: white;
  }
  [data-action="note"] {
    display: none;
  }
}
@media (max-width:760px) {
  .hero-art {
    display: none;
  }
  .hero-copy {
    padding: 28px;
  }
  .discipline-card {
    padding: 18px;
  }
  .discipline-card h3 {
    font-size: 14px;
  }
  .card-meta {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .reader .prose {
    font-size: 14px;
  }
  .main {
    padding: 25px 16px;
  }
  .auth-switch {
    font-size: 13px;
  }
  .welcome-copy>div:first-child,.welcome-copy .welcome-tag,.welcome-copy>p:last-child {
    display: none;
  }
  .welcome-copy h1 {
    font-size: 30px;
    line-height: 1.15;
    margin-top: 0;
  }
  .welcome-copy>p {
    margin-top: 12px;
  }
  .welcome-page header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .welcome-page main {
    gap: 24px;
  }
  .welcome-card {
    padding: 24px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@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: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --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;
    }
  }
}
