:root {
  --canvas:#f7f8f4;
  --paper:#fff;
  --ink:#203a34;
  --muted:#7c8981;
  --line:#e4e9e1;
  --green:#297758;
  --deep:#173f35;
  --pale:#edf3e9;
  --purple:#eeeaf4;
  --orange:#fbefdf;
  --blue:#e9f0f4;
  --radius:14px;
  --sidebar:236px;
  font-family:"Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink);
  font-synthesis:none;
  font-size:14px;
  line-height:1.55;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--canvas);
}

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

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

button {
  cursor:pointer;
  color:inherit;
}

button:disabled {
  cursor:not-allowed;
  opacity:.48;
}

button {
  border:0;
}

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

svg {
  flex-shrink:0;
  vertical-align:middle;
}

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

h1 {
  font-size:29px;
  line-height:1.4;
  letter-spacing:-.8px;
  font-weight:650;
}

h2 {
  font-size:19px;
  font-weight:650;
  letter-spacing:-.3px;
}

h3 {
  font-size:15px;
  font-weight:650;
}

p {
  line-height:1.85;
}

strong {
  font-weight:600;
}

small {
  font-size:11px;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid #8bbba1;
  outline-offset:4px;
}

input:focus,textarea:focus,select:focus {
  outline:2px solid #94bca6;
  outline-offset:1px;
}

::selection {
  background:#d8e8b7;
}

[hidden] {
  display:none!important;
}

.preserve {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.small {
  font-size:12px;
}

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

.eyebrow {
  display:block;
  letter-spacing:1.6px;
  font-size:10px;
  font-weight:650;
  color:#7c8a76;
  line-height:1.4;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:9px 15px;
  border-radius:7px;
  font-size:12px;
  font-weight:550;
  line-height:1.4;
  white-space:nowrap;
  transition:background .18s,transform .18s;
  border:1px solid transparent;
}

.btn:hover:not(:disabled) {
  transform:translateY(-1px);
}

.btn.primary {
  background:var(--green);
  color:white;
  border-color:var(--green);
  box-shadow:0 2px 3px #285e4610;
}

.btn.primary:hover {
  background:#205f46;
}

.btn.dark {
  background:#234e3c;
}

.btn.secondary {
  background:white;
  border-color:#dfe5dc;
}

.btn.secondary:hover {
  background:#f1f5ed;
}

.btn.ghost {
  background:transparent;
}

.btn.ghost:hover {
  background:#eaf0e5;
}

.btn.text {
  background:transparent;
  padding:0;
  min-height:0;
  font-size:inherit;
  color:inherit;
}

.btn.danger {
  background:#a5433c;
  color:#fff;
}

.btn.full {
  width:100%;
}

.danger-text {
  color:#a5433c;
}

.icon-btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:31px;
  height:31px;
  padding:5px;
  background:transparent;
  border-radius:6px;
  color:#718278;
}

.icon-btn:hover {
  background:#eaf0e5;
  color:var(--deep);
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:transparent;
  color:#4e775f;
  font-size:11px;
  padding:0;
}

.text-link:hover {
  color:#1c553e;
}

.tag {
  display:inline-flex;
  gap:4px;
  align-items:center;
  border-radius:4px;
  font-size:10px;
  line-height:1.5;
  padding:3px 7px;
  color:#7b867d;
  background:#f0f2ed;
  white-space:normal;
}

.tag.green {
  color:#477b5b;
  background:#edf4e9;
}

.tag.orange {
  color:#a87737;
  background:#fbf0db;
}

.tag.purple {
  color:#827097;
  background:#f1ebf5;
}

.tag+.tag {
  margin-left:5px;
}

.sidebar {
  width:var(--sidebar);
  background:#173c34;
  color:#d8e3d8;
  position:fixed;
  inset:0 auto 0 0;
  z-index:30;
  display:flex;
  flex-direction:column;
  padding:31px 20px 18px;
}

.brand {
  display:flex;
  gap:11px;
  align-items:center;
  padding:0 0 38px 4px;
}

.brand-symbol {
  width:38px;
  height:39px;
  background:#dce6b5;
  color:#284b35;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
}

.brand strong {
  display:block;
  font-size:15px;
  letter-spacing:.2px;
  color:#fbfcf3;
}

.brand small {
  display:block;
  font-size:8px;
  letter-spacing:1.6px;
  margin-top:3px;
  color:#9eafa2;
}

.sidebar-label {
  font-size:9px;
  letter-spacing:1.2px;
  color:#81998b;
  padding:0 13px;
  margin-bottom:13px;
}

.nav-item {
  min-height:43px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:11px 14px;
  font-size:12px;
  margin:3px 0;
  border-radius:7px;
  color:#aebfb2;
  transition:background .2s;
}

.nav-item:hover {
  background:#ffffff08;
  color:#fff;
}

.nav-item.active {
  background:#315a46;
  color:#e5edbf;
}

.nav-item.active:before {
  content:"";
  position:absolute;
  left:0;
  width:3px;
  height:21px;
  background:#cbdba6;
  border-radius:0 3px 3px 0;
}

.nav-item svg {
  width:18px;
  height:18px;
}

.nav-item small {
  margin-left:auto;
  font-size:10px;
  color:#c1cfb6;
}

.sidebar-divider {
  height:1px;
  background:#ffffff10;
  margin:25px 10px 20px;
}

.side-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:3px;
}

.side-title .icon-btn {
  color:#839c8c;
}

.sidebar-courses a {
  display:flex;
  gap:13px;
  align-items:center;
  padding:11px 15px;
  font-size:11px;
  color:#a9bcad;
}

.sidebar-courses a:hover {
  color:#ecf4da;
}

.course-dot {
  width:6px;
  height:6px;
  background:#a2b686;
  border-radius:2px;
}

.course-dot.purple {
  background:#a59abd;
}

.course-dot.orange {
  background:#c9ad7f;
}

.sidebar-bottom {
  margin-top:auto;
}

.study-tip {
  border:1px solid #ffffff12;
  border-radius:8px;
  padding:15px 12px;
  margin:30px 4px 19px;
  position:relative;
}

.study-tip>svg {
  color:#c5d6a3;
  position:absolute;
  right:13px;
  top:14px;
}

.study-tip strong {
  display:block;
  font-size:10px;
  color:#c9d4ba;
}

.study-tip p {
  font-size:9px;
  color:#819887;
  margin-top:4px;
}

.profile {
  display:flex;
  align-items:center;
  gap:10px;
  background:transparent;
  color:#d0ddcd;
  width:100%;
  padding:10px 7px 0;
  border-top:1px solid #ffffff14;
  text-align:left;
}

.profile strong {
  font-size:11px;
  display:block;
}

.profile small {
  display:block;
  color:#859e8b;
  font-size:9px;
  margin-top:3px;
}

.profile>svg {
  margin-left:auto;
}

.avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#415d43;
  background:#dce6cb;
  font-size:12px;
  flex-shrink:0;
}

.avatar.small {
  width:29px;
  height:29px;
  font-size:10px;
}

.avatar.sand {
  background:#f2e7d4;
  color:#9b7b52;
}

.main-shell {
  margin-left:var(--sidebar);
  min-height:100vh;
}

.topbar {
  height:70px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 39px;
  border-bottom:1px solid var(--line);
  background:#fcfcf9;
}

.breadcrumb {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:10px;
  white-space:nowrap;
  color:#8b958a;
}

.breadcrumb strong {
  font-weight:500;
  color:#3a5144;
}

.slash {
  color:#b7beb0;
}

.global-search {
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:auto;
  color:#95a08f;
  width:236px;
}

.global-search input {
  border:0;
  background:transparent;
  min-width:0;
  width:100%;
  font-size:10px;
  color:var(--ink);
  outline:none;
}

.global-search input::placeholder {
  color:#9da695;
}

.global-search kbd {
  font-size:10px;
  border:1px solid #e6e9e0;
  border-radius:3px;
  line-height:1;
  padding:3px;
}

.topbar-right {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  color:#8c9789;
}

.topbar-right .avatar {
  margin-left:8px;
}

.topbar-right .icon-btn {
  margin-left:12px;
}

.status-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#8bb380;
}

.mobile-menu {
  display:none;
}

.demo-banner {
  min-height:29px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:6px 39px;
  font-size:9px;
  color:#7c8a69;
  background:#eef2e5;
  border-bottom:1px solid #e6ebdc;
}

.demo-banner>span {
  display:flex;
  align-items:center;
  gap:7px;
}

.demo-banner .btn {
  font-size:9px;
  text-decoration:underline;
  text-underline-offset:3px;
  margin-left:5px;
}

main {
  max-width:1600px;
  margin:auto;
  padding:36px 39px 35px;
  min-height:calc(100vh - 160px);
}

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

.page-heading .eyebrow {
  margin-bottom:9px;
}

.page-heading h1 {
  margin-bottom:9px;
}

.page-heading p {
  font-size:11px;
  color:#87917f;
}

.heading-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-shrink:0;
  padding-top:14px;
}

.dashboard-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr) 235px;
  gap:20px;
}

.continue-card {
  background:#eaf0df;
  border-radius:var(--radius);
  padding:29px 28px;
  position:relative;
  overflow:hidden;
  min-height:272px;
  display:flex;
  border:1px solid #e1e8d5;
}

.continue-content {
  position:relative;
  z-index:2;
  width:66%;
}

.continue-card .eyebrow {
  font-size:9px;
  letter-spacing:1.2px;
  color:#7c8a66;
}

.continue-course {
  font-size:10px;
  margin-top:13px;
  color:#52663e;
}

.continue-course>span {
  color:#94a17f;
  font-size:9px;
}

.continue-card h2 {
  font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;
  font-size:27px;
  line-height:1.65;
  letter-spacing:1px;
  white-space:pre-line;
  font-weight:550;
  margin-top:6px;
  margin-bottom:12px;
  color:#2b4930;
}

.continue-meta {
  display:flex;
  gap:18px;
  font-size:9px;
  color:#899477;
  margin-bottom:21px;
}

.continue-meta>span {
  display:flex;
  align-items:center;
  gap:5px;
}

.continue-card .btn {
  font-size:10px;
  min-height:35px;
  padding:8px 16px;
}

.hero-art {
  position:absolute;
  right:22px;
  top:30px;
  width:220px;
  height:245px;
  transform:rotate(-8deg);
}

.book-art {
  position:absolute;
  border-radius:3px 11px 11px 3px;
  transform:rotate(13deg);
  width:119px;
  height:155px;
}

.book-art.back {
  background:#b8c69b;
  top:47px;
  left:70px;
  box-shadow:7px 8px 0 #dee6cd;
  transform:rotate(28deg);
  border-right:7px solid #edf1e0;
}

.book-art.front {
  background:#355b42;
  top:53px;
  left:48px;
  box-shadow:-5px 2px 0 #244832,8px 11px 16px #4a613522;
  display:flex;
  border-right:5px solid #cbd9b2;
}

.book-art.front span {
  font-family:serif;
  font-size:20px;
  color:#dde5bd;
  line-height:1.45;
  letter-spacing:2px;
  position:absolute;
  left:52px;
  top:20px;
}

.book-art.front small {
  position:absolute;
  left:12px;
  bottom:15px;
  font-size:5px;
  letter-spacing:1px;
  color:#9cb18c;
  line-height:1.5;
}

.book-lines {
  position:absolute;
  inset:10px;
  border:1px solid #8ba07744;
}

.orbit {
  position:absolute;
  border:1px solid #c4cfb6;
  border-radius:50%;
  width:238px;
  height:142px;
  top:74px;
  left:-4px;
  transform:rotate(-37deg);
}

.orbit-two {
  transform:rotate(39deg);
  height:185px;
  top:45px;
  left:15px;
  width:190px;
  border-style:dashed;
  opacity:.6;
}

.art-spark {
  position:absolute;
  color:#8e9f66;
  font-size:30px;
  top:14px;
  left:139px;
}

.spark-two {
  top:190px;
  left:15px;
  font-size:24px;
}

.art-leaf {
  width:25px;
  height:49px;
  position:absolute;
  bottom:10px;
  right:16px;
  background:#9caf7c;
  border-radius:100% 0 100% 0;
  transform:rotate(23deg);
}

.daily-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 21px;
  text-align:center;
}

.daily-card .section-heading {
  margin-bottom:12px;
}

.daily-card .eyebrow {
  font-size:10px;
  letter-spacing:.4px;
}

.daily-card .section-heading svg {
  color:#94a77d;
}

.daily-ring {
  width:121px;
  height:121px;
  position:relative;
  margin:0 auto 11px;
}

.daily-ring svg {
  width:100%;
  height:100%;
  transform:rotate(-90deg);
}

.daily-ring circle {
  fill:none;
  stroke:#edf1e5;
  stroke-width:5;
}

.daily-ring .ring-progress {
  stroke:#7c9a63;
  stroke-linecap:round;
}

.daily-ring>div {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.daily-ring strong {
  font-size:29px;
  line-height:1.3;
  font-weight:500;
  color:#36533a;
}

.daily-ring strong small {
  font-size:12px;
  color:#9ba58d;
}

.daily-ring>div>span {
  font-size:9px;
  color:#95a186;
}

.daily-card>p {
  font-size:9px;
  color:#9ba58d;
  margin-bottom:10px;
}

.daily-card .text-link {
  font-size:9px;
}

.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin:20px 0 33px;
}

.stat-card {
  display:flex;
  align-items:center;
  gap:13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  padding:18px 17px;
  transition:border .2s;
}

.stat-card:hover {
  border-color:#b9cbb0;
}

.stat-card>svg {
  margin-left:auto;
  color:#a4ad9b;
  width:13px;
}

.stat-icon,.skill-icon {
  width:40px;
  height:40px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.stat-icon.green,.skill-icon.green {
  background:#edf3e6;
  color:#719159;
}

.stat-icon.purple,.skill-icon.purple {
  background:#f0edf7;
  color:#9787b1;
}

.stat-icon.orange,.skill-icon.orange {
  background:#fcf0df;
  color:#c09a60;
}

.stat-icon.blue,.skill-icon.blue {
  background:#edf3f6;
  color:#7e9dae;
}

.stat-card>div {
  display:flex;
  flex-direction:column;
}

.stat-card strong {
  font-size:23px;
  line-height:1.2;
  font-weight:550;
}

.stat-card>div>span {
  font-size:9px;
  color:#8c9787;
  margin-top:6px;
}

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

.section-heading h2 {
  font-size:16px;
}

.section-heading h2>span {
  font-size:10px;
  font-weight:400;
  color:#a0a994;
  margin-left:8px;
}

.course-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:19px;
}

.course-card {
  padding:22px 21px 17px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  position:relative;
  transition:transform .2s,box-shadow .2s;
  overflow:hidden;
}

.course-card:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 20px #2c50300c;
}

.course-card-top {
  display:flex;
  align-items:center;
  margin-bottom:20px;
}

.course-emblem {
  width:43px;
  height:43px;
  border-radius:11px;
  background:#edf1e2;
  color:#6d8759;
  display:flex;
  align-items:center;
  justify-content:center;
}

.course-card.purple .course-emblem {
  background:#f0ecf6;
  color:#9480ad;
}

.course-card.orange .course-emblem {
  background:#fbefdf;
  color:#bb9764;
}

.course-card.blue .course-emblem {
  background:#edf3f6;
  color:#7e9dae;
}

.course-semester {
  font-size:8px;
  margin-left:auto;
  color:#a1aa96;
}

.course-card-arrow {
  color:#9eaa91;
  margin-left:12px;
  opacity:.7;
}

.course-subject {
  font-size:9px;
  color:#9aa78a;
  margin-bottom:6px;
}

.course-card.purple .course-subject {
  color:#a49ab2;
}

.course-card.orange .course-subject {
  color:#b5a486;
}

.course-card h3 {
  font-size:20px;
  font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;
  font-weight:600;
  letter-spacing:.4px;
  margin-bottom:8px;
}

.course-card>p {
  font-size:10px;
  color:#95a08b;
  min-height:36px;
  line-height:1.8;
  margin-bottom:16px;
}

.course-resource-meta {
  display:flex;
  gap:19px;
  font-size:9px;
  color:#89987c;
  margin-bottom:18px;
}

.course-resource-meta>span {
  display:flex;
  gap:5px;
  align-items:center;
}

.course-progress {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  font-size:8px;
  color:#a2aa97;
}

.course-progress strong {
  font-weight:400;
  color:#8d9e7a;
}

.course-progress>div {
  width:100%;
  margin-top:8px;
  background:#f0f3ea;
  border-radius:10px;
  height:3px;
}

.course-progress i {
  display:block;
  background:#a4b883;
  height:3px;
  border-radius:10px;
}

.course-card.purple .course-progress i {
  background:#b4a5c5;
}

.course-card.orange .course-progress i {
  background:#d2b38b;
}

.demo-course-label {
  font-size:8px;
  color:#abb39d;
  display:block;
  margin-top:10px;
  text-align:right;
}

.dashboard-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) 36%;
  gap:27px;
  margin-top:32px;
}

.quick-skills {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.quick-skill {
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  display:flex;
  align-items:center;
  text-align:left;
  gap:12px;
  padding:16px 14px;
  min-height:87px;
}

.quick-skill:hover {
  border-color:#b5c5ac;
}

.quick-skill .skill-icon {
  width:35px;
  height:35px;
  border-radius:9px;
}

.quick-skill strong {
  font-size:11px;
  display:block;
}

.quick-skill small {
  font-size:8px;
  display:block;
  color:#9aa58c;
  margin-top:5px;
}

.quick-skill>svg {
  margin-left:auto;
  color:#b1baa5;
  width:12px;
}

.recent-panel .section-heading {
  margin-bottom:14px;
}

.recent-panel .section-heading>a {
  color:#95a485;
}

.recent-item {
  display:flex;
  align-items:center;
  width:100%;
  text-align:left;
  background:transparent;
  gap:11px;
  padding:11px 0;
  border-bottom:1px solid #e7ebdf;
}

.timeline-dot {
  width:5px;
  height:5px;
  background:#a3b88b;
  border-radius:50%;
  margin:0 4px;
}

.recent-item strong {
  display:block;
  font-size:10px;
  font-weight:500;
}

.recent-item small {
  display:block;
  font-size:8px;
  color:#9ba78c;
  margin-top:3px;
}

.recent-item time {
  font-size:8px;
  color:#a7b198;
  margin-left:auto;
}

.recent-note {
  display:flex;
  gap:6px;
  color:#a2ad94;
  font-size:8px;
  margin-top:17px;
}

.page-footer {
  display:flex;
  justify-content:space-between;
  max-width:1600px;
  margin:auto;
  padding:17px 39px 20px;
  color:#a6af9a;
  font-size:8px;
  border-top:1px solid #e9ece2;
  gap:12px;
}

.page-footer>span:first-child {
  letter-spacing:1.8px;
  font-size:7px;
}

.all-courses {
  row-gap:22px;
}

.new-course-card {
  border:1px dashed #cbd5bf;
  border-radius:12px;
  background:#f2f5ed;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:285px;
  color:#8b9d78;
  gap:15px;
}

.new-course-card strong {
  font-size:14px;
  color:#63804e;
}

.new-course-card span {
  font-size:10px;
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:25px;
}

.course-breadcrumb {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:10px;
  color:#97a18b;
  margin:-7px 0 20px;
}

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

.tabs {
  display:flex;
  gap:26px;
  border-bottom:1px solid var(--line);
  margin-bottom:24px;
}

.tabs button {
  background:transparent;
  font-size:12px;
  padding:0 2px 13px;
  color:#98a08e;
  position:relative;
}

.tabs button.active {
  color:#3f6d4a;
  font-weight:600;
}

.tabs button.active:after {
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  right:0;
  height:2px;
  background:#497959;
}

.tabs span {
  font-size:9px;
  margin-left:5px;
  background:#edf1e6;
  padding:1px 5px;
  border-radius:3px;
}

.learning-layout {
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.generator-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}

.generator-section {
  padding:20px;
  border-bottom:1px solid var(--line);
}

.generator-section h3 {
  font-size:12px;
  display:flex;
  align-items:center;
  gap:8px;
}

.generator-section>.small {
  font-size:9px;
  margin-top:-5px;
  margin-bottom:14px;
}

.step-dot {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#eaf1e3;
  color:#60824a;
  font-size:10px;
  font-weight:600;
  flex-shrink:0;
}

.resource-select-list {
  display:flex;
  flex-direction:column;
  gap:8px;
}

.resource-select {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #e6ebdf;
  padding:9px 7px;
  border-radius:7px;
  cursor:pointer;
}

.resource-select:has(input:checked) {
  border-color:#a5bc90;
  background:#f6f9f0;
}

.resource-select input {
  accent-color:#4d7d54;
  width:13px;
  height:13px;
  flex-shrink:0;
}

.resource-select .file-icon {
  width:24px;
  height:30px;
  border:0;
  background:transparent;
}

.resource-select>span:nth-of-type(2) {
  min-width:0;
}

.resource-select strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:165px;
  font-size:10px;
  font-weight:500;
}

.resource-select small {
  display:block;
  font-size:8px;
  color:#97a18b;
  margin-top:3px;
}

.resource-select .icon-btn {
  width:20px;
  margin-left:auto;
  flex-shrink:0;
}

.resource-select.unavailable {
  opacity:.65;
}

.skill-select-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:7px;
  margin:17px 0;
}

.skill-choice {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  padding:11px 6px;
  font-size:10px;
  color:#7c8c73;
}

.skill-choice.active {
  border-color:#a4bc8f;
  color:#4c7847;
  background:#f0f5e8;
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:17px;
  color:#6c7d63;
  font-size:11px;
  min-width:0;
}

.field>span {
  font-weight:500;
}

.field small {
  font-size:9px;
  color:#9aa48d;
  line-height:1.7;
}

.field input,.field textarea,.field select,textarea {
  border:1px solid #dfe5d8;
  border-radius:6px;
  background:#fff;
  padding:9px 10px;
  width:100%;
  min-width:0;
  font-size:11px;
  color:#53694b;
}

.field textarea {
  resize:vertical;
  line-height:1.8;
}

.field input::placeholder,.field textarea::placeholder {
  color:#b1baa6;
}

.field input:disabled {
  background:#f4f6f0;
  color:#a5ad9b;
}

.field-row {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.generation-options summary {
  font-size:10px;
  color:#8c9a7c;
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  padding:3px 0;
}

.generation-options[open] summary {
  margin-bottom:17px;
}

.generation-options .field {
  font-size:10px;
}

.generation-options input,.generation-options select {
  font-size:10px;
  padding:8px;
}

.generate-footer {
  padding:18px 20px;
  background:#fbfcf8;
}

.generate-footer>.btn {
  font-size:11px;
}

.generate-footer>span {
  font-size:8px;
  display:block;
  text-align:center;
  color:#a3ad94;
  margin-top:10px;
}

.question-types {
  border:0;
  padding:0;
  display:flex;
  gap:12px;
  font-size:10px;
  color:#8c9a7d;
}

.question-types legend {
  margin-bottom:7px;
}

.question-types input {
  accent-color:#4d7d54;
}

.learning-content {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:26px;
  min-height:700px;
  overflow:hidden;
}

.workspace-welcome {
  padding:38px 0 37px;
  text-align:center;
}

.workspace-symbol {
  height:62px;
  width:62px;
  background:#f0f5e6;
  border-radius:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 24px;
  color:#809762;
  transform:rotate(-5deg);
}

.workspace-symbol svg {
  transform:rotate(5deg);
}

.workspace-welcome .eyebrow {
  font-size:9px;
  letter-spacing:2px;
  margin-bottom:12px;
}

.workspace-welcome h2 {
  font-family:serif;
  font-size:28px;
  line-height:1.65;
  font-weight:500;
  color:#405b38;
  letter-spacing:1px;
}

.workspace-welcome p {
  font-size:10px;
  color:#9ba68e;
  line-height:2;
  margin-top:13px;
}

.workspace-flow {
  display:flex;
  justify-content:center;
  gap:16px;
  align-items:center;
  margin-top:26px;
  color:#b3bda7;
  font-size:9px;
}

.workspace-flow span {
  border:1px solid #e7ecdd;
  background:#fcfdf8;
  border-radius:5px;
  padding:6px 10px;
  color:#91a17b;
}

.workspace-recent-title {
  margin-top:12px;
}

.workspace-recent-title h3 {
  font-size:12px;
}

.artifact-row {
  display:flex;
  align-items:center;
  width:100%;
  text-align:left;
  border:1px solid #e9eddf;
  border-radius:8px;
  padding:13px;
  gap:12px;
  background:white;
  margin-bottom:10px;
}

.artifact-row:hover {
  background:#fafcf6;
  border-color:#bfceb1;
}

.artifact-row>span:nth-child(2) {
  min-width:0;
}

.artifact-row strong {
  font-size:11px;
  display:block;
  overflow-wrap:anywhere;
}

.artifact-row small {
  display:block;
  font-size:8px;
  margin-top:4px;
  color:#a0ac90;
}

.artifact-row>svg:last-child {
  margin-left:auto;
  color:#9eae8a;
  flex-shrink:0;
}

.artifact-row .file-icon {
  width:32px;
  height:36px;
}

.source-promise {
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:#f6f8f0;
  border-radius:7px;
  padding:15px 13px;
  margin-top:25px;
  color:#9aa889;
}

.source-promise strong {
  font-size:9px;
  color:#849773;
}

.source-promise p {
  font-size:8px;
  line-height:1.8;
  margin-top:3px;
}

.artifact-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding-bottom:14px;
  margin-bottom:23px;
  gap:12px;
}

.artifact-topline>span {
  font-size:10px;
  color:#82966d;
  display:flex;
  gap:6px;
  align-items:center;
}

.artifact-topline .text-link {
  font-size:9px;
}

.document-heading {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:21px;
}

.document-heading h2 {
  font-size:22px;
  font-family:serif;
  margin:12px 0 10px;
  line-height:1.6;
}

.document-heading p {
  font-size:10px;
  color:#8f9e80;
  line-height:1.9;
}

.document-actions {
  display:flex;
  gap:3px;
  align-items:flex-start;
}

.document-actions .btn {
  font-size:9px;
  padding:6px 9px;
  min-height:30px;
}

.notice {
  display:flex;
  align-items:flex-start;
  gap:9px;
  background:#f0f4e8;
  color:#7b9168;
  border:1px solid #e5edda;
  padding:13px 15px;
  border-radius:7px;
  font-size:11px;
  margin-bottom:20px;
  line-height:1.8;
}

.notice svg {
  margin-top:2px;
}

.notice.subtle {
  background:#fafbf6;
  border-color:#edf1e5;
  font-size:9px;
  color:#a0ab91;
  padding:10px 12px;
}

.knowledge-point,.outline-item {
  display:flex;
  gap:15px;
  margin:26px 0;
  padding-bottom:25px;
  border-bottom:1px solid #edf0e7;
}

.point-number {
  font-size:10px;
  background:#eff3e7;
  color:#91a179;
  min-width:25px;
  height:25px;
  border-radius:5px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex-shrink:0;
}

.knowledge-point h3,.outline-item h3 {
  font-size:15px;
  margin-bottom:12px;
  color:#4a643c;
}

.knowledge-point p,.outline-item p {
  font-size:12px;
  line-height:2.1;
  color:#74856b;
}

.knowledge-point blockquote {
  border-left:2px solid #d5dfc6;
  margin:16px 0 13px;
  padding:8px 13px;
  background:#f8faf3;
  color:#9aa88c;
  font-size:10px;
  line-height:1.9;
}

.citations {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:13px;
}

.citation {
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#88a16e;
  background:#f4f7ed;
  border:1px solid #e9efdf;
  border-radius:4px;
  font-size:8px;
  padding:3px 6px;
}

.citation:hover {
  background:#e9f1df;
}

.sources-details {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:16px;
}

.sources-details summary {
  display:flex;
  justify-content:space-between;
  color:#99a88a;
  font-size:10px;
  cursor:pointer;
}

.sources-details[open] summary {
  margin-bottom:15px;
}

.source-line {
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fbfcf8;
  padding:10px;
  margin-top:7px;
  text-align:left;
  font-size:10px;
  color:#8b9e78;
  border-radius:5px;
}

.source-line .tag {
  margin-left:auto;
  font-size:8px;
}

.source-line>span:first-of-type {
  overflow-wrap:anywhere;
}

.knowledge-next {
  display:flex;
  align-items:center;
  gap:10px;
  background:#f3f7e9;
  border:1px solid #e6edda;
  padding:20px 17px;
  border-radius:10px;
  margin-top:26px;
  flex-wrap:wrap;
}

.knowledge-next>div {
  flex:1;
  min-width:200px;
}

.knowledge-next .eyebrow {
  font-size:8px;
  letter-spacing:1px;
}

.knowledge-next h3 {
  font-size:11px;
  margin-top:7px;
  color:#6d8556;
}

.knowledge-next .btn {
  font-size:10px;
  padding:7px 10px;
  min-height:33px;
}

.flashcard-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  color:#a2af92;
  margin:18px 0 12px;
}

.flashcard {
  width:100%;
  min-height:280px;
  border:1px solid #dbe5cb;
  border-radius:11px;
  background:#f6f9ef;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:30px;
  gap:20px;
  text-align:center;
  transition:background .3s;
}

.flashcard.flipped {
  background:#edf4e2;
}

.flashcard .eyebrow {
  font-size:9px;
  letter-spacing:1.2px;
}

.flashcard-content {
  font-size:19px;
  font-family:serif;
  color:#506d3d;
  line-height:1.9;
}

.flashcard.flipped .flashcard-content {
  font-family:inherit;
  font-size:13px;
  line-height:2.1;
}

.flip-hint {
  font-size:9px;
  color:#9caf8a;
  display:flex;
  align-items:center;
  gap:5px;
}

.card-rating {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:23px;
  flex-wrap:wrap;
}

.card-rating>span {
  font-size:10px;
  color:#91a17f;
  margin-right:auto;
}

.card-rating .btn {
  font-size:10px;
  padding:7px 10px;
}

.quiz-heading {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:#9ca98d;
  margin:20px 0;
}

.question {
  border:1px solid #e4ebd9;
  border-radius:10px;
  padding:20px;
  margin-bottom:17px;
}

.question-title {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:20px;
}

.question-title h3 {
  font-size:12px;
  line-height:1.85;
  color:#5e774b;
}

.question-title .tag {
  margin-left:auto;
  font-size:8px;
  flex-shrink:0;
}

.answer-options {
  display:flex;
  flex-direction:column;
  gap:9px;
}

.answer-option {
  display:flex;
  gap:9px;
  padding:10px;
  border:1px solid #e8eedf;
  border-radius:6px;
  align-items:flex-start;
  cursor:pointer;
  font-size:10px;
  color:#8b9a7a;
  line-height:1.8;
}

.answer-option:has(:checked) {
  background:#f0f6e6;
  border-color:#adbf92;
}

.answer-option input {
  position:absolute;
  opacity:0;
}

.answer-option:has(input:focus-visible) {
  outline:2px solid #8bbba1;
}

.option-letter {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e2e8d7;
  border-radius:4px;
  min-width:21px;
  height:22px;
  font-size:9px;
  background:#fff;
}

.answer-option:has(:checked) .option-letter {
  background:#799b59;
  color:white;
  border-color:#799b59;
}

.question textarea {
  color:#738962;
  resize:vertical;
  font-size:12px;
  line-height:1.8;
}

.question-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:16px;
}

.question-bottom .btn {
  font-size:10px;
  padding:7px 10px;
  min-height:32px;
}

.answer-feedback {
  background:#fcf7e9;
  border-radius:7px;
  padding:15px;
  margin-top:17px;
  color:#9b875f;
  font-size:11px;
  line-height:1.9;
}

.answer-feedback.correct {
  background:#f0f6e8;
  color:#6b8c50;
}

.answer-feedback strong {
  font-size:11px;
}

.answer-feedback p {
  margin-top:7px;
  font-size:11px;
  line-height:1.9;
}

.answer-feedback .inline-actions {
  margin-top:13px;
}

.answer-feedback .btn {
  font-size:9px;
}

.slides-workspace {
  margin-top:22px;
}

.slide-preview {
  background:#eaf1df;
  border-radius:10px;
  min-height:350px;
  padding:30px 35px;
  position:relative;
  color:#547240;
}

.slide-brand {
  font-size:8px;
  letter-spacing:2px;
  color:#8ba274;
}

.slide-index {
  font-family:serif;
  color:#b7c7a2;
  font-size:35px;
  position:absolute;
  right:28px;
  top:19px;
}

.slide-preview h2 {
  font-family:serif;
  font-size:25px;
  margin:38px 0 22px;
  padding-right:10px;
}

.slide-preview ul {
  padding-left:19px;
  font-size:12px;
  line-height:2.1;
}

.slide-preview li {
  margin-bottom:12px;
}

.slide-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin-top:17px;
  color:#98a78a;
  font-size:11px;
}

.slide-controls .btn {
  font-size:10px;
}

.graph-panel {
  border:1px solid #e5ecd9;
  border-radius:10px;
  padding:20px;
  margin-top:20px;
}

.graph-panel .section-heading h3 {
  font-size:12px;
}

.graph-panel .section-heading span {
  font-size:8px;
}

.knowledge-graph {
  width:100%;
  display:block;
  height:auto;
  max-height:600px;
}

.graph-accessible {
  font-size:10px;
  color:#93a181;
  padding-top:13px;
  border-top:1px solid #edf1e5;
}

.graph-accessible ul {
  columns:2;
  padding-left:18px;
  line-height:2;
}

.simulation {
  border:1px solid #e6ecdc;
  border-radius:10px;
  overflow:hidden;
  margin-top:23px;
}

.simulation-view {
  padding:10px;
  background:#f8fbf3;
}

.simulation-chart {
  width:100%;
  height:auto;
  display:block;
}

.chart-grid path {
  stroke:#e6eddd;
  stroke-dasharray:4 5;
  fill:none;
}

.chart-label {
  font-size:10px;
  fill:#a5b394;
}

.chart-formula {
  font-size:15px;
  fill:#7c9b5d;
}

.simulation-reading {
  font-size:10px;
  color:#8ca477;
  text-align:center;
  padding:5px 7px 15px;
}

.simulation-controls {
  padding:20px;
}

.range-field {
  display:block;
  margin-top:20px;
  font-size:11px;
  color:#80976a;
}

.range-field>span {
  display:flex;
  justify-content:space-between;
}

.range-field output {
  font-size:10px;
  color:#99ac86;
}

.range-field input {
  width:100%;
  margin:14px 0 0;
  accent-color:#7b9b5d;
}

.simulation-controls>p {
  font-size:9px;
  margin-top:17px;
}

.translation-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #e5ecdc;
  border-radius:9px;
  margin-top:18px;
  overflow:hidden;
}

.translation-pair>div {
  padding:20px;
}

.translation-pair>div:nth-child(2) {
  background:#f5f8ef;
  border-left:1px solid #e5ecdc;
}

.translation-pair p {
  font-size:12px;
  line-height:2;
  margin-top:13px;
  color:#7b9169;
}

.translation-pair .eyebrow {
  font-size:8px;
}

.translation-pair .translation-source {
  grid-column:1 / -1;
  padding:7px 20px;
  background:#fcfdf9;
  border-top:1px solid #edf1e6;
}

.notes-document {
  font-family:inherit;
  font-size:13px;
  line-height:2.1;
  padding:25px;
  background:#fafbf6;
  border:1px solid #e9eedf;
  border-radius:9px;
  color:#748b60;
}

.document-footer {
  display:flex;
  justify-content:flex-end;
  margin-top:17px;
}

.document-footer .btn {
  font-size:10px;
}

.library-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:20px;
}

.segmented {
  display:inline-flex;
  gap:3px;
  padding:4px;
  background:#edf1e6;
  border-radius:7px;
}

.segmented button {
  font-size:10px;
  background:transparent;
  border-radius:5px;
  padding:8px 13px;
  color:#8c9a7c;
}

.segmented button.active {
  background:#fff;
  color:#5e7e48;
  box-shadow:0 1px 4px #41502e0d;
}

.search-form {
  display:flex;
  gap:8px;
  align-items:center;
  background:white;
  border:1px solid #e1e8d7;
  border-radius:7px;
  padding:6px 9px;
  color:#9daf88;
  max-width:300px;
  width:100%;
}

.search-form input {
  border:0;
  outline:none;
  min-width:0;
  width:100%;
  background:transparent;
  font-size:10px;
  padding:4px;
  color:#698451;
}

.search-form input::placeholder {
  color:#a7b498;
}

.search-form .icon-btn {
  width:24px;
  height:24px;
}

.library-note {
  font-size:10px;
  color:#97a48a;
  display:flex;
  align-items:center;
  gap:8px;
  margin:25px 0 15px;
}

.resource-table {
  border:1px solid var(--line);
  border-radius:11px;
  background:white;
  overflow:hidden;
}

.resource-table-head,.resource-table-row {
  display:grid;
  grid-template-columns:minmax(230px,1fr) 110px 120px 90px 110px;
  align-items:center;
  gap:12px;
  padding:16px 20px;
}

.resource-table-head {
  font-size:9px;
  color:#a3ae96;
  background:#fbfcf7;
  border-bottom:1px solid var(--line);
}

.resource-table-row {
  border-bottom:1px solid #edf1e6;
  min-height:95px;
}

.resource-table-row:last-child {
  border:0;
}

.resource-name {
  display:flex;
  align-items:center;
  gap:13px;
  text-align:left;
  background:transparent;
  min-width:0;
  padding:0;
}

.resource-name>span:last-child {
  min-width:0;
}

.resource-name strong {
  font-size:11px;
  display:block;
  overflow-wrap:anywhere;
  color:#5f7850;
}

.resource-name small {
  font-size:8px;
  display:block;
  color:#a7b497;
  margin-top:5px;
  line-height:1.6;
}

.file-icon {
  width:35px;
  height:43px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#f0f4e8;
  border-radius:6px;
  color:#8ca671;
  flex-shrink:0;
  border:1px solid #e7eddf;
}

.file-icon small {
  font-size:6px;
  margin-top:0;
  color:inherit;
}

.file-icon.pdf {
  background:#faf0e7;
  border-color:#f1e7d9;
  color:#c7a37d;
}

.file-icon.pptx,.file-icon.docx {
  background:#eeedf6;
  border-color:#e4e1ee;
  color:#a89cbe;
}

.inline-actions {
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.upload-hint {
  display:flex;
  align-items:center;
  gap:18px;
  border:1px dashed #cfdac1;
  border-radius:11px;
  padding:24px;
  margin-top:26px;
  color:#9bb084;
  background:#f3f6eb;
}

.upload-hint>span {
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e7eddb;
  border-radius:50%;
  flex-shrink:0;
}

.upload-hint strong {
  font-size:12px;
  color:#7e9865;
}

.upload-hint p {
  font-size:9px;
  color:#a3b18f;
  margin-top:7px;
  max-width:600px;
}

.upload-hint>.btn {
  margin-left:auto;
  flex-shrink:0;
}

.skill-group {
  margin-top:32px;
}

.skill-group .section-heading h2 {
  font-size:18px;
}

.skill-group h2>span {
  font-size:8px;
  letter-spacing:1px;
}

.skills-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.skill-card {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  text-align:left;
  padding:24px;
  position:relative;
  min-height:210px;
  transition:border .2s,transform .2s;
}

.skill-card:hover {
  border-color:#a8bf90;
  transform:translateY(-2px);
}

.skill-card .skill-icon {
  height:44px;
  width:44px;
  margin-bottom:21px;
}

.skill-card h3 {
  font-size:15px;
  margin-bottom:10px;
  color:#5c754b;
}

.skill-card p {
  font-size:10px;
  color:#9cae8b;
  line-height:1.8;
  max-width:220px;
}

.skill-card-arrow {
  position:absolute;
  right:20px;
  top:35px;
  color:#a8b99a;
}

.community-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 245px;
  gap:28px;
}

.community-search {
  max-width:none;
  margin-top:-5px;
  margin-bottom:20px;
  background:#fcfdf9;
  padding:8px 12px;
}

.community-layout .library-toolbar {
  gap:8px;
}

.community-layout .library-toolbar>.btn {
  font-size:10px;
  min-height:33px;
}

.community-aside {
  border:1px solid #e3e9d9;
  background:#edf3e3;
  border-radius:12px;
  padding:27px 23px;
  align-self:start;
  margin-top:0;
}

.community-aside .eyebrow {
  font-size:8px;
  letter-spacing:1px;
}

.community-aside h2 {
  font-family:serif;
  font-size:23px;
  font-weight:500;
  line-height:1.8;
  margin-top:19px;
  color:#6f8655;
}

.community-aside>p {
  font-size:10px;
  line-height:2;
  color:#99ac80;
}

.sharing-illustration {
  height:134px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#94ae72;
  position:relative;
}

.sharing-illustration>svg {
  transform:rotate(-10deg);
  stroke-width:.8;
}

.sharing-illustration>span {
  font-size:25px;
  position:absolute;
  right:20px;
  top:26px;
  color:#becd9f;
}

.community-aside .sidebar-divider {
  background:#d9e3c8;
  margin:24px 0 20px;
}

.community-aside h3 {
  font-size:11px;
  color:#81986b;
}

.community-aside ul {
  padding-left:15px;
  font-size:9px;
  line-height:2.4;
  color:#a4b38e;
  margin:11px 0 23px;
}

.community-aside>.small {
  font-size:8px;
  color:#b3c09f;
}

.post-card {
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:24px;
  margin-bottom:18px;
}

.post-top {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:9px;
  color:#94a388;
}

.post-top .avatar {
  margin-right:2px;
}

.post-top time {
  font-size:8px;
  color:#b2bea5;
}

.post-kind {
  margin-left:auto;
  font-size:8px;
  color:#99b080;
  background:#f2f7e9;
  padding:3px 7px;
  border-radius:4px;
}

.post-title {
  display:block;
  text-align:left;
  background:transparent;
  padding:0;
  margin-top:19px;
  margin-bottom:12px;
  width:100%;
}

.post-title h2 {
  font-family:serif;
  font-size:20px;
  color:#557045;
  line-height:1.6;
  letter-spacing:.1px;
}

.post-card>p {
  font-size:11px;
  line-height:2;
  color:#a0ae91;
  white-space:pre-line;
}

.post-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:22px;
}

.post-bottom .tag {
  font-size:8px;
}

.bookmark-btn {
  display:flex;
  gap:5px;
  align-items:center;
  background:transparent;
  font-size:9px;
  color:#a4b392;
  white-space:nowrap;
}

.bookmark-btn.bookmarked {
  color:#6b914d;
}

.bookmark-btn.bookmarked svg {
  fill:#eaf1dc;
}

.records-stats {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.records-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:24px;
  align-items:start;
}

.record-row {
  display:flex;
  gap:13px;
  align-items:center;
  text-align:left;
  background:transparent;
  width:100%;
  border-bottom:1px solid #edf2e5;
  padding:18px 0;
}

.record-row:last-child {
  border:0;
}

.record-result {
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8ba96c;
  background:#f0f6e6;
  border-radius:50%;
  flex-shrink:0;
}

.record-result.needs-work {
  background:#fbf1de;
  color:#c4a46b;
}

.record-row strong {
  font-size:11px;
  color:#7d9666;
  display:block;
}

.record-row small {
  font-size:8px;
  color:#b1bea2;
  display:block;
  margin-top:5px;
}

.record-row time {
  margin-left:auto;
  font-size:8px;
  color:#b2bfa3;
}

.record-row>svg {
  color:#b1c29f;
}

.review-panel {
  margin-bottom:20px;
  background:#f1f6e9;
}

.review-panel h3,.weak-panel h3 {
  font-size:13px;
  color:#79965f;
  margin-bottom:19px;
}

.review-panel p {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:10px;
  line-height:1.9;
  color:#9baf86;
  margin-bottom:15px;
}

.review-panel .text-link {
  font-size:9px;
  margin-top:7px;
}

.weak-panel>p {
  font-size:10px;
  line-height:2;
  color:#b1bfa1;
}

.weak-item {
  display:flex;
  gap:8px;
  align-items:center;
  text-align:left;
  background:transparent;
  color:#a2b38e;
  font-size:10px;
  padding:13px 0;
  border-bottom:1px solid #eff3e8;
  width:100%;
}

.weak-item>svg:last-child {
  margin-left:auto;
}

.settings-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:25px;
  align-items:start;
}

.settings-layout .panel>h2,.model-settings h2 {
  font-size:17px;
  color:#6b8755;
}

.settings-layout .panel>p {
  font-size:10px;
  line-height:2;
  color:#a0b18d;
  margin-top:12px;
  margin-bottom:24px;
}

.settings-layout form {
  margin-top:23px;
}

.settings-layout .field {
  margin-bottom:23px;
}

.model-settings .notice {
  font-size:10px;
}

.model-settings .field>input {
  font-size:11px;
}

.account-settings {
  margin-top:22px;
}

.account-settings h3 {
  font-size:14px;
  color:#7c9867;
}

.model-status {
  font-size:9px;
  color:#a7b996;
  margin-top:22px;
  border-top:1px solid var(--line);
  padding-top:15px;
}

.empty-state {
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  min-height:240px;
  color:#a6b495;
  width:100%;
  grid-column:1/-1;
}

.empty-state>svg {
  margin-bottom:18px;
  color:#a1b78d;
  stroke-width:1;
}

.empty-state h3 {
  font-size:15px;
  color:#8aa174;
  margin-bottom:9px;
}

.empty-state p {
  font-size:11px;
  line-height:1.9;
  max-width:340px;
  margin-bottom:20px;
  color:#b0bea1;
}

.empty-state .btn {
  font-size:11px;
}

.loading-state {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:420px;
  color:#a2b28f;
  font-size:12px;
}

.spinner {
  width:20px;
  height:20px;
  border:2px solid #dce7ce;
  border-top-color:#7d9e5c;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

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

.boot {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  gap:24px;
  align-items:center;
  justify-content:center;
  color:#9bb083;
}

.boot p {
  font-size:12px;
}

.signed-out {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:20px;
  background:#eef4e3;
  color:#66824e;
}

.signed-out>.brand-symbol {
  width:55px;
  height:55px;
  margin-bottom:10px;
}

.signed-out>.btn {
  min-width:200px;
}

.signed-out h1 {
  font-family:serif;
  font-weight:500;
  letter-spacing:2px;
}

.signed-out p {
  font-size:12px;
  color:#a4b891;
}

.signed-out .eyebrow {
  font-size:9px;
  letter-spacing:3px;
}

.connection-error {
  padding:40px 24px;
  text-align:center;
}

.connection-error p {
  max-width:560px;
  color:#5d7052;
  font-size:14px;
  line-height:1.7;
  overflow-wrap:anywhere;
}

dialog {
  border:1px solid #e0e8d5;
  border-radius:16px;
  padding:0;
  background:#fff;
  color:var(--ink);
  width:min(540px,calc(100% - 32px));
  max-height:calc(100dvh - 64px);
  box-shadow:0 25px 100px #122a2940;
  overflow:auto;
}

dialog.wide {
  width:min(800px,calc(100% - 32px));
}

dialog::backdrop {
  background:#15393070;
  backdrop-filter:blur(3px);
}

.modal-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:22px 26px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:#fffffff5;
  z-index:1;
}

.modal-head h2 {
  font-size:18px;
  color:#5b7749;
  line-height:1.5;
}

.modal-body {
  padding:25px 27px;
}

.modal-body>p {
  font-size:12px;
  color:#98ab83;
  line-height:2;
  margin-bottom:20px;
}

.modal-body>h3 {
  font-size:20px;
  line-height:1.8;
  color:#6d8b54;
  margin-bottom:13px;
}

.modal-body form .field {
  margin-bottom:21px;
  font-size:12px;
}

.modal-body .field input,.modal-body .field textarea,.modal-body .field select {
  font-size:12px;
  padding:11px 12px;
  color:#6c8656;
}

.modal-body .field input::placeholder,.modal-body .field textarea::placeholder {
  font-size:11px;
}

.modal-intro {
  color:#9eb08c;
  font-size:11px;
  margin-bottom:22px;
}

.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.import-tabs {
  display:flex;
  gap:25px;
  border-bottom:1px solid var(--line);
  margin-bottom:25px;
}

.import-tabs button {
  position:relative;
  background:transparent;
  color:#a1b18f;
  font-size:12px;
  padding:0 0 13px;
}

.import-tabs button.active {
  color:#7c9a60;
}

.import-tabs button.active:after {
  content:"";
  position:absolute;
  bottom:-1px;
  height:2px;
  background:#91ad72;
  left:0;
  right:0;
}

.file-drop {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  border:1px dashed #c4d5b0;
  border-radius:10px;
  background:#f7faf0;
  color:#9bb684;
  padding:30px 20px;
  cursor:pointer;
  position:relative;
  min-height:200px;
}

.file-drop strong {
  font-size:13px;
  color:#89a96e;
  text-align:center;
  overflow-wrap:anywhere;
  max-width:100%;
}

.file-drop>span {
  font-size:9px;
  color:#afc39a;
}

.file-drop input {
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  width:100%;
}

.file-drop:focus-within {
  outline:2px solid #8bbba1;
}

.file-drop+p {
  margin:12px 0 22px;
  font-size:10px;
  line-height:1.9;
}

.form-error {
  font-size:11px;
  color:#b27857;
  line-height:1.9;
  margin:12px 0;
}

.form-error:empty {
  display:none;
}

.resource-detail-meta {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:24px;
}

.resource-detail-meta .tag {
  margin:0;
}

.source-quote {
  font-size:14px;
  line-height:2.1;
  color:#829c69;
  padding:23px;
  background:#f5f9ec;
  border-left:3px solid #b4ca98;
  border-radius:0 8px 8px 0;
  margin:20px 0;
}

.resource-detail-meta+h3 {
  font-size:18px;
  color:#6e8c55;
}

.source-quote+.small {
  font-size:9px;
  line-height:1.9;
  margin-bottom:22px;
  overflow-wrap:anywhere;
}

.classification-suggestion {
  background:#f5f8ee;
  border:1px solid #dfead1;
  border-radius:8px;
  padding:16px;
  margin-bottom:24px;
  font-size:11px;
  color:#8ba673;
}

.classification-suggestion>strong {
  display:block;
  font-size:12px;
  color:#7d9b64;
}

.classification-suggestion>p {
  font-size:10px;
  line-height:1.9;
  margin:8px 0;
}

.classification-suggestion>.btn {
  font-size:10px;
  margin-top:12px;
  padding:7px 10px;
  min-height:31px;
}

.code-input {
  font-family:monospace!important;
  font-size:11px!important;
  tab-size:2;
}

.export-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px;
  margin:25px 0;
}

.export-option {
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:12px;
  border:1px solid #e3ecd8;
  border-radius:9px;
  background:#f9fcf4;
  padding:20px 10px;
  color:#8dab74;
}

.export-option strong {
  font-size:13px;
  letter-spacing:1px;
  color:#75975a;
}

.export-option>span {
  font-size:9px;
  color:#a7bd93;
}

.export-option:disabled {
  opacity:.4;
}

.choose-course-list {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.choose-course-list button {
  display:flex;
  align-items:center;
  gap:15px;
  background:#f5f9ed;
  border:1px solid #dfead1;
  border-radius:8px;
  padding:20px;
  text-align:left;
  color:#96b17c;
}

.choose-course-list button>span {
  font-size:14px;
  color:#7b9a60;
}

.choose-course-list button>svg:last-child {
  margin-left:auto;
}

.choose-course-list button:hover {
  background:#edf4e2;
}

.auth-alternatives {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-top:25px;
  padding-top:22px;
  border-top:1px solid var(--line);
  color:#8aa974;
  font-size:11px;
}

.auth-alternatives>.btn {
  font-size:11px;
}

.account-summary {
  text-align:center;
  padding:10px 0 25px;
}

.account-summary .avatar {
  width:60px;
  height:60px;
  font-size:22px;
  background:#eaf2db;
  color:#7f9f61;
}

.account-summary h3 {
  font-size:20px;
  color:#7b9a60;
  margin-top:20px;
}

.account-summary p {
  font-size:11px;
  color:#abc196;
  margin-top:7px;
}

.post-body {
  font-size:13px;
  color:#8ba774;
  line-height:2.1;
  margin-top:25px;
  padding:10px 0 20px;
}

.modal-body .post-bottom {
  border-top:1px solid var(--line);
  padding-top:22px;
}

.help-list {
  display:flex;
  flex-direction:column;
  gap:26px;
  margin-bottom:25px;
}

.help-list>div {
  position:relative;
  padding-left:35px;
}

.help-list .step-dot {
  position:absolute;
  left:0;
  top:2px;
}

.help-list h3 {
  font-size:14px;
  color:#7c9c60;
}

.help-list p {
  font-size:11px;
  line-height:2;
  color:#a9bf95;
  margin-top:9px;
}

.setup-mark {
  display:flex;
  justify-content:center;
  margin:0 auto 25px;
  color:#9cb984;
}

.setup-steps {
  padding-left:23px;
  color:#b0c59b;
  display:flex;
  flex-direction:column;
  gap:22px;
  font-size:12px;
  margin:25px 0;
}

.setup-steps strong {
  display:block;
  color:#86a96c;
  font-size:13px;
  margin-bottom:10px;
}

.setup-steps li>span {
  display:block;
  font-size:11px;
  line-height:1.8;
}

.setup-steps code {
  display:block;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:11px;
  background:#f4f8ed;
  padding:12px;
  border-radius:6px;
  color:#94b47b;
  margin:7px 0;
}

.setup-steps a {
  font-size:11px;
  text-decoration:underline;
  text-underline-offset:3px;
}

.setup-steps+.notice {
  font-size:10px;
  margin-top:27px;
}

.research-result {
  border:1px solid #e6efdc;
  border-radius:8px;
  padding:18px;
  margin:15px 0;
}

.research-result h3 {
  font-size:14px;
  color:#87a66d;
  margin-bottom:10px;
}

.research-result p {
  font-size:11px;
  line-height:2;
  color:#a7be93;
}

.research-result>span {
  font-size:9px;
  display:block;
  overflow-wrap:anywhere;
  margin:13px 0;
}

.research-result .btn {
  font-size:10px;
}

.job-progress {
  margin-top:15px;
  color:#98b780;
  font-size:9px;
}

.job-progress>div {
  height:3px;
  border-radius:2px;
  background:#e6efd9;
  margin-top:9px;
  overflow:hidden;
}

.job-progress i {
  display:block;
  height:3px;
  background:#89ad69;
  transition:width .4s;
}

#toast {
  position:fixed;
  bottom:28px;
  left:calc(50% + 118px);
  transform:translate(-50%,20px);
  background:#264d39;
  color:#edf5df;
  box-shadow:0 10px 30px #19382422;
  padding:13px 21px;
  border-radius:9px;
  z-index:100;
  max-width:min(500px,calc(100vw - 30px));
  font-size:12px;
  line-height:1.9;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
}

#toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}

#toast.error {
  background:#8b5e44;
  color:#fff6e8;
}

@media(min-width:1500px) {
  :root {
    --sidebar:250px;
  }
  .sidebar {
    padding-left:25px;
    padding-right:25px;
  }
  .topbar {
    padding-left:50px;
    padding-right:50px;
  }
  main {
    padding:40px 50px;
  }
  .demo-banner {
    padding-left:50px;
    padding-right:50px;
  }
  .dashboard-intro {
    grid-template-columns:minmax(0,1fr) 275px;
  }
  .continue-card {
    min-height:290px;
    padding:32px;
  }
  .continue-card h2 {
    font-size:32px;
  }
  .hero-art {
    right:60px;
    top:38px;
    transform:scale(1.1) rotate(-8deg);
  }
  .continue-card .continue-meta {
    font-size:11px;
    margin-top:13px;
  }
  .course-card {
    padding:24px;
  }
  .course-card h3 {
    font-size:23px;
  }
  .course-card>p {
    font-size:12px;
  }
  .course-resource-meta {
    font-size:10px;
  }
  .quick-skill {
    min-height:100px;
    padding:20px;
  }
  .quick-skill strong {
    font-size:13px;
  }
  .quick-skill small {
    font-size:10px;
  }
  .recent-item strong {
    font-size:12px;
  }
  .recent-item small,.recent-item time {
    font-size:10px;
  }
  .recent-item {
    padding:14px 0;
  }
  .daily-ring {
    width:130px;
    height:130px;
  }
  .daily-card {
    padding:28px 25px;
  }
  .page-heading p {
    font-size:12px;
  }
  .page-heading h1 {
    font-size:32px;
  }
  .learning-layout {
    grid-template-columns:330px minmax(0,1fr);
  }
  .generator-section {
    padding:22px;
  }
  .generator-section h3 {
    font-size:13px;
  }
  .resource-select strong {
    max-width:180px;
  }
  .skill-choice {
    font-size:11px;
  }
  .field {
    font-size:12px;
  }
  .field input,.field select,.field textarea {
    font-size:12px;
  }
}

@media(max-width:1200px) {
  :root {
    --sidebar:210px;
  }
  .sidebar {
    padding:28px 15px 16px;
  }
  .brand {
    gap:8px;
  }
  .brand strong {
    font-size:13px;
  }
  .brand-symbol {
    width:34px;
    height:35px;
  }
  .topbar {
    padding:0 25px;
    gap:15px;
  }
  main {
    padding:30px 25px;
  }
  .demo-banner {
    padding-left:25px;
    padding-right:25px;
  }
  .page-footer {
    padding-left:25px;
    padding-right:25px;
  }
  .dashboard-intro {
    grid-template-columns:minmax(0,1fr) 205px;
    gap:16px;
  }
  .continue-card {
    padding:25px 22px;
  }
  .continue-card h2 {
    font-size:24px;
  }
  .hero-art {
    right:-20px;
    transform:scale(.9) rotate(-8deg);
    top:30px;
  }
  .continue-content {
    width:75%;
  }
  .continue-meta {
    gap:10px;
    font-size:8px;
  }
  .daily-card {
    padding:23px 15px;
  }
  .course-grid {
    gap:13px;
  }
  .course-card {
    padding:18px 16px;
  }
  .course-card-top {
    margin-bottom:17px;
  }
  .course-card h3 {
    font-size:19px;
  }
  .course-semester {
    font-size:7px;
  }
  .course-card-arrow {
    margin-left:7px;
  }
  .stat-card {
    padding:15px 12px;
    gap:10px;
  }
  .stat-icon {
    width:33px;
    height:33px;
  }
  .stat-card strong {
    font-size:21px;
  }
  .stat-card>div>span {
    font-size:8px;
  }
  .stat-grid {
    gap:12px;
  }
  .dashboard-bottom {
    gap:20px;
    grid-template-columns:minmax(0,1fr) 35%;
  }
  .quick-skill {
    padding:14px 10px;
    gap:9px;
  }
  .quick-skill small {
    font-size:7px;
  }
  .quick-skill .skill-icon {
    width:30px;
    height:30px;
  }
  .quick-skill .skill-icon svg {
    width:18px;
  }
  .learning-layout {
    grid-template-columns:285px minmax(0,1fr);
    gap:16px;
  }
  .generator-section {
    padding:17px;
  }
  .resource-select strong {
    max-width:145px;
  }
  .learning-content {
    padding:21px;
  }
  .document-actions {
    flex-direction:column;
  }
  .resource-table-head,.resource-table-row {
    grid-template-columns:minmax(200px,1fr) 85px 95px 70px 85px;
    padding:15px;
    gap:8px;
  }
  .resource-table .tag {
    font-size:8px;
  }
  .community-layout {
    grid-template-columns:minmax(0,1fr) 215px;
    gap:20px;
  }
  .community-aside {
    padding:25px 20px;
  }
  .community-aside h2 {
    font-size:21px;
  }
  .skills-grid {
    gap:13px;
  }
  .skill-card {
    padding:20px;
  }
  .skill-card p {
    font-size:9px;
  }
  .records-layout {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:19px;
  }
}

@media(max-width:1000px) {
  :root {
    --sidebar:190px;
  }
  .sidebar {
    padding-left:11px;
    padding-right:11px;
  }
  .brand strong {
    font-size:12px;
  }
  .brand {
    padding-left:0;
  }
  .brand small {
    font-size:6px;
  }
  .brand-symbol {
    width:30px;
    height:32px;
  }
  .brand-symbol svg {
    width:22px;
  }
  .nav-item {
    gap:10px;
    padding-left:12px;
    font-size:11px;
  }
  .sidebar-label {
    font-size:8px;
  }
  .global-search {
    max-width:180px;
  }
  .topbar-right>span:not(.avatar) {
    display:none;
  }
  .topbar-right>.icon-btn {
    margin-left:0;
  }
  .dashboard-intro {
    grid-template-columns:minmax(0,1fr) 185px;
  }
  .continue-card h2 {
    font-size:22px;
  }
  .hero-art {
    right:-48px;
    transform:scale(.78) rotate(-8deg);
    top:30px;
  }
  .continue-content {
    width:89%;
  }
  .continue-meta {
    gap:10px;
    flex-direction:column;
    margin-bottom:15px;
  }
  .continue-card {
    min-height:285px;
  }
  .course-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dashboard-section .course-grid .course-card:last-child {
    display:none;
  }
  .course-card>p {
    font-size:10px;
  }
  .dashboard-bottom {
    grid-template-columns:1fr;
  }
  .recent-panel {
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    padding:20px;
  }
  .recent-item {
    padding:13px 0;
  }
  .stat-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .quick-skills {
    gap:13px;
  }
  .quick-skill {
    padding:18px;
  }
  .quick-skill .skill-icon {
    width:38px;
    height:38px;
  }
  .quick-skill strong {
    font-size:12px;
  }
  .quick-skill small {
    font-size:9px;
  }
  .page-heading {
    gap:14px;
  }
  .page-heading h1 {
    font-size:25px;
  }
  .page-heading p {
    font-size:10px;
  }
  .heading-actions {
    gap:6px;
  }
  .heading-actions>.btn {
    font-size:10px;
    padding:8px 11px;
  }
  .learning-layout {
    grid-template-columns:260px minmax(0,1fr);
    gap:14px;
  }
  .generator-section {
    padding:15px;
  }
  .resource-select {
    gap:4px;
  }
  .resource-select strong {
    max-width:128px;
    font-size:9px;
  }
  .resource-select small {
    font-size:7px;
  }
  .resource-select .file-icon {
    width:21px;
  }
  .resource-select .icon-btn {
    width:15px;
  }
  .generator-section .section-heading h3 {
    font-size:11px;
  }
  .generator-section .section-heading .text-link {
    font-size:9px;
  }
  .skill-select-grid {
    gap:5px;
  }
  .skill-choice {
    font-size:9px;
    padding:9px 4px;
  }
  .field {
    font-size:10px;
  }
  .field input,.field select,.field textarea {
    font-size:10px;
    padding:8px;
  }
  .generate-footer {
    padding:15px;
  }
  .generate-footer>.btn {
    font-size:10px;
  }
  .learning-content {
    padding:18px;
  }
  .workspace-welcome h2 {
    font-size:25px;
  }
  .workspace-welcome p {
    font-size:9px;
  }
  .workspace-flow {
    gap:7px;
  }
  .workspace-flow span {
    padding:5px 7px;
    font-size:8px;
  }
  .workspace-flow>svg {
    width:12px;
  }
  .document-heading {
    flex-direction:column;
  }
  .document-actions {
    flex-direction:row;
  }
  .document-heading h2 {
    font-size:20px;
  }
  .knowledge-point {
    gap:10px;
  }
  .knowledge-point h3 {
    font-size:13px;
  }
  .knowledge-point p {
    font-size:11px;
  }
  .knowledge-point blockquote {
    font-size:9px;
  }
  .card-rating>.btn {
    font-size:9px;
    padding:7px 8px;
  }
  .card-rating>span {
    flex-basis:100%;
    margin-bottom:5px;
  }
  .flashcard-content {
    font-size:17px;
  }
  .flashcard {
    padding:22px;
    min-height:260px;
  }
  .question {
    padding:15px;
  }
  .question-title {
    flex-wrap:wrap;
  }
  .question-title h3 {
    flex:1;
    min-width:120px;
  }
  .question-title .tag {
    font-size:7px;
  }
  .question-title .point-number {
    min-width:21px;
    height:21px;
  }
  .answer-option {
    font-size:9px;
    gap:7px;
    padding:9px;
  }
  .slide-preview {
    padding:23px;
    min-height:320px;
  }
  .slide-preview h2 {
    font-size:21px;
  }
  .slide-preview ul {
    font-size:11px;
  }
  .translation-pair {
    grid-template-columns:1fr;
  }
  .translation-pair>div:nth-child(2) {
    border-left:0;
    border-top:1px solid #e5ecdc;
  }
  .source-promise {
    padding:12px 10px;
    gap:7px;
  }
  .source-promise p {
    font-size:7px;
  }
  .source-promise strong {
    font-size:8px;
  }
  .artifact-row {
    padding:11px;
    gap:9px;
  }
  .artifact-row strong {
    font-size:10px;
  }
  .artifact-row small {
    font-size:7px;
  }
  .artifact-row .file-icon {
    width:27px;
    height:31px;
  }
  .artifact-row>svg:last-child {
    width:13px;
  }
  .resource-table-head,.resource-table-row {
    grid-template-columns:minmax(190px,1fr) 85px 90px 75px;
  }
  .resource-table-head>span:nth-child(4),.resource-table-row>span:nth-child(4) {
    display:none;
  }
  .library-toolbar .search-form {
    max-width:230px;
  }
  .segmented button {
    font-size:9px;
    padding:8px 10px;
  }
  .library-toolbar {
    gap:10px;
  }
  .resource-name strong {
    font-size:10px;
  }
  .resource-name small {
    font-size:7px;
  }
  .upload-hint {
    padding:20px;
    gap:13px;
  }
  .upload-hint>span {
    display:none;
  }
  .upload-hint p {
    font-size:8px;
  }
  .upload-hint>.btn {
    font-size:9px;
    padding:8px 10px;
  }
  .skills-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .community-layout {
    grid-template-columns:1fr;
  }
  .community-aside {
    display:none;
  }
  .records-layout {
    grid-template-columns:1fr;
  }
  .records-layout>aside {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
  }
  .review-panel {
    margin:0;
  }
  .settings-layout {
    grid-template-columns:1fr;
  }
  .records-stats {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .records-stats .stat-card {
    gap:8px;
  }
  .records-stats .stat-icon {
    height:29px;
    width:29px;
  }
  .records-stats .stat-icon svg {
    width:17px;
  }
  .records-stats .stat-card>div>span {
    font-size:7px;
  }
  .page-footer>span:last-child {
    display:none;
  }
}

@media(max-width:760px) {
  :root {
    --sidebar:0px;
  }
  .sidebar {
    transform:translateX(-100%);
    width:235px;
    padding:27px 20px;
    box-shadow:15px 0 70px #15393025;
    transition:transform .25s;
  }
  .sidebar.open {
    transform:translateX(0);
  }
  .sidebar .brand {
    gap:11px;
  }
  .sidebar .brand strong {
    font-size:15px;
  }
  .sidebar .brand-symbol {
    width:37px;
    height:39px;
  }
  .sidebar .brand small {
    font-size:8px;
  }
  .sidebar .nav-item {
    font-size:12px;
    padding:12px 15px;
  }
  .sidebar .sidebar-label {
    font-size:9px;
  }
  .topbar {
    height:60px;
    padding:0 20px;
    gap:12px;
  }
  .breadcrumb {
    gap:10px;
    font-size:10px;
  }
  .mobile-menu {
    display:inline-flex;
    margin-left:-5px;
  }
  .topbar-right {
    margin-left:auto;
  }
  .topbar-right .avatar {
    width:27px;
    height:27px;
    margin-left:0;
  }
  .global-search {
    display:none;
  }
  .topbar-right>.icon-btn {
    display:none;
  }
  .demo-banner {
    padding:7px 20px;
    font-size:8px;
    min-height:30px;
    gap:8px;
  }
  .demo-banner>span:last-child {
    font-size:0;
  }
  .demo-banner>span:last-child .btn {
    font-size:8px;
    white-space:nowrap;
  }
  .demo-banner>span:first-child {
    gap:5px;
  }
  .demo-banner>span:first-child svg {
    width:12px;
  }
  main {
    padding:26px 20px 32px;
  }
  .page-heading {
    align-items:flex-start;
    margin-bottom:24px;
    gap:12px;
    flex-wrap:wrap;
  }
  .page-heading .eyebrow {
    font-size:8px;
    margin-bottom:8px;
    letter-spacing:1.5px;
  }
  .page-heading h1 {
    font-size:26px;
    margin-bottom:9px;
  }
  .page-heading p {
    font-size:10px;
    line-height:1.8;
  }
  .heading-actions {
    padding-top:0;
    gap:8px;
  }
  .heading-actions>.btn {
    font-size:10px;
    min-height:34px;
    padding:8px 12px;
  }
  .dashboard-intro {
    grid-template-columns:minmax(0,1fr) 155px;
    gap:12px;
  }
  .continue-card {
    padding:23px 20px;
    min-height:250px;
  }
  .continue-card h2 {
    font-size:22px;
    margin-top:12px;
    line-height:1.8;
  }
  .continue-card .eyebrow {
    font-size:8px;
    letter-spacing:1px;
  }
  .continue-course {
    font-size:9px;
    margin-top:12px;
  }
  .continue-course>span {
    font-size:8px;
  }
  .continue-meta {
    display:none;
  }
  .continue-card>.continue-content>.btn {
    font-size:9px;
    min-height:32px;
    margin-top:18px;
  }
  .continue-content {
    width:100%;
  }
  .hero-art {
    display:none;
  }
  .daily-card {
    padding:22px 13px;
  }
  .daily-card .section-heading {
    gap:4px;
    margin-bottom:16px;
  }
  .daily-card .eyebrow {
    font-size:9px;
    letter-spacing:0;
  }
  .daily-card .section-heading svg {
    width:15px;
  }
  .daily-ring {
    width:100px;
    height:100px;
    margin-bottom:15px;
  }
  .daily-ring strong {
    font-size:25px;
  }
  .daily-ring strong small {
    font-size:10px;
  }
  .daily-ring>div>span {
    font-size:8px;
  }
  .daily-card>p {
    font-size:8px;
    line-height:1.8;
  }
  .daily-card .text-link {
    font-size:8px;
  }
  .stat-grid {
    gap:11px;
    margin:15px 0 27px;
  }
  .stat-card {
    padding:16px;
    gap:13px;
  }
  .stat-icon {
    width:38px;
    height:38px;
  }
  .stat-card strong {
    font-size:23px;
  }
  .stat-card>div>span {
    font-size:9px;
  }
  .section-heading h2 {
    font-size:16px;
  }
  .section-heading {
    margin-bottom:15px;
  }
  .section-heading .text-link {
    font-size:9px;
  }
  .course-grid {
    gap:13px;
  }
  .course-card {
    padding:19px 16px;
  }
  .course-card h3 {
    font-size:20px;
  }
  .course-card>p {
    font-size:9px;
    min-height:48px;
  }
  .course-emblem {
    width:39px;
    height:39px;
  }
  .course-semester {
    font-size:7px;
  }
  .course-card-arrow {
    display:none;
  }
  .course-resource-meta {
    font-size:8px;
    gap:12px;
    flex-wrap:wrap;
  }
  .course-resource-meta>span {
    gap:4px;
  }
  .course-resource-meta svg {
    width:12px;
  }
  .course-subject {
    font-size:8px;
  }
  .course-card-top {
    margin-bottom:21px;
  }
  .course-progress {
    font-size:8px;
  }
  .demo-course-label {
    font-size:7px;
  }
  .dashboard-bottom {
    margin-top:27px;
    gap:26px;
  }
  .quick-skills {
    gap:10px;
  }
  .quick-skill {
    padding:16px 12px;
    gap:10px;
    min-height:85px;
  }
  .quick-skill .skill-icon {
    width:32px;
    height:32px;
  }
  .quick-skill strong {
    font-size:11px;
  }
  .quick-skill small {
    font-size:8px;
  }
  .quick-skill>svg {
    width:11px;
  }
  .recent-panel {
    padding:20px;
  }
  .recent-item strong {
    font-size:11px;
  }
  .recent-item small,.recent-item time {
    font-size:9px;
  }
  .recent-note {
    font-size:8px;
  }
  .page-footer {
    padding:15px 20px 20px;
    font-size:7px;
  }
  .page-footer>span:first-child {
    font-size:6px;
  }
  .new-course-card {
    min-height:270px;
  }
  .course-breadcrumb {
    font-size:9px;
    margin-top:-3px;
    margin-bottom:16px;
  }
  .tabs {
    gap:24px;
    margin-bottom:20px;
  }
  .tabs button {
    font-size:11px;
  }
  .learning-layout {
    grid-template-columns:1fr;
    gap:20px;
  }
  .generator-panel {
    overflow:visible;
  }
  .generator-section {
    padding:20px;
  }
  .generator-section h3 {
    font-size:12px;
  }
  .generator-section>.small {
    font-size:10px;
  }
  .generator-section .section-heading h3 {
    font-size:12px;
  }
  .resource-select strong {
    max-width:none;
    font-size:11px;
    white-space:normal;
  }
  .resource-select small {
    font-size:9px;
  }
  .resource-select {
    gap:10px;
    padding:11px;
  }
  .resource-select .file-icon {
    width:25px;
  }
  .resource-select .icon-btn {
    width:25px;
  }
  .skill-select-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }
  .skill-choice {
    font-size:10px;
    padding:12px 4px;
    gap:6px;
  }
  .skill-choice svg {
    width:16px;
  }
  .generator-form .field {
    font-size:11px;
  }
  .generator-form .field input,.generator-form .field select,.generator-form .field textarea {
    font-size:11px;
    padding:10px;
  }
  .generator-form .field small {
    font-size:9px;
  }
  .generation-options summary {
    font-size:11px;
    padding:3px 0 6px;
  }
  .generate-footer {
    padding:18px 20px;
  }
  .generate-footer>.btn {
    font-size:12px;
    min-height:42px;
  }
  .generate-footer>span {
    font-size:9px;
  }
  .learning-content {
    padding:22px;
    min-height:540px;
  }
  .workspace-welcome {
    padding:30px 0;
  }
  .workspace-welcome h2 {
    font-size:29px;
  }
  .workspace-welcome p {
    font-size:10px;
  }
  .workspace-flow {
    gap:13px;
  }
  .workspace-flow span {
    font-size:9px;
    padding:6px 10px;
  }
  .artifact-row {
    padding:14px;
    gap:12px;
  }
  .artifact-row strong {
    font-size:11px;
  }
  .artifact-row small {
    font-size:8px;
  }
  .artifact-row .file-icon {
    width:32px;
    height:37px;
  }
  .artifact-row>svg:last-child {
    width:15px;
  }
  .source-promise {
    padding:15px;
    gap:10px;
  }
  .source-promise strong {
    font-size:10px;
  }
  .source-promise p {
    font-size:9px;
  }
  .workspace-recent-title h3 {
    font-size:13px;
  }
  .workspace-recent-title .small {
    font-size:10px;
  }
  .document-heading {
    gap:14px;
  }
  .document-heading h2 {
    font-size:24px;
  }
  .document-heading p {
    font-size:11px;
  }
  .document-actions .btn {
    font-size:11px;
    padding:8px 12px;
  }
  .notice.subtle {
    font-size:10px;
  }
  .knowledge-point h3 {
    font-size:15px;
  }
  .knowledge-point p {
    font-size:12px;
  }
  .knowledge-point blockquote {
    font-size:10px;
  }
  .citation {
    font-size:9px;
    padding:4px 7px;
  }
  .flashcard {
    min-height:280px;
    padding:26px;
  }
  .flashcard-content {
    font-size:21px;
  }
  .flashcard.flipped .flashcard-content {
    font-size:13px;
  }
  .card-rating {
    gap:8px;
  }
  .card-rating>span {
    font-size:11px;
    margin-bottom:8px;
  }
  .card-rating .btn {
    font-size:10px;
    padding:9px 13px;
  }
  .question {
    padding:18px;
  }
  .question-title h3 {
    font-size:13px;
  }
  .question-title .tag {
    font-size:8px;
  }
  .answer-option {
    font-size:11px;
    gap:10px;
    padding:12px;
  }
  .question-bottom .btn {
    font-size:10px;
  }
  .answer-feedback p {
    font-size:12px;
  }
  .knowledge-next h3 {
    font-size:12px;
  }
  .knowledge-next .btn {
    font-size:11px;
  }
  .sources-details summary {
    font-size:11px;
  }
  .source-line {
    font-size:11px;
  }
  .library-toolbar {
    flex-wrap:wrap;
    gap:14px;
  }
  .library-toolbar .search-form {
    max-width:none;
  }
  .segmented button {
    font-size:10px;
    padding:9px 13px;
  }
  .library-note {
    font-size:10px;
    line-height:1.8;
    margin-top:20px;
    align-items:flex-start;
  }
  .resource-table-head {
    display:none;
  }
  .resource-table-row {
    grid-template-columns:minmax(0,1fr) auto;
    padding:17px;
    gap:11px;
  }
  .resource-table-row .resource-name {
    grid-column:1/-1;
    gap:12px;
  }
  .resource-name strong {
    font-size:12px;
  }
  .resource-name small {
    font-size:9px;
  }
  .resource-table-row>span:nth-child(2) {
    grid-column:1;
    grid-row:2;
    padding-left:47px;
  }
  .resource-table-row>span:nth-child(3) {
    grid-column:1;
    grid-row:2;
    margin-left:109px;
  }
  .resource-table-row>.inline-actions {
    grid-column:2;
    grid-row:2;
    gap:3px;
  }
  .resource-table .tag {
    font-size:8px;
  }
  .resource-table .file-icon {
    width:35px;
    height:43px;
  }
  .upload-hint {
    padding:19px;
    gap:15px;
    flex-wrap:wrap;
  }
  .upload-hint strong {
    font-size:12px;
  }
  .upload-hint p {
    font-size:10px;
    line-height:1.9;
  }
  .upload-hint>.btn {
    margin-left:0;
    font-size:10px;
  }
  .skills-grid {
    gap:12px;
  }
  .skill-card {
    padding:20px;
    min-height:220px;
  }
  .skill-card h3 {
    font-size:15px;
  }
  .skill-card p {
    font-size:10px;
  }
  .skill-card .skill-icon {
    width:40px;
    height:40px;
  }
  .skill-group .section-heading h2 {
    font-size:18px;
  }
  .skill-group h2>span {
    font-size:7px;
    letter-spacing:.5px;
  }
  .post-card {
    padding:22px;
  }
  .post-title h2 {
    font-size:22px;
  }
  .post-card>p {
    font-size:12px;
  }
  .post-top {
    font-size:10px;
    gap:7px;
  }
  .post-top time {
    font-size:9px;
  }
  .post-kind {
    font-size:8px;
  }
  .post-bottom .tag {
    font-size:9px;
  }
  .bookmark-btn {
    font-size:10px;
  }
  .community-search input {
    font-size:11px;
  }
  .records-stats {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
  }
  .records-stats .stat-card {
    padding:15px 12px;
    display:block;
  }
  .records-stats .stat-card>.stat-icon {
    margin-bottom:12px;
  }
  .records-stats .stat-card>div>span {
    font-size:8px;
  }
  .records-layout>aside {
    grid-template-columns:1fr;
  }
  .review-panel,.weak-panel {
    padding:23px;
  }
  .review-panel h3,.weak-panel h3 {
    font-size:14px;
  }
  .review-panel p,.weak-panel>p {
    font-size:11px;
  }
  .record-row strong {
    font-size:12px;
  }
  .record-row small {
    font-size:9px;
  }
  .record-row time {
    font-size:9px;
  }
  .panel {
    padding:22px;
  }
  .settings-layout .panel>p {
    font-size:11px;
  }
  .settings-layout .field {
    font-size:12px;
  }
  .settings-layout .field input,.settings-layout .field select {
    font-size:12px;
    padding:11px;
  }
  .model-settings .notice {
    font-size:11px;
  }
  .model-status {
    font-size:10px;
    line-height:1.9;
  }
  .account-settings h3 {
    font-size:15px;
  }
  .settings-layout .panel>h2,.model-settings h2 {
    font-size:18px;
  }
  .empty-state {
    padding:35px 15px;
  }
  .empty-state h3 {
    font-size:15px;
  }
  .empty-state p {
    font-size:11px;
  }
  .document-footer>.btn {
    font-size:11px;
  }
  .slide-preview {
    padding:25px;
    min-height:340px;
  }
  .slide-preview h2 {
    font-size:26px;
  }
  .slide-preview ul {
    font-size:12px;
  }
  .slide-controls>.btn {
    font-size:11px;
  }
  .graph-panel {
    padding:15px;
  }
  .graph-panel .section-heading {
    flex-wrap:wrap;
  }
  .graph-panel .section-heading h3 {
    font-size:13px;
  }
  .graph-panel .section-heading span {
    font-size:9px;
  }
  .graph-accessible {
    font-size:11px;
  }
  .simulation-reading {
    font-size:10px;
  }
  .range-field {
    font-size:12px;
  }
  .simulation-controls>.small {
    font-size:10px;
  }
  .translation-pair p {
    font-size:13px;
  }
  .translation-pair .eyebrow {
    font-size:10px;
  }
  .notes-document {
    font-size:12px;
    padding:20px;
  }
  .modal-head {
    padding:20px;
  }
  .modal-head h2 {
    font-size:18px;
  }
  .modal-body {
    padding:22px 20px;
  }
  .modal-body .field input,.modal-body .field textarea,.modal-body .field select {
    font-size:13px;
  }
  .modal-actions {
    gap:8px;
  }
  .modal-actions>.btn {
    font-size:11px;
    padding:9px 12px;
  }
  .modal-body>p {
    font-size:12px;
  }
  .export-grid {
    gap:9px;
  }
  .export-option {
    padding:18px 8px;
  }
  .export-option strong {
    font-size:12px;
  }
  .export-option>span {
    font-size:8px;
  }
  #toast {
    left:50%;
    bottom:20px;
    min-width:200px;
    font-size:11px;
    padding:12px 18px;
    text-align:center;
  }
  .signed-out {
    padding:30px;
  }
  .signed-out h1 {
    font-size:27px;
    letter-spacing:1px;
  }
  .signed-out p {
    text-align:center;
  }
}

@media(max-width:420px) {
  main {
    padding-left:16px;
    padding-right:16px;
  }
  .topbar {
    padding-left:16px;
    padding-right:16px;
  }
  .demo-banner {
    padding-left:16px;
    padding-right:16px;
    font-size:7px;
  }
  .demo-banner>span:last-child .btn {
    font-size:7px;
  }
  .page-heading h1 {
    font-size:24px;
  }
  .page-heading p {
    font-size:9px;
  }
  .dashboard-intro {
    grid-template-columns:minmax(0,1fr) 133px;
    gap:10px;
  }
  .continue-card {
    padding:21px 16px;
    min-height:240px;
  }
  .continue-card h2 {
    font-size:19px;
    line-height:1.9;
  }
  .continue-course {
    font-size:8px;
  }
  .continue-course>span {
    display:none;
  }
  .daily-card {
    padding:21px 10px;
  }
  .daily-ring {
    width:88px;
    height:88px;
    margin-top:18px;
  }
  .daily-card .eyebrow {
    font-size:8px;
  }
  .daily-card .section-heading svg {
    width:13px;
  }
  .daily-card>p {
    font-size:7px;
  }
  .daily-card .text-link {
    font-size:7px;
  }
  .daily-ring strong {
    font-size:22px;
  }
  .daily-ring strong small {
    font-size:8px;
  }
  .daily-ring>div>span {
    font-size:7px;
  }
  .continue-card .eyebrow {
    font-size:7px;
  }
  .continue-card>.continue-content>.btn {
    font-size:8px;
    padding:8px 12px;
  }
  .stat-card {
    padding:15px 12px;
    gap:10px;
  }
  .stat-icon {
    width:32px;
    height:32px;
  }
  .stat-icon>svg {
    width:18px;
  }
  .stat-card>div>span {
    font-size:8px;
  }
  .stat-card strong {
    font-size:21px;
  }
  .course-card {
    padding:18px 13px;
  }
  .course-card h3 {
    font-size:18px;
  }
  .course-card>p {
    font-size:8px;
    min-height:45px;
  }
  .course-card-top {
    gap:6px;
    margin-bottom:17px;
  }
  .course-semester {
    font-size:6px;
  }
  .course-emblem {
    width:34px;
    height:35px;
  }
  .course-emblem svg {
    width:21px;
  }
  .course-resource-meta {
    font-size:7px;
    gap:10px;
    margin-bottom:15px;
  }
  .course-resource-meta svg {
    width:10px;
  }
  .quick-skill {
    padding:15px 10px;
    gap:8px;
  }
  .quick-skill .skill-icon {
    width:29px;
    height:29px;
    border-radius:7px;
  }
  .quick-skill strong {
    font-size:10px;
  }
  .quick-skill small {
    font-size:7px;
  }
  .quick-skill>svg {
    width:10px;
  }
  .new-course-card {
    min-height:265px;
  }
  .new-course-card strong {
    font-size:12px;
  }
  .new-course-card span {
    font-size:8px;
  }
  .learning-content {
    padding:18px;
  }
  .skill-choice {
    font-size:9px;
    gap:5px;
  }
  .skill-choice svg {
    width:14px;
  }
  .generator-section {
    padding:18px;
  }
  .workspace-welcome h2 {
    font-size:26px;
  }
  .workspace-welcome p {
    font-size:9px;
  }
  .workspace-flow {
    gap:9px;
  }
  .workspace-flow span {
    font-size:8px;
  }
  .artifact-row strong {
    font-size:10px;
  }
  .card-rating .btn {
    padding:9px 11px;
    font-size:9px;
  }
  .card-rating>span {
    font-size:10px;
  }
  .flashcard {
    padding:23px;
  }
  .flashcard-content {
    font-size:19px;
  }
  .knowledge-point {
    gap:10px;
  }
  .knowledge-point p {
    font-size:11px;
  }
  .document-heading h2 {
    font-size:22px;
  }
  .knowledge-next h3 {
    font-size:11px;
  }
  .knowledge-next .btn {
    font-size:10px;
  }
  .resource-table-row {
    padding:15px;
  }
  .resource-name strong {
    font-size:11px;
  }
  .resource-name small {
    font-size:8px;
  }
  .resource-table-row>.inline-actions {
    gap:0;
  }
  .resource-table-row .inline-actions .icon-btn {
    width:25px;
    height:28px;
  }
  .resource-table-row>span:nth-child(2) {
    padding-left:0;
  }
  .resource-table-row>span:nth-child(3) {
    margin-left:62px;
  }
  .skill-card {
    padding:18px 15px;
    min-height:220px;
  }
  .skill-card h3 {
    font-size:14px;
  }
  .skill-card p {
    font-size:9px;
  }
  .skill-card-arrow {
    right:14px;
    top:29px;
  }
  .skill-card-arrow svg {
    width:16px;
  }
  .skills-grid {
    gap:10px;
  }
  .post-card {
    padding:20px 17px;
  }
  .post-title h2 {
    font-size:20px;
  }
  .post-top {
    font-size:9px;
    gap:5px;
  }
  .post-top time {
    font-size:8px;
  }
  .post-kind {
    font-size:7px;
    padding:3px 5px;
  }
  .post-card>p {
    font-size:11px;
  }
  .post-bottom .tag {
    font-size:8px;
  }
  .post-bottom .tag+.tag {
    margin-left:3px;
  }
  .bookmark-btn {
    font-size:9px;
  }
  .community-layout .library-toolbar {
    gap:7px;
  }
  .community-layout .segmented button {
    font-size:9px;
    padding:8px 9px;
  }
  .community-layout .library-toolbar>.btn {
    font-size:9px;
    padding:7px 8px;
  }
  .records-stats .stat-card {
    padding:13px 11px;
  }
  .records-stats .stat-card>div>span {
    font-size:7px;
  }
  .record-row {
    gap:9px;
  }
  .record-row strong {
    font-size:11px;
  }
  .record-row small {
    font-size:8px;
  }
  .record-row time {
    font-size:8px;
  }
  .record-result {
    width:28px;
    height:28px;
  }
  .record-row>svg {
    width:13px;
  }
  .panel {
    padding:20px;
  }
  .modal-head {
    padding:18px;
  }
  .modal-body {
    padding:21px 18px;
  }
  .modal-body .field-row {
    gap:10px;
  }
  .modal-head h2 {
    font-size:17px;
  }
  .modal-actions>.btn {
    font-size:10px;
  }
  .source-quote {
    font-size:12px;
    padding:19px;
  }
  .source-line {
    font-size:10px;
  }
  .slide-preview h2 {
    font-size:23px;
  }
  .slide-preview ul {
    font-size:11px;
  }
  .page-footer {
    padding-left:16px;
    padding-right:16px;
  }
  .page-footer>span:nth-child(2) {
    font-size:6px;
  }
}

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

.supporting-points {
  margin-top:25px;
  border-top:1px solid var(--line);
  padding-top:17px;
}

.supporting-points>summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:11px;
  color:#7a9663;
  cursor:pointer;
}

.supporting-points[open]>summary {
  margin-bottom:10px;
}

.nav-scrim {
  display:none;
}

@media(max-width:760px) {
  .sidebar.open+.nav-scrim {
    display:block;
    position:fixed;
    inset:0;
    background:#16392e45;
    z-index:25;
    backdrop-filter:blur(2px);
  }
}

/* Comfortable reading and touch targets on narrow phones. */
@media (max-width:600px) {
  .dashboard-intro,
  .course-grid,
  .quick-skills {
    grid-template-columns:minmax(0,1fr);
  }

  .dashboard-section .course-grid .course-card:last-child {
    display:block;
  }

  .continue-card {
    padding:25px 23px;
    min-height:250px;
  }

  .continue-card h2 {
    font-size:27px;
    line-height:1.65;
    margin-top:15px;
  }

  .continue-course {
    font-size:12px;
  }

  .continue-course>span {
    display:inline;
    font-size:11px;
  }

  .continue-card>.continue-content>.btn {
    font-size:12px;
    min-height:44px;
    padding:11px 17px;
    margin-top:20px;
  }

  .daily-card {
    display:grid;
    grid-template-columns:minmax(0,1fr) 94px;
    gap:8px 16px;
    align-items:center;
    padding:19px 22px;
    text-align:left;
  }

  .daily-card .section-heading {
    grid-column:1;
    grid-row:1;
    justify-content:flex-start;
    gap:10px;
    margin:0;
  }

  .daily-ring {
    grid-column:2;
    grid-row:1 / 4;
    width:94px;
    height:94px;
    margin:0;
  }

  .daily-ring strong {
    font-size:24px;
  }

  .daily-ring strong small,
  .daily-ring>div>span {
    font-size:11px;
  }

  .daily-card>p {
    grid-column:1;
    grid-row:2;
    margin:0;
    font-size:12px;
    line-height:1.8;
  }

  .daily-card .text-link {
    grid-column:1;
    grid-row:3;
    justify-self:start;
    font-size:11px;
    min-height:32px;
  }

  .course-card {
    padding:23px;
  }

  .course-card h3 {
    font-size:25px;
  }

  .course-card>p {
    min-height:0;
    font-size:13px;
    line-height:1.9;
  }

  .course-card-top {
    margin-bottom:20px;
  }

  .course-emblem {
    width:43px;
    height:43px;
  }

  .course-subject,
  .course-semester,
  .course-resource-meta,
  .course-progress,
  .demo-course-label {
    font-size:11px;
  }

  .course-resource-meta {
    gap:20px;
  }

  .course-resource-meta svg {
    width:15px;
    height:15px;
  }

  .course-card-arrow {
    display:inline-flex;
  }

  .course-progress>div,
  .course-progress i {
    height:4px;
  }

  .quick-skill {
    min-height:88px;
    padding:18px;
    gap:15px;
  }

  .quick-skill .skill-icon {
    width:39px;
    height:39px;
  }

  .quick-skill strong {
    font-size:14px;
  }

  .quick-skill small {
    font-size:12px;
    line-height:1.7;
  }

  .quick-skill>svg {
    width:16px;
  }

  .btn,
  .heading-actions>.btn,
  .document-actions .btn,
  .generate-footer>.btn,
  .question-bottom .btn,
  .card-rating .btn,
  .knowledge-next .btn,
  .modal-actions>.btn,
  .document-footer>.btn,
  .community-layout .library-toolbar>.btn {
    min-height:44px;
    font-size:12px;
    padding:11px 14px;
  }

  .btn.text,
  .demo-banner .btn.text {
    min-height:32px;
    padding:0;
  }

  .icon-btn {
    width:40px;
    height:40px;
  }

  .field,
  .generator-form .field,
  .generation-options .field,
  .modal-body form .field {
    font-size:12px;
  }

  .field input,
  .field select,
  .generator-form .field input,
  .generator-form .field select,
  .generation-options input,
  .generation-options select {
    min-height:44px;
    padding:11px;
    font-size:14px;
  }

  .field textarea,
  .generator-form .field textarea,
  .question textarea {
    min-height:88px;
    font-size:14px;
    line-height:1.8;
  }

  .field small,
  .generator-form .field small,
  .field input::placeholder,
  .field textarea::placeholder,
  .modal-body .field input::placeholder,
  .modal-body .field textarea::placeholder {
    font-size:12px;
  }

  .skill-select-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .skill-choice {
    min-height:44px;
    font-size:12px;
  }

  .generation-options summary,
  .question-types,
  .generator-section>.small,
  .generate-footer>span {
    font-size:11px;
  }

  .question-types label {
    display:inline-flex;
    align-items:center;
    min-height:36px;
  }

  .resource-select {
    min-height:65px;
  }

  .resource-select strong,
  .resource-name strong,
  .artifact-row strong,
  .recent-item strong,
  .record-row strong {
    font-size:13px;
  }

  .resource-select small,
  .resource-name small,
  .artifact-row small,
  .recent-item small,
  .record-row small,
  .recent-item time,
  .record-row time {
    font-size:11px;
    line-height:1.8;
  }

  .eyebrow,
  .page-heading .eyebrow,
  .continue-card .eyebrow,
  .daily-card .eyebrow,
  .workspace-welcome .eyebrow,
  .flashcard .eyebrow,
  .knowledge-next .eyebrow {
    font-size:11px;
    letter-spacing:1px;
  }

  .page-heading p,
  .workspace-welcome p,
  .source-promise p,
  .skill-card p,
  .post-card>p,
  .settings-layout .panel>p,
  .review-panel p,
  .weak-panel>p,
  .simulation-controls>.small,
  .upload-hint p {
    font-size:12px;
    line-height:1.9;
  }

  .stat-card>div>span,
  .records-stats .stat-card>div>span,
  .recent-note,
  .section-heading .text-link,
  .artifact-topline>span,
  .artifact-topline .text-link,
  .document-heading p,
  .notice.subtle,
  .knowledge-point blockquote,
  .workspace-recent-title .small,
  .workspace-flow span,
  .source-promise strong,
  .sources-details summary,
  .supporting-points>summary,
  .flip-hint,
  .quiz-heading,
  .card-rating>span,
  .library-note,
  .segmented button,
  .community-layout .segmented button,
  .post-top,
  .post-top time,
  .post-kind,
  .bookmark-btn,
  .tag,
  .resource-table .tag,
  .post-bottom .tag,
  .question-title .tag,
  .source-line .tag {
    font-size:11px;
  }

  .knowledge-point p,
  .outline-item p,
  .answer-option,
  .answer-feedback p,
  .notes-document {
    font-size:13px;
  }

  .citation {
    min-height:34px;
    font-size:11px;
    padding:7px 9px;
  }

  .segmented button {
    min-height:42px;
    padding:9px 11px;
  }

  .community-layout .library-toolbar {
    align-items:flex-start;
  }

  .community-layout .segmented {
    flex-wrap:wrap;
  }

  .search-form input,
  .community-search input {
    min-height:32px;
    font-size:13px;
  }

  .resource-table-row>span:nth-child(3) {
    margin-left:78px;
  }

  .resource-table-row>.inline-actions {
    grid-column:1 / -1;
    grid-row:3;
    justify-content:flex-end;
  }

  .resource-table-row .inline-actions .icon-btn {
    width:40px;
    height:40px;
  }

  .demo-banner {
    align-items:flex-start;
    font-size:11px;
    line-height:1.7;
    padding-top:9px;
    padding-bottom:9px;
  }

  .demo-banner>span:first-child {
    flex:1;
  }

  .demo-banner>span:last-child .btn {
    font-size:11px;
    min-height:20px;
  }

  .page-footer {
    flex-direction:column;
    gap:6px;
  }

  .page-footer>span:first-child,
  .page-footer>span:nth-child(2) {
    font-size:11px;
  }
}
@media (max-width:600px) {
  .sidebar .sidebar-label,
  .sidebar .brand small,
  .profile small,
  .study-tip strong,
  .study-tip p,
  .breadcrumb,
  .topbar-right,
  .file-icon small,
  .resource-name .file-icon small,
  .post-bottom .tag,
  .graph-panel .section-heading span,
  .graph-accessible,
  .simulation-reading,
  .range-field output,
  .translation-pair .eyebrow,
  .model-status,
  .empty-state .btn,
  .source-quote+.small,
  .classification-suggestion>p,
  .file-drop>span,
  .export-option>span,
  .research-result>span,
  .job-progress {
    font-size:11px;
  }

  .file-icon {
    min-width:39px;
  }

  .skills-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .skill-card {
    min-height:190px;
    padding:23px;
  }

  .skill-card h3 {
    font-size:17px;
  }

  .slide-brand {
    font-size:11px;
    letter-spacing:1px;
  }

  .slide-preview ul,
  .source-line,
  .range-field {
    font-size:12px;
  }
}

.skill-card-main { display:flex; flex:1; flex-direction:column; align-items:flex-start; width:100%; padding:0; border:0; background:transparent; text-align:left; cursor:pointer; color:inherit; font:inherit; }
.skill-card-main:focus-visible { outline:2px solid var(--green); outline-offset:7px; border-radius:5px; }
.skill-download-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.skill-download-actions a { display:inline-flex; align-items:center; gap:5px; font-size:12px; }
.skill-download-actions small { width:100%; font-size:11px; color:var(--muted); }
.skill-download-actions button:disabled { opacity:.55; cursor:not-allowed; }
.course-context,.classification-context { padding:12px 14px; border:1px solid var(--line); border-radius:8px; background:var(--pale); color:var(--deep); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.course-card-context { margin:0 0 10px; color:var(--muted); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.classification-context { margin-bottom:15px; }
.classification-meta { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.classification-evidence-list { margin:18px 0; }
.classification-evidence { margin:12px 0; padding:14px 16px; border:1px solid var(--line); border-radius:9px; background:var(--canvas); }
.classification-evidence strong,.classification-evidence small { display:block; }
.classification-evidence small,.classification-history small { color:var(--muted); font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.classification-evidence blockquote { margin:10px 0 0; padding-left:12px; border-left:2px solid var(--green); font-size:13px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.classification-evidence pre { max-height:260px; margin:9px 0 0; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:13px; line-height:1.8; }
.classification-confirm { display:flex; align-items:flex-start; gap:10px; margin:14px 0; font-size:13px; line-height:1.8; cursor:pointer; }
.classification-confirm input[type=checkbox] { width:16px; min-height:16px; margin-top:4px; accent-color:var(--green); flex-shrink:0; }
.classification-history { margin-top:23px; padding-top:16px; border-top:1px solid var(--line); }
.classification-history summary { color:var(--deep); font-size:13px; cursor:pointer; }
.classification-history article { padding:12px 0; border-bottom:1px solid var(--line); }
.classification-history strong,.classification-history small { display:block; }
.classification-history strong { font-size:12px; }
.classification-history p { font-size:12px; line-height:1.8; }
.classification-preview-meta { display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px 12px; padding:14px; border:1px solid var(--line); border-radius:8px; font-size:12px; line-height:1.8; }
.classification-preview-meta dt { color:var(--muted); }
.classification-preview-meta dd { margin:0; overflow-wrap:anywhere; }
.learning-funding { margin:18px 0; padding:15px; border:1px solid var(--line); border-radius:9px; background:var(--canvas); }
.learning-funding .section-heading { gap:9px; margin-bottom:12px; }
.learning-funding h4 { margin:0; font-size:12px; color:var(--deep); }
.learning-funding>label:not(.classification-confirm) { display:flex; align-items:flex-start; gap:9px; margin:9px 0; font-size:12px; line-height:1.7; }
.learning-funding input[type=radio] { width:15px; min-height:15px; flex-shrink:0; margin-top:3px; accent-color:var(--green); }
.learning-funding input:disabled+span { color:var(--muted); }
.learning-funding .classification-confirm { font-size:11px; }
@media(max-width:640px) { .classification-preview-meta { grid-template-columns:70px minmax(0,1fr); } .skill-download-actions { gap:10px; } }
