:root {
  --ink:#222f29; --forest:#214738; --green:#2d5d48; --muted:#59665d;
  --line:#e1e4da; --paper:#f7f7f2; --card:#fffffc; --brass:#a77941;
  --sans:"Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --serif:"STIX Two Text","Songti SC","Noto Serif CJK SC","Source Han Serif SC","STSong","SimSun",serif;
  color:var(--ink); background:var(--paper); font:16px/1.5 var(--sans);
}
* {box-sizing:border-box}
body {margin:0}
a {color:var(--green); text-underline-offset:4px}
a,button,input {-webkit-tap-highlight-color:transparent}
button,input {font:inherit}
button {cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible {outline:3px solid #bb7a2b; outline-offset:3px}
[hidden] {display:none!important}
.wrap {width:min(1160px,calc(100% - 80px)); margin-inline:auto}
#daily,#schedule,#methods {scroll-margin-top:20px}
header {background:#fcfcf8; border-bottom:1px solid var(--line)}
.head-inner,.brand,nav,footer,footer div,.eyebrow,.hero-meta,.exam-ticket,.day-top,.calendar-heading,.pager,.task-summary,.task-details,.progress-label,.phase-head,.legend,.legend span,.method-heading {display:flex; align-items:center}
.head-inner {height:68px; justify-content:space-between}
.brand {gap:11px; color:var(--forest); font-weight:750; font-size:1.2rem; text-decoration:none; letter-spacing:.035em}
.book-mark {width:36px; height:36px; border-radius:10px; color:#f5eabf; background:var(--forest); display:flex; align-items:center; justify-content:center; gap:2px}
.book-mark i {width:9px; height:13px; border:1.5px solid currentColor; border-radius:2px 3px 1px 1px; transform:skewY(10deg)}
.book-mark i+i {transform:skewY(-10deg)}
nav,footer div {gap:26px}
nav a,footer a {font-size:.9rem; text-decoration:none; color:var(--muted)}
nav a:hover,footer a:hover {color:var(--forest); text-decoration:underline}
.hero {isolation:isolate; position:relative; overflow:hidden; margin:24px 0 22px; border-radius:20px; color:white; background:#183628 url("assets/desk-cover.webp") center 53%/cover no-repeat; min-height:274px; display:flex; align-items:center; padding:28px 48px}
.hero::before {content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#10291db3 0%,#172a1c4d 43%,transparent 66%)}
.hero-main {position:relative}
.eyebrow {margin:0; gap:12px; color:#f5f3dc; letter-spacing:.09em; font-size:.84rem}
.exam-code {font-family:Georgia,var(--serif); font-weight:bold; letter-spacing:.09em; font-size:.88rem; padding:2px 9px; border:1px solid #e0d8b49c; border-radius:4px}
.hero h1 {font:700 clamp(2.45rem,4.6vw,4.35rem)/1.15 var(--serif); letter-spacing:.035em; color:#fffdf0; margin:17px 0 1px}
.hero-subtitle {margin:0; color:#e8dab6; font:500 clamp(1.5rem,2.5vw,2.2rem)/1.2 var(--serif); letter-spacing:.035em}
.hero-subtitle em {font-family:Georgia,serif; font-weight:400; font-size:1.18em}
.hero-meta {margin:19px 0 0; gap:12px; color:#f3f3e5; font-size:.9rem}
.hero-meta span {letter-spacing:.08em; font-variant-numeric:tabular-nums}
.hero-meta i {width:1px; height:12px; background:#e5dec387}
.exam-ticket {background:#faf5e7; color:#314232; position:absolute; bottom:20px; right:24px; gap:16px; padding:9px 15px; border-radius:9px; border:1px solid #fffbefb3; box-shadow:0 3px 18px #101e1830}
.exam-ticket strong,.exam-ticket span {display:block}
.exam-ticket strong {font-size:.85rem}
.exam-ticket span {font-size:.77rem; color:#596354}
#countdown {font:600 2.1rem/1 Georgia,var(--serif); padding-left:14px; border-left:1px solid #dad1b9; font-variant-numeric:tabular-nums; white-space:nowrap}
#countdown small {font:550 .8rem var(--sans)}
.study-grid {display:grid; grid-template-columns:minmax(0,1.64fr) minmax(320px,1fr); gap:20px; align-items:start}
.card,.methods article {background:var(--card); border:1px solid var(--line); border-radius:15px; box-shadow:0 5px 15px -12px #37493840}
.card {padding:23px 28px}
.day-card {border-top:3px solid #345440; padding-top:18px}
.day-top,.calendar-heading,.task-summary,.progress-label,.phase-head,.method-heading {justify-content:space-between; gap:8px}
.notebook-tab {display:inline-flex; align-items:center; gap:8px; margin:0; color:#32523e; font-weight:650; font-size:.88rem}
.notebook-tab::before {content:""; width:10px; height:16px; background:var(--green); clip-path:polygon(0 0,100% 0,100% 100%,50% 72%,0 100%)}
.pager {gap:4px; padding:2px; border-radius:8px; background:#f1f3ec}
.pager button,.text-btn {font-size:.875rem; color:var(--green); border:0; border-radius:6px; padding:4px 9px; background:transparent}
.pager button:hover:enabled,.text-btn:hover {background:#e2ebdc}
.pager button:disabled {color:#748074; cursor:default}
.entry-head {margin:18px 0 16px}
.day-card h2,.calendar h2,.methods h2,.methods h3 {font-family:var(--serif); color:var(--forest)}
.day-card h2 {font-size:clamp(1.55rem,2.55vw,2rem); line-height:1.42; margin:0; letter-spacing:.015em}
.day-meta {color:var(--muted); font-size:.9rem; margin:4px 0 0}
.day-actions {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px}
.day-actions #share-day {min-height:44px;padding-inline:10px;font-weight:600}
.day-message {margin:3px 0;color:var(--green);font-size:.87rem}
#share-status:empty {margin:0}
#share-fallback {width:100%;min-height:44px;margin:4px 0;padding:7px 10px;border:1px solid #bac8b7;border-radius:6px;font:inherit;background:white;color:var(--ink)}
.task-summary {border-top:1px solid var(--line); padding-top:14px; margin-bottom:4px}
.task-summary strong,.progress-label {font-size:.9rem}
.task-summary span {font-size:.8rem; color:#3f634e; background:#eef3e9; border-radius:20px; padding:3px 10px}
.task {display:grid; grid-template-columns:21px minmax(0,1fr); gap:13px; align-items:start; padding:13px 0; border-bottom:1px solid #e6e9e0}
.task:last-child {border:0}
.task input {width:20px; height:20px; cursor:pointer; margin:4px 0; accent-color:var(--green)}
.task label {font-size:1rem; line-height:1.65; cursor:pointer}
.task.complete label {color:#59665c; text-decoration:line-through; text-decoration-color:#aeb7ad}
.task-details {gap:5px 11px; flex-wrap:wrap; margin-top:6px}
.duration {font-size:.81rem; color:var(--muted); font-variant-numeric:tabular-nums}
.task-details a {display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid #dce8db; border-radius:7px; background:#f1f6ee; color:#36583f; padding:5px 11px; font-size:.9rem; line-height:1.4; text-decoration:none; overflow-wrap:anywhere}
.task-details a:hover {border-color:var(--green); text-decoration:underline}
.task-details .video-link {color:#79472d; background:#fbf0e7; border-color:#eedcc9}
.task-actions {flex:1 0 100%; display:flex; flex-wrap:wrap; gap:7px; margin-top:2px}
.task-actions a.paper-link {color:white; background:var(--forest); border-color:var(--forest); font-weight:600}
.task-actions a.paper-link:hover {background:var(--green)}
.task-actions .answer-link {background:transparent; border-color:#d8e0d3}
.paper-source,.page-guide {color:var(--muted); font-size:.81rem}
.paper-source {border-left:1px solid #cbd4c9; padding-left:11px}
.page-guide {flex-basis:100%; font-variant-numeric:tabular-nums}
.video-link::before {content:""; width:0; height:0; border-style:solid; border-width:4px 0 4px 6px; border-color:transparent transparent transparent currentColor}
.paper-link::before {content:""; width:8px; height:10px; border:1px solid currentColor; border-radius:1px; background:linear-gradient(currentColor,currentColor) center 3px/4px 1px no-repeat}
.day-foot {border-top:1px dashed #d4dacc; margin-top:4px; padding-top:12px; color:var(--muted); font-size:.82rem}
.back-link {font-size:.875rem}
.prompt-page {max-width:740px; margin:clamp(22px,6vw,68px) auto}
.prompt-card {padding:clamp(22px,5vw,44px); background:var(--card); border:1px solid var(--line); border-top:3px solid var(--forest); border-radius:14px}
.prompt-card h1 {margin:20px 0 0; font:700 clamp(2rem,4vw,3rem)/1.35 var(--serif); color:var(--forest)}
.prompt-meta,.prompt-source {font-size:.9rem; color:var(--muted)}
.prompt-meta {margin:6px 0 24px}
.prompt-card h2 {border-top:1px solid var(--line); padding-top:20px; margin:0 0 8px; color:var(--green); font-size:1rem}
.prompt-text {margin:0; font:normal 1.28rem/1.65 Georgia,var(--serif)}
.prompt-limits,.prompt-source {display:flex; align-items:center; gap:8px 16px; flex-wrap:wrap}
.prompt-limits {margin:19px 0 30px; color:var(--green); font-size:.94rem}
.prompt-source {border-top:1px solid var(--line); padding-top:16px}
.calendar h2,.methods h2 {font-size:1.42rem; line-height:1.4; margin:0}
.text-btn {border:1px solid #d9e3d5; padding:4px 10px}
.progress-block {margin:16px 0 18px; background:#f3f5ed; border-radius:8px; padding:10px 12px}
.progress-label {color:var(--muted); font-size:.84rem}
.progress-label strong {color:var(--green); font-family:var(--sans); font-variant-numeric:tabular-nums}
.progress-bars {display:grid; grid-template-columns:repeat(20,minmax(0,1fr)); gap:3px; margin-top:7px}
.bar {height:5px; background:#d4ddc9; border-radius:2px}
.bar.full {background:var(--green)}
.phase+.phase {margin-top:12px}
.phase-head {font-weight:650; font-size:.92rem; margin-bottom:6px}
.phase-head small {color:var(--muted); font-weight:400; font-size:.77rem; letter-spacing:.035em; font-variant-numeric:tabular-nums}
.date-grid {display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px}
.date {position:relative; height:35px; min-width:0; border-radius:7px; border:1px solid #e0e4d9; background:#f8f9f4; color:#344638; font:600 .93rem var(--sans); font-variant-numeric:tabular-nums}
.date:hover {border-color:var(--green); background:#ebf1e6}
.date.done {background:#dcead6; color:#2d5638; border-color:#b8cfaf}
.date.partial::after,.date.done::after {content:""; position:absolute; left:calc(50% - 5px); bottom:3px; width:10px; height:2px; border-radius:2px; background:#ad7627}
.date.done::after {background:#54805a}
.date.selected {color:#fff; background:var(--forest); border-color:var(--forest); box-shadow:0 2px 4px #28523824}
.date.selected.done::after {background:#c2e0b1}
.date.selected.partial::after {background:#e6b96f}
.legend {color:var(--muted); gap:15px; padding-top:13px; margin-top:15px; border-top:1px dashed #d4dacc; font-size:.78rem}
.legend span {gap:5px}
.swatch {display:inline-block; width:10px; height:10px; border-radius:3px}
.swatch.selected {background:var(--forest)}
.swatch.partial {background:#faf4e8; border-bottom:2px solid #ad7627}
.swatch.done {background:#dcead6; border-bottom:2px solid #54805a}
.methods {margin-top:28px}
.methods h2 {margin-bottom:13px}
.methods-grid {display:grid; grid-template-columns:1fr 1fr; gap:20px}
.methods article {position:relative; padding:17px 23px; background:#f2f5ee}
.methods article+article {background:#f8f3e9; border-color:#e7e1d2}
.methods h3 {font-size:1.18rem; margin:0}
.method-heading span {font-size:.84rem; color:var(--muted)}
.methods dl {margin:10px 0 0}
.methods dl div {display:flex; gap:12px; padding:3px 0}
.methods dt {min-width:56px; color:var(--green); font-weight:650; font-size:.9rem; font-variant-numeric:tabular-nums}
.methods dd {margin:0; font-size:.92rem; color:#45514a}
footer {justify-content:space-between; border-top:1px solid var(--line); padding:19px 0 26px; margin-top:27px; color:var(--muted); font-size:.85rem}
footer {flex-wrap:wrap}
footer .site-route {flex:1 0 100%;gap:4px 12px;flex-wrap:wrap}
footer .site-route a {display:inline-flex;align-items:center;min-height:44px;color:var(--green);text-decoration:underline}
@media (max-width:900px) {
  .wrap {width:calc(100% - 44px)} .study-grid {grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr); gap:14px}
  .card {padding-inline:20px} .hero {padding-inline:32px} .date-grid {gap:4px}
}
@media (max-width:700px) {
  .wrap {width:calc(100% - 28px)} .head-inner {height:58px}
  .brand {font-size:1.04rem; gap:7px} .book-mark {width:30px; height:30px} nav {gap:13px} nav a {font-size:.84rem}
  .hero {min-height:216px; margin:14px 0; padding:21px 23px; border-radius:13px; background-position:59% 54%}
  .hero::before {background:linear-gradient(90deg,#10291de6,#13291ec4 38%,#182a1b31 77%)}
  .hero h1 {font-size:clamp(2.12rem,7vw,2.65rem); margin-top:13px}
  .hero-subtitle {font-size:1.4rem} .eyebrow {gap:8px; font-size:.76rem}
  .hero-meta {gap:9px; font-size:.81rem; margin-top:16px}
  .exam-ticket {right:12px; bottom:12px; gap:8px; padding:5px 8px; border-radius:6px}
  .exam-ticket strong {font-size:.72rem} .exam-ticket span {font-size:.66rem} #countdown {font-size:1.45rem; padding-left:7px}
  .study-grid,.methods-grid {grid-template-columns:1fr} .study-grid {gap:14px}
  .card {padding:19px} .entry-head {margin:14px 0} .date {height:40px} .task {padding:12px 0}
  .methods {margin-top:20px} .methods-grid {gap:11px} footer div {gap:12px}
  .task-details a,.prompt-source a,.back-link {min-height:44px; display:inline-flex; align-items:center}
  .task-actions {gap:6px}
}
@media (max-width:460px) {
  .hero {min-height:224px; align-items:flex-start; padding:18px; background-position:54% 50%}
  .hero-meta {margin-top:13px}
  .exam-ticket {left:18px; right:auto; bottom:15px; gap:7px; padding:3px 8px; background:#f4f2df; color:#344435}
  .exam-ticket div {display:flex; gap:6px; align-items:center}
  .exam-ticket strong,.exam-ticket span,#countdown small {font-size:.72rem} #countdown {font-size:1rem; padding-left:6px}
  .hero::before {background:linear-gradient(90deg,#10271cf2 0%,#142c20dc 35%,#142c2050 71%,#142c2010)}
}
@media (max-width:354px) {
  .wrap {width:calc(100% - 20px)} nav {gap:9px} .brand {font-size:.98rem}
  .card {padding-inline:15px} .hero {padding-inline:15px} .exam-ticket {left:15px}
}
