:root {
  --navy: #173c43;
  --green: #1f6657;
  --mint: #eaf2ec;
  --ink: #263d41;
  --muted: #7b8b8b;
  --line: #e5ebe7;
  --bg: #f5f7f4;
  --gold: #c5a46b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  cursor: pointer;
}
button {
  transition: 0.16s;
}
button:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d5ad66;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: var(--green);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
  line-height: 1.5;
}
h3 {
  font-size: 16px;
  margin-bottom: 0;
}
small {
  font-size: 12px;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  border-radius: 9px 1px 9px 1px;
  background: var(--green);
  color: white;
  font-size: 23px;
  font-family: serif;
}
.sidebar {
  width: 226px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 42px;
}
.tenant-name {
  font-size: 12px;
  margin: 10px 0 24px;
  font-weight: 600;
  line-height: 1.6;
}
.sidebar select {
  width: 100%;
  margin-bottom: 15px;
}
nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  text-align: left;
  padding: 13px 12px;
  border-radius: 6px;
  color: #6f8080;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
}
.nav-item span {
  font-size: 20px;
  width: 21px;
}
.nav-item.selected {
  background: var(--mint);
  color: var(--green);
  font-weight: 650;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 11px;
  color: #718580;
  padding-top: 35px;
}
.sidebar-footer p {
  font-size: 9px;
  margin-top: 9px;
  color: #9aa7a3;
}
.live-dot {
  display: inline-block;
  background: #5e9e80;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
}
.shell {
  margin-left: 226px;
}
.topbar {
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 12px;
}
.account {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e3ebe4;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 11px;
}
.account small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.main {
  max-width: 1600px;
  padding: 32px 38px;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}
.page-title p {
  margin-bottom: 0;
}
.page-title .eyebrow {
  margin-bottom: 10px;
}
.project-select {
  font-size: 10px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  min-width: 260px;
}
input,
textarea,
select {
  border: 1px solid #dce5df;
  border-radius: 5px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  max-width: 100%;
}
textarea {
  resize: vertical;
  line-height: 1.8;
}
.primary,
.outline,
.light {
  border-radius: 5px;
  padding: 11px 18px;
  font-size: 12px;
  display: inline-block;
}
.primary {
  background: var(--green);
  color: #fff;
}
.outline {
  background: white;
  border: 1px solid #d6e1db;
  color: var(--green);
}
.light {
  background: #edf2e7;
  color: var(--green);
}
.text-btn {
  font-size: 12px;
  color: var(--green);
  padding: 5px;
}
.hero {
  border-radius: 9px;
  background: var(--navy);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  color: white;
}
.hero > div:first-child {
  z-index: 1;
  max-width: 70%;
}
.hero-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  color: #c6d7cb;
}
.hero h2 {
  font-size: 28px;
  letter-spacing: 1px;
  margin: 17px 0 12px;
}
.hero p {
  font-size: 12px;
  color: #c5d6d2;
  line-height: 1.9;
  max-width: 630px;
}
.hero-meta {
  display: flex;
  gap: 23px;
  font-size: 11px;
  color: #c5d6d2;
  margin: 20px 0;
}
.hero-art {
  width: 220px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art strong {
  font-family: serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 8px;
  z-index: 1;
  color: #e4dfc4;
}
.hero-art strong span {
  display: block;
  font-family: sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  line-height: 1.8;
  margin-top: 12px;
}
.orbit {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #406166;
  border-radius: 50%;
  transform: translate(15px, 10px);
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #406166;
  border-radius: 50%;
}
.sail {
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 170px;
  height: 200px;
  background: linear-gradient(130deg, #b6c7a3, #577d70);
  clip-path: polygon(0 100%, 68% 0, 70% 100%);
  opacity: 0.5;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 22px 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px 23px;
}
.stat > div {
  font-size: 12px;
}
.stat > div span {
  float: right;
  color: #a8b9ac;
  font-size: 10px;
}
.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  margin: 15px 0 9px;
  font-variant-numeric: tabular-nums;
}
.stat small {
  font-size: 10px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.section-head h3 small {
  font-size: 8px;
  letter-spacing: 1px;
  margin-left: 12px;
}
.stage-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #edf1ec;
}
.stage-line:last-child {
  border: 0;
}
.stage-number {
  border: 1px solid #d8e3d8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 11px;
}
.stage-line > div {
  flex: 1;
}
.stage-line strong {
  font-size: 12px;
  font-weight: 550;
}
.stage-line small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.badge {
  font-size: 10px;
  white-space: nowrap;
  border-radius: 4px;
  padding: 5px 8px;
  background: #f0f3ef;
  color: #78877d;
}
.badge.active,
.badge.approved,
.badge.done {
  background: #e8f3ea;
  color: #3d7d57;
}
.badge.submitted {
  background: #fff3dc;
  color: #9a7837;
}
.badge.revision {
  background: #fbece4;
  color: #a56543;
}
.task-preview {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.task-preview > span:nth-child(2) {
  flex: 1;
}
.task-preview strong {
  font-size: 12px;
  font-weight: 550;
}
.task-preview small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.task-icon {
  background: #eef2e8;
  border-radius: 6px;
  padding: 10px;
  color: var(--green);
}
.tip {
  background: #f4f5ed;
  padding: 16px 18px;
  margin-top: 22px;
  border-radius: 5px;
}
.tip strong {
  font-size: 11px;
  color: #7a815c;
}
.tip p {
  font-size: 11px;
  color: #8a917c;
  line-height: 1.8;
  margin: 6px 0 0;
}
.page-footer {
  font-size: 10px;
  color: #99a59d;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}
.journey,
.idp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.journey h2 {
  font-size: 20px;
  margin-top: 14px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.journey-task {
  display: block;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  width: 100%;
  font-size: 12px;
}
.journey-task small {
  display: block;
  margin: 10px 0 0 18px;
  font-size: 10px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  padding: 13px 12px;
  background: #f7f9f5;
}
td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
td strong {
  font-weight: 550;
}
td small {
  display: block;
  margin-top: 8px;
  font-size: 10px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.resource-card {
  padding: 0;
  overflow: hidden;
}
.resource-cover {
  height: 155px;
  background: #e3eade;
  position: relative;
  padding: 20px;
  color: #4d675c;
  overflow: hidden;
}
.resource-cover > span {
  font-size: 10px;
  letter-spacing: 2px;
}
.resource-cover strong {
  position: absolute;
  font-family: serif;
  right: 25px;
  top: 28px;
  font-size: 72px;
  opacity: 0.5;
  font-weight: 400;
}
.resource-cover small {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 8px;
  letter-spacing: 2px;
  color: inherit;
}
.cover-1 {
  background: #e8e2d4;
  color: #8b7857;
}
.cover-2 {
  background: #dbe7e6;
  color: #577e7e;
}
.resource-info {
  padding: 23px;
}
.resource-info h3 {
  margin: 15px 0;
}
.resource-info p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  min-height: 44px;
}
.search {
  display: flex;
  align-items: center;
  gap: 15px;
}
.search label {
  font-size: 12px;
}
.search input {
  width: 260px;
}
.feedback-list {
  display: grid;
  gap: 18px;
}
.feedback-card .content {
  font-size: 13px;
  line-height: 2;
}
.content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.review {
  background: #f2f6ef;
  border-left: 3px solid #b6c9a9;
  border-radius: 3px;
  padding: 18px;
  margin: 20px 0;
  font-size: 12px;
}
.review p {
  margin: 10px 0 0;
  line-height: 1.9;
}
.idp-card h2 {
  font-size: 20px;
}
.idp-card .content {
  font-size: 13px;
  color: var(--muted);
  min-height: 65px;
}
.idp-card select {
  padding: 7px;
}
.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.admin-action {
  text-align: left;
}
.admin-action > span {
  color: var(--green);
  font-size: 30px;
}
.admin-action h3 {
  margin: 15px 0 10px;
}
.admin-action p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}
.audit {
  margin-top: 22px;
}
.audit p {
  font-size: 12px;
  margin: 18px 0 0;
}
.audit p span {
  color: var(--muted);
  margin-right: 20px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-story {
  background: var(--navy);
  color: #fff;
  padding: 50px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.login-story .brand {
  color: white;
}
.login-story .brand small {
  color: #a5b9ae;
  font-size: 9px;
}
.login-story .brand-mark {
  background: #376058;
}
.login-story .eyebrow {
  color: #aec3ae;
  letter-spacing: 3px;
}
.login-story h1 {
  font-size: 40px;
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: 3px;
  margin: 20px 0;
}
.login-story p {
  color: #bacbc3;
  line-height: 2;
}
.login-story > small {
  font-size: 10px;
  color: #a5b9ae;
}
.story-stats {
  display: flex;
  gap: 35px;
  margin: 40px 0;
}
.story-stats span {
  font-size: 10px;
  color: #b9cbbf;
}
.story-stats strong {
  font-size: 30px;
  color: #e6dec1;
  display: block;
  font-weight: 400;
  margin-bottom: 12px;
}
.login-form {
  padding: 10%;
  max-width: 600px;
  align-self: center;
  width: 100%;
  justify-self: center;
}
.login-form h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.login-form form {
  margin: 35px 0 20px;
}
label {
  display: block;
  font-size: 12px;
}
form label {
  margin-bottom: 20px;
}
form input,
form select,
form textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
}
.wide {
  width: 100%;
  padding: 14px;
}
.demo {
  margin: 25px 0;
  font-size: 11px;
  line-height: 1.9;
  color: #788a7f;
  padding: 15px;
  background: #edf2e9;
  border-radius: 5px;
}
.demo summary {
  cursor: pointer;
}
code {
  font-family: monospace;
  font-size: 11px;
}
.error {
  color: #a24d3a;
  font-size: 12px;
  margin-top: 12px;
}
.loading {
  padding: 70px;
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #24483e;
  color: #fff;
  padding: 14px 25px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 28px;
  width: min(640px, 92vw);
  max-height: 88vh;
  color: var(--ink);
  box-shadow: 0 30px 90px #173c4333;
}
dialog::backdrop {
  background: #132f3466;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 21px;
  margin-bottom: 0;
}
.close {
  font-size: 27px;
  color: var(--muted);
  padding: 0 7px;
}
.edit-form {
  margin-top: 20px;
}
.reading {
  padding: 18px 0 28px;
  font-size: 14px;
}
.external {
  margin: 0 10px 15px 0;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (min-width: 1600px) {
  .main {
    padding: 40px 55px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 196px;
    padding: 25px 15px;
  }
  .shell {
    margin-left: 196px;
  }
  .main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero-art {
    width: 150px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px 15px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-title {
    align-items: flex-start;
  }
  .project-select {
    min-width: 200px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
    width: auto;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 30px;
    height: 34px;
    font-size: 20px;
  }
  .sidebar .workspace-label,
  .sidebar .tenant-name,
  .sidebar-footer {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 15px;
    gap: 3px;
  }
  .nav-item {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .nav-item span {
    font-size: 16px;
    width: 16px;
  }
  .shell {
    margin: 0;
  }
  .sidebar select {
    margin: 10px 0 0;
  }
  .topbar {
    height: 66px;
    padding: 0 18px;
  }
  .topbar > span {
    display: none;
  }
  .account {
    width: 100%;
  }
  .account .text-btn:first-of-type {
    margin-left: auto;
  }
  .main {
    padding: 23px 17px;
  }
  .page-title {
    display: block;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 24px;
  }
  .project-select {
    margin-top: 20px;
  }
  .project-select select {
    width: 100%;
  }
  .hero {
    padding: 25px 22px;
    min-height: 270px;
  }
  .hero > div:first-child {
    max-width: 100%;
  }
  .hero h2 {
    font-size: 23px;
  }
  .hero p {
    max-width: 95%;
  }
  .hero-art {
    position: absolute;
    right: -40px;
    bottom: 0;
    opacity: 0.2;
  }
  .hero-meta {
    font-size: 10px;
  }
  .hero .light {
    position: relative;
    z-index: 2;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
  }
  .stat strong {
    font-size: 29px;
  }
  .panel {
    padding: 19px;
  }
  .section-head {
    flex-wrap: wrap;
    gap: 13px;
  }
  .section-head h3 small {
    display: none;
  }
  .stage-line {
    gap: 10px;
  }
  .stage-line strong {
    font-size: 11px;
  }
  .stage-line .badge {
    font-size: 9px;
  }
  .resource-grid,
  .journey,
  .idp-grid {
    grid-template-columns: 1fr;
  }
  .search {
    gap: 10px;
  }
  .search input {
    width: 200px;
  }
  .admin-actions {
    grid-template-columns: 1fr;
  }
  .page-footer {
    display: block;
    line-height: 2;
  }
  .page-footer span {
    display: block;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: auto;
    padding: 25px;
  }
  .login-story > div:nth-child(2) {
    padding-top: 40px;
  }
  .login-story h1 {
    font-size: 27px;
    line-height: 1.6;
  }
  .login-story > small {
    display: none;
  }
  .story-stats {
    margin: 25px 0 0;
    gap: 30px;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-form h2 {
    font-size: 23px;
  }
  .story-stats strong {
    font-size: 25px;
  }
  .audit p span {
    display: block;
    margin-bottom: 7px;
  }
}
.learning-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
  padding: 18px 22px;
  background: #edf2e9;
  border: 1px solid #e1e8dc;
  border-radius: 7px;
}
.learning-summary div {
  min-width: 220px;
}
.learning-summary strong {
  font-size: 12px;
  color: var(--green);
}
.learning-summary small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.learning-summary progress {
  flex: 1;
  height: 7px;
  accent-color: var(--green);
  max-width: 100%;
}
@media (max-width: 760px) {
  .learning-summary {
    flex-wrap: wrap;
    gap: 15px;
  }
  .learning-summary div {
    width: 100%;
  }
  .learning-summary progress {
    width: 75%;
  }
}
.library-intro {
  background: #e8eee4;
  border: 1px solid #dfe7d8;
  border-radius: 9px;
  padding: 26px 29px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.library-intro h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.library-intro p:last-child {
  font-size: 12px;
  line-height: 1.8;
  color: #73836f;
  max-width: 590px;
  margin: 0;
}
.library-counts {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}
.library-counts span {
  font-size: 10px;
  color: #74856f;
}
.library-counts strong {
  display: block;
  font-size: 30px;
  font-weight: 450;
  color: #2d5743;
  margin-bottom: 10px;
}
.resource-toolbar {
  flex-wrap: wrap;
}
.resource-tools {
  display: flex;
  gap: 15px;
  align-items: center;
}
.type-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.type-filter select {
  padding: 9px;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.category-tabs button {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 16px;
  font-size: 12px;
  background: #fff;
  color: #6f8075;
}
.category-tabs button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.library-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
}
.library-caption small {
  font-size: 10px;
}
.resource-cover .sample-label {
  position: absolute;
  right: 15px;
  top: 18px;
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid #a3b39c77;
  padding: 4px 7px;
  border-radius: 3px;
}
.resource-cover strong {
  font-size: 64px;
  top: 45px;
}
.resource-info p {
  min-height: 48px;
}
.resource-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.resource-card-footer > span {
  font-size: 9px;
  color: #94a28f;
}
.course-reader {
  width: min(1010px, 95vw);
  padding: 30px 34px;
}
.course-reader > .section-head {
  margin: 0;
}
.course-reader h2 {
  max-width: 850px;
  font-size: 24px;
}
.lesson-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 20px;
  flex-wrap: wrap;
}
.lesson-notice {
  background: #f2f5ed;
  border-radius: 5px;
  padding: 13px 16px;
  line-height: 1.8;
  font-size: 11px;
  color: #7b876b;
  margin-bottom: 25px;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 30px;
}
.lesson-toc {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.lesson-toc strong {
  display: block;
  font-size: 12px;
  margin-bottom: 15px;
  color: var(--green);
}
.lesson-toc button {
  display: block;
  text-align: left;
  font-size: 11px;
  line-height: 1.7;
  color: #7f8c7c;
  margin-bottom: 12px;
  width: 100%;
  padding: 0;
}
.lesson-toc button:hover {
  color: var(--green);
}
.lesson-article {
  min-width: 0;
}
.lesson-article > h3 {
  font-size: 17px;
  color: #284e3a;
  line-height: 1.7;
  margin: 30px 0 14px;
  padding-top: 4px;
  scroll-margin-top: 20px;
}
.lesson-article > h3:first-child {
  margin-top: 0;
}
.lesson-article > p {
  font-size: 13px;
  line-height: 2.15;
  margin-bottom: 18px;
  color: #506051;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lesson-article .lesson-bullet {
  position: relative;
  padding-left: 17px;
  margin-bottom: 6px;
}
.lesson-bullet:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8ca17c;
}
.selfcheck {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 28px 0;
  background: #fbfcf9;
}
.selfcheck h3 {
  margin-bottom: 12px;
}
.selfcheck > .muted {
  font-size: 11px;
}
.selfcheck fieldset {
  border: 0;
  padding: 15px 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.selfcheck legend {
  font-size: 13px;
  line-height: 1.9;
  font-weight: 550;
}
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  padding: 11px;
  margin-bottom: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}
.quiz-option input {
  width: auto;
  margin: 4px 0 0;
  accent-color: var(--green);
}
.quiz-option:has(input:checked) {
  background: #edf5e8;
  border-color: #9db88a;
}
.quiz-feedback {
  font-size: 12px;
  padding: 14px;
  border-radius: 4px;
  line-height: 1.9;
  margin-top: 10px;
  white-space: pre-wrap;
}
.quiz-feedback.correct {
  background: #e9f1e4;
  color: #46603a;
}
.quiz-feedback.retry {
  background: #fff1dd;
  color: #8a6c35;
}
#quiz-summary {
  font-size: 12px;
  color: var(--green);
  margin: 15px 0 0;
}
.worksheet-panel {
  background: #f2f4ed;
  border: 1px solid #e5e9dc;
  border-radius: 6px;
  padding: 23px;
  margin: 28px 0;
}
.worksheet-panel h3 {
  margin-bottom: 13px;
}
.worksheet-panel p {
  font-size: 12px;
  color: #7d8870;
  line-height: 1.8;
}
.worksheet-panel pre {
  font:
    12px/2.3 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  white-space: pre-wrap;
  color: #687959;
  background: #fff;
  padding: 18px;
  border-radius: 5px;
  margin: 15px 0;
}
.lesson-references {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  padding-top: 15px;
}
.lesson-references h3 {
  font-size: 14px;
  margin: 12px 0;
}
.lesson-references ul {
  padding-left: 18px;
}
.lesson-references li {
  margin-bottom: 9px;
}
.lesson-references a {
  overflow-wrap: anywhere;
}
.lesson-finish {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.lesson-finish > span {
  font-size: 12px;
  color: var(--muted);
}
.lesson-finish small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
}
@media (max-width: 1150px) {
  .library-intro {
    display: block;
  }
  .library-counts {
    margin-top: 22px;
  }
  .resource-tools {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .library-intro {
    padding: 22px;
  }
  .library-intro h2 {
    font-size: 20px;
  }
  .library-counts {
    justify-content: space-between;
    gap: 20px;
  }
  .library-counts strong {
    font-size: 26px;
  }
  .resource-toolbar .search {
    width: 100%;
  }
  .resource-toolbar .search input {
    flex: 1;
    min-width: 0;
  }
  .resource-tools {
    width: 100%;
    justify-content: space-between;
  }
  .category-tabs {
    gap: 7px;
  }
  .category-tabs button {
    padding: 8px 11px;
    font-size: 11px;
  }
  .library-caption {
    display: block;
    line-height: 1.9;
  }
  .library-caption small {
    display: block;
    margin-top: 5px;
  }
  .course-reader {
    padding: 22px 19px;
  }
  .course-reader h2 {
    font-size: 20px;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-toc {
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .lesson-toc strong {
    width: 100%;
    margin-bottom: 5px;
  }
  .lesson-toc button {
    width: auto;
    background: #f2f5ec;
    font-size: 10px;
    margin: 0;
    padding: 5px 8px;
    border-radius: 3px;
  }
  .selfcheck,
  .worksheet-panel {
    padding: 18px;
  }
  .lesson-article > p {
    font-size: 13px;
    line-height: 2.1;
  }
  .lesson-meta {
    gap: 8px;
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .course-reader .section-head {
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .course-reader .section-head h2 {
    flex: 1;
    min-width: 0;
  }
  .course-reader .close {
    flex-shrink: 0;
  }
}
