.st-root { color: var(--ink, #24302c); }
.st-root * { box-sizing: border-box; }
.st-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; }
.st-eyebrow { color: var(--accent, #39705b); font-size: 11px; font-weight: 750; letter-spacing: .14em; margin: 0 0 8px; }
.st-heading h1 { margin: 0 0 9px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.st-description { margin: 0; color: var(--muted, #6f7872); font-size: 14px; line-height: 1.8; max-width: 720px; }
.st-source-note { margin: 14px 0 0; border-left: 2px solid var(--line, #dfe4dc); padding: 1px 0 1px 12px; font-size: 12px; color: var(--muted, #6f7872); line-height: 1.75; }
.st-quick-start { white-space: nowrap; }
.st-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.st-stat { background: var(--paper, #fff); border: 1px solid var(--line, #dfe4dc); border-radius: 12px; padding: 16px 18px; }
.st-stat strong { display: block; font-size: 25px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; }
.st-stat span { display: block; color: var(--muted, #6f7872); font-size: 12px; margin-top: 5px; }
.st-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 24px; align-items: start; }
.st-catalog { background: var(--paper, #fff); border: 1px solid var(--line, #dfe4dc); border-radius: 14px; overflow: hidden; }
.st-catalog-head { padding: 18px 16px 14px; border-bottom: 1px solid var(--line, #dfe4dc); }
.st-catalog-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.st-catalog-title h2 { font-size: 14px; margin: 0; }
.st-count { color: var(--muted, #6f7872); font-size: 12px; }
.st-search { width: 100%; font-size: 13px; padding: 10px 11px; border-radius: 8px; }
.st-filters { display: flex; gap: 6px; margin-top: 11px; }
.st-filter { flex: 1; padding: 7px 5px; font-size: 12px; border-color: transparent; background: transparent; color: var(--muted, #6f7872); border-radius: 7px; }
.st-filter[aria-pressed="true"] { background: var(--soft, #edf2eb); color: var(--accent, #39705b); font-weight: 650; }
.st-list { max-height: 790px; overflow-y: auto; padding: 6px; }
.st-lesson { width: 100%; display: block; text-align: left; border: 1px solid transparent; background: transparent; padding: 12px 10px; border-radius: 9px; margin: 2px 0; color: var(--ink, #24302c); }
.st-lesson:hover { background: var(--soft, #edf2eb); }
.st-lesson[aria-current="true"] { background: var(--soft, #edf2eb); border-color: var(--line, #dfe4dc); box-shadow: inset 3px 0 0 var(--accent, #39705b); }
.st-lesson-top { display: flex; justify-content: space-between; gap: 8px; color: var(--muted, #6f7872); font-size: 11px; }
.st-lesson-title { display: block; font-size: 13px; font-weight: 650; line-height: 1.65; margin-top: 5px; }
.st-lesson-tags { display: block; color: var(--muted, #6f7872); font-size: 11px; line-height: 1.6; margin-top: 5px; }
.st-due { color: var(--danger, #a44b39); font-weight: 650; }
.st-detail { min-width: 0; }
.st-case-head { margin: 0 0 18px; }
.st-kicker { color: var(--accent, #39705b); font-size: 12px; font-weight: 650; margin: 0 0 7px; }
.st-case-head h2 { font-size: clamp(21px, 2.1vw, 27px); margin: 0 0 12px; letter-spacing: -.025em; line-height: 1.5; }
.st-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.st-badge { display: inline-block; border: 1px solid var(--line, #dfe4dc); border-radius: 5px; color: var(--muted, #6f7872); padding: 3px 7px; font-size: 11px; line-height: 1.6; background: var(--paper, #fff); }
.st-badge-warn { color: #896623; background: #faf5e8; border-color: #e9dfbf; }
.st-panel { background: var(--paper, #fff); border: 1px solid var(--line, #dfe4dc); border-radius: 13px; padding: 19px 20px; margin-bottom: 16px; }
.st-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.st-panel h3 { margin: 0; font-size: 15px; line-height: 1.6; }
.st-step { font-size: 11px; color: var(--muted, #6f7872); margin-right: 8px; font-weight: 500; }
.st-help { color: var(--muted, #6f7872); font-size: 12px; line-height: 1.8; margin: 8px 0 13px; }
.st-source { font-size: 12px; color: var(--muted, #6f7872); line-height: 1.8; overflow-wrap: anywhere; }
.st-source strong { color: var(--ink, #24302c); font-weight: 550; }
.st-images { display: grid; gap: 14px; }
.st-page { margin: 0; border: 1px solid var(--line, #dfe4dc); border-radius: 9px; overflow: hidden; background: white; }
.st-page img { display: block; width: 100%; height: auto; background: white; }
.st-page figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 9px 11px; border-top: 1px solid var(--line, #dfe4dc); background: var(--paper, #fff); font-size: 11px; color: var(--muted, #6f7872); }
.st-page a { color: var(--accent, #39705b); text-decoration: none; }
.st-page a:hover { text-decoration: underline; }
.st-image-failed { padding: 25px 15px; color: var(--danger, #a44b39); font-size: 12px; }
.st-timer { display: flex; align-items: center; gap: 9px; }
.st-clock { font-size: 15px; font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; color: var(--accent, #39705b); min-width: 49px; }
.st-timer button { font-size: 12px; padding: 6px 9px; }
.st-form-label { display: block; font-size: 12px; font-weight: 650; margin: 14px 0 7px; }
.st-answer-input, .st-notes-input { display: block; width: 100%; resize: vertical; padding: 12px; font-size: 14px; line-height: 1.9; border-radius: 8px; }
.st-answer-input { min-height: 210px; }
.st-notes-input { min-height: 110px; }
.st-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.st-save-status { font-size: 11px; color: var(--muted, #6f7872); line-height: 1.7; }
.st-save-status[data-error="true"] { color: var(--danger, #a44b39); }
.st-save-btn { font-size: 12px; padding: 8px 12px; }
.st-answer-toggle { font-size: 12px; padding: 8px 12px; }
.st-hidden-note { margin: 0; padding: 15px 12px; border-radius: 8px; background: var(--soft, #edf2eb); color: var(--muted, #6f7872); font-size: 13px; line-height: 1.9; }
.st-reference-warning { border-left: 2px solid #c9ae67; padding-left: 11px; }
.st-ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 13px 0 10px; }
.st-rating { padding: 12px 6px; text-align: center; border-radius: 9px; font-size: 13px; background: var(--paper, #fff); }
.st-rating span { display: block; font-size: 10px; color: var(--muted, #6f7872); margin-top: 4px; }
.st-rating:first-child { color: var(--danger, #a44b39); }
.st-rating:last-child { color: var(--accent, #39705b); border-color: var(--accent, #39705b); }
.st-review-meta { border-top: 1px solid var(--line, #dfe4dc); padding-top: 11px; font-size: 12px; line-height: 1.9; color: var(--muted, #6f7872); }
.st-review-meta strong { color: var(--ink, #24302c); font-weight: 600; }
.st-empty { padding: 25px 15px; color: var(--muted, #6f7872); font-size: 13px; line-height: 1.8; }
.st-error { color: var(--danger, #a44b39); }
.st-loading { padding: 40px 20px; color: var(--muted, #6f7872); }
.st-saved-local { color: #896623; }
.st-question-pages > summary { cursor: pointer; font-size: 12px; color: var(--accent, #39705b); padding: 2px 0 12px; }
.st-tutorials { margin-bottom: 26px; }
.st-tutorials-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.st-tutorials-heading h2 { font-size: 17px; margin: 0 0 5px; letter-spacing: -.02em; }
.st-tutorials-heading p { color: var(--muted, #6f7872); font-size: 12px; line-height: 1.8; margin: 0; }
.st-tutorials-heading > .st-badge { flex-shrink: 0; }
.st-tutorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.st-tutorial { background: var(--paper, #fff); border: 1px solid var(--line, #dfe4dc); border-radius: 11px; overflow: hidden; }
.st-tutorial > summary { padding: 15px; cursor: pointer; list-style-position: inside; color: var(--accent, #39705b); }
.st-tutorial-title { font-size: 14px; font-weight: 650; color: var(--ink, #24302c); }
.st-tutorial-subtitle { display: block; font-size: 12px; color: var(--muted, #6f7872); margin-top: 7px; line-height: 1.7; }
.st-tutorial-time { display: block; font-size: 11px; margin-top: 9px; }
.st-tutorial[open] { grid-column: 1 / -1; }
.st-tutorial[open] > summary { border-bottom: 1px solid var(--line, #dfe4dc); }
.st-tutorial[open] .st-tutorial-time { display: none; }
.st-tutorial-body { padding: 4px 18px 18px; }
.st-tutorial-block { margin: 16px 0; }
.st-tutorial-block h3, .st-checks h3 { font-size: 14px; margin: 0 0 8px; }
.st-tutorial-block p, .st-check > p, .st-check details > p { font-size: 13px; line-height: 1.95; margin: 7px 0; }
.st-tutorial-block pre { margin: 10px 0 0; padding: 13px; background: var(--soft, #edf2eb); border-radius: 7px; font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, "Microsoft YaHei", monospace; }
.st-checks { border-top: 1px solid var(--line, #dfe4dc); padding-top: 16px; }
.st-check { padding: 5px 0 12px; }
.st-check details { padding-left: 10px; border-left: 2px solid var(--line, #dfe4dc); margin-top: 8px; }
.st-check summary { font-size: 12px; cursor: pointer; color: var(--accent, #39705b); }
.st-tutorial-sources { display: grid; gap: 5px; padding-top: 13px; border-top: 1px solid var(--line, #dfe4dc); font-size: 11px; color: var(--muted, #6f7872); line-height: 1.7; }
.st-tutorial-sources strong { color: var(--ink, #24302c); }
.st-tutorial-sources a { color: var(--accent, #39705b); text-decoration: none; }
.st-tutorial-sources a:hover { text-decoration: underline; }
@media (min-width: 1250px) { .st-catalog { position: sticky; top: 24px; } }
@media (max-width: 850px) {
  .st-layout { grid-template-columns: 1fr; gap: 18px; }
  .st-list { max-height: 260px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
  .st-heading { gap: 12px; }
  .st-quick-start { font-size: 12px; padding: 9px 11px; }
  .st-stat { padding: 12px; }
}
@media (max-width: 500px) {
  .st-heading { display: block; }
  .st-quick-start { margin-top: 14px; }
  .st-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
  .st-stat strong { font-size: 22px; }
  .st-list { grid-template-columns: 1fr; max-height: 240px; }
  .st-panel { padding: 16px 13px; }
  .st-panel-head { align-items: flex-start; }
  .st-ratings { gap: 5px; }
  .st-rating { font-size: 12px; }
  .st-badge { font-size: 10px; }
  .st-tutorial-grid { grid-template-columns: 1fr; gap: 8px; }
  .st-tutorials-heading { display: block; }
  .st-tutorials-heading > .st-badge { margin-top: 8px; }
}
