/* YunZhong Basic Red 700主题适配#D2393E、800悬停#A61E27、100浅底#FFECE8；Logo原色不变。此为项目主题映射，保留--blue旧变量名兼容原型。 */
:root {
  --blue: #d2393e;
  --blue-dark: #a61e27;
  --blue-soft: #ffece8;
  --ink: #1d2129;
  --secondary: #4e5969;
  --muted: #7d8592;
  --line: #e5e6eb;
  --paper: #fff;
  --canvas: #f6f7fa;
  --green: #16795c;
  --green-soft: #edf8f3;
  --orange: #986115;
  --orange-soft: #fff6e8;
  --red: #be4141;
  --shadow: 0 16px 60px #202b4d18;
  --radius: 12px;
  --motion: 180ms cubic-bezier(0.2, 0.65, 0.3, 1);
  font-family: Roboto, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #e9ecf2;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #d2393e66;
  outline-offset: 3px;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
h3 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}
p {
  line-height: 1.8;
}
small {
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-bar {
  min-height: 48px;
  padding: 8px 22px;
  background: #edf0f7;
  border-bottom: 1px solid #d9deea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #526078;
  font-size: 12px;
}
.review-title,
.review-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-title strong {
  color: #34415a;
  font-weight: 600;
}
.draft-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.review-tools select {
  border: 1px solid #d6dce8;
  border-radius: 6px;
  background: transparent;
  padding: 5px 26px 5px 9px;
  font-size: 12px;
  color: inherit;
}
.device-switch {
  display: flex;
  gap: 2px;
  background: #dfe4ee;
  padding: 2px;
  border-radius: 6px;
}
.device-switch button {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #65718a;
}
.device-switch .selected {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 3px #23334712;
}
.preview-host {
  position: relative;
  width: 100%;
  height: calc(100dvh - 49px);
  container-type: inline-size;
  background: var(--canvas);
  margin: auto;
  overflow: hidden;
  transition: width var(--motion), height var(--motion), margin var(--motion);
}
.preview-host.phone {
  width: 390px;
  max-width: 100%;
  height: min(810px, calc(100dvh - 80px));
  margin: 15px auto;
  border-radius: 20px;
  box-shadow: 0 14px 55px #28375426;
  border: 1px solid #d2d9e6;
}
.app {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}
.topbar {
  height: 72px;
  min-height: 72px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 42px;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  gap: 10px;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 650;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 4px;
}
.brand-desc {
  font-weight: 400;
  font-size: 14px;
  color: var(--secondary);
}
.global-nav {
  height: 100%;
  display: flex;
  gap: 30px;
}
.global-item {
  font-size: 14px;
  color: var(--secondary);
  position: relative;
  padding: 0 2px;
}
.global-item.active {
  color: var(--blue);
  font-weight: 600;
}
.global-item.active:after {
  position: absolute;
  content: "";
  height: 3px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
}
.top-right {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}
.identity {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ede7dc;
  color: #76654e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar.blue {
  background: #e7edfc;
  color: var(--blue);
}
.avatar.green {
  background: #e6f0eb;
  color: #4e7464;
}
.avatar.small {
  width: 28px;
  height: 28px;
  font-size: 11px;
}
.chevron {
  font-size: 16px;
  color: #9ba1ab;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--secondary);
}
.icon-button:hover {
  background: var(--canvas);
}
.layout {
  display: flex;
  min-height: 0;
  flex: 1;
}
.sidebar {
  width: 216px;
  min-width: 216px;
  border-right: 1px solid var(--line);
  padding: 28px 16px 20px;
  background: white;
  display: flex;
  flex-direction: column;
}
.workspace-label {
  color: var(--muted);
  font-size: 12px;
  padding: 0 16px;
  margin-bottom: 15px;
}
.nav-section {
  font-size: 11px;
  color: #949ba8;
  padding: 24px 16px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  color: var(--secondary);
  margin: 3px 0;
  font-size: 14px;
}
.nav-item:hover {
  background: var(--canvas);
}
.nav-item.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  border-radius: 4px;
  background: #e3e8fc;
  padding: 1px 6px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 20px 10px 0;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--secondary);
}
.sidebar-bottom small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  padding-top: 5px;
}
.tiny-icon svg {
  width: 16px;
  height: 16px;
}
main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 28px 38px 56px;
  scroll-behavior: smooth;
}
.page {
  max-width: 1260px;
  margin: 0 auto;
  animation: page-in 180ms ease-out;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb button {
  font-size: 12px;
  padding: 0;
  color: var(--muted);
}
.breadcrumb .current {
  color: var(--secondary);
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-head p {
  color: var(--secondary);
  margin-top: 8px;
  font-size: 14px;
}
.head-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.head-actions {
  padding-top: 3px;
}
.btn {
  height: 40px;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: white;
  line-height: 22px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--motion), border-color var(--motion),
    box-shadow var(--motion);
}
.btn:hover {
  border-color: #a6b1e8;
  background: #f9faff;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.btn.primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn.soft {
  background: var(--blue-soft);
  border-color: transparent;
  color: var(--blue);
}
.btn.quiet {
  border-color: transparent;
  background: transparent;
  color: var(--secondary);
}
.btn.danger {
  color: var(--red);
}
.btn.small {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}
.btn.large {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.text-button {
  padding: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}
.text-button.muted {
  color: var(--secondary);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-pad {
  padding: 26px;
}
.muted {
  color: var(--muted);
}
.secondary {
  color: var(--secondary);
}
.subtext {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  background: #f0f2f6;
  color: var(--secondary);
  line-height: 1.4;
}
.badge.blue {
  color: var(--blue);
  background: var(--blue-soft);
}
.badge.green {
  color: var(--green);
  background: var(--green-soft);
}
.badge.orange {
  color: var(--orange);
  background: var(--orange-soft);
}
.badge.dot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: currentColor;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.split-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
}
.team-card {
  padding: 28px;
}
.team-main {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 26px;
}
.team-emblem {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: #e9edf9;
  border: 1px solid #e0e5f4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.team-emblem svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.3;
}
.team-name {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.team-description {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.8;
}
.team-footer {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack .avatar {
  border: 2px solid white;
  margin-right: -7px;
}
.avatar-stack .avatar:last-child {
  margin-right: 10px;
}
.team-summary {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--secondary);
  font-size: 12px;
}
.team-summary strong {
  font-size: 15px;
  color: var(--ink);
  margin-right: 4px;
}
.team-links {
  display: flex;
  gap: 17px;
  align-items: center;
}
.home-queue {
  margin-top: 32px;
}
.queue {
  padding: 0 24px;
}
.queue-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.queue-row:last-child {
  border-bottom: 0;
}
.queue-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.queue-icon.warm {
  background: #f5efe6;
  color: #937d58;
}
.queue-info {
  min-width: 0;
  flex: 1;
}
.queue-info strong {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.queue-info p {
  font-size: 12px;
  color: var(--muted);
}
.queue-row .text-button {
  margin-left: auto;
}
.team-sidebar .panel {
  margin-bottom: 20px;
}
.team-mini-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f1f5;
  font-size: 13px;
}
.team-mini-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.team-mini-stat b {
  font-weight: 600;
  font-size: 17px;
}
.quiet-note {
  padding: 20px 6px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.9;
}
.quiet-note svg {
  color: #9ba5bb;
  width: 17px;
  height: 17px;
  vertical-align: -4px;
  margin-right: 5px;
}
.tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow-x: auto;
  white-space: nowrap;
}
.tab {
  padding: 0 0 14px;
  color: var(--secondary);
  font-size: 14px;
  position: relative;
}
.tab.active {
  color: var(--blue);
  font-weight: 600;
}
.tab.active:after {
  content: "";
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blue);
}
.tab em {
  font-style: normal;
  font-size: 11px;
  margin-left: 7px;
  color: var(--muted);
  font-weight: 400;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 12px;
  border-radius: 8px;
  min-width: 240px;
  max-width: 340px;
  height: 40px;
  color: var(--muted);
}
.search svg {
  width: 17px;
  height: 17px;
}
.search input {
  border: 0;
  background: none;
  outline: none;
  min-width: 0;
  width: 100%;
  font-size: 13px;
}
.count-label {
  font-size: 12px;
  color: var(--muted);
}
.course-table-head,
.course-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 100px 110px 110px 95px;
  gap: 18px;
  align-items: center;
}
.course-table-head {
  font-size: 12px;
  color: var(--muted);
  padding: 15px 24px;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
}
.course-row {
  padding: 23px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--secondary);
}
.course-row:last-child {
  border-bottom: 0;
}
.course-name-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.course-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}
.course-row .subtext {
  margin-top: 5px;
  font-size: 11px;
}
.cover {
  width: 62px;
  height: 76px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ede8dd;
  color: #6f624b;
}
.cover:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 7px,
    currentColor 7.5px,
    transparent 8px
  );
  opacity: 0.13;
  transform: rotate(18deg) scale(1.5);
}
.cover span {
  font-family: "Songti SC", SimSun, serif;
  font-size: 22px;
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  position: relative;
}
.cover.green {
  background: #e5ede6;
  color: #536a56;
}
.cover.ink {
  background: #e4e8f0;
  color: #5b6986;
}
.cover.rose {
  background: #f2e7e3;
  color: #996e63;
}
.cover.large {
  width: 100%;
  height: 160px;
  border-radius: 12px 12px 0 0;
  justify-content: flex-start;
  padding: 28px;
}
.cover.large span {
  writing-mode: horizontal-tb;
  font-size: 28px;
  letter-spacing: 6px;
}
.cover.large:before {
  inset: -50%;
  transform: rotate(55deg);
  opacity: 0.1;
}
.cover.large:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid currentColor;
  border-radius: 50%;
  right: -25px;
  top: -90px;
  opacity: 0.22;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.learning-card {
  overflow: hidden;
}
.learning-info {
  padding: 22px;
}
.learning-info h3 {
  margin-bottom: 7px;
}
.learning-info .btn {
  margin-top: 22px;
}
.progress-line {
  height: 4px;
  background: #edf0f7;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0 8px;
}
.progress-line span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
}
.progress-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.editor-head {
  margin-bottom: 20px;
}
.title-line {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.save-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.save-meta svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.editor-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.catalog {
  padding: 22px 16px;
}
.catalog-head {
  padding: 0 6px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.catalog-head h3 {
  font-size: 14px;
}
.chapter {
  border-top: 1px solid #f0f1f5;
  padding-top: 17px;
  margin-top: 13px;
}
.chapter:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 8px;
}
.chapter-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 6px 10px;
}
.chapter-title svg {
  width: 14px;
  height: 14px;
}
.lesson-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 12px 12px 12px 24px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 7px;
  color: var(--secondary);
  margin: 2px 0;
}
.lesson-link svg {
  width: 15px;
  height: 15px;
  color: #9aa2b0;
}
.lesson-link.active {
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 500;
}
.lesson-link.active svg {
  color: var(--blue);
}
.lesson-link .lesson-kind {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.catalog-footer {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 17px 6px 0;
}
.catalog-footer button {
  font-size: 12px;
  color: var(--blue);
  display: flex;
  gap: 7px;
  align-items: center;
}
.catalog-footer svg {
  width: 14px;
  height: 14px;
}
.editor-panel {
  overflow: hidden;
}
.editor-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.editor-form {
  padding: 26px 32px;
}
.field {
  display: block;
  margin-bottom: 22px;
}
.field-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.input,
.textarea {
  width: 100%;
  border: 1px solid #dfe2e9;
  border-radius: 8px;
  padding: 11px 13px;
  line-height: 1.6;
  color: var(--ink);
  background: white;
  transition: border-color var(--motion);
}
.input {
  height: 43px;
}
.input:focus,
.textarea:focus {
  border-color: var(--blue);
}
.textarea {
  resize: vertical;
  min-height: 120px;
}
.lesson-title-input {
  font-size: 20px;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 4px 0 19px;
  width: 100%;
  outline: none;
}
.text-editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 18px 0;
}
.text-editor-bar span:first-child {
  color: var(--secondary);
}
.lesson-body-input {
  border: 0;
  outline: none;
  width: 100%;
  resize: vertical;
  font-size: 15px;
  line-height: 2.1;
  min-height: 300px;
  color: #394250;
  padding: 0;
  background: white;
  font-family: inherit;
}
.editor-panel-footer {
  padding: 17px 28px;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.info-notice {
  display: flex;
  gap: 9px;
  color: #55617e;
  background: #f0f4fd;
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 12px;
  line-height: 1.75;
}
.info-notice svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}
.info-notice.warm {
  color: #826a46;
  background: #faf5ed;
}
.below-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  gap: 7px;
}
.below-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}
.record-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: center;
}
.record-row:last-child {
  border: 0;
}
.record-row .actions {
  margin-left: auto;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  align-items: start;
}
.review-content {
  overflow: hidden;
}
.review-version {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.reading-body {
  padding: 32px 38px;
}
.reading-body h2 {
  font-size: 23px;
  margin-bottom: 10px;
}
.reading-body h3 {
  margin-top: 28px;
  margin-bottom: 13px;
}
.reading-body p {
  font-size: 14px;
  line-height: 2;
  color: #414b5b;
  margin: 14px 0;
}
.reading-body .lead {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.reading-body .article-body {
  white-space: pre-wrap;
  line-height: 2;
  font-size: 15px;
  max-width: 72ch;
  color: #414b5b;
}
.flow-rail {
  display: flex;
  margin: 0 0 24px;
  padding: 22px 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 15px;
}
.flow-step {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 0;
}
.flow-step:not(:last-child):after {
  content: "";
  width: 22px;
  height: 1px;
  background: #d9dfec;
  margin-left: auto;
}
.flow-num {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.flow-step.active .flow-num {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.flow-step.done .flow-num {
  background: var(--green-soft);
  color: var(--green);
  border-color: #d4eadf;
}
.flow-name {
  font-size: 12px;
  color: var(--secondary);
  white-space: nowrap;
}
.flow-name small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.review-side h3 {
  margin-bottom: 18px;
}
.person-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 12px;
}
.person-line .subtext {
  margin-left: auto;
  font-size: 11px;
}
.review-side .textarea {
  min-height: 128px;
  margin-top: 12px;
  font-size: 12px;
}
.review-side .actions {
  margin-top: 16px;
}
.review-side .actions .btn {
  flex: 1;
  padding: 0 10px;
  font-size: 12px;
}
.side-divider {
  border-top: 1px solid var(--line);
  margin: 22px 0 18px;
}
.history-item {
  border-left: 1px solid var(--line);
  margin: 0 0 0 4px;
  padding: 0 0 20px 16px;
  position: relative;
  font-size: 12px;
}
.history-item:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9c2d6;
  position: absolute;
  left: -4px;
  top: 5px;
}
.history-item:last-child {
  padding-bottom: 0;
}
.history-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.review-inbox-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.review-inbox-row:last-child {
  border: 0;
}
.review-inbox-row .actions {
  margin-left: auto;
}
.review-inbox-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.study-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.study-reading {
  padding: 36px 42px;
}
.study-reading h1 {
  font-size: 27px;
}
.author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0 28px;
}
.study-reading .article-body {
  white-space: pre-wrap;
  line-height: 2.1;
  font-size: 16px;
  color: #3e4858;
  max-width: 70ch;
}
.study-exercise {
  border-left: 3px solid #c2cbed;
  background: #f8faff;
  padding: 18px 22px;
  margin: 28px 0;
}
.study-exercise h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.study-exercise p {
  font-size: 13px;
  color: var(--secondary);
}
.study-footer {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.completion {
  font-size: 12px;
  color: var(--muted);
}
.completion.done {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 7px;
}
.notes-inline {
  margin-top: 22px;
  padding: 26px 30px;
}
.note-write {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.note-write .avatar {
  margin-top: 3px;
}
.note-compose {
  flex: 1;
  min-width: 0;
}
.note-compose .textarea {
  min-height: 105px;
  font-size: 13px;
}
.note-compose .actions {
  justify-content: space-between;
  margin-top: 12px;
}
.note-list {
  margin-top: 24px;
}
.note-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.note-item-body {
  line-height: 1.9;
  font-size: 14px;
  white-space: pre-wrap;
  color: #414b5b;
  margin: 13px 0;
}
.note-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.note-meta .text-button {
  margin-left: auto;
  font-size: 12px;
}
.notes-columns {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.note-folder {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 7px;
  line-height: 1.65;
  color: var(--secondary);
  font-size: 12px;
  margin: 4px 0;
}
.note-folder.active {
  color: var(--blue);
  background: var(--blue-soft);
}
.note-folder span {
  float: right;
  color: var(--muted);
}
.empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.empty svg {
  width: 38px;
  height: 38px;
  color: #aeb8ce;
  margin-bottom: 15px;
}
.empty h3 {
  color: var(--secondary);
  font-size: 15px;
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
}
.private-label {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.private-label svg {
  width: 13px;
  height: 13px;
}
.mobile-nav {
  display: none;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #18233755;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fade-in var(--motion);
}
.dialog {
  width: 600px;
  max-width: 100%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: dialog-in var(--motion);
}
.dialog.wide {
  width: 760px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-body {
  padding: 25px 26px;
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fcfdff;
  border-radius: 0 0 14px 14px;
}
.dialog-description {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.dialog-error {
  padding: 10px 13px;
  border-radius: 6px;
  background: #fff2f1;
  color: var(--red);
  font-size: 12px;
  margin-bottom: 14px;
}
.person-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.person-option .person-text {
  flex: 1;
  font-size: 13px;
}
.person-option .person-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 0;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}
.checkbox-label input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
.checkbox-label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.check-group {
  margin: 18px 0;
}
.check-group .checkbox-label {
  border-bottom: 1px solid #f2f3f6;
}
.stage-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 17px 0;
  padding: 18px;
}
.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.stage-head strong {
  font-size: 13px;
}
.stage-card .input {
  font-size: 13px;
}
.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
}
.segmented label {
  flex: 1;
  padding: 11px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.segmented label + label {
  border-left: 1px solid var(--line);
}
.segmented input {
  accent-color: var(--blue);
  margin: 0;
}
.stage-people {
  display: flex;
  gap: 20px;
  font-size: 12px;
  flex-wrap: wrap;
}
.stage-people label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.stage-people input {
  accent-color: var(--blue);
}
.invite-link {
  display: flex;
  gap: 10px;
  background: var(--canvas);
  padding: 14px;
  border-radius: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--secondary);
  overflow-wrap: anywhere;
}
.invite-link span {
  flex: 1;
}
.identity-option {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 12px;
  width: 100%;
  text-align: left;
}
.identity-option:hover {
  border-color: var(--blue);
  background: #f8faff;
}
.identity-option strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.identity-option small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.toast {
  position: absolute;
  z-index: 90;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 20px;
  background: #202b43;
  color: white;
  box-shadow: 0 8px 25px #17203525;
  border-radius: 9px;
  font-size: 13px;
  max-width: 85%;
  text-align: center;
  transition: opacity var(--motion), transform var(--motion);
  line-height: 1.6;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.login-layout {
  min-height: calc(100cqh - 90px);
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 30px;
}
.login-intro {
  padding: 30px 20px;
}
.login-intro h1 {
  font-size: 36px;
  line-height: 1.6;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.login-intro p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 2;
}
.login-art {
  height: 210px;
  width: 100%;
  margin-top: 46px;
  position: relative;
  overflow: hidden;
  background: #eceff8;
  border-radius: 100px 12px 12px 12px;
}
.login-art:before {
  content: "";
  position: absolute;
  width: 170%;
  height: 180%;
  left: -15%;
  top: -20%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 23px,
    #9ba9d4 24px,
    transparent 25px
  );
  transform: rotate(25deg);
  opacity: 0.45;
}
.login-art:after {
  content: "";
  width: 240px;
  height: 240px;
  border: 1px solid #b5bfdb;
  border-radius: 50%;
  position: absolute;
  right: -20px;
  bottom: -130px;
}
.login-box {
  padding: 36px;
  box-shadow: 0 8px 40px #202c4906;
}
.login-box h2 {
  font-size: 25px;
  margin-bottom: 9px;
}
.login-box .tabs {
  margin-top: 30px;
}
.login-box .field {
  margin-bottom: 18px;
}
.password-field {
  position: relative;
}
.password-field .input {
  padding-right: 45px;
}
.password-field button {
  position: absolute;
  right: 7px;
  top: 4px;
}
.login-box .btn.primary {
  width: 100%;
  margin: 12px 0 18px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.9;
}
.consent input {
  margin-top: 4px;
  accent-color: var(--blue);
}
.consent a {
  color: var(--blue);
}
.login-foot {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}
.inline-mobile-catalog {
  display: none;
}
.pending-confirm {
  padding: 4px 0 10px;
}
.pending-confirm h3 {
  margin: 12px 0;
}
.pending-confirm p {
  font-size: 13px;
  color: var(--secondary);
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@container (max-width:1150px) {
  main {
    padding: 25px;
  }
  .sidebar {
    width: 192px;
    min-width: 192px;
  }
  .topbar {
    padding: 0 25px;
    gap: 30px;
  }
  .split-home {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 18px;
  }
  .course-table-head,
  .course-row {
    grid-template-columns: minmax(220px, 1fr) 85px 80px 85px;
    gap: 12px;
  }
  .table-update {
    display: none;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 18px;
  }
  .editor-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .study-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .reading-body {
    padding: 28px;
  }
  .team-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .login-layout {
    gap: 35px;
    padding: 15px;
  }
  .login-intro h1 {
    font-size: 30px;
  }
}
@container (max-width:900px) {
  .sidebar {
    width: 175px;
    min-width: 175px;
    padding: 25px 10px;
  }
  .nav-item {
    padding: 12px;
    gap: 9px;
    font-size: 13px;
  }
  .workspace-label {
    padding-left: 12px;
  }
  main {
    padding: 22px;
  }
  .split-home {
    grid-template-columns: 1fr;
  }
  .team-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .team-sidebar .quiet-note {
    display: none;
  }
  .course-table-head,
  .course-row {
    grid-template-columns: minmax(240px, 1fr) 95px 80px;
  }
  .table-editor {
    display: none;
  }
  .head-actions .btn {
    font-size: 12px;
    padding: 0 12px;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .review-side .panel {
    margin: 0;
  }
  .flow-name {
    font-size: 11px;
  }
  .flow-name small {
    font-size: 10px;
  }
  .flow-rail {
    padding: 18px;
  }
  .study-layout {
    grid-template-columns: 1fr;
  }
  .study-catalog {
    display: none;
  }
  .inline-mobile-catalog {
    display: inline-flex;
  }
  .study-reading {
    padding: 30px;
  }
  .notes-columns {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .editor-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .editor-form {
    padding: 23px;
  }
  .editor-panel-head {
    padding: 18px 23px;
  }
  .editor-panel-footer {
    padding: 15px 23px;
  }
  .title-line h1 {
    font-size: 24px;
  }
}
@container (max-width:700px) {
  .topbar {
    height: 61px;
    min-height: 61px;
    padding: 0 18px;
    gap: 12px;
  }
  .brand {
    gap: 8px;
    font-size: 20px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand-divider,
  .brand-desc,
  .global-nav,
  .help-button,
  .identity-name,
  .chevron {
    display: none;
  }
  .top-right {
    gap: 0;
  }
  .identity .avatar {
    width: 31px;
    height: 31px;
  }
  .sidebar {
    display: none;
  }
  main {
    padding: 22px 18px 30px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .breadcrumb button {
    font-size: 11px;
  }
  .page-head {
    margin-bottom: 24px;
    gap: 15px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 25px;
  }
  .page-head p {
    font-size: 12px;
    line-height: 1.9;
    margin-top: 9px;
  }
  .head-actions {
    width: 100%;
    padding: 0;
  }
  .head-actions .btn {
    flex: 1;
    font-size: 13px;
  }
  .head-actions .btn.quiet {
    flex: 0;
  }
  .head-actions .hide-mobile {
    display: none;
  }
  .mobile-nav {
    display: flex;
    min-height: 65px;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    z-index: 6;
  }
  .mobile-nav button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #8b93a2;
    line-height: 1.4;
  }
  .mobile-nav button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.6;
  }
  .mobile-nav button.active {
    color: var(--blue);
    font-weight: 500;
  }
  .team-card {
    padding: 23px 20px;
  }
  .team-main {
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 22px;
  }
  .team-emblem {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .team-emblem svg {
    width: 28px;
    height: 28px;
  }
  .team-name {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 4px;
  }
  .team-description {
    font-size: 11px;
    line-height: 1.8;
  }
  .team-footer {
    padding-top: 20px;
  }
  .team-summary {
    gap: 18px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .team-summary strong {
    font-size: 14px;
  }
  .team-links {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
  }
  .team-links .btn {
    margin-left: auto;
    height: 36px;
    font-size: 12px;
    padding: 0 13px;
  }
  .team-links .text-button {
    font-size: 12px;
  }
  .avatar-stack .avatar {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  .home-queue {
    margin-top: 28px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .section-head {
    margin-bottom: 15px;
  }
  .section-head .text-button {
    font-size: 12px;
  }
  .queue {
    padding: 0 18px;
  }
  .queue-row {
    gap: 11px;
    padding: 18px 0;
  }
  .queue-icon {
    width: 33px;
    height: 33px;
  }
  .queue-icon svg {
    width: 17px;
    height: 17px;
  }
  .queue-info strong {
    font-size: 12px;
    line-height: 1.8;
  }
  .queue-info p {
    font-size: 10px;
    line-height: 1.8;
  }
  .queue-row .text-button {
    font-size: 11px;
  }
  .team-sidebar {
    display: block;
  }
  .team-sidebar .panel {
    margin-top: 4px;
    padding: 21px;
  }
  .team-sidebar .secondary-panel {
    display: none;
  }
  .team-sidebar h3 {
    font-size: 15px;
  }
  .team-mini-stat {
    font-size: 12px;
  }
  .split-home {
    gap: 24px;
  }
  .tabs {
    gap: 24px;
    margin-bottom: 19px;
  }
  .tab {
    font-size: 13px;
    padding-bottom: 12px;
  }
  .toolbar {
    align-items: flex-start;
  }
  .search {
    min-width: 0;
    width: 100%;
    max-width: none;
    height: 39px;
  }
  .toolbar .count-label {
    white-space: nowrap;
    padding-top: 12px;
    font-size: 11px;
  }
  .course-table-head {
    display: none;
  }
  .course-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 17px;
  }
  .course-name-wrap {
    flex: 1;
    min-width: calc(100% - 100px);
    gap: 13px;
  }
  .course-row > .table-status {
    margin-left: 75px;
    margin-top: -4px;
  }
  .course-row > .table-action {
    margin-left: auto;
    margin-top: -8px;
  }
  .course-row .course-name {
    font-size: 13px;
  }
  .course-row .subtext {
    font-size: 10px;
  }
  .cover {
    width: 56px;
    height: 68px;
  }
  .cover span {
    font-size: 19px;
  }
  .table-editor,
  .table-update {
    display: none;
  }
  .course-row .btn.small {
    height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cover.large {
    height: 150px;
  }
  .learning-info {
    padding: 22px;
  }
  .title-line h1 {
    font-size: 23px;
    line-height: 1.6;
  }
  .save-meta {
    font-size: 10px;
    line-height: 1.7;
    align-items: flex-start;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-catalog {
    padding: 18px 14px;
  }
  .editor-catalog .chapter:not(:nth-of-type(2)),
  .editor-catalog .catalog-footer {
    display: none;
  }
  .editor-catalog .chapter {
    border: 0;
    padding-top: 0;
    margin-top: 0;
  }
  .editor-catalog .catalog-head {
    padding-bottom: 13px;
  }
  .lesson-link {
    font-size: 12px;
    padding: 10px 12px;
    min-height: 40px;
  }
  .editor-catalog .lesson-link:not(.active) {
    display: none;
  }
  .chapter-title {
    font-size: 11px;
  }
  .editor-form {
    padding: 22px 20px;
  }
  .editor-panel-head {
    padding: 17px 20px;
  }
  .editor-panel-head h3 {
    font-size: 14px;
  }
  .editor-panel-head .btn {
    height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }
  .lesson-title-input {
    font-size: 17px;
    line-height: 1.7;
    padding-bottom: 15px;
  }
  .lesson-body-input {
    font-size: 14px;
    min-height: 360px;
    line-height: 2;
  }
  .text-editor-bar {
    font-size: 10px;
  }
  .editor-panel-footer {
    padding: 15px 18px;
    font-size: 10px;
    align-items: flex-start;
  }
  .editor-panel-footer span {
    max-width: 65%;
    line-height: 1.8;
  }
  .editor-panel-footer .btn {
    height: 32px;
    font-size: 11px;
  }
  .below-note {
    font-size: 11px;
  }
  .panel-pad {
    padding: 21px;
  }
  .flow-rail {
    padding: 17px 12px;
    gap: 8px;
    overflow: auto;
    margin-bottom: 18px;
  }
  .flow-num {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .flow-step {
    gap: 6px;
    min-width: 95px;
  }
  .flow-name {
    font-size: 10px;
  }
  .flow-name small {
    font-size: 9px;
  }
  .flow-step:not(:last-child):after {
    display: none;
  }
  .review-version {
    padding: 16px 19px;
    font-size: 11px;
    align-items: flex-start;
    gap: 9px;
  }
  .review-version .badge {
    font-size: 10px;
  }
  .reading-body {
    padding: 25px 21px;
  }
  .reading-body h2 {
    font-size: 20px;
  }
  .reading-body .article-body {
    font-size: 14px;
    line-height: 2;
  }
  .review-side {
    display: block;
  }
  .review-side .panel {
    margin-bottom: 18px;
  }
  .review-side .actions .btn {
    font-size: 13px;
  }
  .review-inbox-row {
    padding: 20px 18px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .review-inbox-row .course-name-wrap {
    min-width: 100%;
  }
  .review-inbox-row .actions {
    width: 100%;
    padding-left: 69px;
  }
  .study-reading {
    padding: 25px 21px;
  }
  .study-reading h1 {
    font-size: 23px;
    line-height: 1.65;
  }
  .study-reading .article-body {
    font-size: 15px;
    line-height: 2.1;
  }
  .author-line {
    font-size: 11px;
    gap: 7px;
    margin: 15px 0 23px;
  }
  .study-exercise {
    padding: 16px;
    margin: 25px 0;
  }
  .study-exercise p {
    font-size: 12px;
  }
  .study-footer {
    flex-wrap: wrap;
    margin-top: 24px;
    gap: 15px;
  }
  .study-footer > .actions {
    width: 100%;
  }
  .study-footer .btn {
    flex: 1;
    font-size: 12px;
  }
  .notes-inline {
    padding: 22px 20px;
  }
  .notes-inline .section-head {
    align-items: flex-start;
  }
  .notes-inline h3 {
    font-size: 15px;
  }
  .notes-inline .private-label {
    font-size: 10px;
  }
  .note-write {
    gap: 10px;
  }
  .note-write > .avatar {
    display: none;
  }
  .note-compose .textarea {
    font-size: 12px;
  }
  .note-compose .actions .subtext {
    font-size: 10px;
  }
  .note-item-body {
    font-size: 13px;
  }
  .note-meta {
    font-size: 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .notes-columns {
    display: block;
  }
  .note-folders {
    padding: 10px;
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
    overflow: auto;
  }
  .note-folder {
    white-space: nowrap;
    margin: 0;
    font-size: 11px;
    width: auto;
    padding: 9px 11px;
  }
  .note-folder span {
    float: none;
    margin-left: 8px;
  }
  .notes-columns .note-folders h3 {
    display: none;
  }
  .dialog {
    width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: 91%;
    box-shadow: 0 -8px 40px #19253c17;
    animation: sheet-in var(--motion);
  }
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
    backdrop-filter: none;
  }
  .dialog-head {
    padding: 20px 21px 16px;
    position: relative;
  }
  .dialog-head:before {
    content: "";
    position: absolute;
    width: 34px;
    height: 4px;
    background: #d8dde8;
    border-radius: 6px;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
  }
  .dialog-head h2 {
    font-size: 17px;
  }
  .dialog-head .icon-button {
    height: 30px;
    width: 30px;
  }
  .dialog-body {
    padding: 21px;
    max-height: calc(100dvh - 230px);
  }
  .dialog-footer {
    padding: 16px 21px max(20px, env(safe-area-inset-bottom));
    border-radius: 0;
  }
  .dialog-footer .btn {
    flex: 1;
  }
  .dialog-description {
    font-size: 12px;
  }
  .checkbox-label {
    font-size: 12px;
  }
  .stage-card {
    padding: 15px;
  }
  .stage-people {
    gap: 15px;
  }
  .invite-link {
    flex-wrap: wrap;
  }
  .toast {
    bottom: 83px;
    font-size: 12px;
    padding: 11px 15px;
  }
  .login-layout {
    display: block;
    min-height: auto;
    padding: 8px 0 30px;
  }
  .login-intro {
    padding: 15px 8px 27px;
  }
  .login-intro h1 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.6;
  }
  .login-intro p {
    font-size: 12px;
  }
  .login-art {
    display: none;
  }
  .login-box {
    padding: 25px 23px;
    box-shadow: none;
  }
  .login-box h2 {
    font-size: 23px;
  }
  .login-box .tabs {
    margin-top: 25px;
  }
  .login-box .field-title {
    font-size: 12px;
  }
  .login-box .consent {
    font-size: 10px;
  }
  .record-row {
    flex-wrap: wrap;
  }
  .record-row .actions {
    width: 100%;
    margin: 0;
  }
  .empty {
    padding: 45px 15px;
  }
  .completion {
    font-size: 11px;
  }
  .info-notice {
    font-size: 11px;
  }
  .page-head .inline-mobile-catalog {
    width: 100%;
    margin-top: 0;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 650px) {
  .review-bar {
    padding: 8px 12px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .review-title {
    gap: 8px;
    font-size: 11px;
  }
  .review-title > span:last-child {
    font-size: 10px;
  }
  .review-tools {
    width: 100%;
    justify-content: space-between;
  }
  .preview-host {
    height: calc(100dvh - 83px);
  }
  .preview-host.phone {
    height: calc(100dvh - 83px);
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .review-tools select {
    max-width: 190px;
  }
  .device-switch button {
    padding: 4px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.app[data-page="login"] .sidebar,
.app[data-page="login"] .global-nav,
.app[data-page="login"] .mobile-nav,
.app[data-page="login"] .identity,
.app[data-page="login"] .help-button {
  display: none;
}
@container (max-width:700px) {
  .login-intro {
    display: none;
  }
  .login-layout {
    padding-top: 10px;
  }
  .login-box {
    padding: 29px 24px;
  }
  .app[data-page="login"] main {
    padding-top: 24px;
  }
}

/* 门户、个人中心、工作台分层；尺寸为项目适配。 */
.topbar{gap:22px}.global-nav{gap:18px;flex-shrink:0}.global-item{white-space:nowrap}.portal-search{margin-left:auto;border:1px solid #E5E6EB;background:#F7F8FA;color:#86909C;border-radius:8px;padding:10px 14px;font:inherit;white-space:nowrap}.top-right{gap:12px;margin-left:0}.workbench-shortcut{border:0;background:#ffece8;color:#d2393e;padding:10px 16px;border-radius:8px;font:inherit;font-weight:600;white-space:nowrap}.app[data-space="portal"] .sidebar{display:none}.app[data-space="portal"] .layout{display:block}.app[data-space="portal"] .page{max-width:1280px;margin:auto}.personal-banner{display:flex;align-items:center;gap:24px;padding:20px 0 38px;border-bottom:1px solid #E5E6EB;margin-bottom:32px}.personal-banner>.avatar{width:72px;height:72px;font-size:28px}.personal-banner h1{font-size:28px;margin-bottom:10px}.personal-banner p{color:#4E5969}.personal-banner>.btn{margin-left:auto}.personal-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px}.personal-learning{display:flex;padding:28px;gap:28px;align-items:center}.personal-learning h2{font-size:21px;margin:12px 0}.personal-learning p{color:#4E5969;margin:12px 0}.learning-track{height:4px;background:#F2F3F5;border-radius:4px;margin-top:18px}.learning-track span{display:block;width:33%;height:100%;background:#d2393e}.personal-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.personal-entry-grid button{background:white;border:1px solid #E5E6EB;border-radius:12px;padding:24px;text-align:left;color:#1D2129;font:inherit}.personal-entry-grid svg{width:24px;height:24px;stroke:#d2393e;fill:none;stroke-width:1.6}.personal-entry-grid strong{display:block;margin:14px 0}.personal-entry-grid span{font-size:12px;color:#86909C}.teaching-entry h2{font-size:20px;margin:20px 0 14px}.teaching-entry p{color:#4E5969;line-height:1.9;margin-bottom:24px}.teaching-entry .btn{width:100%;margin-bottom:16px}.portal-intro{position:relative;min-height:410px;padding:48px 24px 48px 0;overflow:hidden;margin-bottom:36px;border-bottom:1px solid #E5E6EB}.portal-intro h1{font-size:48px;line-height:1.4;margin:20px 0}.portal-intro p{color:#4E5969;margin-bottom:28px}.portal-art{position:absolute;right:10%;top:20px;font-family:serif;font-size:230px;color:#d2393e;opacity:.14}.portal-art span{font-size:16px;display:block;text-align:center;letter-spacing:8px}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.portal-card{text-align:left;padding:32px;font:inherit;color:#1D2129}.portal-card>svg{width:32px;height:32px;stroke:#d2393e;fill:none;stroke-width:1.5}.portal-card h2{font-size:21px;margin:24px 0 14px}.portal-card p{color:#4E5969;line-height:1.9;margin-bottom:22px}#workspace-tabs{display:none}
@container(max-width:1150px){.portal-search span{display:none}.global-nav{gap:12px}.topbar{gap:14px}.brand-desc,.brand-divider{display:none}.personal-columns{grid-template-columns:minmax(0,1fr) 250px}.personal-entry-grid{grid-template-columns:repeat(2,1fr)}}
@container(max-width:900px){.personal-columns{grid-template-columns:1fr}.portal-art{right:0;font-size:190px}.portal-intro h1{font-size:38px}}
@container(max-width:700px){.global-nav{display:none}.topbar{gap:8px}.top-right{margin-left:auto;gap:6px}.workbench-shortcut{padding:8px 12px;font-size:13px}.top-right .help-button{display:none}.portal-search{margin-left:0;border:0;background:none;padding:4px}.app[data-space="workspace"] .layout{display:flex;flex-direction:column}.app[data-space="workspace"] #workspace-tabs{display:flex;padding:10px 16px;background:white;border-bottom:1px solid #E5E6EB;gap:8px}.app[data-space="workspace"] #workspace-tabs .nav-item{padding:10px 12px;width:auto;flex:1;justify-content:center;font-size:13px;margin:0}.app[data-space="workspace"] #workspace-tabs svg{display:none}.personal-banner{gap:14px;padding:8px 0 24px;flex-wrap:wrap}.personal-banner h1{font-size:21px}.personal-banner p{font-size:12px}.personal-banner>.avatar{width:48px;height:48px;font-size:20px}.personal-banner>.btn{margin-left:62px;height:36px}.personal-learning{gap:16px;align-items:flex-start;padding:18px}.personal-learning .cover{width:82px;height:112px;min-width:82px}.personal-learning h2{font-size:17px;line-height:1.6}.personal-columns{gap:24px}.personal-entry-grid{gap:12px}.personal-entry-grid button{padding:18px}.portal-intro{padding:20px 0 32px;min-height:340px}.portal-intro h1{font-size:32px;position:relative;z-index:1}.portal-intro p{max-width:240px;line-height:1.9}.portal-art{font-size:150px;top:70px;right:-30px;opacity:.07}.portal-grid{grid-template-columns:1fr;gap:16px}.portal-card{padding:24px}.portal-card h2{margin-top:14px}.mobile-nav button{font-size:11px}}

.personal-columns>section,.personal-columns>aside{min-width:0}.personal-learning .cover.large{width:150px;min-width:150px;max-width:150px;height:180px;flex:0 0 150px}.personal-learning>div:last-child{min-width:0}.personal-learning{margin-bottom:30px}@container(max-width:700px){.personal-learning .cover.large{width:82px;min-width:82px;max-width:82px;height:112px;flex-basis:82px}}

.app[data-space="personal"] .layout{display:flex}.app[data-space="personal"] .page{max-width:1280px;margin:auto}

/* 主内容在剩余视口内滚动，避免 block 布局把内容裁出预览容器。 */
.app[data-space="portal"] .layout{display:flex;min-height:0}.layout{overflow:hidden}main{min-height:0;overscroll-behavior:contain}.sidebar{overflow-y:auto}.app[data-space="personal"] .sidebar{display:flex}
@container(max-width:700px){.app[data-space="personal"] .sidebar{display:none}.app[data-space="personal"] .layout{flex-direction:column}.app[data-space="personal"] #workspace-tabs{display:flex;flex-shrink:0;overflow-x:auto;gap:8px;padding:10px 16px;background:white;border-bottom:1px solid #E5E6EB}.app[data-space="personal"] #workspace-tabs .nav-item{width:auto;white-space:nowrap;padding:10px 12px;margin:0;flex-shrink:0}.app[data-space="personal"] #workspace-tabs svg{display:none}}

.home-learning-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #E5E6EB;border-radius:12px;background:white;padding:20px 24px}.home-learning-strip p{margin-top:8px;color:#4E5969;font-size:13px}.public-section{margin:46px 0}.public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.public-card{padding:0;overflow:hidden;text-align:left;color:#1D2129;font:inherit;display:flex;flex-direction:column}.public-card:focus-visible{outline:2px solid #d2393e;outline-offset:3px}.public-cover{height:160px;flex-shrink:0;position:relative;background:#EEF0F9;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#d2393e}.public-cover>span{font-family:serif;font-size:70px}.public-cover:after{content:'';position:absolute;width:180px;height:180px;border:1px solid currentColor;opacity:.12;border-radius:50%;right:-25px;top:35px}.public-cover small{position:absolute;bottom:15px;left:20px;font-size:12px}.type-文章{background:#F1F4F2;color:#536A61}.type-人物{background:#F4F0EB;color:#806A54}.type-专题{background:#EAEEF4;color:#52637B}.public-card-body{padding:22px;flex:1}.public-card h3{font-size:20px;line-height:1.6;margin:10px 0}.public-card-body>p{font-size:14px;line-height:1.9;color:#4E5969;min-height:54px}.public-meta{display:flex;justify-content:space-between;gap:8px;color:#86909C;font-size:12px;margin-top:20px}.public-access{border-top:1px solid #E5E6EB;padding-top:14px;margin-top:16px;font-size:12px;color:#d2393e}.channel-heading{padding:22px 0 28px}.channel-heading h1{font-size:36px;margin:18px 0 12px}.channel-heading p{color:#4E5969}.channel-search{display:flex;gap:12px;max-width:720px;margin-bottom:26px}.channel-search input{flex:1;min-width:0}.public-filters{padding:22px 24px;margin-bottom:26px}.filter-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}.filter-line strong{font-size:13px;margin-right:16px}.filter-chip{padding:8px 16px;border-radius:8px;color:#4E5969}.filter-chip.active{color:#d2393e;background:#ffece8}.public-filters summary{cursor:pointer;font-size:14px}.nested-category{margin:16px 0 0 20px;color:#4E5969}.nested-category button{margin-top:14px}.public-pagination{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:32px}.empty-public{text-align:center;padding:60px 24px}.empty-public p{margin:20px;color:#4E5969}.prototype-footnote{font-size:12px;color:#86909C;line-height:1.8;margin:32px 0}.detail-intro{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;margin:32px 0}.detail-intro .public-cover{height:260px;border-radius:12px}.detail-intro h1{font-size:32px;line-height:1.5;margin:16px 0}.detail-intro p{line-height:1.9;color:#4E5969;margin-bottom:22px}.detail-actions{display:flex;gap:12px;margin-top:24px}.reading-article{max-width:850px;margin:auto;padding:48px 64px;font-size:17px;line-height:2.2}.reading-article h2{margin:32px 0 20px}.reading-article p{margin-bottom:24px}.sample-syllabus{padding:16px 24px;line-height:3}.sample-syllabus span{font-size:12px;color:#86909C;margin-left:16px}
@container(max-width:900px){.public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-intro{grid-template-columns:200px minmax(0,1fr);gap:24px}}
@container(max-width:700px){.home-learning-strip{display:block;padding:18px}.home-learning-strip .btn{margin-top:16px}.public-section{margin:32px 0}.public-grid{grid-template-columns:1fr;gap:18px}.public-cover{height:150px}.public-card-body{padding:20px}.channel-heading h1{font-size:28px}.channel-heading p{line-height:1.9}.public-filters{padding:16px}.filter-line{gap:6px}.filter-chip{padding:8px 12px}.detail-intro{grid-template-columns:1fr}.detail-intro .public-cover{height:180px}.detail-intro h1{font-size:25px}.reading-article{padding:26px 22px;font-size:16px}.detail-actions{flex-wrap:wrap}}

@container(max-width:700px){.brand>span{font-size:16px;white-space:nowrap}.topbar{padding-left:14px;padding-right:14px;gap:6px}.brand{gap:7px}}

/* 文化门户视觉：真实材质、横幅摄影与舒展节奏，品牌动作保留允中蓝。 */
.app[data-space="portal"]{background:#FBFCFE}.app[data-space="portal"] main{padding:32px 48px 72px}.app[data-space="portal"] .page{max-width:1360px}.home-learning-strip{border:0;background:transparent;padding:0 0 24px}.home-learning-strip strong{font-weight:500}.home-learning-strip p{font-size:12px}.home-learning-strip .btn{background:white}.portal-intro{isolation:isolate;border:0;border-radius:12px;min-height:480px;padding:68px 64px;margin:0 0 72px;background:#E6EDF4}.hero-photograph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.portal-intro:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(239,245,250,.96),rgba(239,245,250,.82) 34%,rgba(239,245,250,0) 68%);z-index:-1}.portal-intro h1{font-size:52px;line-height:1.45;letter-spacing:1px;color:#1D304D;font-weight:600;margin:18px 0 20px}.portal-intro p{color:#35475D;max-width:430px;line-height:1.9}.portal-intro .badge{background:transparent;padding:0;color:#d2393e;font-size:13px}.public-section{margin:64px 0}.public-section>.section-head{margin-bottom:28px;align-items:flex-end}.public-section>.section-head h2{font-size:28px;font-weight:600;letter-spacing:.5px}.public-grid{gap:30px}.public-card{border:1px solid #E5E6EB;border-radius:10px;box-shadow:none;background:#fff;transition:border-color 180ms ease}.public-card:hover{border-color:#B0BAE9}.public-cover{height:210px}.editorial-image{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.public-cover:after{display:none}.public-cover small{z-index:1;left:16px;bottom:14px;background:rgba(255,255,255,.94);color:#1D304D;padding:5px 10px;border-radius:4px}.public-card-body{padding:24px}.public-card h3{font-size:21px;font-weight:600;margin:12px 0}.public-card-body>p{line-height:1.9}.public-card.type-人物{border:0}.channel-heading{padding:24px 0 30px}.channel-heading h1{font-size:40px;font-weight:600;letter-spacing:1px}.channel-heading p{line-height:1.9}.public-filters{box-shadow:none}.detail-intro .public-cover{height:280px}.prototype-footnote{border-top:1px solid #E5E6EB;padding-top:24px}.app[data-space="portal"] .page{animation:none}
@container(max-width:1100px){.portal-intro{padding:56px 40px;min-height:440px}.portal-intro h1{font-size:44px}.public-cover{height:180px}.app[data-space="portal"] main{padding:28px 32px 64px}}
@container(max-width:700px){.app[data-space="portal"] main{padding:22px 18px 48px}.home-learning-strip{padding-bottom:20px}.home-learning-strip .btn{margin-top:12px}.portal-intro{padding:32px 24px;min-height:445px;margin-bottom:40px}.portal-intro h1{font-size:32px;letter-spacing:0;line-height:1.5}.portal-intro p{max-width:240px;font-size:14px}.hero-photograph{object-position:66% center}.portal-intro:after{background:linear-gradient(90deg,rgba(239,245,250,.97),rgba(239,245,250,.84) 60%,rgba(239,245,250,.30))}.portal-intro .btn{padding:0 16px;height:42px;min-height:42px;font-size:14px}.public-section{margin:40px 0}.public-section>.section-head h2{font-size:24px}.public-section>.section-head{gap:12px;margin-bottom:20px}.public-grid{gap:22px}.public-cover{height:200px}.public-card-body{padding:22px}.channel-heading h1{font-size:30px}.detail-intro .public-cover{height:210px}}
@media(prefers-reduced-motion:reduce){.public-card{transition:none}}

.modal-open main,.modal-open .sidebar{overflow:hidden!important}.public-card .public-card-body>.subtext,.public-meta,.prototype-footnote{color:#667085}.public-card:disabled{opacity:.6}

/* 首页沉浸式首屏：背景通栏，内容沿同一内侧网格对齐。 */
.app[data-page="home"] main{padding:0}.app[data-page="home"] .page{max-width:none;width:100%}.app[data-page="home"] .portal-intro{border-radius:0;margin:0;min-height:560px;height:calc(100dvh - 121px);max-height:900px;padding:clamp(72px,9vh,120px) max(64px,calc((100% - 1248px)/2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.app[data-page="home"] .portal-intro h1{font-size:clamp(44px,4.2vw,68px);font-weight:500;line-height:1.4;margin:24px 0}.app[data-page="home"] .portal-intro p{font-size:17px;margin-bottom:32px;max-width:480px}.app[data-page="home"] .portal-intro:after{background:linear-gradient(90deg,rgba(239,245,250,.95) 0%,rgba(239,245,250,.76) 29%,rgba(239,245,250,.12) 60%,transparent 100%)}.app[data-page="home"] .hero-photograph{object-position:center}.app[data-page="home"] .portal-intro>.btn{display:inline-flex;flex-shrink:0}.app[data-page="home"] .portal-intro>.btn+.btn{margin-top:12px;background:rgba(255,255,255,.88)}.app[data-page="home"] .public-section,.app[data-page="home"] .home-learning-strip,.app[data-page="home"] .prototype-footnote{width:calc(100% - 128px);max-width:1248px;margin-left:auto;margin-right:auto}.app[data-page="home"] .home-learning-strip{padding:28px 0;border-bottom:1px solid #E5E6EB}.app[data-page="home"] .public-section{margin-top:72px;margin-bottom:72px}.app[data-page="home"] .prototype-footnote{padding-bottom:40px}
@container(max-width:900px){.app[data-page="home"] .portal-intro{padding:60px 40px;min-height:540px}.app[data-page="home"] .public-section,.app[data-page="home"] .home-learning-strip,.app[data-page="home"] .prototype-footnote{width:calc(100% - 80px)}}
@container(max-width:700px){.app[data-page="home"] .portal-intro{padding:48px 26px;min-height:580px;height:calc(100dvh - 185px);max-height:850px;justify-content:flex-start}.app[data-page="home"] .portal-intro h1{font-size:36px;line-height:1.5;margin:26px 0 22px}.app[data-page="home"] .portal-intro p{font-size:15px;max-width:285px}.app[data-page="home"] .hero-photograph{object-position:68% center}.app[data-page="home"] .portal-intro:after{background:linear-gradient(180deg,rgba(239,245,250,.92),rgba(239,245,250,.80) 38%,rgba(239,245,250,.10) 78%)}.app[data-page="home"] .public-section,.app[data-page="home"] .home-learning-strip,.app[data-page="home"] .prototype-footnote{width:calc(100% - 40px)}.app[data-page="home"] .public-section{margin-top:40px;margin-bottom:40px}.app[data-page="home"] .home-learning-strip{padding:24px 0}}

.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-actions .btn{margin:0}.public-cover:has(.portrait-image){height:280px;background:#E8EDF3}.portrait-image{object-position:center 24%}.detail-intro .public-cover:has(.portrait-image){height:320px}@container(max-width:700px){.public-cover:has(.portrait-image){height:300px}.hero-actions{gap:12px}.hero-actions .btn{height:44px;min-height:44px}}

.cover .course-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cover:has(.course-image):after{display:none}

.channel-search input{min-height:48px;border:1px solid #D8DDE7;border-radius:8px;background:white;padding:0 16px;font:inherit;color:#1D2129}.channel-search input:focus{outline:2px solid #B7C1FA;outline-offset:2px;border-color:#d2393e}.section-head select{min-height:36px;padding:0 30px 0 12px;border:1px solid #E5E6EB;border-radius:8px;background:white;font:inherit;color:#4E5969}.portrait-image{object-position:center 8%}

/* 导航玻璃层：高可读性半透明材质；非支持环境保持实色可用。 */
.topbar{background:rgba(255,255,255,.80);border-bottom:1px solid rgba(210,220,236,.7);box-shadow:0 4px 24px rgba(38,58,94,.04);position:relative;z-index:20;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%)}
.app[data-page="home"] .topbar{position:absolute;top:0;left:0;width:100%;background:rgba(249,252,255,.60)}.app[data-page="home"] main{padding-top:0}.app[data-page="home"] .portal-intro{height:calc(100dvh - 49px);padding-top:120px}.sidebar{background:rgba(255,255,255,.74);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);border-right:1px solid rgba(212,222,237,.7)}.mobile-nav{background:rgba(255,255,255,.82);backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);border-top:1px solid rgba(212,222,237,.8)}.nav-item.active{background:rgba(255, 236, 232,.74)}.portal-search{background:rgba(255,255,255,.55);border-color:rgba(210,220,236,.8)}.workbench-shortcut{background:rgba(227,233,255,.80)}.dialog{background:rgba(255,255,255,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.channel-heading h1{margin-top:0}.app[data-page="home"] .portal-intro h1{margin-top:0}
@container(max-width:700px){.app[data-page="home"] .portal-intro{height:calc(100dvh - 120px);padding-top:110px}.app[data-space="workspace"] #workspace-tabs,.app[data-space="personal"] #workspace-tabs{background:rgba(255,255,255,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}}
@supports not (backdrop-filter:blur(1px)){.topbar,.sidebar,.mobile-nav{background:rgba(255,255,255,.97)}}

@font-face{font-family:'YunZhong Interface';src:url('assets/fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'YunZhong Interface';src:url('assets/fonts/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');font-weight:500 900;font-style:normal;font-display:swap}

body,button,input,select,textarea{font-family:'YunZhong Interface','Microsoft YaHei',sans-serif}.brand>span{font-family:'YunZhong Calligraphy','KaiTi',serif;font-weight:400;font-synthesis:none;font-size:32px;letter-spacing:1px;white-space:nowrap}.app[data-page="home"] .portal-intro h1{font-family:'YunZhong Calligraphy','KaiTi',serif;font-weight:400;font-synthesis:none;font-size:clamp(58px,5.4vw,88px);line-height:1.35;letter-spacing:1px}.app[data-page="home"] .portal-intro p{font-family:'YunZhong Interface','Microsoft YaHei',sans-serif}.brand{flex-shrink:0}
@container(max-width:1100px){.brand>span{font-size:28px}}
@container(max-width:700px){.brand>span{font-size:23px;letter-spacing:0}.app[data-page="home"] .portal-intro h1{font-size:45px;line-height:1.4;letter-spacing:0}.topbar{gap:6px}.topbar .brand{gap:5px}.topbar .portal-search{font-family:'YunZhong Interface',sans-serif}}

.font-notice{font-size:11px;color:#4E5969;text-decoration:underline;text-underline-offset:3px;margin-left:12px}@container(max-width:700px){.font-notice{margin-left:0}}

@font-face{font-family:'YunZhong Calligraphy';src:url('assets/fonts/ZhiMangXing-Regular.ttf') format('truetype');font-weight:400;font-display:swap}.brand>span{font-family:'YunZhong Calligraphy','KaiTi',serif;font-size:34px;letter-spacing:0}.app[data-page="home"] .portal-intro h1{font-family:'YunZhong Calligraphy','KaiTi',serif;font-size:clamp(58px,5.4vw,84px);line-height:1.4;letter-spacing:2px}@container(max-width:1100px){.brand>span{font-size:30px}}@container(max-width:700px){.brand>span{font-size:24px}.app[data-page="home"] .portal-intro h1{font-size:43px;letter-spacing:0}}

/* 顶部胶囊控件；卡片语义信息沿用现有统一线性 SVG 图标。 */
.topbar .portal-search,.topbar .workbench-shortcut{border-radius:999px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px}.portal-search>svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;flex-shrink:0}.public-cover small{display:inline-flex;align-items:center;gap:6px}.public-card svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.card-category,.public-access,.public-meta>span{display:flex;align-items:center;gap:7px}.public-meta{flex-wrap:wrap;row-gap:10px}.public-meta>span{min-width:0}.public-meta>span>span{overflow-wrap:anywhere}.public-access{font-size:12px}.card-category{font-size:12px}
@container(max-width:700px){.topbar .portal-search{width:32px;height:36px;min-height:36px;padding:6px;border-radius:999px}.topbar .workbench-shortcut{min-height:36px;padding:7px 13px}}

.workbench-shortcut>svg,.chevron>svg{width:17px;height:17px;flex-shrink:0}.text-button:has(>svg),.btn:has(>svg){display:inline-flex;align-items:center;justify-content:center;gap:7px}.text-button>svg,.btn>svg{width:17px;height:17px;flex-shrink:0}

.course-detail-panel{margin-top:40px;overflow:hidden}.course-detail-tabs{display:flex;border-bottom:1px solid #E5E6EB;padding:0 36px;gap:36px}.course-detail-tabs button{display:flex;gap:10px;align-items:center;padding:23px 0;font:inherit;color:#4E5969;border-bottom:3px solid transparent}.course-detail-tabs button[aria-selected="true"]{color:#d2393e;border-bottom-color:#d2393e;font-weight:500}.course-detail-tabs svg,.course-outcomes svg,.course-catalog-list svg{width:22px;height:22px;flex-shrink:0;stroke:#d2393e}.course-detail-content{padding:44px}.course-story-lead{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:44px}.course-story-lead h2,.course-story-section h2,.course-story-columns h2{font-size:26px;line-height:1.6;margin-bottom:20px}.course-story-lead p,.course-outcomes p,.course-story-columns li{line-height:2;color:#4E5969;margin:12px 0}.course-story-lead figure{position:relative;min-height:280px;margin:0;overflow:hidden;border-radius:10px}.course-story-lead figure .editorial-image{height:240px}.course-story-lead figcaption{position:absolute;top:250px;color:#667085;font-size:12px}.course-story-section{margin:54px 0}.course-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.course-outcomes>div{border-top:1px solid #E5E6EB;padding-top:24px}.course-outcomes h3{margin:16px 0 12px;font-size:19px}.course-image-story{position:relative;min-height:340px;overflow:hidden;border-radius:10px;isolation:isolate;display:flex;align-items:center;padding:40px;margin:48px 0}.course-image-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.course-image-story:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(240,246,250,.96),rgba(240,246,250,.6),transparent);z-index:-1}.course-image-story h2{font-size:30px;line-height:1.6;color:#1D304D}.course-image-story p{max-width:390px;line-height:2;margin-top:20px;color:#35475D}.course-story-columns{display:grid;grid-template-columns:1fr 1fr;gap:48px}.course-story-columns ul{padding-left:20px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.catalog-heading p{color:#667085;margin:12px 0 24px}.course-catalog-list{padding:0;list-style:none}.course-catalog-list li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0;border-bottom:1px solid #E5E6EB}.course-catalog-list li>div{display:flex;gap:18px;align-items:center}.course-catalog-list p{margin-top:10px;color:#667085;font-size:14px}.course-catalog-list li>span{color:#667085;font-size:12px}
@container(max-width:700px){.course-detail-tabs{padding:0 22px;gap:30px}.course-detail-tabs button{padding:20px 0;font-size:15px}.course-detail-content{padding:24px 20px}.course-story-lead{grid-template-columns:1fr;gap:20px}.course-story-lead h2,.course-story-section h2,.course-story-columns h2{font-size:22px}.course-outcomes,.course-story-columns{grid-template-columns:1fr;gap:24px}.course-story-section{margin:32px 0}.course-image-story{padding:26px;min-height:340px;margin:32px 0}.course-image-story h2{font-size:25px}.course-image-story p{font-size:14px}.course-story-lead figure{min-height:255px}.course-story-lead figure .editorial-image{height:220px}.course-story-lead figcaption{top:230px}.catalog-heading{align-items:flex-start}.course-catalog-list li{gap:12px}.course-catalog-list li>div{gap:12px}.course-catalog-list strong{font-size:15px}.course-catalog-list p{font-size:12px}}

.app[data-page="discover"] main,.app[data-page="teachers"] main,.app[data-page="content"] main,.app[data-page="search"] main{padding-top:36px}@container(max-width:700px){.app[data-page="discover"] main,.app[data-page="teachers"] main,.app[data-page="content"] main,.app[data-page="search"] main{padding-top:24px}}

/* 门户卡片共用尺寸、铺满图片及146px琉璃层。显式裁切滤镜合成层，避免手机圆角漏图。 */
#identity-avatar{overflow:hidden;padding:0}#identity-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
.public-grid{align-items:start;--card-info-height:146px}
.public-card,.person-card{position:relative;isolation:isolate;background:#E8EDF3;width:100%;height:490px;min-height:0;border:0;border-radius:10px;overflow:hidden;clip-path:inset(0 round 10px);-webkit-clip-path:inset(0 round 10px)}
.public-card:after{content:'';position:absolute;inset:0;border:1px solid rgba(160,175,195,.22);border-radius:inherit;pointer-events:none;z-index:3}
.public-card:hover:after{border-color:#B0BAE9}
.public-card:focus-visible{outline:0}.public-card:focus-visible:after{border:3px solid #d2393e}
.public-card .public-cover{position:absolute;inset:0;height:100%;border-radius:0;overflow:hidden}
.public-card .public-cover .editorial-image{height:100%;width:100%;object-fit:cover}
.person-card .public-cover .portrait-image{object-position:center 20%}
.public-card .public-cover small{top:16px;bottom:auto;z-index:2;background:rgba(255,255,255,.76);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.public-card .public-card-body{position:relative;z-index:1;width:100%;height:var(--card-info-height);flex:0 0 var(--card-info-height);margin-top:auto;background:rgba(250,252,255,.78);backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);border:0;box-shadow:inset 0 1px rgba(255,255,255,.8);padding:16px 22px}
.public-card h3,.public-card-body>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.public-card:not(.person-card) .card-category{position:absolute;top:-38px;left:16px;background:rgba(250,252,255,.82);padding:4px 8px;border-radius:4px}
.public-card:not(.person-card) h3{font-size:19px;line-height:1.45;margin:0 0 7px;-webkit-line-clamp:1}
.public-card:not(.person-card) .public-card-body>p{font-size:13px;line-height:1.8;min-height:0;margin:0;-webkit-line-clamp:1}
.public-card .public-meta{font-size:11px;margin-top:14px;justify-content:flex-start;gap:12px}
.public-card .public-access{font-size:11px;border:0;padding:0;margin:0;white-space:nowrap}
.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px}
.card-footer .public-meta{margin:0;gap:12px}
.person-card h3{margin:6px 0;font-size:24px}
.person-card .public-card-body>p{min-height:0;font-size:13px;margin:0;line-height:1.8}
.person-card .card-category{color:#d2393e}
.person-card .card-footer{display:none}
@container(max-width:700px){.public-card,.person-card{height:480px;min-height:0;width:100%}.public-card .public-card-body{padding:14px 18px}.card-footer{gap:8px;margin-top:10px}.card-footer .public-meta{gap:10px}}
@supports not (backdrop-filter:blur(1px)){.public-card .public-card-body{background:rgba(250,252,255,.96)}}
/* 授权选择与明细共用弹层滚动容器，手机沿用底部卡片。 */
.grant-permissions{border:0;padding:0;margin:24px 0 0;min-width:0}.grant-permissions legend{font-weight:500;font-size:15px;margin-bottom:8px}.grant-placeholder{padding:20px;background:#F4F6FA;border-radius:8px;color:#667085;line-height:1.8}.grant-overview{border-top:1px solid #E5E6EB;margin-top:24px;padding-top:22px}.grant-overview h3{font-size:16px;margin-bottom:16px}.grant-record{padding:14px 0;border-bottom:1px solid #E5E6EB;overflow-wrap:anywhere}.grant-record strong{font-size:14px;line-height:1.7}.grant-record p{font-size:13px;line-height:1.9;color:#4E5969;margin:6px 0}.grant-record small{font-size:12px;color:#667085}
.grant-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 16px}.grant-list-heading h3{font-size:16px}.grant-table-head,.grant-course-row{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.grant-table-head{font-size:12px;color:#667085;padding:12px 0;border-bottom:1px solid #E5E6EB}.grant-course-row{align-items:center;padding:18px 0;border-bottom:1px solid #E5E6EB}.grant-course-title{display:flex;align-items:flex-start;gap:12px;line-height:1.7;min-width:0}.grant-course-title input{margin-top:5px;accent-color:#d2393e;width:17px;height:17px;flex-shrink:0}.grant-course-title small{display:block;font-size:12px;color:#667085;margin-top:4px}.grant-row-controls{display:grid;grid-template-columns:1fr 144px;gap:10px;min-width:0}.grant-row-controls label{min-width:0}.grant-row-controls .input{width:100%;min-width:0;font-size:12px;padding:8px}.grant-row-controls .input:disabled{opacity:.55;background:#F4F6FA}
@container(max-width:700px){.grant-table-head{display:none}.grant-course-row{grid-template-columns:1fr;gap:14px;padding:18px 0}.grant-row-controls{margin-left:29px;grid-template-columns:minmax(0,1fr) 138px;gap:8px}.grant-list-heading{align-items:baseline}.grant-list-heading .subtext{font-size:12px}}
/* 课程先多选添加；权限下拉内保留独立复选，展开占据行内空间以免被弹层裁切。 */
.grant-row-controls{grid-template-columns:minmax(0,1fr) auto;align-items:start}
.grant-permission-menu{min-width:0;border:1px solid #D8DDE7;border-radius:8px;background:white}
.grant-permission-menu summary{cursor:pointer;padding:11px 12px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.grant-permission-menu summary:focus-visible,.grant-course-picker summary:focus-visible{outline:2px solid #d2393e;outline-offset:2px;border-radius:6px}
.grant-permission-options{border-top:1px solid #E5E6EB;padding:8px 12px}.grant-permission-options label,.grant-picker-options label{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:14px;line-height:1.7;cursor:pointer}.grant-permission-options input,.grant-picker-options input{accent-color:#d2393e;flex-shrink:0;width:17px;height:17px}
.grant-course-picker{border:1px solid #D8DDE7;border-radius:8px;padding:12px 16px;margin-bottom:18px;background:#fff}.grant-course-picker>summary{cursor:pointer;color:#d2393e;font-size:14px}.grant-picker-options{padding:10px 0}.grant-row-controls>.text-button{padding:12px 0;font-size:12px;white-space:nowrap}
@container(max-width:700px){.grant-row-controls{margin-left:0;grid-template-columns:minmax(0,1fr) auto;gap:12px}}
.grant-course-picker{position:relative;padding:0;border:0;background:transparent;z-index:5}
.grant-picker-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid #D8DDE7;border-radius:8px;background:white;font:inherit;font-size:14px;color:#d2393e;text-align:left}
.grant-picker-trigger:focus-visible{outline:2px solid #d2393e;outline-offset:2px}
.grant-picker-popover{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:6;padding:12px 16px;background:#fff;border:1px solid #D8DDE7;border-radius:10px;box-shadow:0 10px 28px rgba(29,48,77,.16)}
.grant-picker-popover[hidden]{display:none}.grant-picker-popover .grant-picker-options{max-height:180px;overflow-y:auto;padding:0 0 10px}.grant-picker-popover>.btn{width:100%;background:#d2393e;color:white}
.grant-permission-menu{position:relative}.grant-permission-options{position:absolute;top:calc(100% + 5px);left:0;right:0;min-width:150px;background:white;border:1px solid #D8DDE7;border-radius:8px;box-shadow:0 8px 24px rgba(29,48,77,.14);z-index:4}.grant-course-row:has(.grant-permission-menu[open]){position:relative;z-index:4}.grant-permission-menu summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}.grant-permission-menu summary::-webkit-details-marker{display:none}.grant-permission-menu summary:after{content:'⌄';flex-shrink:0;color:#667085}.grant-permission-menu[open] summary:after{content:'⌃'}
/* 人物详情沿用首页全幅首屏，以正式形象素材和介绍构成画面；不叠加虚构资历。 */
.app[data-page="publicDetail"]:has(.teacher-profile) main{padding:0 0 64px}
.app[data-page="publicDetail"]:has(.teacher-profile) .page{max-width:none}
.app:has(.teacher-profile) .topbar{position:absolute;top:0;left:0;width:100%;background:rgba(249,252,255,.65)}
.teacher-hero{position:relative;isolation:isolate;min-height:calc(100dvh - 49px);display:flex;align-items:center;overflow:hidden;background:#DDE2E7;padding:140px max(48px,calc((100% - 1260px)/2)) 90px}
.teacher-hero-atmosphere{position:absolute;inset:-30px;z-index:-4;opacity:.16;filter:blur(30px)}
.teacher-hero-atmosphere img{object-fit:cover;object-position:center 30%}
.teacher-hero-portrait{position:absolute;inset:0 0 0 56%;z-index:-3}
.teacher-hero-portrait .portrait-image{object-fit:cover;object-position:center 22%;height:100%;width:100%}
.teacher-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#E7EBEE 0%,rgba(231,235,238,.98) 42%,rgba(231,235,238,.82) 53%,rgba(231,235,238,.12) 65%,transparent 76%)}
.teacher-hero-copy{position:relative;width:54%;max-width:660px;color:#1D304D}
.teacher-hero-role{font-size:16px;letter-spacing:3px;color:#42536B;margin-bottom:26px}
.teacher-hero h1{font-family:'YunZhong Calligraphy','KaiTi',serif;font-size:clamp(64px,5.4vw,88px);font-weight:400;line-height:1.35;letter-spacing:6px;margin:0 0 24px}
.teacher-hero-rule{width:44px;height:2px;background:#d2393e;margin-bottom:28px}
.teacher-hero-intro{font-size:21px;line-height:1.9;max-width:440px;margin-bottom:22px}
.teacher-hero-description{font-size:15px;line-height:2.1;color:#4E5969;margin-bottom:38px}
.teacher-hero-actions{display:flex;flex-wrap:wrap;gap:14px}.teacher-hero-actions .btn:not(.primary){background:rgba(255,255,255,.72)}
.teacher-example-note{font-size:11px;color:#59697B;margin-top:26px;line-height:1.8}
.teacher-related{max-width:1456px;margin:0 auto;padding:64px 48px 0;scroll-margin-top:28px}
@container(max-width:1100px){.teacher-hero{padding-left:48px;padding-right:48px}.teacher-hero-copy{width:54%}.teacher-hero-intro{font-size:19px}.teacher-hero-portrait{left:53%}}
@container(max-width:700px){
 .app[data-page="publicDetail"]:has(.teacher-profile) main{padding:0 0 40px}
 .teacher-hero{min-height:820px;min-height:max(760px,calc(100dvh - 120px));align-items:flex-end;padding:390px 26px 34px}
 .teacher-hero-portrait{inset:0 0 auto;height:600px}.teacher-hero-portrait .portrait-image{object-position:center 12%}
 .teacher-hero-shade{background:linear-gradient(0deg,#E7EBEE 0%,rgba(231,235,238,.98) 22%,rgba(231,235,238,.92) 34%,rgba(231,235,238,.35) 49%,transparent 65%)}
 .teacher-hero-copy{width:100%;max-width:none}.teacher-hero-role{font-size:13px;letter-spacing:2px;margin-bottom:12px}
 .teacher-hero h1{font-size:54px;letter-spacing:3px;margin-bottom:12px}.teacher-hero-rule{margin-bottom:16px;width:32px}
 .teacher-hero-intro{font-size:17px;line-height:1.85;margin-bottom:12px}.teacher-hero-description{font-size:13px;line-height:1.9;margin-bottom:22px}
 .teacher-hero-actions{gap:10px}.teacher-hero-actions .btn{padding:0 14px;min-height:44px;height:44px;font-size:13px}
 .teacher-example-note{font-size:10px;margin-top:18px}.teacher-related{padding:36px 18px 0}.teacher-related h2{font-size:24px}
}
/* 所有滚动容器共用窄滚动条；覆盖页面、侧栏、弹层、文本域和下拉浮层。 */
*{scrollbar-width:thin;scrollbar-color:rgba(91,108,132,.38) transparent}
*::-webkit-scrollbar{width:6px;height:6px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:rgba(91,108,132,.38);border:1px solid transparent;background-clip:padding-box;border-radius:999px;min-height:28px;min-width:28px}
*::-webkit-scrollbar-thumb:hover{background-color:rgba(66,88,120,.64)}
*::-webkit-scrollbar-corner{background:transparent}
@media(forced-colors:active){*{scrollbar-color:auto}}
/* 页面补齐：表单与个人记录保留完整操作，不依赖搜索框。 */
.ui-form{padding:30px;max-width:820px;margin-bottom:24px}.ui-form h2{font-size:22px;margin-bottom:22px}.ui-form p{line-height:1.9;margin:12px 0}.ui-form .field{margin:20px 0}.ui-empty{padding:56px 30px;text-align:center}.ui-empty h2{font-size:23px}.ui-empty p{line-height:1.9;margin:18px auto 24px;max-width:540px;color:#667085}.ui-resource-list{display:grid;gap:18px}.ui-resource-row{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.ui-resource-main{min-width:0;text-align:left;flex:1;color:#1D2129}.ui-resource-main h2{font-size:20px;margin:10px 0}.ui-resource-main p{color:#4E5969;font-size:14px;line-height:1.9;margin-bottom:10px}.ui-resource-main small{color:#667085;font-size:12px}.ui-resource-type{font-size:12px;color:#d2393e}.ui-message{padding:28px;margin-bottom:20px}.ui-message h2{font-size:21px;margin:18px 0 12px}.ui-message p{line-height:1.9;color:#4E5969;margin-bottom:20px}.ui-avatar-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ui-avatar-row>img{width:88px;height:88px;border-radius:50%;object-fit:cover}.ui-avatar-row .btn{position:relative;cursor:pointer}.ui-avatar-row .btn:focus-within{outline:2px solid #d2393e;outline-offset:3px}.ui-overview-stats{margin-bottom:24px}.ui-overview-stats h3{font-size:17px}
/* 小书童入口位于当前应用右下角；不自动弹出、不播放循环动效。 */
.app{position:relative}.ai-companion{position:absolute;z-index:25;right:24px;bottom:22px;width:94px;padding:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;color:#344AAD;filter:drop-shadow(0 4px 10px rgba(29,48,77,.15))}.ai-companion img{display:block;object-fit:contain;width:78px;height:96px}.ai-companion span{padding:5px 11px;border:1px solid rgba(210, 57, 62,.20);border-radius:999px;font-size:11px;background:rgba(255,255,255,.94);white-space:nowrap}.ai-companion:focus-visible{outline:2px solid #d2393e;outline-offset:4px;border-radius:16px}.ai-companion:hover span{background:#ffece8}.ai-chat-overlay{align-items:flex-end;justify-content:flex-end;padding:22px;background:rgba(29,48,77,.18)}.ai-chat-dialog{width:min(440px,100%);height:min(740px,calc(100% - 10px));max-height:100%;margin:0}.ai-chat-dialog .dialog-body{display:flex;flex-direction:column;overflow:hidden;padding:18px 20px;min-height:0}.ai-service-note{font-size:11px;color:#667085;line-height:1.8;margin-bottom:16px}.ai-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:5px}.ai-welcome{text-align:center;padding:24px 0}.ai-welcome>img{object-fit:contain}.ai-welcome h3{font-size:22px;margin:16px 0}.ai-welcome>p{font-size:14px;line-height:1.9;color:#667085}.ai-suggestions{display:grid;gap:10px;margin-top:24px}.ai-suggestions button,.ai-result{padding:12px 14px;border:1px solid #DDE2F4;border-radius:10px;background:#FAFBFF;color:#d2393e;font:inherit;font-size:13px;text-align:left;line-height:1.7}.ai-message{padding:14px 16px;background:#F2F4FA;border-radius:12px;margin-bottom:16px;max-width:94%;overflow-wrap:anywhere}.ai-message.user{margin-left:auto;background:#ffece8}.ai-message-name{font-size:11px;color:#667085;display:block;margin-bottom:8px}.ai-message p{font-size:14px;line-height:1.9}.ai-result{display:block;width:100%;margin-top:10px}.ai-chat-dialog .dialog-footer{display:block;padding:14px 18px}.ai-compose{display:flex;align-items:flex-end;gap:12px;width:100%}.ai-compose textarea{flex:1;min-width:0;resize:none;min-height:74px;max-height:160px;padding:12px;border:1px solid #D8DDE7;border-radius:10px;font:inherit;font-size:14px;line-height:1.7;background:white}.ai-compose textarea:focus{outline:2px solid #B7C1FA;border-color:#d2393e}.ai-compose .btn{flex-shrink:0;margin-bottom:2px}
@container(max-width:700px){.ui-form{padding:22px 18px}.ui-resource-row{padding:20px;display:block}.ui-resource-row>.btn{margin-top:18px}.ui-resource-main h2{font-size:18px}.ui-message{padding:22px}.ai-companion{right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:74px}.ai-companion img{width:61px;height:76px}.ai-companion span{font-size:10px;padding:4px 9px}.ai-chat-overlay{padding:0;background:rgba(29,48,77,.24)}.ai-chat-dialog{width:100%;height:100%;max-height:100%;border-radius:0;animation:none}.ai-chat-dialog:before{display:none}.ai-chat-dialog .dialog-head{padding-top:max(18px,env(safe-area-inset-top))}.ai-chat-dialog .dialog-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.ai-chat-dialog .dialog-body{padding:16px}.ai-welcome{padding-top:12px}}

.topbar>.top-right{margin-left:auto;justify-content:flex-end;flex-shrink:0}.identity-name{text-align:right}.identity{justify-content:flex-end}
.ai-chat-overlay{background:rgba(29,48,77,.10);backdrop-filter:none;-webkit-backdrop-filter:none}
.ai-chat-dialog{background:rgba(247,250,255,.76);backdrop-filter:blur(28px) saturate(145%);-webkit-backdrop-filter:blur(28px) saturate(145%);border:1px solid rgba(255,255,255,.84);box-shadow:0 18px 70px rgba(29,48,77,.18),inset 0 1px rgba(255,255,255,.9)}
.ai-chat-dialog .dialog-head,.ai-chat-dialog .dialog-footer{background:rgba(255,255,255,.20);border-color:rgba(255,255,255,.70)}.ai-message{background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.72)}.ai-message.user{background:rgba(222,229,255,.74)}.ai-compose textarea{background:rgba(255,255,255,.72)}.ai-suggestions button,.ai-result{background:rgba(255,255,255,.62)}
@supports not (backdrop-filter:blur(1px)){.ai-chat-dialog{background:rgba(247,250,255,.97)}}

.ui-public-chapter{margin:20px 0;border-bottom:1px solid #E5E6EB;padding-bottom:20px}.ui-public-chapter summary{cursor:pointer;font-size:18px;line-height:1.8;padding:10px 0}.ui-public-lesson{padding:20px 0 0;display:flex;align-items:center;justify-content:space-between;gap:18px}.ui-public-lesson p{font-size:13px;color:#667085;line-height:1.9;margin-top:10px}.ui-code-row{display:flex;gap:10px}.ui-code-row .input{min-width:0;flex:1}.learning-info progress{display:block;width:100%;height:6px;accent-color:#d2393e;margin-top:20px}.catalog details summary{cursor:pointer;list-style:disclosure-closed}.catalog details[open] summary{list-style:disclosure-open}.article-meta{font-size:12px;margin-top:14px;color:#667085}.course-rights-note{margin-top:16px}
@container(max-width:700px){.ui-public-lesson{align-items:flex-start;flex-direction:column}.ui-public-chapter summary{font-size:16px}.ui-code-row{flex-wrap:wrap}}

.overview-banner{border:0;padding-bottom:12px;margin-bottom:24px}.overview-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover}.overview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0 0 42px}.overview-stats>div{padding:20px 0;border-bottom:1px solid #E5E6EB}.overview-stats span{display:block;font-size:13px;color:#667085}.overview-stats strong{display:block;font-size:32px;font-weight:500;margin-top:14px}.overview-stats small{font-size:13px;color:#667085;font-weight:400}.personal-learning progress{display:block;width:100%;height:6px;accent-color:#d2393e;margin-top:18px}.personal-columns>aside h2{font-size:20px}.personal-columns .ui-message h3{font-size:17px;margin-top:16px}.overview-banner h1{font-size:28px}
@container(max-width:700px){.overview-stats{gap:16px;margin-bottom:30px}.overview-stats strong{font-size:26px}.overview-stats small{display:block;font-size:11px;margin-top:5px}.overview-banner h1{font-size:23px}.overview-avatar{width:56px;height:56px}.personal-learning>div:last-child{flex:1}}

/* 聊天首尾固定，只有消息区域滚动；发送按钮单独一行。 */
.ai-chat-dialog{display:flex;flex-direction:column;overflow:hidden}.ai-chat-dialog>.dialog-head{flex:0 0 auto}.ai-chat-dialog>.dialog-body{flex:1 1 0;min-height:0;overflow:hidden}.ai-chat-dialog>.dialog-footer{flex:0 0 auto;margin-top:auto;width:100%}
.ai-compose{display:flex;flex-direction:column;align-items:stretch;gap:10px}.ai-compose textarea{flex:none;width:100%;height:84px;min-height:84px;max-height:140px}.ai-compose .btn{width:100%;min-height:40px;margin:0;align-self:stretch}
@container(max-width:700px){.ai-chat-dialog>.dialog-footer{padding:12px 16px max(16px,env(safe-area-inset-bottom))}.ai-compose textarea{height:76px;min-height:76px}.ai-compose .btn{min-height:44px}}

/* 发现/内容中心：内容形式侧栏、内容分类顶栏与封面比例瀑布流。 */
.discovery-layout{display:grid;grid-template-columns:148px minmax(0,1fr);gap:36px;align-items:start}.discovery-sidebar{position:sticky;top:24px;max-height:calc(100dvh - 180px);overflow:auto;padding:4px 0 20px}.discovery-sidebar-title{font-size:12px;color:#86909C;margin:0 0 20px 16px}.discovery-media-nav{display:grid;gap:8px}.discovery-media-nav>button{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:12px;text-align:left;font:inherit;font-size:14px;color:#4E5969}.discovery-media-nav>button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}.discovery-media-nav>button.active{background:#ffece8;color:#d2393e}.discovery-main{min-width:0}.discovery-category-nav{display:flex;align-items:center;gap:12px;overflow:auto;white-space:nowrap;padding:0 0 20px}.discovery-category-nav button{padding:10px 18px;border-radius:999px;font:inherit;font-size:14px;flex-shrink:0;color:#667085}.discovery-category-nav button.active{color:#1D304D;background:#EAEFF5;font-weight:500}.discovery-toolbar{display:flex;gap:18px;align-items:center;margin-bottom:24px;min-height:36px}.discovery-sort{margin-left:auto}.discovery-toolbar select{min-height:36px;max-width:100%;font:inherit;font-size:12px;padding:7px 12px;border:1px solid #E1E5ED;border-radius:8px;background:rgba(255,255,255,.65);color:#4E5969}.discovery-toolbar .subtext{font-size:12px}.discovery-masonry{columns:3;column-gap:22px}.discovery-masonry .public-card{display:inline-flex;vertical-align:top;break-inside:avoid-column;page-break-inside:avoid;width:100%;height:auto;min-height:0;margin:0 0 22px}.discovery-masonry .public-card .public-cover{position:relative;inset:auto;flex:none;height:auto;width:100%;aspect-ratio:var(--cover-ratio,4 / 5);overflow:hidden}.discovery-masonry .public-card .public-cover .editorial-image{height:100%;width:100%;object-fit:cover}.discovery-masonry .public-card .public-card-body{flex:0 0 146px;height:146px;margin:0}.discovery-load-more{text-align:center;margin:20px 0 30px}.discovery-end{text-align:center;color:#86909C;font-size:12px;margin:20px 0 30px}
/* 普通内容不额外标公开；付费或会员内容仅以封面金色标签提示，权限规则不变。 */
.member-badge{position:absolute;right:14px;top:16px;z-index:3;padding:5px 9px;border-radius:6px;border:1px solid rgba(188,146,61,.50);background:linear-gradient(135deg,rgba(255,249,226,.96),rgba(241,218,160,.94));box-shadow:inset 0 1px rgba(255,255,255,.8);color:#755219;font-size:11px;line-height:1.5;font-weight:500;white-space:nowrap}.public-cover:has(.member-badge) small{max-width:calc(100% - 110px)}.public-cover small span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 更通透的146px琉璃层与真实对应教师头像。 */
.public-card .public-card-body{background:rgba(250,252,255,.66)}.public-card .card-footer{margin-top:12px}.public-card .public-meta{flex:1;width:100%;justify-content:space-between;align-items:center;gap:10px}.card-author{min-width:0;flex:1}.card-author-avatars{display:inline-flex;flex-shrink:0;align-items:center;padding-left:0}.card-author-avatars img{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:center 20%;border:2px solid rgba(255,255,255,.92);box-shadow:0 2px 5px rgba(29,48,77,.14)}.card-author-avatars img+img{margin-left:-10px}.card-author-avatars .editorial-avatar{object-fit:contain;background:rgba(255,255,255,.92);padding:4px}.card-author-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#35475D;font-size:12px}.card-date{font-size:11px;white-space:nowrap;color:#667085}.public-card .card-author>span{overflow-wrap:normal}
@container(max-width:1100px){.discovery-layout{grid-template-columns:120px minmax(0,1fr);gap:24px}.discovery-masonry{columns:2}.discovery-media-nav>button{padding:12px 14px}}
@container(max-width:700px){.discovery-layout{display:block}.discovery-sidebar{position:static;max-height:none;padding:0;margin-bottom:18px;overflow:visible}.discovery-sidebar-title{display:none}.discovery-media-nav{display:flex;gap:8px;overflow:auto}.discovery-media-nav>button{padding:10px 14px;gap:7px;flex-shrink:0;border-radius:999px;font-size:13px}.discovery-media-nav>button svg{width:16px;height:16px}.discovery-category-nav{gap:8px;padding-bottom:14px}.discovery-category-nav button{font-size:13px;padding:8px 13px}.discovery-toolbar{gap:10px;margin-bottom:18px}.discovery-toolbar .subtext{font-size:11px}.discovery-toolbar select{font-size:11px;padding:7px 8px}.discovery-masonry{columns:2;column-gap:12px}.discovery-masonry .public-card{margin-bottom:12px;border-radius:10px}.discovery-masonry .public-card .public-card-body{padding:13px 12px}.discovery-masonry .public-card h3,.discovery-masonry .person-card h3{font-size:15px;line-height:1.55;margin:0;-webkit-line-clamp:2;min-height:46px}.discovery-masonry .public-card .public-card-body>p{display:none}.discovery-masonry .public-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.discovery-masonry .public-card .card-footer{margin-top:12px}.discovery-masonry .public-card .card-author{gap:6px}.discovery-masonry .card-author-avatars img{width:28px;height:28px}.discovery-masonry .card-author-avatars img+img{margin-left:-12px}.discovery-masonry .card-author-name{font-size:11px}.discovery-masonry .card-date{font-size:10px}.discovery-masonry .card-date svg{width:12px;height:12px}.discovery-masonry .public-cover small{top:10px;left:10px;padding:4px 6px;font-size:10px;max-width:calc(100% - 20px)}.discovery-masonry .public-cover small svg{display:none}.discovery-masonry .member-badge{top:10px;right:8px;padding:4px 6px;font-size:10px}.discovery-masonry .public-cover:has(.member-badge) small{max-width:calc(100% - 86px)}.discovery-masonry .card-category{left:10px;top:-30px;font-size:10px;padding:3px 6px}.discovery-masonry .person-card .card-category{position:absolute;top:-30px;left:10px;background:rgba(250,252,255,.82);padding:3px 6px;border-radius:4px}.discovery-masonry .person-card .card-footer{display:block}.discovery-masonry .person-card .public-meta{display:grid}
}

.public-cover>.member-badge{font-family:'YunZhong Interface','Microsoft YaHei',sans-serif;font-size:11px;line-height:1.5;color:#755219}
.discovery-masonry .public-card .public-cover{overflow:visible}.discovery-masonry .public-card .public-cover .editorial-image{height:calc(100% + 146px)}
.card-author-avatars img{width:36px;height:36px}
@container(max-width:700px){.discovery-masonry .public-cover>.member-badge{font-size:10px}.discovery-masonry .person-card .card-footer{display:none}.discovery-masonry .person-card .public-card-body>p{display:-webkit-box;-webkit-line-clamp:2;font-size:12px;line-height:1.8;margin-top:8px;min-height:0}.discovery-masonry .card-author-avatars img{width:28px;height:28px}}

.public-cover>.member-badge{font-family:'YunZhong Calligraphy','KaiTi',serif;font-weight:400;font-synthesis:none}
@supports not (backdrop-filter:blur(1px)){.public-card .public-card-body{background:rgba(250,252,255,.96)}}

/* 团队页：工作看板置顶，协作团队与待办依次展开，不重复右侧成员卡。 */
.team-work-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:46px}.team-dashboard-stat{display:flex;align-items:center;gap:20px;padding:28px;text-align:left;min-width:0;color:#1D304D}.team-stat-icon{display:flex;align-items:center;justify-content:center;flex:0 0 48px;height:48px;border-radius:14px;background:#ffece8;color:#d2393e}.team-stat-icon>svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7}.team-stat-copy{flex:1;min-width:0}.team-stat-copy>span{font-size:14px;color:#667085}.team-stat-copy>strong{display:block;font-size:36px;font-weight:500;line-height:1.3;margin:10px 0}.team-stat-copy>small{font-size:12px;color:#86909C}.team-dashboard-stat>svg{width:18px;height:18px;stroke:#86909C;fill:none;stroke-width:1.6;flex-shrink:0}.team-dashboard-group>.section-head{margin-bottom:24px}.team-dashboard-group h2,.team-dashboard-queue h2{font-size:23px;font-weight:500}.team-dashboard-group .team-card{margin:0}.team-dashboard-group .team-footer{gap:24px}.team-dashboard-group .team-links{gap:20px}.team-dashboard-queue{margin-top:38px}.team-dashboard-queue .section-head{margin-bottom:20px}.team-dashboard-empty{padding:24px;color:#667085;line-height:1.9}
@container(max-width:1000px){.team-work-dashboard{gap:16px}.team-dashboard-stat{padding:22px 18px;gap:14px}.team-stat-icon{flex-basis:40px;height:40px}.team-stat-copy>strong{font-size:32px}.team-dashboard-stat>svg{display:none}}
@container(max-width:700px){.team-work-dashboard{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:32px}.team-dashboard-stat{display:block;padding:16px 12px}.team-stat-icon{width:30px;height:30px;border-radius:9px;margin-bottom:13px}.team-stat-icon>svg{width:18px;height:18px}.team-stat-copy>span{font-size:11px;white-space:nowrap}.team-stat-copy>strong{font-size:28px;margin:8px 0 0}.team-stat-copy>small{display:none}.team-dashboard-group h2,.team-dashboard-queue h2{font-size:21px}.team-dashboard-group .team-summary{flex-wrap:wrap;gap:12px}.team-dashboard-group .team-footer{display:block}.team-dashboard-group .team-links{margin-top:22px;display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-start}.team-dashboard-group .team-links .primary{margin-left:auto}.team-dashboard-queue{margin-top:28px}}

.card-author-avatars img{border:0;box-shadow:none}

.public-cover>.member-badge{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:28.5px;padding:0;font-size:14px;line-height:1}
@container(max-width:700px){.discovery-masonry .public-cover>.member-badge{width:54px;height:25px;font-size:12px;line-height:1}}

/* 平台全称扩展后，移动顶部为账号与工作台保留可用空间。 */
@container(max-width:700px){.app .topbar .brand>span{font-size:20px}.app .topbar .workbench-shortcut{padding:7px 10px}.app .topbar .scholar-search-trigger{width:30px;min-width:30px;padding:5px}}
@container(max-width:380px){.app .topbar{padding-left:12px;padding-right:12px;gap:4px}.app .topbar .brand{gap:4px}.app .topbar .brand>span{font-size:clamp(16px,5cqw,18px)}.app .topbar .brand>img{width:26px;height:26px}.app .topbar .top-right{gap:4px}.app .topbar .workbench-shortcut{font-size:12px;padding:7px 8px;gap:0}.app .topbar .workbench-shortcut>svg{display:none}}

/* Team avatars use member profile images, with no white rings. */
.team-member-avatar{display:block;object-fit:cover;object-position:center 22%;border:0;box-shadow:none;flex:none;background:transparent}.avatar-stack .team-member-avatar{width:28px;height:28px;border:0;box-shadow:none;margin-right:-5px}.avatar-stack .team-member-avatar:last-of-type{margin-right:10px}.person-option>.team-member-avatar{width:36px;height:36px}
@container(max-width:700px){.avatar-stack .team-member-avatar{width:26px;height:26px}.person-option>.team-member-avatar{width:32px;height:32px}}
