.ap-home { --paper:#fbfaf7; --ink:#303430; --muted:#696760; --line:#e2ddd5; --apricot:#f5e4d7; --brown:#674735; --lav:#eee8f4; }
.ap-home * { box-sizing:border-box; }
body.www-members { margin:0; background:var(--paper); color:var(--ink); font-family:"Microsoft YaHei UI","PingFang SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing:antialiased; }
.ap-home { width:min(872px,calc(100% - 80px)); margin:51px auto 0; }
.ap-home h1, .ap-home h2, .ap-home h3, .ap-home p { margin:0; }
.ap-home h1 { font-size:clamp(33px,4vw,46px); font-weight:650; letter-spacing:-.06em; line-height:1.28; }
.ap-home .intro { font-size:15px; color:var(--muted); margin:9px 0 28px; line-height:1.65; }
.ap-home .course { background:#fffdf9; border:1px solid #dfd7cc; border-radius:12px; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) 236px; min-height:237px; }
.ap-home .course-info { padding:29px 34px 27px; }
.ap-home .eyebrow { color:var(--brown); font-size:12px; font-weight:600; display:flex; align-items:center; gap:8px; }
.ap-home .eyebrow::before { content:""; width:18px; height:2px; background:#c08b67; }
.ap-home h2 { font-size:clamp(26px,3vw,35px); line-height:1.45; letter-spacing:-.055em; font-weight:650; margin:9px 0 6px; }
.ap-home .date { font-size:14px; color:var(--muted); line-height:1.65; }
.ap-home .launch { display:inline-flex; gap:24px; align-items:center; padding:0 17px; height:44px; margin-top:24px; border-radius:6px; background:var(--apricot); border:1px solid #ddc4b0; color:var(--brown); font-size:15px; font-weight:650; text-decoration:none; }
.ap-home .launch:hover { background:#ecd4c2; border-color:#c8a58c; }
.ap-home :focus-visible { outline:2px solid #825736; outline-offset:4px; }
.ap-home .launch svg, .ap-home .disclosure svg { fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.ap-home .launch svg { width:17px; height:17px; }
.ap-home .leaf { margin:16px 16px 16px 0; padding:17px 18px; border-left:3px double #d9bdab; background:#f4e8dc; color:#6c4a36; position:relative; display:flex; flex-direction:column; justify-content:space-between; }
.ap-home .leaf::after { content:""; position:absolute; inset:0 auto 0 5px; border-left:1px solid #dfc7b6; }
.ap-home .leaf-head, .ap-home .leaf-foot { display:flex; justify-content:space-between; align-items:baseline; }
.ap-home .leaf-head { font:10px/1.4 Georgia,serif; letter-spacing:.13em; }
.ap-home .leaf-num { font:italic 92px/.96 Georgia,"Times New Roman",serif; letter-spacing:-.09em; margin-left:-3px; }
.ap-home .leaf-foot { border-top:1px solid #d3b9a6; padding-top:9px; font-size:10px; }
.ap-home .leaf-foot em { font:italic 12px Georgia,serif; }
.ap-home .tools { margin-top:30px; }
.ap-home h3 { font-weight:650; font-size:18px; letter-spacing:-.03em; padding-bottom:12px; }
.ap-home details { border-top:1px solid var(--line); }
.ap-home details:last-child { border-bottom:1px solid var(--line); }
.ap-home summary, .ap-home .mock-entry { min-height:65px; display:flex; align-items:center; gap:14px; cursor:pointer; list-style:none; }
.ap-home summary::-webkit-details-marker { display:none; }
.ap-home .tool-icon { color:#755744; background:#f2e8de; display:grid; place-items:center; width:34px; height:34px; border-radius:7px; flex:none; }
.ap-home .mock .tool-icon { background:var(--lav); color:#665b71; }
.ap-home .tool-icon svg { width:19px;height:19px; }
.ap-home .tool-title { font-weight:600; font-size:15px; }
.ap-home .desc { margin-left:auto; color:var(--muted); font-size:12px; }
.ap-home .chev { width:14px; height:14px; color:#807c75; }
.ap-home details[open] .chev { transform:rotate(90deg); }
.ap-home summary:hover .tool-title { text-decoration:underline; text-underline-offset:4px; }
.ap-home .more { margin:0 25px 17px 48px; font-size:13px; color:var(--muted); line-height:1.75; }
.ap-home .more a { display:inline-block; margin-right:18px; }
.ap-home .imprint { display:flex; justify-content:space-between; font:italic 12px/1.3 Georgia,serif; margin:27px 0 30px; color:#756f67; }
.ap-home .imprint button { font:11px/1.4 "Microsoft YaHei UI","PingFang SC",sans-serif; }
@media (max-width:700px) {
.ap-home { width:calc(100% - 40px); margin-top:33px; }
.ap-home .course { grid-template-columns:minmax(0,1fr) 125px; min-height:210px; }
.ap-home .course-info { padding:22px; }
.ap-home .leaf { margin:12px 12px 12px 0; padding:15px 12px; }
.ap-home .leaf-head { font-size:9px; }
.ap-home .leaf-head span:last-child, .ap-home .leaf-foot span { display:none; }
.ap-home .leaf-num { font-size:72px; }
}
@media(max-width:520px) {
.ap-home { width:calc(100% - 36px); margin-top:28px; }
.ap-home .intro { margin:6px 0 21px; font-size:14px; }
.ap-home .course { grid-template-columns:minmax(0,1fr) 87px; min-height:188px; }
.ap-home .course-info { padding:19px 0 20px 17px; }
.ap-home h2 {font-size:25px; margin:7px 0 3px;}
.ap-home .date {font-size:12px;}
.ap-home .launch { margin-top:19px; height:42px; padding:0 13px; font-size:14px; gap:18px; }
.ap-home .leaf { margin:10px 9px 10px 0; padding:10px 7px 10px 10px; }
.ap-home .leaf-head { font-size:8px; letter-spacing:.02em; }
.ap-home .leaf-num { font-size:54px; }
.ap-home .leaf-foot em { font-size:10px; }
.ap-home .tools { margin-top:25px; }
.ap-home h3 { font-size:17px; }
.ap-home summary, .ap-home .mock-entry { display:grid; grid-template-columns:34px minmax(0,1fr) 14px; grid-template-rows:auto auto; align-content:center; gap:3px 11px; min-height:72px; }
.ap-home .tool-icon { grid-row:1/3; }
.ap-home .tool-title { grid-row:1; }
.ap-home .desc { grid-column:2; grid-row:2; margin:0; font-size:11px; }
.ap-home .chev { grid-column:3; grid-row:1/3; }
.ap-home .imprint {margin-top:19px;}
}
@media(max-width:351px) {
.ap-home .course {grid-template-columns:minmax(0,1fr) 65px;}
.ap-home .leaf-num {font-size:43px;} }
/* The production shell also serves login, support, mock practice and the lesson frame. */
body.www-members, body.camp-feedback-page, html.camp-workspace {
  --paper: #fbfaf7;
  --surface: #fffdf9;
  --ink: #303430;
  --navy: #303430;
  --navy-mid: #674735;
  --navy-pale: #f5e4d7;
  --muted: #696760;
  --line: #e2ddd5;
  --border: #e2ddd5;
  --coral: #82593f;
  --coral-soft: #f5e4d7;
  --brand: #82593f;
  --brand-soft: #f5e4d7;
  --primary: #674735;
  --camp-paper: #fbfaf7;
  --camp-surface: #fffdf9;
  --camp-line: #e2ddd5;
  --camp-ink: #303430;
  --camp-muted: #696760;
  --camp-coral: #674735;
  --camp-coral-soft: #f5e4d7;
  color: #303430;
  background: #fbfaf7;
}
.www-members .www-header {
  background: #fbfaf7;
  border-bottom-color: #e2ddd5;
}
.www-members .www-header-inner {
  max-width: 1144px;
  width: 100%;
  min-height: 64px;
  margin-inline: auto;
  padding-inline: 42px;
  display: flex;
  justify-content: space-between;
}
.www-members .www-brand { color: #303430; font-size: 15px; }
.www-members .www-brand img { border: 0; width: 34px; height: 34px; }
.www-members .www-account {
  gap: 7px; border: 0; background: transparent; color: #635f57;
}
.www-account::before {
  content: "";
  width: 16px;
  height: 16px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635f57' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.3'/%3E%3Cpath d='M4.5 20c.7-4.4 3.5-6.3 7.5-6.3s6.8 1.9 7.5 6.3'/%3E%3C/svg%3E");
}
.www-members .www-access, .www-members .modal-shell, .www-members .panel {
  background-color: #fffdf9;
  border-color: #dfd7cc;
  box-shadow: none;
}
.www-members .primary-btn, .www-members .auth-submit,
body.camp-feedback-page .button:not(.secondary):not(.danger) {
  color: #674735; border: 1px solid #ddc4b0; background: #f5e4d7; box-shadow: none;
}
.www-members .primary-btn:hover { background: #ecd4c2; }
.www-members .secondary-btn { color: #674735; background-color: #fffdf9; border-color: #dfd7cc; }
.www-members :is(.auth-access-notice,.camp-login-notice) {
  background: #faf4ed; border-color: #e4d7c9;
}
.www-members:has(#campIntroView.active) .www-nav,
.www-members:has(#campIntroView.active) .topbar,
.www-members.courseware-active .www-header { display: none; }
html:not(.camp-workspace) .www-members:has(#campIntroView.active) .app-shell { width: 100%; max-width: none; }
.www-members:has(#campIntroView.active) #mainContent { padding: 0; }
.www-members .ap-home {
  font-family: "Microsoft YaHei UI","PingFang SC","Microsoft YaHei",sans-serif;
  color: #303430;
}
.ap-cards { display: grid; gap: 16px; }
.ap-home .course-note { margin-top: 5px; font-size: 13px; color: #696760; }
.ap-home .mock-entry { text-decoration: none; color: inherit; border-block: 1px solid #e2ddd5; }
.ap-home .mock-entry:hover .tool-title,.ap-home .more a:hover,.ap-home .imprint button:hover {
  text-decoration: underline; text-underline-offset: 4px;
}
.ap-home .more a { color: #674735; padding-block: 4px; }
.ap-home .imprint button { padding: 4px; border: 0; color: #696760; background: none; }
body.www-members.courseware-active .cp-lesson { gap: 0; }
body.www-members.courseware-active .cp-lesson-bar {
  width: 100%; padding: 8px clamp(16px, 4vw, 64px); min-height: 56px; border-bottom: 1px solid #e2ddd5;
  background: #fbfaf7; flex-wrap: nowrap;
}
body.www-members.courseware-active .ap-lesson-title {
  border-left: 1px solid #dfd7cc; padding-left: 12px;
}
body.www-members.courseware-active [data-cp-back] {
  margin-left: auto; padding: 4px; color: #696760; background: none; border: 0; white-space: nowrap;
}
html.camp-workspace .camp-course-nav :is(a.active,a[aria-current="page"]),
.camp-feedback-page .day-button.active {
  color: #674735; background: #f5e4d7; border-color: #ddc4b0; box-shadow: none;
}
.camp-feedback-page .camp-frame { background: #fffdf9; border-color: #e2ddd5; box-shadow: none; }
.camp-feedback-page .hero-progress { border-color: #c08b67; }
@media(max-width:700px) {
  .www-members .www-header-inner { min-height: 56px; padding: 5px 20px; }
  .www-members .www-brand { font-size: 14px; }
  .www-members .www-brand img { width: 30px; height: 30px; }
  .www-members .www-account { margin-left: auto; }
  .www-members .www-nav { order: 3; }
  body.www-members.courseware-active .cp-lesson-bar { gap: 7px; min-height: 48px; }
  .www-members .cp-lesson-bar .ap-lesson-title { font-size: 11px; }
}
@media (max-width:520px) {
  .www-members .www-header-inner { padding-inline: 16px; }
  body.www-members.courseware-active .cp-lesson-bar { padding-inline: 10px; }
  body.www-members.courseware-active .ap-lesson-title { padding-left: 5px; }
}


/* Student surfaces share one text family. Teaching roles inherit their
   notebook face through annotations; the homepage uses the same Chinese face. */
@layer studentTypography {
  :where(.www-members,.camp-feedback-page) {
    --student-serif: Georgia,"Songti SC",STSong,"Noto Serif CJK SC",SimSun,serif;
    --student-face: var(--student-serif);
  }
  :where(.www-members,.camp-feedback-page),
  :where(.www-members,.camp-feedback-page) :where(*) {
    font-family: var(--student-face) !important;
  }
  .lsp-title { --student-face: "Microsoft YaHei UI","PingFang SC","Microsoft YaHei",sans-serif; }
  .lsp-lesson-question h3 { --student-face: CampAndika,var(--student-serif); }
  .lsp-lesson-preview :is(.lsp-annotated,.lsp-study-sentence [lang=en],
    .lsp-recall-line [lang=en],.lsp-recall-line summary,.lsp-logic-list [lang=en],
    .lsp-study-vocabulary [lang=en],.lsp-grammar-point [lang=en]) {
    --student-face: CampAndika,var(--student-serif);
  }
  .lsp-lesson-preview .lsp-annotated small { --student-face: var(--student-serif); }
}
